* config/arm/arm.md (addsi3_cbranch_scratch): Correct constraints.
[official-gcc.git] / libstdc++-v3 / configure
blobb34c7dfc60e928a89ff573b62bbe35079cfcc103
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for package-unused version-unused.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14 emulate sh
15 NULLCMD=:
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20 set -o posix
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26 as_unset=unset
27 else
28 as_unset=false
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
38 # NLS nuisances.
39 for as_var in \
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42 LC_TELEPHONE LC_TIME
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
46 else
47 $as_unset $as_var
49 done
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
53 as_expr=expr
54 else
55 as_expr=false
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59 as_basename=basename
60 else
61 as_basename=false
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
71 echo X/"$0" |
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
75 s/.*/./; q'`
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
90 chmod +x conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92 PATH_SEPARATOR=';'
93 else
94 PATH_SEPARATOR=:
96 rm -f conf$$.sh
100 as_lineno_1=$LINENO
101 as_lineno_2=$LINENO
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
106 # relative or not.
107 case $0 in
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 for as_dir in $PATH
112 IFS=$as_save_IFS
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
118 esac
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
122 as_myself=$0
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
133 IFS=$as_save_IFS
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
136 case $as_dir in
138 if ("$as_dir/$as_base" -c '
139 as_lineno_1=$LINENO
140 as_lineno_2=$LINENO
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
147 export CONFIG_SHELL
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149 fi;;
150 esac
151 done
152 done
154 esac
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
165 sed '
167 s,$,-,
168 : loop
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170 t loop
171 s,-$,,
172 s,^['$as_cr_digits']*\n,,
173 ' >$as_me.lineno &&
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
181 . ./$as_me.lineno
182 # Exit status is that of the last command.
183 exit
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
189 ' ECHO_T=' ' ;;
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
192 esac
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195 as_expr=expr
196 else
197 as_expr=false
200 rm -f conf$$ conf$$.exe conf$$.file
201 echo >conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
207 as_ln_s='cp -p'
208 else
209 as_ln_s='ln -s'
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212 as_ln_s=ln
213 else
214 as_ln_s='cp -p'
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
219 as_mkdir_p=:
220 else
221 test -d ./-p && rmdir ./-p
222 as_mkdir_p=false
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
238 IFS=" $as_nl"
240 # CDPATH.
241 $as_unset CDPATH
244 # Name of the host.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
249 exec 6>&1
252 # Initializations.
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
256 cross_compiling=no
257 subdirs=
258 MFLAGS=
259 MAKEFLAGS=
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
268 PACKAGE_NAME='package-unused'
269 PACKAGE_TARNAME='libstdc++'
270 PACKAGE_VERSION='version-unused'
271 PACKAGE_STRING='package-unused version-unused'
272 PACKAGE_BUGREPORT=''
274 ac_unique_file="src/ios.cc"
275 # Factoring default headers for most tests.
276 ac_includes_default="\
277 #include <stdio.h>
278 #if HAVE_SYS_TYPES_H
279 # include <sys/types.h>
280 #endif
281 #if HAVE_SYS_STAT_H
282 # include <sys/stat.h>
283 #endif
284 #if STDC_HEADERS
285 # include <stdlib.h>
286 # include <stddef.h>
287 #else
288 # if HAVE_STDLIB_H
289 # include <stdlib.h>
290 # endif
291 #endif
292 #if HAVE_STRING_H
293 # if !STDC_HEADERS && HAVE_MEMORY_H
294 # include <memory.h>
295 # endif
296 # include <string.h>
297 #endif
298 #if HAVE_STRINGS_H
299 # include <strings.h>
300 #endif
301 #if HAVE_INTTYPES_H
302 # include <inttypes.h>
303 #else
304 # if HAVE_STDINT_H
305 # include <stdint.h>
306 # endif
307 #endif
308 #if HAVE_UNISTD_H
309 # include <unistd.h>
310 #endif"
312 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS libtool_VERSION multi_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar glibcxx_builddir glibcxx_srcdir toplevel_srcdir CC ac_ct_CC EXEEXT OBJEXT CXX ac_ct_CXX CFLAGS CXXFLAGS LN_S AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBTOOL CXXCPP CPPFLAGS enable_shared enable_static GLIBCXX_HOSTED_TRUE GLIBCXX_HOSTED_FALSE GLIBCXX_BUILD_PCH_TRUE GLIBCXX_BUILD_PCH_FALSE glibcxx_PCHFLAGS CSTDIO_H BASIC_FILE_H BASIC_FILE_CC CPP EGREP check_msgfmt glibcxx_MOFILES glibcxx_POFILES glibcxx_localedir USE_NLS CLOCALE_H 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_THREAD_TRUE GLIBCXX_TEST_THREAD_FALSE GLIBCXX_TEST_ABI_TRUE GLIBCXX_TEST_ABI_FALSE ATOMICITY_SRCDIR ATOMIC_WORD_SRCDIR ABI_TWEAKS_SRCDIR OS_INC_SRCDIR glibcxx_prefixdir gxx_include_dir glibcxx_toolexecdir glibcxx_toolexeclibdir GLIBCXX_INCLUDES TOPLEVEL_INCLUDES OPTIMIZE_CXXFLAGS WARN_FLAGS LIBSUPCXX_PICFLAGS LIBOBJS LTLIBOBJS'
313 ac_subst_files=''
315 # Initialize some variables set by options.
316 ac_init_help=
317 ac_init_version=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
320 cache_file=/dev/null
321 exec_prefix=NONE
322 no_create=
323 no_recursion=
324 prefix=NONE
325 program_prefix=NONE
326 program_suffix=NONE
327 program_transform_name=s,x,x,
328 silent=
329 site=
330 srcdir=
331 verbose=
332 x_includes=NONE
333 x_libraries=NONE
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir='${exec_prefix}/bin'
341 sbindir='${exec_prefix}/sbin'
342 libexecdir='${exec_prefix}/libexec'
343 datadir='${prefix}/share'
344 sysconfdir='${prefix}/etc'
345 sharedstatedir='${prefix}/com'
346 localstatedir='${prefix}/var'
347 libdir='${exec_prefix}/lib'
348 includedir='${prefix}/include'
349 oldincludedir='/usr/include'
350 infodir='${prefix}/info'
351 mandir='${prefix}/man'
353 ac_prev=
354 for ac_option
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
359 ac_prev=
360 continue
363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
367 case $ac_option in
369 -bindir | --bindir | --bindi | --bind | --bin | --bi)
370 ac_prev=bindir ;;
371 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
372 bindir=$ac_optarg ;;
374 -build | --build | --buil | --bui | --bu)
375 ac_prev=build_alias ;;
376 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
377 build_alias=$ac_optarg ;;
379 -cache-file | --cache-file | --cache-fil | --cache-fi \
380 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
381 ac_prev=cache_file ;;
382 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
383 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
384 cache_file=$ac_optarg ;;
386 --config-cache | -C)
387 cache_file=config.cache ;;
389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
390 ac_prev=datadir ;;
391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
392 | --da=*)
393 datadir=$ac_optarg ;;
395 -disable-* | --disable-*)
396 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* | --enable-*)
405 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
411 case $ac_option in
412 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
413 *) ac_optarg=yes ;;
414 esac
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
419 | --exec | --exe | --ex)
420 ac_prev=exec_prefix ;;
421 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
422 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
423 | --exec=* | --exe=* | --ex=*)
424 exec_prefix=$ac_optarg ;;
426 -gas | --gas | --ga | --g)
427 # Obsolete; use --with-gas.
428 with_gas=yes ;;
430 -help | --help | --hel | --he | -h)
431 ac_init_help=long ;;
432 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
433 ac_init_help=recursive ;;
434 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
435 ac_init_help=short ;;
437 -host | --host | --hos | --ho)
438 ac_prev=host_alias ;;
439 -host=* | --host=* | --hos=* | --ho=*)
440 host_alias=$ac_optarg ;;
442 -includedir | --includedir | --includedi | --included | --include \
443 | --includ | --inclu | --incl | --inc)
444 ac_prev=includedir ;;
445 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
446 | --includ=* | --inclu=* | --incl=* | --inc=*)
447 includedir=$ac_optarg ;;
449 -infodir | --infodir | --infodi | --infod | --info | --inf)
450 ac_prev=infodir ;;
451 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452 infodir=$ac_optarg ;;
454 -libdir | --libdir | --libdi | --libd)
455 ac_prev=libdir ;;
456 -libdir=* | --libdir=* | --libdi=* | --libd=*)
457 libdir=$ac_optarg ;;
459 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
460 | --libexe | --libex | --libe)
461 ac_prev=libexecdir ;;
462 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
463 | --libexe=* | --libex=* | --libe=*)
464 libexecdir=$ac_optarg ;;
466 -localstatedir | --localstatedir | --localstatedi | --localstated \
467 | --localstate | --localstat | --localsta | --localst \
468 | --locals | --local | --loca | --loc | --lo)
469 ac_prev=localstatedir ;;
470 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
472 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
473 localstatedir=$ac_optarg ;;
475 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
476 ac_prev=mandir ;;
477 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
478 mandir=$ac_optarg ;;
480 -nfp | --nfp | --nf)
481 # Obsolete; use --without-fp.
482 with_fp=no ;;
484 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485 | --no-cr | --no-c | -n)
486 no_create=yes ;;
488 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
489 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
490 no_recursion=yes ;;
492 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
493 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
494 | --oldin | --oldi | --old | --ol | --o)
495 ac_prev=oldincludedir ;;
496 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
497 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
498 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
499 oldincludedir=$ac_optarg ;;
501 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
502 ac_prev=prefix ;;
503 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
504 prefix=$ac_optarg ;;
506 -program-prefix | --program-prefix | --program-prefi | --program-pref \
507 | --program-pre | --program-pr | --program-p)
508 ac_prev=program_prefix ;;
509 -program-prefix=* | --program-prefix=* | --program-prefi=* \
510 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
511 program_prefix=$ac_optarg ;;
513 -program-suffix | --program-suffix | --program-suffi | --program-suff \
514 | --program-suf | --program-su | --program-s)
515 ac_prev=program_suffix ;;
516 -program-suffix=* | --program-suffix=* | --program-suffi=* \
517 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
518 program_suffix=$ac_optarg ;;
520 -program-transform-name | --program-transform-name \
521 | --program-transform-nam | --program-transform-na \
522 | --program-transform-n | --program-transform- \
523 | --program-transform | --program-transfor \
524 | --program-transfo | --program-transf \
525 | --program-trans | --program-tran \
526 | --progr-tra | --program-tr | --program-t)
527 ac_prev=program_transform_name ;;
528 -program-transform-name=* | --program-transform-name=* \
529 | --program-transform-nam=* | --program-transform-na=* \
530 | --program-transform-n=* | --program-transform-=* \
531 | --program-transform=* | --program-transfor=* \
532 | --program-transfo=* | --program-transf=* \
533 | --program-trans=* | --program-tran=* \
534 | --progr-tra=* | --program-tr=* | --program-t=*)
535 program_transform_name=$ac_optarg ;;
537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538 | -silent | --silent | --silen | --sile | --sil)
539 silent=yes ;;
541 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
542 ac_prev=sbindir ;;
543 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
544 | --sbi=* | --sb=*)
545 sbindir=$ac_optarg ;;
547 -sharedstatedir | --sharedstatedir | --sharedstatedi \
548 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549 | --sharedst | --shareds | --shared | --share | --shar \
550 | --sha | --sh)
551 ac_prev=sharedstatedir ;;
552 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
555 | --sha=* | --sh=*)
556 sharedstatedir=$ac_optarg ;;
558 -site | --site | --sit)
559 ac_prev=site ;;
560 -site=* | --site=* | --sit=*)
561 site=$ac_optarg ;;
563 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
564 ac_prev=srcdir ;;
565 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
566 srcdir=$ac_optarg ;;
568 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
569 | --syscon | --sysco | --sysc | --sys | --sy)
570 ac_prev=sysconfdir ;;
571 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
572 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
573 sysconfdir=$ac_optarg ;;
575 -target | --target | --targe | --targ | --tar | --ta | --t)
576 ac_prev=target_alias ;;
577 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
578 target_alias=$ac_optarg ;;
580 -v | -verbose | --verbose | --verbos | --verbo | --verb)
581 verbose=yes ;;
583 -version | --version | --versio | --versi | --vers | -V)
584 ac_init_version=: ;;
586 -with-* | --with-*)
587 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package=`echo $ac_package| sed 's/-/_/g'`
593 case $ac_option in
594 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
595 *) ac_optarg=yes ;;
596 esac
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* | --without-*)
600 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
608 --x)
609 # Obsolete; use --with-x.
610 with_x=yes ;;
612 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
613 | --x-incl | --x-inc | --x-in | --x-i)
614 ac_prev=x_includes ;;
615 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
616 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
617 x_includes=$ac_optarg ;;
619 -x-libraries | --x-libraries | --x-librarie | --x-librari \
620 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
621 ac_prev=x_libraries ;;
622 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
623 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
624 x_libraries=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
631 *=*)
632 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
639 export $ac_envvar ;;
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
649 esac
650 done
652 if test -n "$ac_prev"; then
653 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var in exec_prefix prefix
661 eval ac_val=$`echo $ac_var`
662 case $ac_val in
663 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
666 esac
667 done
669 # Be sure to have absolute paths.
670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val=$`echo $ac_var`
674 case $ac_val in
675 [\\/$]* | ?:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
678 esac
679 done
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
684 build=$build_alias
685 host=$host_alias
686 target=$target_alias
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x; then
690 if test "x$build_alias" = x; then
691 cross_compiling=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
695 cross_compiling=yes
699 ac_tool_prefix=
700 test -n "$host_alias" && ac_tool_prefix=$host_alias-
702 test "$silent" = yes && exec 6>/dev/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
715 echo X"$0" |
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
720 s/.*/./; q'`
721 srcdir=$ac_confdir
722 if test ! -r $srcdir/$ac_unique_file; then
723 srcdir=..
725 else
726 ac_srcdir_defaulted=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
732 else
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set=${build_alias+set}
742 ac_env_build_alias_value=$build_alias
743 ac_cv_env_build_alias_set=${build_alias+set}
744 ac_cv_env_build_alias_value=$build_alias
745 ac_env_host_alias_set=${host_alias+set}
746 ac_env_host_alias_value=$host_alias
747 ac_cv_env_host_alias_set=${host_alias+set}
748 ac_cv_env_host_alias_value=$host_alias
749 ac_env_target_alias_set=${target_alias+set}
750 ac_env_target_alias_value=$target_alias
751 ac_cv_env_target_alias_set=${target_alias+set}
752 ac_cv_env_target_alias_value=$target_alias
753 ac_env_CXXCPP_set=${CXXCPP+set}
754 ac_env_CXXCPP_value=$CXXCPP
755 ac_cv_env_CXXCPP_set=${CXXCPP+set}
756 ac_cv_env_CXXCPP_value=$CXXCPP
757 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
758 ac_env_CPPFLAGS_value=$CPPFLAGS
759 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
760 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
761 ac_env_CPP_set=${CPP+set}
762 ac_env_CPP_value=$CPP
763 ac_cv_env_CPP_set=${CPP+set}
764 ac_cv_env_CPP_value=$CPP
767 # Report the --help message.
769 if test "$ac_init_help" = "long"; then
770 # Omit some internal or obsolete options to make the list less imposing.
771 # This message is too long to be a string in the A/UX 3.1 sh.
772 cat <<_ACEOF
773 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
775 Usage: $0 [OPTION]... [VAR=VALUE]...
777 To assign environment variables (e.g., CC, CFLAGS...), specify them as
778 VAR=VALUE. See below for descriptions of some of the useful variables.
780 Defaults for the options are specified in brackets.
782 Configuration:
783 -h, --help display this help and exit
784 --help=short display options specific to this package
785 --help=recursive display the short help of all the included packages
786 -V, --version display version information and exit
787 -q, --quiet, --silent do not print \`checking...' messages
788 --cache-file=FILE cache test results in FILE [disabled]
789 -C, --config-cache alias for \`--cache-file=config.cache'
790 -n, --no-create do not create output files
791 --srcdir=DIR find the sources in DIR [configure dir or \`..']
793 _ACEOF
795 cat <<_ACEOF
796 Installation directories:
797 --prefix=PREFIX install architecture-independent files in PREFIX
798 [$ac_default_prefix]
799 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
800 [PREFIX]
802 By default, \`make install' will install all the files in
803 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
804 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
805 for instance \`--prefix=\$HOME'.
807 For better control, use the options below.
809 Fine tuning of the installation directories:
810 --bindir=DIR user executables [EPREFIX/bin]
811 --sbindir=DIR system admin executables [EPREFIX/sbin]
812 --libexecdir=DIR program executables [EPREFIX/libexec]
813 --datadir=DIR read-only architecture-independent data [PREFIX/share]
814 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
815 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
816 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
817 --libdir=DIR object code libraries [EPREFIX/lib]
818 --includedir=DIR C header files [PREFIX/include]
819 --oldincludedir=DIR C header files for non-gcc [/usr/include]
820 --infodir=DIR info documentation [PREFIX/info]
821 --mandir=DIR man documentation [PREFIX/man]
822 _ACEOF
824 cat <<\_ACEOF
826 Program names:
827 --program-prefix=PREFIX prepend PREFIX to installed program names
828 --program-suffix=SUFFIX append SUFFIX to installed program names
829 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
831 System types:
832 --build=BUILD configure for building on BUILD [guessed]
833 --host=HOST cross-compile to build programs to run on HOST [BUILD]
834 --target=TARGET configure for building compilers for TARGET [HOST]
835 _ACEOF
838 if test -n "$ac_init_help"; then
839 case $ac_init_help in
840 short | recursive ) echo "Configuration of package-unused version-unused:";;
841 esac
842 cat <<\_ACEOF
844 Optional Features:
845 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
846 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
847 --enable-multilib build many library versions (default)
848 --enable-maintainer-mode enable make rules and dependencies not useful
849 (and sometimes confusing) to the casual installer
850 --enable-shared=PKGS build shared libraries default=yes
851 --enable-static=PKGS build static libraries default=yes
852 --enable-fast-install=PKGS optimize for fast installation default=yes
853 --disable-libtool-lock avoid locking (might break parallel builds)
854 --disable-hosted-libstdcxx
855 only build freestanding C++ runtime support
856 --enable-sjlj-exceptions
857 force use of builtin_setjmp for exceptions
858 [default=auto]
859 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
860 [default=$is_hosted]
861 --enable-cstdio=PACKAGE use target-specific I/O package
862 [default=stdio]
863 --enable-clocale[=MODEL]
864 use MODEL for target locale package
865 [default=auto]
866 --enable-nls use Native Language Support (default)
867 --enable-libstdcxx-allocator=KIND
868 use KIND for target std::allocator base
869 [default=auto]
870 --enable-cheaders=KIND construct "C" headers for g++
871 [default=$c_model]
872 --enable-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-fully-dynamic-string
888 do not put empty strings in per-process static
889 memory [default=no]
890 --enable-symvers=STYLE enables symbol versioning of the shared library
891 [default=yes]
892 --enable-version-specific-runtime-libs
893 Specify that runtime libraries should be installed
894 in a compiler-specific directory
896 Optional Packages:
897 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
898 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
899 --with-target-subdir=SUBDIR
900 configuring in a subdirectory
901 --with-cross-host=HOST configuring with a cross compiler
902 --with-newlib assume newlib as a system C library
903 --with-gnu-ld assume the C compiler uses GNU ld default=no
904 --with-pic try to use only PIC/non-PIC objects default=use both
905 --with-gxx-include-dir=DIR
906 installation directory for include files
908 Some influential environment variables:
909 CC C compiler command
910 CFLAGS C compiler flags
911 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
912 nonstandard directory <lib dir>
913 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
914 headers in a nonstandard directory <include dir>
915 CXX C++ compiler command
916 CXXFLAGS C++ compiler flags
917 CXXCPP C++ preprocessor
918 CPP C preprocessor
920 Use these variables to override the choices made by `configure' or to help
921 it to find libraries and programs with nonstandard names/locations.
923 _ACEOF
926 if test "$ac_init_help" = "recursive"; then
927 # If there are subdirs, report their specific --help.
928 ac_popdir=`pwd`
929 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
930 test -d $ac_dir || continue
931 ac_builddir=.
933 if test "$ac_dir" != .; then
934 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
935 # A "../" for each directory in $ac_dir_suffix.
936 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
937 else
938 ac_dir_suffix= ac_top_builddir=
941 case $srcdir in
942 .) # No --srcdir option. We are building in place.
943 ac_srcdir=.
944 if test -z "$ac_top_builddir"; then
945 ac_top_srcdir=.
946 else
947 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
948 fi ;;
949 [\\/]* | ?:[\\/]* ) # Absolute path.
950 ac_srcdir=$srcdir$ac_dir_suffix;
951 ac_top_srcdir=$srcdir ;;
952 *) # Relative path.
953 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
954 ac_top_srcdir=$ac_top_builddir$srcdir ;;
955 esac
957 # Do not use `cd foo && pwd` to compute absolute paths, because
958 # the directories may not exist.
959 case `pwd` in
960 .) ac_abs_builddir="$ac_dir";;
962 case "$ac_dir" in
963 .) ac_abs_builddir=`pwd`;;
964 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
965 *) ac_abs_builddir=`pwd`/"$ac_dir";;
966 esac;;
967 esac
968 case $ac_abs_builddir in
969 .) ac_abs_top_builddir=${ac_top_builddir}.;;
971 case ${ac_top_builddir}. in
972 .) ac_abs_top_builddir=$ac_abs_builddir;;
973 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
974 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
975 esac;;
976 esac
977 case $ac_abs_builddir in
978 .) ac_abs_srcdir=$ac_srcdir;;
980 case $ac_srcdir in
981 .) ac_abs_srcdir=$ac_abs_builddir;;
982 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
983 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
984 esac;;
985 esac
986 case $ac_abs_builddir in
987 .) ac_abs_top_srcdir=$ac_top_srcdir;;
989 case $ac_top_srcdir in
990 .) ac_abs_top_srcdir=$ac_abs_builddir;;
991 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
992 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
993 esac;;
994 esac
996 cd $ac_dir
997 # Check for guested configure; otherwise get Cygnus style configure.
998 if test -f $ac_srcdir/configure.gnu; then
999 echo
1000 $SHELL $ac_srcdir/configure.gnu --help=recursive
1001 elif test -f $ac_srcdir/configure; then
1002 echo
1003 $SHELL $ac_srcdir/configure --help=recursive
1004 elif test -f $ac_srcdir/configure.ac ||
1005 test -f $ac_srcdir/configure.in; then
1006 echo
1007 $ac_configure --help
1008 else
1009 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1011 cd $ac_popdir
1012 done
1015 test -n "$ac_init_help" && exit 0
1016 if $ac_init_version; then
1017 cat <<\_ACEOF
1018 package-unused configure version-unused
1019 generated by GNU Autoconf 2.59
1021 Copyright (C) 2003 Free Software Foundation, Inc.
1022 This configure script is free software; the Free Software Foundation
1023 gives unlimited permission to copy, distribute and modify it.
1024 _ACEOF
1025 exit 0
1027 exec 5>config.log
1028 cat >&5 <<_ACEOF
1029 This file contains any messages produced by compilers while
1030 running configure, to aid debugging if configure makes a mistake.
1032 It was created by package-unused $as_me version-unused, which was
1033 generated by GNU Autoconf 2.59. Invocation command line was
1035 $ $0 $@
1037 _ACEOF
1039 cat <<_ASUNAME
1040 ## --------- ##
1041 ## Platform. ##
1042 ## --------- ##
1044 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1045 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1046 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1047 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1048 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1050 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1051 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1053 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1054 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1055 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1056 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1057 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1058 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1059 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1061 _ASUNAME
1063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1064 for as_dir in $PATH
1066 IFS=$as_save_IFS
1067 test -z "$as_dir" && as_dir=.
1068 echo "PATH: $as_dir"
1069 done
1071 } >&5
1073 cat >&5 <<_ACEOF
1076 ## ----------- ##
1077 ## Core tests. ##
1078 ## ----------- ##
1080 _ACEOF
1083 # Keep a trace of the command line.
1084 # Strip out --no-create and --no-recursion so they do not pile up.
1085 # Strip out --silent because we don't want to record it for future runs.
1086 # Also quote any args containing shell meta-characters.
1087 # Make two passes to allow for proper duplicate-argument suppression.
1088 ac_configure_args=
1089 ac_configure_args0=
1090 ac_configure_args1=
1091 ac_sep=
1092 ac_must_keep_next=false
1093 for ac_pass in 1 2
1095 for ac_arg
1097 case $ac_arg in
1098 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1099 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1100 | -silent | --silent | --silen | --sile | --sil)
1101 continue ;;
1102 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1103 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1104 esac
1105 case $ac_pass in
1106 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1108 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1109 if test $ac_must_keep_next = true; then
1110 ac_must_keep_next=false # Got value, back to normal.
1111 else
1112 case $ac_arg in
1113 *=* | --config-cache | -C | -disable-* | --disable-* \
1114 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1115 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1116 | -with-* | --with-* | -without-* | --without-* | --x)
1117 case "$ac_configure_args0 " in
1118 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1119 esac
1121 -* ) ac_must_keep_next=true ;;
1122 esac
1124 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1125 # Get rid of the leading space.
1126 ac_sep=" "
1128 esac
1129 done
1130 done
1131 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1132 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1134 # When interrupted or exit'd, cleanup temporary files, and complete
1135 # config.log. We remove comments because anyway the quotes in there
1136 # would cause problems or look ugly.
1137 # WARNING: Be sure not to use single quotes in there, as some shells,
1138 # such as our DU 5.0 friend, will then `close' the trap.
1139 trap 'exit_status=$?
1140 # Save into config.log some information that might help in debugging.
1142 echo
1144 cat <<\_ASBOX
1145 ## ---------------- ##
1146 ## Cache variables. ##
1147 ## ---------------- ##
1148 _ASBOX
1149 echo
1150 # The following way of writing the cache mishandles newlines in values,
1152 (set) 2>&1 |
1153 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1154 *ac_space=\ *)
1155 sed -n \
1156 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1157 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1160 sed -n \
1161 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1163 esac;
1165 echo
1167 cat <<\_ASBOX
1168 ## ----------------- ##
1169 ## Output variables. ##
1170 ## ----------------- ##
1171 _ASBOX
1172 echo
1173 for ac_var in $ac_subst_vars
1175 eval ac_val=$`echo $ac_var`
1176 echo "$ac_var='"'"'$ac_val'"'"'"
1177 done | sort
1178 echo
1180 if test -n "$ac_subst_files"; then
1181 cat <<\_ASBOX
1182 ## ------------- ##
1183 ## Output files. ##
1184 ## ------------- ##
1185 _ASBOX
1186 echo
1187 for ac_var in $ac_subst_files
1189 eval ac_val=$`echo $ac_var`
1190 echo "$ac_var='"'"'$ac_val'"'"'"
1191 done | sort
1192 echo
1195 if test -s confdefs.h; then
1196 cat <<\_ASBOX
1197 ## ----------- ##
1198 ## confdefs.h. ##
1199 ## ----------- ##
1200 _ASBOX
1201 echo
1202 sed "/^$/d" confdefs.h | sort
1203 echo
1205 test "$ac_signal" != 0 &&
1206 echo "$as_me: caught signal $ac_signal"
1207 echo "$as_me: exit $exit_status"
1208 } >&5
1209 rm -f core *.core &&
1210 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1211 exit $exit_status
1213 for ac_signal in 1 2 13 15; do
1214 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1215 done
1216 ac_signal=0
1218 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1219 rm -rf conftest* confdefs.h
1220 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1221 echo >confdefs.h
1223 # Predefined preprocessor variables.
1225 cat >>confdefs.h <<_ACEOF
1226 #define PACKAGE_NAME "$PACKAGE_NAME"
1227 _ACEOF
1230 cat >>confdefs.h <<_ACEOF
1231 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1232 _ACEOF
1235 cat >>confdefs.h <<_ACEOF
1236 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1237 _ACEOF
1240 cat >>confdefs.h <<_ACEOF
1241 #define PACKAGE_STRING "$PACKAGE_STRING"
1242 _ACEOF
1245 cat >>confdefs.h <<_ACEOF
1246 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1247 _ACEOF
1250 # Let the site file select an alternate cache file if it wants to.
1251 # Prefer explicitly selected file to automatically selected ones.
1252 if test -z "$CONFIG_SITE"; then
1253 if test "x$prefix" != xNONE; then
1254 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1255 else
1256 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1259 for ac_site_file in $CONFIG_SITE; do
1260 if test -r "$ac_site_file"; then
1261 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1262 echo "$as_me: loading site script $ac_site_file" >&6;}
1263 sed 's/^/| /' "$ac_site_file" >&5
1264 . "$ac_site_file"
1266 done
1268 if test -r "$cache_file"; then
1269 # Some versions of bash will fail to source /dev/null (special
1270 # files actually), so we avoid doing that.
1271 if test -f "$cache_file"; then
1272 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1273 echo "$as_me: loading cache $cache_file" >&6;}
1274 case $cache_file in
1275 [\\/]* | ?:[\\/]* ) . $cache_file;;
1276 *) . ./$cache_file;;
1277 esac
1279 else
1280 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1281 echo "$as_me: creating cache $cache_file" >&6;}
1282 >$cache_file
1285 # Check that the precious variables saved in the cache have kept the same
1286 # value.
1287 ac_cache_corrupted=false
1288 for ac_var in `(set) 2>&1 |
1289 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1290 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1291 eval ac_new_set=\$ac_env_${ac_var}_set
1292 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1293 eval ac_new_val="\$ac_env_${ac_var}_value"
1294 case $ac_old_set,$ac_new_set in
1295 set,)
1296 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1297 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1298 ac_cache_corrupted=: ;;
1299 ,set)
1300 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1301 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1302 ac_cache_corrupted=: ;;
1303 ,);;
1305 if test "x$ac_old_val" != "x$ac_new_val"; then
1306 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1307 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1308 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1309 echo "$as_me: former value: $ac_old_val" >&2;}
1310 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1311 echo "$as_me: current value: $ac_new_val" >&2;}
1312 ac_cache_corrupted=:
1313 fi;;
1314 esac
1315 # Pass precious variables to config.status.
1316 if test "$ac_new_set" = set; then
1317 case $ac_new_val in
1318 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1319 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1320 *) ac_arg=$ac_var=$ac_new_val ;;
1321 esac
1322 case " $ac_configure_args " in
1323 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1324 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1325 esac
1327 done
1328 if $ac_cache_corrupted; then
1329 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1330 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1331 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1332 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1333 { (exit 1); exit 1; }; }
1336 ac_ext=c
1337 ac_cpp='$CPP $CPPFLAGS'
1338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1369 ac_config_headers="$ac_config_headers config.h"
1372 # This works around the fact that libtool configuration may change LD
1373 # for this particular configuration, but some shells, instead of
1374 # keeping the changes in LD private, export them just because LD is
1375 # exported. Only used at the end of this file.
1376 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
1378 # For libtool versioning info, format is CURRENT:REVISION:AGE
1379 libtool_VERSION=6:3:0
1382 # Find the rest of the source tree framework.
1383 # Default to --enable-multilib
1384 # Check whether --enable-multilib or --disable-multilib was given.
1385 if test "${enable_multilib+set}" = set; then
1386 enableval="$enable_multilib"
1387 case "$enableval" in
1388 yes) multilib=yes ;;
1389 no) multilib=no ;;
1390 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1391 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1392 { (exit 1); exit 1; }; } ;;
1393 esac
1394 else
1395 multilib=yes
1398 # We may get other options which we leave undocumented:
1399 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1400 # See config-ml.in if you want the gory details.
1402 if test "$srcdir" = "."; then
1403 if test "$with_target_subdir" != "."; then
1404 multi_basedir="$srcdir/$with_multisrctop../.."
1405 else
1406 multi_basedir="$srcdir/$with_multisrctop.."
1408 else
1409 multi_basedir="$srcdir/.."
1413 ac_config_commands="$ac_config_commands default-1"
1416 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1418 # You will slowly go insane if you do not grok the following fact: when
1419 # building v3 as part of the compiler, the top-level /target/ becomes the
1420 # library's /host/. configure then causes --target to default to --host,
1421 # exactly like any other package using autoconf. Therefore, 'target' and
1422 # 'host' will always be the same. This makes sense both for native and
1423 # cross compilers, just think about it for a little while. :-)
1425 # Also, if v3 is being configured as part of a cross compiler, the top-level
1426 # configure script will pass the "real" host as $with_cross_host.
1428 # Do not delete or change the following two lines. For why, see
1429 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1430 ac_aux_dir=
1431 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1432 if test -f $ac_dir/install-sh; then
1433 ac_aux_dir=$ac_dir
1434 ac_install_sh="$ac_aux_dir/install-sh -c"
1435 break
1436 elif test -f $ac_dir/install.sh; then
1437 ac_aux_dir=$ac_dir
1438 ac_install_sh="$ac_aux_dir/install.sh -c"
1439 break
1440 elif test -f $ac_dir/shtool; then
1441 ac_aux_dir=$ac_dir
1442 ac_install_sh="$ac_aux_dir/shtool install -c"
1443 break
1445 done
1446 if test -z "$ac_aux_dir"; then
1447 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1448 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1449 { (exit 1); exit 1; }; }
1451 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1452 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1453 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1455 # Make sure we can run config.sub.
1456 $ac_config_sub sun4 >/dev/null 2>&1 ||
1457 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1458 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1459 { (exit 1); exit 1; }; }
1461 echo "$as_me:$LINENO: checking build system type" >&5
1462 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1463 if test "${ac_cv_build+set}" = set; then
1464 echo $ECHO_N "(cached) $ECHO_C" >&6
1465 else
1466 ac_cv_build_alias=$build_alias
1467 test -z "$ac_cv_build_alias" &&
1468 ac_cv_build_alias=`$ac_config_guess`
1469 test -z "$ac_cv_build_alias" &&
1470 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1471 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1472 { (exit 1); exit 1; }; }
1473 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1474 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1475 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1476 { (exit 1); exit 1; }; }
1479 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1480 echo "${ECHO_T}$ac_cv_build" >&6
1481 build=$ac_cv_build
1482 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1483 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1484 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1487 echo "$as_me:$LINENO: checking host system type" >&5
1488 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1489 if test "${ac_cv_host+set}" = set; then
1490 echo $ECHO_N "(cached) $ECHO_C" >&6
1491 else
1492 ac_cv_host_alias=$host_alias
1493 test -z "$ac_cv_host_alias" &&
1494 ac_cv_host_alias=$ac_cv_build_alias
1495 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1496 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1497 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1498 { (exit 1); exit 1; }; }
1501 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1502 echo "${ECHO_T}$ac_cv_host" >&6
1503 host=$ac_cv_host
1504 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1505 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1506 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1509 echo "$as_me:$LINENO: checking target system type" >&5
1510 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1511 if test "${ac_cv_target+set}" = set; then
1512 echo $ECHO_N "(cached) $ECHO_C" >&6
1513 else
1514 ac_cv_target_alias=$target_alias
1515 test "x$ac_cv_target_alias" = "x" &&
1516 ac_cv_target_alias=$ac_cv_host_alias
1517 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1518 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1519 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1520 { (exit 1); exit 1; }; }
1523 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1524 echo "${ECHO_T}$ac_cv_target" >&6
1525 target=$ac_cv_target
1526 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1527 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1528 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1531 # The aliases save the names the user supplied, while $host etc.
1532 # will get canonicalized.
1533 test -n "$target_alias" &&
1534 test "$program_prefix$program_suffix$program_transform_name" = \
1535 NONENONEs,x,x, &&
1536 program_prefix=${target_alias}-
1537 target_alias=${target_alias-$host_alias}
1539 # Handy for debugging:
1540 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1542 if test "$build" != "$host"; then
1543 # We are being configured with some form of cross compiler.
1544 GLIBCXX_IS_NATIVE=false
1546 else
1547 GLIBCXX_IS_NATIVE=true
1550 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1551 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1552 # 1.x: minimum required version
1553 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1554 # of other PACKAGE_* variables will, however, and there's nothing
1555 # we can do about that; they come from AC_INIT).
1556 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1557 # file in the top srcdir, etc, etc), so stop complaining.
1558 # no-dependencies: turns off auto dependency generation (just for now)
1559 # -Wall: turns on all automake warnings...
1560 # -Wno-portability: ...except this one, since GNU make is now required.
1561 am__api_version="1.9"
1562 # Find a good install program. We prefer a C program (faster),
1563 # so one script is as good as another. But avoid the broken or
1564 # incompatible versions:
1565 # SysV /etc/install, /usr/sbin/install
1566 # SunOS /usr/etc/install
1567 # IRIX /sbin/install
1568 # AIX /bin/install
1569 # AmigaOS /C/install, which installs bootblocks on floppy discs
1570 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1571 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1572 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1573 # OS/2's system install, which has a completely different semantic
1574 # ./install, which can be erroneously created by make from ./install.sh.
1575 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1576 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1577 if test -z "$INSTALL"; then
1578 if test "${ac_cv_path_install+set}" = set; then
1579 echo $ECHO_N "(cached) $ECHO_C" >&6
1580 else
1581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1582 for as_dir in $PATH
1584 IFS=$as_save_IFS
1585 test -z "$as_dir" && as_dir=.
1586 # Account for people who put trailing slashes in PATH elements.
1587 case $as_dir/ in
1588 ./ | .// | /cC/* | \
1589 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1590 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1591 /usr/ucb/* ) ;;
1593 # OSF1 and SCO ODT 3.0 have their own names for install.
1594 # Don't use installbsd from OSF since it installs stuff as root
1595 # by default.
1596 for ac_prog in ginstall scoinst install; do
1597 for ac_exec_ext in '' $ac_executable_extensions; do
1598 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1599 if test $ac_prog = install &&
1600 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1601 # AIX install. It has an incompatible calling convention.
1603 elif test $ac_prog = install &&
1604 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1605 # program-specific install script used by HP pwplus--don't use.
1607 else
1608 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1609 break 3
1612 done
1613 done
1615 esac
1616 done
1620 if test "${ac_cv_path_install+set}" = set; then
1621 INSTALL=$ac_cv_path_install
1622 else
1623 # As a last resort, use the slow shell script. We don't cache a
1624 # path for INSTALL within a source directory, because that will
1625 # break other packages using the cache if that directory is
1626 # removed, or if the path is relative.
1627 INSTALL=$ac_install_sh
1630 echo "$as_me:$LINENO: result: $INSTALL" >&5
1631 echo "${ECHO_T}$INSTALL" >&6
1633 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1634 # It thinks the first close brace ends the variable substitution.
1635 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1637 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1639 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1641 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1642 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1643 # Just in case
1644 sleep 1
1645 echo timestamp > conftest.file
1646 # Do `set' in a subshell so we don't clobber the current shell's
1647 # arguments. Must try -L first in case configure is actually a
1648 # symlink; some systems play weird games with the mod time of symlinks
1649 # (eg FreeBSD returns the mod time of the symlink's containing
1650 # directory).
1651 if (
1652 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1653 if test "$*" = "X"; then
1654 # -L didn't work.
1655 set X `ls -t $srcdir/configure conftest.file`
1657 rm -f conftest.file
1658 if test "$*" != "X $srcdir/configure conftest.file" \
1659 && test "$*" != "X conftest.file $srcdir/configure"; then
1661 # If neither matched, then we have a broken ls. This can happen
1662 # if, for instance, CONFIG_SHELL is bash and it inherits a
1663 # broken ls alias from the environment. This has actually
1664 # happened. Such a system could not be considered "sane".
1665 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1666 alias in your environment" >&5
1667 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1668 alias in your environment" >&2;}
1669 { (exit 1); exit 1; }; }
1672 test "$2" = conftest.file
1674 then
1675 # Ok.
1677 else
1678 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1679 Check your system clock" >&5
1680 echo "$as_me: error: newly created file is older than distributed files!
1681 Check your system clock" >&2;}
1682 { (exit 1); exit 1; }; }
1684 echo "$as_me:$LINENO: result: yes" >&5
1685 echo "${ECHO_T}yes" >&6
1686 test "$program_prefix" != NONE &&
1687 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1688 # Use a double $ so make ignores it.
1689 test "$program_suffix" != NONE &&
1690 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1691 # Double any \ or $. echo might interpret backslashes.
1692 # By default was `s,x,x', remove it if useless.
1693 cat <<\_ACEOF >conftest.sed
1694 s/[\\$]/&&/g;s/;s,x,x,$//
1695 _ACEOF
1696 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1697 rm conftest.sed
1699 # expand $ac_aux_dir to an absolute path
1700 am_aux_dir=`cd $ac_aux_dir && pwd`
1702 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1703 # Use eval to expand $SHELL
1704 if eval "$MISSING --run true"; then
1705 am_missing_run="$MISSING --run "
1706 else
1707 am_missing_run=
1708 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1709 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1712 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1713 # We used to keeping the `.' as first argument, in order to
1714 # allow $(mkdir_p) to be used without argument. As in
1715 # $(mkdir_p) $(somedir)
1716 # where $(somedir) is conditionally defined. However this is wrong
1717 # for two reasons:
1718 # 1. if the package is installed by a user who cannot write `.'
1719 # make install will fail,
1720 # 2. the above comment should most certainly read
1721 # $(mkdir_p) $(DESTDIR)$(somedir)
1722 # so it does not work when $(somedir) is undefined and
1723 # $(DESTDIR) is not.
1724 # To support the latter case, we have to write
1725 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1726 # so the `.' trick is pointless.
1727 mkdir_p='mkdir -p --'
1728 else
1729 # On NextStep and OpenStep, the `mkdir' command does not
1730 # recognize any option. It will interpret all options as
1731 # directories to create, and then abort because `.' already
1732 # exists.
1733 for d in ./-p ./--version;
1735 test -d $d && rmdir $d
1736 done
1737 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1738 if test -f "$ac_aux_dir/mkinstalldirs"; then
1739 mkdir_p='$(mkinstalldirs)'
1740 else
1741 mkdir_p='$(install_sh) -d'
1745 for ac_prog in gawk mawk nawk awk
1747 # Extract the first word of "$ac_prog", so it can be a program name with args.
1748 set dummy $ac_prog; ac_word=$2
1749 echo "$as_me:$LINENO: checking for $ac_word" >&5
1750 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1751 if test "${ac_cv_prog_AWK+set}" = set; then
1752 echo $ECHO_N "(cached) $ECHO_C" >&6
1753 else
1754 if test -n "$AWK"; then
1755 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1756 else
1757 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1758 for as_dir in $PATH
1760 IFS=$as_save_IFS
1761 test -z "$as_dir" && as_dir=.
1762 for ac_exec_ext in '' $ac_executable_extensions; do
1763 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1764 ac_cv_prog_AWK="$ac_prog"
1765 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1766 break 2
1768 done
1769 done
1773 AWK=$ac_cv_prog_AWK
1774 if test -n "$AWK"; then
1775 echo "$as_me:$LINENO: result: $AWK" >&5
1776 echo "${ECHO_T}$AWK" >&6
1777 else
1778 echo "$as_me:$LINENO: result: no" >&5
1779 echo "${ECHO_T}no" >&6
1782 test -n "$AWK" && break
1783 done
1785 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1786 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1787 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1788 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1789 echo $ECHO_N "(cached) $ECHO_C" >&6
1790 else
1791 cat >conftest.make <<\_ACEOF
1792 all:
1793 @echo 'ac_maketemp="$(MAKE)"'
1794 _ACEOF
1795 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1796 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1797 if test -n "$ac_maketemp"; then
1798 eval ac_cv_prog_make_${ac_make}_set=yes
1799 else
1800 eval ac_cv_prog_make_${ac_make}_set=no
1802 rm -f conftest.make
1804 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1805 echo "$as_me:$LINENO: result: yes" >&5
1806 echo "${ECHO_T}yes" >&6
1807 SET_MAKE=
1808 else
1809 echo "$as_me:$LINENO: result: no" >&5
1810 echo "${ECHO_T}no" >&6
1811 SET_MAKE="MAKE=${MAKE-make}"
1814 rm -rf .tst 2>/dev/null
1815 mkdir .tst 2>/dev/null
1816 if test -d .tst; then
1817 am__leading_dot=.
1818 else
1819 am__leading_dot=_
1821 rmdir .tst 2>/dev/null
1823 # test to see if srcdir already configured
1824 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1825 test -f $srcdir/config.status; then
1826 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1827 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1828 { (exit 1); exit 1; }; }
1831 # test whether we have cygpath
1832 if test -z "$CYGPATH_W"; then
1833 if (cygpath --version) >/dev/null 2>/dev/null; then
1834 CYGPATH_W='cygpath -w'
1835 else
1836 CYGPATH_W=echo
1841 # Define the identity of the package.
1842 PACKAGE='libstdc++'
1843 VERSION='version-unused'
1846 # Some tools Automake needs.
1848 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1851 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1854 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1857 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1860 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1862 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1864 # Installed binaries are usually stripped using `strip' when the user
1865 # run `make install-strip'. However `strip' might not be the right
1866 # tool to use in cross-compilation environments, therefore Automake
1867 # will honor the `STRIP' environment variable to overrule this program.
1868 if test "$cross_compiling" != no; then
1869 if test -n "$ac_tool_prefix"; then
1870 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1871 set dummy ${ac_tool_prefix}strip; ac_word=$2
1872 echo "$as_me:$LINENO: checking for $ac_word" >&5
1873 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1874 if test "${ac_cv_prog_STRIP+set}" = set; then
1875 echo $ECHO_N "(cached) $ECHO_C" >&6
1876 else
1877 if test -n "$STRIP"; then
1878 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1879 else
1880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1881 for as_dir in $PATH
1883 IFS=$as_save_IFS
1884 test -z "$as_dir" && as_dir=.
1885 for ac_exec_ext in '' $ac_executable_extensions; do
1886 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1887 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1888 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1889 break 2
1891 done
1892 done
1896 STRIP=$ac_cv_prog_STRIP
1897 if test -n "$STRIP"; then
1898 echo "$as_me:$LINENO: result: $STRIP" >&5
1899 echo "${ECHO_T}$STRIP" >&6
1900 else
1901 echo "$as_me:$LINENO: result: no" >&5
1902 echo "${ECHO_T}no" >&6
1906 if test -z "$ac_cv_prog_STRIP"; then
1907 ac_ct_STRIP=$STRIP
1908 # Extract the first word of "strip", so it can be a program name with args.
1909 set dummy strip; ac_word=$2
1910 echo "$as_me:$LINENO: checking for $ac_word" >&5
1911 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1912 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1913 echo $ECHO_N "(cached) $ECHO_C" >&6
1914 else
1915 if test -n "$ac_ct_STRIP"; then
1916 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1917 else
1918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1919 for as_dir in $PATH
1921 IFS=$as_save_IFS
1922 test -z "$as_dir" && as_dir=.
1923 for ac_exec_ext in '' $ac_executable_extensions; do
1924 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1925 ac_cv_prog_ac_ct_STRIP="strip"
1926 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1927 break 2
1929 done
1930 done
1932 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1935 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1936 if test -n "$ac_ct_STRIP"; then
1937 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1938 echo "${ECHO_T}$ac_ct_STRIP" >&6
1939 else
1940 echo "$as_me:$LINENO: result: no" >&5
1941 echo "${ECHO_T}no" >&6
1944 STRIP=$ac_ct_STRIP
1945 else
1946 STRIP="$ac_cv_prog_STRIP"
1950 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1952 # We need awk for the "check" target. The system "awk" is bad on
1953 # some platforms.
1954 # Always define AMTAR for backward compatibility.
1956 AMTAR=${AMTAR-"${am_missing_run}tar"}
1958 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1965 # Runs configure.host, finds CC, CXX, and assorted other critical bits. Sets
1966 # up critical shell variables.
1968 # Keep these sync'd with the list in Makefile.am. The first provides an
1969 # expandable list at autoconf time; the second provides an expandable list
1970 # (i.e., shell variable) at configure time.
1972 SUBDIRS='include libmath libsupc++ src po testsuite'
1974 # These need to be absolute paths, yet at the same time need to
1975 # canonicalize only relative paths, because then amd will not unmount
1976 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
1977 glibcxx_builddir=`${PWDCMD-pwd}`
1978 case $srcdir in
1979 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
1980 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
1981 esac
1982 toplevel_srcdir=${glibcxx_srcdir}/..
1987 # We use these options to decide which functions to include. They are
1988 # set from the top level.
1990 # Check whether --with-target-subdir or --without-target-subdir was given.
1991 if test "${with_target_subdir+set}" = set; then
1992 withval="$with_target_subdir"
1997 # Check whether --with-cross-host or --without-cross-host was given.
1998 if test "${with_cross_host+set}" = set; then
1999 withval="$with_cross_host"
2004 # Check whether --with-newlib or --without-newlib was given.
2005 if test "${with_newlib+set}" = set; then
2006 withval="$with_newlib"
2010 # We're almost certainly being configured before anything else which uses
2011 # C++, so all of our AC_PROG_* discoveries will be cached. It's vital that
2012 # we not cache the value of CXX that we "discover" here, because it's set
2013 # to something unique for us and libjava. Other target libraries need to
2014 # find CXX for themselves. We yank the rug out from under the normal AC_*
2015 # process by sneakily renaming the cache variable. This also lets us debug
2016 # the value of "our" CXX in postmortems.
2018 # We must also force CXX to /not/ be a precious variable, otherwise the
2019 # wrong (non-multilib-adjusted) value will be used in multilibs. This
2020 # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS. And as a side
2021 # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2022 # that ourselves. Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2024 # -fno-builtin must be present here so that a non-conflicting form of
2025 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2030 save_CXXFLAGS="$CXXFLAGS"
2031 CXXFLAGS="$CXXFLAGS -fno-builtin"
2032 ac_ext=c
2033 ac_cpp='$CPP $CPPFLAGS'
2034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2037 if test -n "$ac_tool_prefix"; then
2038 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2039 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2040 echo "$as_me:$LINENO: checking for $ac_word" >&5
2041 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2042 if test "${ac_cv_prog_CC+set}" = set; then
2043 echo $ECHO_N "(cached) $ECHO_C" >&6
2044 else
2045 if test -n "$CC"; then
2046 ac_cv_prog_CC="$CC" # Let the user override the test.
2047 else
2048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2049 for as_dir in $PATH
2051 IFS=$as_save_IFS
2052 test -z "$as_dir" && as_dir=.
2053 for ac_exec_ext in '' $ac_executable_extensions; do
2054 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2055 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2056 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2057 break 2
2059 done
2060 done
2064 CC=$ac_cv_prog_CC
2065 if test -n "$CC"; then
2066 echo "$as_me:$LINENO: result: $CC" >&5
2067 echo "${ECHO_T}$CC" >&6
2068 else
2069 echo "$as_me:$LINENO: result: no" >&5
2070 echo "${ECHO_T}no" >&6
2074 if test -z "$ac_cv_prog_CC"; then
2075 ac_ct_CC=$CC
2076 # Extract the first word of "gcc", so it can be a program name with args.
2077 set dummy gcc; ac_word=$2
2078 echo "$as_me:$LINENO: checking for $ac_word" >&5
2079 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2080 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2081 echo $ECHO_N "(cached) $ECHO_C" >&6
2082 else
2083 if test -n "$ac_ct_CC"; then
2084 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2085 else
2086 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2087 for as_dir in $PATH
2089 IFS=$as_save_IFS
2090 test -z "$as_dir" && as_dir=.
2091 for ac_exec_ext in '' $ac_executable_extensions; do
2092 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2093 ac_cv_prog_ac_ct_CC="gcc"
2094 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2095 break 2
2097 done
2098 done
2102 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2103 if test -n "$ac_ct_CC"; then
2104 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2105 echo "${ECHO_T}$ac_ct_CC" >&6
2106 else
2107 echo "$as_me:$LINENO: result: no" >&5
2108 echo "${ECHO_T}no" >&6
2111 CC=$ac_ct_CC
2112 else
2113 CC="$ac_cv_prog_CC"
2116 if test -z "$CC"; then
2117 if test -n "$ac_tool_prefix"; then
2118 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2119 set dummy ${ac_tool_prefix}cc; ac_word=$2
2120 echo "$as_me:$LINENO: checking for $ac_word" >&5
2121 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2122 if test "${ac_cv_prog_CC+set}" = set; then
2123 echo $ECHO_N "(cached) $ECHO_C" >&6
2124 else
2125 if test -n "$CC"; then
2126 ac_cv_prog_CC="$CC" # Let the user override the test.
2127 else
2128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2129 for as_dir in $PATH
2131 IFS=$as_save_IFS
2132 test -z "$as_dir" && as_dir=.
2133 for ac_exec_ext in '' $ac_executable_extensions; do
2134 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2135 ac_cv_prog_CC="${ac_tool_prefix}cc"
2136 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2137 break 2
2139 done
2140 done
2144 CC=$ac_cv_prog_CC
2145 if test -n "$CC"; then
2146 echo "$as_me:$LINENO: result: $CC" >&5
2147 echo "${ECHO_T}$CC" >&6
2148 else
2149 echo "$as_me:$LINENO: result: no" >&5
2150 echo "${ECHO_T}no" >&6
2154 if test -z "$ac_cv_prog_CC"; then
2155 ac_ct_CC=$CC
2156 # Extract the first word of "cc", so it can be a program name with args.
2157 set dummy cc; ac_word=$2
2158 echo "$as_me:$LINENO: checking for $ac_word" >&5
2159 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2160 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2161 echo $ECHO_N "(cached) $ECHO_C" >&6
2162 else
2163 if test -n "$ac_ct_CC"; then
2164 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2165 else
2166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2167 for as_dir in $PATH
2169 IFS=$as_save_IFS
2170 test -z "$as_dir" && as_dir=.
2171 for ac_exec_ext in '' $ac_executable_extensions; do
2172 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2173 ac_cv_prog_ac_ct_CC="cc"
2174 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2175 break 2
2177 done
2178 done
2182 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2183 if test -n "$ac_ct_CC"; then
2184 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2185 echo "${ECHO_T}$ac_ct_CC" >&6
2186 else
2187 echo "$as_me:$LINENO: result: no" >&5
2188 echo "${ECHO_T}no" >&6
2191 CC=$ac_ct_CC
2192 else
2193 CC="$ac_cv_prog_CC"
2197 if test -z "$CC"; then
2198 # Extract the first word of "cc", so it can be a program name with args.
2199 set dummy cc; ac_word=$2
2200 echo "$as_me:$LINENO: checking for $ac_word" >&5
2201 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2202 if test "${ac_cv_prog_CC+set}" = set; then
2203 echo $ECHO_N "(cached) $ECHO_C" >&6
2204 else
2205 if test -n "$CC"; then
2206 ac_cv_prog_CC="$CC" # Let the user override the test.
2207 else
2208 ac_prog_rejected=no
2209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2210 for as_dir in $PATH
2212 IFS=$as_save_IFS
2213 test -z "$as_dir" && as_dir=.
2214 for ac_exec_ext in '' $ac_executable_extensions; do
2215 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2216 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2217 ac_prog_rejected=yes
2218 continue
2220 ac_cv_prog_CC="cc"
2221 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2222 break 2
2224 done
2225 done
2227 if test $ac_prog_rejected = yes; then
2228 # We found a bogon in the path, so make sure we never use it.
2229 set dummy $ac_cv_prog_CC
2230 shift
2231 if test $# != 0; then
2232 # We chose a different compiler from the bogus one.
2233 # However, it has the same basename, so the bogon will be chosen
2234 # first if we set CC to just the basename; use the full file name.
2235 shift
2236 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2241 CC=$ac_cv_prog_CC
2242 if test -n "$CC"; then
2243 echo "$as_me:$LINENO: result: $CC" >&5
2244 echo "${ECHO_T}$CC" >&6
2245 else
2246 echo "$as_me:$LINENO: result: no" >&5
2247 echo "${ECHO_T}no" >&6
2251 if test -z "$CC"; then
2252 if test -n "$ac_tool_prefix"; then
2253 for ac_prog in cl
2255 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2256 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2257 echo "$as_me:$LINENO: checking for $ac_word" >&5
2258 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2259 if test "${ac_cv_prog_CC+set}" = set; then
2260 echo $ECHO_N "(cached) $ECHO_C" >&6
2261 else
2262 if test -n "$CC"; then
2263 ac_cv_prog_CC="$CC" # Let the user override the test.
2264 else
2265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2266 for as_dir in $PATH
2268 IFS=$as_save_IFS
2269 test -z "$as_dir" && as_dir=.
2270 for ac_exec_ext in '' $ac_executable_extensions; do
2271 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2272 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2273 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2274 break 2
2276 done
2277 done
2281 CC=$ac_cv_prog_CC
2282 if test -n "$CC"; then
2283 echo "$as_me:$LINENO: result: $CC" >&5
2284 echo "${ECHO_T}$CC" >&6
2285 else
2286 echo "$as_me:$LINENO: result: no" >&5
2287 echo "${ECHO_T}no" >&6
2290 test -n "$CC" && break
2291 done
2293 if test -z "$CC"; then
2294 ac_ct_CC=$CC
2295 for ac_prog in cl
2297 # Extract the first word of "$ac_prog", so it can be a program name with args.
2298 set dummy $ac_prog; ac_word=$2
2299 echo "$as_me:$LINENO: checking for $ac_word" >&5
2300 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2301 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2302 echo $ECHO_N "(cached) $ECHO_C" >&6
2303 else
2304 if test -n "$ac_ct_CC"; then
2305 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2306 else
2307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2308 for as_dir in $PATH
2310 IFS=$as_save_IFS
2311 test -z "$as_dir" && as_dir=.
2312 for ac_exec_ext in '' $ac_executable_extensions; do
2313 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2314 ac_cv_prog_ac_ct_CC="$ac_prog"
2315 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2316 break 2
2318 done
2319 done
2323 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2324 if test -n "$ac_ct_CC"; then
2325 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2326 echo "${ECHO_T}$ac_ct_CC" >&6
2327 else
2328 echo "$as_me:$LINENO: result: no" >&5
2329 echo "${ECHO_T}no" >&6
2332 test -n "$ac_ct_CC" && break
2333 done
2335 CC=$ac_ct_CC
2341 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2342 See \`config.log' for more details." >&5
2343 echo "$as_me: error: no acceptable C compiler found in \$PATH
2344 See \`config.log' for more details." >&2;}
2345 { (exit 1); exit 1; }; }
2347 # Provide some information about the compiler.
2348 echo "$as_me:$LINENO:" \
2349 "checking for C compiler version" >&5
2350 ac_compiler=`set X $ac_compile; echo $2`
2351 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2352 (eval $ac_compiler --version </dev/null >&5) 2>&5
2353 ac_status=$?
2354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2355 (exit $ac_status); }
2356 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2357 (eval $ac_compiler -v </dev/null >&5) 2>&5
2358 ac_status=$?
2359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2360 (exit $ac_status); }
2361 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2362 (eval $ac_compiler -V </dev/null >&5) 2>&5
2363 ac_status=$?
2364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2365 (exit $ac_status); }
2367 cat >conftest.$ac_ext <<_ACEOF
2368 /* confdefs.h. */
2369 _ACEOF
2370 cat confdefs.h >>conftest.$ac_ext
2371 cat >>conftest.$ac_ext <<_ACEOF
2372 /* end confdefs.h. */
2375 main ()
2379 return 0;
2381 _ACEOF
2382 # FIXME: Cleanup?
2383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2384 (eval $ac_link) 2>&5
2385 ac_status=$?
2386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2387 (exit $ac_status); }; then
2388 gcc_no_link=no
2389 else
2390 gcc_no_link=yes
2393 if test x$gcc_no_link = xyes; then
2394 # Setting cross_compile will disable run tests; it will
2395 # also disable AC_CHECK_FILE but that's generally
2396 # correct if we can't link.
2397 cross_compiling=yes
2398 EXEEXT=
2399 else
2400 cat >conftest.$ac_ext <<_ACEOF
2401 /* confdefs.h. */
2402 _ACEOF
2403 cat confdefs.h >>conftest.$ac_ext
2404 cat >>conftest.$ac_ext <<_ACEOF
2405 /* end confdefs.h. */
2408 main ()
2412 return 0;
2414 _ACEOF
2415 ac_clean_files_save=$ac_clean_files
2416 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2417 # Try to create an executable without -o first, disregard a.out.
2418 # It will help us diagnose broken compilers, and finding out an intuition
2419 # of exeext.
2420 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2421 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2422 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2423 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2424 (eval $ac_link_default) 2>&5
2425 ac_status=$?
2426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2427 (exit $ac_status); }; then
2428 # Find the output, starting from the most likely. This scheme is
2429 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2430 # resort.
2432 # Be careful to initialize this variable, since it used to be cached.
2433 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2434 ac_cv_exeext=
2435 # b.out is created by i960 compilers.
2436 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2438 test -f "$ac_file" || continue
2439 case $ac_file in
2440 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2442 conftest.$ac_ext )
2443 # This is the source file.
2445 [ab].out )
2446 # We found the default executable, but exeext='' is most
2447 # certainly right.
2448 break;;
2449 *.* )
2450 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2451 # FIXME: I believe we export ac_cv_exeext for Libtool,
2452 # but it would be cool to find out if it's true. Does anybody
2453 # maintain Libtool? --akim.
2454 export ac_cv_exeext
2455 break;;
2457 break;;
2458 esac
2459 done
2460 else
2461 echo "$as_me: failed program was:" >&5
2462 sed 's/^/| /' conftest.$ac_ext >&5
2464 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2465 See \`config.log' for more details." >&5
2466 echo "$as_me: error: C compiler cannot create executables
2467 See \`config.log' for more details." >&2;}
2468 { (exit 77); exit 77; }; }
2471 ac_exeext=$ac_cv_exeext
2472 echo "$as_me:$LINENO: result: $ac_file" >&5
2473 echo "${ECHO_T}$ac_file" >&6
2475 # Check the compiler produces executables we can run. If not, either
2476 # the compiler is broken, or we cross compile.
2477 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2478 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2479 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2480 # If not cross compiling, check that we can run a simple program.
2481 if test "$cross_compiling" != yes; then
2482 if { ac_try='./$ac_file'
2483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2484 (eval $ac_try) 2>&5
2485 ac_status=$?
2486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2487 (exit $ac_status); }; }; then
2488 cross_compiling=no
2489 else
2490 if test "$cross_compiling" = maybe; then
2491 cross_compiling=yes
2492 else
2493 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2494 If you meant to cross compile, use \`--host'.
2495 See \`config.log' for more details." >&5
2496 echo "$as_me: error: cannot run C compiled programs.
2497 If you meant to cross compile, use \`--host'.
2498 See \`config.log' for more details." >&2;}
2499 { (exit 1); exit 1; }; }
2503 echo "$as_me:$LINENO: result: yes" >&5
2504 echo "${ECHO_T}yes" >&6
2506 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2507 ac_clean_files=$ac_clean_files_save
2508 # Check the compiler produces executables we can run. If not, either
2509 # the compiler is broken, or we cross compile.
2510 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2511 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2512 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2513 echo "${ECHO_T}$cross_compiling" >&6
2515 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2516 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2518 (eval $ac_link) 2>&5
2519 ac_status=$?
2520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2521 (exit $ac_status); }; then
2522 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2523 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2524 # work properly (i.e., refer to `conftest.exe'), while it won't with
2525 # `rm'.
2526 for ac_file in conftest.exe conftest conftest.*; do
2527 test -f "$ac_file" || continue
2528 case $ac_file in
2529 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2530 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2531 export ac_cv_exeext
2532 break;;
2533 * ) break;;
2534 esac
2535 done
2536 else
2537 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2538 See \`config.log' for more details." >&5
2539 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2540 See \`config.log' for more details." >&2;}
2541 { (exit 1); exit 1; }; }
2544 rm -f conftest$ac_cv_exeext
2545 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2546 echo "${ECHO_T}$ac_cv_exeext" >&6
2548 rm -f conftest.$ac_ext
2549 EXEEXT=$ac_cv_exeext
2550 ac_exeext=$EXEEXT
2552 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2553 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2554 if test "${ac_cv_objext+set}" = set; then
2555 echo $ECHO_N "(cached) $ECHO_C" >&6
2556 else
2557 cat >conftest.$ac_ext <<_ACEOF
2558 /* confdefs.h. */
2559 _ACEOF
2560 cat confdefs.h >>conftest.$ac_ext
2561 cat >>conftest.$ac_ext <<_ACEOF
2562 /* end confdefs.h. */
2565 main ()
2569 return 0;
2571 _ACEOF
2572 rm -f conftest.o conftest.obj
2573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2574 (eval $ac_compile) 2>&5
2575 ac_status=$?
2576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2577 (exit $ac_status); }; then
2578 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2579 case $ac_file in
2580 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2581 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2582 break;;
2583 esac
2584 done
2585 else
2586 echo "$as_me: failed program was:" >&5
2587 sed 's/^/| /' conftest.$ac_ext >&5
2589 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2590 See \`config.log' for more details." >&5
2591 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2592 See \`config.log' for more details." >&2;}
2593 { (exit 1); exit 1; }; }
2596 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2598 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2599 echo "${ECHO_T}$ac_cv_objext" >&6
2600 OBJEXT=$ac_cv_objext
2601 ac_objext=$OBJEXT
2602 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2603 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2604 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2605 echo $ECHO_N "(cached) $ECHO_C" >&6
2606 else
2607 cat >conftest.$ac_ext <<_ACEOF
2608 /* confdefs.h. */
2609 _ACEOF
2610 cat confdefs.h >>conftest.$ac_ext
2611 cat >>conftest.$ac_ext <<_ACEOF
2612 /* end confdefs.h. */
2615 main ()
2617 #ifndef __GNUC__
2618 choke me
2619 #endif
2622 return 0;
2624 _ACEOF
2625 rm -f conftest.$ac_objext
2626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2627 (eval $ac_compile) 2>conftest.er1
2628 ac_status=$?
2629 grep -v '^ *+' conftest.er1 >conftest.err
2630 rm -f conftest.er1
2631 cat conftest.err >&5
2632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2633 (exit $ac_status); } &&
2634 { ac_try='test -z "$ac_c_werror_flag"
2635 || test ! -s conftest.err'
2636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2637 (eval $ac_try) 2>&5
2638 ac_status=$?
2639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2640 (exit $ac_status); }; } &&
2641 { ac_try='test -s conftest.$ac_objext'
2642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2643 (eval $ac_try) 2>&5
2644 ac_status=$?
2645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2646 (exit $ac_status); }; }; then
2647 ac_compiler_gnu=yes
2648 else
2649 echo "$as_me: failed program was:" >&5
2650 sed 's/^/| /' conftest.$ac_ext >&5
2652 ac_compiler_gnu=no
2654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2655 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2658 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2659 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2660 GCC=`test $ac_compiler_gnu = yes && echo yes`
2661 ac_test_CFLAGS=${CFLAGS+set}
2662 ac_save_CFLAGS=$CFLAGS
2663 CFLAGS="-g"
2664 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2665 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2666 if test "${ac_cv_prog_cc_g+set}" = set; then
2667 echo $ECHO_N "(cached) $ECHO_C" >&6
2668 else
2669 cat >conftest.$ac_ext <<_ACEOF
2670 /* confdefs.h. */
2671 _ACEOF
2672 cat confdefs.h >>conftest.$ac_ext
2673 cat >>conftest.$ac_ext <<_ACEOF
2674 /* end confdefs.h. */
2677 main ()
2681 return 0;
2683 _ACEOF
2684 rm -f conftest.$ac_objext
2685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2686 (eval $ac_compile) 2>conftest.er1
2687 ac_status=$?
2688 grep -v '^ *+' conftest.er1 >conftest.err
2689 rm -f conftest.er1
2690 cat conftest.err >&5
2691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2692 (exit $ac_status); } &&
2693 { ac_try='test -z "$ac_c_werror_flag"
2694 || test ! -s conftest.err'
2695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2696 (eval $ac_try) 2>&5
2697 ac_status=$?
2698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2699 (exit $ac_status); }; } &&
2700 { ac_try='test -s conftest.$ac_objext'
2701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2702 (eval $ac_try) 2>&5
2703 ac_status=$?
2704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2705 (exit $ac_status); }; }; then
2706 ac_cv_prog_cc_g=yes
2707 else
2708 echo "$as_me: failed program was:" >&5
2709 sed 's/^/| /' conftest.$ac_ext >&5
2711 ac_cv_prog_cc_g=no
2713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2715 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2716 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2717 if test "$ac_test_CFLAGS" = set; then
2718 CFLAGS=$ac_save_CFLAGS
2719 elif test $ac_cv_prog_cc_g = yes; then
2720 if test "$GCC" = yes; then
2721 CFLAGS="-g -O2"
2722 else
2723 CFLAGS="-g"
2725 else
2726 if test "$GCC" = yes; then
2727 CFLAGS="-O2"
2728 else
2729 CFLAGS=
2732 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2733 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2734 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2735 echo $ECHO_N "(cached) $ECHO_C" >&6
2736 else
2737 ac_cv_prog_cc_stdc=no
2738 ac_save_CC=$CC
2739 cat >conftest.$ac_ext <<_ACEOF
2740 /* confdefs.h. */
2741 _ACEOF
2742 cat confdefs.h >>conftest.$ac_ext
2743 cat >>conftest.$ac_ext <<_ACEOF
2744 /* end confdefs.h. */
2745 #include <stdarg.h>
2746 #include <stdio.h>
2747 #include <sys/types.h>
2748 #include <sys/stat.h>
2749 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2750 struct buf { int x; };
2751 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2752 static char *e (p, i)
2753 char **p;
2754 int i;
2756 return p[i];
2758 static char *f (char * (*g) (char **, int), char **p, ...)
2760 char *s;
2761 va_list v;
2762 va_start (v,p);
2763 s = g (p, va_arg (v,int));
2764 va_end (v);
2765 return s;
2768 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2769 function prototypes and stuff, but not '\xHH' hex character constants.
2770 These don't provoke an error unfortunately, instead are silently treated
2771 as 'x'. The following induces an error, until -std1 is added to get
2772 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2773 array size at least. It's necessary to write '\x00'==0 to get something
2774 that's true only with -std1. */
2775 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2777 int test (int i, double x);
2778 struct s1 {int (*f) (int a);};
2779 struct s2 {int (*f) (double a);};
2780 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2781 int argc;
2782 char **argv;
2784 main ()
2786 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2788 return 0;
2790 _ACEOF
2791 # Don't try gcc -ansi; that turns off useful extensions and
2792 # breaks some systems' header files.
2793 # AIX -qlanglvl=ansi
2794 # Ultrix and OSF/1 -std1
2795 # HP-UX 10.20 and later -Ae
2796 # HP-UX older versions -Aa -D_HPUX_SOURCE
2797 # SVR4 -Xc -D__EXTENSIONS__
2798 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2800 CC="$ac_save_CC $ac_arg"
2801 rm -f conftest.$ac_objext
2802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2803 (eval $ac_compile) 2>conftest.er1
2804 ac_status=$?
2805 grep -v '^ *+' conftest.er1 >conftest.err
2806 rm -f conftest.er1
2807 cat conftest.err >&5
2808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2809 (exit $ac_status); } &&
2810 { ac_try='test -z "$ac_c_werror_flag"
2811 || test ! -s conftest.err'
2812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2813 (eval $ac_try) 2>&5
2814 ac_status=$?
2815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2816 (exit $ac_status); }; } &&
2817 { ac_try='test -s conftest.$ac_objext'
2818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2819 (eval $ac_try) 2>&5
2820 ac_status=$?
2821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2822 (exit $ac_status); }; }; then
2823 ac_cv_prog_cc_stdc=$ac_arg
2824 break
2825 else
2826 echo "$as_me: failed program was:" >&5
2827 sed 's/^/| /' conftest.$ac_ext >&5
2830 rm -f conftest.err conftest.$ac_objext
2831 done
2832 rm -f conftest.$ac_ext conftest.$ac_objext
2833 CC=$ac_save_CC
2837 case "x$ac_cv_prog_cc_stdc" in
2838 x|xno)
2839 echo "$as_me:$LINENO: result: none needed" >&5
2840 echo "${ECHO_T}none needed" >&6 ;;
2842 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2843 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2844 CC="$CC $ac_cv_prog_cc_stdc" ;;
2845 esac
2847 # Some people use a C++ compiler to compile C. Since we use `exit',
2848 # in C++ we need to declare it. In case someone uses the same compiler
2849 # for both compiling C and C++ we need to have the C++ compiler decide
2850 # the declaration of exit, since it's the most demanding environment.
2851 cat >conftest.$ac_ext <<_ACEOF
2852 #ifndef __cplusplus
2853 choke me
2854 #endif
2855 _ACEOF
2856 rm -f conftest.$ac_objext
2857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2858 (eval $ac_compile) 2>conftest.er1
2859 ac_status=$?
2860 grep -v '^ *+' conftest.er1 >conftest.err
2861 rm -f conftest.er1
2862 cat conftest.err >&5
2863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2864 (exit $ac_status); } &&
2865 { ac_try='test -z "$ac_c_werror_flag"
2866 || test ! -s conftest.err'
2867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2868 (eval $ac_try) 2>&5
2869 ac_status=$?
2870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2871 (exit $ac_status); }; } &&
2872 { ac_try='test -s conftest.$ac_objext'
2873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2874 (eval $ac_try) 2>&5
2875 ac_status=$?
2876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2877 (exit $ac_status); }; }; then
2878 for ac_declaration in \
2879 '' \
2880 'extern "C" void std::exit (int) throw (); using std::exit;' \
2881 'extern "C" void std::exit (int); using std::exit;' \
2882 'extern "C" void exit (int) throw ();' \
2883 'extern "C" void exit (int);' \
2884 'void exit (int);'
2886 cat >conftest.$ac_ext <<_ACEOF
2887 /* confdefs.h. */
2888 _ACEOF
2889 cat confdefs.h >>conftest.$ac_ext
2890 cat >>conftest.$ac_ext <<_ACEOF
2891 /* end confdefs.h. */
2892 $ac_declaration
2893 #include <stdlib.h>
2895 main ()
2897 exit (42);
2899 return 0;
2901 _ACEOF
2902 rm -f conftest.$ac_objext
2903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2904 (eval $ac_compile) 2>conftest.er1
2905 ac_status=$?
2906 grep -v '^ *+' conftest.er1 >conftest.err
2907 rm -f conftest.er1
2908 cat conftest.err >&5
2909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2910 (exit $ac_status); } &&
2911 { ac_try='test -z "$ac_c_werror_flag"
2912 || test ! -s conftest.err'
2913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2914 (eval $ac_try) 2>&5
2915 ac_status=$?
2916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2917 (exit $ac_status); }; } &&
2918 { ac_try='test -s conftest.$ac_objext'
2919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2920 (eval $ac_try) 2>&5
2921 ac_status=$?
2922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2923 (exit $ac_status); }; }; then
2925 else
2926 echo "$as_me: failed program was:" >&5
2927 sed 's/^/| /' conftest.$ac_ext >&5
2929 continue
2931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2932 cat >conftest.$ac_ext <<_ACEOF
2933 /* confdefs.h. */
2934 _ACEOF
2935 cat confdefs.h >>conftest.$ac_ext
2936 cat >>conftest.$ac_ext <<_ACEOF
2937 /* end confdefs.h. */
2938 $ac_declaration
2940 main ()
2942 exit (42);
2944 return 0;
2946 _ACEOF
2947 rm -f conftest.$ac_objext
2948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2949 (eval $ac_compile) 2>conftest.er1
2950 ac_status=$?
2951 grep -v '^ *+' conftest.er1 >conftest.err
2952 rm -f conftest.er1
2953 cat conftest.err >&5
2954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2955 (exit $ac_status); } &&
2956 { ac_try='test -z "$ac_c_werror_flag"
2957 || test ! -s conftest.err'
2958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2959 (eval $ac_try) 2>&5
2960 ac_status=$?
2961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2962 (exit $ac_status); }; } &&
2963 { ac_try='test -s conftest.$ac_objext'
2964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2965 (eval $ac_try) 2>&5
2966 ac_status=$?
2967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2968 (exit $ac_status); }; }; then
2969 break
2970 else
2971 echo "$as_me: failed program was:" >&5
2972 sed 's/^/| /' conftest.$ac_ext >&5
2975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2976 done
2977 rm -f conftest*
2978 if test -n "$ac_declaration"; then
2979 echo '#ifdef __cplusplus' >>confdefs.h
2980 echo $ac_declaration >>confdefs.h
2981 echo '#endif' >>confdefs.h
2984 else
2985 echo "$as_me: failed program was:" >&5
2986 sed 's/^/| /' conftest.$ac_ext >&5
2989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2990 ac_ext=c
2991 ac_cpp='$CPP $CPPFLAGS'
2992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2996 ac_ext=cc
2997 ac_cpp='$CXXCPP $CPPFLAGS'
2998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3001 if test -n "$ac_tool_prefix"; then
3002 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3004 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3005 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3006 echo "$as_me:$LINENO: checking for $ac_word" >&5
3007 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3008 if test "${glibcxx_cv_prog_CXX+set}" = set; then
3009 echo $ECHO_N "(cached) $ECHO_C" >&6
3010 else
3011 if test -n "$CXX"; then
3012 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
3013 else
3014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3015 for as_dir in $PATH
3017 IFS=$as_save_IFS
3018 test -z "$as_dir" && as_dir=.
3019 for ac_exec_ext in '' $ac_executable_extensions; do
3020 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3021 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3022 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3023 break 2
3025 done
3026 done
3030 CXX=$glibcxx_cv_prog_CXX
3031 if test -n "$CXX"; then
3032 echo "$as_me:$LINENO: result: $CXX" >&5
3033 echo "${ECHO_T}$CXX" >&6
3034 else
3035 echo "$as_me:$LINENO: result: no" >&5
3036 echo "${ECHO_T}no" >&6
3039 test -n "$CXX" && break
3040 done
3042 if test -z "$CXX"; then
3043 ac_ct_CXX=$CXX
3044 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3046 # Extract the first word of "$ac_prog", so it can be a program name with args.
3047 set dummy $ac_prog; ac_word=$2
3048 echo "$as_me:$LINENO: checking for $ac_word" >&5
3049 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3050 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3051 echo $ECHO_N "(cached) $ECHO_C" >&6
3052 else
3053 if test -n "$ac_ct_CXX"; then
3054 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3055 else
3056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3057 for as_dir in $PATH
3059 IFS=$as_save_IFS
3060 test -z "$as_dir" && as_dir=.
3061 for ac_exec_ext in '' $ac_executable_extensions; do
3062 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3063 ac_cv_prog_ac_ct_CXX="$ac_prog"
3064 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3065 break 2
3067 done
3068 done
3072 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3073 if test -n "$ac_ct_CXX"; then
3074 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3075 echo "${ECHO_T}$ac_ct_CXX" >&6
3076 else
3077 echo "$as_me:$LINENO: result: no" >&5
3078 echo "${ECHO_T}no" >&6
3081 test -n "$ac_ct_CXX" && break
3082 done
3083 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3085 CXX=$ac_ct_CXX
3089 # Provide some information about the compiler.
3090 echo "$as_me:$LINENO:" \
3091 "checking for C++ compiler version" >&5
3092 ac_compiler=`set X $ac_compile; echo $2`
3093 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3094 (eval $ac_compiler --version </dev/null >&5) 2>&5
3095 ac_status=$?
3096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3097 (exit $ac_status); }
3098 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3099 (eval $ac_compiler -v </dev/null >&5) 2>&5
3100 ac_status=$?
3101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3102 (exit $ac_status); }
3103 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3104 (eval $ac_compiler -V </dev/null >&5) 2>&5
3105 ac_status=$?
3106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3107 (exit $ac_status); }
3109 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3110 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3111 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3112 echo $ECHO_N "(cached) $ECHO_C" >&6
3113 else
3114 cat >conftest.$ac_ext <<_ACEOF
3115 /* confdefs.h. */
3116 _ACEOF
3117 cat confdefs.h >>conftest.$ac_ext
3118 cat >>conftest.$ac_ext <<_ACEOF
3119 /* end confdefs.h. */
3122 main ()
3124 #ifndef __GNUC__
3125 choke me
3126 #endif
3129 return 0;
3131 _ACEOF
3132 rm -f conftest.$ac_objext
3133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3134 (eval $ac_compile) 2>conftest.er1
3135 ac_status=$?
3136 grep -v '^ *+' conftest.er1 >conftest.err
3137 rm -f conftest.er1
3138 cat conftest.err >&5
3139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3140 (exit $ac_status); } &&
3141 { ac_try='test -z "$ac_cxx_werror_flag"
3142 || test ! -s conftest.err'
3143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3144 (eval $ac_try) 2>&5
3145 ac_status=$?
3146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3147 (exit $ac_status); }; } &&
3148 { ac_try='test -s conftest.$ac_objext'
3149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3150 (eval $ac_try) 2>&5
3151 ac_status=$?
3152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3153 (exit $ac_status); }; }; then
3154 ac_compiler_gnu=yes
3155 else
3156 echo "$as_me: failed program was:" >&5
3157 sed 's/^/| /' conftest.$ac_ext >&5
3159 ac_compiler_gnu=no
3161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3162 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3165 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3166 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3167 GXX=`test $ac_compiler_gnu = yes && echo yes`
3168 ac_test_CXXFLAGS=${CXXFLAGS+set}
3169 ac_save_CXXFLAGS=$CXXFLAGS
3170 CXXFLAGS="-g"
3171 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3172 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3173 if test "${ac_cv_prog_cxx_g+set}" = set; then
3174 echo $ECHO_N "(cached) $ECHO_C" >&6
3175 else
3176 cat >conftest.$ac_ext <<_ACEOF
3177 /* confdefs.h. */
3178 _ACEOF
3179 cat confdefs.h >>conftest.$ac_ext
3180 cat >>conftest.$ac_ext <<_ACEOF
3181 /* end confdefs.h. */
3184 main ()
3188 return 0;
3190 _ACEOF
3191 rm -f conftest.$ac_objext
3192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3193 (eval $ac_compile) 2>conftest.er1
3194 ac_status=$?
3195 grep -v '^ *+' conftest.er1 >conftest.err
3196 rm -f conftest.er1
3197 cat conftest.err >&5
3198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3199 (exit $ac_status); } &&
3200 { ac_try='test -z "$ac_cxx_werror_flag"
3201 || test ! -s conftest.err'
3202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3203 (eval $ac_try) 2>&5
3204 ac_status=$?
3205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3206 (exit $ac_status); }; } &&
3207 { ac_try='test -s conftest.$ac_objext'
3208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3209 (eval $ac_try) 2>&5
3210 ac_status=$?
3211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3212 (exit $ac_status); }; }; then
3213 ac_cv_prog_cxx_g=yes
3214 else
3215 echo "$as_me: failed program was:" >&5
3216 sed 's/^/| /' conftest.$ac_ext >&5
3218 ac_cv_prog_cxx_g=no
3220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3222 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3223 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3224 if test "$ac_test_CXXFLAGS" = set; then
3225 CXXFLAGS=$ac_save_CXXFLAGS
3226 elif test $ac_cv_prog_cxx_g = yes; then
3227 if test "$GXX" = yes; then
3228 CXXFLAGS="-g -O2"
3229 else
3230 CXXFLAGS="-g"
3232 else
3233 if test "$GXX" = yes; then
3234 CXXFLAGS="-O2"
3235 else
3236 CXXFLAGS=
3239 for ac_declaration in \
3240 '' \
3241 'extern "C" void std::exit (int) throw (); using std::exit;' \
3242 'extern "C" void std::exit (int); using std::exit;' \
3243 'extern "C" void exit (int) throw ();' \
3244 'extern "C" void exit (int);' \
3245 'void exit (int);'
3247 cat >conftest.$ac_ext <<_ACEOF
3248 /* confdefs.h. */
3249 _ACEOF
3250 cat confdefs.h >>conftest.$ac_ext
3251 cat >>conftest.$ac_ext <<_ACEOF
3252 /* end confdefs.h. */
3253 $ac_declaration
3254 #include <stdlib.h>
3256 main ()
3258 exit (42);
3260 return 0;
3262 _ACEOF
3263 rm -f conftest.$ac_objext
3264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3265 (eval $ac_compile) 2>conftest.er1
3266 ac_status=$?
3267 grep -v '^ *+' conftest.er1 >conftest.err
3268 rm -f conftest.er1
3269 cat conftest.err >&5
3270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3271 (exit $ac_status); } &&
3272 { ac_try='test -z "$ac_cxx_werror_flag"
3273 || test ! -s conftest.err'
3274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3275 (eval $ac_try) 2>&5
3276 ac_status=$?
3277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3278 (exit $ac_status); }; } &&
3279 { ac_try='test -s conftest.$ac_objext'
3280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3281 (eval $ac_try) 2>&5
3282 ac_status=$?
3283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3284 (exit $ac_status); }; }; then
3286 else
3287 echo "$as_me: failed program was:" >&5
3288 sed 's/^/| /' conftest.$ac_ext >&5
3290 continue
3292 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3293 cat >conftest.$ac_ext <<_ACEOF
3294 /* confdefs.h. */
3295 _ACEOF
3296 cat confdefs.h >>conftest.$ac_ext
3297 cat >>conftest.$ac_ext <<_ACEOF
3298 /* end confdefs.h. */
3299 $ac_declaration
3301 main ()
3303 exit (42);
3305 return 0;
3307 _ACEOF
3308 rm -f conftest.$ac_objext
3309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3310 (eval $ac_compile) 2>conftest.er1
3311 ac_status=$?
3312 grep -v '^ *+' conftest.er1 >conftest.err
3313 rm -f conftest.er1
3314 cat conftest.err >&5
3315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3316 (exit $ac_status); } &&
3317 { ac_try='test -z "$ac_cxx_werror_flag"
3318 || test ! -s conftest.err'
3319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3320 (eval $ac_try) 2>&5
3321 ac_status=$?
3322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3323 (exit $ac_status); }; } &&
3324 { ac_try='test -s conftest.$ac_objext'
3325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3326 (eval $ac_try) 2>&5
3327 ac_status=$?
3328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3329 (exit $ac_status); }; }; then
3330 break
3331 else
3332 echo "$as_me: failed program was:" >&5
3333 sed 's/^/| /' conftest.$ac_ext >&5
3336 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3337 done
3338 rm -f conftest*
3339 if test -n "$ac_declaration"; then
3340 echo '#ifdef __cplusplus' >>confdefs.h
3341 echo $ac_declaration >>confdefs.h
3342 echo '#endif' >>confdefs.h
3345 ac_ext=c
3346 ac_cpp='$CPP $CPPFLAGS'
3347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3351 CXXFLAGS="$save_CXXFLAGS"
3356 # For directory versioning (e.g., headers) and other variables.
3357 echo "$as_me:$LINENO: checking for GCC version number" >&5
3358 echo $ECHO_N "checking for GCC version number... $ECHO_C" >&6
3359 gcc_version=`$CXX -dumpversion`
3360 echo "$as_me:$LINENO: result: $gcc_version" >&5
3361 echo "${ECHO_T}$gcc_version" >&6
3363 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3364 # available). Uncomment the next line to force a particular method.
3365 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3366 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3367 LN_S=$as_ln_s
3368 if test "$LN_S" = "ln -s"; then
3369 echo "$as_me:$LINENO: result: yes" >&5
3370 echo "${ECHO_T}yes" >&6
3371 else
3372 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3373 echo "${ECHO_T}no, using $LN_S" >&6
3376 #LN_S='cp -p'
3378 if test -n "$ac_tool_prefix"; then
3379 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3380 set dummy ${ac_tool_prefix}as; ac_word=$2
3381 echo "$as_me:$LINENO: checking for $ac_word" >&5
3382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3383 if test "${ac_cv_prog_AS+set}" = set; then
3384 echo $ECHO_N "(cached) $ECHO_C" >&6
3385 else
3386 if test -n "$AS"; then
3387 ac_cv_prog_AS="$AS" # Let the user override the test.
3388 else
3389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3390 for as_dir in $PATH
3392 IFS=$as_save_IFS
3393 test -z "$as_dir" && as_dir=.
3394 for ac_exec_ext in '' $ac_executable_extensions; do
3395 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3396 ac_cv_prog_AS="${ac_tool_prefix}as"
3397 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3398 break 2
3400 done
3401 done
3405 AS=$ac_cv_prog_AS
3406 if test -n "$AS"; then
3407 echo "$as_me:$LINENO: result: $AS" >&5
3408 echo "${ECHO_T}$AS" >&6
3409 else
3410 echo "$as_me:$LINENO: result: no" >&5
3411 echo "${ECHO_T}no" >&6
3415 if test -z "$ac_cv_prog_AS"; then
3416 ac_ct_AS=$AS
3417 # Extract the first word of "as", so it can be a program name with args.
3418 set dummy as; ac_word=$2
3419 echo "$as_me:$LINENO: checking for $ac_word" >&5
3420 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3421 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3422 echo $ECHO_N "(cached) $ECHO_C" >&6
3423 else
3424 if test -n "$ac_ct_AS"; then
3425 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3426 else
3427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3428 for as_dir in $PATH
3430 IFS=$as_save_IFS
3431 test -z "$as_dir" && as_dir=.
3432 for ac_exec_ext in '' $ac_executable_extensions; do
3433 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3434 ac_cv_prog_ac_ct_AS="as"
3435 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3436 break 2
3438 done
3439 done
3443 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3444 if test -n "$ac_ct_AS"; then
3445 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3446 echo "${ECHO_T}$ac_ct_AS" >&6
3447 else
3448 echo "$as_me:$LINENO: result: no" >&5
3449 echo "${ECHO_T}no" >&6
3452 AS=$ac_ct_AS
3453 else
3454 AS="$ac_cv_prog_AS"
3457 if test -n "$ac_tool_prefix"; then
3458 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3459 set dummy ${ac_tool_prefix}ar; ac_word=$2
3460 echo "$as_me:$LINENO: checking for $ac_word" >&5
3461 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3462 if test "${ac_cv_prog_AR+set}" = set; then
3463 echo $ECHO_N "(cached) $ECHO_C" >&6
3464 else
3465 if test -n "$AR"; then
3466 ac_cv_prog_AR="$AR" # Let the user override the test.
3467 else
3468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3469 for as_dir in $PATH
3471 IFS=$as_save_IFS
3472 test -z "$as_dir" && as_dir=.
3473 for ac_exec_ext in '' $ac_executable_extensions; do
3474 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3475 ac_cv_prog_AR="${ac_tool_prefix}ar"
3476 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3477 break 2
3479 done
3480 done
3484 AR=$ac_cv_prog_AR
3485 if test -n "$AR"; then
3486 echo "$as_me:$LINENO: result: $AR" >&5
3487 echo "${ECHO_T}$AR" >&6
3488 else
3489 echo "$as_me:$LINENO: result: no" >&5
3490 echo "${ECHO_T}no" >&6
3494 if test -z "$ac_cv_prog_AR"; then
3495 ac_ct_AR=$AR
3496 # Extract the first word of "ar", so it can be a program name with args.
3497 set dummy ar; ac_word=$2
3498 echo "$as_me:$LINENO: checking for $ac_word" >&5
3499 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3500 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3501 echo $ECHO_N "(cached) $ECHO_C" >&6
3502 else
3503 if test -n "$ac_ct_AR"; then
3504 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3505 else
3506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3507 for as_dir in $PATH
3509 IFS=$as_save_IFS
3510 test -z "$as_dir" && as_dir=.
3511 for ac_exec_ext in '' $ac_executable_extensions; do
3512 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3513 ac_cv_prog_ac_ct_AR="ar"
3514 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3515 break 2
3517 done
3518 done
3522 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3523 if test -n "$ac_ct_AR"; then
3524 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3525 echo "${ECHO_T}$ac_ct_AR" >&6
3526 else
3527 echo "$as_me:$LINENO: result: no" >&5
3528 echo "${ECHO_T}no" >&6
3531 AR=$ac_ct_AR
3532 else
3533 AR="$ac_cv_prog_AR"
3536 if test -n "$ac_tool_prefix"; then
3537 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3538 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3539 echo "$as_me:$LINENO: checking for $ac_word" >&5
3540 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3541 if test "${ac_cv_prog_RANLIB+set}" = set; then
3542 echo $ECHO_N "(cached) $ECHO_C" >&6
3543 else
3544 if test -n "$RANLIB"; then
3545 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3546 else
3547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3548 for as_dir in $PATH
3550 IFS=$as_save_IFS
3551 test -z "$as_dir" && as_dir=.
3552 for ac_exec_ext in '' $ac_executable_extensions; do
3553 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3554 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3555 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3556 break 2
3558 done
3559 done
3563 RANLIB=$ac_cv_prog_RANLIB
3564 if test -n "$RANLIB"; then
3565 echo "$as_me:$LINENO: result: $RANLIB" >&5
3566 echo "${ECHO_T}$RANLIB" >&6
3567 else
3568 echo "$as_me:$LINENO: result: no" >&5
3569 echo "${ECHO_T}no" >&6
3573 if test -z "$ac_cv_prog_RANLIB"; then
3574 ac_ct_RANLIB=$RANLIB
3575 # Extract the first word of "ranlib", so it can be a program name with args.
3576 set dummy ranlib; ac_word=$2
3577 echo "$as_me:$LINENO: checking for $ac_word" >&5
3578 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3579 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3580 echo $ECHO_N "(cached) $ECHO_C" >&6
3581 else
3582 if test -n "$ac_ct_RANLIB"; then
3583 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3584 else
3585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3586 for as_dir in $PATH
3588 IFS=$as_save_IFS
3589 test -z "$as_dir" && as_dir=.
3590 for ac_exec_ext in '' $ac_executable_extensions; do
3591 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3592 ac_cv_prog_ac_ct_RANLIB="ranlib"
3593 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3594 break 2
3596 done
3597 done
3599 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3602 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3603 if test -n "$ac_ct_RANLIB"; then
3604 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3605 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3606 else
3607 echo "$as_me:$LINENO: result: no" >&5
3608 echo "${ECHO_T}no" >&6
3611 RANLIB=$ac_ct_RANLIB
3612 else
3613 RANLIB="$ac_cv_prog_RANLIB"
3617 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3618 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3619 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3620 if test "${enable_maintainer_mode+set}" = set; then
3621 enableval="$enable_maintainer_mode"
3622 USE_MAINTAINER_MODE=$enableval
3623 else
3624 USE_MAINTAINER_MODE=no
3626 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3627 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3630 if test $USE_MAINTAINER_MODE = yes; then
3631 MAINTAINER_MODE_TRUE=
3632 MAINTAINER_MODE_FALSE='#'
3633 else
3634 MAINTAINER_MODE_TRUE='#'
3635 MAINTAINER_MODE_FALSE=
3638 MAINT=$MAINTAINER_MODE_TRUE
3642 # Set up safe default values for all subsequent AM_CONDITIONAL tests
3643 # which are themselves conditionally expanded.
3644 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
3645 ## other macros from doing the same. This should be automated.) -pme
3646 need_libmath=no
3647 enable_wchar_t=no
3648 #enable_libstdcxx_debug=no
3649 #enable_libstdcxx_pch=no
3650 #enable_cheaders=c
3651 #c_compatibility=no
3652 #enable_abi_check=no
3653 #enable_symvers=no
3654 #enable_hosted_libstdcxx=yes
3656 # Find platform-specific directories containing configuration info.
3657 # Also possibly modify flags used elsewhere, as needed by the platform.
3659 . $glibcxx_srcdir/configure.host
3660 { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
3661 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
3662 { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
3663 echo "$as_me: OS config directory is $os_include_dir" >&6;}
3667 #AC_MSG_NOTICE([====== Starting libtool configuration])
3669 # Check whether --enable-shared or --disable-shared was given.
3670 if test "${enable_shared+set}" = set; then
3671 enableval="$enable_shared"
3672 p=${PACKAGE-default}
3673 case $enableval in
3674 yes) enable_shared=yes ;;
3675 no) enable_shared=no ;;
3677 enable_shared=no
3678 # Look at the argument we got. We use all the common list separators.
3679 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3680 for pkg in $enableval; do
3681 if test "X$pkg" = "X$p"; then
3682 enable_shared=yes
3684 done
3685 IFS="$ac_save_ifs"
3687 esac
3688 else
3689 enable_shared=yes
3691 # Check whether --enable-static or --disable-static was given.
3692 if test "${enable_static+set}" = set; then
3693 enableval="$enable_static"
3694 p=${PACKAGE-default}
3695 case $enableval in
3696 yes) enable_static=yes ;;
3697 no) enable_static=no ;;
3699 enable_static=no
3700 # Look at the argument we got. We use all the common list separators.
3701 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3702 for pkg in $enableval; do
3703 if test "X$pkg" = "X$p"; then
3704 enable_static=yes
3706 done
3707 IFS="$ac_save_ifs"
3709 esac
3710 else
3711 enable_static=yes
3713 # Check whether --enable-fast-install or --disable-fast-install was given.
3714 if test "${enable_fast_install+set}" = set; then
3715 enableval="$enable_fast_install"
3716 p=${PACKAGE-default}
3717 case $enableval in
3718 yes) enable_fast_install=yes ;;
3719 no) enable_fast_install=no ;;
3721 enable_fast_install=no
3722 # Look at the argument we got. We use all the common list separators.
3723 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3724 for pkg in $enableval; do
3725 if test "X$pkg" = "X$p"; then
3726 enable_fast_install=yes
3728 done
3729 IFS="$ac_save_ifs"
3731 esac
3732 else
3733 enable_fast_install=yes
3736 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3737 if test "${with_gnu_ld+set}" = set; then
3738 withval="$with_gnu_ld"
3739 test "$withval" = no || with_gnu_ld=yes
3740 else
3741 with_gnu_ld=no
3743 ac_prog=ld
3744 if test "$GCC" = yes; then
3745 # Check if gcc -print-prog-name=ld gives a path.
3746 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3747 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3748 case $host in
3749 *-*-mingw*)
3750 # gcc leaves a trailing carriage return which upsets mingw
3751 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3753 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3754 esac
3755 case $ac_prog in
3756 # Accept absolute paths.
3757 [\\/]* | [A-Za-z]:[\\/]*)
3758 re_direlt='/[^/][^/]*/\.\./'
3759 # Canonicalize the path of ld
3760 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3761 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3762 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3763 done
3764 test -z "$LD" && LD="$ac_prog"
3767 # If it fails, then pretend we aren't using GCC.
3768 ac_prog=ld
3771 # If it is relative, then search for the first ld in PATH.
3772 with_gnu_ld=unknown
3774 esac
3775 elif test "$with_gnu_ld" = yes; then
3776 echo "$as_me:$LINENO: checking for GNU ld" >&5
3777 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3778 else
3779 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3780 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3782 if test "${lt_cv_path_LD+set}" = set; then
3783 echo $ECHO_N "(cached) $ECHO_C" >&6
3784 else
3785 if test -z "$LD"; then
3786 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3787 for ac_dir in $PATH; do
3788 test -z "$ac_dir" && ac_dir=.
3789 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3790 lt_cv_path_LD="$ac_dir/$ac_prog"
3791 # Check to see if the program is GNU ld. I'd rather use --version,
3792 # but apparently some GNU ld's only accept -v.
3793 # Break only if it was the GNU/non-GNU ld that we prefer.
3794 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3795 test "$with_gnu_ld" != no && break
3796 else
3797 test "$with_gnu_ld" != yes && break
3800 done
3801 IFS="$ac_save_ifs"
3802 else
3803 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3807 LD="$lt_cv_path_LD"
3808 if test -n "$LD"; then
3809 echo "$as_me:$LINENO: result: $LD" >&5
3810 echo "${ECHO_T}$LD" >&6
3811 else
3812 echo "$as_me:$LINENO: result: no" >&5
3813 echo "${ECHO_T}no" >&6
3815 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3816 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3817 { (exit 1); exit 1; }; }
3818 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3819 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3820 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3821 echo $ECHO_N "(cached) $ECHO_C" >&6
3822 else
3823 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3824 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3825 lt_cv_prog_gnu_ld=yes
3826 else
3827 lt_cv_prog_gnu_ld=no
3830 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3831 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3832 with_gnu_ld=$lt_cv_prog_gnu_ld
3835 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3836 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3837 if test "${lt_cv_ld_reload_flag+set}" = set; then
3838 echo $ECHO_N "(cached) $ECHO_C" >&6
3839 else
3840 lt_cv_ld_reload_flag='-r'
3842 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3843 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3844 reload_flag=$lt_cv_ld_reload_flag
3845 test -n "$reload_flag" && reload_flag=" $reload_flag"
3847 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3848 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3849 if test "${lt_cv_path_NM+set}" = set; then
3850 echo $ECHO_N "(cached) $ECHO_C" >&6
3851 else
3852 if test -n "$NM"; then
3853 # Let the user override the test.
3854 lt_cv_path_NM="$NM"
3855 else
3856 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3857 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3858 test -z "$ac_dir" && ac_dir=.
3859 tmp_nm=$ac_dir/${ac_tool_prefix}nm
3860 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3861 # Check to see if the nm accepts a BSD-compat flag.
3862 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3863 # nm: unknown option "B" ignored
3864 # Tru64's nm complains that /dev/null is an invalid object file
3865 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3866 lt_cv_path_NM="$tmp_nm -B"
3867 break
3868 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3869 lt_cv_path_NM="$tmp_nm -p"
3870 break
3871 else
3872 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3873 continue # so that we can try to find one that supports BSD flags
3876 done
3877 IFS="$ac_save_ifs"
3878 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3882 NM="$lt_cv_path_NM"
3883 echo "$as_me:$LINENO: result: $NM" >&5
3884 echo "${ECHO_T}$NM" >&6
3886 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3887 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3888 if test "${lt_cv_deplibs_check_method+set}" = set; then
3889 echo $ECHO_N "(cached) $ECHO_C" >&6
3890 else
3891 lt_cv_file_magic_cmd='$MAGIC_CMD'
3892 lt_cv_file_magic_test_file=
3893 lt_cv_deplibs_check_method='unknown'
3894 # Need to set the preceding variable on all platforms that support
3895 # interlibrary dependencies.
3896 # 'none' -- dependencies not supported.
3897 # `unknown' -- same as none, but documents that we really don't know.
3898 # 'pass_all' -- all dependencies passed with no checks.
3899 # 'test_compile' -- check by making test program.
3900 # 'file_magic [regex]' -- check by looking for files in library path
3901 # which responds to the $file_magic_cmd with a given egrep regex.
3902 # If you have `file' or equivalent on your system and you're not sure
3903 # whether `pass_all' will *always* work, you probably want this one.
3905 case $host_os in
3906 aix*)
3907 lt_cv_deplibs_check_method=pass_all
3910 beos*)
3911 lt_cv_deplibs_check_method=pass_all
3914 bsdi4*)
3915 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3916 lt_cv_file_magic_cmd='/usr/bin/file -L'
3917 lt_cv_file_magic_test_file=/shlib/libc.so
3920 cygwin* | mingw* |pw32*)
3921 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3922 lt_cv_file_magic_cmd='$OBJDUMP -f'
3925 darwin* | rhapsody*)
3926 # this will be overwritten by pass_all, but leave it in just in case
3927 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3928 lt_cv_file_magic_cmd='/usr/bin/file -L'
3929 case "$host_os" in
3930 rhapsody* | darwin1.012)
3931 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3933 *) # Darwin 1.3 on
3934 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3936 esac
3937 lt_cv_deplibs_check_method=pass_all
3940 freebsd* | kfreebsd*-gnu)
3941 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3942 case $host_cpu in
3943 i*86 )
3944 # Not sure whether the presence of OpenBSD here was a mistake.
3945 # Let's accept both of them until this is cleared up.
3946 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3947 lt_cv_file_magic_cmd=/usr/bin/file
3948 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3950 esac
3951 else
3952 lt_cv_deplibs_check_method=pass_all
3956 gnu*)
3957 lt_cv_deplibs_check_method=pass_all
3960 hpux10.20*|hpux11*)
3961 case $host_cpu in
3962 hppa*)
3963 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3964 lt_cv_file_magic_cmd=/usr/bin/file
3965 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3967 ia64*)
3968 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3969 lt_cv_file_magic_cmd=/usr/bin/file
3970 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3972 esac
3975 irix5* | irix6*)
3976 case $host_os in
3977 irix5*)
3978 # this will be overridden with pass_all, but let us keep it just in case
3979 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3982 case $LD in
3983 *-32|*"-32 ") libmagic=32-bit;;
3984 *-n32|*"-n32 ") libmagic=N32;;
3985 *-64|*"-64 ") libmagic=64-bit;;
3986 *) libmagic=never-match;;
3987 esac
3988 # this will be overridden with pass_all, but let us keep it just in case
3989 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3991 esac
3992 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3993 lt_cv_deplibs_check_method=pass_all
3996 # This must be Linux ELF.
3997 linux-gnu*)
3998 case $host_cpu in
3999 alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* | sh* )
4000 lt_cv_deplibs_check_method=pass_all ;;
4002 # glibc up to 2.1.1 does not perform some relocations on ARM
4003 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
4004 esac
4005 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
4008 netbsd* | knetbsd*-gnu)
4009 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4010 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
4011 else
4012 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
4016 newsos6)
4017 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4018 lt_cv_file_magic_cmd=/usr/bin/file
4019 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4022 osf3* | osf4* | osf5*)
4023 # this will be overridden with pass_all, but let us keep it just in case
4024 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4025 lt_cv_file_magic_test_file=/shlib/libc.so
4026 lt_cv_deplibs_check_method=pass_all
4029 sco3.2v5*)
4030 lt_cv_deplibs_check_method=pass_all
4033 solaris*)
4034 lt_cv_deplibs_check_method=pass_all
4035 lt_cv_file_magic_test_file=/lib/libc.so
4038 sysv5uw[78]* | sysv4*uw2*)
4039 lt_cv_deplibs_check_method=pass_all
4042 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4043 case $host_vendor in
4044 ncr)
4045 lt_cv_deplibs_check_method=pass_all
4047 motorola)
4048 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
4049 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4051 esac
4053 esac
4056 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4057 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4058 file_magic_cmd=$lt_cv_file_magic_cmd
4059 deplibs_check_method=$lt_cv_deplibs_check_method
4065 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4067 # Only perform the check for file, if the check method requires it
4068 case $deplibs_check_method in
4069 file_magic*)
4070 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4071 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4072 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4073 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4074 echo $ECHO_N "(cached) $ECHO_C" >&6
4075 else
4076 case $MAGIC_CMD in
4078 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4080 ?:/*)
4081 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4084 ac_save_MAGIC_CMD="$MAGIC_CMD"
4085 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4086 ac_dummy="/usr/bin:$PATH"
4087 for ac_dir in $ac_dummy; do
4088 test -z "$ac_dir" && ac_dir=.
4089 if test -f $ac_dir/${ac_tool_prefix}file; then
4090 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4091 if test -n "$file_magic_test_file"; then
4092 case $deplibs_check_method in
4093 "file_magic "*)
4094 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4095 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4096 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4097 egrep "$file_magic_regex" > /dev/null; then
4099 else
4100 cat <<EOF 1>&2
4102 *** Warning: the command libtool uses to detect shared libraries,
4103 *** $file_magic_cmd, produces output that libtool cannot recognize.
4104 *** The result is that libtool may fail to recognize shared libraries
4105 *** as such. This will affect the creation of libtool libraries that
4106 *** depend on shared libraries, but programs linked with such libtool
4107 *** libraries will work regardless of this problem. Nevertheless, you
4108 *** may want to report the problem to your system manager and/or to
4109 *** bug-libtool@gnu.org
4112 fi ;;
4113 esac
4115 break
4117 done
4118 IFS="$ac_save_ifs"
4119 MAGIC_CMD="$ac_save_MAGIC_CMD"
4121 esac
4124 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4125 if test -n "$MAGIC_CMD"; then
4126 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4127 echo "${ECHO_T}$MAGIC_CMD" >&6
4128 else
4129 echo "$as_me:$LINENO: result: no" >&5
4130 echo "${ECHO_T}no" >&6
4133 if test -z "$lt_cv_path_MAGIC_CMD"; then
4134 if test -n "$ac_tool_prefix"; then
4135 echo "$as_me:$LINENO: checking for file" >&5
4136 echo $ECHO_N "checking for file... $ECHO_C" >&6
4137 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4138 echo $ECHO_N "(cached) $ECHO_C" >&6
4139 else
4140 case $MAGIC_CMD in
4142 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4144 ?:/*)
4145 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4148 ac_save_MAGIC_CMD="$MAGIC_CMD"
4149 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4150 ac_dummy="/usr/bin:$PATH"
4151 for ac_dir in $ac_dummy; do
4152 test -z "$ac_dir" && ac_dir=.
4153 if test -f $ac_dir/file; then
4154 lt_cv_path_MAGIC_CMD="$ac_dir/file"
4155 if test -n "$file_magic_test_file"; then
4156 case $deplibs_check_method in
4157 "file_magic "*)
4158 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4159 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4160 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4161 egrep "$file_magic_regex" > /dev/null; then
4163 else
4164 cat <<EOF 1>&2
4166 *** Warning: the command libtool uses to detect shared libraries,
4167 *** $file_magic_cmd, produces output that libtool cannot recognize.
4168 *** The result is that libtool may fail to recognize shared libraries
4169 *** as such. This will affect the creation of libtool libraries that
4170 *** depend on shared libraries, but programs linked with such libtool
4171 *** libraries will work regardless of this problem. Nevertheless, you
4172 *** may want to report the problem to your system manager and/or to
4173 *** bug-libtool@gnu.org
4176 fi ;;
4177 esac
4179 break
4181 done
4182 IFS="$ac_save_ifs"
4183 MAGIC_CMD="$ac_save_MAGIC_CMD"
4185 esac
4188 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4189 if test -n "$MAGIC_CMD"; then
4190 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4191 echo "${ECHO_T}$MAGIC_CMD" >&6
4192 else
4193 echo "$as_me:$LINENO: result: no" >&5
4194 echo "${ECHO_T}no" >&6
4197 else
4198 MAGIC_CMD=:
4204 esac
4206 if test -n "$ac_tool_prefix"; then
4207 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4208 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4209 echo "$as_me:$LINENO: checking for $ac_word" >&5
4210 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4211 if test "${ac_cv_prog_RANLIB+set}" = set; then
4212 echo $ECHO_N "(cached) $ECHO_C" >&6
4213 else
4214 if test -n "$RANLIB"; then
4215 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4216 else
4217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4218 for as_dir in $PATH
4220 IFS=$as_save_IFS
4221 test -z "$as_dir" && as_dir=.
4222 for ac_exec_ext in '' $ac_executable_extensions; do
4223 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4224 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4225 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4226 break 2
4228 done
4229 done
4233 RANLIB=$ac_cv_prog_RANLIB
4234 if test -n "$RANLIB"; then
4235 echo "$as_me:$LINENO: result: $RANLIB" >&5
4236 echo "${ECHO_T}$RANLIB" >&6
4237 else
4238 echo "$as_me:$LINENO: result: no" >&5
4239 echo "${ECHO_T}no" >&6
4243 if test -z "$ac_cv_prog_RANLIB"; then
4244 ac_ct_RANLIB=$RANLIB
4245 # Extract the first word of "ranlib", so it can be a program name with args.
4246 set dummy ranlib; ac_word=$2
4247 echo "$as_me:$LINENO: checking for $ac_word" >&5
4248 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4249 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4250 echo $ECHO_N "(cached) $ECHO_C" >&6
4251 else
4252 if test -n "$ac_ct_RANLIB"; then
4253 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4254 else
4255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4256 for as_dir in $PATH
4258 IFS=$as_save_IFS
4259 test -z "$as_dir" && as_dir=.
4260 for ac_exec_ext in '' $ac_executable_extensions; do
4261 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4262 ac_cv_prog_ac_ct_RANLIB="ranlib"
4263 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4264 break 2
4266 done
4267 done
4269 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4272 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4273 if test -n "$ac_ct_RANLIB"; then
4274 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4275 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4276 else
4277 echo "$as_me:$LINENO: result: no" >&5
4278 echo "${ECHO_T}no" >&6
4281 RANLIB=$ac_ct_RANLIB
4282 else
4283 RANLIB="$ac_cv_prog_RANLIB"
4286 if test -n "$ac_tool_prefix"; then
4287 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4288 set dummy ${ac_tool_prefix}strip; ac_word=$2
4289 echo "$as_me:$LINENO: checking for $ac_word" >&5
4290 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4291 if test "${ac_cv_prog_STRIP+set}" = set; then
4292 echo $ECHO_N "(cached) $ECHO_C" >&6
4293 else
4294 if test -n "$STRIP"; then
4295 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4296 else
4297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4298 for as_dir in $PATH
4300 IFS=$as_save_IFS
4301 test -z "$as_dir" && as_dir=.
4302 for ac_exec_ext in '' $ac_executable_extensions; do
4303 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4304 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4305 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4306 break 2
4308 done
4309 done
4313 STRIP=$ac_cv_prog_STRIP
4314 if test -n "$STRIP"; then
4315 echo "$as_me:$LINENO: result: $STRIP" >&5
4316 echo "${ECHO_T}$STRIP" >&6
4317 else
4318 echo "$as_me:$LINENO: result: no" >&5
4319 echo "${ECHO_T}no" >&6
4323 if test -z "$ac_cv_prog_STRIP"; then
4324 ac_ct_STRIP=$STRIP
4325 # Extract the first word of "strip", so it can be a program name with args.
4326 set dummy strip; ac_word=$2
4327 echo "$as_me:$LINENO: checking for $ac_word" >&5
4328 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4329 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4330 echo $ECHO_N "(cached) $ECHO_C" >&6
4331 else
4332 if test -n "$ac_ct_STRIP"; then
4333 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4334 else
4335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4336 for as_dir in $PATH
4338 IFS=$as_save_IFS
4339 test -z "$as_dir" && as_dir=.
4340 for ac_exec_ext in '' $ac_executable_extensions; do
4341 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4342 ac_cv_prog_ac_ct_STRIP="strip"
4343 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4344 break 2
4346 done
4347 done
4349 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4352 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4353 if test -n "$ac_ct_STRIP"; then
4354 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4355 echo "${ECHO_T}$ac_ct_STRIP" >&6
4356 else
4357 echo "$as_me:$LINENO: result: no" >&5
4358 echo "${ECHO_T}no" >&6
4361 STRIP=$ac_ct_STRIP
4362 else
4363 STRIP="$ac_cv_prog_STRIP"
4367 # Check for any special flags to pass to ltconfig.
4368 libtool_flags="--cache-file=$cache_file"
4369 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4370 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4371 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4372 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4373 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4376 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4377 if test "${enable_libtool_lock+set}" = set; then
4378 enableval="$enable_libtool_lock"
4381 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4382 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4385 # Check whether --with-pic or --without-pic was given.
4386 if test "${with_pic+set}" = set; then
4387 withval="$with_pic"
4388 pic_mode="$withval"
4389 else
4390 pic_mode=default
4392 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4393 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4395 # Some flags need to be propagated to the compiler or linker for good
4396 # libtool support.
4397 case $host in
4398 *-*-irix6*)
4399 # Find out which ABI we are using.
4400 echo '#line 4400 "configure"' > conftest.$ac_ext
4401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4402 (eval $ac_compile) 2>&5
4403 ac_status=$?
4404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4405 (exit $ac_status); }; then
4406 if test "$lt_cv_prog_gnu_ld" = yes; then
4407 case `/usr/bin/file conftest.$ac_objext` in
4408 *32-bit*)
4409 LD="${LD-ld} -melf32bsmip"
4411 *N32*)
4412 LD="${LD-ld} -melf32bmipn32"
4414 *64-bit*)
4415 LD="${LD-ld} -melf64bmip"
4417 esac
4418 else
4419 case `/usr/bin/file conftest.$ac_objext` in
4420 *32-bit*)
4421 LD="${LD-ld} -32"
4423 *N32*)
4424 LD="${LD-ld} -n32"
4426 *64-bit*)
4427 LD="${LD-ld} -64"
4429 esac
4432 rm -rf conftest*
4435 ia64-*-hpux*)
4436 # Find out which ABI we are using.
4437 echo 'int i;' > conftest.$ac_ext
4438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4439 (eval $ac_compile) 2>&5
4440 ac_status=$?
4441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4442 (exit $ac_status); }; then
4443 case "`/usr/bin/file conftest.o`" in
4444 *ELF-32*)
4445 HPUX_IA64_MODE="32"
4447 *ELF-64*)
4448 HPUX_IA64_MODE="64"
4450 esac
4452 rm -rf conftest*
4455 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4456 # Find out which ABI we are using.
4457 echo 'int i;' > conftest.$ac_ext
4458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4459 (eval $ac_compile) 2>&5
4460 ac_status=$?
4461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4462 (exit $ac_status); }; then
4463 case "`/usr/bin/file conftest.o`" in
4464 *32-bit*)
4465 case $host in
4466 x86_64-*linux*)
4467 LD="${LD-ld} -m elf_i386"
4469 ppc64-*linux*|powerpc64-*linux*)
4470 LD="${LD-ld} -m elf32ppclinux"
4472 s390x-*linux*)
4473 LD="${LD-ld} -m elf_s390"
4475 sparc64-*linux*)
4476 LD="${LD-ld} -m elf32_sparc"
4478 esac
4480 *64-bit*)
4481 case $host in
4482 x86_64-*linux*)
4483 LD="${LD-ld} -m elf_x86_64"
4485 ppc*-*linux*|powerpc*-*linux*)
4486 LD="${LD-ld} -m elf64ppc"
4488 s390*-*linux*)
4489 LD="${LD-ld} -m elf64_s390"
4491 sparc*-*linux*)
4492 LD="${LD-ld} -m elf64_sparc"
4494 esac
4496 esac
4498 rm -rf conftest*
4501 *-*-sco3.2v5*)
4502 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4503 SAVE_CFLAGS="$CFLAGS"
4504 CFLAGS="$CFLAGS -belf"
4505 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4506 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4507 if test "${lt_cv_cc_needs_belf+set}" = set; then
4508 echo $ECHO_N "(cached) $ECHO_C" >&6
4509 else
4512 ac_ext=c
4513 ac_cpp='$CPP $CPPFLAGS'
4514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4518 if test x$gcc_no_link = xyes; then
4519 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4520 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4521 { (exit 1); exit 1; }; }
4523 cat >conftest.$ac_ext <<_ACEOF
4524 /* confdefs.h. */
4525 _ACEOF
4526 cat confdefs.h >>conftest.$ac_ext
4527 cat >>conftest.$ac_ext <<_ACEOF
4528 /* end confdefs.h. */
4531 main ()
4535 return 0;
4537 _ACEOF
4538 rm -f conftest.$ac_objext conftest$ac_exeext
4539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4540 (eval $ac_link) 2>conftest.er1
4541 ac_status=$?
4542 grep -v '^ *+' conftest.er1 >conftest.err
4543 rm -f conftest.er1
4544 cat conftest.err >&5
4545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4546 (exit $ac_status); } &&
4547 { ac_try='test -z "$ac_c_werror_flag"
4548 || test ! -s conftest.err'
4549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4550 (eval $ac_try) 2>&5
4551 ac_status=$?
4552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4553 (exit $ac_status); }; } &&
4554 { ac_try='test -s conftest$ac_exeext'
4555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4556 (eval $ac_try) 2>&5
4557 ac_status=$?
4558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4559 (exit $ac_status); }; }; then
4560 lt_cv_cc_needs_belf=yes
4561 else
4562 echo "$as_me: failed program was:" >&5
4563 sed 's/^/| /' conftest.$ac_ext >&5
4565 lt_cv_cc_needs_belf=no
4567 rm -f conftest.err conftest.$ac_objext \
4568 conftest$ac_exeext conftest.$ac_ext
4569 ac_ext=c
4570 ac_cpp='$CPP $CPPFLAGS'
4571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4576 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4577 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4578 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4579 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4580 CFLAGS="$SAVE_CFLAGS"
4585 esac
4588 # Save cache, so that ltconfig can load it
4589 cat >confcache <<\_ACEOF
4590 # This file is a shell script that caches the results of configure
4591 # tests run on this system so they can be shared between configure
4592 # scripts and configure runs, see configure's option --config-cache.
4593 # It is not useful on other systems. If it contains results you don't
4594 # want to keep, you may remove or edit it.
4596 # config.status only pays attention to the cache file if you give it
4597 # the --recheck option to rerun configure.
4599 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4600 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4601 # following values.
4603 _ACEOF
4605 # The following way of writing the cache mishandles newlines in values,
4606 # but we know of no workaround that is simple, portable, and efficient.
4607 # So, don't put newlines in cache variables' values.
4608 # Ultrix sh set writes to stderr and can't be redirected directly,
4609 # and sets the high bit in the cache file unless we assign to the vars.
4611 (set) 2>&1 |
4612 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4613 *ac_space=\ *)
4614 # `set' does not quote correctly, so add quotes (double-quote
4615 # substitution turns \\\\ into \\, and sed turns \\ into \).
4616 sed -n \
4617 "s/'/'\\\\''/g;
4618 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4621 # `set' quotes correctly as required by POSIX, so do not add quotes.
4622 sed -n \
4623 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4625 esac;
4627 sed '
4628 t clear
4629 : clear
4630 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4631 t end
4632 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4633 : end' >>confcache
4634 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4635 if test -w $cache_file; then
4636 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4637 cat confcache >$cache_file
4638 else
4639 echo "not updating unwritable cache $cache_file"
4642 rm -f confcache
4644 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4645 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4646 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4647 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4648 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4649 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4650 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4651 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4652 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4653 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4654 echo "$as_me: error: libtool configure failed" >&2;}
4655 { (exit 1); exit 1; }; }
4657 # Reload cache, that may have been modified by ltconfig
4658 if test -r "$cache_file"; then
4659 # Some versions of bash will fail to source /dev/null (special
4660 # files actually), so we avoid doing that.
4661 if test -f "$cache_file"; then
4662 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4663 echo "$as_me: loading cache $cache_file" >&6;}
4664 case $cache_file in
4665 [\\/]* | ?:[\\/]* ) . $cache_file;;
4666 *) . ./$cache_file;;
4667 esac
4669 else
4670 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4671 echo "$as_me: creating cache $cache_file" >&6;}
4672 >$cache_file
4676 # This can be used to rebuild libtool when needed
4677 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4679 # Always use our own libtool.
4680 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4682 # Redirect the config.log output again, so that the ltconfig log is not
4683 # clobbered by the next message.
4684 exec 5>>./config.log
4686 ac_ext=cc
4687 ac_cpp='$CXXCPP $CPPFLAGS'
4688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4691 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4692 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4693 if test -z "$CXXCPP"; then
4694 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4695 echo $ECHO_N "(cached) $ECHO_C" >&6
4696 else
4697 # Double quotes because CXXCPP needs to be expanded
4698 for CXXCPP in "$CXX -E" "/lib/cpp"
4700 ac_preproc_ok=false
4701 for ac_cxx_preproc_warn_flag in '' yes
4703 # Use a header file that comes with gcc, so configuring glibc
4704 # with a fresh cross-compiler works.
4705 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4706 # <limits.h> exists even on freestanding compilers.
4707 # On the NeXT, cc -E runs the code through the compiler's parser,
4708 # not just through cpp. "Syntax error" is here to catch this case.
4709 cat >conftest.$ac_ext <<_ACEOF
4710 /* confdefs.h. */
4711 _ACEOF
4712 cat confdefs.h >>conftest.$ac_ext
4713 cat >>conftest.$ac_ext <<_ACEOF
4714 /* end confdefs.h. */
4715 #ifdef __STDC__
4716 # include <limits.h>
4717 #else
4718 # include <assert.h>
4719 #endif
4720 Syntax error
4721 _ACEOF
4722 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4723 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4724 ac_status=$?
4725 grep -v '^ *+' conftest.er1 >conftest.err
4726 rm -f conftest.er1
4727 cat conftest.err >&5
4728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4729 (exit $ac_status); } >/dev/null; then
4730 if test -s conftest.err; then
4731 ac_cpp_err=$ac_cxx_preproc_warn_flag
4732 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4733 else
4734 ac_cpp_err=
4736 else
4737 ac_cpp_err=yes
4739 if test -z "$ac_cpp_err"; then
4741 else
4742 echo "$as_me: failed program was:" >&5
4743 sed 's/^/| /' conftest.$ac_ext >&5
4745 # Broken: fails on valid input.
4746 continue
4748 rm -f conftest.err conftest.$ac_ext
4750 # OK, works on sane cases. Now check whether non-existent headers
4751 # can be detected and how.
4752 cat >conftest.$ac_ext <<_ACEOF
4753 /* confdefs.h. */
4754 _ACEOF
4755 cat confdefs.h >>conftest.$ac_ext
4756 cat >>conftest.$ac_ext <<_ACEOF
4757 /* end confdefs.h. */
4758 #include <ac_nonexistent.h>
4759 _ACEOF
4760 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4761 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4762 ac_status=$?
4763 grep -v '^ *+' conftest.er1 >conftest.err
4764 rm -f conftest.er1
4765 cat conftest.err >&5
4766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4767 (exit $ac_status); } >/dev/null; then
4768 if test -s conftest.err; then
4769 ac_cpp_err=$ac_cxx_preproc_warn_flag
4770 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4771 else
4772 ac_cpp_err=
4774 else
4775 ac_cpp_err=yes
4777 if test -z "$ac_cpp_err"; then
4778 # Broken: success on invalid input.
4779 continue
4780 else
4781 echo "$as_me: failed program was:" >&5
4782 sed 's/^/| /' conftest.$ac_ext >&5
4784 # Passes both tests.
4785 ac_preproc_ok=:
4786 break
4788 rm -f conftest.err conftest.$ac_ext
4790 done
4791 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4792 rm -f conftest.err conftest.$ac_ext
4793 if $ac_preproc_ok; then
4794 break
4797 done
4798 ac_cv_prog_CXXCPP=$CXXCPP
4801 CXXCPP=$ac_cv_prog_CXXCPP
4802 else
4803 ac_cv_prog_CXXCPP=$CXXCPP
4805 echo "$as_me:$LINENO: result: $CXXCPP" >&5
4806 echo "${ECHO_T}$CXXCPP" >&6
4807 ac_preproc_ok=false
4808 for ac_cxx_preproc_warn_flag in '' yes
4810 # Use a header file that comes with gcc, so configuring glibc
4811 # with a fresh cross-compiler works.
4812 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4813 # <limits.h> exists even on freestanding compilers.
4814 # On the NeXT, cc -E runs the code through the compiler's parser,
4815 # not just through cpp. "Syntax error" is here to catch this case.
4816 cat >conftest.$ac_ext <<_ACEOF
4817 /* confdefs.h. */
4818 _ACEOF
4819 cat confdefs.h >>conftest.$ac_ext
4820 cat >>conftest.$ac_ext <<_ACEOF
4821 /* end confdefs.h. */
4822 #ifdef __STDC__
4823 # include <limits.h>
4824 #else
4825 # include <assert.h>
4826 #endif
4827 Syntax error
4828 _ACEOF
4829 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4830 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4831 ac_status=$?
4832 grep -v '^ *+' conftest.er1 >conftest.err
4833 rm -f conftest.er1
4834 cat conftest.err >&5
4835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4836 (exit $ac_status); } >/dev/null; then
4837 if test -s conftest.err; then
4838 ac_cpp_err=$ac_cxx_preproc_warn_flag
4839 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4840 else
4841 ac_cpp_err=
4843 else
4844 ac_cpp_err=yes
4846 if test -z "$ac_cpp_err"; then
4848 else
4849 echo "$as_me: failed program was:" >&5
4850 sed 's/^/| /' conftest.$ac_ext >&5
4852 # Broken: fails on valid input.
4853 continue
4855 rm -f conftest.err conftest.$ac_ext
4857 # OK, works on sane cases. Now check whether non-existent headers
4858 # can be detected and how.
4859 cat >conftest.$ac_ext <<_ACEOF
4860 /* confdefs.h. */
4861 _ACEOF
4862 cat confdefs.h >>conftest.$ac_ext
4863 cat >>conftest.$ac_ext <<_ACEOF
4864 /* end confdefs.h. */
4865 #include <ac_nonexistent.h>
4866 _ACEOF
4867 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4868 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4869 ac_status=$?
4870 grep -v '^ *+' conftest.er1 >conftest.err
4871 rm -f conftest.er1
4872 cat conftest.err >&5
4873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4874 (exit $ac_status); } >/dev/null; then
4875 if test -s conftest.err; then
4876 ac_cpp_err=$ac_cxx_preproc_warn_flag
4877 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4878 else
4879 ac_cpp_err=
4881 else
4882 ac_cpp_err=yes
4884 if test -z "$ac_cpp_err"; then
4885 # Broken: success on invalid input.
4886 continue
4887 else
4888 echo "$as_me: failed program was:" >&5
4889 sed 's/^/| /' conftest.$ac_ext >&5
4891 # Passes both tests.
4892 ac_preproc_ok=:
4893 break
4895 rm -f conftest.err conftest.$ac_ext
4897 done
4898 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4899 rm -f conftest.err conftest.$ac_ext
4900 if $ac_preproc_ok; then
4902 else
4903 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4904 See \`config.log' for more details." >&5
4905 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4906 See \`config.log' for more details." >&2;}
4907 { (exit 1); exit 1; }; }
4910 ac_ext=c
4911 ac_cpp='$CPP $CPPFLAGS'
4912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4918 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
4919 lt_save_CC="$CC"
4920 lt_save_CFLAGS="$CFLAGS"
4921 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
4922 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4923 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4924 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4925 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4926 deplibs_check_method="$deplibs_check_method" \
4927 file_magic_cmd="$file_magic_cmd" \
4928 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
4929 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
4930 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
4931 echo "$as_me: error: libtool tag configuration failed" >&2;}
4932 { (exit 1); exit 1; }; }
4933 CC="$lt_save_CC"
4934 CFLAGS="$lt_save_CFLAGS"
4936 # Redirect the config.log output again, so that the ltconfig log is not
4937 # clobbered by the next message.
4938 exec 5>>./config.log
4947 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4949 # Possibly disable most of the library.
4950 ## XXX Consider skipping unncessary tests altogether in this case, rather
4951 ## than just ignoring the results. Faster /and/ more correct, win win.
4953 # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
4954 if test "${enable_hosted_libstdcxx+set}" = set; then
4955 enableval="$enable_hosted_libstdcxx"
4957 else
4958 case "$host" in
4959 arm*-*-symbianelf*)
4960 enable_hosted_libstdcxx=no
4963 enable_hosted_libstdcxx=yes
4965 esac
4967 if test "$enable_hosted_libstdcxx" = no; then
4968 { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
4969 echo "$as_me: Only freestanding libraries will be built" >&6;}
4970 is_hosted=no
4971 hosted_define=0
4972 enable_abi_check=no
4973 enable_libstdcxx_pch=no
4974 else
4975 is_hosted=yes
4976 hosted_define=1
4980 cat >>confdefs.h <<_ACEOF
4981 #define _GLIBCXX_HOSTED $hosted_define
4982 _ACEOF
4986 # Check for support bits and g++ features that don't require linking.
4988 echo "$as_me:$LINENO: checking for exception model to use" >&5
4989 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
4992 ac_ext=cc
4993 ac_cpp='$CXXCPP $CPPFLAGS'
4994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4998 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
4999 if test "${enable_sjlj_exceptions+set}" = set; then
5000 enableval="$enable_sjlj_exceptions"
5002 case "$enableval" in
5003 yes|no|auto) ;;
5004 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
5005 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
5006 { (exit 1); exit 1; }; } ;;
5007 esac
5009 else
5010 enable_sjlj_exceptions=auto
5014 if test $enable_sjlj_exceptions = auto; then
5015 # Botheration. Now we've got to detect the exception model. Link tests
5016 # against libgcc.a are problematic since we've not been given proper -L
5017 # bits for single-tree newlib and libgloss.
5019 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
5020 cat > conftest.$ac_ext << EOF
5021 #line 5021 "configure"
5022 struct S { ~S(); };
5023 void bar();
5024 void foo()
5026 S s;
5027 bar();
5030 old_CXXFLAGS="$CXXFLAGS"
5031 CXXFLAGS=-S
5032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5033 (eval $ac_compile) 2>&5
5034 ac_status=$?
5035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5036 (exit $ac_status); }; then
5037 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
5038 enable_sjlj_exceptions=yes
5039 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
5040 enable_sjlj_exceptions=no
5043 CXXFLAGS="$old_CXXFLAGS"
5044 rm -f conftest*
5047 # This is a tad weird, for hysterical raisins. We have to map enable/disable
5048 # to two different models.
5049 case $enable_sjlj_exceptions in
5050 yes)
5052 cat >>confdefs.h <<\_ACEOF
5053 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
5054 _ACEOF
5056 ac_exception_model_name=sjlj
5059 ac_exception_model_name="call frame"
5062 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
5063 echo "$as_me: error: unable to detect exception model" >&2;}
5064 { (exit 1); exit 1; }; }
5066 esac
5067 ac_ext=c
5068 ac_cpp='$CPP $CPPFLAGS'
5069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5073 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
5074 echo "${ECHO_T}$ac_exception_model_name" >&6
5077 echo "$as_me:$LINENO: checking for enabled PCH" >&5
5078 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
5079 # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
5080 if test "${enable_libstdcxx_pch+set}" = set; then
5081 enableval="$enable_libstdcxx_pch"
5083 case "$enableval" in
5084 yes|no) ;;
5085 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
5086 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
5087 { (exit 1); exit 1; }; } ;;
5088 esac
5090 else
5091 enable_libstdcxx_pch=$is_hosted
5094 echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
5095 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
5097 if test $enable_libstdcxx_pch = yes; then
5098 echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
5099 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
5100 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
5101 echo $ECHO_N "(cached) $ECHO_C" >&6
5102 else
5103 ac_save_CXXFLAGS="$CXXFLAGS"
5104 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
5107 ac_ext=cc
5108 ac_cpp='$CXXCPP $CPPFLAGS'
5109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5113 echo '#include <math.h>' > conftest.h
5114 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
5115 -o conftest.h.gch 1>&5 2>&1 &&
5116 echo '#error "pch failed"' > conftest.h &&
5117 echo '#include "conftest.h"' > conftest.cc &&
5118 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
5119 then
5120 glibcxx_cv_prog_CXX_pch=yes
5121 else
5122 glibcxx_cv_prog_CXX_pch=no
5124 rm -f conftest*
5125 CXXFLAGS=$ac_save_CXXFLAGS
5126 ac_ext=c
5127 ac_cpp='$CPP $CPPFLAGS'
5128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5134 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
5135 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
5136 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
5140 if test $enable_libstdcxx_pch = yes; then
5141 glibcxx_PCHFLAGS="-include bits/stdc++.h"
5142 else
5143 glibcxx_PCHFLAGS=""
5148 # Enable all the variable C++ runtime options.
5149 # NB: C_MBCHAR must come early.
5151 echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
5152 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
5153 # Check whether --enable-cstdio or --disable-cstdio was given.
5154 if test "${enable_cstdio+set}" = set; then
5155 enableval="$enable_cstdio"
5157 case "$enableval" in
5158 stdio) ;;
5159 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
5160 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
5161 { (exit 1); exit 1; }; } ;;
5162 esac
5164 else
5165 enable_cstdio=stdio
5169 # Now that libio has been removed, you can have any color you want as long
5170 # as it's black. This is one big no-op until other packages are added, but
5171 # showing the framework never hurts.
5172 case ${enable_cstdio} in
5173 stdio)
5174 CSTDIO_H=config/io/c_io_stdio.h
5175 BASIC_FILE_H=config/io/basic_file_stdio.h
5176 BASIC_FILE_CC=config/io/basic_file_stdio.cc
5177 echo "$as_me:$LINENO: result: stdio" >&5
5178 echo "${ECHO_T}stdio" >&6
5180 esac
5186 ac_ext=c
5187 ac_cpp='$CPP $CPPFLAGS'
5188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5191 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5192 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5193 # On Suns, sometimes $CPP names a directory.
5194 if test -n "$CPP" && test -d "$CPP"; then
5195 CPP=
5197 if test -z "$CPP"; then
5198 if test "${ac_cv_prog_CPP+set}" = set; then
5199 echo $ECHO_N "(cached) $ECHO_C" >&6
5200 else
5201 # Double quotes because CPP needs to be expanded
5202 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5204 ac_preproc_ok=false
5205 for ac_c_preproc_warn_flag in '' yes
5207 # Use a header file that comes with gcc, so configuring glibc
5208 # with a fresh cross-compiler works.
5209 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5210 # <limits.h> exists even on freestanding compilers.
5211 # On the NeXT, cc -E runs the code through the compiler's parser,
5212 # not just through cpp. "Syntax error" is here to catch this case.
5213 cat >conftest.$ac_ext <<_ACEOF
5214 /* confdefs.h. */
5215 _ACEOF
5216 cat confdefs.h >>conftest.$ac_ext
5217 cat >>conftest.$ac_ext <<_ACEOF
5218 /* end confdefs.h. */
5219 #ifdef __STDC__
5220 # include <limits.h>
5221 #else
5222 # include <assert.h>
5223 #endif
5224 Syntax error
5225 _ACEOF
5226 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5227 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5228 ac_status=$?
5229 grep -v '^ *+' conftest.er1 >conftest.err
5230 rm -f conftest.er1
5231 cat conftest.err >&5
5232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5233 (exit $ac_status); } >/dev/null; then
5234 if test -s conftest.err; then
5235 ac_cpp_err=$ac_c_preproc_warn_flag
5236 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5237 else
5238 ac_cpp_err=
5240 else
5241 ac_cpp_err=yes
5243 if test -z "$ac_cpp_err"; then
5245 else
5246 echo "$as_me: failed program was:" >&5
5247 sed 's/^/| /' conftest.$ac_ext >&5
5249 # Broken: fails on valid input.
5250 continue
5252 rm -f conftest.err conftest.$ac_ext
5254 # OK, works on sane cases. Now check whether non-existent headers
5255 # can be detected and how.
5256 cat >conftest.$ac_ext <<_ACEOF
5257 /* confdefs.h. */
5258 _ACEOF
5259 cat confdefs.h >>conftest.$ac_ext
5260 cat >>conftest.$ac_ext <<_ACEOF
5261 /* end confdefs.h. */
5262 #include <ac_nonexistent.h>
5263 _ACEOF
5264 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5265 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5266 ac_status=$?
5267 grep -v '^ *+' conftest.er1 >conftest.err
5268 rm -f conftest.er1
5269 cat conftest.err >&5
5270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5271 (exit $ac_status); } >/dev/null; then
5272 if test -s conftest.err; then
5273 ac_cpp_err=$ac_c_preproc_warn_flag
5274 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5275 else
5276 ac_cpp_err=
5278 else
5279 ac_cpp_err=yes
5281 if test -z "$ac_cpp_err"; then
5282 # Broken: success on invalid input.
5283 continue
5284 else
5285 echo "$as_me: failed program was:" >&5
5286 sed 's/^/| /' conftest.$ac_ext >&5
5288 # Passes both tests.
5289 ac_preproc_ok=:
5290 break
5292 rm -f conftest.err conftest.$ac_ext
5294 done
5295 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5296 rm -f conftest.err conftest.$ac_ext
5297 if $ac_preproc_ok; then
5298 break
5301 done
5302 ac_cv_prog_CPP=$CPP
5305 CPP=$ac_cv_prog_CPP
5306 else
5307 ac_cv_prog_CPP=$CPP
5309 echo "$as_me:$LINENO: result: $CPP" >&5
5310 echo "${ECHO_T}$CPP" >&6
5311 ac_preproc_ok=false
5312 for ac_c_preproc_warn_flag in '' yes
5314 # Use a header file that comes with gcc, so configuring glibc
5315 # with a fresh cross-compiler works.
5316 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5317 # <limits.h> exists even on freestanding compilers.
5318 # On the NeXT, cc -E runs the code through the compiler's parser,
5319 # not just through cpp. "Syntax error" is here to catch this case.
5320 cat >conftest.$ac_ext <<_ACEOF
5321 /* confdefs.h. */
5322 _ACEOF
5323 cat confdefs.h >>conftest.$ac_ext
5324 cat >>conftest.$ac_ext <<_ACEOF
5325 /* end confdefs.h. */
5326 #ifdef __STDC__
5327 # include <limits.h>
5328 #else
5329 # include <assert.h>
5330 #endif
5331 Syntax error
5332 _ACEOF
5333 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5334 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5335 ac_status=$?
5336 grep -v '^ *+' conftest.er1 >conftest.err
5337 rm -f conftest.er1
5338 cat conftest.err >&5
5339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5340 (exit $ac_status); } >/dev/null; then
5341 if test -s conftest.err; then
5342 ac_cpp_err=$ac_c_preproc_warn_flag
5343 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5344 else
5345 ac_cpp_err=
5347 else
5348 ac_cpp_err=yes
5350 if test -z "$ac_cpp_err"; then
5352 else
5353 echo "$as_me: failed program was:" >&5
5354 sed 's/^/| /' conftest.$ac_ext >&5
5356 # Broken: fails on valid input.
5357 continue
5359 rm -f conftest.err conftest.$ac_ext
5361 # OK, works on sane cases. Now check whether non-existent headers
5362 # can be detected and how.
5363 cat >conftest.$ac_ext <<_ACEOF
5364 /* confdefs.h. */
5365 _ACEOF
5366 cat confdefs.h >>conftest.$ac_ext
5367 cat >>conftest.$ac_ext <<_ACEOF
5368 /* end confdefs.h. */
5369 #include <ac_nonexistent.h>
5370 _ACEOF
5371 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5372 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5373 ac_status=$?
5374 grep -v '^ *+' conftest.er1 >conftest.err
5375 rm -f conftest.er1
5376 cat conftest.err >&5
5377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5378 (exit $ac_status); } >/dev/null; then
5379 if test -s conftest.err; then
5380 ac_cpp_err=$ac_c_preproc_warn_flag
5381 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5382 else
5383 ac_cpp_err=
5385 else
5386 ac_cpp_err=yes
5388 if test -z "$ac_cpp_err"; then
5389 # Broken: success on invalid input.
5390 continue
5391 else
5392 echo "$as_me: failed program was:" >&5
5393 sed 's/^/| /' conftest.$ac_ext >&5
5395 # Passes both tests.
5396 ac_preproc_ok=:
5397 break
5399 rm -f conftest.err conftest.$ac_ext
5401 done
5402 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5403 rm -f conftest.err conftest.$ac_ext
5404 if $ac_preproc_ok; then
5406 else
5407 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5408 See \`config.log' for more details." >&5
5409 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5410 See \`config.log' for more details." >&2;}
5411 { (exit 1); exit 1; }; }
5414 ac_ext=c
5415 ac_cpp='$CPP $CPPFLAGS'
5416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5421 echo "$as_me:$LINENO: checking for egrep" >&5
5422 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5423 if test "${ac_cv_prog_egrep+set}" = set; then
5424 echo $ECHO_N "(cached) $ECHO_C" >&6
5425 else
5426 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5427 then ac_cv_prog_egrep='grep -E'
5428 else ac_cv_prog_egrep='egrep'
5431 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5432 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5433 EGREP=$ac_cv_prog_egrep
5436 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5437 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5438 if test "${ac_cv_header_stdc+set}" = set; then
5439 echo $ECHO_N "(cached) $ECHO_C" >&6
5440 else
5441 cat >conftest.$ac_ext <<_ACEOF
5442 /* confdefs.h. */
5443 _ACEOF
5444 cat confdefs.h >>conftest.$ac_ext
5445 cat >>conftest.$ac_ext <<_ACEOF
5446 /* end confdefs.h. */
5447 #include <stdlib.h>
5448 #include <stdarg.h>
5449 #include <string.h>
5450 #include <float.h>
5453 main ()
5457 return 0;
5459 _ACEOF
5460 rm -f conftest.$ac_objext
5461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5462 (eval $ac_compile) 2>conftest.er1
5463 ac_status=$?
5464 grep -v '^ *+' conftest.er1 >conftest.err
5465 rm -f conftest.er1
5466 cat conftest.err >&5
5467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5468 (exit $ac_status); } &&
5469 { ac_try='test -z "$ac_c_werror_flag"
5470 || test ! -s conftest.err'
5471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5472 (eval $ac_try) 2>&5
5473 ac_status=$?
5474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5475 (exit $ac_status); }; } &&
5476 { ac_try='test -s conftest.$ac_objext'
5477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5478 (eval $ac_try) 2>&5
5479 ac_status=$?
5480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5481 (exit $ac_status); }; }; then
5482 ac_cv_header_stdc=yes
5483 else
5484 echo "$as_me: failed program was:" >&5
5485 sed 's/^/| /' conftest.$ac_ext >&5
5487 ac_cv_header_stdc=no
5489 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5491 if test $ac_cv_header_stdc = yes; then
5492 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5493 cat >conftest.$ac_ext <<_ACEOF
5494 /* confdefs.h. */
5495 _ACEOF
5496 cat confdefs.h >>conftest.$ac_ext
5497 cat >>conftest.$ac_ext <<_ACEOF
5498 /* end confdefs.h. */
5499 #include <string.h>
5501 _ACEOF
5502 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5503 $EGREP "memchr" >/dev/null 2>&1; then
5505 else
5506 ac_cv_header_stdc=no
5508 rm -f conftest*
5512 if test $ac_cv_header_stdc = yes; then
5513 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5514 cat >conftest.$ac_ext <<_ACEOF
5515 /* confdefs.h. */
5516 _ACEOF
5517 cat confdefs.h >>conftest.$ac_ext
5518 cat >>conftest.$ac_ext <<_ACEOF
5519 /* end confdefs.h. */
5520 #include <stdlib.h>
5522 _ACEOF
5523 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5524 $EGREP "free" >/dev/null 2>&1; then
5526 else
5527 ac_cv_header_stdc=no
5529 rm -f conftest*
5533 if test $ac_cv_header_stdc = yes; then
5534 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5535 if test "$cross_compiling" = yes; then
5537 else
5538 cat >conftest.$ac_ext <<_ACEOF
5539 /* confdefs.h. */
5540 _ACEOF
5541 cat confdefs.h >>conftest.$ac_ext
5542 cat >>conftest.$ac_ext <<_ACEOF
5543 /* end confdefs.h. */
5544 #include <ctype.h>
5545 #if ((' ' & 0x0FF) == 0x020)
5546 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5547 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5548 #else
5549 # define ISLOWER(c) \
5550 (('a' <= (c) && (c) <= 'i') \
5551 || ('j' <= (c) && (c) <= 'r') \
5552 || ('s' <= (c) && (c) <= 'z'))
5553 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5554 #endif
5556 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5558 main ()
5560 int i;
5561 for (i = 0; i < 256; i++)
5562 if (XOR (islower (i), ISLOWER (i))
5563 || toupper (i) != TOUPPER (i))
5564 exit(2);
5565 exit (0);
5567 _ACEOF
5568 rm -f conftest$ac_exeext
5569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5570 (eval $ac_link) 2>&5
5571 ac_status=$?
5572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5573 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5575 (eval $ac_try) 2>&5
5576 ac_status=$?
5577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5578 (exit $ac_status); }; }; then
5580 else
5581 echo "$as_me: program exited with status $ac_status" >&5
5582 echo "$as_me: failed program was:" >&5
5583 sed 's/^/| /' conftest.$ac_ext >&5
5585 ( exit $ac_status )
5586 ac_cv_header_stdc=no
5588 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5592 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5593 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5594 if test $ac_cv_header_stdc = yes; then
5596 cat >>confdefs.h <<\_ACEOF
5597 #define STDC_HEADERS 1
5598 _ACEOF
5602 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5612 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5613 inttypes.h stdint.h unistd.h
5615 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5616 echo "$as_me:$LINENO: checking for $ac_header" >&5
5617 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5618 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5619 echo $ECHO_N "(cached) $ECHO_C" >&6
5620 else
5621 cat >conftest.$ac_ext <<_ACEOF
5622 /* confdefs.h. */
5623 _ACEOF
5624 cat confdefs.h >>conftest.$ac_ext
5625 cat >>conftest.$ac_ext <<_ACEOF
5626 /* end confdefs.h. */
5627 $ac_includes_default
5629 #include <$ac_header>
5630 _ACEOF
5631 rm -f conftest.$ac_objext
5632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5633 (eval $ac_compile) 2>conftest.er1
5634 ac_status=$?
5635 grep -v '^ *+' conftest.er1 >conftest.err
5636 rm -f conftest.er1
5637 cat conftest.err >&5
5638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5639 (exit $ac_status); } &&
5640 { ac_try='test -z "$ac_c_werror_flag"
5641 || test ! -s conftest.err'
5642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5643 (eval $ac_try) 2>&5
5644 ac_status=$?
5645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5646 (exit $ac_status); }; } &&
5647 { ac_try='test -s conftest.$ac_objext'
5648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5649 (eval $ac_try) 2>&5
5650 ac_status=$?
5651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5652 (exit $ac_status); }; }; then
5653 eval "$as_ac_Header=yes"
5654 else
5655 echo "$as_me: failed program was:" >&5
5656 sed 's/^/| /' conftest.$ac_ext >&5
5658 eval "$as_ac_Header=no"
5660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5663 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5664 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5665 cat >>confdefs.h <<_ACEOF
5666 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5667 _ACEOF
5671 done
5675 echo "$as_me:$LINENO: checking for C locale to use" >&5
5676 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
5677 # Check whether --enable-clocale or --disable-clocale was given.
5678 if test "${enable_clocale+set}" = set; then
5679 enableval="$enable_clocale"
5681 case "$enableval" in
5682 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
5683 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
5684 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
5685 { (exit 1); exit 1; }; } ;;
5686 esac
5688 else
5689 enable_clocale=auto
5693 # If they didn't use this option switch, or if they specified --enable
5694 # with no specific model, we'll have to look for one. If they
5695 # specified --disable (???), do likewise.
5696 if test $enable_clocale = no || test $enable_clocale = yes; then
5697 enable_clocale=auto
5700 # Either a known package, or "auto"
5701 enable_clocale_flag=$enable_clocale
5703 # Probe for locale support if no specific model is specified.
5704 # Default to "generic".
5705 if test $enable_clocale_flag = auto; then
5706 case ${target_os} in
5707 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
5708 cat >conftest.$ac_ext <<_ACEOF
5709 /* confdefs.h. */
5710 _ACEOF
5711 cat confdefs.h >>conftest.$ac_ext
5712 cat >>conftest.$ac_ext <<_ACEOF
5713 /* end confdefs.h. */
5715 #include <features.h>
5716 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
5717 _GLIBCXX_ok
5718 #endif
5720 _ACEOF
5721 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5722 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
5723 enable_clocale_flag=gnu
5724 else
5725 enable_clocale_flag=generic
5727 rm -f conftest*
5730 # Test for bugs early in glibc-2.2.x series
5731 if test $enable_clocale_flag = gnu; then
5732 if test "$cross_compiling" = yes; then
5733 enable_clocale_flag=generic
5734 else
5735 cat >conftest.$ac_ext <<_ACEOF
5736 /* confdefs.h. */
5737 _ACEOF
5738 cat confdefs.h >>conftest.$ac_ext
5739 cat >>conftest.$ac_ext <<_ACEOF
5740 /* end confdefs.h. */
5742 #define _GNU_SOURCE 1
5743 #include <locale.h>
5744 #include <string.h>
5745 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
5746 extern __typeof(newlocale) __newlocale;
5747 extern __typeof(duplocale) __duplocale;
5748 extern __typeof(strcoll_l) __strcoll_l;
5749 #endif
5750 int main()
5752 const char __one[] = "Äuglein Augmen";
5753 const char __two[] = "Äuglein";
5754 int i;
5755 int j;
5756 __locale_t loc;
5757 __locale_t loc_dup;
5758 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
5759 loc_dup = __duplocale(loc);
5760 i = __strcoll_l(__one, __two, loc);
5761 j = __strcoll_l(__one, __two, loc_dup);
5762 return 0;
5765 _ACEOF
5766 rm -f conftest$ac_exeext
5767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5768 (eval $ac_link) 2>&5
5769 ac_status=$?
5770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5771 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5773 (eval $ac_try) 2>&5
5774 ac_status=$?
5775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5776 (exit $ac_status); }; }; then
5777 enable_clocale_flag=gnu
5778 else
5779 echo "$as_me: program exited with status $ac_status" >&5
5780 echo "$as_me: failed program was:" >&5
5781 sed 's/^/| /' conftest.$ac_ext >&5
5783 ( exit $ac_status )
5784 enable_clocale_flag=generic
5786 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5790 # ... at some point put __strxfrm_l tests in as well.
5793 enable_clocale_flag=generic
5795 esac
5798 # Deal with gettext issues. Default to not using it (=no) until we detect
5799 # support for it later. Let the user turn it off via --e/d, but let that
5800 # default to on for easier handling.
5801 USE_NLS=no
5802 # Check whether --enable-nls or --disable-nls was given.
5803 if test "${enable_nls+set}" = set; then
5804 enableval="$enable_nls"
5806 else
5807 enable_nls=yes
5810 # Set configure bits for specified locale package
5811 case ${enable_clocale_flag} in
5812 generic)
5813 echo "$as_me:$LINENO: result: generic" >&5
5814 echo "${ECHO_T}generic" >&6
5816 CLOCALE_H=config/locale/generic/c_locale.h
5817 CLOCALE_CC=config/locale/generic/c_locale.cc
5818 CCODECVT_H=config/locale/generic/codecvt_specializations.h
5819 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5820 CCOLLATE_CC=config/locale/generic/collate_members.cc
5821 CCTYPE_CC=config/locale/generic/ctype_members.cc
5822 CMESSAGES_H=config/locale/generic/messages_members.h
5823 CMESSAGES_CC=config/locale/generic/messages_members.cc
5824 CMONEY_CC=config/locale/generic/monetary_members.cc
5825 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5826 CTIME_H=config/locale/generic/time_members.h
5827 CTIME_CC=config/locale/generic/time_members.cc
5828 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5830 gnu)
5831 echo "$as_me:$LINENO: result: gnu" >&5
5832 echo "${ECHO_T}gnu" >&6
5834 # Declare intention to use gettext, and add support for specific
5835 # languages.
5836 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
5837 ALL_LINGUAS="de fr"
5839 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
5840 # Extract the first word of "msgfmt", so it can be a program name with args.
5841 set dummy msgfmt; ac_word=$2
5842 echo "$as_me:$LINENO: checking for $ac_word" >&5
5843 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5844 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
5845 echo $ECHO_N "(cached) $ECHO_C" >&6
5846 else
5847 if test -n "$check_msgfmt"; then
5848 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
5849 else
5850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5851 for as_dir in $PATH
5853 IFS=$as_save_IFS
5854 test -z "$as_dir" && as_dir=.
5855 for ac_exec_ext in '' $ac_executable_extensions; do
5856 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5857 ac_cv_prog_check_msgfmt="yes"
5858 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5859 break 2
5861 done
5862 done
5864 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
5867 check_msgfmt=$ac_cv_prog_check_msgfmt
5868 if test -n "$check_msgfmt"; then
5869 echo "$as_me:$LINENO: result: $check_msgfmt" >&5
5870 echo "${ECHO_T}$check_msgfmt" >&6
5871 else
5872 echo "$as_me:$LINENO: result: no" >&5
5873 echo "${ECHO_T}no" >&6
5876 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
5877 USE_NLS=yes
5879 # Export the build objects.
5880 for ling in $ALL_LINGUAS; do \
5881 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
5882 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
5883 done
5887 CLOCALE_H=config/locale/gnu/c_locale.h
5888 CLOCALE_CC=config/locale/gnu/c_locale.cc
5889 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
5890 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
5891 CCOLLATE_CC=config/locale/gnu/collate_members.cc
5892 CCTYPE_CC=config/locale/gnu/ctype_members.cc
5893 CMESSAGES_H=config/locale/gnu/messages_members.h
5894 CMESSAGES_CC=config/locale/gnu/messages_members.cc
5895 CMONEY_CC=config/locale/gnu/monetary_members.cc
5896 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
5897 CTIME_H=config/locale/gnu/time_members.h
5898 CTIME_CC=config/locale/gnu/time_members.cc
5899 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
5901 ieee_1003.1-2001)
5902 echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
5903 echo "${ECHO_T}IEEE 1003.1" >&6
5905 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
5906 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
5907 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
5908 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5909 CCOLLATE_CC=config/locale/generic/collate_members.cc
5910 CCTYPE_CC=config/locale/generic/ctype_members.cc
5911 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
5912 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
5913 CMONEY_CC=config/locale/generic/monetary_members.cc
5914 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5915 CTIME_H=config/locale/generic/time_members.h
5916 CTIME_CC=config/locale/generic/time_members.cc
5917 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5919 esac
5921 # This is where the testsuite looks for locale catalogs, using the
5922 # -DLOCALEDIR define during testsuite compilation.
5923 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
5926 # A standalone libintl (e.g., GNU libintl) may be in use.
5927 if test $USE_NLS = yes; then
5929 for ac_header in libintl.h
5931 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5932 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5933 echo "$as_me:$LINENO: checking for $ac_header" >&5
5934 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5935 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5936 echo $ECHO_N "(cached) $ECHO_C" >&6
5938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5939 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5940 else
5941 # Is the header compilable?
5942 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5943 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5944 cat >conftest.$ac_ext <<_ACEOF
5945 /* confdefs.h. */
5946 _ACEOF
5947 cat confdefs.h >>conftest.$ac_ext
5948 cat >>conftest.$ac_ext <<_ACEOF
5949 /* end confdefs.h. */
5950 $ac_includes_default
5951 #include <$ac_header>
5952 _ACEOF
5953 rm -f conftest.$ac_objext
5954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5955 (eval $ac_compile) 2>conftest.er1
5956 ac_status=$?
5957 grep -v '^ *+' conftest.er1 >conftest.err
5958 rm -f conftest.er1
5959 cat conftest.err >&5
5960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5961 (exit $ac_status); } &&
5962 { ac_try='test -z "$ac_c_werror_flag"
5963 || test ! -s conftest.err'
5964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5965 (eval $ac_try) 2>&5
5966 ac_status=$?
5967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5968 (exit $ac_status); }; } &&
5969 { ac_try='test -s conftest.$ac_objext'
5970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5971 (eval $ac_try) 2>&5
5972 ac_status=$?
5973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5974 (exit $ac_status); }; }; then
5975 ac_header_compiler=yes
5976 else
5977 echo "$as_me: failed program was:" >&5
5978 sed 's/^/| /' conftest.$ac_ext >&5
5980 ac_header_compiler=no
5982 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5983 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5984 echo "${ECHO_T}$ac_header_compiler" >&6
5986 # Is the header present?
5987 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5988 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5989 cat >conftest.$ac_ext <<_ACEOF
5990 /* confdefs.h. */
5991 _ACEOF
5992 cat confdefs.h >>conftest.$ac_ext
5993 cat >>conftest.$ac_ext <<_ACEOF
5994 /* end confdefs.h. */
5995 #include <$ac_header>
5996 _ACEOF
5997 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5998 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5999 ac_status=$?
6000 grep -v '^ *+' conftest.er1 >conftest.err
6001 rm -f conftest.er1
6002 cat conftest.err >&5
6003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6004 (exit $ac_status); } >/dev/null; then
6005 if test -s conftest.err; then
6006 ac_cpp_err=$ac_c_preproc_warn_flag
6007 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
6008 else
6009 ac_cpp_err=
6011 else
6012 ac_cpp_err=yes
6014 if test -z "$ac_cpp_err"; then
6015 ac_header_preproc=yes
6016 else
6017 echo "$as_me: failed program was:" >&5
6018 sed 's/^/| /' conftest.$ac_ext >&5
6020 ac_header_preproc=no
6022 rm -f conftest.err conftest.$ac_ext
6023 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6024 echo "${ECHO_T}$ac_header_preproc" >&6
6026 # So? What about this header?
6027 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6028 yes:no: )
6029 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6030 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6031 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6032 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6033 ac_header_preproc=yes
6035 no:yes:* )
6036 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6037 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6038 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6039 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6040 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6041 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6042 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6043 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6044 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6045 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6046 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6047 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6049 cat <<\_ASBOX
6050 ## ----------------------------------------- ##
6051 ## Report this to the package-unused lists. ##
6052 ## ----------------------------------------- ##
6053 _ASBOX
6055 sed "s/^/$as_me: WARNING: /" >&2
6057 esac
6058 echo "$as_me:$LINENO: checking for $ac_header" >&5
6059 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6060 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6061 echo $ECHO_N "(cached) $ECHO_C" >&6
6062 else
6063 eval "$as_ac_Header=\$ac_header_preproc"
6065 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6066 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6069 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6070 cat >>confdefs.h <<_ACEOF
6071 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6072 _ACEOF
6074 else
6075 USE_NLS=no
6078 done
6080 echo "$as_me:$LINENO: checking for library containing gettext" >&5
6081 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
6082 if test "${ac_cv_search_gettext+set}" = set; then
6083 echo $ECHO_N "(cached) $ECHO_C" >&6
6084 else
6085 ac_func_search_save_LIBS=$LIBS
6086 ac_cv_search_gettext=no
6087 if test x$gcc_no_link = xyes; then
6088 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6090 { (exit 1); exit 1; }; }
6092 cat >conftest.$ac_ext <<_ACEOF
6093 /* confdefs.h. */
6094 _ACEOF
6095 cat confdefs.h >>conftest.$ac_ext
6096 cat >>conftest.$ac_ext <<_ACEOF
6097 /* end confdefs.h. */
6099 /* Override any gcc2 internal prototype to avoid an error. */
6100 #ifdef __cplusplus
6101 extern "C"
6102 #endif
6103 /* We use char because int might match the return type of a gcc2
6104 builtin and then its argument prototype would still apply. */
6105 char gettext ();
6107 main ()
6109 gettext ();
6111 return 0;
6113 _ACEOF
6114 rm -f conftest.$ac_objext conftest$ac_exeext
6115 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6116 (eval $ac_link) 2>conftest.er1
6117 ac_status=$?
6118 grep -v '^ *+' conftest.er1 >conftest.err
6119 rm -f conftest.er1
6120 cat conftest.err >&5
6121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6122 (exit $ac_status); } &&
6123 { ac_try='test -z "$ac_c_werror_flag"
6124 || test ! -s conftest.err'
6125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6126 (eval $ac_try) 2>&5
6127 ac_status=$?
6128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6129 (exit $ac_status); }; } &&
6130 { ac_try='test -s conftest$ac_exeext'
6131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6132 (eval $ac_try) 2>&5
6133 ac_status=$?
6134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6135 (exit $ac_status); }; }; then
6136 ac_cv_search_gettext="none required"
6137 else
6138 echo "$as_me: failed program was:" >&5
6139 sed 's/^/| /' conftest.$ac_ext >&5
6142 rm -f conftest.err conftest.$ac_objext \
6143 conftest$ac_exeext conftest.$ac_ext
6144 if test "$ac_cv_search_gettext" = no; then
6145 for ac_lib in intl; do
6146 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6147 if test x$gcc_no_link = xyes; then
6148 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6149 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6150 { (exit 1); exit 1; }; }
6152 cat >conftest.$ac_ext <<_ACEOF
6153 /* confdefs.h. */
6154 _ACEOF
6155 cat confdefs.h >>conftest.$ac_ext
6156 cat >>conftest.$ac_ext <<_ACEOF
6157 /* end confdefs.h. */
6159 /* Override any gcc2 internal prototype to avoid an error. */
6160 #ifdef __cplusplus
6161 extern "C"
6162 #endif
6163 /* We use char because int might match the return type of a gcc2
6164 builtin and then its argument prototype would still apply. */
6165 char gettext ();
6167 main ()
6169 gettext ();
6171 return 0;
6173 _ACEOF
6174 rm -f conftest.$ac_objext conftest$ac_exeext
6175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6176 (eval $ac_link) 2>conftest.er1
6177 ac_status=$?
6178 grep -v '^ *+' conftest.er1 >conftest.err
6179 rm -f conftest.er1
6180 cat conftest.err >&5
6181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6182 (exit $ac_status); } &&
6183 { ac_try='test -z "$ac_c_werror_flag"
6184 || test ! -s conftest.err'
6185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6186 (eval $ac_try) 2>&5
6187 ac_status=$?
6188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6189 (exit $ac_status); }; } &&
6190 { ac_try='test -s conftest$ac_exeext'
6191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6192 (eval $ac_try) 2>&5
6193 ac_status=$?
6194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6195 (exit $ac_status); }; }; then
6196 ac_cv_search_gettext="-l$ac_lib"
6197 break
6198 else
6199 echo "$as_me: failed program was:" >&5
6200 sed 's/^/| /' conftest.$ac_ext >&5
6203 rm -f conftest.err conftest.$ac_objext \
6204 conftest$ac_exeext conftest.$ac_ext
6205 done
6207 LIBS=$ac_func_search_save_LIBS
6209 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
6210 echo "${ECHO_T}$ac_cv_search_gettext" >&6
6211 if test "$ac_cv_search_gettext" != no; then
6212 test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
6214 else
6215 USE_NLS=no
6219 if test $USE_NLS = yes; then
6220 cat >>confdefs.h <<\_ACEOF
6221 #define _GLIBCXX_USE_NLS 1
6222 _ACEOF
6242 echo "$as_me:$LINENO: checking for std::allocator base class to use" >&5
6243 echo $ECHO_N "checking for std::allocator base class to use... $ECHO_C" >&6
6244 # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
6245 if test "${enable_libstdcxx_allocator+set}" = set; then
6246 enableval="$enable_libstdcxx_allocator"
6248 case "$enableval" in
6249 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
6250 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
6251 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
6252 { (exit 1); exit 1; }; } ;;
6253 esac
6255 else
6256 enable_libstdcxx_allocator=auto
6260 # If they didn't use this option switch, or if they specified --enable
6261 # with no specific model, we'll have to look for one. If they
6262 # specified --disable (???), do likewise.
6263 if test $enable_libstdcxx_allocator = no ||
6264 test $enable_libstdcxx_allocator = yes;
6265 then
6266 enable_libstdcxx_allocator=auto
6269 # Either a known package, or "auto". Auto implies the default choice
6270 # for a particular platform.
6271 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
6273 # Probe for host-specific support if no specific model is specified.
6274 # Default to "new".
6275 if test $enable_libstdcxx_allocator_flag = auto; then
6276 case ${target_os} in
6277 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
6278 enable_libstdcxx_allocator_flag=mt
6281 enable_libstdcxx_allocator_flag=new
6283 esac
6285 echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
6286 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
6289 # Set configure bits for specified locale package
6290 case ${enable_libstdcxx_allocator_flag} in
6291 bitmap)
6292 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
6293 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
6295 malloc)
6296 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
6297 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
6300 ALLOCATOR_H=config/allocator/mt_allocator_base.h
6301 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
6303 new)
6304 ALLOCATOR_H=config/allocator/new_allocator_base.h
6305 ALLOCATOR_NAME=__gnu_cxx::new_allocator
6307 pool)
6308 ALLOCATOR_H=config/allocator/pool_allocator_base.h
6309 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
6311 esac
6317 # Check whether --enable-cheaders or --disable-cheaders was given.
6318 if test "${enable_cheaders+set}" = set; then
6319 enableval="$enable_cheaders"
6321 case "$enableval" in
6322 c|c_std) ;;
6323 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
6324 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
6325 { (exit 1); exit 1; }; } ;;
6326 esac
6328 else
6329 enable_cheaders=$c_model
6332 { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
6333 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
6335 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
6342 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
6343 if test "${enable_c_mbchar+set}" = set; then
6344 enableval="$enable_c_mbchar"
6346 case "$enableval" in
6347 yes|no) ;;
6348 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c-mbchar must be yes or no" >&5
6349 echo "$as_me: error: Argument to enable/disable c-mbchar must be yes or no" >&2;}
6350 { (exit 1); exit 1; }; } ;;
6351 esac
6353 else
6354 enable_c_mbchar=yes
6357 # Option parsed, now other scripts can test enable_c_mbchar for yes/no.
6361 # Check whether --enable-c99 or --disable-c99 was given.
6362 if test "${enable_c99+set}" = set; then
6363 enableval="$enable_c99"
6365 case "$enableval" in
6366 yes|no) ;;
6367 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
6368 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
6369 { (exit 1); exit 1; }; } ;;
6370 esac
6372 else
6373 enable_c99=yes
6379 ac_ext=cc
6380 ac_cpp='$CXXCPP $CPPFLAGS'
6381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6386 # Check for the existence of <math.h> functions used if C99 is enabled.
6387 ac_c99_math=yes;
6388 echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
6389 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
6390 cat >conftest.$ac_ext <<_ACEOF
6391 /* confdefs.h. */
6392 _ACEOF
6393 cat confdefs.h >>conftest.$ac_ext
6394 cat >>conftest.$ac_ext <<_ACEOF
6395 /* end confdefs.h. */
6396 #include <math.h>
6398 main ()
6400 fpclassify(0.0);
6402 return 0;
6404 _ACEOF
6405 rm -f conftest.$ac_objext
6406 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6407 (eval $ac_compile) 2>conftest.er1
6408 ac_status=$?
6409 grep -v '^ *+' conftest.er1 >conftest.err
6410 rm -f conftest.er1
6411 cat conftest.err >&5
6412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6413 (exit $ac_status); } &&
6414 { ac_try='test -z "$ac_cxx_werror_flag"
6415 || test ! -s conftest.err'
6416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6417 (eval $ac_try) 2>&5
6418 ac_status=$?
6419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6420 (exit $ac_status); }; } &&
6421 { ac_try='test -s conftest.$ac_objext'
6422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6423 (eval $ac_try) 2>&5
6424 ac_status=$?
6425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6426 (exit $ac_status); }; }; then
6428 else
6429 echo "$as_me: failed program was:" >&5
6430 sed 's/^/| /' conftest.$ac_ext >&5
6432 ac_c99_math=no
6434 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6435 cat >conftest.$ac_ext <<_ACEOF
6436 /* confdefs.h. */
6437 _ACEOF
6438 cat confdefs.h >>conftest.$ac_ext
6439 cat >>conftest.$ac_ext <<_ACEOF
6440 /* end confdefs.h. */
6441 #include <math.h>
6443 main ()
6445 isfinite(0.0);
6447 return 0;
6449 _ACEOF
6450 rm -f conftest.$ac_objext
6451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6452 (eval $ac_compile) 2>conftest.er1
6453 ac_status=$?
6454 grep -v '^ *+' conftest.er1 >conftest.err
6455 rm -f conftest.er1
6456 cat conftest.err >&5
6457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6458 (exit $ac_status); } &&
6459 { ac_try='test -z "$ac_cxx_werror_flag"
6460 || 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 isinf(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"
6505 || test ! -s conftest.err'
6506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6507 (eval $ac_try) 2>&5
6508 ac_status=$?
6509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6510 (exit $ac_status); }; } &&
6511 { ac_try='test -s conftest.$ac_objext'
6512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6513 (eval $ac_try) 2>&5
6514 ac_status=$?
6515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6516 (exit $ac_status); }; }; then
6518 else
6519 echo "$as_me: failed program was:" >&5
6520 sed 's/^/| /' conftest.$ac_ext >&5
6522 ac_c99_math=no
6524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6525 cat >conftest.$ac_ext <<_ACEOF
6526 /* confdefs.h. */
6527 _ACEOF
6528 cat confdefs.h >>conftest.$ac_ext
6529 cat >>conftest.$ac_ext <<_ACEOF
6530 /* end confdefs.h. */
6531 #include <math.h>
6533 main ()
6535 isnan(0.0);
6537 return 0;
6539 _ACEOF
6540 rm -f conftest.$ac_objext
6541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6542 (eval $ac_compile) 2>conftest.er1
6543 ac_status=$?
6544 grep -v '^ *+' conftest.er1 >conftest.err
6545 rm -f conftest.er1
6546 cat conftest.err >&5
6547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6548 (exit $ac_status); } &&
6549 { ac_try='test -z "$ac_cxx_werror_flag"
6550 || test ! -s conftest.err'
6551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6552 (eval $ac_try) 2>&5
6553 ac_status=$?
6554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6555 (exit $ac_status); }; } &&
6556 { ac_try='test -s conftest.$ac_objext'
6557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6558 (eval $ac_try) 2>&5
6559 ac_status=$?
6560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6561 (exit $ac_status); }; }; then
6563 else
6564 echo "$as_me: failed program was:" >&5
6565 sed 's/^/| /' conftest.$ac_ext >&5
6567 ac_c99_math=no
6569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6570 cat >conftest.$ac_ext <<_ACEOF
6571 /* confdefs.h. */
6572 _ACEOF
6573 cat confdefs.h >>conftest.$ac_ext
6574 cat >>conftest.$ac_ext <<_ACEOF
6575 /* end confdefs.h. */
6576 #include <math.h>
6578 main ()
6580 isnormal(0.0);
6582 return 0;
6584 _ACEOF
6585 rm -f conftest.$ac_objext
6586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6587 (eval $ac_compile) 2>conftest.er1
6588 ac_status=$?
6589 grep -v '^ *+' conftest.er1 >conftest.err
6590 rm -f conftest.er1
6591 cat conftest.err >&5
6592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6593 (exit $ac_status); } &&
6594 { ac_try='test -z "$ac_cxx_werror_flag"
6595 || test ! -s conftest.err'
6596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6597 (eval $ac_try) 2>&5
6598 ac_status=$?
6599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6600 (exit $ac_status); }; } &&
6601 { ac_try='test -s conftest.$ac_objext'
6602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6603 (eval $ac_try) 2>&5
6604 ac_status=$?
6605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6606 (exit $ac_status); }; }; then
6608 else
6609 echo "$as_me: failed program was:" >&5
6610 sed 's/^/| /' conftest.$ac_ext >&5
6612 ac_c99_math=no
6614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6615 cat >conftest.$ac_ext <<_ACEOF
6616 /* confdefs.h. */
6617 _ACEOF
6618 cat confdefs.h >>conftest.$ac_ext
6619 cat >>conftest.$ac_ext <<_ACEOF
6620 /* end confdefs.h. */
6621 #include <math.h>
6623 main ()
6625 signbit(0.0);
6627 return 0;
6629 _ACEOF
6630 rm -f conftest.$ac_objext
6631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6632 (eval $ac_compile) 2>conftest.er1
6633 ac_status=$?
6634 grep -v '^ *+' conftest.er1 >conftest.err
6635 rm -f conftest.er1
6636 cat conftest.err >&5
6637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6638 (exit $ac_status); } &&
6639 { ac_try='test -z "$ac_cxx_werror_flag"
6640 || test ! -s conftest.err'
6641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6642 (eval $ac_try) 2>&5
6643 ac_status=$?
6644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6645 (exit $ac_status); }; } &&
6646 { ac_try='test -s conftest.$ac_objext'
6647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6648 (eval $ac_try) 2>&5
6649 ac_status=$?
6650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6651 (exit $ac_status); }; }; then
6653 else
6654 echo "$as_me: failed program was:" >&5
6655 sed 's/^/| /' conftest.$ac_ext >&5
6657 ac_c99_math=no
6659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6660 cat >conftest.$ac_ext <<_ACEOF
6661 /* confdefs.h. */
6662 _ACEOF
6663 cat confdefs.h >>conftest.$ac_ext
6664 cat >>conftest.$ac_ext <<_ACEOF
6665 /* end confdefs.h. */
6666 #include <math.h>
6668 main ()
6670 isgreater(0.0,0.0);
6672 return 0;
6674 _ACEOF
6675 rm -f conftest.$ac_objext
6676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6677 (eval $ac_compile) 2>conftest.er1
6678 ac_status=$?
6679 grep -v '^ *+' conftest.er1 >conftest.err
6680 rm -f conftest.er1
6681 cat conftest.err >&5
6682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6683 (exit $ac_status); } &&
6684 { ac_try='test -z "$ac_cxx_werror_flag"
6685 || test ! -s conftest.err'
6686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6687 (eval $ac_try) 2>&5
6688 ac_status=$?
6689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6690 (exit $ac_status); }; } &&
6691 { ac_try='test -s conftest.$ac_objext'
6692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6693 (eval $ac_try) 2>&5
6694 ac_status=$?
6695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6696 (exit $ac_status); }; }; then
6698 else
6699 echo "$as_me: failed program was:" >&5
6700 sed 's/^/| /' conftest.$ac_ext >&5
6702 ac_c99_math=no
6704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6705 cat >conftest.$ac_ext <<_ACEOF
6706 /* confdefs.h. */
6707 _ACEOF
6708 cat confdefs.h >>conftest.$ac_ext
6709 cat >>conftest.$ac_ext <<_ACEOF
6710 /* end confdefs.h. */
6711 #include <math.h>
6713 main ()
6715 isgreaterequal(0.0,0.0);
6717 return 0;
6719 _ACEOF
6720 rm -f conftest.$ac_objext
6721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6722 (eval $ac_compile) 2>conftest.er1
6723 ac_status=$?
6724 grep -v '^ *+' conftest.er1 >conftest.err
6725 rm -f conftest.er1
6726 cat conftest.err >&5
6727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6728 (exit $ac_status); } &&
6729 { ac_try='test -z "$ac_cxx_werror_flag"
6730 || test ! -s conftest.err'
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); }; } &&
6736 { ac_try='test -s conftest.$ac_objext'
6737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6738 (eval $ac_try) 2>&5
6739 ac_status=$?
6740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6741 (exit $ac_status); }; }; then
6743 else
6744 echo "$as_me: failed program was:" >&5
6745 sed 's/^/| /' conftest.$ac_ext >&5
6747 ac_c99_math=no
6749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6750 cat >conftest.$ac_ext <<_ACEOF
6751 /* confdefs.h. */
6752 _ACEOF
6753 cat confdefs.h >>conftest.$ac_ext
6754 cat >>conftest.$ac_ext <<_ACEOF
6755 /* end confdefs.h. */
6756 #include <math.h>
6758 main ()
6760 isless(0.0,0.0);
6762 return 0;
6764 _ACEOF
6765 rm -f conftest.$ac_objext
6766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6767 (eval $ac_compile) 2>conftest.er1
6768 ac_status=$?
6769 grep -v '^ *+' conftest.er1 >conftest.err
6770 rm -f conftest.er1
6771 cat conftest.err >&5
6772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6773 (exit $ac_status); } &&
6774 { ac_try='test -z "$ac_cxx_werror_flag"
6775 || test ! -s conftest.err'
6776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6777 (eval $ac_try) 2>&5
6778 ac_status=$?
6779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6780 (exit $ac_status); }; } &&
6781 { ac_try='test -s conftest.$ac_objext'
6782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6783 (eval $ac_try) 2>&5
6784 ac_status=$?
6785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6786 (exit $ac_status); }; }; then
6788 else
6789 echo "$as_me: failed program was:" >&5
6790 sed 's/^/| /' conftest.$ac_ext >&5
6792 ac_c99_math=no
6794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6795 cat >conftest.$ac_ext <<_ACEOF
6796 /* confdefs.h. */
6797 _ACEOF
6798 cat confdefs.h >>conftest.$ac_ext
6799 cat >>conftest.$ac_ext <<_ACEOF
6800 /* end confdefs.h. */
6801 #include <math.h>
6803 main ()
6805 islessequal(0.0,0.0);
6807 return 0;
6809 _ACEOF
6810 rm -f conftest.$ac_objext
6811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6812 (eval $ac_compile) 2>conftest.er1
6813 ac_status=$?
6814 grep -v '^ *+' conftest.er1 >conftest.err
6815 rm -f conftest.er1
6816 cat conftest.err >&5
6817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6818 (exit $ac_status); } &&
6819 { ac_try='test -z "$ac_cxx_werror_flag"
6820 || test ! -s conftest.err'
6821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6822 (eval $ac_try) 2>&5
6823 ac_status=$?
6824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6825 (exit $ac_status); }; } &&
6826 { ac_try='test -s conftest.$ac_objext'
6827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6828 (eval $ac_try) 2>&5
6829 ac_status=$?
6830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6831 (exit $ac_status); }; }; then
6833 else
6834 echo "$as_me: failed program was:" >&5
6835 sed 's/^/| /' conftest.$ac_ext >&5
6837 ac_c99_math=no
6839 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6840 cat >conftest.$ac_ext <<_ACEOF
6841 /* confdefs.h. */
6842 _ACEOF
6843 cat confdefs.h >>conftest.$ac_ext
6844 cat >>conftest.$ac_ext <<_ACEOF
6845 /* end confdefs.h. */
6846 #include <math.h>
6848 main ()
6850 islessgreater(0.0,0.0);
6852 return 0;
6854 _ACEOF
6855 rm -f conftest.$ac_objext
6856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6857 (eval $ac_compile) 2>conftest.er1
6858 ac_status=$?
6859 grep -v '^ *+' conftest.er1 >conftest.err
6860 rm -f conftest.er1
6861 cat conftest.err >&5
6862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6863 (exit $ac_status); } &&
6864 { ac_try='test -z "$ac_cxx_werror_flag"
6865 || test ! -s conftest.err'
6866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6867 (eval $ac_try) 2>&5
6868 ac_status=$?
6869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6870 (exit $ac_status); }; } &&
6871 { ac_try='test -s conftest.$ac_objext'
6872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6873 (eval $ac_try) 2>&5
6874 ac_status=$?
6875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6876 (exit $ac_status); }; }; then
6878 else
6879 echo "$as_me: failed program was:" >&5
6880 sed 's/^/| /' conftest.$ac_ext >&5
6882 ac_c99_math=no
6884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6885 cat >conftest.$ac_ext <<_ACEOF
6886 /* confdefs.h. */
6887 _ACEOF
6888 cat confdefs.h >>conftest.$ac_ext
6889 cat >>conftest.$ac_ext <<_ACEOF
6890 /* end confdefs.h. */
6891 #include <math.h>
6893 main ()
6895 isunordered(0.0,0.0);
6897 return 0;
6899 _ACEOF
6900 rm -f conftest.$ac_objext
6901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6902 (eval $ac_compile) 2>conftest.er1
6903 ac_status=$?
6904 grep -v '^ *+' conftest.er1 >conftest.err
6905 rm -f conftest.er1
6906 cat conftest.err >&5
6907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6908 (exit $ac_status); } &&
6909 { ac_try='test -z "$ac_cxx_werror_flag"
6910 || test ! -s conftest.err'
6911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6912 (eval $ac_try) 2>&5
6913 ac_status=$?
6914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6915 (exit $ac_status); }; } &&
6916 { ac_try='test -s conftest.$ac_objext'
6917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6918 (eval $ac_try) 2>&5
6919 ac_status=$?
6920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6921 (exit $ac_status); }; }; then
6923 else
6924 echo "$as_me: failed program was:" >&5
6925 sed 's/^/| /' conftest.$ac_ext >&5
6927 ac_c99_math=no
6929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6930 echo "$as_me:$LINENO: result: $ac_c99_math" >&5
6931 echo "${ECHO_T}$ac_c99_math" >&6
6933 if test x"$ac_c99_math" = x"yes"; then
6934 cat >>confdefs.h <<\_ACEOF
6935 #define _GLIBCXX_USE_C99_MATH 1
6936 _ACEOF
6940 # Check for the existence in <stdio.h> of vscanf, et. al.
6941 ac_c99_stdio=yes;
6942 echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
6943 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
6944 cat >conftest.$ac_ext <<_ACEOF
6945 /* confdefs.h. */
6946 _ACEOF
6947 cat confdefs.h >>conftest.$ac_ext
6948 cat >>conftest.$ac_ext <<_ACEOF
6949 /* end confdefs.h. */
6950 #include <stdio.h>
6952 main ()
6954 snprintf("12", 0, "%i");
6956 return 0;
6958 _ACEOF
6959 rm -f conftest.$ac_objext
6960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6961 (eval $ac_compile) 2>conftest.er1
6962 ac_status=$?
6963 grep -v '^ *+' conftest.er1 >conftest.err
6964 rm -f conftest.er1
6965 cat conftest.err >&5
6966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6967 (exit $ac_status); } &&
6968 { ac_try='test -z "$ac_cxx_werror_flag"
6969 || test ! -s conftest.err'
6970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6971 (eval $ac_try) 2>&5
6972 ac_status=$?
6973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6974 (exit $ac_status); }; } &&
6975 { ac_try='test -s conftest.$ac_objext'
6976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6977 (eval $ac_try) 2>&5
6978 ac_status=$?
6979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6980 (exit $ac_status); }; }; then
6982 else
6983 echo "$as_me: failed program was:" >&5
6984 sed 's/^/| /' conftest.$ac_ext >&5
6986 ac_c99_stdio=no
6988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6989 cat >conftest.$ac_ext <<_ACEOF
6990 /* confdefs.h. */
6991 _ACEOF
6992 cat confdefs.h >>conftest.$ac_ext
6993 cat >>conftest.$ac_ext <<_ACEOF
6994 /* end confdefs.h. */
6995 #include <stdio.h>
6996 #include <stdarg.h>
6997 void foo(char* fmt, ...)
6998 {va_list args; va_start(args, fmt);
6999 vfscanf(stderr, "%i", args);}
7001 main ()
7005 return 0;
7007 _ACEOF
7008 rm -f conftest.$ac_objext
7009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7010 (eval $ac_compile) 2>conftest.er1
7011 ac_status=$?
7012 grep -v '^ *+' conftest.er1 >conftest.err
7013 rm -f conftest.er1
7014 cat conftest.err >&5
7015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7016 (exit $ac_status); } &&
7017 { ac_try='test -z "$ac_cxx_werror_flag"
7018 || test ! -s conftest.err'
7019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7020 (eval $ac_try) 2>&5
7021 ac_status=$?
7022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7023 (exit $ac_status); }; } &&
7024 { ac_try='test -s conftest.$ac_objext'
7025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7026 (eval $ac_try) 2>&5
7027 ac_status=$?
7028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7029 (exit $ac_status); }; }; then
7031 else
7032 echo "$as_me: failed program was:" >&5
7033 sed 's/^/| /' conftest.$ac_ext >&5
7035 ac_c99_stdio=no
7037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7038 cat >conftest.$ac_ext <<_ACEOF
7039 /* confdefs.h. */
7040 _ACEOF
7041 cat confdefs.h >>conftest.$ac_ext
7042 cat >>conftest.$ac_ext <<_ACEOF
7043 /* end confdefs.h. */
7044 #include <stdio.h>
7045 #include <stdarg.h>
7046 void foo(char* fmt, ...)
7047 {va_list args; va_start(args, fmt);
7048 vscanf("%i", args);}
7050 main ()
7054 return 0;
7056 _ACEOF
7057 rm -f conftest.$ac_objext
7058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7059 (eval $ac_compile) 2>conftest.er1
7060 ac_status=$?
7061 grep -v '^ *+' conftest.er1 >conftest.err
7062 rm -f conftest.er1
7063 cat conftest.err >&5
7064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7065 (exit $ac_status); } &&
7066 { ac_try='test -z "$ac_cxx_werror_flag"
7067 || test ! -s conftest.err'
7068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7069 (eval $ac_try) 2>&5
7070 ac_status=$?
7071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7072 (exit $ac_status); }; } &&
7073 { ac_try='test -s conftest.$ac_objext'
7074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7075 (eval $ac_try) 2>&5
7076 ac_status=$?
7077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7078 (exit $ac_status); }; }; then
7080 else
7081 echo "$as_me: failed program was:" >&5
7082 sed 's/^/| /' conftest.$ac_ext >&5
7084 ac_c99_stdio=no
7086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7087 cat >conftest.$ac_ext <<_ACEOF
7088 /* confdefs.h. */
7089 _ACEOF
7090 cat confdefs.h >>conftest.$ac_ext
7091 cat >>conftest.$ac_ext <<_ACEOF
7092 /* end confdefs.h. */
7093 #include <stdio.h>
7094 #include <stdarg.h>
7095 void foo(char* fmt, ...)
7096 {va_list args; va_start(args, fmt);
7097 vsnprintf(fmt, 0, "%i", args);}
7099 main ()
7103 return 0;
7105 _ACEOF
7106 rm -f conftest.$ac_objext
7107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7108 (eval $ac_compile) 2>conftest.er1
7109 ac_status=$?
7110 grep -v '^ *+' conftest.er1 >conftest.err
7111 rm -f conftest.er1
7112 cat conftest.err >&5
7113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7114 (exit $ac_status); } &&
7115 { ac_try='test -z "$ac_cxx_werror_flag"
7116 || test ! -s conftest.err'
7117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7118 (eval $ac_try) 2>&5
7119 ac_status=$?
7120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7121 (exit $ac_status); }; } &&
7122 { ac_try='test -s conftest.$ac_objext'
7123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7124 (eval $ac_try) 2>&5
7125 ac_status=$?
7126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7127 (exit $ac_status); }; }; then
7129 else
7130 echo "$as_me: failed program was:" >&5
7131 sed 's/^/| /' conftest.$ac_ext >&5
7133 ac_c99_stdio=no
7135 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7136 cat >conftest.$ac_ext <<_ACEOF
7137 /* confdefs.h. */
7138 _ACEOF
7139 cat confdefs.h >>conftest.$ac_ext
7140 cat >>conftest.$ac_ext <<_ACEOF
7141 /* end confdefs.h. */
7142 #include <stdio.h>
7143 #include <stdarg.h>
7144 void foo(char* fmt, ...)
7145 {va_list args; va_start(args, fmt);
7146 vsscanf(fmt, "%i", args);}
7148 main ()
7152 return 0;
7154 _ACEOF
7155 rm -f conftest.$ac_objext
7156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7157 (eval $ac_compile) 2>conftest.er1
7158 ac_status=$?
7159 grep -v '^ *+' conftest.er1 >conftest.err
7160 rm -f conftest.er1
7161 cat conftest.err >&5
7162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7163 (exit $ac_status); } &&
7164 { ac_try='test -z "$ac_cxx_werror_flag"
7165 || test ! -s conftest.err'
7166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7167 (eval $ac_try) 2>&5
7168 ac_status=$?
7169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7170 (exit $ac_status); }; } &&
7171 { ac_try='test -s conftest.$ac_objext'
7172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7173 (eval $ac_try) 2>&5
7174 ac_status=$?
7175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7176 (exit $ac_status); }; }; then
7178 else
7179 echo "$as_me: failed program was:" >&5
7180 sed 's/^/| /' conftest.$ac_ext >&5
7182 ac_c99_stdio=no
7184 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7185 echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
7186 echo "${ECHO_T}$ac_c99_stdio" >&6
7188 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
7189 ac_c99_stdlib=yes;
7190 echo "$as_me:$LINENO: checking for lldiv_t declaration" >&5
7191 echo $ECHO_N "checking for lldiv_t declaration... $ECHO_C" >&6
7192 if test "${ac_c99_lldiv_t+set}" = set; then
7193 echo $ECHO_N "(cached) $ECHO_C" >&6
7194 else
7196 cat >conftest.$ac_ext <<_ACEOF
7197 /* confdefs.h. */
7198 _ACEOF
7199 cat confdefs.h >>conftest.$ac_ext
7200 cat >>conftest.$ac_ext <<_ACEOF
7201 /* end confdefs.h. */
7202 #include <stdlib.h>
7204 main ()
7206 lldiv_t mydivt;
7208 return 0;
7210 _ACEOF
7211 rm -f conftest.$ac_objext
7212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7213 (eval $ac_compile) 2>conftest.er1
7214 ac_status=$?
7215 grep -v '^ *+' conftest.er1 >conftest.err
7216 rm -f conftest.er1
7217 cat conftest.err >&5
7218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7219 (exit $ac_status); } &&
7220 { ac_try='test -z "$ac_cxx_werror_flag"
7221 || test ! -s conftest.err'
7222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7223 (eval $ac_try) 2>&5
7224 ac_status=$?
7225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7226 (exit $ac_status); }; } &&
7227 { ac_try='test -s conftest.$ac_objext'
7228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7229 (eval $ac_try) 2>&5
7230 ac_status=$?
7231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7232 (exit $ac_status); }; }; then
7233 ac_c99_lldiv_t=yes
7234 else
7235 echo "$as_me: failed program was:" >&5
7236 sed 's/^/| /' conftest.$ac_ext >&5
7238 ac_c99_lldiv_t=no
7240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7244 echo "$as_me:$LINENO: result: $ac_c99_lldiv_t" >&5
7245 echo "${ECHO_T}$ac_c99_lldiv_t" >&6
7247 echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
7248 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
7249 cat >conftest.$ac_ext <<_ACEOF
7250 /* confdefs.h. */
7251 _ACEOF
7252 cat confdefs.h >>conftest.$ac_ext
7253 cat >>conftest.$ac_ext <<_ACEOF
7254 /* end confdefs.h. */
7255 #include <stdlib.h>
7257 main ()
7259 char* tmp; strtof("gnu", &tmp);
7261 return 0;
7263 _ACEOF
7264 rm -f conftest.$ac_objext
7265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7266 (eval $ac_compile) 2>conftest.er1
7267 ac_status=$?
7268 grep -v '^ *+' conftest.er1 >conftest.err
7269 rm -f conftest.er1
7270 cat conftest.err >&5
7271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7272 (exit $ac_status); } &&
7273 { ac_try='test -z "$ac_cxx_werror_flag"
7274 || test ! -s conftest.err'
7275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7276 (eval $ac_try) 2>&5
7277 ac_status=$?
7278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7279 (exit $ac_status); }; } &&
7280 { ac_try='test -s conftest.$ac_objext'
7281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7282 (eval $ac_try) 2>&5
7283 ac_status=$?
7284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7285 (exit $ac_status); }; }; then
7287 else
7288 echo "$as_me: failed program was:" >&5
7289 sed 's/^/| /' conftest.$ac_ext >&5
7291 ac_c99_stdlib=no
7293 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7294 cat >conftest.$ac_ext <<_ACEOF
7295 /* confdefs.h. */
7296 _ACEOF
7297 cat confdefs.h >>conftest.$ac_ext
7298 cat >>conftest.$ac_ext <<_ACEOF
7299 /* end confdefs.h. */
7300 #include <stdlib.h>
7302 main ()
7304 char* tmp; strtold("gnu", &tmp);
7306 return 0;
7308 _ACEOF
7309 rm -f conftest.$ac_objext
7310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7311 (eval $ac_compile) 2>conftest.er1
7312 ac_status=$?
7313 grep -v '^ *+' conftest.er1 >conftest.err
7314 rm -f conftest.er1
7315 cat conftest.err >&5
7316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7317 (exit $ac_status); } &&
7318 { ac_try='test -z "$ac_cxx_werror_flag"
7319 || test ! -s conftest.err'
7320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7321 (eval $ac_try) 2>&5
7322 ac_status=$?
7323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7324 (exit $ac_status); }; } &&
7325 { ac_try='test -s conftest.$ac_objext'
7326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7327 (eval $ac_try) 2>&5
7328 ac_status=$?
7329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7330 (exit $ac_status); }; }; then
7332 else
7333 echo "$as_me: failed program was:" >&5
7334 sed 's/^/| /' conftest.$ac_ext >&5
7336 ac_c99_stdlib=no
7338 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7339 cat >conftest.$ac_ext <<_ACEOF
7340 /* confdefs.h. */
7341 _ACEOF
7342 cat confdefs.h >>conftest.$ac_ext
7343 cat >>conftest.$ac_ext <<_ACEOF
7344 /* end confdefs.h. */
7345 #include <stdlib.h>
7347 main ()
7349 llabs(10);
7351 return 0;
7353 _ACEOF
7354 rm -f conftest.$ac_objext
7355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7356 (eval $ac_compile) 2>conftest.er1
7357 ac_status=$?
7358 grep -v '^ *+' conftest.er1 >conftest.err
7359 rm -f conftest.er1
7360 cat conftest.err >&5
7361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7362 (exit $ac_status); } &&
7363 { ac_try='test -z "$ac_cxx_werror_flag"
7364 || test ! -s conftest.err'
7365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7366 (eval $ac_try) 2>&5
7367 ac_status=$?
7368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7369 (exit $ac_status); }; } &&
7370 { ac_try='test -s conftest.$ac_objext'
7371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7372 (eval $ac_try) 2>&5
7373 ac_status=$?
7374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7375 (exit $ac_status); }; }; then
7377 else
7378 echo "$as_me: failed program was:" >&5
7379 sed 's/^/| /' conftest.$ac_ext >&5
7381 ac_c99_stdlib=no
7383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7384 cat >conftest.$ac_ext <<_ACEOF
7385 /* confdefs.h. */
7386 _ACEOF
7387 cat confdefs.h >>conftest.$ac_ext
7388 cat >>conftest.$ac_ext <<_ACEOF
7389 /* end confdefs.h. */
7390 #include <stdlib.h>
7392 main ()
7394 lldiv(10,1);
7396 return 0;
7398 _ACEOF
7399 rm -f conftest.$ac_objext
7400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7401 (eval $ac_compile) 2>conftest.er1
7402 ac_status=$?
7403 grep -v '^ *+' conftest.er1 >conftest.err
7404 rm -f conftest.er1
7405 cat conftest.err >&5
7406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7407 (exit $ac_status); } &&
7408 { ac_try='test -z "$ac_cxx_werror_flag"
7409 || test ! -s conftest.err'
7410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7411 (eval $ac_try) 2>&5
7412 ac_status=$?
7413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7414 (exit $ac_status); }; } &&
7415 { ac_try='test -s conftest.$ac_objext'
7416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7417 (eval $ac_try) 2>&5
7418 ac_status=$?
7419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7420 (exit $ac_status); }; }; then
7422 else
7423 echo "$as_me: failed program was:" >&5
7424 sed 's/^/| /' conftest.$ac_ext >&5
7426 ac_c99_stdlib=no
7428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7429 cat >conftest.$ac_ext <<_ACEOF
7430 /* confdefs.h. */
7431 _ACEOF
7432 cat confdefs.h >>conftest.$ac_ext
7433 cat >>conftest.$ac_ext <<_ACEOF
7434 /* end confdefs.h. */
7435 #include <stdlib.h>
7437 main ()
7439 atoll("10");
7441 return 0;
7443 _ACEOF
7444 rm -f conftest.$ac_objext
7445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7446 (eval $ac_compile) 2>conftest.er1
7447 ac_status=$?
7448 grep -v '^ *+' conftest.er1 >conftest.err
7449 rm -f conftest.er1
7450 cat conftest.err >&5
7451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7452 (exit $ac_status); } &&
7453 { ac_try='test -z "$ac_cxx_werror_flag"
7454 || test ! -s conftest.err'
7455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7456 (eval $ac_try) 2>&5
7457 ac_status=$?
7458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7459 (exit $ac_status); }; } &&
7460 { ac_try='test -s conftest.$ac_objext'
7461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7462 (eval $ac_try) 2>&5
7463 ac_status=$?
7464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7465 (exit $ac_status); }; }; then
7467 else
7468 echo "$as_me: failed program was:" >&5
7469 sed 's/^/| /' conftest.$ac_ext >&5
7471 ac_c99_stdlib=no
7473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7474 cat >conftest.$ac_ext <<_ACEOF
7475 /* confdefs.h. */
7476 _ACEOF
7477 cat confdefs.h >>conftest.$ac_ext
7478 cat >>conftest.$ac_ext <<_ACEOF
7479 /* end confdefs.h. */
7480 #include <stdlib.h>
7482 main ()
7484 _Exit(0);
7486 return 0;
7488 _ACEOF
7489 rm -f conftest.$ac_objext
7490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7491 (eval $ac_compile) 2>conftest.er1
7492 ac_status=$?
7493 grep -v '^ *+' conftest.er1 >conftest.err
7494 rm -f conftest.er1
7495 cat conftest.err >&5
7496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7497 (exit $ac_status); } &&
7498 { ac_try='test -z "$ac_cxx_werror_flag"
7499 || test ! -s conftest.err'
7500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7501 (eval $ac_try) 2>&5
7502 ac_status=$?
7503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7504 (exit $ac_status); }; } &&
7505 { ac_try='test -s conftest.$ac_objext'
7506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7507 (eval $ac_try) 2>&5
7508 ac_status=$?
7509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7510 (exit $ac_status); }; }; then
7512 else
7513 echo "$as_me: failed program was:" >&5
7514 sed 's/^/| /' conftest.$ac_ext >&5
7516 ac_c99_stdlib=no
7518 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7519 if test x"$ac_c99_lldiv_t" = x"no"; then
7520 ac_c99_stdlib=no;
7522 echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
7523 echo "${ECHO_T}$ac_c99_stdlib" >&6
7525 # Check for the existence of <wchar.h> functions used if C99 is enabled.
7526 # XXX the wchar.h checks should be rolled into the general C99 bits.
7527 ac_c99_wchar=yes;
7528 echo "$as_me:$LINENO: checking for additional ISO C99 support in <wchar.h>" >&5
7529 echo $ECHO_N "checking for additional ISO C99 support in <wchar.h>... $ECHO_C" >&6
7530 cat >conftest.$ac_ext <<_ACEOF
7531 /* confdefs.h. */
7532 _ACEOF
7533 cat confdefs.h >>conftest.$ac_ext
7534 cat >>conftest.$ac_ext <<_ACEOF
7535 /* end confdefs.h. */
7536 #include <wchar.h>
7538 main ()
7540 wcstold(L"10.0", NULL);
7542 return 0;
7544 _ACEOF
7545 rm -f conftest.$ac_objext
7546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7547 (eval $ac_compile) 2>conftest.er1
7548 ac_status=$?
7549 grep -v '^ *+' conftest.er1 >conftest.err
7550 rm -f conftest.er1
7551 cat conftest.err >&5
7552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7553 (exit $ac_status); } &&
7554 { ac_try='test -z "$ac_cxx_werror_flag"
7555 || test ! -s conftest.err'
7556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7557 (eval $ac_try) 2>&5
7558 ac_status=$?
7559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7560 (exit $ac_status); }; } &&
7561 { ac_try='test -s conftest.$ac_objext'
7562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7563 (eval $ac_try) 2>&5
7564 ac_status=$?
7565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7566 (exit $ac_status); }; }; then
7568 else
7569 echo "$as_me: failed program was:" >&5
7570 sed 's/^/| /' conftest.$ac_ext >&5
7572 ac_c99_wchar=no
7574 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7575 cat >conftest.$ac_ext <<_ACEOF
7576 /* confdefs.h. */
7577 _ACEOF
7578 cat confdefs.h >>conftest.$ac_ext
7579 cat >>conftest.$ac_ext <<_ACEOF
7580 /* end confdefs.h. */
7581 #include <wchar.h>
7583 main ()
7585 wcstoll(L"10", NULL, 10);
7587 return 0;
7589 _ACEOF
7590 rm -f conftest.$ac_objext
7591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7592 (eval $ac_compile) 2>conftest.er1
7593 ac_status=$?
7594 grep -v '^ *+' conftest.er1 >conftest.err
7595 rm -f conftest.er1
7596 cat conftest.err >&5
7597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7598 (exit $ac_status); } &&
7599 { ac_try='test -z "$ac_cxx_werror_flag"
7600 || test ! -s conftest.err'
7601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7602 (eval $ac_try) 2>&5
7603 ac_status=$?
7604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7605 (exit $ac_status); }; } &&
7606 { ac_try='test -s conftest.$ac_objext'
7607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7608 (eval $ac_try) 2>&5
7609 ac_status=$?
7610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7611 (exit $ac_status); }; }; then
7613 else
7614 echo "$as_me: failed program was:" >&5
7615 sed 's/^/| /' conftest.$ac_ext >&5
7617 ac_c99_wchar=no
7619 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7620 cat >conftest.$ac_ext <<_ACEOF
7621 /* confdefs.h. */
7622 _ACEOF
7623 cat confdefs.h >>conftest.$ac_ext
7624 cat >>conftest.$ac_ext <<_ACEOF
7625 /* end confdefs.h. */
7626 #include <wchar.h>
7628 main ()
7630 wcstoull(L"10", NULL, 10);
7632 return 0;
7634 _ACEOF
7635 rm -f conftest.$ac_objext
7636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7637 (eval $ac_compile) 2>conftest.er1
7638 ac_status=$?
7639 grep -v '^ *+' conftest.er1 >conftest.err
7640 rm -f conftest.er1
7641 cat conftest.err >&5
7642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7643 (exit $ac_status); } &&
7644 { ac_try='test -z "$ac_cxx_werror_flag"
7645 || test ! -s conftest.err'
7646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7647 (eval $ac_try) 2>&5
7648 ac_status=$?
7649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7650 (exit $ac_status); }; } &&
7651 { ac_try='test -s conftest.$ac_objext'
7652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7653 (eval $ac_try) 2>&5
7654 ac_status=$?
7655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7656 (exit $ac_status); }; }; then
7658 else
7659 echo "$as_me: failed program was:" >&5
7660 sed 's/^/| /' conftest.$ac_ext >&5
7662 ac_c99_wchar=no
7664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7665 echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
7666 echo "${ECHO_T}$ac_c99_wchar" >&6
7668 echo "$as_me:$LINENO: checking for enabled ISO C99 support" >&5
7669 echo $ECHO_N "checking for enabled ISO C99 support... $ECHO_C" >&6
7670 if test x"$ac_c99_math" = x"no" ||
7671 test x"$ac_c99_stdio" = x"no" ||
7672 test x"$ac_c99_stdlib" = x"no" ||
7673 test x"$ac_c99_wchar" = x"no"; then
7674 enable_c99=no;
7676 echo "$as_me:$LINENO: result: $enable_c99" >&5
7677 echo "${ECHO_T}$enable_c99" >&6
7679 if test x"$ac_99_math" = x"yes"; then
7680 cat >>confdefs.h <<\_ACEOF
7681 #define _GLIBCXX_USE_C99_MATH 1
7682 _ACEOF
7686 # Option parsed, now set things appropriately
7687 if test x"$enable_c99" = x"yes"; then
7688 cat >>confdefs.h <<\_ACEOF
7689 #define _GLIBCXX_USE_C99 1
7690 _ACEOF
7694 ac_ext=c
7695 ac_cpp='$CPP $CPPFLAGS'
7696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7702 # Check whether --enable-long-long or --disable-long-long was given.
7703 if test "${enable_long_long+set}" = set; then
7704 enableval="$enable_long_long"
7706 case "$enableval" in
7707 yes|no) ;;
7708 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
7709 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
7710 { (exit 1); exit 1; }; } ;;
7711 esac
7713 else
7714 enable_long_long=yes
7717 if test $enable_long_long = yes; then
7718 cat >>confdefs.h <<\_ACEOF
7719 #define _GLIBCXX_USE_LONG_LONG 1
7720 _ACEOF
7725 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
7726 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
7727 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
7728 echo "$as_me:$LINENO: result: $target_thread_file" >&5
7729 echo "${ECHO_T}$target_thread_file" >&6
7731 if test $target_thread_file != single; then
7732 cat >>confdefs.h <<\_ACEOF
7733 #define HAVE_GTHR_DEFAULT 1
7734 _ACEOF
7738 glibcxx_thread_h=gthr-$target_thread_file.h
7740 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
7741 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
7742 enable_thread=yes
7743 else
7744 enable_thread=no
7750 # Check whether --enable-concept-checks or --disable-concept-checks was given.
7751 if test "${enable_concept_checks+set}" = set; then
7752 enableval="$enable_concept_checks"
7754 case "$enableval" in
7755 yes|no) ;;
7756 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
7757 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
7758 { (exit 1); exit 1; }; } ;;
7759 esac
7761 else
7762 enable_concept_checks=no
7765 if test $enable_concept_checks = yes; then
7766 cat >>confdefs.h <<\_ACEOF
7767 #define _GLIBCXX_CONCEPT_CHECKS 1
7768 _ACEOF
7773 # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
7774 if test "${enable_libstdcxx_debug_flags+set}" = set; then
7775 enableval="$enable_libstdcxx_debug_flags"
7776 case "x$enable_libstdcxx_debug_flags" in
7777 xno | x) enable_libstdcxx_debug_flags= ;;
7778 x-*) ;;
7779 *) { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
7780 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
7781 { (exit 1); exit 1; }; } ;;
7782 esac
7783 else
7784 enable_libstdcxx_debug_flags="-g3 -O0"
7788 # Option parsed, now set things appropriately
7789 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
7792 { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
7793 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
7796 echo "$as_me:$LINENO: checking for additional debug build" >&5
7797 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
7798 # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
7799 if test "${enable_libstdcxx_debug+set}" = set; then
7800 enableval="$enable_libstdcxx_debug"
7802 case "$enableval" in
7803 yes|no) ;;
7804 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
7805 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
7806 { (exit 1); exit 1; }; } ;;
7807 esac
7809 else
7810 enable_libstdcxx_debug=no
7813 echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
7814 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
7817 echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
7818 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
7819 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
7820 if test "${enable_cxx_flags+set}" = set; then
7821 enableval="$enable_cxx_flags"
7822 case "x$enable_cxx_flags" in
7823 xno | x) enable_cxx_flags= ;;
7824 x-*) ;;
7825 *) { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
7826 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
7827 { (exit 1); exit 1; }; } ;;
7828 esac
7829 else
7830 enable_cxx_flags=
7834 # Run through flags (either default or command-line) and set anything
7835 # extra (e.g., #defines) that must accompany particular g++ options.
7836 if test -n "$enable_cxx_flags"; then
7837 for f in $enable_cxx_flags; do
7838 case "$f" in
7839 -fhonor-std) ;;
7840 -*) ;;
7841 *) # and we're trying to pass /what/ exactly?
7842 { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
7843 echo "$as_me: error: compiler flags start with a -" >&2;}
7844 { (exit 1); exit 1; }; } ;;
7845 esac
7846 done
7849 EXTRA_CXX_FLAGS="$enable_cxx_flags"
7850 echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
7851 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
7855 # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
7856 if test "${enable_fully_dynamic_string+set}" = set; then
7857 enableval="$enable_fully_dynamic_string"
7859 case "$enableval" in
7860 yes|no) ;;
7861 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
7862 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
7863 { (exit 1); exit 1; }; } ;;
7864 esac
7866 else
7867 enable_fully_dynamic_string=no
7870 if test $enable_fully_dynamic_string = yes; then
7871 cat >>confdefs.h <<\_ACEOF
7872 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
7873 _ACEOF
7878 # No surprises, no surprises...
7879 if test $atomicity_dir = cpu/generic ; then
7880 { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
7881 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
7882 if test $target_thread_file = single; then
7883 { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
7884 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
7885 { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
7886 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
7887 else
7888 { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
7889 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
7890 { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
7891 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
7896 if $GLIBCXX_IS_NATIVE; then
7898 # We can do more elaborate tests that assume a working linker.
7899 CANADIAN=no
7901 # Check for available headers.
7915 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
7916 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
7917 sys/types.h
7919 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7920 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7921 echo "$as_me:$LINENO: checking for $ac_header" >&5
7922 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7923 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7924 echo $ECHO_N "(cached) $ECHO_C" >&6
7926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7927 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7928 else
7929 # Is the header compilable?
7930 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7931 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7932 cat >conftest.$ac_ext <<_ACEOF
7933 /* confdefs.h. */
7934 _ACEOF
7935 cat confdefs.h >>conftest.$ac_ext
7936 cat >>conftest.$ac_ext <<_ACEOF
7937 /* end confdefs.h. */
7938 $ac_includes_default
7939 #include <$ac_header>
7940 _ACEOF
7941 rm -f conftest.$ac_objext
7942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7943 (eval $ac_compile) 2>conftest.er1
7944 ac_status=$?
7945 grep -v '^ *+' conftest.er1 >conftest.err
7946 rm -f conftest.er1
7947 cat conftest.err >&5
7948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7949 (exit $ac_status); } &&
7950 { ac_try='test -z "$ac_c_werror_flag"
7951 || test ! -s conftest.err'
7952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7953 (eval $ac_try) 2>&5
7954 ac_status=$?
7955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7956 (exit $ac_status); }; } &&
7957 { ac_try='test -s conftest.$ac_objext'
7958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7959 (eval $ac_try) 2>&5
7960 ac_status=$?
7961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7962 (exit $ac_status); }; }; then
7963 ac_header_compiler=yes
7964 else
7965 echo "$as_me: failed program was:" >&5
7966 sed 's/^/| /' conftest.$ac_ext >&5
7968 ac_header_compiler=no
7970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7971 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7972 echo "${ECHO_T}$ac_header_compiler" >&6
7974 # Is the header present?
7975 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7976 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7977 cat >conftest.$ac_ext <<_ACEOF
7978 /* confdefs.h. */
7979 _ACEOF
7980 cat confdefs.h >>conftest.$ac_ext
7981 cat >>conftest.$ac_ext <<_ACEOF
7982 /* end confdefs.h. */
7983 #include <$ac_header>
7984 _ACEOF
7985 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7986 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7987 ac_status=$?
7988 grep -v '^ *+' conftest.er1 >conftest.err
7989 rm -f conftest.er1
7990 cat conftest.err >&5
7991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7992 (exit $ac_status); } >/dev/null; then
7993 if test -s conftest.err; then
7994 ac_cpp_err=$ac_c_preproc_warn_flag
7995 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7996 else
7997 ac_cpp_err=
7999 else
8000 ac_cpp_err=yes
8002 if test -z "$ac_cpp_err"; then
8003 ac_header_preproc=yes
8004 else
8005 echo "$as_me: failed program was:" >&5
8006 sed 's/^/| /' conftest.$ac_ext >&5
8008 ac_header_preproc=no
8010 rm -f conftest.err conftest.$ac_ext
8011 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
8012 echo "${ECHO_T}$ac_header_preproc" >&6
8014 # So? What about this header?
8015 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
8016 yes:no: )
8017 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
8018 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8019 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
8020 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8021 ac_header_preproc=yes
8023 no:yes:* )
8024 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
8025 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8026 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
8027 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8028 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
8029 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8030 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
8031 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8032 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
8033 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8034 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
8035 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8037 cat <<\_ASBOX
8038 ## ----------------------------------------- ##
8039 ## Report this to the package-unused lists. ##
8040 ## ----------------------------------------- ##
8041 _ASBOX
8043 sed "s/^/$as_me: WARNING: /" >&2
8045 esac
8046 echo "$as_me:$LINENO: checking for $ac_header" >&5
8047 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8048 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8049 echo $ECHO_N "(cached) $ECHO_C" >&6
8050 else
8051 eval "$as_ac_Header=\$ac_header_preproc"
8053 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8054 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8057 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8058 cat >>confdefs.h <<_ACEOF
8059 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8060 _ACEOF
8064 done
8068 # All these tests are for C++; save the language and the compiler flags.
8069 # The CXXFLAGS thing is suspicious, but based on similar bits previously
8070 # found in GLIBCXX_CONFIGURE.
8073 ac_ext=cc
8074 ac_cpp='$CXXCPP $CPPFLAGS'
8075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8079 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8080 ac_save_CXXFLAGS="$CXXFLAGS"
8082 # Check for maintainer-mode bits.
8083 if test x"$USE_MAINTAINER_MODE" = xno; then
8084 WERROR=''
8085 else
8086 WERROR='-Werror'
8089 # Check for -ffunction-sections -fdata-sections
8090 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
8091 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
8092 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
8093 cat >conftest.$ac_ext <<_ACEOF
8094 /* confdefs.h. */
8095 _ACEOF
8096 cat confdefs.h >>conftest.$ac_ext
8097 cat >>conftest.$ac_ext <<_ACEOF
8098 /* end confdefs.h. */
8101 main ()
8103 int foo;
8105 return 0;
8107 _ACEOF
8108 rm -f conftest.$ac_objext
8109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8110 (eval $ac_compile) 2>conftest.er1
8111 ac_status=$?
8112 grep -v '^ *+' conftest.er1 >conftest.err
8113 rm -f conftest.er1
8114 cat conftest.err >&5
8115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8116 (exit $ac_status); } &&
8117 { ac_try='test -z "$ac_cxx_werror_flag"
8118 || test ! -s conftest.err'
8119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8120 (eval $ac_try) 2>&5
8121 ac_status=$?
8122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8123 (exit $ac_status); }; } &&
8124 { ac_try='test -s conftest.$ac_objext'
8125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8126 (eval $ac_try) 2>&5
8127 ac_status=$?
8128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8129 (exit $ac_status); }; }; then
8130 ac_fdsections=yes
8131 else
8132 echo "$as_me: failed program was:" >&5
8133 sed 's/^/| /' conftest.$ac_ext >&5
8135 ac_fdsections=no
8137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8138 if test "$ac_test_CXXFLAGS" = set; then
8139 CXXFLAGS="$ac_save_CXXFLAGS"
8140 else
8141 # this is the suspicious part
8142 CXXFLAGS=''
8144 if test x"$ac_fdsections" = x"yes"; then
8145 SECTION_FLAGS='-ffunction-sections -fdata-sections'
8147 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
8148 echo "${ECHO_T}$ac_fdsections" >&6
8150 ac_ext=c
8151 ac_cpp='$CPP $CPPFLAGS'
8152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8160 # If we're not using GNU ld, then there's no point in even trying these
8161 # tests. Check for that first. We should have already tested for gld
8162 # by now (in libtool), but require it now just to be safe...
8163 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8164 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8168 # The name set by libtool depends on the version of libtool. Shame on us
8169 # for depending on an impl detail, but c'est la vie. Older versions used
8170 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8171 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8172 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
8173 # set (hence we're using an older libtool), then set it.
8174 if test x${with_gnu_ld+set} != xset; then
8175 if test x${ac_cv_prog_gnu_ld+set} != xset; then
8176 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
8177 with_gnu_ld=no
8178 else
8179 with_gnu_ld=$ac_cv_prog_gnu_ld
8183 # Start by getting the version number. I think the libtool test already
8184 # does some of this, but throws away the result.
8186 ldver=`$LD --version 2>/dev/null | head -1 | \
8187 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8189 glibcxx_gnu_ld_version=`echo $ldver | \
8190 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8192 # Set --gc-sections.
8193 if test "$with_gnu_ld" = "notbroken"; then
8194 # GNU ld it is! Joy and bunny rabbits!
8196 # All these tests are for C++; save the language and the compiler flags.
8197 # Need to do this so that g++ won't try to link in libstdc++
8198 ac_test_CFLAGS="${CFLAGS+set}"
8199 ac_save_CFLAGS="$CFLAGS"
8200 CFLAGS='-x c++ -Wl,--gc-sections'
8202 # Check for -Wl,--gc-sections
8203 # XXX This test is broken at the moment, as symbols required for linking
8204 # are now in libsupc++ (not built yet). In addition, this test has
8205 # cored on solaris in the past. In addition, --gc-sections doesn't
8206 # really work at the moment (keeps on discarding used sections, first
8207 # .eh_frame and now some of the glibc sections for iconv).
8208 # Bzzzzt. Thanks for playing, maybe next time.
8209 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
8210 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
8211 if test "$cross_compiling" = yes; then
8212 ac_sectionLDflags=yes
8213 else
8214 cat >conftest.$ac_ext <<_ACEOF
8215 /* confdefs.h. */
8216 _ACEOF
8217 cat confdefs.h >>conftest.$ac_ext
8218 cat >>conftest.$ac_ext <<_ACEOF
8219 /* end confdefs.h. */
8221 int main(void)
8223 try { throw 1; }
8224 catch (...) { };
8225 return 0;
8228 _ACEOF
8229 rm -f conftest$ac_exeext
8230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8231 (eval $ac_link) 2>&5
8232 ac_status=$?
8233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8234 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8236 (eval $ac_try) 2>&5
8237 ac_status=$?
8238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8239 (exit $ac_status); }; }; then
8240 ac_sectionLDflags=yes
8241 else
8242 echo "$as_me: program exited with status $ac_status" >&5
8243 echo "$as_me: failed program was:" >&5
8244 sed 's/^/| /' conftest.$ac_ext >&5
8246 ( exit $ac_status )
8247 ac_sectionLDflags=no
8249 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8251 if test "$ac_test_CFLAGS" = set; then
8252 CFLAGS="$ac_save_CFLAGS"
8253 else
8254 # this is the suspicious part
8255 CFLAGS=''
8257 if test "$ac_sectionLDflags" = "yes"; then
8258 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8260 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
8261 echo "${ECHO_T}$ac_sectionLDflags" >&6
8264 # Set linker optimization flags.
8265 if test x"$with_gnu_ld" = x"yes"; then
8266 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8273 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8274 ac_save_CXXFLAGS="$CXXFLAGS"
8275 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
8277 echo "$as_me:$LINENO: checking for sin in -lm" >&5
8278 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
8279 if test "${ac_cv_lib_m_sin+set}" = set; then
8280 echo $ECHO_N "(cached) $ECHO_C" >&6
8281 else
8282 ac_check_lib_save_LIBS=$LIBS
8283 LIBS="-lm $LIBS"
8284 if test x$gcc_no_link = xyes; then
8285 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8286 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8287 { (exit 1); exit 1; }; }
8289 cat >conftest.$ac_ext <<_ACEOF
8290 /* confdefs.h. */
8291 _ACEOF
8292 cat confdefs.h >>conftest.$ac_ext
8293 cat >>conftest.$ac_ext <<_ACEOF
8294 /* end confdefs.h. */
8296 /* Override any gcc2 internal prototype to avoid an error. */
8297 #ifdef __cplusplus
8298 extern "C"
8299 #endif
8300 /* We use char because int might match the return type of a gcc2
8301 builtin and then its argument prototype would still apply. */
8302 char sin ();
8304 main ()
8306 sin ();
8308 return 0;
8310 _ACEOF
8311 rm -f conftest.$ac_objext conftest$ac_exeext
8312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8313 (eval $ac_link) 2>conftest.er1
8314 ac_status=$?
8315 grep -v '^ *+' conftest.er1 >conftest.err
8316 rm -f conftest.er1
8317 cat conftest.err >&5
8318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8319 (exit $ac_status); } &&
8320 { ac_try='test -z "$ac_c_werror_flag"
8321 || test ! -s conftest.err'
8322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8323 (eval $ac_try) 2>&5
8324 ac_status=$?
8325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8326 (exit $ac_status); }; } &&
8327 { ac_try='test -s conftest$ac_exeext'
8328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8329 (eval $ac_try) 2>&5
8330 ac_status=$?
8331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8332 (exit $ac_status); }; }; then
8333 ac_cv_lib_m_sin=yes
8334 else
8335 echo "$as_me: failed program was:" >&5
8336 sed 's/^/| /' conftest.$ac_ext >&5
8338 ac_cv_lib_m_sin=no
8340 rm -f conftest.err conftest.$ac_objext \
8341 conftest$ac_exeext conftest.$ac_ext
8342 LIBS=$ac_check_lib_save_LIBS
8344 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
8345 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
8346 if test $ac_cv_lib_m_sin = yes; then
8347 libm="-lm"
8350 ac_save_LIBS="$LIBS"
8351 LIBS="$LIBS $libm"
8355 echo "$as_me:$LINENO: checking for isinf declaration" >&5
8356 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
8357 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
8358 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
8359 echo $ECHO_N "(cached) $ECHO_C" >&6
8360 else
8364 ac_ext=cc
8365 ac_cpp='$CXXCPP $CPPFLAGS'
8366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8370 cat >conftest.$ac_ext <<_ACEOF
8371 /* confdefs.h. */
8372 _ACEOF
8373 cat confdefs.h >>conftest.$ac_ext
8374 cat >>conftest.$ac_ext <<_ACEOF
8375 /* end confdefs.h. */
8376 #include <math.h>
8377 #ifdef HAVE_IEEEFP_H
8378 #include <ieeefp.h>
8379 #endif
8382 main ()
8384 isinf(0);
8386 return 0;
8388 _ACEOF
8389 rm -f conftest.$ac_objext
8390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8391 (eval $ac_compile) 2>conftest.er1
8392 ac_status=$?
8393 grep -v '^ *+' conftest.er1 >conftest.err
8394 rm -f conftest.er1
8395 cat conftest.err >&5
8396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8397 (exit $ac_status); } &&
8398 { ac_try='test -z "$ac_cxx_werror_flag"
8399 || test ! -s conftest.err'
8400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8401 (eval $ac_try) 2>&5
8402 ac_status=$?
8403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8404 (exit $ac_status); }; } &&
8405 { ac_try='test -s conftest.$ac_objext'
8406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8407 (eval $ac_try) 2>&5
8408 ac_status=$?
8409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8410 (exit $ac_status); }; }; then
8411 glibcxx_cv_func_isinf_use=yes
8412 else
8413 echo "$as_me: failed program was:" >&5
8414 sed 's/^/| /' conftest.$ac_ext >&5
8416 glibcxx_cv_func_isinf_use=no
8418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8419 ac_ext=c
8420 ac_cpp='$CPP $CPPFLAGS'
8421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8429 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
8430 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
8432 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
8434 for ac_func in isinf
8436 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8437 echo "$as_me:$LINENO: checking for $ac_func" >&5
8438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8439 if eval "test \"\${$as_ac_var+set}\" = set"; then
8440 echo $ECHO_N "(cached) $ECHO_C" >&6
8441 else
8442 if test x$gcc_no_link = xyes; then
8443 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8444 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8445 { (exit 1); exit 1; }; }
8447 cat >conftest.$ac_ext <<_ACEOF
8448 /* confdefs.h. */
8449 _ACEOF
8450 cat confdefs.h >>conftest.$ac_ext
8451 cat >>conftest.$ac_ext <<_ACEOF
8452 /* end confdefs.h. */
8453 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8454 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8455 #define $ac_func innocuous_$ac_func
8457 /* System header to define __stub macros and hopefully few prototypes,
8458 which can conflict with char $ac_func (); below.
8459 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8460 <limits.h> exists even on freestanding compilers. */
8462 #ifdef __STDC__
8463 # include <limits.h>
8464 #else
8465 # include <assert.h>
8466 #endif
8468 #undef $ac_func
8470 /* Override any gcc2 internal prototype to avoid an error. */
8471 #ifdef __cplusplus
8472 extern "C"
8474 #endif
8475 /* We use char because int might match the return type of a gcc2
8476 builtin and then its argument prototype would still apply. */
8477 char $ac_func ();
8478 /* The GNU C library defines this for functions which it implements
8479 to always fail with ENOSYS. Some functions are actually named
8480 something starting with __ and the normal name is an alias. */
8481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8482 choke me
8483 #else
8484 char (*f) () = $ac_func;
8485 #endif
8486 #ifdef __cplusplus
8488 #endif
8491 main ()
8493 return f != $ac_func;
8495 return 0;
8497 _ACEOF
8498 rm -f conftest.$ac_objext conftest$ac_exeext
8499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8500 (eval $ac_link) 2>conftest.er1
8501 ac_status=$?
8502 grep -v '^ *+' conftest.er1 >conftest.err
8503 rm -f conftest.er1
8504 cat conftest.err >&5
8505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8506 (exit $ac_status); } &&
8507 { ac_try='test -z "$ac_c_werror_flag"
8508 || test ! -s conftest.err'
8509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8510 (eval $ac_try) 2>&5
8511 ac_status=$?
8512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8513 (exit $ac_status); }; } &&
8514 { ac_try='test -s conftest$ac_exeext'
8515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8516 (eval $ac_try) 2>&5
8517 ac_status=$?
8518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8519 (exit $ac_status); }; }; then
8520 eval "$as_ac_var=yes"
8521 else
8522 echo "$as_me: failed program was:" >&5
8523 sed 's/^/| /' conftest.$ac_ext >&5
8525 eval "$as_ac_var=no"
8527 rm -f conftest.err conftest.$ac_objext \
8528 conftest$ac_exeext conftest.$ac_ext
8530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8531 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8532 if test `eval echo '${'$as_ac_var'}'` = yes; then
8533 cat >>confdefs.h <<_ACEOF
8534 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8535 _ACEOF
8538 done
8540 else
8542 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
8543 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
8544 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
8545 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
8546 echo $ECHO_N "(cached) $ECHO_C" >&6
8547 else
8551 ac_ext=cc
8552 ac_cpp='$CXXCPP $CPPFLAGS'
8553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8557 cat >conftest.$ac_ext <<_ACEOF
8558 /* confdefs.h. */
8559 _ACEOF
8560 cat confdefs.h >>conftest.$ac_ext
8561 cat >>conftest.$ac_ext <<_ACEOF
8562 /* end confdefs.h. */
8563 #include <math.h>
8564 #ifdef HAVE_IEEEFP_H
8565 #include <ieeefp.h>
8566 #endif
8569 main ()
8571 _isinf(0);
8573 return 0;
8575 _ACEOF
8576 rm -f conftest.$ac_objext
8577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8578 (eval $ac_compile) 2>conftest.er1
8579 ac_status=$?
8580 grep -v '^ *+' conftest.er1 >conftest.err
8581 rm -f conftest.er1
8582 cat conftest.err >&5
8583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8584 (exit $ac_status); } &&
8585 { ac_try='test -z "$ac_cxx_werror_flag"
8586 || test ! -s conftest.err'
8587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8588 (eval $ac_try) 2>&5
8589 ac_status=$?
8590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8591 (exit $ac_status); }; } &&
8592 { ac_try='test -s conftest.$ac_objext'
8593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8594 (eval $ac_try) 2>&5
8595 ac_status=$?
8596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8597 (exit $ac_status); }; }; then
8598 glibcxx_cv_func__isinf_use=yes
8599 else
8600 echo "$as_me: failed program was:" >&5
8601 sed 's/^/| /' conftest.$ac_ext >&5
8603 glibcxx_cv_func__isinf_use=no
8605 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8606 ac_ext=c
8607 ac_cpp='$CPP $CPPFLAGS'
8608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8616 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
8617 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
8619 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
8621 for ac_func in _isinf
8623 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8624 echo "$as_me:$LINENO: checking for $ac_func" >&5
8625 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8626 if eval "test \"\${$as_ac_var+set}\" = set"; then
8627 echo $ECHO_N "(cached) $ECHO_C" >&6
8628 else
8629 if test x$gcc_no_link = xyes; then
8630 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8631 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8632 { (exit 1); exit 1; }; }
8634 cat >conftest.$ac_ext <<_ACEOF
8635 /* confdefs.h. */
8636 _ACEOF
8637 cat confdefs.h >>conftest.$ac_ext
8638 cat >>conftest.$ac_ext <<_ACEOF
8639 /* end confdefs.h. */
8640 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8641 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8642 #define $ac_func innocuous_$ac_func
8644 /* System header to define __stub macros and hopefully few prototypes,
8645 which can conflict with char $ac_func (); below.
8646 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8647 <limits.h> exists even on freestanding compilers. */
8649 #ifdef __STDC__
8650 # include <limits.h>
8651 #else
8652 # include <assert.h>
8653 #endif
8655 #undef $ac_func
8657 /* Override any gcc2 internal prototype to avoid an error. */
8658 #ifdef __cplusplus
8659 extern "C"
8661 #endif
8662 /* We use char because int might match the return type of a gcc2
8663 builtin and then its argument prototype would still apply. */
8664 char $ac_func ();
8665 /* The GNU C library defines this for functions which it implements
8666 to always fail with ENOSYS. Some functions are actually named
8667 something starting with __ and the normal name is an alias. */
8668 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8669 choke me
8670 #else
8671 char (*f) () = $ac_func;
8672 #endif
8673 #ifdef __cplusplus
8675 #endif
8678 main ()
8680 return f != $ac_func;
8682 return 0;
8684 _ACEOF
8685 rm -f conftest.$ac_objext conftest$ac_exeext
8686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8687 (eval $ac_link) 2>conftest.er1
8688 ac_status=$?
8689 grep -v '^ *+' conftest.er1 >conftest.err
8690 rm -f conftest.er1
8691 cat conftest.err >&5
8692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8693 (exit $ac_status); } &&
8694 { ac_try='test -z "$ac_c_werror_flag"
8695 || test ! -s conftest.err'
8696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8697 (eval $ac_try) 2>&5
8698 ac_status=$?
8699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8700 (exit $ac_status); }; } &&
8701 { ac_try='test -s conftest$ac_exeext'
8702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8703 (eval $ac_try) 2>&5
8704 ac_status=$?
8705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8706 (exit $ac_status); }; }; then
8707 eval "$as_ac_var=yes"
8708 else
8709 echo "$as_me: failed program was:" >&5
8710 sed 's/^/| /' conftest.$ac_ext >&5
8712 eval "$as_ac_var=no"
8714 rm -f conftest.err conftest.$ac_objext \
8715 conftest$ac_exeext conftest.$ac_ext
8717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8718 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8719 if test `eval echo '${'$as_ac_var'}'` = yes; then
8720 cat >>confdefs.h <<_ACEOF
8721 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8722 _ACEOF
8725 done
8732 echo "$as_me:$LINENO: checking for isnan declaration" >&5
8733 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
8734 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
8735 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
8736 echo $ECHO_N "(cached) $ECHO_C" >&6
8737 else
8741 ac_ext=cc
8742 ac_cpp='$CXXCPP $CPPFLAGS'
8743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8747 cat >conftest.$ac_ext <<_ACEOF
8748 /* confdefs.h. */
8749 _ACEOF
8750 cat confdefs.h >>conftest.$ac_ext
8751 cat >>conftest.$ac_ext <<_ACEOF
8752 /* end confdefs.h. */
8753 #include <math.h>
8754 #ifdef HAVE_IEEEFP_H
8755 #include <ieeefp.h>
8756 #endif
8759 main ()
8761 isnan(0);
8763 return 0;
8765 _ACEOF
8766 rm -f conftest.$ac_objext
8767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8768 (eval $ac_compile) 2>conftest.er1
8769 ac_status=$?
8770 grep -v '^ *+' conftest.er1 >conftest.err
8771 rm -f conftest.er1
8772 cat conftest.err >&5
8773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8774 (exit $ac_status); } &&
8775 { ac_try='test -z "$ac_cxx_werror_flag"
8776 || 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_objext'
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 glibcxx_cv_func_isnan_use=yes
8789 else
8790 echo "$as_me: failed program was:" >&5
8791 sed 's/^/| /' conftest.$ac_ext >&5
8793 glibcxx_cv_func_isnan_use=no
8795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8796 ac_ext=c
8797 ac_cpp='$CPP $CPPFLAGS'
8798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8806 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
8807 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
8809 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
8811 for ac_func in isnan
8813 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8814 echo "$as_me:$LINENO: checking for $ac_func" >&5
8815 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8816 if eval "test \"\${$as_ac_var+set}\" = set"; then
8817 echo $ECHO_N "(cached) $ECHO_C" >&6
8818 else
8819 if test x$gcc_no_link = xyes; then
8820 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8822 { (exit 1); exit 1; }; }
8824 cat >conftest.$ac_ext <<_ACEOF
8825 /* confdefs.h. */
8826 _ACEOF
8827 cat confdefs.h >>conftest.$ac_ext
8828 cat >>conftest.$ac_ext <<_ACEOF
8829 /* end confdefs.h. */
8830 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8832 #define $ac_func innocuous_$ac_func
8834 /* System header to define __stub macros and hopefully few prototypes,
8835 which can conflict with char $ac_func (); below.
8836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8837 <limits.h> exists even on freestanding compilers. */
8839 #ifdef __STDC__
8840 # include <limits.h>
8841 #else
8842 # include <assert.h>
8843 #endif
8845 #undef $ac_func
8847 /* Override any gcc2 internal prototype to avoid an error. */
8848 #ifdef __cplusplus
8849 extern "C"
8851 #endif
8852 /* We use char because int might match the return type of a gcc2
8853 builtin and then its argument prototype would still apply. */
8854 char $ac_func ();
8855 /* The GNU C library defines this for functions which it implements
8856 to always fail with ENOSYS. Some functions are actually named
8857 something starting with __ and the normal name is an alias. */
8858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8859 choke me
8860 #else
8861 char (*f) () = $ac_func;
8862 #endif
8863 #ifdef __cplusplus
8865 #endif
8868 main ()
8870 return f != $ac_func;
8872 return 0;
8874 _ACEOF
8875 rm -f conftest.$ac_objext conftest$ac_exeext
8876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8877 (eval $ac_link) 2>conftest.er1
8878 ac_status=$?
8879 grep -v '^ *+' conftest.er1 >conftest.err
8880 rm -f conftest.er1
8881 cat conftest.err >&5
8882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8883 (exit $ac_status); } &&
8884 { ac_try='test -z "$ac_c_werror_flag"
8885 || test ! -s conftest.err'
8886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8887 (eval $ac_try) 2>&5
8888 ac_status=$?
8889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8890 (exit $ac_status); }; } &&
8891 { ac_try='test -s conftest$ac_exeext'
8892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8893 (eval $ac_try) 2>&5
8894 ac_status=$?
8895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8896 (exit $ac_status); }; }; then
8897 eval "$as_ac_var=yes"
8898 else
8899 echo "$as_me: failed program was:" >&5
8900 sed 's/^/| /' conftest.$ac_ext >&5
8902 eval "$as_ac_var=no"
8904 rm -f conftest.err conftest.$ac_objext \
8905 conftest$ac_exeext conftest.$ac_ext
8907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8908 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8909 if test `eval echo '${'$as_ac_var'}'` = yes; then
8910 cat >>confdefs.h <<_ACEOF
8911 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8912 _ACEOF
8915 done
8917 else
8919 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
8920 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
8921 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
8922 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
8923 echo $ECHO_N "(cached) $ECHO_C" >&6
8924 else
8928 ac_ext=cc
8929 ac_cpp='$CXXCPP $CPPFLAGS'
8930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8934 cat >conftest.$ac_ext <<_ACEOF
8935 /* confdefs.h. */
8936 _ACEOF
8937 cat confdefs.h >>conftest.$ac_ext
8938 cat >>conftest.$ac_ext <<_ACEOF
8939 /* end confdefs.h. */
8940 #include <math.h>
8941 #ifdef HAVE_IEEEFP_H
8942 #include <ieeefp.h>
8943 #endif
8946 main ()
8948 _isnan(0);
8950 return 0;
8952 _ACEOF
8953 rm -f conftest.$ac_objext
8954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8955 (eval $ac_compile) 2>conftest.er1
8956 ac_status=$?
8957 grep -v '^ *+' conftest.er1 >conftest.err
8958 rm -f conftest.er1
8959 cat conftest.err >&5
8960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8961 (exit $ac_status); } &&
8962 { ac_try='test -z "$ac_cxx_werror_flag"
8963 || test ! -s conftest.err'
8964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8965 (eval $ac_try) 2>&5
8966 ac_status=$?
8967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8968 (exit $ac_status); }; } &&
8969 { ac_try='test -s conftest.$ac_objext'
8970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8971 (eval $ac_try) 2>&5
8972 ac_status=$?
8973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8974 (exit $ac_status); }; }; then
8975 glibcxx_cv_func__isnan_use=yes
8976 else
8977 echo "$as_me: failed program was:" >&5
8978 sed 's/^/| /' conftest.$ac_ext >&5
8980 glibcxx_cv_func__isnan_use=no
8982 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8983 ac_ext=c
8984 ac_cpp='$CPP $CPPFLAGS'
8985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8993 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
8994 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
8996 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
8998 for ac_func in _isnan
9000 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9001 echo "$as_me:$LINENO: checking for $ac_func" >&5
9002 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9003 if eval "test \"\${$as_ac_var+set}\" = set"; then
9004 echo $ECHO_N "(cached) $ECHO_C" >&6
9005 else
9006 if test x$gcc_no_link = xyes; then
9007 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9008 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9009 { (exit 1); exit 1; }; }
9011 cat >conftest.$ac_ext <<_ACEOF
9012 /* confdefs.h. */
9013 _ACEOF
9014 cat confdefs.h >>conftest.$ac_ext
9015 cat >>conftest.$ac_ext <<_ACEOF
9016 /* end confdefs.h. */
9017 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9018 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9019 #define $ac_func innocuous_$ac_func
9021 /* System header to define __stub macros and hopefully few prototypes,
9022 which can conflict with char $ac_func (); below.
9023 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9024 <limits.h> exists even on freestanding compilers. */
9026 #ifdef __STDC__
9027 # include <limits.h>
9028 #else
9029 # include <assert.h>
9030 #endif
9032 #undef $ac_func
9034 /* Override any gcc2 internal prototype to avoid an error. */
9035 #ifdef __cplusplus
9036 extern "C"
9038 #endif
9039 /* We use char because int might match the return type of a gcc2
9040 builtin and then its argument prototype would still apply. */
9041 char $ac_func ();
9042 /* The GNU C library defines this for functions which it implements
9043 to always fail with ENOSYS. Some functions are actually named
9044 something starting with __ and the normal name is an alias. */
9045 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9046 choke me
9047 #else
9048 char (*f) () = $ac_func;
9049 #endif
9050 #ifdef __cplusplus
9052 #endif
9055 main ()
9057 return f != $ac_func;
9059 return 0;
9061 _ACEOF
9062 rm -f conftest.$ac_objext conftest$ac_exeext
9063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9064 (eval $ac_link) 2>conftest.er1
9065 ac_status=$?
9066 grep -v '^ *+' conftest.er1 >conftest.err
9067 rm -f conftest.er1
9068 cat conftest.err >&5
9069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9070 (exit $ac_status); } &&
9071 { ac_try='test -z "$ac_c_werror_flag"
9072 || test ! -s conftest.err'
9073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9074 (eval $ac_try) 2>&5
9075 ac_status=$?
9076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9077 (exit $ac_status); }; } &&
9078 { ac_try='test -s conftest$ac_exeext'
9079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9080 (eval $ac_try) 2>&5
9081 ac_status=$?
9082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9083 (exit $ac_status); }; }; then
9084 eval "$as_ac_var=yes"
9085 else
9086 echo "$as_me: failed program was:" >&5
9087 sed 's/^/| /' conftest.$ac_ext >&5
9089 eval "$as_ac_var=no"
9091 rm -f conftest.err conftest.$ac_objext \
9092 conftest$ac_exeext conftest.$ac_ext
9094 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9095 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9096 if test `eval echo '${'$as_ac_var'}'` = yes; then
9097 cat >>confdefs.h <<_ACEOF
9098 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9099 _ACEOF
9102 done
9109 echo "$as_me:$LINENO: checking for finite declaration" >&5
9110 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
9111 if test x${glibcxx_cv_func_finite_use+set} != xset; then
9112 if test "${glibcxx_cv_func_finite_use+set}" = set; then
9113 echo $ECHO_N "(cached) $ECHO_C" >&6
9114 else
9118 ac_ext=cc
9119 ac_cpp='$CXXCPP $CPPFLAGS'
9120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9124 cat >conftest.$ac_ext <<_ACEOF
9125 /* confdefs.h. */
9126 _ACEOF
9127 cat confdefs.h >>conftest.$ac_ext
9128 cat >>conftest.$ac_ext <<_ACEOF
9129 /* end confdefs.h. */
9130 #include <math.h>
9131 #ifdef HAVE_IEEEFP_H
9132 #include <ieeefp.h>
9133 #endif
9136 main ()
9138 finite(0);
9140 return 0;
9142 _ACEOF
9143 rm -f conftest.$ac_objext
9144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9145 (eval $ac_compile) 2>conftest.er1
9146 ac_status=$?
9147 grep -v '^ *+' conftest.er1 >conftest.err
9148 rm -f conftest.er1
9149 cat conftest.err >&5
9150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9151 (exit $ac_status); } &&
9152 { ac_try='test -z "$ac_cxx_werror_flag"
9153 || test ! -s conftest.err'
9154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9155 (eval $ac_try) 2>&5
9156 ac_status=$?
9157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9158 (exit $ac_status); }; } &&
9159 { ac_try='test -s conftest.$ac_objext'
9160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9161 (eval $ac_try) 2>&5
9162 ac_status=$?
9163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9164 (exit $ac_status); }; }; then
9165 glibcxx_cv_func_finite_use=yes
9166 else
9167 echo "$as_me: failed program was:" >&5
9168 sed 's/^/| /' conftest.$ac_ext >&5
9170 glibcxx_cv_func_finite_use=no
9172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9173 ac_ext=c
9174 ac_cpp='$CPP $CPPFLAGS'
9175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9183 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
9184 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
9186 if test x$glibcxx_cv_func_finite_use = x"yes"; then
9188 for ac_func in finite
9190 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9191 echo "$as_me:$LINENO: checking for $ac_func" >&5
9192 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9193 if eval "test \"\${$as_ac_var+set}\" = set"; then
9194 echo $ECHO_N "(cached) $ECHO_C" >&6
9195 else
9196 if test x$gcc_no_link = xyes; then
9197 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9198 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9199 { (exit 1); exit 1; }; }
9201 cat >conftest.$ac_ext <<_ACEOF
9202 /* confdefs.h. */
9203 _ACEOF
9204 cat confdefs.h >>conftest.$ac_ext
9205 cat >>conftest.$ac_ext <<_ACEOF
9206 /* end confdefs.h. */
9207 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9208 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9209 #define $ac_func innocuous_$ac_func
9211 /* System header to define __stub macros and hopefully few prototypes,
9212 which can conflict with char $ac_func (); below.
9213 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9214 <limits.h> exists even on freestanding compilers. */
9216 #ifdef __STDC__
9217 # include <limits.h>
9218 #else
9219 # include <assert.h>
9220 #endif
9222 #undef $ac_func
9224 /* Override any gcc2 internal prototype to avoid an error. */
9225 #ifdef __cplusplus
9226 extern "C"
9228 #endif
9229 /* We use char because int might match the return type of a gcc2
9230 builtin and then its argument prototype would still apply. */
9231 char $ac_func ();
9232 /* The GNU C library defines this for functions which it implements
9233 to always fail with ENOSYS. Some functions are actually named
9234 something starting with __ and the normal name is an alias. */
9235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9236 choke me
9237 #else
9238 char (*f) () = $ac_func;
9239 #endif
9240 #ifdef __cplusplus
9242 #endif
9245 main ()
9247 return f != $ac_func;
9249 return 0;
9251 _ACEOF
9252 rm -f conftest.$ac_objext conftest$ac_exeext
9253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9254 (eval $ac_link) 2>conftest.er1
9255 ac_status=$?
9256 grep -v '^ *+' conftest.er1 >conftest.err
9257 rm -f conftest.er1
9258 cat conftest.err >&5
9259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9260 (exit $ac_status); } &&
9261 { ac_try='test -z "$ac_c_werror_flag"
9262 || test ! -s conftest.err'
9263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9264 (eval $ac_try) 2>&5
9265 ac_status=$?
9266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9267 (exit $ac_status); }; } &&
9268 { ac_try='test -s conftest$ac_exeext'
9269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9270 (eval $ac_try) 2>&5
9271 ac_status=$?
9272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9273 (exit $ac_status); }; }; then
9274 eval "$as_ac_var=yes"
9275 else
9276 echo "$as_me: failed program was:" >&5
9277 sed 's/^/| /' conftest.$ac_ext >&5
9279 eval "$as_ac_var=no"
9281 rm -f conftest.err conftest.$ac_objext \
9282 conftest$ac_exeext conftest.$ac_ext
9284 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9285 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9286 if test `eval echo '${'$as_ac_var'}'` = yes; then
9287 cat >>confdefs.h <<_ACEOF
9288 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9289 _ACEOF
9292 done
9294 else
9296 echo "$as_me:$LINENO: checking for _finite declaration" >&5
9297 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
9298 if test x${glibcxx_cv_func__finite_use+set} != xset; then
9299 if test "${glibcxx_cv_func__finite_use+set}" = set; then
9300 echo $ECHO_N "(cached) $ECHO_C" >&6
9301 else
9305 ac_ext=cc
9306 ac_cpp='$CXXCPP $CPPFLAGS'
9307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9311 cat >conftest.$ac_ext <<_ACEOF
9312 /* confdefs.h. */
9313 _ACEOF
9314 cat confdefs.h >>conftest.$ac_ext
9315 cat >>conftest.$ac_ext <<_ACEOF
9316 /* end confdefs.h. */
9317 #include <math.h>
9318 #ifdef HAVE_IEEEFP_H
9319 #include <ieeefp.h>
9320 #endif
9323 main ()
9325 _finite(0);
9327 return 0;
9329 _ACEOF
9330 rm -f conftest.$ac_objext
9331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9332 (eval $ac_compile) 2>conftest.er1
9333 ac_status=$?
9334 grep -v '^ *+' conftest.er1 >conftest.err
9335 rm -f conftest.er1
9336 cat conftest.err >&5
9337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9338 (exit $ac_status); } &&
9339 { ac_try='test -z "$ac_cxx_werror_flag"
9340 || test ! -s conftest.err'
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); }; } &&
9346 { ac_try='test -s conftest.$ac_objext'
9347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9348 (eval $ac_try) 2>&5
9349 ac_status=$?
9350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9351 (exit $ac_status); }; }; then
9352 glibcxx_cv_func__finite_use=yes
9353 else
9354 echo "$as_me: failed program was:" >&5
9355 sed 's/^/| /' conftest.$ac_ext >&5
9357 glibcxx_cv_func__finite_use=no
9359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9360 ac_ext=c
9361 ac_cpp='$CPP $CPPFLAGS'
9362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9370 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
9371 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
9373 if test x$glibcxx_cv_func__finite_use = x"yes"; then
9375 for ac_func in _finite
9377 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9378 echo "$as_me:$LINENO: checking for $ac_func" >&5
9379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9380 if eval "test \"\${$as_ac_var+set}\" = set"; then
9381 echo $ECHO_N "(cached) $ECHO_C" >&6
9382 else
9383 if test x$gcc_no_link = xyes; then
9384 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9385 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9386 { (exit 1); exit 1; }; }
9388 cat >conftest.$ac_ext <<_ACEOF
9389 /* confdefs.h. */
9390 _ACEOF
9391 cat confdefs.h >>conftest.$ac_ext
9392 cat >>conftest.$ac_ext <<_ACEOF
9393 /* end confdefs.h. */
9394 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9395 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9396 #define $ac_func innocuous_$ac_func
9398 /* System header to define __stub macros and hopefully few prototypes,
9399 which can conflict with char $ac_func (); below.
9400 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9401 <limits.h> exists even on freestanding compilers. */
9403 #ifdef __STDC__
9404 # include <limits.h>
9405 #else
9406 # include <assert.h>
9407 #endif
9409 #undef $ac_func
9411 /* Override any gcc2 internal prototype to avoid an error. */
9412 #ifdef __cplusplus
9413 extern "C"
9415 #endif
9416 /* We use char because int might match the return type of a gcc2
9417 builtin and then its argument prototype would still apply. */
9418 char $ac_func ();
9419 /* The GNU C library defines this for functions which it implements
9420 to always fail with ENOSYS. Some functions are actually named
9421 something starting with __ and the normal name is an alias. */
9422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9423 choke me
9424 #else
9425 char (*f) () = $ac_func;
9426 #endif
9427 #ifdef __cplusplus
9429 #endif
9432 main ()
9434 return f != $ac_func;
9436 return 0;
9438 _ACEOF
9439 rm -f conftest.$ac_objext conftest$ac_exeext
9440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9441 (eval $ac_link) 2>conftest.er1
9442 ac_status=$?
9443 grep -v '^ *+' conftest.er1 >conftest.err
9444 rm -f conftest.er1
9445 cat conftest.err >&5
9446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9447 (exit $ac_status); } &&
9448 { ac_try='test -z "$ac_c_werror_flag"
9449 || test ! -s conftest.err'
9450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9451 (eval $ac_try) 2>&5
9452 ac_status=$?
9453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9454 (exit $ac_status); }; } &&
9455 { ac_try='test -s conftest$ac_exeext'
9456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9457 (eval $ac_try) 2>&5
9458 ac_status=$?
9459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9460 (exit $ac_status); }; }; then
9461 eval "$as_ac_var=yes"
9462 else
9463 echo "$as_me: failed program was:" >&5
9464 sed 's/^/| /' conftest.$ac_ext >&5
9466 eval "$as_ac_var=no"
9468 rm -f conftest.err conftest.$ac_objext \
9469 conftest$ac_exeext conftest.$ac_ext
9471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9472 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9473 if test `eval echo '${'$as_ac_var'}'` = yes; then
9474 cat >>confdefs.h <<_ACEOF
9475 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9476 _ACEOF
9479 done
9486 echo "$as_me:$LINENO: checking for copysign declaration" >&5
9487 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
9488 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
9489 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
9490 echo $ECHO_N "(cached) $ECHO_C" >&6
9491 else
9495 ac_ext=cc
9496 ac_cpp='$CXXCPP $CPPFLAGS'
9497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9501 cat >conftest.$ac_ext <<_ACEOF
9502 /* confdefs.h. */
9503 _ACEOF
9504 cat confdefs.h >>conftest.$ac_ext
9505 cat >>conftest.$ac_ext <<_ACEOF
9506 /* end confdefs.h. */
9507 #include <math.h>
9509 main ()
9511 copysign(0, 0);
9513 return 0;
9515 _ACEOF
9516 rm -f conftest.$ac_objext
9517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9518 (eval $ac_compile) 2>conftest.er1
9519 ac_status=$?
9520 grep -v '^ *+' conftest.er1 >conftest.err
9521 rm -f conftest.er1
9522 cat conftest.err >&5
9523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9524 (exit $ac_status); } &&
9525 { ac_try='test -z "$ac_cxx_werror_flag"
9526 || test ! -s conftest.err'
9527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9528 (eval $ac_try) 2>&5
9529 ac_status=$?
9530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9531 (exit $ac_status); }; } &&
9532 { ac_try='test -s conftest.$ac_objext'
9533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9534 (eval $ac_try) 2>&5
9535 ac_status=$?
9536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9537 (exit $ac_status); }; }; then
9538 glibcxx_cv_func_copysign_use=yes
9539 else
9540 echo "$as_me: failed program was:" >&5
9541 sed 's/^/| /' conftest.$ac_ext >&5
9543 glibcxx_cv_func_copysign_use=no
9545 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9546 ac_ext=c
9547 ac_cpp='$CPP $CPPFLAGS'
9548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9556 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
9557 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
9559 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
9561 for ac_func in copysign
9563 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9564 echo "$as_me:$LINENO: checking for $ac_func" >&5
9565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9566 if eval "test \"\${$as_ac_var+set}\" = set"; then
9567 echo $ECHO_N "(cached) $ECHO_C" >&6
9568 else
9569 if test x$gcc_no_link = xyes; then
9570 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9572 { (exit 1); exit 1; }; }
9574 cat >conftest.$ac_ext <<_ACEOF
9575 /* confdefs.h. */
9576 _ACEOF
9577 cat confdefs.h >>conftest.$ac_ext
9578 cat >>conftest.$ac_ext <<_ACEOF
9579 /* end confdefs.h. */
9580 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9581 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9582 #define $ac_func innocuous_$ac_func
9584 /* System header to define __stub macros and hopefully few prototypes,
9585 which can conflict with char $ac_func (); below.
9586 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9587 <limits.h> exists even on freestanding compilers. */
9589 #ifdef __STDC__
9590 # include <limits.h>
9591 #else
9592 # include <assert.h>
9593 #endif
9595 #undef $ac_func
9597 /* Override any gcc2 internal prototype to avoid an error. */
9598 #ifdef __cplusplus
9599 extern "C"
9601 #endif
9602 /* We use char because int might match the return type of a gcc2
9603 builtin and then its argument prototype would still apply. */
9604 char $ac_func ();
9605 /* The GNU C library defines this for functions which it implements
9606 to always fail with ENOSYS. Some functions are actually named
9607 something starting with __ and the normal name is an alias. */
9608 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9609 choke me
9610 #else
9611 char (*f) () = $ac_func;
9612 #endif
9613 #ifdef __cplusplus
9615 #endif
9618 main ()
9620 return f != $ac_func;
9622 return 0;
9624 _ACEOF
9625 rm -f conftest.$ac_objext conftest$ac_exeext
9626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9627 (eval $ac_link) 2>conftest.er1
9628 ac_status=$?
9629 grep -v '^ *+' conftest.er1 >conftest.err
9630 rm -f conftest.er1
9631 cat conftest.err >&5
9632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9633 (exit $ac_status); } &&
9634 { ac_try='test -z "$ac_c_werror_flag"
9635 || test ! -s conftest.err'
9636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9637 (eval $ac_try) 2>&5
9638 ac_status=$?
9639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9640 (exit $ac_status); }; } &&
9641 { ac_try='test -s conftest$ac_exeext'
9642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9643 (eval $ac_try) 2>&5
9644 ac_status=$?
9645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9646 (exit $ac_status); }; }; then
9647 eval "$as_ac_var=yes"
9648 else
9649 echo "$as_me: failed program was:" >&5
9650 sed 's/^/| /' conftest.$ac_ext >&5
9652 eval "$as_ac_var=no"
9654 rm -f conftest.err conftest.$ac_objext \
9655 conftest$ac_exeext conftest.$ac_ext
9657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9658 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9659 if test `eval echo '${'$as_ac_var'}'` = yes; then
9660 cat >>confdefs.h <<_ACEOF
9661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9662 _ACEOF
9665 done
9667 else
9669 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
9670 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
9671 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
9672 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
9673 echo $ECHO_N "(cached) $ECHO_C" >&6
9674 else
9678 ac_ext=cc
9679 ac_cpp='$CXXCPP $CPPFLAGS'
9680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9684 cat >conftest.$ac_ext <<_ACEOF
9685 /* confdefs.h. */
9686 _ACEOF
9687 cat confdefs.h >>conftest.$ac_ext
9688 cat >>conftest.$ac_ext <<_ACEOF
9689 /* end confdefs.h. */
9690 #include <math.h>
9692 main ()
9694 _copysign(0, 0);
9696 return 0;
9698 _ACEOF
9699 rm -f conftest.$ac_objext
9700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9701 (eval $ac_compile) 2>conftest.er1
9702 ac_status=$?
9703 grep -v '^ *+' conftest.er1 >conftest.err
9704 rm -f conftest.er1
9705 cat conftest.err >&5
9706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9707 (exit $ac_status); } &&
9708 { ac_try='test -z "$ac_cxx_werror_flag"
9709 || test ! -s conftest.err'
9710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9711 (eval $ac_try) 2>&5
9712 ac_status=$?
9713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9714 (exit $ac_status); }; } &&
9715 { ac_try='test -s conftest.$ac_objext'
9716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9717 (eval $ac_try) 2>&5
9718 ac_status=$?
9719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9720 (exit $ac_status); }; }; then
9721 glibcxx_cv_func__copysign_use=yes
9722 else
9723 echo "$as_me: failed program was:" >&5
9724 sed 's/^/| /' conftest.$ac_ext >&5
9726 glibcxx_cv_func__copysign_use=no
9728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9729 ac_ext=c
9730 ac_cpp='$CPP $CPPFLAGS'
9731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9739 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
9740 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
9742 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
9744 for ac_func in _copysign
9746 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9747 echo "$as_me:$LINENO: checking for $ac_func" >&5
9748 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9749 if eval "test \"\${$as_ac_var+set}\" = set"; then
9750 echo $ECHO_N "(cached) $ECHO_C" >&6
9751 else
9752 if test x$gcc_no_link = xyes; then
9753 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9754 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9755 { (exit 1); exit 1; }; }
9757 cat >conftest.$ac_ext <<_ACEOF
9758 /* confdefs.h. */
9759 _ACEOF
9760 cat confdefs.h >>conftest.$ac_ext
9761 cat >>conftest.$ac_ext <<_ACEOF
9762 /* end confdefs.h. */
9763 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9764 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9765 #define $ac_func innocuous_$ac_func
9767 /* System header to define __stub macros and hopefully few prototypes,
9768 which can conflict with char $ac_func (); below.
9769 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9770 <limits.h> exists even on freestanding compilers. */
9772 #ifdef __STDC__
9773 # include <limits.h>
9774 #else
9775 # include <assert.h>
9776 #endif
9778 #undef $ac_func
9780 /* Override any gcc2 internal prototype to avoid an error. */
9781 #ifdef __cplusplus
9782 extern "C"
9784 #endif
9785 /* We use char because int might match the return type of a gcc2
9786 builtin and then its argument prototype would still apply. */
9787 char $ac_func ();
9788 /* The GNU C library defines this for functions which it implements
9789 to always fail with ENOSYS. Some functions are actually named
9790 something starting with __ and the normal name is an alias. */
9791 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9792 choke me
9793 #else
9794 char (*f) () = $ac_func;
9795 #endif
9796 #ifdef __cplusplus
9798 #endif
9801 main ()
9803 return f != $ac_func;
9805 return 0;
9807 _ACEOF
9808 rm -f conftest.$ac_objext conftest$ac_exeext
9809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9810 (eval $ac_link) 2>conftest.er1
9811 ac_status=$?
9812 grep -v '^ *+' conftest.er1 >conftest.err
9813 rm -f conftest.er1
9814 cat conftest.err >&5
9815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9816 (exit $ac_status); } &&
9817 { ac_try='test -z "$ac_c_werror_flag"
9818 || test ! -s conftest.err'
9819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9820 (eval $ac_try) 2>&5
9821 ac_status=$?
9822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9823 (exit $ac_status); }; } &&
9824 { ac_try='test -s conftest$ac_exeext'
9825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9826 (eval $ac_try) 2>&5
9827 ac_status=$?
9828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9829 (exit $ac_status); }; }; then
9830 eval "$as_ac_var=yes"
9831 else
9832 echo "$as_me: failed program was:" >&5
9833 sed 's/^/| /' conftest.$ac_ext >&5
9835 eval "$as_ac_var=no"
9837 rm -f conftest.err conftest.$ac_objext \
9838 conftest$ac_exeext conftest.$ac_ext
9840 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9841 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9842 if test `eval echo '${'$as_ac_var'}'` = yes; then
9843 cat >>confdefs.h <<_ACEOF
9844 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9845 _ACEOF
9848 done
9855 echo "$as_me:$LINENO: checking for sincos declaration" >&5
9856 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
9857 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
9858 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
9859 echo $ECHO_N "(cached) $ECHO_C" >&6
9860 else
9864 ac_ext=cc
9865 ac_cpp='$CXXCPP $CPPFLAGS'
9866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9870 cat >conftest.$ac_ext <<_ACEOF
9871 /* confdefs.h. */
9872 _ACEOF
9873 cat confdefs.h >>conftest.$ac_ext
9874 cat >>conftest.$ac_ext <<_ACEOF
9875 /* end confdefs.h. */
9876 #include <math.h>
9878 main ()
9880 sincos(0, 0, 0);
9882 return 0;
9884 _ACEOF
9885 rm -f conftest.$ac_objext
9886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9887 (eval $ac_compile) 2>conftest.er1
9888 ac_status=$?
9889 grep -v '^ *+' conftest.er1 >conftest.err
9890 rm -f conftest.er1
9891 cat conftest.err >&5
9892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9893 (exit $ac_status); } &&
9894 { ac_try='test -z "$ac_cxx_werror_flag"
9895 || test ! -s conftest.err'
9896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9897 (eval $ac_try) 2>&5
9898 ac_status=$?
9899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9900 (exit $ac_status); }; } &&
9901 { ac_try='test -s conftest.$ac_objext'
9902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9903 (eval $ac_try) 2>&5
9904 ac_status=$?
9905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9906 (exit $ac_status); }; }; then
9907 glibcxx_cv_func_sincos_use=yes
9908 else
9909 echo "$as_me: failed program was:" >&5
9910 sed 's/^/| /' conftest.$ac_ext >&5
9912 glibcxx_cv_func_sincos_use=no
9914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9915 ac_ext=c
9916 ac_cpp='$CPP $CPPFLAGS'
9917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9925 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
9926 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
9928 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
9930 for ac_func in sincos
9932 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9933 echo "$as_me:$LINENO: checking for $ac_func" >&5
9934 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9935 if eval "test \"\${$as_ac_var+set}\" = set"; then
9936 echo $ECHO_N "(cached) $ECHO_C" >&6
9937 else
9938 if test x$gcc_no_link = xyes; then
9939 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9940 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9941 { (exit 1); exit 1; }; }
9943 cat >conftest.$ac_ext <<_ACEOF
9944 /* confdefs.h. */
9945 _ACEOF
9946 cat confdefs.h >>conftest.$ac_ext
9947 cat >>conftest.$ac_ext <<_ACEOF
9948 /* end confdefs.h. */
9949 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9950 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9951 #define $ac_func innocuous_$ac_func
9953 /* System header to define __stub macros and hopefully few prototypes,
9954 which can conflict with char $ac_func (); below.
9955 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9956 <limits.h> exists even on freestanding compilers. */
9958 #ifdef __STDC__
9959 # include <limits.h>
9960 #else
9961 # include <assert.h>
9962 #endif
9964 #undef $ac_func
9966 /* Override any gcc2 internal prototype to avoid an error. */
9967 #ifdef __cplusplus
9968 extern "C"
9970 #endif
9971 /* We use char because int might match the return type of a gcc2
9972 builtin and then its argument prototype would still apply. */
9973 char $ac_func ();
9974 /* The GNU C library defines this for functions which it implements
9975 to always fail with ENOSYS. Some functions are actually named
9976 something starting with __ and the normal name is an alias. */
9977 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9978 choke me
9979 #else
9980 char (*f) () = $ac_func;
9981 #endif
9982 #ifdef __cplusplus
9984 #endif
9987 main ()
9989 return f != $ac_func;
9991 return 0;
9993 _ACEOF
9994 rm -f conftest.$ac_objext conftest$ac_exeext
9995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9996 (eval $ac_link) 2>conftest.er1
9997 ac_status=$?
9998 grep -v '^ *+' conftest.er1 >conftest.err
9999 rm -f conftest.er1
10000 cat conftest.err >&5
10001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10002 (exit $ac_status); } &&
10003 { ac_try='test -z "$ac_c_werror_flag"
10004 || test ! -s conftest.err'
10005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10006 (eval $ac_try) 2>&5
10007 ac_status=$?
10008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10009 (exit $ac_status); }; } &&
10010 { ac_try='test -s conftest$ac_exeext'
10011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10012 (eval $ac_try) 2>&5
10013 ac_status=$?
10014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10015 (exit $ac_status); }; }; then
10016 eval "$as_ac_var=yes"
10017 else
10018 echo "$as_me: failed program was:" >&5
10019 sed 's/^/| /' conftest.$ac_ext >&5
10021 eval "$as_ac_var=no"
10023 rm -f conftest.err conftest.$ac_objext \
10024 conftest$ac_exeext conftest.$ac_ext
10026 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10027 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10028 if test `eval echo '${'$as_ac_var'}'` = yes; then
10029 cat >>confdefs.h <<_ACEOF
10030 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10031 _ACEOF
10034 done
10036 else
10038 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
10039 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
10040 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
10041 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
10042 echo $ECHO_N "(cached) $ECHO_C" >&6
10043 else
10047 ac_ext=cc
10048 ac_cpp='$CXXCPP $CPPFLAGS'
10049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10053 cat >conftest.$ac_ext <<_ACEOF
10054 /* confdefs.h. */
10055 _ACEOF
10056 cat confdefs.h >>conftest.$ac_ext
10057 cat >>conftest.$ac_ext <<_ACEOF
10058 /* end confdefs.h. */
10059 #include <math.h>
10061 main ()
10063 _sincos(0, 0, 0);
10065 return 0;
10067 _ACEOF
10068 rm -f conftest.$ac_objext
10069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10070 (eval $ac_compile) 2>conftest.er1
10071 ac_status=$?
10072 grep -v '^ *+' conftest.er1 >conftest.err
10073 rm -f conftest.er1
10074 cat conftest.err >&5
10075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10076 (exit $ac_status); } &&
10077 { ac_try='test -z "$ac_cxx_werror_flag"
10078 || test ! -s conftest.err'
10079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10080 (eval $ac_try) 2>&5
10081 ac_status=$?
10082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10083 (exit $ac_status); }; } &&
10084 { ac_try='test -s conftest.$ac_objext'
10085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10086 (eval $ac_try) 2>&5
10087 ac_status=$?
10088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10089 (exit $ac_status); }; }; then
10090 glibcxx_cv_func__sincos_use=yes
10091 else
10092 echo "$as_me: failed program was:" >&5
10093 sed 's/^/| /' conftest.$ac_ext >&5
10095 glibcxx_cv_func__sincos_use=no
10097 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10098 ac_ext=c
10099 ac_cpp='$CPP $CPPFLAGS'
10100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10108 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
10109 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
10111 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
10113 for ac_func in _sincos
10115 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10116 echo "$as_me:$LINENO: checking for $ac_func" >&5
10117 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10118 if eval "test \"\${$as_ac_var+set}\" = set"; then
10119 echo $ECHO_N "(cached) $ECHO_C" >&6
10120 else
10121 if test x$gcc_no_link = xyes; then
10122 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10123 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10124 { (exit 1); exit 1; }; }
10126 cat >conftest.$ac_ext <<_ACEOF
10127 /* confdefs.h. */
10128 _ACEOF
10129 cat confdefs.h >>conftest.$ac_ext
10130 cat >>conftest.$ac_ext <<_ACEOF
10131 /* end confdefs.h. */
10132 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10133 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10134 #define $ac_func innocuous_$ac_func
10136 /* System header to define __stub macros and hopefully few prototypes,
10137 which can conflict with char $ac_func (); below.
10138 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10139 <limits.h> exists even on freestanding compilers. */
10141 #ifdef __STDC__
10142 # include <limits.h>
10143 #else
10144 # include <assert.h>
10145 #endif
10147 #undef $ac_func
10149 /* Override any gcc2 internal prototype to avoid an error. */
10150 #ifdef __cplusplus
10151 extern "C"
10153 #endif
10154 /* We use char because int might match the return type of a gcc2
10155 builtin and then its argument prototype would still apply. */
10156 char $ac_func ();
10157 /* The GNU C library defines this for functions which it implements
10158 to always fail with ENOSYS. Some functions are actually named
10159 something starting with __ and the normal name is an alias. */
10160 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10161 choke me
10162 #else
10163 char (*f) () = $ac_func;
10164 #endif
10165 #ifdef __cplusplus
10167 #endif
10170 main ()
10172 return f != $ac_func;
10174 return 0;
10176 _ACEOF
10177 rm -f conftest.$ac_objext conftest$ac_exeext
10178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10179 (eval $ac_link) 2>conftest.er1
10180 ac_status=$?
10181 grep -v '^ *+' conftest.er1 >conftest.err
10182 rm -f conftest.er1
10183 cat conftest.err >&5
10184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10185 (exit $ac_status); } &&
10186 { ac_try='test -z "$ac_c_werror_flag"
10187 || test ! -s conftest.err'
10188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10189 (eval $ac_try) 2>&5
10190 ac_status=$?
10191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10192 (exit $ac_status); }; } &&
10193 { ac_try='test -s conftest$ac_exeext'
10194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10195 (eval $ac_try) 2>&5
10196 ac_status=$?
10197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10198 (exit $ac_status); }; }; then
10199 eval "$as_ac_var=yes"
10200 else
10201 echo "$as_me: failed program was:" >&5
10202 sed 's/^/| /' conftest.$ac_ext >&5
10204 eval "$as_ac_var=no"
10206 rm -f conftest.err conftest.$ac_objext \
10207 conftest$ac_exeext conftest.$ac_ext
10209 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10210 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10211 if test `eval echo '${'$as_ac_var'}'` = yes; then
10212 cat >>confdefs.h <<_ACEOF
10213 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10214 _ACEOF
10217 done
10224 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
10225 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
10226 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
10227 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
10228 echo $ECHO_N "(cached) $ECHO_C" >&6
10229 else
10233 ac_ext=cc
10234 ac_cpp='$CXXCPP $CPPFLAGS'
10235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10239 cat >conftest.$ac_ext <<_ACEOF
10240 /* confdefs.h. */
10241 _ACEOF
10242 cat confdefs.h >>conftest.$ac_ext
10243 cat >>conftest.$ac_ext <<_ACEOF
10244 /* end confdefs.h. */
10245 #include <math.h>
10246 #ifdef HAVE_IEEEFP_H
10247 #include <ieeefp.h>
10248 #endif
10251 main ()
10253 fpclass(0);
10255 return 0;
10257 _ACEOF
10258 rm -f conftest.$ac_objext
10259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10260 (eval $ac_compile) 2>conftest.er1
10261 ac_status=$?
10262 grep -v '^ *+' conftest.er1 >conftest.err
10263 rm -f conftest.er1
10264 cat conftest.err >&5
10265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10266 (exit $ac_status); } &&
10267 { ac_try='test -z "$ac_cxx_werror_flag"
10268 || test ! -s conftest.err'
10269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10270 (eval $ac_try) 2>&5
10271 ac_status=$?
10272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10273 (exit $ac_status); }; } &&
10274 { ac_try='test -s conftest.$ac_objext'
10275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10276 (eval $ac_try) 2>&5
10277 ac_status=$?
10278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10279 (exit $ac_status); }; }; then
10280 glibcxx_cv_func_fpclass_use=yes
10281 else
10282 echo "$as_me: failed program was:" >&5
10283 sed 's/^/| /' conftest.$ac_ext >&5
10285 glibcxx_cv_func_fpclass_use=no
10287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10288 ac_ext=c
10289 ac_cpp='$CPP $CPPFLAGS'
10290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10298 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
10299 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
10301 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
10303 for ac_func in fpclass
10305 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10306 echo "$as_me:$LINENO: checking for $ac_func" >&5
10307 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10308 if eval "test \"\${$as_ac_var+set}\" = set"; then
10309 echo $ECHO_N "(cached) $ECHO_C" >&6
10310 else
10311 if test x$gcc_no_link = xyes; then
10312 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10313 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10314 { (exit 1); exit 1; }; }
10316 cat >conftest.$ac_ext <<_ACEOF
10317 /* confdefs.h. */
10318 _ACEOF
10319 cat confdefs.h >>conftest.$ac_ext
10320 cat >>conftest.$ac_ext <<_ACEOF
10321 /* end confdefs.h. */
10322 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10323 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10324 #define $ac_func innocuous_$ac_func
10326 /* System header to define __stub macros and hopefully few prototypes,
10327 which can conflict with char $ac_func (); below.
10328 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10329 <limits.h> exists even on freestanding compilers. */
10331 #ifdef __STDC__
10332 # include <limits.h>
10333 #else
10334 # include <assert.h>
10335 #endif
10337 #undef $ac_func
10339 /* Override any gcc2 internal prototype to avoid an error. */
10340 #ifdef __cplusplus
10341 extern "C"
10343 #endif
10344 /* We use char because int might match the return type of a gcc2
10345 builtin and then its argument prototype would still apply. */
10346 char $ac_func ();
10347 /* The GNU C library defines this for functions which it implements
10348 to always fail with ENOSYS. Some functions are actually named
10349 something starting with __ and the normal name is an alias. */
10350 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10351 choke me
10352 #else
10353 char (*f) () = $ac_func;
10354 #endif
10355 #ifdef __cplusplus
10357 #endif
10360 main ()
10362 return f != $ac_func;
10364 return 0;
10366 _ACEOF
10367 rm -f conftest.$ac_objext conftest$ac_exeext
10368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10369 (eval $ac_link) 2>conftest.er1
10370 ac_status=$?
10371 grep -v '^ *+' conftest.er1 >conftest.err
10372 rm -f conftest.er1
10373 cat conftest.err >&5
10374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10375 (exit $ac_status); } &&
10376 { ac_try='test -z "$ac_c_werror_flag"
10377 || test ! -s conftest.err'
10378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10379 (eval $ac_try) 2>&5
10380 ac_status=$?
10381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10382 (exit $ac_status); }; } &&
10383 { ac_try='test -s conftest$ac_exeext'
10384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10385 (eval $ac_try) 2>&5
10386 ac_status=$?
10387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10388 (exit $ac_status); }; }; then
10389 eval "$as_ac_var=yes"
10390 else
10391 echo "$as_me: failed program was:" >&5
10392 sed 's/^/| /' conftest.$ac_ext >&5
10394 eval "$as_ac_var=no"
10396 rm -f conftest.err conftest.$ac_objext \
10397 conftest$ac_exeext conftest.$ac_ext
10399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10400 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10401 if test `eval echo '${'$as_ac_var'}'` = yes; then
10402 cat >>confdefs.h <<_ACEOF
10403 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10404 _ACEOF
10407 done
10409 else
10411 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
10412 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
10413 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
10414 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
10415 echo $ECHO_N "(cached) $ECHO_C" >&6
10416 else
10420 ac_ext=cc
10421 ac_cpp='$CXXCPP $CPPFLAGS'
10422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10426 cat >conftest.$ac_ext <<_ACEOF
10427 /* confdefs.h. */
10428 _ACEOF
10429 cat confdefs.h >>conftest.$ac_ext
10430 cat >>conftest.$ac_ext <<_ACEOF
10431 /* end confdefs.h. */
10432 #include <math.h>
10433 #ifdef HAVE_IEEEFP_H
10434 #include <ieeefp.h>
10435 #endif
10438 main ()
10440 _fpclass(0);
10442 return 0;
10444 _ACEOF
10445 rm -f conftest.$ac_objext
10446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10447 (eval $ac_compile) 2>conftest.er1
10448 ac_status=$?
10449 grep -v '^ *+' conftest.er1 >conftest.err
10450 rm -f conftest.er1
10451 cat conftest.err >&5
10452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10453 (exit $ac_status); } &&
10454 { ac_try='test -z "$ac_cxx_werror_flag"
10455 || test ! -s conftest.err'
10456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10457 (eval $ac_try) 2>&5
10458 ac_status=$?
10459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10460 (exit $ac_status); }; } &&
10461 { ac_try='test -s conftest.$ac_objext'
10462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10463 (eval $ac_try) 2>&5
10464 ac_status=$?
10465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10466 (exit $ac_status); }; }; then
10467 glibcxx_cv_func__fpclass_use=yes
10468 else
10469 echo "$as_me: failed program was:" >&5
10470 sed 's/^/| /' conftest.$ac_ext >&5
10472 glibcxx_cv_func__fpclass_use=no
10474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10475 ac_ext=c
10476 ac_cpp='$CPP $CPPFLAGS'
10477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10485 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
10486 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
10488 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
10490 for ac_func in _fpclass
10492 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10493 echo "$as_me:$LINENO: checking for $ac_func" >&5
10494 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10495 if eval "test \"\${$as_ac_var+set}\" = set"; then
10496 echo $ECHO_N "(cached) $ECHO_C" >&6
10497 else
10498 if test x$gcc_no_link = xyes; then
10499 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10500 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10501 { (exit 1); exit 1; }; }
10503 cat >conftest.$ac_ext <<_ACEOF
10504 /* confdefs.h. */
10505 _ACEOF
10506 cat confdefs.h >>conftest.$ac_ext
10507 cat >>conftest.$ac_ext <<_ACEOF
10508 /* end confdefs.h. */
10509 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10510 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10511 #define $ac_func innocuous_$ac_func
10513 /* System header to define __stub macros and hopefully few prototypes,
10514 which can conflict with char $ac_func (); below.
10515 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10516 <limits.h> exists even on freestanding compilers. */
10518 #ifdef __STDC__
10519 # include <limits.h>
10520 #else
10521 # include <assert.h>
10522 #endif
10524 #undef $ac_func
10526 /* Override any gcc2 internal prototype to avoid an error. */
10527 #ifdef __cplusplus
10528 extern "C"
10530 #endif
10531 /* We use char because int might match the return type of a gcc2
10532 builtin and then its argument prototype would still apply. */
10533 char $ac_func ();
10534 /* The GNU C library defines this for functions which it implements
10535 to always fail with ENOSYS. Some functions are actually named
10536 something starting with __ and the normal name is an alias. */
10537 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10538 choke me
10539 #else
10540 char (*f) () = $ac_func;
10541 #endif
10542 #ifdef __cplusplus
10544 #endif
10547 main ()
10549 return f != $ac_func;
10551 return 0;
10553 _ACEOF
10554 rm -f conftest.$ac_objext conftest$ac_exeext
10555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10556 (eval $ac_link) 2>conftest.er1
10557 ac_status=$?
10558 grep -v '^ *+' conftest.er1 >conftest.err
10559 rm -f conftest.er1
10560 cat conftest.err >&5
10561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10562 (exit $ac_status); } &&
10563 { ac_try='test -z "$ac_c_werror_flag"
10564 || test ! -s conftest.err'
10565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10566 (eval $ac_try) 2>&5
10567 ac_status=$?
10568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10569 (exit $ac_status); }; } &&
10570 { ac_try='test -s conftest$ac_exeext'
10571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10572 (eval $ac_try) 2>&5
10573 ac_status=$?
10574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10575 (exit $ac_status); }; }; then
10576 eval "$as_ac_var=yes"
10577 else
10578 echo "$as_me: failed program was:" >&5
10579 sed 's/^/| /' conftest.$ac_ext >&5
10581 eval "$as_ac_var=no"
10583 rm -f conftest.err conftest.$ac_objext \
10584 conftest$ac_exeext conftest.$ac_ext
10586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10587 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10588 if test `eval echo '${'$as_ac_var'}'` = yes; then
10589 cat >>confdefs.h <<_ACEOF
10590 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10591 _ACEOF
10594 done
10601 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
10602 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
10603 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
10604 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
10605 echo $ECHO_N "(cached) $ECHO_C" >&6
10606 else
10610 ac_ext=cc
10611 ac_cpp='$CXXCPP $CPPFLAGS'
10612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10616 cat >conftest.$ac_ext <<_ACEOF
10617 /* confdefs.h. */
10618 _ACEOF
10619 cat confdefs.h >>conftest.$ac_ext
10620 cat >>conftest.$ac_ext <<_ACEOF
10621 /* end confdefs.h. */
10622 #include <math.h>
10623 #ifdef HAVE_IEEEFP_H
10624 #include <ieeefp.h>
10625 #endif
10628 main ()
10630 qfpclass(0);
10632 return 0;
10634 _ACEOF
10635 rm -f conftest.$ac_objext
10636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10637 (eval $ac_compile) 2>conftest.er1
10638 ac_status=$?
10639 grep -v '^ *+' conftest.er1 >conftest.err
10640 rm -f conftest.er1
10641 cat conftest.err >&5
10642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10643 (exit $ac_status); } &&
10644 { ac_try='test -z "$ac_cxx_werror_flag"
10645 || test ! -s conftest.err'
10646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10647 (eval $ac_try) 2>&5
10648 ac_status=$?
10649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10650 (exit $ac_status); }; } &&
10651 { ac_try='test -s conftest.$ac_objext'
10652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10653 (eval $ac_try) 2>&5
10654 ac_status=$?
10655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10656 (exit $ac_status); }; }; then
10657 glibcxx_cv_func_qfpclass_use=yes
10658 else
10659 echo "$as_me: failed program was:" >&5
10660 sed 's/^/| /' conftest.$ac_ext >&5
10662 glibcxx_cv_func_qfpclass_use=no
10664 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10665 ac_ext=c
10666 ac_cpp='$CPP $CPPFLAGS'
10667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10675 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
10676 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
10678 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
10680 for ac_func in qfpclass
10682 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10683 echo "$as_me:$LINENO: checking for $ac_func" >&5
10684 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10685 if eval "test \"\${$as_ac_var+set}\" = set"; then
10686 echo $ECHO_N "(cached) $ECHO_C" >&6
10687 else
10688 if test x$gcc_no_link = xyes; then
10689 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10690 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10691 { (exit 1); exit 1; }; }
10693 cat >conftest.$ac_ext <<_ACEOF
10694 /* confdefs.h. */
10695 _ACEOF
10696 cat confdefs.h >>conftest.$ac_ext
10697 cat >>conftest.$ac_ext <<_ACEOF
10698 /* end confdefs.h. */
10699 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10700 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10701 #define $ac_func innocuous_$ac_func
10703 /* System header to define __stub macros and hopefully few prototypes,
10704 which can conflict with char $ac_func (); below.
10705 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10706 <limits.h> exists even on freestanding compilers. */
10708 #ifdef __STDC__
10709 # include <limits.h>
10710 #else
10711 # include <assert.h>
10712 #endif
10714 #undef $ac_func
10716 /* Override any gcc2 internal prototype to avoid an error. */
10717 #ifdef __cplusplus
10718 extern "C"
10720 #endif
10721 /* We use char because int might match the return type of a gcc2
10722 builtin and then its argument prototype would still apply. */
10723 char $ac_func ();
10724 /* The GNU C library defines this for functions which it implements
10725 to always fail with ENOSYS. Some functions are actually named
10726 something starting with __ and the normal name is an alias. */
10727 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10728 choke me
10729 #else
10730 char (*f) () = $ac_func;
10731 #endif
10732 #ifdef __cplusplus
10734 #endif
10737 main ()
10739 return f != $ac_func;
10741 return 0;
10743 _ACEOF
10744 rm -f conftest.$ac_objext conftest$ac_exeext
10745 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10746 (eval $ac_link) 2>conftest.er1
10747 ac_status=$?
10748 grep -v '^ *+' conftest.er1 >conftest.err
10749 rm -f conftest.er1
10750 cat conftest.err >&5
10751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10752 (exit $ac_status); } &&
10753 { ac_try='test -z "$ac_c_werror_flag"
10754 || test ! -s conftest.err'
10755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10756 (eval $ac_try) 2>&5
10757 ac_status=$?
10758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10759 (exit $ac_status); }; } &&
10760 { ac_try='test -s conftest$ac_exeext'
10761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10762 (eval $ac_try) 2>&5
10763 ac_status=$?
10764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10765 (exit $ac_status); }; }; then
10766 eval "$as_ac_var=yes"
10767 else
10768 echo "$as_me: failed program was:" >&5
10769 sed 's/^/| /' conftest.$ac_ext >&5
10771 eval "$as_ac_var=no"
10773 rm -f conftest.err conftest.$ac_objext \
10774 conftest$ac_exeext conftest.$ac_ext
10776 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10777 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10778 if test `eval echo '${'$as_ac_var'}'` = yes; then
10779 cat >>confdefs.h <<_ACEOF
10780 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10781 _ACEOF
10784 done
10786 else
10788 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
10789 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
10790 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
10791 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
10792 echo $ECHO_N "(cached) $ECHO_C" >&6
10793 else
10797 ac_ext=cc
10798 ac_cpp='$CXXCPP $CPPFLAGS'
10799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10803 cat >conftest.$ac_ext <<_ACEOF
10804 /* confdefs.h. */
10805 _ACEOF
10806 cat confdefs.h >>conftest.$ac_ext
10807 cat >>conftest.$ac_ext <<_ACEOF
10808 /* end confdefs.h. */
10809 #include <math.h>
10810 #ifdef HAVE_IEEEFP_H
10811 #include <ieeefp.h>
10812 #endif
10815 main ()
10817 _qfpclass(0);
10819 return 0;
10821 _ACEOF
10822 rm -f conftest.$ac_objext
10823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10824 (eval $ac_compile) 2>conftest.er1
10825 ac_status=$?
10826 grep -v '^ *+' conftest.er1 >conftest.err
10827 rm -f conftest.er1
10828 cat conftest.err >&5
10829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10830 (exit $ac_status); } &&
10831 { ac_try='test -z "$ac_cxx_werror_flag"
10832 || test ! -s conftest.err'
10833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10834 (eval $ac_try) 2>&5
10835 ac_status=$?
10836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10837 (exit $ac_status); }; } &&
10838 { ac_try='test -s conftest.$ac_objext'
10839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10840 (eval $ac_try) 2>&5
10841 ac_status=$?
10842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10843 (exit $ac_status); }; }; then
10844 glibcxx_cv_func__qfpclass_use=yes
10845 else
10846 echo "$as_me: failed program was:" >&5
10847 sed 's/^/| /' conftest.$ac_ext >&5
10849 glibcxx_cv_func__qfpclass_use=no
10851 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10852 ac_ext=c
10853 ac_cpp='$CPP $CPPFLAGS'
10854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10862 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
10863 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
10865 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
10867 for ac_func in _qfpclass
10869 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10870 echo "$as_me:$LINENO: checking for $ac_func" >&5
10871 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10872 if eval "test \"\${$as_ac_var+set}\" = set"; then
10873 echo $ECHO_N "(cached) $ECHO_C" >&6
10874 else
10875 if test x$gcc_no_link = xyes; then
10876 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10877 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10878 { (exit 1); exit 1; }; }
10880 cat >conftest.$ac_ext <<_ACEOF
10881 /* confdefs.h. */
10882 _ACEOF
10883 cat confdefs.h >>conftest.$ac_ext
10884 cat >>conftest.$ac_ext <<_ACEOF
10885 /* end confdefs.h. */
10886 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10887 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10888 #define $ac_func innocuous_$ac_func
10890 /* System header to define __stub macros and hopefully few prototypes,
10891 which can conflict with char $ac_func (); below.
10892 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10893 <limits.h> exists even on freestanding compilers. */
10895 #ifdef __STDC__
10896 # include <limits.h>
10897 #else
10898 # include <assert.h>
10899 #endif
10901 #undef $ac_func
10903 /* Override any gcc2 internal prototype to avoid an error. */
10904 #ifdef __cplusplus
10905 extern "C"
10907 #endif
10908 /* We use char because int might match the return type of a gcc2
10909 builtin and then its argument prototype would still apply. */
10910 char $ac_func ();
10911 /* The GNU C library defines this for functions which it implements
10912 to always fail with ENOSYS. Some functions are actually named
10913 something starting with __ and the normal name is an alias. */
10914 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10915 choke me
10916 #else
10917 char (*f) () = $ac_func;
10918 #endif
10919 #ifdef __cplusplus
10921 #endif
10924 main ()
10926 return f != $ac_func;
10928 return 0;
10930 _ACEOF
10931 rm -f conftest.$ac_objext conftest$ac_exeext
10932 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10933 (eval $ac_link) 2>conftest.er1
10934 ac_status=$?
10935 grep -v '^ *+' conftest.er1 >conftest.err
10936 rm -f conftest.er1
10937 cat conftest.err >&5
10938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10939 (exit $ac_status); } &&
10940 { ac_try='test -z "$ac_c_werror_flag"
10941 || test ! -s conftest.err'
10942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10943 (eval $ac_try) 2>&5
10944 ac_status=$?
10945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10946 (exit $ac_status); }; } &&
10947 { ac_try='test -s conftest$ac_exeext'
10948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10949 (eval $ac_try) 2>&5
10950 ac_status=$?
10951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10952 (exit $ac_status); }; }; then
10953 eval "$as_ac_var=yes"
10954 else
10955 echo "$as_me: failed program was:" >&5
10956 sed 's/^/| /' conftest.$ac_ext >&5
10958 eval "$as_ac_var=no"
10960 rm -f conftest.err conftest.$ac_objext \
10961 conftest$ac_exeext conftest.$ac_ext
10963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10964 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10965 if test `eval echo '${'$as_ac_var'}'` = yes; then
10966 cat >>confdefs.h <<_ACEOF
10967 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10968 _ACEOF
10971 done
10978 echo "$as_me:$LINENO: checking for hypot declaration" >&5
10979 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
10980 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
10981 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
10982 echo $ECHO_N "(cached) $ECHO_C" >&6
10983 else
10987 ac_ext=cc
10988 ac_cpp='$CXXCPP $CPPFLAGS'
10989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10993 cat >conftest.$ac_ext <<_ACEOF
10994 /* confdefs.h. */
10995 _ACEOF
10996 cat confdefs.h >>conftest.$ac_ext
10997 cat >>conftest.$ac_ext <<_ACEOF
10998 /* end confdefs.h. */
10999 #include <math.h>
11001 main ()
11003 hypot(0, 0);
11005 return 0;
11007 _ACEOF
11008 rm -f conftest.$ac_objext
11009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11010 (eval $ac_compile) 2>conftest.er1
11011 ac_status=$?
11012 grep -v '^ *+' conftest.er1 >conftest.err
11013 rm -f conftest.er1
11014 cat conftest.err >&5
11015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11016 (exit $ac_status); } &&
11017 { ac_try='test -z "$ac_cxx_werror_flag"
11018 || test ! -s conftest.err'
11019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11020 (eval $ac_try) 2>&5
11021 ac_status=$?
11022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11023 (exit $ac_status); }; } &&
11024 { ac_try='test -s conftest.$ac_objext'
11025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11026 (eval $ac_try) 2>&5
11027 ac_status=$?
11028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11029 (exit $ac_status); }; }; then
11030 glibcxx_cv_func_hypot_use=yes
11031 else
11032 echo "$as_me: failed program was:" >&5
11033 sed 's/^/| /' conftest.$ac_ext >&5
11035 glibcxx_cv_func_hypot_use=no
11037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11038 ac_ext=c
11039 ac_cpp='$CPP $CPPFLAGS'
11040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11048 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
11049 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
11051 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
11053 for ac_func in hypot
11055 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11056 echo "$as_me:$LINENO: checking for $ac_func" >&5
11057 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11058 if eval "test \"\${$as_ac_var+set}\" = set"; then
11059 echo $ECHO_N "(cached) $ECHO_C" >&6
11060 else
11061 if test x$gcc_no_link = xyes; then
11062 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11063 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11064 { (exit 1); exit 1; }; }
11066 cat >conftest.$ac_ext <<_ACEOF
11067 /* confdefs.h. */
11068 _ACEOF
11069 cat confdefs.h >>conftest.$ac_ext
11070 cat >>conftest.$ac_ext <<_ACEOF
11071 /* end confdefs.h. */
11072 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11073 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11074 #define $ac_func innocuous_$ac_func
11076 /* System header to define __stub macros and hopefully few prototypes,
11077 which can conflict with char $ac_func (); below.
11078 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11079 <limits.h> exists even on freestanding compilers. */
11081 #ifdef __STDC__
11082 # include <limits.h>
11083 #else
11084 # include <assert.h>
11085 #endif
11087 #undef $ac_func
11089 /* Override any gcc2 internal prototype to avoid an error. */
11090 #ifdef __cplusplus
11091 extern "C"
11093 #endif
11094 /* We use char because int might match the return type of a gcc2
11095 builtin and then its argument prototype would still apply. */
11096 char $ac_func ();
11097 /* The GNU C library defines this for functions which it implements
11098 to always fail with ENOSYS. Some functions are actually named
11099 something starting with __ and the normal name is an alias. */
11100 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11101 choke me
11102 #else
11103 char (*f) () = $ac_func;
11104 #endif
11105 #ifdef __cplusplus
11107 #endif
11110 main ()
11112 return f != $ac_func;
11114 return 0;
11116 _ACEOF
11117 rm -f conftest.$ac_objext conftest$ac_exeext
11118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11119 (eval $ac_link) 2>conftest.er1
11120 ac_status=$?
11121 grep -v '^ *+' conftest.er1 >conftest.err
11122 rm -f conftest.er1
11123 cat conftest.err >&5
11124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11125 (exit $ac_status); } &&
11126 { ac_try='test -z "$ac_c_werror_flag"
11127 || test ! -s conftest.err'
11128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11129 (eval $ac_try) 2>&5
11130 ac_status=$?
11131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11132 (exit $ac_status); }; } &&
11133 { ac_try='test -s conftest$ac_exeext'
11134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11135 (eval $ac_try) 2>&5
11136 ac_status=$?
11137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11138 (exit $ac_status); }; }; then
11139 eval "$as_ac_var=yes"
11140 else
11141 echo "$as_me: failed program was:" >&5
11142 sed 's/^/| /' conftest.$ac_ext >&5
11144 eval "$as_ac_var=no"
11146 rm -f conftest.err conftest.$ac_objext \
11147 conftest$ac_exeext conftest.$ac_ext
11149 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11150 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11151 if test `eval echo '${'$as_ac_var'}'` = yes; then
11152 cat >>confdefs.h <<_ACEOF
11153 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11154 _ACEOF
11157 done
11159 else
11161 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
11162 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
11163 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
11164 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
11165 echo $ECHO_N "(cached) $ECHO_C" >&6
11166 else
11170 ac_ext=cc
11171 ac_cpp='$CXXCPP $CPPFLAGS'
11172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11176 cat >conftest.$ac_ext <<_ACEOF
11177 /* confdefs.h. */
11178 _ACEOF
11179 cat confdefs.h >>conftest.$ac_ext
11180 cat >>conftest.$ac_ext <<_ACEOF
11181 /* end confdefs.h. */
11182 #include <math.h>
11184 main ()
11186 _hypot(0, 0);
11188 return 0;
11190 _ACEOF
11191 rm -f conftest.$ac_objext
11192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11193 (eval $ac_compile) 2>conftest.er1
11194 ac_status=$?
11195 grep -v '^ *+' conftest.er1 >conftest.err
11196 rm -f conftest.er1
11197 cat conftest.err >&5
11198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11199 (exit $ac_status); } &&
11200 { ac_try='test -z "$ac_cxx_werror_flag"
11201 || test ! -s conftest.err'
11202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11203 (eval $ac_try) 2>&5
11204 ac_status=$?
11205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11206 (exit $ac_status); }; } &&
11207 { ac_try='test -s conftest.$ac_objext'
11208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11209 (eval $ac_try) 2>&5
11210 ac_status=$?
11211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11212 (exit $ac_status); }; }; then
11213 glibcxx_cv_func__hypot_use=yes
11214 else
11215 echo "$as_me: failed program was:" >&5
11216 sed 's/^/| /' conftest.$ac_ext >&5
11218 glibcxx_cv_func__hypot_use=no
11220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11221 ac_ext=c
11222 ac_cpp='$CPP $CPPFLAGS'
11223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11231 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
11232 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
11234 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
11236 for ac_func in _hypot
11238 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11239 echo "$as_me:$LINENO: checking for $ac_func" >&5
11240 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11241 if eval "test \"\${$as_ac_var+set}\" = set"; then
11242 echo $ECHO_N "(cached) $ECHO_C" >&6
11243 else
11244 if test x$gcc_no_link = xyes; then
11245 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11246 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11247 { (exit 1); exit 1; }; }
11249 cat >conftest.$ac_ext <<_ACEOF
11250 /* confdefs.h. */
11251 _ACEOF
11252 cat confdefs.h >>conftest.$ac_ext
11253 cat >>conftest.$ac_ext <<_ACEOF
11254 /* end confdefs.h. */
11255 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11256 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11257 #define $ac_func innocuous_$ac_func
11259 /* System header to define __stub macros and hopefully few prototypes,
11260 which can conflict with char $ac_func (); below.
11261 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11262 <limits.h> exists even on freestanding compilers. */
11264 #ifdef __STDC__
11265 # include <limits.h>
11266 #else
11267 # include <assert.h>
11268 #endif
11270 #undef $ac_func
11272 /* Override any gcc2 internal prototype to avoid an error. */
11273 #ifdef __cplusplus
11274 extern "C"
11276 #endif
11277 /* We use char because int might match the return type of a gcc2
11278 builtin and then its argument prototype would still apply. */
11279 char $ac_func ();
11280 /* The GNU C library defines this for functions which it implements
11281 to always fail with ENOSYS. Some functions are actually named
11282 something starting with __ and the normal name is an alias. */
11283 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11284 choke me
11285 #else
11286 char (*f) () = $ac_func;
11287 #endif
11288 #ifdef __cplusplus
11290 #endif
11293 main ()
11295 return f != $ac_func;
11297 return 0;
11299 _ACEOF
11300 rm -f conftest.$ac_objext conftest$ac_exeext
11301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11302 (eval $ac_link) 2>conftest.er1
11303 ac_status=$?
11304 grep -v '^ *+' conftest.er1 >conftest.err
11305 rm -f conftest.er1
11306 cat conftest.err >&5
11307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11308 (exit $ac_status); } &&
11309 { ac_try='test -z "$ac_c_werror_flag"
11310 || test ! -s conftest.err'
11311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11312 (eval $ac_try) 2>&5
11313 ac_status=$?
11314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11315 (exit $ac_status); }; } &&
11316 { ac_try='test -s conftest$ac_exeext'
11317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11318 (eval $ac_try) 2>&5
11319 ac_status=$?
11320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11321 (exit $ac_status); }; }; then
11322 eval "$as_ac_var=yes"
11323 else
11324 echo "$as_me: failed program was:" >&5
11325 sed 's/^/| /' conftest.$ac_ext >&5
11327 eval "$as_ac_var=no"
11329 rm -f conftest.err conftest.$ac_objext \
11330 conftest$ac_exeext conftest.$ac_ext
11332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11333 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11334 if test `eval echo '${'$as_ac_var'}'` = yes; then
11335 cat >>confdefs.h <<_ACEOF
11336 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11337 _ACEOF
11340 done
11347 echo "$as_me:$LINENO: checking for float trig functions" >&5
11348 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
11349 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
11350 echo $ECHO_N "(cached) $ECHO_C" >&6
11351 else
11355 ac_ext=cc
11356 ac_cpp='$CXXCPP $CPPFLAGS'
11357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11361 cat >conftest.$ac_ext <<_ACEOF
11362 /* confdefs.h. */
11363 _ACEOF
11364 cat confdefs.h >>conftest.$ac_ext
11365 cat >>conftest.$ac_ext <<_ACEOF
11366 /* end confdefs.h. */
11367 #include <math.h>
11369 main ()
11371 `for x in acosf asinf atanf \
11372 cosf sinf tanf \
11373 coshf sinhf tanhf; do echo "$x (0);"; done`
11375 return 0;
11377 _ACEOF
11378 rm -f conftest.$ac_objext
11379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11380 (eval $ac_compile) 2>conftest.er1
11381 ac_status=$?
11382 grep -v '^ *+' conftest.er1 >conftest.err
11383 rm -f conftest.er1
11384 cat conftest.err >&5
11385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11386 (exit $ac_status); } &&
11387 { ac_try='test -z "$ac_cxx_werror_flag"
11388 || test ! -s conftest.err'
11389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11390 (eval $ac_try) 2>&5
11391 ac_status=$?
11392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11393 (exit $ac_status); }; } &&
11394 { ac_try='test -s conftest.$ac_objext'
11395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11396 (eval $ac_try) 2>&5
11397 ac_status=$?
11398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11399 (exit $ac_status); }; }; then
11400 glibcxx_cv_func_float_trig_use=yes
11401 else
11402 echo "$as_me: failed program was:" >&5
11403 sed 's/^/| /' conftest.$ac_ext >&5
11405 glibcxx_cv_func_float_trig_use=no
11407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11408 ac_ext=c
11409 ac_cpp='$CPP $CPPFLAGS'
11410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11416 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
11417 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
11418 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
11428 for ac_func in acosf asinf atanf \
11429 cosf sinf tanf \
11430 coshf sinhf tanhf
11432 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11433 echo "$as_me:$LINENO: checking for $ac_func" >&5
11434 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11435 if eval "test \"\${$as_ac_var+set}\" = set"; then
11436 echo $ECHO_N "(cached) $ECHO_C" >&6
11437 else
11438 if test x$gcc_no_link = xyes; then
11439 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11440 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11441 { (exit 1); exit 1; }; }
11443 cat >conftest.$ac_ext <<_ACEOF
11444 /* confdefs.h. */
11445 _ACEOF
11446 cat confdefs.h >>conftest.$ac_ext
11447 cat >>conftest.$ac_ext <<_ACEOF
11448 /* end confdefs.h. */
11449 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11450 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11451 #define $ac_func innocuous_$ac_func
11453 /* System header to define __stub macros and hopefully few prototypes,
11454 which can conflict with char $ac_func (); below.
11455 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11456 <limits.h> exists even on freestanding compilers. */
11458 #ifdef __STDC__
11459 # include <limits.h>
11460 #else
11461 # include <assert.h>
11462 #endif
11464 #undef $ac_func
11466 /* Override any gcc2 internal prototype to avoid an error. */
11467 #ifdef __cplusplus
11468 extern "C"
11470 #endif
11471 /* We use char because int might match the return type of a gcc2
11472 builtin and then its argument prototype would still apply. */
11473 char $ac_func ();
11474 /* The GNU C library defines this for functions which it implements
11475 to always fail with ENOSYS. Some functions are actually named
11476 something starting with __ and the normal name is an alias. */
11477 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11478 choke me
11479 #else
11480 char (*f) () = $ac_func;
11481 #endif
11482 #ifdef __cplusplus
11484 #endif
11487 main ()
11489 return f != $ac_func;
11491 return 0;
11493 _ACEOF
11494 rm -f conftest.$ac_objext conftest$ac_exeext
11495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11496 (eval $ac_link) 2>conftest.er1
11497 ac_status=$?
11498 grep -v '^ *+' conftest.er1 >conftest.err
11499 rm -f conftest.er1
11500 cat conftest.err >&5
11501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11502 (exit $ac_status); } &&
11503 { ac_try='test -z "$ac_c_werror_flag"
11504 || test ! -s conftest.err'
11505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11506 (eval $ac_try) 2>&5
11507 ac_status=$?
11508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11509 (exit $ac_status); }; } &&
11510 { ac_try='test -s conftest$ac_exeext'
11511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11512 (eval $ac_try) 2>&5
11513 ac_status=$?
11514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11515 (exit $ac_status); }; }; then
11516 eval "$as_ac_var=yes"
11517 else
11518 echo "$as_me: failed program was:" >&5
11519 sed 's/^/| /' conftest.$ac_ext >&5
11521 eval "$as_ac_var=no"
11523 rm -f conftest.err conftest.$ac_objext \
11524 conftest$ac_exeext conftest.$ac_ext
11526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11527 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11528 if test `eval echo '${'$as_ac_var'}'` = yes; then
11529 cat >>confdefs.h <<_ACEOF
11530 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11531 _ACEOF
11534 done
11539 echo "$as_me:$LINENO: checking for float round functions" >&5
11540 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
11541 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
11542 echo $ECHO_N "(cached) $ECHO_C" >&6
11543 else
11547 ac_ext=cc
11548 ac_cpp='$CXXCPP $CPPFLAGS'
11549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11553 cat >conftest.$ac_ext <<_ACEOF
11554 /* confdefs.h. */
11555 _ACEOF
11556 cat confdefs.h >>conftest.$ac_ext
11557 cat >>conftest.$ac_ext <<_ACEOF
11558 /* end confdefs.h. */
11559 #include <math.h>
11561 main ()
11563 `for x in ceilf floorf; do echo "$x (0);"; done`
11565 return 0;
11567 _ACEOF
11568 rm -f conftest.$ac_objext
11569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11570 (eval $ac_compile) 2>conftest.er1
11571 ac_status=$?
11572 grep -v '^ *+' conftest.er1 >conftest.err
11573 rm -f conftest.er1
11574 cat conftest.err >&5
11575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11576 (exit $ac_status); } &&
11577 { ac_try='test -z "$ac_cxx_werror_flag"
11578 || test ! -s conftest.err'
11579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11580 (eval $ac_try) 2>&5
11581 ac_status=$?
11582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11583 (exit $ac_status); }; } &&
11584 { ac_try='test -s conftest.$ac_objext'
11585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11586 (eval $ac_try) 2>&5
11587 ac_status=$?
11588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11589 (exit $ac_status); }; }; then
11590 glibcxx_cv_func_float_round_use=yes
11591 else
11592 echo "$as_me: failed program was:" >&5
11593 sed 's/^/| /' conftest.$ac_ext >&5
11595 glibcxx_cv_func_float_round_use=no
11597 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11598 ac_ext=c
11599 ac_cpp='$CPP $CPPFLAGS'
11600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11606 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
11607 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
11608 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
11611 for ac_func in ceilf floorf
11613 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11614 echo "$as_me:$LINENO: checking for $ac_func" >&5
11615 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11616 if eval "test \"\${$as_ac_var+set}\" = set"; then
11617 echo $ECHO_N "(cached) $ECHO_C" >&6
11618 else
11619 if test x$gcc_no_link = xyes; then
11620 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11621 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11622 { (exit 1); exit 1; }; }
11624 cat >conftest.$ac_ext <<_ACEOF
11625 /* confdefs.h. */
11626 _ACEOF
11627 cat confdefs.h >>conftest.$ac_ext
11628 cat >>conftest.$ac_ext <<_ACEOF
11629 /* end confdefs.h. */
11630 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11631 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11632 #define $ac_func innocuous_$ac_func
11634 /* System header to define __stub macros and hopefully few prototypes,
11635 which can conflict with char $ac_func (); below.
11636 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11637 <limits.h> exists even on freestanding compilers. */
11639 #ifdef __STDC__
11640 # include <limits.h>
11641 #else
11642 # include <assert.h>
11643 #endif
11645 #undef $ac_func
11647 /* Override any gcc2 internal prototype to avoid an error. */
11648 #ifdef __cplusplus
11649 extern "C"
11651 #endif
11652 /* We use char because int might match the return type of a gcc2
11653 builtin and then its argument prototype would still apply. */
11654 char $ac_func ();
11655 /* The GNU C library defines this for functions which it implements
11656 to always fail with ENOSYS. Some functions are actually named
11657 something starting with __ and the normal name is an alias. */
11658 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11659 choke me
11660 #else
11661 char (*f) () = $ac_func;
11662 #endif
11663 #ifdef __cplusplus
11665 #endif
11668 main ()
11670 return f != $ac_func;
11672 return 0;
11674 _ACEOF
11675 rm -f conftest.$ac_objext conftest$ac_exeext
11676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11677 (eval $ac_link) 2>conftest.er1
11678 ac_status=$?
11679 grep -v '^ *+' conftest.er1 >conftest.err
11680 rm -f conftest.er1
11681 cat conftest.err >&5
11682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11683 (exit $ac_status); } &&
11684 { ac_try='test -z "$ac_c_werror_flag"
11685 || test ! -s conftest.err'
11686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11687 (eval $ac_try) 2>&5
11688 ac_status=$?
11689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11690 (exit $ac_status); }; } &&
11691 { ac_try='test -s conftest$ac_exeext'
11692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11693 (eval $ac_try) 2>&5
11694 ac_status=$?
11695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11696 (exit $ac_status); }; }; then
11697 eval "$as_ac_var=yes"
11698 else
11699 echo "$as_me: failed program was:" >&5
11700 sed 's/^/| /' conftest.$ac_ext >&5
11702 eval "$as_ac_var=no"
11704 rm -f conftest.err conftest.$ac_objext \
11705 conftest$ac_exeext conftest.$ac_ext
11707 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11708 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11709 if test `eval echo '${'$as_ac_var'}'` = yes; then
11710 cat >>confdefs.h <<_ACEOF
11711 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11712 _ACEOF
11715 done
11721 echo "$as_me:$LINENO: checking for expf declaration" >&5
11722 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
11723 if test x${glibcxx_cv_func_expf_use+set} != xset; then
11724 if test "${glibcxx_cv_func_expf_use+set}" = set; then
11725 echo $ECHO_N "(cached) $ECHO_C" >&6
11726 else
11730 ac_ext=cc
11731 ac_cpp='$CXXCPP $CPPFLAGS'
11732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11736 cat >conftest.$ac_ext <<_ACEOF
11737 /* confdefs.h. */
11738 _ACEOF
11739 cat confdefs.h >>conftest.$ac_ext
11740 cat >>conftest.$ac_ext <<_ACEOF
11741 /* end confdefs.h. */
11742 #include <math.h>
11743 #ifdef HAVE_IEEEFP_H
11744 #include <ieeefp.h>
11745 #endif
11748 main ()
11750 expf(0);
11752 return 0;
11754 _ACEOF
11755 rm -f conftest.$ac_objext
11756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11757 (eval $ac_compile) 2>conftest.er1
11758 ac_status=$?
11759 grep -v '^ *+' conftest.er1 >conftest.err
11760 rm -f conftest.er1
11761 cat conftest.err >&5
11762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11763 (exit $ac_status); } &&
11764 { ac_try='test -z "$ac_cxx_werror_flag"
11765 || test ! -s conftest.err'
11766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11767 (eval $ac_try) 2>&5
11768 ac_status=$?
11769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11770 (exit $ac_status); }; } &&
11771 { ac_try='test -s conftest.$ac_objext'
11772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11773 (eval $ac_try) 2>&5
11774 ac_status=$?
11775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11776 (exit $ac_status); }; }; then
11777 glibcxx_cv_func_expf_use=yes
11778 else
11779 echo "$as_me: failed program was:" >&5
11780 sed 's/^/| /' conftest.$ac_ext >&5
11782 glibcxx_cv_func_expf_use=no
11784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11785 ac_ext=c
11786 ac_cpp='$CPP $CPPFLAGS'
11787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11795 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
11796 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
11798 if test x$glibcxx_cv_func_expf_use = x"yes"; then
11800 for ac_func in expf
11802 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11803 echo "$as_me:$LINENO: checking for $ac_func" >&5
11804 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11805 if eval "test \"\${$as_ac_var+set}\" = set"; then
11806 echo $ECHO_N "(cached) $ECHO_C" >&6
11807 else
11808 if test x$gcc_no_link = xyes; then
11809 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11810 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11811 { (exit 1); exit 1; }; }
11813 cat >conftest.$ac_ext <<_ACEOF
11814 /* confdefs.h. */
11815 _ACEOF
11816 cat confdefs.h >>conftest.$ac_ext
11817 cat >>conftest.$ac_ext <<_ACEOF
11818 /* end confdefs.h. */
11819 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11820 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11821 #define $ac_func innocuous_$ac_func
11823 /* System header to define __stub macros and hopefully few prototypes,
11824 which can conflict with char $ac_func (); below.
11825 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11826 <limits.h> exists even on freestanding compilers. */
11828 #ifdef __STDC__
11829 # include <limits.h>
11830 #else
11831 # include <assert.h>
11832 #endif
11834 #undef $ac_func
11836 /* Override any gcc2 internal prototype to avoid an error. */
11837 #ifdef __cplusplus
11838 extern "C"
11840 #endif
11841 /* We use char because int might match the return type of a gcc2
11842 builtin and then its argument prototype would still apply. */
11843 char $ac_func ();
11844 /* The GNU C library defines this for functions which it implements
11845 to always fail with ENOSYS. Some functions are actually named
11846 something starting with __ and the normal name is an alias. */
11847 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11848 choke me
11849 #else
11850 char (*f) () = $ac_func;
11851 #endif
11852 #ifdef __cplusplus
11854 #endif
11857 main ()
11859 return f != $ac_func;
11861 return 0;
11863 _ACEOF
11864 rm -f conftest.$ac_objext conftest$ac_exeext
11865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11866 (eval $ac_link) 2>conftest.er1
11867 ac_status=$?
11868 grep -v '^ *+' conftest.er1 >conftest.err
11869 rm -f conftest.er1
11870 cat conftest.err >&5
11871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11872 (exit $ac_status); } &&
11873 { ac_try='test -z "$ac_c_werror_flag"
11874 || test ! -s conftest.err'
11875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11876 (eval $ac_try) 2>&5
11877 ac_status=$?
11878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11879 (exit $ac_status); }; } &&
11880 { ac_try='test -s conftest$ac_exeext'
11881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11882 (eval $ac_try) 2>&5
11883 ac_status=$?
11884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11885 (exit $ac_status); }; }; then
11886 eval "$as_ac_var=yes"
11887 else
11888 echo "$as_me: failed program was:" >&5
11889 sed 's/^/| /' conftest.$ac_ext >&5
11891 eval "$as_ac_var=no"
11893 rm -f conftest.err conftest.$ac_objext \
11894 conftest$ac_exeext conftest.$ac_ext
11896 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11897 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11898 if test `eval echo '${'$as_ac_var'}'` = yes; then
11899 cat >>confdefs.h <<_ACEOF
11900 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11901 _ACEOF
11904 done
11906 else
11908 echo "$as_me:$LINENO: checking for _expf declaration" >&5
11909 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
11910 if test x${glibcxx_cv_func__expf_use+set} != xset; then
11911 if test "${glibcxx_cv_func__expf_use+set}" = set; then
11912 echo $ECHO_N "(cached) $ECHO_C" >&6
11913 else
11917 ac_ext=cc
11918 ac_cpp='$CXXCPP $CPPFLAGS'
11919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11923 cat >conftest.$ac_ext <<_ACEOF
11924 /* confdefs.h. */
11925 _ACEOF
11926 cat confdefs.h >>conftest.$ac_ext
11927 cat >>conftest.$ac_ext <<_ACEOF
11928 /* end confdefs.h. */
11929 #include <math.h>
11930 #ifdef HAVE_IEEEFP_H
11931 #include <ieeefp.h>
11932 #endif
11935 main ()
11937 _expf(0);
11939 return 0;
11941 _ACEOF
11942 rm -f conftest.$ac_objext
11943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11944 (eval $ac_compile) 2>conftest.er1
11945 ac_status=$?
11946 grep -v '^ *+' conftest.er1 >conftest.err
11947 rm -f conftest.er1
11948 cat conftest.err >&5
11949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11950 (exit $ac_status); } &&
11951 { ac_try='test -z "$ac_cxx_werror_flag"
11952 || test ! -s conftest.err'
11953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11954 (eval $ac_try) 2>&5
11955 ac_status=$?
11956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11957 (exit $ac_status); }; } &&
11958 { ac_try='test -s conftest.$ac_objext'
11959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11960 (eval $ac_try) 2>&5
11961 ac_status=$?
11962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11963 (exit $ac_status); }; }; then
11964 glibcxx_cv_func__expf_use=yes
11965 else
11966 echo "$as_me: failed program was:" >&5
11967 sed 's/^/| /' conftest.$ac_ext >&5
11969 glibcxx_cv_func__expf_use=no
11971 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11972 ac_ext=c
11973 ac_cpp='$CPP $CPPFLAGS'
11974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11982 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
11983 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
11985 if test x$glibcxx_cv_func__expf_use = x"yes"; then
11987 for ac_func in _expf
11989 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11990 echo "$as_me:$LINENO: checking for $ac_func" >&5
11991 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11992 if eval "test \"\${$as_ac_var+set}\" = set"; then
11993 echo $ECHO_N "(cached) $ECHO_C" >&6
11994 else
11995 if test x$gcc_no_link = xyes; then
11996 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11997 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11998 { (exit 1); exit 1; }; }
12000 cat >conftest.$ac_ext <<_ACEOF
12001 /* confdefs.h. */
12002 _ACEOF
12003 cat confdefs.h >>conftest.$ac_ext
12004 cat >>conftest.$ac_ext <<_ACEOF
12005 /* end confdefs.h. */
12006 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12007 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12008 #define $ac_func innocuous_$ac_func
12010 /* System header to define __stub macros and hopefully few prototypes,
12011 which can conflict with char $ac_func (); below.
12012 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12013 <limits.h> exists even on freestanding compilers. */
12015 #ifdef __STDC__
12016 # include <limits.h>
12017 #else
12018 # include <assert.h>
12019 #endif
12021 #undef $ac_func
12023 /* Override any gcc2 internal prototype to avoid an error. */
12024 #ifdef __cplusplus
12025 extern "C"
12027 #endif
12028 /* We use char because int might match the return type of a gcc2
12029 builtin and then its argument prototype would still apply. */
12030 char $ac_func ();
12031 /* The GNU C library defines this for functions which it implements
12032 to always fail with ENOSYS. Some functions are actually named
12033 something starting with __ and the normal name is an alias. */
12034 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12035 choke me
12036 #else
12037 char (*f) () = $ac_func;
12038 #endif
12039 #ifdef __cplusplus
12041 #endif
12044 main ()
12046 return f != $ac_func;
12048 return 0;
12050 _ACEOF
12051 rm -f conftest.$ac_objext conftest$ac_exeext
12052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12053 (eval $ac_link) 2>conftest.er1
12054 ac_status=$?
12055 grep -v '^ *+' conftest.er1 >conftest.err
12056 rm -f conftest.er1
12057 cat conftest.err >&5
12058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12059 (exit $ac_status); } &&
12060 { ac_try='test -z "$ac_c_werror_flag"
12061 || test ! -s conftest.err'
12062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12063 (eval $ac_try) 2>&5
12064 ac_status=$?
12065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12066 (exit $ac_status); }; } &&
12067 { ac_try='test -s conftest$ac_exeext'
12068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12069 (eval $ac_try) 2>&5
12070 ac_status=$?
12071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12072 (exit $ac_status); }; }; then
12073 eval "$as_ac_var=yes"
12074 else
12075 echo "$as_me: failed program was:" >&5
12076 sed 's/^/| /' conftest.$ac_ext >&5
12078 eval "$as_ac_var=no"
12080 rm -f conftest.err conftest.$ac_objext \
12081 conftest$ac_exeext conftest.$ac_ext
12083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12084 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12085 if test `eval echo '${'$as_ac_var'}'` = yes; then
12086 cat >>confdefs.h <<_ACEOF
12087 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12088 _ACEOF
12091 done
12098 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
12099 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
12100 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
12101 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
12102 echo $ECHO_N "(cached) $ECHO_C" >&6
12103 else
12107 ac_ext=cc
12108 ac_cpp='$CXXCPP $CPPFLAGS'
12109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12113 cat >conftest.$ac_ext <<_ACEOF
12114 /* confdefs.h. */
12115 _ACEOF
12116 cat confdefs.h >>conftest.$ac_ext
12117 cat >>conftest.$ac_ext <<_ACEOF
12118 /* end confdefs.h. */
12119 #include <math.h>
12120 #ifdef HAVE_IEEEFP_H
12121 #include <ieeefp.h>
12122 #endif
12125 main ()
12127 isnanf(0);
12129 return 0;
12131 _ACEOF
12132 rm -f conftest.$ac_objext
12133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12134 (eval $ac_compile) 2>conftest.er1
12135 ac_status=$?
12136 grep -v '^ *+' conftest.er1 >conftest.err
12137 rm -f conftest.er1
12138 cat conftest.err >&5
12139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12140 (exit $ac_status); } &&
12141 { ac_try='test -z "$ac_cxx_werror_flag"
12142 || test ! -s conftest.err'
12143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12144 (eval $ac_try) 2>&5
12145 ac_status=$?
12146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12147 (exit $ac_status); }; } &&
12148 { ac_try='test -s conftest.$ac_objext'
12149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12150 (eval $ac_try) 2>&5
12151 ac_status=$?
12152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12153 (exit $ac_status); }; }; then
12154 glibcxx_cv_func_isnanf_use=yes
12155 else
12156 echo "$as_me: failed program was:" >&5
12157 sed 's/^/| /' conftest.$ac_ext >&5
12159 glibcxx_cv_func_isnanf_use=no
12161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12162 ac_ext=c
12163 ac_cpp='$CPP $CPPFLAGS'
12164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12172 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
12173 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
12175 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
12177 for ac_func in isnanf
12179 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12180 echo "$as_me:$LINENO: checking for $ac_func" >&5
12181 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12182 if eval "test \"\${$as_ac_var+set}\" = set"; then
12183 echo $ECHO_N "(cached) $ECHO_C" >&6
12184 else
12185 if test x$gcc_no_link = xyes; then
12186 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12187 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12188 { (exit 1); exit 1; }; }
12190 cat >conftest.$ac_ext <<_ACEOF
12191 /* confdefs.h. */
12192 _ACEOF
12193 cat confdefs.h >>conftest.$ac_ext
12194 cat >>conftest.$ac_ext <<_ACEOF
12195 /* end confdefs.h. */
12196 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12197 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12198 #define $ac_func innocuous_$ac_func
12200 /* System header to define __stub macros and hopefully few prototypes,
12201 which can conflict with char $ac_func (); below.
12202 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12203 <limits.h> exists even on freestanding compilers. */
12205 #ifdef __STDC__
12206 # include <limits.h>
12207 #else
12208 # include <assert.h>
12209 #endif
12211 #undef $ac_func
12213 /* Override any gcc2 internal prototype to avoid an error. */
12214 #ifdef __cplusplus
12215 extern "C"
12217 #endif
12218 /* We use char because int might match the return type of a gcc2
12219 builtin and then its argument prototype would still apply. */
12220 char $ac_func ();
12221 /* The GNU C library defines this for functions which it implements
12222 to always fail with ENOSYS. Some functions are actually named
12223 something starting with __ and the normal name is an alias. */
12224 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12225 choke me
12226 #else
12227 char (*f) () = $ac_func;
12228 #endif
12229 #ifdef __cplusplus
12231 #endif
12234 main ()
12236 return f != $ac_func;
12238 return 0;
12240 _ACEOF
12241 rm -f conftest.$ac_objext conftest$ac_exeext
12242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12243 (eval $ac_link) 2>conftest.er1
12244 ac_status=$?
12245 grep -v '^ *+' conftest.er1 >conftest.err
12246 rm -f conftest.er1
12247 cat conftest.err >&5
12248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12249 (exit $ac_status); } &&
12250 { ac_try='test -z "$ac_c_werror_flag"
12251 || test ! -s conftest.err'
12252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12253 (eval $ac_try) 2>&5
12254 ac_status=$?
12255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12256 (exit $ac_status); }; } &&
12257 { ac_try='test -s conftest$ac_exeext'
12258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12259 (eval $ac_try) 2>&5
12260 ac_status=$?
12261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12262 (exit $ac_status); }; }; then
12263 eval "$as_ac_var=yes"
12264 else
12265 echo "$as_me: failed program was:" >&5
12266 sed 's/^/| /' conftest.$ac_ext >&5
12268 eval "$as_ac_var=no"
12270 rm -f conftest.err conftest.$ac_objext \
12271 conftest$ac_exeext conftest.$ac_ext
12273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12274 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12275 if test `eval echo '${'$as_ac_var'}'` = yes; then
12276 cat >>confdefs.h <<_ACEOF
12277 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12278 _ACEOF
12281 done
12283 else
12285 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
12286 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
12287 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
12288 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
12289 echo $ECHO_N "(cached) $ECHO_C" >&6
12290 else
12294 ac_ext=cc
12295 ac_cpp='$CXXCPP $CPPFLAGS'
12296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12300 cat >conftest.$ac_ext <<_ACEOF
12301 /* confdefs.h. */
12302 _ACEOF
12303 cat confdefs.h >>conftest.$ac_ext
12304 cat >>conftest.$ac_ext <<_ACEOF
12305 /* end confdefs.h. */
12306 #include <math.h>
12307 #ifdef HAVE_IEEEFP_H
12308 #include <ieeefp.h>
12309 #endif
12312 main ()
12314 _isnanf(0);
12316 return 0;
12318 _ACEOF
12319 rm -f conftest.$ac_objext
12320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12321 (eval $ac_compile) 2>conftest.er1
12322 ac_status=$?
12323 grep -v '^ *+' conftest.er1 >conftest.err
12324 rm -f conftest.er1
12325 cat conftest.err >&5
12326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12327 (exit $ac_status); } &&
12328 { ac_try='test -z "$ac_cxx_werror_flag"
12329 || test ! -s conftest.err'
12330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12331 (eval $ac_try) 2>&5
12332 ac_status=$?
12333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12334 (exit $ac_status); }; } &&
12335 { ac_try='test -s conftest.$ac_objext'
12336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12337 (eval $ac_try) 2>&5
12338 ac_status=$?
12339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12340 (exit $ac_status); }; }; then
12341 glibcxx_cv_func__isnanf_use=yes
12342 else
12343 echo "$as_me: failed program was:" >&5
12344 sed 's/^/| /' conftest.$ac_ext >&5
12346 glibcxx_cv_func__isnanf_use=no
12348 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12349 ac_ext=c
12350 ac_cpp='$CPP $CPPFLAGS'
12351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12359 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
12360 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
12362 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
12364 for ac_func in _isnanf
12366 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12367 echo "$as_me:$LINENO: checking for $ac_func" >&5
12368 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12369 if eval "test \"\${$as_ac_var+set}\" = set"; then
12370 echo $ECHO_N "(cached) $ECHO_C" >&6
12371 else
12372 if test x$gcc_no_link = xyes; then
12373 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12374 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12375 { (exit 1); exit 1; }; }
12377 cat >conftest.$ac_ext <<_ACEOF
12378 /* confdefs.h. */
12379 _ACEOF
12380 cat confdefs.h >>conftest.$ac_ext
12381 cat >>conftest.$ac_ext <<_ACEOF
12382 /* end confdefs.h. */
12383 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12384 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12385 #define $ac_func innocuous_$ac_func
12387 /* System header to define __stub macros and hopefully few prototypes,
12388 which can conflict with char $ac_func (); below.
12389 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12390 <limits.h> exists even on freestanding compilers. */
12392 #ifdef __STDC__
12393 # include <limits.h>
12394 #else
12395 # include <assert.h>
12396 #endif
12398 #undef $ac_func
12400 /* Override any gcc2 internal prototype to avoid an error. */
12401 #ifdef __cplusplus
12402 extern "C"
12404 #endif
12405 /* We use char because int might match the return type of a gcc2
12406 builtin and then its argument prototype would still apply. */
12407 char $ac_func ();
12408 /* The GNU C library defines this for functions which it implements
12409 to always fail with ENOSYS. Some functions are actually named
12410 something starting with __ and the normal name is an alias. */
12411 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12412 choke me
12413 #else
12414 char (*f) () = $ac_func;
12415 #endif
12416 #ifdef __cplusplus
12418 #endif
12421 main ()
12423 return f != $ac_func;
12425 return 0;
12427 _ACEOF
12428 rm -f conftest.$ac_objext conftest$ac_exeext
12429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12430 (eval $ac_link) 2>conftest.er1
12431 ac_status=$?
12432 grep -v '^ *+' conftest.er1 >conftest.err
12433 rm -f conftest.er1
12434 cat conftest.err >&5
12435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12436 (exit $ac_status); } &&
12437 { ac_try='test -z "$ac_c_werror_flag"
12438 || test ! -s conftest.err'
12439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12440 (eval $ac_try) 2>&5
12441 ac_status=$?
12442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12443 (exit $ac_status); }; } &&
12444 { ac_try='test -s conftest$ac_exeext'
12445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12446 (eval $ac_try) 2>&5
12447 ac_status=$?
12448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12449 (exit $ac_status); }; }; then
12450 eval "$as_ac_var=yes"
12451 else
12452 echo "$as_me: failed program was:" >&5
12453 sed 's/^/| /' conftest.$ac_ext >&5
12455 eval "$as_ac_var=no"
12457 rm -f conftest.err conftest.$ac_objext \
12458 conftest$ac_exeext conftest.$ac_ext
12460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12461 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12462 if test `eval echo '${'$as_ac_var'}'` = yes; then
12463 cat >>confdefs.h <<_ACEOF
12464 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12465 _ACEOF
12468 done
12475 echo "$as_me:$LINENO: checking for isinff declaration" >&5
12476 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
12477 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
12478 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
12479 echo $ECHO_N "(cached) $ECHO_C" >&6
12480 else
12484 ac_ext=cc
12485 ac_cpp='$CXXCPP $CPPFLAGS'
12486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12490 cat >conftest.$ac_ext <<_ACEOF
12491 /* confdefs.h. */
12492 _ACEOF
12493 cat confdefs.h >>conftest.$ac_ext
12494 cat >>conftest.$ac_ext <<_ACEOF
12495 /* end confdefs.h. */
12496 #include <math.h>
12497 #ifdef HAVE_IEEEFP_H
12498 #include <ieeefp.h>
12499 #endif
12502 main ()
12504 isinff(0);
12506 return 0;
12508 _ACEOF
12509 rm -f conftest.$ac_objext
12510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12511 (eval $ac_compile) 2>conftest.er1
12512 ac_status=$?
12513 grep -v '^ *+' conftest.er1 >conftest.err
12514 rm -f conftest.er1
12515 cat conftest.err >&5
12516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12517 (exit $ac_status); } &&
12518 { ac_try='test -z "$ac_cxx_werror_flag"
12519 || test ! -s conftest.err'
12520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12521 (eval $ac_try) 2>&5
12522 ac_status=$?
12523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12524 (exit $ac_status); }; } &&
12525 { ac_try='test -s conftest.$ac_objext'
12526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12527 (eval $ac_try) 2>&5
12528 ac_status=$?
12529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12530 (exit $ac_status); }; }; then
12531 glibcxx_cv_func_isinff_use=yes
12532 else
12533 echo "$as_me: failed program was:" >&5
12534 sed 's/^/| /' conftest.$ac_ext >&5
12536 glibcxx_cv_func_isinff_use=no
12538 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12539 ac_ext=c
12540 ac_cpp='$CPP $CPPFLAGS'
12541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12549 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
12550 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
12552 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
12554 for ac_func in isinff
12556 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12557 echo "$as_me:$LINENO: checking for $ac_func" >&5
12558 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12559 if eval "test \"\${$as_ac_var+set}\" = set"; then
12560 echo $ECHO_N "(cached) $ECHO_C" >&6
12561 else
12562 if test x$gcc_no_link = xyes; then
12563 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12564 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12565 { (exit 1); exit 1; }; }
12567 cat >conftest.$ac_ext <<_ACEOF
12568 /* confdefs.h. */
12569 _ACEOF
12570 cat confdefs.h >>conftest.$ac_ext
12571 cat >>conftest.$ac_ext <<_ACEOF
12572 /* end confdefs.h. */
12573 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12574 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12575 #define $ac_func innocuous_$ac_func
12577 /* System header to define __stub macros and hopefully few prototypes,
12578 which can conflict with char $ac_func (); below.
12579 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12580 <limits.h> exists even on freestanding compilers. */
12582 #ifdef __STDC__
12583 # include <limits.h>
12584 #else
12585 # include <assert.h>
12586 #endif
12588 #undef $ac_func
12590 /* Override any gcc2 internal prototype to avoid an error. */
12591 #ifdef __cplusplus
12592 extern "C"
12594 #endif
12595 /* We use char because int might match the return type of a gcc2
12596 builtin and then its argument prototype would still apply. */
12597 char $ac_func ();
12598 /* The GNU C library defines this for functions which it implements
12599 to always fail with ENOSYS. Some functions are actually named
12600 something starting with __ and the normal name is an alias. */
12601 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12602 choke me
12603 #else
12604 char (*f) () = $ac_func;
12605 #endif
12606 #ifdef __cplusplus
12608 #endif
12611 main ()
12613 return f != $ac_func;
12615 return 0;
12617 _ACEOF
12618 rm -f conftest.$ac_objext conftest$ac_exeext
12619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12620 (eval $ac_link) 2>conftest.er1
12621 ac_status=$?
12622 grep -v '^ *+' conftest.er1 >conftest.err
12623 rm -f conftest.er1
12624 cat conftest.err >&5
12625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12626 (exit $ac_status); } &&
12627 { ac_try='test -z "$ac_c_werror_flag"
12628 || test ! -s conftest.err'
12629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12630 (eval $ac_try) 2>&5
12631 ac_status=$?
12632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12633 (exit $ac_status); }; } &&
12634 { ac_try='test -s conftest$ac_exeext'
12635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12636 (eval $ac_try) 2>&5
12637 ac_status=$?
12638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12639 (exit $ac_status); }; }; then
12640 eval "$as_ac_var=yes"
12641 else
12642 echo "$as_me: failed program was:" >&5
12643 sed 's/^/| /' conftest.$ac_ext >&5
12645 eval "$as_ac_var=no"
12647 rm -f conftest.err conftest.$ac_objext \
12648 conftest$ac_exeext conftest.$ac_ext
12650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12651 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12652 if test `eval echo '${'$as_ac_var'}'` = yes; then
12653 cat >>confdefs.h <<_ACEOF
12654 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12655 _ACEOF
12658 done
12660 else
12662 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
12663 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
12664 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
12665 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
12666 echo $ECHO_N "(cached) $ECHO_C" >&6
12667 else
12671 ac_ext=cc
12672 ac_cpp='$CXXCPP $CPPFLAGS'
12673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12677 cat >conftest.$ac_ext <<_ACEOF
12678 /* confdefs.h. */
12679 _ACEOF
12680 cat confdefs.h >>conftest.$ac_ext
12681 cat >>conftest.$ac_ext <<_ACEOF
12682 /* end confdefs.h. */
12683 #include <math.h>
12684 #ifdef HAVE_IEEEFP_H
12685 #include <ieeefp.h>
12686 #endif
12689 main ()
12691 _isinff(0);
12693 return 0;
12695 _ACEOF
12696 rm -f conftest.$ac_objext
12697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12698 (eval $ac_compile) 2>conftest.er1
12699 ac_status=$?
12700 grep -v '^ *+' conftest.er1 >conftest.err
12701 rm -f conftest.er1
12702 cat conftest.err >&5
12703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12704 (exit $ac_status); } &&
12705 { ac_try='test -z "$ac_cxx_werror_flag"
12706 || test ! -s conftest.err'
12707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12708 (eval $ac_try) 2>&5
12709 ac_status=$?
12710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12711 (exit $ac_status); }; } &&
12712 { ac_try='test -s conftest.$ac_objext'
12713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12714 (eval $ac_try) 2>&5
12715 ac_status=$?
12716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12717 (exit $ac_status); }; }; then
12718 glibcxx_cv_func__isinff_use=yes
12719 else
12720 echo "$as_me: failed program was:" >&5
12721 sed 's/^/| /' conftest.$ac_ext >&5
12723 glibcxx_cv_func__isinff_use=no
12725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12726 ac_ext=c
12727 ac_cpp='$CPP $CPPFLAGS'
12728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12736 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
12737 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
12739 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
12741 for ac_func in _isinff
12743 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12744 echo "$as_me:$LINENO: checking for $ac_func" >&5
12745 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12746 if eval "test \"\${$as_ac_var+set}\" = set"; then
12747 echo $ECHO_N "(cached) $ECHO_C" >&6
12748 else
12749 if test x$gcc_no_link = xyes; then
12750 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12751 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12752 { (exit 1); exit 1; }; }
12754 cat >conftest.$ac_ext <<_ACEOF
12755 /* confdefs.h. */
12756 _ACEOF
12757 cat confdefs.h >>conftest.$ac_ext
12758 cat >>conftest.$ac_ext <<_ACEOF
12759 /* end confdefs.h. */
12760 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12761 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12762 #define $ac_func innocuous_$ac_func
12764 /* System header to define __stub macros and hopefully few prototypes,
12765 which can conflict with char $ac_func (); below.
12766 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12767 <limits.h> exists even on freestanding compilers. */
12769 #ifdef __STDC__
12770 # include <limits.h>
12771 #else
12772 # include <assert.h>
12773 #endif
12775 #undef $ac_func
12777 /* Override any gcc2 internal prototype to avoid an error. */
12778 #ifdef __cplusplus
12779 extern "C"
12781 #endif
12782 /* We use char because int might match the return type of a gcc2
12783 builtin and then its argument prototype would still apply. */
12784 char $ac_func ();
12785 /* The GNU C library defines this for functions which it implements
12786 to always fail with ENOSYS. Some functions are actually named
12787 something starting with __ and the normal name is an alias. */
12788 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12789 choke me
12790 #else
12791 char (*f) () = $ac_func;
12792 #endif
12793 #ifdef __cplusplus
12795 #endif
12798 main ()
12800 return f != $ac_func;
12802 return 0;
12804 _ACEOF
12805 rm -f conftest.$ac_objext conftest$ac_exeext
12806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12807 (eval $ac_link) 2>conftest.er1
12808 ac_status=$?
12809 grep -v '^ *+' conftest.er1 >conftest.err
12810 rm -f conftest.er1
12811 cat conftest.err >&5
12812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12813 (exit $ac_status); } &&
12814 { ac_try='test -z "$ac_c_werror_flag"
12815 || test ! -s conftest.err'
12816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12817 (eval $ac_try) 2>&5
12818 ac_status=$?
12819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12820 (exit $ac_status); }; } &&
12821 { ac_try='test -s conftest$ac_exeext'
12822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12823 (eval $ac_try) 2>&5
12824 ac_status=$?
12825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12826 (exit $ac_status); }; }; then
12827 eval "$as_ac_var=yes"
12828 else
12829 echo "$as_me: failed program was:" >&5
12830 sed 's/^/| /' conftest.$ac_ext >&5
12832 eval "$as_ac_var=no"
12834 rm -f conftest.err conftest.$ac_objext \
12835 conftest$ac_exeext conftest.$ac_ext
12837 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12838 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12839 if test `eval echo '${'$as_ac_var'}'` = yes; then
12840 cat >>confdefs.h <<_ACEOF
12841 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12842 _ACEOF
12845 done
12852 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
12853 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
12854 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
12855 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
12856 echo $ECHO_N "(cached) $ECHO_C" >&6
12857 else
12861 ac_ext=cc
12862 ac_cpp='$CXXCPP $CPPFLAGS'
12863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12867 cat >conftest.$ac_ext <<_ACEOF
12868 /* confdefs.h. */
12869 _ACEOF
12870 cat confdefs.h >>conftest.$ac_ext
12871 cat >>conftest.$ac_ext <<_ACEOF
12872 /* end confdefs.h. */
12873 #include <math.h>
12875 main ()
12877 atan2f(0, 0);
12879 return 0;
12881 _ACEOF
12882 rm -f conftest.$ac_objext
12883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12884 (eval $ac_compile) 2>conftest.er1
12885 ac_status=$?
12886 grep -v '^ *+' conftest.er1 >conftest.err
12887 rm -f conftest.er1
12888 cat conftest.err >&5
12889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12890 (exit $ac_status); } &&
12891 { ac_try='test -z "$ac_cxx_werror_flag"
12892 || test ! -s conftest.err'
12893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12894 (eval $ac_try) 2>&5
12895 ac_status=$?
12896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12897 (exit $ac_status); }; } &&
12898 { ac_try='test -s conftest.$ac_objext'
12899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12900 (eval $ac_try) 2>&5
12901 ac_status=$?
12902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12903 (exit $ac_status); }; }; then
12904 glibcxx_cv_func_atan2f_use=yes
12905 else
12906 echo "$as_me: failed program was:" >&5
12907 sed 's/^/| /' conftest.$ac_ext >&5
12909 glibcxx_cv_func_atan2f_use=no
12911 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12912 ac_ext=c
12913 ac_cpp='$CPP $CPPFLAGS'
12914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12922 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
12923 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
12925 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
12927 for ac_func in atan2f
12929 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12930 echo "$as_me:$LINENO: checking for $ac_func" >&5
12931 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12932 if eval "test \"\${$as_ac_var+set}\" = set"; then
12933 echo $ECHO_N "(cached) $ECHO_C" >&6
12934 else
12935 if test x$gcc_no_link = xyes; then
12936 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12937 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12938 { (exit 1); exit 1; }; }
12940 cat >conftest.$ac_ext <<_ACEOF
12941 /* confdefs.h. */
12942 _ACEOF
12943 cat confdefs.h >>conftest.$ac_ext
12944 cat >>conftest.$ac_ext <<_ACEOF
12945 /* end confdefs.h. */
12946 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12948 #define $ac_func innocuous_$ac_func
12950 /* System header to define __stub macros and hopefully few prototypes,
12951 which can conflict with char $ac_func (); below.
12952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12953 <limits.h> exists even on freestanding compilers. */
12955 #ifdef __STDC__
12956 # include <limits.h>
12957 #else
12958 # include <assert.h>
12959 #endif
12961 #undef $ac_func
12963 /* Override any gcc2 internal prototype to avoid an error. */
12964 #ifdef __cplusplus
12965 extern "C"
12967 #endif
12968 /* We use char because int might match the return type of a gcc2
12969 builtin and then its argument prototype would still apply. */
12970 char $ac_func ();
12971 /* The GNU C library defines this for functions which it implements
12972 to always fail with ENOSYS. Some functions are actually named
12973 something starting with __ and the normal name is an alias. */
12974 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12975 choke me
12976 #else
12977 char (*f) () = $ac_func;
12978 #endif
12979 #ifdef __cplusplus
12981 #endif
12984 main ()
12986 return f != $ac_func;
12988 return 0;
12990 _ACEOF
12991 rm -f conftest.$ac_objext conftest$ac_exeext
12992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12993 (eval $ac_link) 2>conftest.er1
12994 ac_status=$?
12995 grep -v '^ *+' conftest.er1 >conftest.err
12996 rm -f conftest.er1
12997 cat conftest.err >&5
12998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12999 (exit $ac_status); } &&
13000 { ac_try='test -z "$ac_c_werror_flag"
13001 || test ! -s conftest.err'
13002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13003 (eval $ac_try) 2>&5
13004 ac_status=$?
13005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13006 (exit $ac_status); }; } &&
13007 { ac_try='test -s conftest$ac_exeext'
13008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13009 (eval $ac_try) 2>&5
13010 ac_status=$?
13011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13012 (exit $ac_status); }; }; then
13013 eval "$as_ac_var=yes"
13014 else
13015 echo "$as_me: failed program was:" >&5
13016 sed 's/^/| /' conftest.$ac_ext >&5
13018 eval "$as_ac_var=no"
13020 rm -f conftest.err conftest.$ac_objext \
13021 conftest$ac_exeext conftest.$ac_ext
13023 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13024 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13025 if test `eval echo '${'$as_ac_var'}'` = yes; then
13026 cat >>confdefs.h <<_ACEOF
13027 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13028 _ACEOF
13031 done
13033 else
13035 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
13036 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
13037 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
13038 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
13039 echo $ECHO_N "(cached) $ECHO_C" >&6
13040 else
13044 ac_ext=cc
13045 ac_cpp='$CXXCPP $CPPFLAGS'
13046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13050 cat >conftest.$ac_ext <<_ACEOF
13051 /* confdefs.h. */
13052 _ACEOF
13053 cat confdefs.h >>conftest.$ac_ext
13054 cat >>conftest.$ac_ext <<_ACEOF
13055 /* end confdefs.h. */
13056 #include <math.h>
13058 main ()
13060 _atan2f(0, 0);
13062 return 0;
13064 _ACEOF
13065 rm -f conftest.$ac_objext
13066 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13067 (eval $ac_compile) 2>conftest.er1
13068 ac_status=$?
13069 grep -v '^ *+' conftest.er1 >conftest.err
13070 rm -f conftest.er1
13071 cat conftest.err >&5
13072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13073 (exit $ac_status); } &&
13074 { ac_try='test -z "$ac_cxx_werror_flag"
13075 || test ! -s conftest.err'
13076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13077 (eval $ac_try) 2>&5
13078 ac_status=$?
13079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13080 (exit $ac_status); }; } &&
13081 { ac_try='test -s conftest.$ac_objext'
13082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13083 (eval $ac_try) 2>&5
13084 ac_status=$?
13085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13086 (exit $ac_status); }; }; then
13087 glibcxx_cv_func__atan2f_use=yes
13088 else
13089 echo "$as_me: failed program was:" >&5
13090 sed 's/^/| /' conftest.$ac_ext >&5
13092 glibcxx_cv_func__atan2f_use=no
13094 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13095 ac_ext=c
13096 ac_cpp='$CPP $CPPFLAGS'
13097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13105 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
13106 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
13108 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
13110 for ac_func in _atan2f
13112 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13113 echo "$as_me:$LINENO: checking for $ac_func" >&5
13114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13115 if eval "test \"\${$as_ac_var+set}\" = set"; then
13116 echo $ECHO_N "(cached) $ECHO_C" >&6
13117 else
13118 if test x$gcc_no_link = xyes; then
13119 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13121 { (exit 1); exit 1; }; }
13123 cat >conftest.$ac_ext <<_ACEOF
13124 /* confdefs.h. */
13125 _ACEOF
13126 cat confdefs.h >>conftest.$ac_ext
13127 cat >>conftest.$ac_ext <<_ACEOF
13128 /* end confdefs.h. */
13129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13130 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13131 #define $ac_func innocuous_$ac_func
13133 /* System header to define __stub macros and hopefully few prototypes,
13134 which can conflict with char $ac_func (); below.
13135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13136 <limits.h> exists even on freestanding compilers. */
13138 #ifdef __STDC__
13139 # include <limits.h>
13140 #else
13141 # include <assert.h>
13142 #endif
13144 #undef $ac_func
13146 /* Override any gcc2 internal prototype to avoid an error. */
13147 #ifdef __cplusplus
13148 extern "C"
13150 #endif
13151 /* We use char because int might match the return type of a gcc2
13152 builtin and then its argument prototype would still apply. */
13153 char $ac_func ();
13154 /* The GNU C library defines this for functions which it implements
13155 to always fail with ENOSYS. Some functions are actually named
13156 something starting with __ and the normal name is an alias. */
13157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13158 choke me
13159 #else
13160 char (*f) () = $ac_func;
13161 #endif
13162 #ifdef __cplusplus
13164 #endif
13167 main ()
13169 return f != $ac_func;
13171 return 0;
13173 _ACEOF
13174 rm -f conftest.$ac_objext conftest$ac_exeext
13175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13176 (eval $ac_link) 2>conftest.er1
13177 ac_status=$?
13178 grep -v '^ *+' conftest.er1 >conftest.err
13179 rm -f conftest.er1
13180 cat conftest.err >&5
13181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13182 (exit $ac_status); } &&
13183 { ac_try='test -z "$ac_c_werror_flag"
13184 || test ! -s conftest.err'
13185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13186 (eval $ac_try) 2>&5
13187 ac_status=$?
13188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13189 (exit $ac_status); }; } &&
13190 { ac_try='test -s conftest$ac_exeext'
13191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13192 (eval $ac_try) 2>&5
13193 ac_status=$?
13194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13195 (exit $ac_status); }; }; then
13196 eval "$as_ac_var=yes"
13197 else
13198 echo "$as_me: failed program was:" >&5
13199 sed 's/^/| /' conftest.$ac_ext >&5
13201 eval "$as_ac_var=no"
13203 rm -f conftest.err conftest.$ac_objext \
13204 conftest$ac_exeext conftest.$ac_ext
13206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13207 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13208 if test `eval echo '${'$as_ac_var'}'` = yes; then
13209 cat >>confdefs.h <<_ACEOF
13210 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13211 _ACEOF
13214 done
13221 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
13222 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
13223 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
13224 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
13225 echo $ECHO_N "(cached) $ECHO_C" >&6
13226 else
13230 ac_ext=cc
13231 ac_cpp='$CXXCPP $CPPFLAGS'
13232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13236 cat >conftest.$ac_ext <<_ACEOF
13237 /* confdefs.h. */
13238 _ACEOF
13239 cat confdefs.h >>conftest.$ac_ext
13240 cat >>conftest.$ac_ext <<_ACEOF
13241 /* end confdefs.h. */
13242 #include <math.h>
13243 #ifdef HAVE_IEEEFP_H
13244 #include <ieeefp.h>
13245 #endif
13248 main ()
13250 fabsf(0);
13252 return 0;
13254 _ACEOF
13255 rm -f conftest.$ac_objext
13256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13257 (eval $ac_compile) 2>conftest.er1
13258 ac_status=$?
13259 grep -v '^ *+' conftest.er1 >conftest.err
13260 rm -f conftest.er1
13261 cat conftest.err >&5
13262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13263 (exit $ac_status); } &&
13264 { ac_try='test -z "$ac_cxx_werror_flag"
13265 || test ! -s conftest.err'
13266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13267 (eval $ac_try) 2>&5
13268 ac_status=$?
13269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13270 (exit $ac_status); }; } &&
13271 { ac_try='test -s conftest.$ac_objext'
13272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13273 (eval $ac_try) 2>&5
13274 ac_status=$?
13275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13276 (exit $ac_status); }; }; then
13277 glibcxx_cv_func_fabsf_use=yes
13278 else
13279 echo "$as_me: failed program was:" >&5
13280 sed 's/^/| /' conftest.$ac_ext >&5
13282 glibcxx_cv_func_fabsf_use=no
13284 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13285 ac_ext=c
13286 ac_cpp='$CPP $CPPFLAGS'
13287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13295 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
13296 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
13298 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
13300 for ac_func in fabsf
13302 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13303 echo "$as_me:$LINENO: checking for $ac_func" >&5
13304 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13305 if eval "test \"\${$as_ac_var+set}\" = set"; then
13306 echo $ECHO_N "(cached) $ECHO_C" >&6
13307 else
13308 if test x$gcc_no_link = xyes; then
13309 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13310 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13311 { (exit 1); exit 1; }; }
13313 cat >conftest.$ac_ext <<_ACEOF
13314 /* confdefs.h. */
13315 _ACEOF
13316 cat confdefs.h >>conftest.$ac_ext
13317 cat >>conftest.$ac_ext <<_ACEOF
13318 /* end confdefs.h. */
13319 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13320 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13321 #define $ac_func innocuous_$ac_func
13323 /* System header to define __stub macros and hopefully few prototypes,
13324 which can conflict with char $ac_func (); below.
13325 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13326 <limits.h> exists even on freestanding compilers. */
13328 #ifdef __STDC__
13329 # include <limits.h>
13330 #else
13331 # include <assert.h>
13332 #endif
13334 #undef $ac_func
13336 /* Override any gcc2 internal prototype to avoid an error. */
13337 #ifdef __cplusplus
13338 extern "C"
13340 #endif
13341 /* We use char because int might match the return type of a gcc2
13342 builtin and then its argument prototype would still apply. */
13343 char $ac_func ();
13344 /* The GNU C library defines this for functions which it implements
13345 to always fail with ENOSYS. Some functions are actually named
13346 something starting with __ and the normal name is an alias. */
13347 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13348 choke me
13349 #else
13350 char (*f) () = $ac_func;
13351 #endif
13352 #ifdef __cplusplus
13354 #endif
13357 main ()
13359 return f != $ac_func;
13361 return 0;
13363 _ACEOF
13364 rm -f conftest.$ac_objext conftest$ac_exeext
13365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13366 (eval $ac_link) 2>conftest.er1
13367 ac_status=$?
13368 grep -v '^ *+' conftest.er1 >conftest.err
13369 rm -f conftest.er1
13370 cat conftest.err >&5
13371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13372 (exit $ac_status); } &&
13373 { ac_try='test -z "$ac_c_werror_flag"
13374 || test ! -s conftest.err'
13375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13376 (eval $ac_try) 2>&5
13377 ac_status=$?
13378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13379 (exit $ac_status); }; } &&
13380 { ac_try='test -s conftest$ac_exeext'
13381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13382 (eval $ac_try) 2>&5
13383 ac_status=$?
13384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13385 (exit $ac_status); }; }; then
13386 eval "$as_ac_var=yes"
13387 else
13388 echo "$as_me: failed program was:" >&5
13389 sed 's/^/| /' conftest.$ac_ext >&5
13391 eval "$as_ac_var=no"
13393 rm -f conftest.err conftest.$ac_objext \
13394 conftest$ac_exeext conftest.$ac_ext
13396 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13397 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13398 if test `eval echo '${'$as_ac_var'}'` = yes; then
13399 cat >>confdefs.h <<_ACEOF
13400 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13401 _ACEOF
13404 done
13406 else
13408 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
13409 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
13410 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
13411 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
13412 echo $ECHO_N "(cached) $ECHO_C" >&6
13413 else
13417 ac_ext=cc
13418 ac_cpp='$CXXCPP $CPPFLAGS'
13419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13423 cat >conftest.$ac_ext <<_ACEOF
13424 /* confdefs.h. */
13425 _ACEOF
13426 cat confdefs.h >>conftest.$ac_ext
13427 cat >>conftest.$ac_ext <<_ACEOF
13428 /* end confdefs.h. */
13429 #include <math.h>
13430 #ifdef HAVE_IEEEFP_H
13431 #include <ieeefp.h>
13432 #endif
13435 main ()
13437 _fabsf(0);
13439 return 0;
13441 _ACEOF
13442 rm -f conftest.$ac_objext
13443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13444 (eval $ac_compile) 2>conftest.er1
13445 ac_status=$?
13446 grep -v '^ *+' conftest.er1 >conftest.err
13447 rm -f conftest.er1
13448 cat conftest.err >&5
13449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13450 (exit $ac_status); } &&
13451 { ac_try='test -z "$ac_cxx_werror_flag"
13452 || test ! -s conftest.err'
13453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13454 (eval $ac_try) 2>&5
13455 ac_status=$?
13456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13457 (exit $ac_status); }; } &&
13458 { ac_try='test -s conftest.$ac_objext'
13459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13460 (eval $ac_try) 2>&5
13461 ac_status=$?
13462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13463 (exit $ac_status); }; }; then
13464 glibcxx_cv_func__fabsf_use=yes
13465 else
13466 echo "$as_me: failed program was:" >&5
13467 sed 's/^/| /' conftest.$ac_ext >&5
13469 glibcxx_cv_func__fabsf_use=no
13471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13472 ac_ext=c
13473 ac_cpp='$CPP $CPPFLAGS'
13474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13482 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
13483 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
13485 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
13487 for ac_func in _fabsf
13489 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13490 echo "$as_me:$LINENO: checking for $ac_func" >&5
13491 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13492 if eval "test \"\${$as_ac_var+set}\" = set"; then
13493 echo $ECHO_N "(cached) $ECHO_C" >&6
13494 else
13495 if test x$gcc_no_link = xyes; then
13496 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13497 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13498 { (exit 1); exit 1; }; }
13500 cat >conftest.$ac_ext <<_ACEOF
13501 /* confdefs.h. */
13502 _ACEOF
13503 cat confdefs.h >>conftest.$ac_ext
13504 cat >>conftest.$ac_ext <<_ACEOF
13505 /* end confdefs.h. */
13506 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13507 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13508 #define $ac_func innocuous_$ac_func
13510 /* System header to define __stub macros and hopefully few prototypes,
13511 which can conflict with char $ac_func (); below.
13512 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13513 <limits.h> exists even on freestanding compilers. */
13515 #ifdef __STDC__
13516 # include <limits.h>
13517 #else
13518 # include <assert.h>
13519 #endif
13521 #undef $ac_func
13523 /* Override any gcc2 internal prototype to avoid an error. */
13524 #ifdef __cplusplus
13525 extern "C"
13527 #endif
13528 /* We use char because int might match the return type of a gcc2
13529 builtin and then its argument prototype would still apply. */
13530 char $ac_func ();
13531 /* The GNU C library defines this for functions which it implements
13532 to always fail with ENOSYS. Some functions are actually named
13533 something starting with __ and the normal name is an alias. */
13534 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13535 choke me
13536 #else
13537 char (*f) () = $ac_func;
13538 #endif
13539 #ifdef __cplusplus
13541 #endif
13544 main ()
13546 return f != $ac_func;
13548 return 0;
13550 _ACEOF
13551 rm -f conftest.$ac_objext conftest$ac_exeext
13552 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13553 (eval $ac_link) 2>conftest.er1
13554 ac_status=$?
13555 grep -v '^ *+' conftest.er1 >conftest.err
13556 rm -f conftest.er1
13557 cat conftest.err >&5
13558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13559 (exit $ac_status); } &&
13560 { ac_try='test -z "$ac_c_werror_flag"
13561 || test ! -s conftest.err'
13562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13563 (eval $ac_try) 2>&5
13564 ac_status=$?
13565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13566 (exit $ac_status); }; } &&
13567 { ac_try='test -s conftest$ac_exeext'
13568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13569 (eval $ac_try) 2>&5
13570 ac_status=$?
13571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13572 (exit $ac_status); }; }; then
13573 eval "$as_ac_var=yes"
13574 else
13575 echo "$as_me: failed program was:" >&5
13576 sed 's/^/| /' conftest.$ac_ext >&5
13578 eval "$as_ac_var=no"
13580 rm -f conftest.err conftest.$ac_objext \
13581 conftest$ac_exeext conftest.$ac_ext
13583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13584 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13585 if test `eval echo '${'$as_ac_var'}'` = yes; then
13586 cat >>confdefs.h <<_ACEOF
13587 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13588 _ACEOF
13591 done
13598 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
13599 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
13600 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
13601 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
13602 echo $ECHO_N "(cached) $ECHO_C" >&6
13603 else
13607 ac_ext=cc
13608 ac_cpp='$CXXCPP $CPPFLAGS'
13609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13613 cat >conftest.$ac_ext <<_ACEOF
13614 /* confdefs.h. */
13615 _ACEOF
13616 cat confdefs.h >>conftest.$ac_ext
13617 cat >>conftest.$ac_ext <<_ACEOF
13618 /* end confdefs.h. */
13619 #include <math.h>
13621 main ()
13623 fmodf(0, 0);
13625 return 0;
13627 _ACEOF
13628 rm -f conftest.$ac_objext
13629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13630 (eval $ac_compile) 2>conftest.er1
13631 ac_status=$?
13632 grep -v '^ *+' conftest.er1 >conftest.err
13633 rm -f conftest.er1
13634 cat conftest.err >&5
13635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13636 (exit $ac_status); } &&
13637 { ac_try='test -z "$ac_cxx_werror_flag"
13638 || test ! -s conftest.err'
13639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13640 (eval $ac_try) 2>&5
13641 ac_status=$?
13642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13643 (exit $ac_status); }; } &&
13644 { ac_try='test -s conftest.$ac_objext'
13645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13646 (eval $ac_try) 2>&5
13647 ac_status=$?
13648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13649 (exit $ac_status); }; }; then
13650 glibcxx_cv_func_fmodf_use=yes
13651 else
13652 echo "$as_me: failed program was:" >&5
13653 sed 's/^/| /' conftest.$ac_ext >&5
13655 glibcxx_cv_func_fmodf_use=no
13657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13658 ac_ext=c
13659 ac_cpp='$CPP $CPPFLAGS'
13660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13668 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
13669 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
13671 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
13673 for ac_func in fmodf
13675 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13676 echo "$as_me:$LINENO: checking for $ac_func" >&5
13677 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13678 if eval "test \"\${$as_ac_var+set}\" = set"; then
13679 echo $ECHO_N "(cached) $ECHO_C" >&6
13680 else
13681 if test x$gcc_no_link = xyes; then
13682 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13684 { (exit 1); exit 1; }; }
13686 cat >conftest.$ac_ext <<_ACEOF
13687 /* confdefs.h. */
13688 _ACEOF
13689 cat confdefs.h >>conftest.$ac_ext
13690 cat >>conftest.$ac_ext <<_ACEOF
13691 /* end confdefs.h. */
13692 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13693 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13694 #define $ac_func innocuous_$ac_func
13696 /* System header to define __stub macros and hopefully few prototypes,
13697 which can conflict with char $ac_func (); below.
13698 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13699 <limits.h> exists even on freestanding compilers. */
13701 #ifdef __STDC__
13702 # include <limits.h>
13703 #else
13704 # include <assert.h>
13705 #endif
13707 #undef $ac_func
13709 /* Override any gcc2 internal prototype to avoid an error. */
13710 #ifdef __cplusplus
13711 extern "C"
13713 #endif
13714 /* We use char because int might match the return type of a gcc2
13715 builtin and then its argument prototype would still apply. */
13716 char $ac_func ();
13717 /* The GNU C library defines this for functions which it implements
13718 to always fail with ENOSYS. Some functions are actually named
13719 something starting with __ and the normal name is an alias. */
13720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13721 choke me
13722 #else
13723 char (*f) () = $ac_func;
13724 #endif
13725 #ifdef __cplusplus
13727 #endif
13730 main ()
13732 return f != $ac_func;
13734 return 0;
13736 _ACEOF
13737 rm -f conftest.$ac_objext conftest$ac_exeext
13738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13739 (eval $ac_link) 2>conftest.er1
13740 ac_status=$?
13741 grep -v '^ *+' conftest.er1 >conftest.err
13742 rm -f conftest.er1
13743 cat conftest.err >&5
13744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13745 (exit $ac_status); } &&
13746 { ac_try='test -z "$ac_c_werror_flag"
13747 || test ! -s conftest.err'
13748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13749 (eval $ac_try) 2>&5
13750 ac_status=$?
13751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13752 (exit $ac_status); }; } &&
13753 { ac_try='test -s conftest$ac_exeext'
13754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13755 (eval $ac_try) 2>&5
13756 ac_status=$?
13757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13758 (exit $ac_status); }; }; then
13759 eval "$as_ac_var=yes"
13760 else
13761 echo "$as_me: failed program was:" >&5
13762 sed 's/^/| /' conftest.$ac_ext >&5
13764 eval "$as_ac_var=no"
13766 rm -f conftest.err conftest.$ac_objext \
13767 conftest$ac_exeext conftest.$ac_ext
13769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13770 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13771 if test `eval echo '${'$as_ac_var'}'` = yes; then
13772 cat >>confdefs.h <<_ACEOF
13773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13774 _ACEOF
13777 done
13779 else
13781 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
13782 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
13783 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
13784 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
13785 echo $ECHO_N "(cached) $ECHO_C" >&6
13786 else
13790 ac_ext=cc
13791 ac_cpp='$CXXCPP $CPPFLAGS'
13792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13796 cat >conftest.$ac_ext <<_ACEOF
13797 /* confdefs.h. */
13798 _ACEOF
13799 cat confdefs.h >>conftest.$ac_ext
13800 cat >>conftest.$ac_ext <<_ACEOF
13801 /* end confdefs.h. */
13802 #include <math.h>
13804 main ()
13806 _fmodf(0, 0);
13808 return 0;
13810 _ACEOF
13811 rm -f conftest.$ac_objext
13812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13813 (eval $ac_compile) 2>conftest.er1
13814 ac_status=$?
13815 grep -v '^ *+' conftest.er1 >conftest.err
13816 rm -f conftest.er1
13817 cat conftest.err >&5
13818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13819 (exit $ac_status); } &&
13820 { ac_try='test -z "$ac_cxx_werror_flag"
13821 || test ! -s conftest.err'
13822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13823 (eval $ac_try) 2>&5
13824 ac_status=$?
13825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13826 (exit $ac_status); }; } &&
13827 { ac_try='test -s conftest.$ac_objext'
13828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13829 (eval $ac_try) 2>&5
13830 ac_status=$?
13831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13832 (exit $ac_status); }; }; then
13833 glibcxx_cv_func__fmodf_use=yes
13834 else
13835 echo "$as_me: failed program was:" >&5
13836 sed 's/^/| /' conftest.$ac_ext >&5
13838 glibcxx_cv_func__fmodf_use=no
13840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13841 ac_ext=c
13842 ac_cpp='$CPP $CPPFLAGS'
13843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13851 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
13852 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
13854 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
13856 for ac_func in _fmodf
13858 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13859 echo "$as_me:$LINENO: checking for $ac_func" >&5
13860 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13861 if eval "test \"\${$as_ac_var+set}\" = set"; then
13862 echo $ECHO_N "(cached) $ECHO_C" >&6
13863 else
13864 if test x$gcc_no_link = xyes; then
13865 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13866 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13867 { (exit 1); exit 1; }; }
13869 cat >conftest.$ac_ext <<_ACEOF
13870 /* confdefs.h. */
13871 _ACEOF
13872 cat confdefs.h >>conftest.$ac_ext
13873 cat >>conftest.$ac_ext <<_ACEOF
13874 /* end confdefs.h. */
13875 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13876 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13877 #define $ac_func innocuous_$ac_func
13879 /* System header to define __stub macros and hopefully few prototypes,
13880 which can conflict with char $ac_func (); below.
13881 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13882 <limits.h> exists even on freestanding compilers. */
13884 #ifdef __STDC__
13885 # include <limits.h>
13886 #else
13887 # include <assert.h>
13888 #endif
13890 #undef $ac_func
13892 /* Override any gcc2 internal prototype to avoid an error. */
13893 #ifdef __cplusplus
13894 extern "C"
13896 #endif
13897 /* We use char because int might match the return type of a gcc2
13898 builtin and then its argument prototype would still apply. */
13899 char $ac_func ();
13900 /* The GNU C library defines this for functions which it implements
13901 to always fail with ENOSYS. Some functions are actually named
13902 something starting with __ and the normal name is an alias. */
13903 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13904 choke me
13905 #else
13906 char (*f) () = $ac_func;
13907 #endif
13908 #ifdef __cplusplus
13910 #endif
13913 main ()
13915 return f != $ac_func;
13917 return 0;
13919 _ACEOF
13920 rm -f conftest.$ac_objext conftest$ac_exeext
13921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13922 (eval $ac_link) 2>conftest.er1
13923 ac_status=$?
13924 grep -v '^ *+' conftest.er1 >conftest.err
13925 rm -f conftest.er1
13926 cat conftest.err >&5
13927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13928 (exit $ac_status); } &&
13929 { ac_try='test -z "$ac_c_werror_flag"
13930 || test ! -s conftest.err'
13931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13932 (eval $ac_try) 2>&5
13933 ac_status=$?
13934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13935 (exit $ac_status); }; } &&
13936 { ac_try='test -s conftest$ac_exeext'
13937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13938 (eval $ac_try) 2>&5
13939 ac_status=$?
13940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13941 (exit $ac_status); }; }; then
13942 eval "$as_ac_var=yes"
13943 else
13944 echo "$as_me: failed program was:" >&5
13945 sed 's/^/| /' conftest.$ac_ext >&5
13947 eval "$as_ac_var=no"
13949 rm -f conftest.err conftest.$ac_objext \
13950 conftest$ac_exeext conftest.$ac_ext
13952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13953 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13954 if test `eval echo '${'$as_ac_var'}'` = yes; then
13955 cat >>confdefs.h <<_ACEOF
13956 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13957 _ACEOF
13960 done
13967 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
13968 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
13969 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
13970 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
13971 echo $ECHO_N "(cached) $ECHO_C" >&6
13972 else
13976 ac_ext=cc
13977 ac_cpp='$CXXCPP $CPPFLAGS'
13978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13982 cat >conftest.$ac_ext <<_ACEOF
13983 /* confdefs.h. */
13984 _ACEOF
13985 cat confdefs.h >>conftest.$ac_ext
13986 cat >>conftest.$ac_ext <<_ACEOF
13987 /* end confdefs.h. */
13988 #include <math.h>
13990 main ()
13992 frexpf(0, 0);
13994 return 0;
13996 _ACEOF
13997 rm -f conftest.$ac_objext
13998 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13999 (eval $ac_compile) 2>conftest.er1
14000 ac_status=$?
14001 grep -v '^ *+' conftest.er1 >conftest.err
14002 rm -f conftest.er1
14003 cat conftest.err >&5
14004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14005 (exit $ac_status); } &&
14006 { ac_try='test -z "$ac_cxx_werror_flag"
14007 || test ! -s conftest.err'
14008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14009 (eval $ac_try) 2>&5
14010 ac_status=$?
14011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14012 (exit $ac_status); }; } &&
14013 { ac_try='test -s conftest.$ac_objext'
14014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14015 (eval $ac_try) 2>&5
14016 ac_status=$?
14017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14018 (exit $ac_status); }; }; then
14019 glibcxx_cv_func_frexpf_use=yes
14020 else
14021 echo "$as_me: failed program was:" >&5
14022 sed 's/^/| /' conftest.$ac_ext >&5
14024 glibcxx_cv_func_frexpf_use=no
14026 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14027 ac_ext=c
14028 ac_cpp='$CPP $CPPFLAGS'
14029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14037 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
14038 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
14040 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
14042 for ac_func in frexpf
14044 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14045 echo "$as_me:$LINENO: checking for $ac_func" >&5
14046 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14047 if eval "test \"\${$as_ac_var+set}\" = set"; then
14048 echo $ECHO_N "(cached) $ECHO_C" >&6
14049 else
14050 if test x$gcc_no_link = xyes; then
14051 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14052 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14053 { (exit 1); exit 1; }; }
14055 cat >conftest.$ac_ext <<_ACEOF
14056 /* confdefs.h. */
14057 _ACEOF
14058 cat confdefs.h >>conftest.$ac_ext
14059 cat >>conftest.$ac_ext <<_ACEOF
14060 /* end confdefs.h. */
14061 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14062 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14063 #define $ac_func innocuous_$ac_func
14065 /* System header to define __stub macros and hopefully few prototypes,
14066 which can conflict with char $ac_func (); below.
14067 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14068 <limits.h> exists even on freestanding compilers. */
14070 #ifdef __STDC__
14071 # include <limits.h>
14072 #else
14073 # include <assert.h>
14074 #endif
14076 #undef $ac_func
14078 /* Override any gcc2 internal prototype to avoid an error. */
14079 #ifdef __cplusplus
14080 extern "C"
14082 #endif
14083 /* We use char because int might match the return type of a gcc2
14084 builtin and then its argument prototype would still apply. */
14085 char $ac_func ();
14086 /* The GNU C library defines this for functions which it implements
14087 to always fail with ENOSYS. Some functions are actually named
14088 something starting with __ and the normal name is an alias. */
14089 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14090 choke me
14091 #else
14092 char (*f) () = $ac_func;
14093 #endif
14094 #ifdef __cplusplus
14096 #endif
14099 main ()
14101 return f != $ac_func;
14103 return 0;
14105 _ACEOF
14106 rm -f conftest.$ac_objext conftest$ac_exeext
14107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14108 (eval $ac_link) 2>conftest.er1
14109 ac_status=$?
14110 grep -v '^ *+' conftest.er1 >conftest.err
14111 rm -f conftest.er1
14112 cat conftest.err >&5
14113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14114 (exit $ac_status); } &&
14115 { ac_try='test -z "$ac_c_werror_flag"
14116 || test ! -s conftest.err'
14117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14118 (eval $ac_try) 2>&5
14119 ac_status=$?
14120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14121 (exit $ac_status); }; } &&
14122 { ac_try='test -s conftest$ac_exeext'
14123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14124 (eval $ac_try) 2>&5
14125 ac_status=$?
14126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14127 (exit $ac_status); }; }; then
14128 eval "$as_ac_var=yes"
14129 else
14130 echo "$as_me: failed program was:" >&5
14131 sed 's/^/| /' conftest.$ac_ext >&5
14133 eval "$as_ac_var=no"
14135 rm -f conftest.err conftest.$ac_objext \
14136 conftest$ac_exeext conftest.$ac_ext
14138 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14139 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14140 if test `eval echo '${'$as_ac_var'}'` = yes; then
14141 cat >>confdefs.h <<_ACEOF
14142 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14143 _ACEOF
14146 done
14148 else
14150 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
14151 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
14152 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
14153 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
14154 echo $ECHO_N "(cached) $ECHO_C" >&6
14155 else
14159 ac_ext=cc
14160 ac_cpp='$CXXCPP $CPPFLAGS'
14161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14165 cat >conftest.$ac_ext <<_ACEOF
14166 /* confdefs.h. */
14167 _ACEOF
14168 cat confdefs.h >>conftest.$ac_ext
14169 cat >>conftest.$ac_ext <<_ACEOF
14170 /* end confdefs.h. */
14171 #include <math.h>
14173 main ()
14175 _frexpf(0, 0);
14177 return 0;
14179 _ACEOF
14180 rm -f conftest.$ac_objext
14181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14182 (eval $ac_compile) 2>conftest.er1
14183 ac_status=$?
14184 grep -v '^ *+' conftest.er1 >conftest.err
14185 rm -f conftest.er1
14186 cat conftest.err >&5
14187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14188 (exit $ac_status); } &&
14189 { ac_try='test -z "$ac_cxx_werror_flag"
14190 || test ! -s conftest.err'
14191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14192 (eval $ac_try) 2>&5
14193 ac_status=$?
14194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14195 (exit $ac_status); }; } &&
14196 { ac_try='test -s conftest.$ac_objext'
14197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14198 (eval $ac_try) 2>&5
14199 ac_status=$?
14200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14201 (exit $ac_status); }; }; then
14202 glibcxx_cv_func__frexpf_use=yes
14203 else
14204 echo "$as_me: failed program was:" >&5
14205 sed 's/^/| /' conftest.$ac_ext >&5
14207 glibcxx_cv_func__frexpf_use=no
14209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14210 ac_ext=c
14211 ac_cpp='$CPP $CPPFLAGS'
14212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14220 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
14221 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
14223 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
14225 for ac_func in _frexpf
14227 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14228 echo "$as_me:$LINENO: checking for $ac_func" >&5
14229 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14230 if eval "test \"\${$as_ac_var+set}\" = set"; then
14231 echo $ECHO_N "(cached) $ECHO_C" >&6
14232 else
14233 if test x$gcc_no_link = xyes; then
14234 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14235 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14236 { (exit 1); exit 1; }; }
14238 cat >conftest.$ac_ext <<_ACEOF
14239 /* confdefs.h. */
14240 _ACEOF
14241 cat confdefs.h >>conftest.$ac_ext
14242 cat >>conftest.$ac_ext <<_ACEOF
14243 /* end confdefs.h. */
14244 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14245 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14246 #define $ac_func innocuous_$ac_func
14248 /* System header to define __stub macros and hopefully few prototypes,
14249 which can conflict with char $ac_func (); below.
14250 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14251 <limits.h> exists even on freestanding compilers. */
14253 #ifdef __STDC__
14254 # include <limits.h>
14255 #else
14256 # include <assert.h>
14257 #endif
14259 #undef $ac_func
14261 /* Override any gcc2 internal prototype to avoid an error. */
14262 #ifdef __cplusplus
14263 extern "C"
14265 #endif
14266 /* We use char because int might match the return type of a gcc2
14267 builtin and then its argument prototype would still apply. */
14268 char $ac_func ();
14269 /* The GNU C library defines this for functions which it implements
14270 to always fail with ENOSYS. Some functions are actually named
14271 something starting with __ and the normal name is an alias. */
14272 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14273 choke me
14274 #else
14275 char (*f) () = $ac_func;
14276 #endif
14277 #ifdef __cplusplus
14279 #endif
14282 main ()
14284 return f != $ac_func;
14286 return 0;
14288 _ACEOF
14289 rm -f conftest.$ac_objext conftest$ac_exeext
14290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14291 (eval $ac_link) 2>conftest.er1
14292 ac_status=$?
14293 grep -v '^ *+' conftest.er1 >conftest.err
14294 rm -f conftest.er1
14295 cat conftest.err >&5
14296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14297 (exit $ac_status); } &&
14298 { ac_try='test -z "$ac_c_werror_flag"
14299 || test ! -s conftest.err'
14300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14301 (eval $ac_try) 2>&5
14302 ac_status=$?
14303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14304 (exit $ac_status); }; } &&
14305 { ac_try='test -s conftest$ac_exeext'
14306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14307 (eval $ac_try) 2>&5
14308 ac_status=$?
14309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14310 (exit $ac_status); }; }; then
14311 eval "$as_ac_var=yes"
14312 else
14313 echo "$as_me: failed program was:" >&5
14314 sed 's/^/| /' conftest.$ac_ext >&5
14316 eval "$as_ac_var=no"
14318 rm -f conftest.err conftest.$ac_objext \
14319 conftest$ac_exeext conftest.$ac_ext
14321 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14322 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14323 if test `eval echo '${'$as_ac_var'}'` = yes; then
14324 cat >>confdefs.h <<_ACEOF
14325 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14326 _ACEOF
14329 done
14336 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
14337 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
14338 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
14339 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
14340 echo $ECHO_N "(cached) $ECHO_C" >&6
14341 else
14345 ac_ext=cc
14346 ac_cpp='$CXXCPP $CPPFLAGS'
14347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14351 cat >conftest.$ac_ext <<_ACEOF
14352 /* confdefs.h. */
14353 _ACEOF
14354 cat confdefs.h >>conftest.$ac_ext
14355 cat >>conftest.$ac_ext <<_ACEOF
14356 /* end confdefs.h. */
14357 #include <math.h>
14359 main ()
14361 hypotf(0, 0);
14363 return 0;
14365 _ACEOF
14366 rm -f conftest.$ac_objext
14367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14368 (eval $ac_compile) 2>conftest.er1
14369 ac_status=$?
14370 grep -v '^ *+' conftest.er1 >conftest.err
14371 rm -f conftest.er1
14372 cat conftest.err >&5
14373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14374 (exit $ac_status); } &&
14375 { ac_try='test -z "$ac_cxx_werror_flag"
14376 || test ! -s conftest.err'
14377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14378 (eval $ac_try) 2>&5
14379 ac_status=$?
14380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14381 (exit $ac_status); }; } &&
14382 { ac_try='test -s conftest.$ac_objext'
14383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14384 (eval $ac_try) 2>&5
14385 ac_status=$?
14386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14387 (exit $ac_status); }; }; then
14388 glibcxx_cv_func_hypotf_use=yes
14389 else
14390 echo "$as_me: failed program was:" >&5
14391 sed 's/^/| /' conftest.$ac_ext >&5
14393 glibcxx_cv_func_hypotf_use=no
14395 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14396 ac_ext=c
14397 ac_cpp='$CPP $CPPFLAGS'
14398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14406 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
14407 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
14409 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
14411 for ac_func in hypotf
14413 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14414 echo "$as_me:$LINENO: checking for $ac_func" >&5
14415 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14416 if eval "test \"\${$as_ac_var+set}\" = set"; then
14417 echo $ECHO_N "(cached) $ECHO_C" >&6
14418 else
14419 if test x$gcc_no_link = xyes; then
14420 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14421 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14422 { (exit 1); exit 1; }; }
14424 cat >conftest.$ac_ext <<_ACEOF
14425 /* confdefs.h. */
14426 _ACEOF
14427 cat confdefs.h >>conftest.$ac_ext
14428 cat >>conftest.$ac_ext <<_ACEOF
14429 /* end confdefs.h. */
14430 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14431 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14432 #define $ac_func innocuous_$ac_func
14434 /* System header to define __stub macros and hopefully few prototypes,
14435 which can conflict with char $ac_func (); below.
14436 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14437 <limits.h> exists even on freestanding compilers. */
14439 #ifdef __STDC__
14440 # include <limits.h>
14441 #else
14442 # include <assert.h>
14443 #endif
14445 #undef $ac_func
14447 /* Override any gcc2 internal prototype to avoid an error. */
14448 #ifdef __cplusplus
14449 extern "C"
14451 #endif
14452 /* We use char because int might match the return type of a gcc2
14453 builtin and then its argument prototype would still apply. */
14454 char $ac_func ();
14455 /* The GNU C library defines this for functions which it implements
14456 to always fail with ENOSYS. Some functions are actually named
14457 something starting with __ and the normal name is an alias. */
14458 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14459 choke me
14460 #else
14461 char (*f) () = $ac_func;
14462 #endif
14463 #ifdef __cplusplus
14465 #endif
14468 main ()
14470 return f != $ac_func;
14472 return 0;
14474 _ACEOF
14475 rm -f conftest.$ac_objext conftest$ac_exeext
14476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14477 (eval $ac_link) 2>conftest.er1
14478 ac_status=$?
14479 grep -v '^ *+' conftest.er1 >conftest.err
14480 rm -f conftest.er1
14481 cat conftest.err >&5
14482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14483 (exit $ac_status); } &&
14484 { ac_try='test -z "$ac_c_werror_flag"
14485 || test ! -s conftest.err'
14486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14487 (eval $ac_try) 2>&5
14488 ac_status=$?
14489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14490 (exit $ac_status); }; } &&
14491 { ac_try='test -s conftest$ac_exeext'
14492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14493 (eval $ac_try) 2>&5
14494 ac_status=$?
14495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14496 (exit $ac_status); }; }; then
14497 eval "$as_ac_var=yes"
14498 else
14499 echo "$as_me: failed program was:" >&5
14500 sed 's/^/| /' conftest.$ac_ext >&5
14502 eval "$as_ac_var=no"
14504 rm -f conftest.err conftest.$ac_objext \
14505 conftest$ac_exeext conftest.$ac_ext
14507 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14508 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14509 if test `eval echo '${'$as_ac_var'}'` = yes; then
14510 cat >>confdefs.h <<_ACEOF
14511 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14512 _ACEOF
14515 done
14517 else
14519 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
14520 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
14521 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
14522 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
14523 echo $ECHO_N "(cached) $ECHO_C" >&6
14524 else
14528 ac_ext=cc
14529 ac_cpp='$CXXCPP $CPPFLAGS'
14530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14534 cat >conftest.$ac_ext <<_ACEOF
14535 /* confdefs.h. */
14536 _ACEOF
14537 cat confdefs.h >>conftest.$ac_ext
14538 cat >>conftest.$ac_ext <<_ACEOF
14539 /* end confdefs.h. */
14540 #include <math.h>
14542 main ()
14544 _hypotf(0, 0);
14546 return 0;
14548 _ACEOF
14549 rm -f conftest.$ac_objext
14550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14551 (eval $ac_compile) 2>conftest.er1
14552 ac_status=$?
14553 grep -v '^ *+' conftest.er1 >conftest.err
14554 rm -f conftest.er1
14555 cat conftest.err >&5
14556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14557 (exit $ac_status); } &&
14558 { ac_try='test -z "$ac_cxx_werror_flag"
14559 || test ! -s conftest.err'
14560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14561 (eval $ac_try) 2>&5
14562 ac_status=$?
14563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14564 (exit $ac_status); }; } &&
14565 { ac_try='test -s conftest.$ac_objext'
14566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14567 (eval $ac_try) 2>&5
14568 ac_status=$?
14569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14570 (exit $ac_status); }; }; then
14571 glibcxx_cv_func__hypotf_use=yes
14572 else
14573 echo "$as_me: failed program was:" >&5
14574 sed 's/^/| /' conftest.$ac_ext >&5
14576 glibcxx_cv_func__hypotf_use=no
14578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14579 ac_ext=c
14580 ac_cpp='$CPP $CPPFLAGS'
14581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14589 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
14590 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
14592 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
14594 for ac_func in _hypotf
14596 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14597 echo "$as_me:$LINENO: checking for $ac_func" >&5
14598 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14599 if eval "test \"\${$as_ac_var+set}\" = set"; then
14600 echo $ECHO_N "(cached) $ECHO_C" >&6
14601 else
14602 if test x$gcc_no_link = xyes; then
14603 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14604 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14605 { (exit 1); exit 1; }; }
14607 cat >conftest.$ac_ext <<_ACEOF
14608 /* confdefs.h. */
14609 _ACEOF
14610 cat confdefs.h >>conftest.$ac_ext
14611 cat >>conftest.$ac_ext <<_ACEOF
14612 /* end confdefs.h. */
14613 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14614 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14615 #define $ac_func innocuous_$ac_func
14617 /* System header to define __stub macros and hopefully few prototypes,
14618 which can conflict with char $ac_func (); below.
14619 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14620 <limits.h> exists even on freestanding compilers. */
14622 #ifdef __STDC__
14623 # include <limits.h>
14624 #else
14625 # include <assert.h>
14626 #endif
14628 #undef $ac_func
14630 /* Override any gcc2 internal prototype to avoid an error. */
14631 #ifdef __cplusplus
14632 extern "C"
14634 #endif
14635 /* We use char because int might match the return type of a gcc2
14636 builtin and then its argument prototype would still apply. */
14637 char $ac_func ();
14638 /* The GNU C library defines this for functions which it implements
14639 to always fail with ENOSYS. Some functions are actually named
14640 something starting with __ and the normal name is an alias. */
14641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14642 choke me
14643 #else
14644 char (*f) () = $ac_func;
14645 #endif
14646 #ifdef __cplusplus
14648 #endif
14651 main ()
14653 return f != $ac_func;
14655 return 0;
14657 _ACEOF
14658 rm -f conftest.$ac_objext conftest$ac_exeext
14659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14660 (eval $ac_link) 2>conftest.er1
14661 ac_status=$?
14662 grep -v '^ *+' conftest.er1 >conftest.err
14663 rm -f conftest.er1
14664 cat conftest.err >&5
14665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14666 (exit $ac_status); } &&
14667 { ac_try='test -z "$ac_c_werror_flag"
14668 || test ! -s conftest.err'
14669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14670 (eval $ac_try) 2>&5
14671 ac_status=$?
14672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14673 (exit $ac_status); }; } &&
14674 { ac_try='test -s conftest$ac_exeext'
14675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14676 (eval $ac_try) 2>&5
14677 ac_status=$?
14678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14679 (exit $ac_status); }; }; then
14680 eval "$as_ac_var=yes"
14681 else
14682 echo "$as_me: failed program was:" >&5
14683 sed 's/^/| /' conftest.$ac_ext >&5
14685 eval "$as_ac_var=no"
14687 rm -f conftest.err conftest.$ac_objext \
14688 conftest$ac_exeext conftest.$ac_ext
14690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14691 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14692 if test `eval echo '${'$as_ac_var'}'` = yes; then
14693 cat >>confdefs.h <<_ACEOF
14694 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14695 _ACEOF
14698 done
14705 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
14706 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
14707 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
14708 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
14709 echo $ECHO_N "(cached) $ECHO_C" >&6
14710 else
14714 ac_ext=cc
14715 ac_cpp='$CXXCPP $CPPFLAGS'
14716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14720 cat >conftest.$ac_ext <<_ACEOF
14721 /* confdefs.h. */
14722 _ACEOF
14723 cat confdefs.h >>conftest.$ac_ext
14724 cat >>conftest.$ac_ext <<_ACEOF
14725 /* end confdefs.h. */
14726 #include <math.h>
14728 main ()
14730 ldexpf(0, 0);
14732 return 0;
14734 _ACEOF
14735 rm -f conftest.$ac_objext
14736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14737 (eval $ac_compile) 2>conftest.er1
14738 ac_status=$?
14739 grep -v '^ *+' conftest.er1 >conftest.err
14740 rm -f conftest.er1
14741 cat conftest.err >&5
14742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14743 (exit $ac_status); } &&
14744 { ac_try='test -z "$ac_cxx_werror_flag"
14745 || test ! -s conftest.err'
14746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14747 (eval $ac_try) 2>&5
14748 ac_status=$?
14749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14750 (exit $ac_status); }; } &&
14751 { ac_try='test -s conftest.$ac_objext'
14752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14753 (eval $ac_try) 2>&5
14754 ac_status=$?
14755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14756 (exit $ac_status); }; }; then
14757 glibcxx_cv_func_ldexpf_use=yes
14758 else
14759 echo "$as_me: failed program was:" >&5
14760 sed 's/^/| /' conftest.$ac_ext >&5
14762 glibcxx_cv_func_ldexpf_use=no
14764 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14765 ac_ext=c
14766 ac_cpp='$CPP $CPPFLAGS'
14767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14775 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
14776 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
14778 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
14780 for ac_func in ldexpf
14782 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14783 echo "$as_me:$LINENO: checking for $ac_func" >&5
14784 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14785 if eval "test \"\${$as_ac_var+set}\" = set"; then
14786 echo $ECHO_N "(cached) $ECHO_C" >&6
14787 else
14788 if test x$gcc_no_link = xyes; then
14789 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14790 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14791 { (exit 1); exit 1; }; }
14793 cat >conftest.$ac_ext <<_ACEOF
14794 /* confdefs.h. */
14795 _ACEOF
14796 cat confdefs.h >>conftest.$ac_ext
14797 cat >>conftest.$ac_ext <<_ACEOF
14798 /* end confdefs.h. */
14799 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14800 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14801 #define $ac_func innocuous_$ac_func
14803 /* System header to define __stub macros and hopefully few prototypes,
14804 which can conflict with char $ac_func (); below.
14805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14806 <limits.h> exists even on freestanding compilers. */
14808 #ifdef __STDC__
14809 # include <limits.h>
14810 #else
14811 # include <assert.h>
14812 #endif
14814 #undef $ac_func
14816 /* Override any gcc2 internal prototype to avoid an error. */
14817 #ifdef __cplusplus
14818 extern "C"
14820 #endif
14821 /* We use char because int might match the return type of a gcc2
14822 builtin and then its argument prototype would still apply. */
14823 char $ac_func ();
14824 /* The GNU C library defines this for functions which it implements
14825 to always fail with ENOSYS. Some functions are actually named
14826 something starting with __ and the normal name is an alias. */
14827 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14828 choke me
14829 #else
14830 char (*f) () = $ac_func;
14831 #endif
14832 #ifdef __cplusplus
14834 #endif
14837 main ()
14839 return f != $ac_func;
14841 return 0;
14843 _ACEOF
14844 rm -f conftest.$ac_objext conftest$ac_exeext
14845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14846 (eval $ac_link) 2>conftest.er1
14847 ac_status=$?
14848 grep -v '^ *+' conftest.er1 >conftest.err
14849 rm -f conftest.er1
14850 cat conftest.err >&5
14851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14852 (exit $ac_status); } &&
14853 { ac_try='test -z "$ac_c_werror_flag"
14854 || test ! -s conftest.err'
14855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14856 (eval $ac_try) 2>&5
14857 ac_status=$?
14858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14859 (exit $ac_status); }; } &&
14860 { ac_try='test -s conftest$ac_exeext'
14861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14862 (eval $ac_try) 2>&5
14863 ac_status=$?
14864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14865 (exit $ac_status); }; }; then
14866 eval "$as_ac_var=yes"
14867 else
14868 echo "$as_me: failed program was:" >&5
14869 sed 's/^/| /' conftest.$ac_ext >&5
14871 eval "$as_ac_var=no"
14873 rm -f conftest.err conftest.$ac_objext \
14874 conftest$ac_exeext conftest.$ac_ext
14876 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14877 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14878 if test `eval echo '${'$as_ac_var'}'` = yes; then
14879 cat >>confdefs.h <<_ACEOF
14880 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14881 _ACEOF
14884 done
14886 else
14888 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
14889 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
14890 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
14891 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
14892 echo $ECHO_N "(cached) $ECHO_C" >&6
14893 else
14897 ac_ext=cc
14898 ac_cpp='$CXXCPP $CPPFLAGS'
14899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14903 cat >conftest.$ac_ext <<_ACEOF
14904 /* confdefs.h. */
14905 _ACEOF
14906 cat confdefs.h >>conftest.$ac_ext
14907 cat >>conftest.$ac_ext <<_ACEOF
14908 /* end confdefs.h. */
14909 #include <math.h>
14911 main ()
14913 _ldexpf(0, 0);
14915 return 0;
14917 _ACEOF
14918 rm -f conftest.$ac_objext
14919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14920 (eval $ac_compile) 2>conftest.er1
14921 ac_status=$?
14922 grep -v '^ *+' conftest.er1 >conftest.err
14923 rm -f conftest.er1
14924 cat conftest.err >&5
14925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14926 (exit $ac_status); } &&
14927 { ac_try='test -z "$ac_cxx_werror_flag"
14928 || test ! -s conftest.err'
14929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14930 (eval $ac_try) 2>&5
14931 ac_status=$?
14932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14933 (exit $ac_status); }; } &&
14934 { ac_try='test -s conftest.$ac_objext'
14935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14936 (eval $ac_try) 2>&5
14937 ac_status=$?
14938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14939 (exit $ac_status); }; }; then
14940 glibcxx_cv_func__ldexpf_use=yes
14941 else
14942 echo "$as_me: failed program was:" >&5
14943 sed 's/^/| /' conftest.$ac_ext >&5
14945 glibcxx_cv_func__ldexpf_use=no
14947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14948 ac_ext=c
14949 ac_cpp='$CPP $CPPFLAGS'
14950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14958 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
14959 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
14961 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
14963 for ac_func in _ldexpf
14965 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14966 echo "$as_me:$LINENO: checking for $ac_func" >&5
14967 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14968 if eval "test \"\${$as_ac_var+set}\" = set"; then
14969 echo $ECHO_N "(cached) $ECHO_C" >&6
14970 else
14971 if test x$gcc_no_link = xyes; then
14972 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14973 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14974 { (exit 1); exit 1; }; }
14976 cat >conftest.$ac_ext <<_ACEOF
14977 /* confdefs.h. */
14978 _ACEOF
14979 cat confdefs.h >>conftest.$ac_ext
14980 cat >>conftest.$ac_ext <<_ACEOF
14981 /* end confdefs.h. */
14982 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14983 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14984 #define $ac_func innocuous_$ac_func
14986 /* System header to define __stub macros and hopefully few prototypes,
14987 which can conflict with char $ac_func (); below.
14988 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14989 <limits.h> exists even on freestanding compilers. */
14991 #ifdef __STDC__
14992 # include <limits.h>
14993 #else
14994 # include <assert.h>
14995 #endif
14997 #undef $ac_func
14999 /* Override any gcc2 internal prototype to avoid an error. */
15000 #ifdef __cplusplus
15001 extern "C"
15003 #endif
15004 /* We use char because int might match the return type of a gcc2
15005 builtin and then its argument prototype would still apply. */
15006 char $ac_func ();
15007 /* The GNU C library defines this for functions which it implements
15008 to always fail with ENOSYS. Some functions are actually named
15009 something starting with __ and the normal name is an alias. */
15010 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15011 choke me
15012 #else
15013 char (*f) () = $ac_func;
15014 #endif
15015 #ifdef __cplusplus
15017 #endif
15020 main ()
15022 return f != $ac_func;
15024 return 0;
15026 _ACEOF
15027 rm -f conftest.$ac_objext conftest$ac_exeext
15028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15029 (eval $ac_link) 2>conftest.er1
15030 ac_status=$?
15031 grep -v '^ *+' conftest.er1 >conftest.err
15032 rm -f conftest.er1
15033 cat conftest.err >&5
15034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15035 (exit $ac_status); } &&
15036 { ac_try='test -z "$ac_c_werror_flag"
15037 || test ! -s conftest.err'
15038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15039 (eval $ac_try) 2>&5
15040 ac_status=$?
15041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15042 (exit $ac_status); }; } &&
15043 { ac_try='test -s conftest$ac_exeext'
15044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15045 (eval $ac_try) 2>&5
15046 ac_status=$?
15047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15048 (exit $ac_status); }; }; then
15049 eval "$as_ac_var=yes"
15050 else
15051 echo "$as_me: failed program was:" >&5
15052 sed 's/^/| /' conftest.$ac_ext >&5
15054 eval "$as_ac_var=no"
15056 rm -f conftest.err conftest.$ac_objext \
15057 conftest$ac_exeext conftest.$ac_ext
15059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15060 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15061 if test `eval echo '${'$as_ac_var'}'` = yes; then
15062 cat >>confdefs.h <<_ACEOF
15063 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15064 _ACEOF
15067 done
15074 echo "$as_me:$LINENO: checking for logf declaration" >&5
15075 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
15076 if test x${glibcxx_cv_func_logf_use+set} != xset; then
15077 if test "${glibcxx_cv_func_logf_use+set}" = set; then
15078 echo $ECHO_N "(cached) $ECHO_C" >&6
15079 else
15083 ac_ext=cc
15084 ac_cpp='$CXXCPP $CPPFLAGS'
15085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15089 cat >conftest.$ac_ext <<_ACEOF
15090 /* confdefs.h. */
15091 _ACEOF
15092 cat confdefs.h >>conftest.$ac_ext
15093 cat >>conftest.$ac_ext <<_ACEOF
15094 /* end confdefs.h. */
15095 #include <math.h>
15096 #ifdef HAVE_IEEEFP_H
15097 #include <ieeefp.h>
15098 #endif
15101 main ()
15103 logf(0);
15105 return 0;
15107 _ACEOF
15108 rm -f conftest.$ac_objext
15109 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15110 (eval $ac_compile) 2>conftest.er1
15111 ac_status=$?
15112 grep -v '^ *+' conftest.er1 >conftest.err
15113 rm -f conftest.er1
15114 cat conftest.err >&5
15115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15116 (exit $ac_status); } &&
15117 { ac_try='test -z "$ac_cxx_werror_flag"
15118 || test ! -s conftest.err'
15119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15120 (eval $ac_try) 2>&5
15121 ac_status=$?
15122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15123 (exit $ac_status); }; } &&
15124 { ac_try='test -s conftest.$ac_objext'
15125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15126 (eval $ac_try) 2>&5
15127 ac_status=$?
15128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15129 (exit $ac_status); }; }; then
15130 glibcxx_cv_func_logf_use=yes
15131 else
15132 echo "$as_me: failed program was:" >&5
15133 sed 's/^/| /' conftest.$ac_ext >&5
15135 glibcxx_cv_func_logf_use=no
15137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15138 ac_ext=c
15139 ac_cpp='$CPP $CPPFLAGS'
15140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15148 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
15149 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
15151 if test x$glibcxx_cv_func_logf_use = x"yes"; then
15153 for ac_func in logf
15155 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15156 echo "$as_me:$LINENO: checking for $ac_func" >&5
15157 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15158 if eval "test \"\${$as_ac_var+set}\" = set"; then
15159 echo $ECHO_N "(cached) $ECHO_C" >&6
15160 else
15161 if test x$gcc_no_link = xyes; then
15162 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15163 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15164 { (exit 1); exit 1; }; }
15166 cat >conftest.$ac_ext <<_ACEOF
15167 /* confdefs.h. */
15168 _ACEOF
15169 cat confdefs.h >>conftest.$ac_ext
15170 cat >>conftest.$ac_ext <<_ACEOF
15171 /* end confdefs.h. */
15172 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15173 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15174 #define $ac_func innocuous_$ac_func
15176 /* System header to define __stub macros and hopefully few prototypes,
15177 which can conflict with char $ac_func (); below.
15178 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15179 <limits.h> exists even on freestanding compilers. */
15181 #ifdef __STDC__
15182 # include <limits.h>
15183 #else
15184 # include <assert.h>
15185 #endif
15187 #undef $ac_func
15189 /* Override any gcc2 internal prototype to avoid an error. */
15190 #ifdef __cplusplus
15191 extern "C"
15193 #endif
15194 /* We use char because int might match the return type of a gcc2
15195 builtin and then its argument prototype would still apply. */
15196 char $ac_func ();
15197 /* The GNU C library defines this for functions which it implements
15198 to always fail with ENOSYS. Some functions are actually named
15199 something starting with __ and the normal name is an alias. */
15200 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15201 choke me
15202 #else
15203 char (*f) () = $ac_func;
15204 #endif
15205 #ifdef __cplusplus
15207 #endif
15210 main ()
15212 return f != $ac_func;
15214 return 0;
15216 _ACEOF
15217 rm -f conftest.$ac_objext conftest$ac_exeext
15218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15219 (eval $ac_link) 2>conftest.er1
15220 ac_status=$?
15221 grep -v '^ *+' conftest.er1 >conftest.err
15222 rm -f conftest.er1
15223 cat conftest.err >&5
15224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15225 (exit $ac_status); } &&
15226 { ac_try='test -z "$ac_c_werror_flag"
15227 || test ! -s conftest.err'
15228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15229 (eval $ac_try) 2>&5
15230 ac_status=$?
15231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15232 (exit $ac_status); }; } &&
15233 { ac_try='test -s conftest$ac_exeext'
15234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15235 (eval $ac_try) 2>&5
15236 ac_status=$?
15237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15238 (exit $ac_status); }; }; then
15239 eval "$as_ac_var=yes"
15240 else
15241 echo "$as_me: failed program was:" >&5
15242 sed 's/^/| /' conftest.$ac_ext >&5
15244 eval "$as_ac_var=no"
15246 rm -f conftest.err conftest.$ac_objext \
15247 conftest$ac_exeext conftest.$ac_ext
15249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15250 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15251 if test `eval echo '${'$as_ac_var'}'` = yes; then
15252 cat >>confdefs.h <<_ACEOF
15253 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15254 _ACEOF
15257 done
15259 else
15261 echo "$as_me:$LINENO: checking for _logf declaration" >&5
15262 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
15263 if test x${glibcxx_cv_func__logf_use+set} != xset; then
15264 if test "${glibcxx_cv_func__logf_use+set}" = set; then
15265 echo $ECHO_N "(cached) $ECHO_C" >&6
15266 else
15270 ac_ext=cc
15271 ac_cpp='$CXXCPP $CPPFLAGS'
15272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15276 cat >conftest.$ac_ext <<_ACEOF
15277 /* confdefs.h. */
15278 _ACEOF
15279 cat confdefs.h >>conftest.$ac_ext
15280 cat >>conftest.$ac_ext <<_ACEOF
15281 /* end confdefs.h. */
15282 #include <math.h>
15283 #ifdef HAVE_IEEEFP_H
15284 #include <ieeefp.h>
15285 #endif
15288 main ()
15290 _logf(0);
15292 return 0;
15294 _ACEOF
15295 rm -f conftest.$ac_objext
15296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15297 (eval $ac_compile) 2>conftest.er1
15298 ac_status=$?
15299 grep -v '^ *+' conftest.er1 >conftest.err
15300 rm -f conftest.er1
15301 cat conftest.err >&5
15302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15303 (exit $ac_status); } &&
15304 { ac_try='test -z "$ac_cxx_werror_flag"
15305 || test ! -s conftest.err'
15306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15307 (eval $ac_try) 2>&5
15308 ac_status=$?
15309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15310 (exit $ac_status); }; } &&
15311 { ac_try='test -s conftest.$ac_objext'
15312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15313 (eval $ac_try) 2>&5
15314 ac_status=$?
15315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15316 (exit $ac_status); }; }; then
15317 glibcxx_cv_func__logf_use=yes
15318 else
15319 echo "$as_me: failed program was:" >&5
15320 sed 's/^/| /' conftest.$ac_ext >&5
15322 glibcxx_cv_func__logf_use=no
15324 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15325 ac_ext=c
15326 ac_cpp='$CPP $CPPFLAGS'
15327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15335 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
15336 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
15338 if test x$glibcxx_cv_func__logf_use = x"yes"; then
15340 for ac_func in _logf
15342 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15343 echo "$as_me:$LINENO: checking for $ac_func" >&5
15344 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15345 if eval "test \"\${$as_ac_var+set}\" = set"; then
15346 echo $ECHO_N "(cached) $ECHO_C" >&6
15347 else
15348 if test x$gcc_no_link = xyes; then
15349 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15350 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15351 { (exit 1); exit 1; }; }
15353 cat >conftest.$ac_ext <<_ACEOF
15354 /* confdefs.h. */
15355 _ACEOF
15356 cat confdefs.h >>conftest.$ac_ext
15357 cat >>conftest.$ac_ext <<_ACEOF
15358 /* end confdefs.h. */
15359 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15360 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15361 #define $ac_func innocuous_$ac_func
15363 /* System header to define __stub macros and hopefully few prototypes,
15364 which can conflict with char $ac_func (); below.
15365 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15366 <limits.h> exists even on freestanding compilers. */
15368 #ifdef __STDC__
15369 # include <limits.h>
15370 #else
15371 # include <assert.h>
15372 #endif
15374 #undef $ac_func
15376 /* Override any gcc2 internal prototype to avoid an error. */
15377 #ifdef __cplusplus
15378 extern "C"
15380 #endif
15381 /* We use char because int might match the return type of a gcc2
15382 builtin and then its argument prototype would still apply. */
15383 char $ac_func ();
15384 /* The GNU C library defines this for functions which it implements
15385 to always fail with ENOSYS. Some functions are actually named
15386 something starting with __ and the normal name is an alias. */
15387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15388 choke me
15389 #else
15390 char (*f) () = $ac_func;
15391 #endif
15392 #ifdef __cplusplus
15394 #endif
15397 main ()
15399 return f != $ac_func;
15401 return 0;
15403 _ACEOF
15404 rm -f conftest.$ac_objext conftest$ac_exeext
15405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15406 (eval $ac_link) 2>conftest.er1
15407 ac_status=$?
15408 grep -v '^ *+' conftest.er1 >conftest.err
15409 rm -f conftest.er1
15410 cat conftest.err >&5
15411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15412 (exit $ac_status); } &&
15413 { ac_try='test -z "$ac_c_werror_flag"
15414 || test ! -s conftest.err'
15415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15416 (eval $ac_try) 2>&5
15417 ac_status=$?
15418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15419 (exit $ac_status); }; } &&
15420 { ac_try='test -s conftest$ac_exeext'
15421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15422 (eval $ac_try) 2>&5
15423 ac_status=$?
15424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15425 (exit $ac_status); }; }; then
15426 eval "$as_ac_var=yes"
15427 else
15428 echo "$as_me: failed program was:" >&5
15429 sed 's/^/| /' conftest.$ac_ext >&5
15431 eval "$as_ac_var=no"
15433 rm -f conftest.err conftest.$ac_objext \
15434 conftest$ac_exeext conftest.$ac_ext
15436 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15437 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15438 if test `eval echo '${'$as_ac_var'}'` = yes; then
15439 cat >>confdefs.h <<_ACEOF
15440 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15441 _ACEOF
15444 done
15451 echo "$as_me:$LINENO: checking for log10f declaration" >&5
15452 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
15453 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
15454 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
15455 echo $ECHO_N "(cached) $ECHO_C" >&6
15456 else
15460 ac_ext=cc
15461 ac_cpp='$CXXCPP $CPPFLAGS'
15462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15466 cat >conftest.$ac_ext <<_ACEOF
15467 /* confdefs.h. */
15468 _ACEOF
15469 cat confdefs.h >>conftest.$ac_ext
15470 cat >>conftest.$ac_ext <<_ACEOF
15471 /* end confdefs.h. */
15472 #include <math.h>
15473 #ifdef HAVE_IEEEFP_H
15474 #include <ieeefp.h>
15475 #endif
15478 main ()
15480 log10f(0);
15482 return 0;
15484 _ACEOF
15485 rm -f conftest.$ac_objext
15486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15487 (eval $ac_compile) 2>conftest.er1
15488 ac_status=$?
15489 grep -v '^ *+' conftest.er1 >conftest.err
15490 rm -f conftest.er1
15491 cat conftest.err >&5
15492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15493 (exit $ac_status); } &&
15494 { ac_try='test -z "$ac_cxx_werror_flag"
15495 || test ! -s conftest.err'
15496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15497 (eval $ac_try) 2>&5
15498 ac_status=$?
15499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15500 (exit $ac_status); }; } &&
15501 { ac_try='test -s conftest.$ac_objext'
15502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15503 (eval $ac_try) 2>&5
15504 ac_status=$?
15505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15506 (exit $ac_status); }; }; then
15507 glibcxx_cv_func_log10f_use=yes
15508 else
15509 echo "$as_me: failed program was:" >&5
15510 sed 's/^/| /' conftest.$ac_ext >&5
15512 glibcxx_cv_func_log10f_use=no
15514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15515 ac_ext=c
15516 ac_cpp='$CPP $CPPFLAGS'
15517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15525 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
15526 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
15528 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
15530 for ac_func in log10f
15532 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15533 echo "$as_me:$LINENO: checking for $ac_func" >&5
15534 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15535 if eval "test \"\${$as_ac_var+set}\" = set"; then
15536 echo $ECHO_N "(cached) $ECHO_C" >&6
15537 else
15538 if test x$gcc_no_link = xyes; then
15539 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15540 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15541 { (exit 1); exit 1; }; }
15543 cat >conftest.$ac_ext <<_ACEOF
15544 /* confdefs.h. */
15545 _ACEOF
15546 cat confdefs.h >>conftest.$ac_ext
15547 cat >>conftest.$ac_ext <<_ACEOF
15548 /* end confdefs.h. */
15549 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15550 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15551 #define $ac_func innocuous_$ac_func
15553 /* System header to define __stub macros and hopefully few prototypes,
15554 which can conflict with char $ac_func (); below.
15555 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15556 <limits.h> exists even on freestanding compilers. */
15558 #ifdef __STDC__
15559 # include <limits.h>
15560 #else
15561 # include <assert.h>
15562 #endif
15564 #undef $ac_func
15566 /* Override any gcc2 internal prototype to avoid an error. */
15567 #ifdef __cplusplus
15568 extern "C"
15570 #endif
15571 /* We use char because int might match the return type of a gcc2
15572 builtin and then its argument prototype would still apply. */
15573 char $ac_func ();
15574 /* The GNU C library defines this for functions which it implements
15575 to always fail with ENOSYS. Some functions are actually named
15576 something starting with __ and the normal name is an alias. */
15577 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15578 choke me
15579 #else
15580 char (*f) () = $ac_func;
15581 #endif
15582 #ifdef __cplusplus
15584 #endif
15587 main ()
15589 return f != $ac_func;
15591 return 0;
15593 _ACEOF
15594 rm -f conftest.$ac_objext conftest$ac_exeext
15595 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15596 (eval $ac_link) 2>conftest.er1
15597 ac_status=$?
15598 grep -v '^ *+' conftest.er1 >conftest.err
15599 rm -f conftest.er1
15600 cat conftest.err >&5
15601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15602 (exit $ac_status); } &&
15603 { ac_try='test -z "$ac_c_werror_flag"
15604 || test ! -s conftest.err'
15605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15606 (eval $ac_try) 2>&5
15607 ac_status=$?
15608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15609 (exit $ac_status); }; } &&
15610 { ac_try='test -s conftest$ac_exeext'
15611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15612 (eval $ac_try) 2>&5
15613 ac_status=$?
15614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15615 (exit $ac_status); }; }; then
15616 eval "$as_ac_var=yes"
15617 else
15618 echo "$as_me: failed program was:" >&5
15619 sed 's/^/| /' conftest.$ac_ext >&5
15621 eval "$as_ac_var=no"
15623 rm -f conftest.err conftest.$ac_objext \
15624 conftest$ac_exeext conftest.$ac_ext
15626 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15627 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15628 if test `eval echo '${'$as_ac_var'}'` = yes; then
15629 cat >>confdefs.h <<_ACEOF
15630 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15631 _ACEOF
15634 done
15636 else
15638 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
15639 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
15640 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
15641 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
15642 echo $ECHO_N "(cached) $ECHO_C" >&6
15643 else
15647 ac_ext=cc
15648 ac_cpp='$CXXCPP $CPPFLAGS'
15649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15653 cat >conftest.$ac_ext <<_ACEOF
15654 /* confdefs.h. */
15655 _ACEOF
15656 cat confdefs.h >>conftest.$ac_ext
15657 cat >>conftest.$ac_ext <<_ACEOF
15658 /* end confdefs.h. */
15659 #include <math.h>
15660 #ifdef HAVE_IEEEFP_H
15661 #include <ieeefp.h>
15662 #endif
15665 main ()
15667 _log10f(0);
15669 return 0;
15671 _ACEOF
15672 rm -f conftest.$ac_objext
15673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15674 (eval $ac_compile) 2>conftest.er1
15675 ac_status=$?
15676 grep -v '^ *+' conftest.er1 >conftest.err
15677 rm -f conftest.er1
15678 cat conftest.err >&5
15679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15680 (exit $ac_status); } &&
15681 { ac_try='test -z "$ac_cxx_werror_flag"
15682 || test ! -s conftest.err'
15683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15684 (eval $ac_try) 2>&5
15685 ac_status=$?
15686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15687 (exit $ac_status); }; } &&
15688 { ac_try='test -s conftest.$ac_objext'
15689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15690 (eval $ac_try) 2>&5
15691 ac_status=$?
15692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15693 (exit $ac_status); }; }; then
15694 glibcxx_cv_func__log10f_use=yes
15695 else
15696 echo "$as_me: failed program was:" >&5
15697 sed 's/^/| /' conftest.$ac_ext >&5
15699 glibcxx_cv_func__log10f_use=no
15701 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15702 ac_ext=c
15703 ac_cpp='$CPP $CPPFLAGS'
15704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15712 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
15713 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
15715 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
15717 for ac_func in _log10f
15719 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15720 echo "$as_me:$LINENO: checking for $ac_func" >&5
15721 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15722 if eval "test \"\${$as_ac_var+set}\" = set"; then
15723 echo $ECHO_N "(cached) $ECHO_C" >&6
15724 else
15725 if test x$gcc_no_link = xyes; then
15726 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15727 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15728 { (exit 1); exit 1; }; }
15730 cat >conftest.$ac_ext <<_ACEOF
15731 /* confdefs.h. */
15732 _ACEOF
15733 cat confdefs.h >>conftest.$ac_ext
15734 cat >>conftest.$ac_ext <<_ACEOF
15735 /* end confdefs.h. */
15736 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15737 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15738 #define $ac_func innocuous_$ac_func
15740 /* System header to define __stub macros and hopefully few prototypes,
15741 which can conflict with char $ac_func (); below.
15742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15743 <limits.h> exists even on freestanding compilers. */
15745 #ifdef __STDC__
15746 # include <limits.h>
15747 #else
15748 # include <assert.h>
15749 #endif
15751 #undef $ac_func
15753 /* Override any gcc2 internal prototype to avoid an error. */
15754 #ifdef __cplusplus
15755 extern "C"
15757 #endif
15758 /* We use char because int might match the return type of a gcc2
15759 builtin and then its argument prototype would still apply. */
15760 char $ac_func ();
15761 /* The GNU C library defines this for functions which it implements
15762 to always fail with ENOSYS. Some functions are actually named
15763 something starting with __ and the normal name is an alias. */
15764 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15765 choke me
15766 #else
15767 char (*f) () = $ac_func;
15768 #endif
15769 #ifdef __cplusplus
15771 #endif
15774 main ()
15776 return f != $ac_func;
15778 return 0;
15780 _ACEOF
15781 rm -f conftest.$ac_objext conftest$ac_exeext
15782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15783 (eval $ac_link) 2>conftest.er1
15784 ac_status=$?
15785 grep -v '^ *+' conftest.er1 >conftest.err
15786 rm -f conftest.er1
15787 cat conftest.err >&5
15788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15789 (exit $ac_status); } &&
15790 { ac_try='test -z "$ac_c_werror_flag"
15791 || test ! -s conftest.err'
15792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15793 (eval $ac_try) 2>&5
15794 ac_status=$?
15795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15796 (exit $ac_status); }; } &&
15797 { ac_try='test -s conftest$ac_exeext'
15798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15799 (eval $ac_try) 2>&5
15800 ac_status=$?
15801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15802 (exit $ac_status); }; }; then
15803 eval "$as_ac_var=yes"
15804 else
15805 echo "$as_me: failed program was:" >&5
15806 sed 's/^/| /' conftest.$ac_ext >&5
15808 eval "$as_ac_var=no"
15810 rm -f conftest.err conftest.$ac_objext \
15811 conftest$ac_exeext conftest.$ac_ext
15813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15814 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15815 if test `eval echo '${'$as_ac_var'}'` = yes; then
15816 cat >>confdefs.h <<_ACEOF
15817 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15818 _ACEOF
15821 done
15828 echo "$as_me:$LINENO: checking for modff declaration" >&5
15829 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
15830 if test x${glibcxx_cv_func_modff_use+set} != xset; then
15831 if test "${glibcxx_cv_func_modff_use+set}" = set; then
15832 echo $ECHO_N "(cached) $ECHO_C" >&6
15833 else
15837 ac_ext=cc
15838 ac_cpp='$CXXCPP $CPPFLAGS'
15839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15843 cat >conftest.$ac_ext <<_ACEOF
15844 /* confdefs.h. */
15845 _ACEOF
15846 cat confdefs.h >>conftest.$ac_ext
15847 cat >>conftest.$ac_ext <<_ACEOF
15848 /* end confdefs.h. */
15849 #include <math.h>
15851 main ()
15853 modff(0, 0);
15855 return 0;
15857 _ACEOF
15858 rm -f conftest.$ac_objext
15859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15860 (eval $ac_compile) 2>conftest.er1
15861 ac_status=$?
15862 grep -v '^ *+' conftest.er1 >conftest.err
15863 rm -f conftest.er1
15864 cat conftest.err >&5
15865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15866 (exit $ac_status); } &&
15867 { ac_try='test -z "$ac_cxx_werror_flag"
15868 || test ! -s conftest.err'
15869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15870 (eval $ac_try) 2>&5
15871 ac_status=$?
15872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15873 (exit $ac_status); }; } &&
15874 { ac_try='test -s conftest.$ac_objext'
15875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15876 (eval $ac_try) 2>&5
15877 ac_status=$?
15878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15879 (exit $ac_status); }; }; then
15880 glibcxx_cv_func_modff_use=yes
15881 else
15882 echo "$as_me: failed program was:" >&5
15883 sed 's/^/| /' conftest.$ac_ext >&5
15885 glibcxx_cv_func_modff_use=no
15887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15888 ac_ext=c
15889 ac_cpp='$CPP $CPPFLAGS'
15890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15898 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
15899 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
15901 if test x$glibcxx_cv_func_modff_use = x"yes"; then
15903 for ac_func in modff
15905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15906 echo "$as_me:$LINENO: checking for $ac_func" >&5
15907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15908 if eval "test \"\${$as_ac_var+set}\" = set"; then
15909 echo $ECHO_N "(cached) $ECHO_C" >&6
15910 else
15911 if test x$gcc_no_link = xyes; then
15912 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15913 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15914 { (exit 1); exit 1; }; }
15916 cat >conftest.$ac_ext <<_ACEOF
15917 /* confdefs.h. */
15918 _ACEOF
15919 cat confdefs.h >>conftest.$ac_ext
15920 cat >>conftest.$ac_ext <<_ACEOF
15921 /* end confdefs.h. */
15922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15924 #define $ac_func innocuous_$ac_func
15926 /* System header to define __stub macros and hopefully few prototypes,
15927 which can conflict with char $ac_func (); below.
15928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15929 <limits.h> exists even on freestanding compilers. */
15931 #ifdef __STDC__
15932 # include <limits.h>
15933 #else
15934 # include <assert.h>
15935 #endif
15937 #undef $ac_func
15939 /* Override any gcc2 internal prototype to avoid an error. */
15940 #ifdef __cplusplus
15941 extern "C"
15943 #endif
15944 /* We use char because int might match the return type of a gcc2
15945 builtin and then its argument prototype would still apply. */
15946 char $ac_func ();
15947 /* The GNU C library defines this for functions which it implements
15948 to always fail with ENOSYS. Some functions are actually named
15949 something starting with __ and the normal name is an alias. */
15950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15951 choke me
15952 #else
15953 char (*f) () = $ac_func;
15954 #endif
15955 #ifdef __cplusplus
15957 #endif
15960 main ()
15962 return f != $ac_func;
15964 return 0;
15966 _ACEOF
15967 rm -f conftest.$ac_objext conftest$ac_exeext
15968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15969 (eval $ac_link) 2>conftest.er1
15970 ac_status=$?
15971 grep -v '^ *+' conftest.er1 >conftest.err
15972 rm -f conftest.er1
15973 cat conftest.err >&5
15974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15975 (exit $ac_status); } &&
15976 { ac_try='test -z "$ac_c_werror_flag"
15977 || test ! -s conftest.err'
15978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15979 (eval $ac_try) 2>&5
15980 ac_status=$?
15981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15982 (exit $ac_status); }; } &&
15983 { ac_try='test -s conftest$ac_exeext'
15984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15985 (eval $ac_try) 2>&5
15986 ac_status=$?
15987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15988 (exit $ac_status); }; }; then
15989 eval "$as_ac_var=yes"
15990 else
15991 echo "$as_me: failed program was:" >&5
15992 sed 's/^/| /' conftest.$ac_ext >&5
15994 eval "$as_ac_var=no"
15996 rm -f conftest.err conftest.$ac_objext \
15997 conftest$ac_exeext conftest.$ac_ext
15999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16001 if test `eval echo '${'$as_ac_var'}'` = yes; then
16002 cat >>confdefs.h <<_ACEOF
16003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16004 _ACEOF
16007 done
16009 else
16011 echo "$as_me:$LINENO: checking for _modff declaration" >&5
16012 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
16013 if test x${glibcxx_cv_func__modff_use+set} != xset; then
16014 if test "${glibcxx_cv_func__modff_use+set}" = set; then
16015 echo $ECHO_N "(cached) $ECHO_C" >&6
16016 else
16020 ac_ext=cc
16021 ac_cpp='$CXXCPP $CPPFLAGS'
16022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16026 cat >conftest.$ac_ext <<_ACEOF
16027 /* confdefs.h. */
16028 _ACEOF
16029 cat confdefs.h >>conftest.$ac_ext
16030 cat >>conftest.$ac_ext <<_ACEOF
16031 /* end confdefs.h. */
16032 #include <math.h>
16034 main ()
16036 _modff(0, 0);
16038 return 0;
16040 _ACEOF
16041 rm -f conftest.$ac_objext
16042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16043 (eval $ac_compile) 2>conftest.er1
16044 ac_status=$?
16045 grep -v '^ *+' conftest.er1 >conftest.err
16046 rm -f conftest.er1
16047 cat conftest.err >&5
16048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16049 (exit $ac_status); } &&
16050 { ac_try='test -z "$ac_cxx_werror_flag"
16051 || test ! -s conftest.err'
16052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16053 (eval $ac_try) 2>&5
16054 ac_status=$?
16055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16056 (exit $ac_status); }; } &&
16057 { ac_try='test -s conftest.$ac_objext'
16058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16059 (eval $ac_try) 2>&5
16060 ac_status=$?
16061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16062 (exit $ac_status); }; }; then
16063 glibcxx_cv_func__modff_use=yes
16064 else
16065 echo "$as_me: failed program was:" >&5
16066 sed 's/^/| /' conftest.$ac_ext >&5
16068 glibcxx_cv_func__modff_use=no
16070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16071 ac_ext=c
16072 ac_cpp='$CPP $CPPFLAGS'
16073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16081 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
16082 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
16084 if test x$glibcxx_cv_func__modff_use = x"yes"; then
16086 for ac_func in _modff
16088 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16089 echo "$as_me:$LINENO: checking for $ac_func" >&5
16090 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16091 if eval "test \"\${$as_ac_var+set}\" = set"; then
16092 echo $ECHO_N "(cached) $ECHO_C" >&6
16093 else
16094 if test x$gcc_no_link = xyes; then
16095 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16096 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16097 { (exit 1); exit 1; }; }
16099 cat >conftest.$ac_ext <<_ACEOF
16100 /* confdefs.h. */
16101 _ACEOF
16102 cat confdefs.h >>conftest.$ac_ext
16103 cat >>conftest.$ac_ext <<_ACEOF
16104 /* end confdefs.h. */
16105 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16106 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16107 #define $ac_func innocuous_$ac_func
16109 /* System header to define __stub macros and hopefully few prototypes,
16110 which can conflict with char $ac_func (); below.
16111 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16112 <limits.h> exists even on freestanding compilers. */
16114 #ifdef __STDC__
16115 # include <limits.h>
16116 #else
16117 # include <assert.h>
16118 #endif
16120 #undef $ac_func
16122 /* Override any gcc2 internal prototype to avoid an error. */
16123 #ifdef __cplusplus
16124 extern "C"
16126 #endif
16127 /* We use char because int might match the return type of a gcc2
16128 builtin and then its argument prototype would still apply. */
16129 char $ac_func ();
16130 /* The GNU C library defines this for functions which it implements
16131 to always fail with ENOSYS. Some functions are actually named
16132 something starting with __ and the normal name is an alias. */
16133 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16134 choke me
16135 #else
16136 char (*f) () = $ac_func;
16137 #endif
16138 #ifdef __cplusplus
16140 #endif
16143 main ()
16145 return f != $ac_func;
16147 return 0;
16149 _ACEOF
16150 rm -f conftest.$ac_objext conftest$ac_exeext
16151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16152 (eval $ac_link) 2>conftest.er1
16153 ac_status=$?
16154 grep -v '^ *+' conftest.er1 >conftest.err
16155 rm -f conftest.er1
16156 cat conftest.err >&5
16157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16158 (exit $ac_status); } &&
16159 { ac_try='test -z "$ac_c_werror_flag"
16160 || test ! -s conftest.err'
16161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16162 (eval $ac_try) 2>&5
16163 ac_status=$?
16164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16165 (exit $ac_status); }; } &&
16166 { ac_try='test -s conftest$ac_exeext'
16167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16168 (eval $ac_try) 2>&5
16169 ac_status=$?
16170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16171 (exit $ac_status); }; }; then
16172 eval "$as_ac_var=yes"
16173 else
16174 echo "$as_me: failed program was:" >&5
16175 sed 's/^/| /' conftest.$ac_ext >&5
16177 eval "$as_ac_var=no"
16179 rm -f conftest.err conftest.$ac_objext \
16180 conftest$ac_exeext conftest.$ac_ext
16182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16183 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16184 if test `eval echo '${'$as_ac_var'}'` = yes; then
16185 cat >>confdefs.h <<_ACEOF
16186 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16187 _ACEOF
16190 done
16197 echo "$as_me:$LINENO: checking for powf declaration" >&5
16198 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
16199 if test x${glibcxx_cv_func_powf_use+set} != xset; then
16200 if test "${glibcxx_cv_func_powf_use+set}" = set; then
16201 echo $ECHO_N "(cached) $ECHO_C" >&6
16202 else
16206 ac_ext=cc
16207 ac_cpp='$CXXCPP $CPPFLAGS'
16208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16212 cat >conftest.$ac_ext <<_ACEOF
16213 /* confdefs.h. */
16214 _ACEOF
16215 cat confdefs.h >>conftest.$ac_ext
16216 cat >>conftest.$ac_ext <<_ACEOF
16217 /* end confdefs.h. */
16218 #include <math.h>
16220 main ()
16222 powf(0, 0);
16224 return 0;
16226 _ACEOF
16227 rm -f conftest.$ac_objext
16228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16229 (eval $ac_compile) 2>conftest.er1
16230 ac_status=$?
16231 grep -v '^ *+' conftest.er1 >conftest.err
16232 rm -f conftest.er1
16233 cat conftest.err >&5
16234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16235 (exit $ac_status); } &&
16236 { ac_try='test -z "$ac_cxx_werror_flag"
16237 || test ! -s conftest.err'
16238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16239 (eval $ac_try) 2>&5
16240 ac_status=$?
16241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16242 (exit $ac_status); }; } &&
16243 { ac_try='test -s conftest.$ac_objext'
16244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16245 (eval $ac_try) 2>&5
16246 ac_status=$?
16247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16248 (exit $ac_status); }; }; then
16249 glibcxx_cv_func_powf_use=yes
16250 else
16251 echo "$as_me: failed program was:" >&5
16252 sed 's/^/| /' conftest.$ac_ext >&5
16254 glibcxx_cv_func_powf_use=no
16256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16257 ac_ext=c
16258 ac_cpp='$CPP $CPPFLAGS'
16259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16267 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
16268 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
16270 if test x$glibcxx_cv_func_powf_use = x"yes"; then
16272 for ac_func in powf
16274 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16275 echo "$as_me:$LINENO: checking for $ac_func" >&5
16276 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16277 if eval "test \"\${$as_ac_var+set}\" = set"; then
16278 echo $ECHO_N "(cached) $ECHO_C" >&6
16279 else
16280 if test x$gcc_no_link = xyes; then
16281 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16282 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16283 { (exit 1); exit 1; }; }
16285 cat >conftest.$ac_ext <<_ACEOF
16286 /* confdefs.h. */
16287 _ACEOF
16288 cat confdefs.h >>conftest.$ac_ext
16289 cat >>conftest.$ac_ext <<_ACEOF
16290 /* end confdefs.h. */
16291 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16292 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16293 #define $ac_func innocuous_$ac_func
16295 /* System header to define __stub macros and hopefully few prototypes,
16296 which can conflict with char $ac_func (); below.
16297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16298 <limits.h> exists even on freestanding compilers. */
16300 #ifdef __STDC__
16301 # include <limits.h>
16302 #else
16303 # include <assert.h>
16304 #endif
16306 #undef $ac_func
16308 /* Override any gcc2 internal prototype to avoid an error. */
16309 #ifdef __cplusplus
16310 extern "C"
16312 #endif
16313 /* We use char because int might match the return type of a gcc2
16314 builtin and then its argument prototype would still apply. */
16315 char $ac_func ();
16316 /* The GNU C library defines this for functions which it implements
16317 to always fail with ENOSYS. Some functions are actually named
16318 something starting with __ and the normal name is an alias. */
16319 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16320 choke me
16321 #else
16322 char (*f) () = $ac_func;
16323 #endif
16324 #ifdef __cplusplus
16326 #endif
16329 main ()
16331 return f != $ac_func;
16333 return 0;
16335 _ACEOF
16336 rm -f conftest.$ac_objext conftest$ac_exeext
16337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16338 (eval $ac_link) 2>conftest.er1
16339 ac_status=$?
16340 grep -v '^ *+' conftest.er1 >conftest.err
16341 rm -f conftest.er1
16342 cat conftest.err >&5
16343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16344 (exit $ac_status); } &&
16345 { ac_try='test -z "$ac_c_werror_flag"
16346 || test ! -s conftest.err'
16347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16348 (eval $ac_try) 2>&5
16349 ac_status=$?
16350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16351 (exit $ac_status); }; } &&
16352 { ac_try='test -s conftest$ac_exeext'
16353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16354 (eval $ac_try) 2>&5
16355 ac_status=$?
16356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16357 (exit $ac_status); }; }; then
16358 eval "$as_ac_var=yes"
16359 else
16360 echo "$as_me: failed program was:" >&5
16361 sed 's/^/| /' conftest.$ac_ext >&5
16363 eval "$as_ac_var=no"
16365 rm -f conftest.err conftest.$ac_objext \
16366 conftest$ac_exeext conftest.$ac_ext
16368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16369 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16370 if test `eval echo '${'$as_ac_var'}'` = yes; then
16371 cat >>confdefs.h <<_ACEOF
16372 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16373 _ACEOF
16376 done
16378 else
16380 echo "$as_me:$LINENO: checking for _powf declaration" >&5
16381 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
16382 if test x${glibcxx_cv_func__powf_use+set} != xset; then
16383 if test "${glibcxx_cv_func__powf_use+set}" = set; then
16384 echo $ECHO_N "(cached) $ECHO_C" >&6
16385 else
16389 ac_ext=cc
16390 ac_cpp='$CXXCPP $CPPFLAGS'
16391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16395 cat >conftest.$ac_ext <<_ACEOF
16396 /* confdefs.h. */
16397 _ACEOF
16398 cat confdefs.h >>conftest.$ac_ext
16399 cat >>conftest.$ac_ext <<_ACEOF
16400 /* end confdefs.h. */
16401 #include <math.h>
16403 main ()
16405 _powf(0, 0);
16407 return 0;
16409 _ACEOF
16410 rm -f conftest.$ac_objext
16411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16412 (eval $ac_compile) 2>conftest.er1
16413 ac_status=$?
16414 grep -v '^ *+' conftest.er1 >conftest.err
16415 rm -f conftest.er1
16416 cat conftest.err >&5
16417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16418 (exit $ac_status); } &&
16419 { ac_try='test -z "$ac_cxx_werror_flag"
16420 || test ! -s conftest.err'
16421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16422 (eval $ac_try) 2>&5
16423 ac_status=$?
16424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16425 (exit $ac_status); }; } &&
16426 { ac_try='test -s conftest.$ac_objext'
16427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16428 (eval $ac_try) 2>&5
16429 ac_status=$?
16430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16431 (exit $ac_status); }; }; then
16432 glibcxx_cv_func__powf_use=yes
16433 else
16434 echo "$as_me: failed program was:" >&5
16435 sed 's/^/| /' conftest.$ac_ext >&5
16437 glibcxx_cv_func__powf_use=no
16439 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16440 ac_ext=c
16441 ac_cpp='$CPP $CPPFLAGS'
16442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16450 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
16451 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
16453 if test x$glibcxx_cv_func__powf_use = x"yes"; then
16455 for ac_func in _powf
16457 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16458 echo "$as_me:$LINENO: checking for $ac_func" >&5
16459 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16460 if eval "test \"\${$as_ac_var+set}\" = set"; then
16461 echo $ECHO_N "(cached) $ECHO_C" >&6
16462 else
16463 if test x$gcc_no_link = xyes; then
16464 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16465 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16466 { (exit 1); exit 1; }; }
16468 cat >conftest.$ac_ext <<_ACEOF
16469 /* confdefs.h. */
16470 _ACEOF
16471 cat confdefs.h >>conftest.$ac_ext
16472 cat >>conftest.$ac_ext <<_ACEOF
16473 /* end confdefs.h. */
16474 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16475 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16476 #define $ac_func innocuous_$ac_func
16478 /* System header to define __stub macros and hopefully few prototypes,
16479 which can conflict with char $ac_func (); below.
16480 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16481 <limits.h> exists even on freestanding compilers. */
16483 #ifdef __STDC__
16484 # include <limits.h>
16485 #else
16486 # include <assert.h>
16487 #endif
16489 #undef $ac_func
16491 /* Override any gcc2 internal prototype to avoid an error. */
16492 #ifdef __cplusplus
16493 extern "C"
16495 #endif
16496 /* We use char because int might match the return type of a gcc2
16497 builtin and then its argument prototype would still apply. */
16498 char $ac_func ();
16499 /* The GNU C library defines this for functions which it implements
16500 to always fail with ENOSYS. Some functions are actually named
16501 something starting with __ and the normal name is an alias. */
16502 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16503 choke me
16504 #else
16505 char (*f) () = $ac_func;
16506 #endif
16507 #ifdef __cplusplus
16509 #endif
16512 main ()
16514 return f != $ac_func;
16516 return 0;
16518 _ACEOF
16519 rm -f conftest.$ac_objext conftest$ac_exeext
16520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16521 (eval $ac_link) 2>conftest.er1
16522 ac_status=$?
16523 grep -v '^ *+' conftest.er1 >conftest.err
16524 rm -f conftest.er1
16525 cat conftest.err >&5
16526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16527 (exit $ac_status); } &&
16528 { ac_try='test -z "$ac_c_werror_flag"
16529 || test ! -s conftest.err'
16530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16531 (eval $ac_try) 2>&5
16532 ac_status=$?
16533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16534 (exit $ac_status); }; } &&
16535 { ac_try='test -s conftest$ac_exeext'
16536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16537 (eval $ac_try) 2>&5
16538 ac_status=$?
16539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16540 (exit $ac_status); }; }; then
16541 eval "$as_ac_var=yes"
16542 else
16543 echo "$as_me: failed program was:" >&5
16544 sed 's/^/| /' conftest.$ac_ext >&5
16546 eval "$as_ac_var=no"
16548 rm -f conftest.err conftest.$ac_objext \
16549 conftest$ac_exeext conftest.$ac_ext
16551 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16552 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16553 if test `eval echo '${'$as_ac_var'}'` = yes; then
16554 cat >>confdefs.h <<_ACEOF
16555 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16556 _ACEOF
16559 done
16566 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
16567 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
16568 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
16569 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
16570 echo $ECHO_N "(cached) $ECHO_C" >&6
16571 else
16575 ac_ext=cc
16576 ac_cpp='$CXXCPP $CPPFLAGS'
16577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16581 cat >conftest.$ac_ext <<_ACEOF
16582 /* confdefs.h. */
16583 _ACEOF
16584 cat confdefs.h >>conftest.$ac_ext
16585 cat >>conftest.$ac_ext <<_ACEOF
16586 /* end confdefs.h. */
16587 #include <math.h>
16588 #ifdef HAVE_IEEEFP_H
16589 #include <ieeefp.h>
16590 #endif
16593 main ()
16595 sqrtf(0);
16597 return 0;
16599 _ACEOF
16600 rm -f conftest.$ac_objext
16601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16602 (eval $ac_compile) 2>conftest.er1
16603 ac_status=$?
16604 grep -v '^ *+' conftest.er1 >conftest.err
16605 rm -f conftest.er1
16606 cat conftest.err >&5
16607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16608 (exit $ac_status); } &&
16609 { ac_try='test -z "$ac_cxx_werror_flag"
16610 || test ! -s conftest.err'
16611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16612 (eval $ac_try) 2>&5
16613 ac_status=$?
16614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16615 (exit $ac_status); }; } &&
16616 { ac_try='test -s conftest.$ac_objext'
16617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16618 (eval $ac_try) 2>&5
16619 ac_status=$?
16620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16621 (exit $ac_status); }; }; then
16622 glibcxx_cv_func_sqrtf_use=yes
16623 else
16624 echo "$as_me: failed program was:" >&5
16625 sed 's/^/| /' conftest.$ac_ext >&5
16627 glibcxx_cv_func_sqrtf_use=no
16629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16630 ac_ext=c
16631 ac_cpp='$CPP $CPPFLAGS'
16632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16640 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
16641 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
16643 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
16645 for ac_func in sqrtf
16647 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16648 echo "$as_me:$LINENO: checking for $ac_func" >&5
16649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16650 if eval "test \"\${$as_ac_var+set}\" = set"; then
16651 echo $ECHO_N "(cached) $ECHO_C" >&6
16652 else
16653 if test x$gcc_no_link = xyes; then
16654 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16655 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16656 { (exit 1); exit 1; }; }
16658 cat >conftest.$ac_ext <<_ACEOF
16659 /* confdefs.h. */
16660 _ACEOF
16661 cat confdefs.h >>conftest.$ac_ext
16662 cat >>conftest.$ac_ext <<_ACEOF
16663 /* end confdefs.h. */
16664 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16665 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16666 #define $ac_func innocuous_$ac_func
16668 /* System header to define __stub macros and hopefully few prototypes,
16669 which can conflict with char $ac_func (); below.
16670 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16671 <limits.h> exists even on freestanding compilers. */
16673 #ifdef __STDC__
16674 # include <limits.h>
16675 #else
16676 # include <assert.h>
16677 #endif
16679 #undef $ac_func
16681 /* Override any gcc2 internal prototype to avoid an error. */
16682 #ifdef __cplusplus
16683 extern "C"
16685 #endif
16686 /* We use char because int might match the return type of a gcc2
16687 builtin and then its argument prototype would still apply. */
16688 char $ac_func ();
16689 /* The GNU C library defines this for functions which it implements
16690 to always fail with ENOSYS. Some functions are actually named
16691 something starting with __ and the normal name is an alias. */
16692 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16693 choke me
16694 #else
16695 char (*f) () = $ac_func;
16696 #endif
16697 #ifdef __cplusplus
16699 #endif
16702 main ()
16704 return f != $ac_func;
16706 return 0;
16708 _ACEOF
16709 rm -f conftest.$ac_objext conftest$ac_exeext
16710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16711 (eval $ac_link) 2>conftest.er1
16712 ac_status=$?
16713 grep -v '^ *+' conftest.er1 >conftest.err
16714 rm -f conftest.er1
16715 cat conftest.err >&5
16716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16717 (exit $ac_status); } &&
16718 { ac_try='test -z "$ac_c_werror_flag"
16719 || test ! -s conftest.err'
16720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16721 (eval $ac_try) 2>&5
16722 ac_status=$?
16723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16724 (exit $ac_status); }; } &&
16725 { ac_try='test -s conftest$ac_exeext'
16726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16727 (eval $ac_try) 2>&5
16728 ac_status=$?
16729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16730 (exit $ac_status); }; }; then
16731 eval "$as_ac_var=yes"
16732 else
16733 echo "$as_me: failed program was:" >&5
16734 sed 's/^/| /' conftest.$ac_ext >&5
16736 eval "$as_ac_var=no"
16738 rm -f conftest.err conftest.$ac_objext \
16739 conftest$ac_exeext conftest.$ac_ext
16741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16742 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16743 if test `eval echo '${'$as_ac_var'}'` = yes; then
16744 cat >>confdefs.h <<_ACEOF
16745 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16746 _ACEOF
16749 done
16751 else
16753 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
16754 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
16755 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
16756 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
16757 echo $ECHO_N "(cached) $ECHO_C" >&6
16758 else
16762 ac_ext=cc
16763 ac_cpp='$CXXCPP $CPPFLAGS'
16764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16768 cat >conftest.$ac_ext <<_ACEOF
16769 /* confdefs.h. */
16770 _ACEOF
16771 cat confdefs.h >>conftest.$ac_ext
16772 cat >>conftest.$ac_ext <<_ACEOF
16773 /* end confdefs.h. */
16774 #include <math.h>
16775 #ifdef HAVE_IEEEFP_H
16776 #include <ieeefp.h>
16777 #endif
16780 main ()
16782 _sqrtf(0);
16784 return 0;
16786 _ACEOF
16787 rm -f conftest.$ac_objext
16788 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16789 (eval $ac_compile) 2>conftest.er1
16790 ac_status=$?
16791 grep -v '^ *+' conftest.er1 >conftest.err
16792 rm -f conftest.er1
16793 cat conftest.err >&5
16794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16795 (exit $ac_status); } &&
16796 { ac_try='test -z "$ac_cxx_werror_flag"
16797 || test ! -s conftest.err'
16798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16799 (eval $ac_try) 2>&5
16800 ac_status=$?
16801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16802 (exit $ac_status); }; } &&
16803 { ac_try='test -s conftest.$ac_objext'
16804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16805 (eval $ac_try) 2>&5
16806 ac_status=$?
16807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16808 (exit $ac_status); }; }; then
16809 glibcxx_cv_func__sqrtf_use=yes
16810 else
16811 echo "$as_me: failed program was:" >&5
16812 sed 's/^/| /' conftest.$ac_ext >&5
16814 glibcxx_cv_func__sqrtf_use=no
16816 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16817 ac_ext=c
16818 ac_cpp='$CPP $CPPFLAGS'
16819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16827 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
16828 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
16830 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
16832 for ac_func in _sqrtf
16834 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16835 echo "$as_me:$LINENO: checking for $ac_func" >&5
16836 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16837 if eval "test \"\${$as_ac_var+set}\" = set"; then
16838 echo $ECHO_N "(cached) $ECHO_C" >&6
16839 else
16840 if test x$gcc_no_link = xyes; then
16841 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16842 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16843 { (exit 1); exit 1; }; }
16845 cat >conftest.$ac_ext <<_ACEOF
16846 /* confdefs.h. */
16847 _ACEOF
16848 cat confdefs.h >>conftest.$ac_ext
16849 cat >>conftest.$ac_ext <<_ACEOF
16850 /* end confdefs.h. */
16851 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16852 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16853 #define $ac_func innocuous_$ac_func
16855 /* System header to define __stub macros and hopefully few prototypes,
16856 which can conflict with char $ac_func (); below.
16857 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16858 <limits.h> exists even on freestanding compilers. */
16860 #ifdef __STDC__
16861 # include <limits.h>
16862 #else
16863 # include <assert.h>
16864 #endif
16866 #undef $ac_func
16868 /* Override any gcc2 internal prototype to avoid an error. */
16869 #ifdef __cplusplus
16870 extern "C"
16872 #endif
16873 /* We use char because int might match the return type of a gcc2
16874 builtin and then its argument prototype would still apply. */
16875 char $ac_func ();
16876 /* The GNU C library defines this for functions which it implements
16877 to always fail with ENOSYS. Some functions are actually named
16878 something starting with __ and the normal name is an alias. */
16879 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16880 choke me
16881 #else
16882 char (*f) () = $ac_func;
16883 #endif
16884 #ifdef __cplusplus
16886 #endif
16889 main ()
16891 return f != $ac_func;
16893 return 0;
16895 _ACEOF
16896 rm -f conftest.$ac_objext conftest$ac_exeext
16897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16898 (eval $ac_link) 2>conftest.er1
16899 ac_status=$?
16900 grep -v '^ *+' conftest.er1 >conftest.err
16901 rm -f conftest.er1
16902 cat conftest.err >&5
16903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16904 (exit $ac_status); } &&
16905 { ac_try='test -z "$ac_c_werror_flag"
16906 || test ! -s conftest.err'
16907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16908 (eval $ac_try) 2>&5
16909 ac_status=$?
16910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16911 (exit $ac_status); }; } &&
16912 { ac_try='test -s conftest$ac_exeext'
16913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16914 (eval $ac_try) 2>&5
16915 ac_status=$?
16916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16917 (exit $ac_status); }; }; then
16918 eval "$as_ac_var=yes"
16919 else
16920 echo "$as_me: failed program was:" >&5
16921 sed 's/^/| /' conftest.$ac_ext >&5
16923 eval "$as_ac_var=no"
16925 rm -f conftest.err conftest.$ac_objext \
16926 conftest$ac_exeext conftest.$ac_ext
16928 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16929 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16930 if test `eval echo '${'$as_ac_var'}'` = yes; then
16931 cat >>confdefs.h <<_ACEOF
16932 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16933 _ACEOF
16936 done
16943 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
16944 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
16945 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
16946 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
16947 echo $ECHO_N "(cached) $ECHO_C" >&6
16948 else
16952 ac_ext=cc
16953 ac_cpp='$CXXCPP $CPPFLAGS'
16954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16958 cat >conftest.$ac_ext <<_ACEOF
16959 /* confdefs.h. */
16960 _ACEOF
16961 cat confdefs.h >>conftest.$ac_ext
16962 cat >>conftest.$ac_ext <<_ACEOF
16963 /* end confdefs.h. */
16964 #include <math.h>
16966 main ()
16968 sincosf(0, 0, 0);
16970 return 0;
16972 _ACEOF
16973 rm -f conftest.$ac_objext
16974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16975 (eval $ac_compile) 2>conftest.er1
16976 ac_status=$?
16977 grep -v '^ *+' conftest.er1 >conftest.err
16978 rm -f conftest.er1
16979 cat conftest.err >&5
16980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16981 (exit $ac_status); } &&
16982 { ac_try='test -z "$ac_cxx_werror_flag"
16983 || test ! -s conftest.err'
16984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16985 (eval $ac_try) 2>&5
16986 ac_status=$?
16987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16988 (exit $ac_status); }; } &&
16989 { ac_try='test -s conftest.$ac_objext'
16990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16991 (eval $ac_try) 2>&5
16992 ac_status=$?
16993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16994 (exit $ac_status); }; }; then
16995 glibcxx_cv_func_sincosf_use=yes
16996 else
16997 echo "$as_me: failed program was:" >&5
16998 sed 's/^/| /' conftest.$ac_ext >&5
17000 glibcxx_cv_func_sincosf_use=no
17002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17003 ac_ext=c
17004 ac_cpp='$CPP $CPPFLAGS'
17005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17013 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
17014 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
17016 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
17018 for ac_func in sincosf
17020 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17021 echo "$as_me:$LINENO: checking for $ac_func" >&5
17022 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17023 if eval "test \"\${$as_ac_var+set}\" = set"; then
17024 echo $ECHO_N "(cached) $ECHO_C" >&6
17025 else
17026 if test x$gcc_no_link = xyes; then
17027 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17028 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17029 { (exit 1); exit 1; }; }
17031 cat >conftest.$ac_ext <<_ACEOF
17032 /* confdefs.h. */
17033 _ACEOF
17034 cat confdefs.h >>conftest.$ac_ext
17035 cat >>conftest.$ac_ext <<_ACEOF
17036 /* end confdefs.h. */
17037 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17038 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17039 #define $ac_func innocuous_$ac_func
17041 /* System header to define __stub macros and hopefully few prototypes,
17042 which can conflict with char $ac_func (); below.
17043 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17044 <limits.h> exists even on freestanding compilers. */
17046 #ifdef __STDC__
17047 # include <limits.h>
17048 #else
17049 # include <assert.h>
17050 #endif
17052 #undef $ac_func
17054 /* Override any gcc2 internal prototype to avoid an error. */
17055 #ifdef __cplusplus
17056 extern "C"
17058 #endif
17059 /* We use char because int might match the return type of a gcc2
17060 builtin and then its argument prototype would still apply. */
17061 char $ac_func ();
17062 /* The GNU C library defines this for functions which it implements
17063 to always fail with ENOSYS. Some functions are actually named
17064 something starting with __ and the normal name is an alias. */
17065 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17066 choke me
17067 #else
17068 char (*f) () = $ac_func;
17069 #endif
17070 #ifdef __cplusplus
17072 #endif
17075 main ()
17077 return f != $ac_func;
17079 return 0;
17081 _ACEOF
17082 rm -f conftest.$ac_objext conftest$ac_exeext
17083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17084 (eval $ac_link) 2>conftest.er1
17085 ac_status=$?
17086 grep -v '^ *+' conftest.er1 >conftest.err
17087 rm -f conftest.er1
17088 cat conftest.err >&5
17089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17090 (exit $ac_status); } &&
17091 { ac_try='test -z "$ac_c_werror_flag"
17092 || test ! -s conftest.err'
17093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17094 (eval $ac_try) 2>&5
17095 ac_status=$?
17096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17097 (exit $ac_status); }; } &&
17098 { ac_try='test -s conftest$ac_exeext'
17099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17100 (eval $ac_try) 2>&5
17101 ac_status=$?
17102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17103 (exit $ac_status); }; }; then
17104 eval "$as_ac_var=yes"
17105 else
17106 echo "$as_me: failed program was:" >&5
17107 sed 's/^/| /' conftest.$ac_ext >&5
17109 eval "$as_ac_var=no"
17111 rm -f conftest.err conftest.$ac_objext \
17112 conftest$ac_exeext conftest.$ac_ext
17114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17115 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17116 if test `eval echo '${'$as_ac_var'}'` = yes; then
17117 cat >>confdefs.h <<_ACEOF
17118 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17119 _ACEOF
17122 done
17124 else
17126 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
17127 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
17128 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
17129 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
17130 echo $ECHO_N "(cached) $ECHO_C" >&6
17131 else
17135 ac_ext=cc
17136 ac_cpp='$CXXCPP $CPPFLAGS'
17137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17141 cat >conftest.$ac_ext <<_ACEOF
17142 /* confdefs.h. */
17143 _ACEOF
17144 cat confdefs.h >>conftest.$ac_ext
17145 cat >>conftest.$ac_ext <<_ACEOF
17146 /* end confdefs.h. */
17147 #include <math.h>
17149 main ()
17151 _sincosf(0, 0, 0);
17153 return 0;
17155 _ACEOF
17156 rm -f conftest.$ac_objext
17157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17158 (eval $ac_compile) 2>conftest.er1
17159 ac_status=$?
17160 grep -v '^ *+' conftest.er1 >conftest.err
17161 rm -f conftest.er1
17162 cat conftest.err >&5
17163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17164 (exit $ac_status); } &&
17165 { ac_try='test -z "$ac_cxx_werror_flag"
17166 || test ! -s conftest.err'
17167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17168 (eval $ac_try) 2>&5
17169 ac_status=$?
17170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17171 (exit $ac_status); }; } &&
17172 { ac_try='test -s conftest.$ac_objext'
17173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17174 (eval $ac_try) 2>&5
17175 ac_status=$?
17176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17177 (exit $ac_status); }; }; then
17178 glibcxx_cv_func__sincosf_use=yes
17179 else
17180 echo "$as_me: failed program was:" >&5
17181 sed 's/^/| /' conftest.$ac_ext >&5
17183 glibcxx_cv_func__sincosf_use=no
17185 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17186 ac_ext=c
17187 ac_cpp='$CPP $CPPFLAGS'
17188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17196 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
17197 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
17199 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
17201 for ac_func in _sincosf
17203 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17204 echo "$as_me:$LINENO: checking for $ac_func" >&5
17205 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17206 if eval "test \"\${$as_ac_var+set}\" = set"; then
17207 echo $ECHO_N "(cached) $ECHO_C" >&6
17208 else
17209 if test x$gcc_no_link = xyes; then
17210 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17211 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17212 { (exit 1); exit 1; }; }
17214 cat >conftest.$ac_ext <<_ACEOF
17215 /* confdefs.h. */
17216 _ACEOF
17217 cat confdefs.h >>conftest.$ac_ext
17218 cat >>conftest.$ac_ext <<_ACEOF
17219 /* end confdefs.h. */
17220 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17221 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17222 #define $ac_func innocuous_$ac_func
17224 /* System header to define __stub macros and hopefully few prototypes,
17225 which can conflict with char $ac_func (); below.
17226 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17227 <limits.h> exists even on freestanding compilers. */
17229 #ifdef __STDC__
17230 # include <limits.h>
17231 #else
17232 # include <assert.h>
17233 #endif
17235 #undef $ac_func
17237 /* Override any gcc2 internal prototype to avoid an error. */
17238 #ifdef __cplusplus
17239 extern "C"
17241 #endif
17242 /* We use char because int might match the return type of a gcc2
17243 builtin and then its argument prototype would still apply. */
17244 char $ac_func ();
17245 /* The GNU C library defines this for functions which it implements
17246 to always fail with ENOSYS. Some functions are actually named
17247 something starting with __ and the normal name is an alias. */
17248 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17249 choke me
17250 #else
17251 char (*f) () = $ac_func;
17252 #endif
17253 #ifdef __cplusplus
17255 #endif
17258 main ()
17260 return f != $ac_func;
17262 return 0;
17264 _ACEOF
17265 rm -f conftest.$ac_objext conftest$ac_exeext
17266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17267 (eval $ac_link) 2>conftest.er1
17268 ac_status=$?
17269 grep -v '^ *+' conftest.er1 >conftest.err
17270 rm -f conftest.er1
17271 cat conftest.err >&5
17272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17273 (exit $ac_status); } &&
17274 { ac_try='test -z "$ac_c_werror_flag"
17275 || test ! -s conftest.err'
17276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17277 (eval $ac_try) 2>&5
17278 ac_status=$?
17279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17280 (exit $ac_status); }; } &&
17281 { ac_try='test -s conftest$ac_exeext'
17282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17283 (eval $ac_try) 2>&5
17284 ac_status=$?
17285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17286 (exit $ac_status); }; }; then
17287 eval "$as_ac_var=yes"
17288 else
17289 echo "$as_me: failed program was:" >&5
17290 sed 's/^/| /' conftest.$ac_ext >&5
17292 eval "$as_ac_var=no"
17294 rm -f conftest.err conftest.$ac_objext \
17295 conftest$ac_exeext conftest.$ac_ext
17297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17298 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17299 if test `eval echo '${'$as_ac_var'}'` = yes; then
17300 cat >>confdefs.h <<_ACEOF
17301 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17302 _ACEOF
17305 done
17312 echo "$as_me:$LINENO: checking for finitef declaration" >&5
17313 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
17314 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
17315 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
17316 echo $ECHO_N "(cached) $ECHO_C" >&6
17317 else
17321 ac_ext=cc
17322 ac_cpp='$CXXCPP $CPPFLAGS'
17323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17327 cat >conftest.$ac_ext <<_ACEOF
17328 /* confdefs.h. */
17329 _ACEOF
17330 cat confdefs.h >>conftest.$ac_ext
17331 cat >>conftest.$ac_ext <<_ACEOF
17332 /* end confdefs.h. */
17333 #include <math.h>
17334 #ifdef HAVE_IEEEFP_H
17335 #include <ieeefp.h>
17336 #endif
17339 main ()
17341 finitef(0);
17343 return 0;
17345 _ACEOF
17346 rm -f conftest.$ac_objext
17347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17348 (eval $ac_compile) 2>conftest.er1
17349 ac_status=$?
17350 grep -v '^ *+' conftest.er1 >conftest.err
17351 rm -f conftest.er1
17352 cat conftest.err >&5
17353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17354 (exit $ac_status); } &&
17355 { ac_try='test -z "$ac_cxx_werror_flag"
17356 || test ! -s conftest.err'
17357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17358 (eval $ac_try) 2>&5
17359 ac_status=$?
17360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17361 (exit $ac_status); }; } &&
17362 { ac_try='test -s conftest.$ac_objext'
17363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17364 (eval $ac_try) 2>&5
17365 ac_status=$?
17366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17367 (exit $ac_status); }; }; then
17368 glibcxx_cv_func_finitef_use=yes
17369 else
17370 echo "$as_me: failed program was:" >&5
17371 sed 's/^/| /' conftest.$ac_ext >&5
17373 glibcxx_cv_func_finitef_use=no
17375 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17376 ac_ext=c
17377 ac_cpp='$CPP $CPPFLAGS'
17378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17386 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
17387 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
17389 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
17391 for ac_func in finitef
17393 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17394 echo "$as_me:$LINENO: checking for $ac_func" >&5
17395 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17396 if eval "test \"\${$as_ac_var+set}\" = set"; then
17397 echo $ECHO_N "(cached) $ECHO_C" >&6
17398 else
17399 if test x$gcc_no_link = xyes; then
17400 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17401 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17402 { (exit 1); exit 1; }; }
17404 cat >conftest.$ac_ext <<_ACEOF
17405 /* confdefs.h. */
17406 _ACEOF
17407 cat confdefs.h >>conftest.$ac_ext
17408 cat >>conftest.$ac_ext <<_ACEOF
17409 /* end confdefs.h. */
17410 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17411 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17412 #define $ac_func innocuous_$ac_func
17414 /* System header to define __stub macros and hopefully few prototypes,
17415 which can conflict with char $ac_func (); below.
17416 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17417 <limits.h> exists even on freestanding compilers. */
17419 #ifdef __STDC__
17420 # include <limits.h>
17421 #else
17422 # include <assert.h>
17423 #endif
17425 #undef $ac_func
17427 /* Override any gcc2 internal prototype to avoid an error. */
17428 #ifdef __cplusplus
17429 extern "C"
17431 #endif
17432 /* We use char because int might match the return type of a gcc2
17433 builtin and then its argument prototype would still apply. */
17434 char $ac_func ();
17435 /* The GNU C library defines this for functions which it implements
17436 to always fail with ENOSYS. Some functions are actually named
17437 something starting with __ and the normal name is an alias. */
17438 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17439 choke me
17440 #else
17441 char (*f) () = $ac_func;
17442 #endif
17443 #ifdef __cplusplus
17445 #endif
17448 main ()
17450 return f != $ac_func;
17452 return 0;
17454 _ACEOF
17455 rm -f conftest.$ac_objext conftest$ac_exeext
17456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17457 (eval $ac_link) 2>conftest.er1
17458 ac_status=$?
17459 grep -v '^ *+' conftest.er1 >conftest.err
17460 rm -f conftest.er1
17461 cat conftest.err >&5
17462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17463 (exit $ac_status); } &&
17464 { ac_try='test -z "$ac_c_werror_flag"
17465 || test ! -s conftest.err'
17466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17467 (eval $ac_try) 2>&5
17468 ac_status=$?
17469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17470 (exit $ac_status); }; } &&
17471 { ac_try='test -s conftest$ac_exeext'
17472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17473 (eval $ac_try) 2>&5
17474 ac_status=$?
17475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17476 (exit $ac_status); }; }; then
17477 eval "$as_ac_var=yes"
17478 else
17479 echo "$as_me: failed program was:" >&5
17480 sed 's/^/| /' conftest.$ac_ext >&5
17482 eval "$as_ac_var=no"
17484 rm -f conftest.err conftest.$ac_objext \
17485 conftest$ac_exeext conftest.$ac_ext
17487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17488 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17489 if test `eval echo '${'$as_ac_var'}'` = yes; then
17490 cat >>confdefs.h <<_ACEOF
17491 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17492 _ACEOF
17495 done
17497 else
17499 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
17500 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
17501 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
17502 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
17503 echo $ECHO_N "(cached) $ECHO_C" >&6
17504 else
17508 ac_ext=cc
17509 ac_cpp='$CXXCPP $CPPFLAGS'
17510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17514 cat >conftest.$ac_ext <<_ACEOF
17515 /* confdefs.h. */
17516 _ACEOF
17517 cat confdefs.h >>conftest.$ac_ext
17518 cat >>conftest.$ac_ext <<_ACEOF
17519 /* end confdefs.h. */
17520 #include <math.h>
17521 #ifdef HAVE_IEEEFP_H
17522 #include <ieeefp.h>
17523 #endif
17526 main ()
17528 _finitef(0);
17530 return 0;
17532 _ACEOF
17533 rm -f conftest.$ac_objext
17534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17535 (eval $ac_compile) 2>conftest.er1
17536 ac_status=$?
17537 grep -v '^ *+' conftest.er1 >conftest.err
17538 rm -f conftest.er1
17539 cat conftest.err >&5
17540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17541 (exit $ac_status); } &&
17542 { ac_try='test -z "$ac_cxx_werror_flag"
17543 || test ! -s conftest.err'
17544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17545 (eval $ac_try) 2>&5
17546 ac_status=$?
17547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17548 (exit $ac_status); }; } &&
17549 { ac_try='test -s conftest.$ac_objext'
17550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17551 (eval $ac_try) 2>&5
17552 ac_status=$?
17553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17554 (exit $ac_status); }; }; then
17555 glibcxx_cv_func__finitef_use=yes
17556 else
17557 echo "$as_me: failed program was:" >&5
17558 sed 's/^/| /' conftest.$ac_ext >&5
17560 glibcxx_cv_func__finitef_use=no
17562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17563 ac_ext=c
17564 ac_cpp='$CPP $CPPFLAGS'
17565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17573 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
17574 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
17576 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
17578 for ac_func in _finitef
17580 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17581 echo "$as_me:$LINENO: checking for $ac_func" >&5
17582 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17583 if eval "test \"\${$as_ac_var+set}\" = set"; then
17584 echo $ECHO_N "(cached) $ECHO_C" >&6
17585 else
17586 if test x$gcc_no_link = xyes; then
17587 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17588 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17589 { (exit 1); exit 1; }; }
17591 cat >conftest.$ac_ext <<_ACEOF
17592 /* confdefs.h. */
17593 _ACEOF
17594 cat confdefs.h >>conftest.$ac_ext
17595 cat >>conftest.$ac_ext <<_ACEOF
17596 /* end confdefs.h. */
17597 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17598 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17599 #define $ac_func innocuous_$ac_func
17601 /* System header to define __stub macros and hopefully few prototypes,
17602 which can conflict with char $ac_func (); below.
17603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17604 <limits.h> exists even on freestanding compilers. */
17606 #ifdef __STDC__
17607 # include <limits.h>
17608 #else
17609 # include <assert.h>
17610 #endif
17612 #undef $ac_func
17614 /* Override any gcc2 internal prototype to avoid an error. */
17615 #ifdef __cplusplus
17616 extern "C"
17618 #endif
17619 /* We use char because int might match the return type of a gcc2
17620 builtin and then its argument prototype would still apply. */
17621 char $ac_func ();
17622 /* The GNU C library defines this for functions which it implements
17623 to always fail with ENOSYS. Some functions are actually named
17624 something starting with __ and the normal name is an alias. */
17625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17626 choke me
17627 #else
17628 char (*f) () = $ac_func;
17629 #endif
17630 #ifdef __cplusplus
17632 #endif
17635 main ()
17637 return f != $ac_func;
17639 return 0;
17641 _ACEOF
17642 rm -f conftest.$ac_objext conftest$ac_exeext
17643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17644 (eval $ac_link) 2>conftest.er1
17645 ac_status=$?
17646 grep -v '^ *+' conftest.er1 >conftest.err
17647 rm -f conftest.er1
17648 cat conftest.err >&5
17649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17650 (exit $ac_status); } &&
17651 { ac_try='test -z "$ac_c_werror_flag"
17652 || test ! -s conftest.err'
17653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17654 (eval $ac_try) 2>&5
17655 ac_status=$?
17656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17657 (exit $ac_status); }; } &&
17658 { ac_try='test -s conftest$ac_exeext'
17659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17660 (eval $ac_try) 2>&5
17661 ac_status=$?
17662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17663 (exit $ac_status); }; }; then
17664 eval "$as_ac_var=yes"
17665 else
17666 echo "$as_me: failed program was:" >&5
17667 sed 's/^/| /' conftest.$ac_ext >&5
17669 eval "$as_ac_var=no"
17671 rm -f conftest.err conftest.$ac_objext \
17672 conftest$ac_exeext conftest.$ac_ext
17674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17675 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17676 if test `eval echo '${'$as_ac_var'}'` = yes; then
17677 cat >>confdefs.h <<_ACEOF
17678 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17679 _ACEOF
17682 done
17689 echo "$as_me:$LINENO: checking for long double trig functions" >&5
17690 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
17691 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
17692 echo $ECHO_N "(cached) $ECHO_C" >&6
17693 else
17697 ac_ext=cc
17698 ac_cpp='$CXXCPP $CPPFLAGS'
17699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17703 cat >conftest.$ac_ext <<_ACEOF
17704 /* confdefs.h. */
17705 _ACEOF
17706 cat confdefs.h >>conftest.$ac_ext
17707 cat >>conftest.$ac_ext <<_ACEOF
17708 /* end confdefs.h. */
17709 #include <math.h>
17711 main ()
17713 `for x in acosl asinl atanl \
17714 cosl sinl tanl \
17715 coshl sinhl tanhl; do echo "$x (0);"; done`
17717 return 0;
17719 _ACEOF
17720 rm -f conftest.$ac_objext
17721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17722 (eval $ac_compile) 2>conftest.er1
17723 ac_status=$?
17724 grep -v '^ *+' conftest.er1 >conftest.err
17725 rm -f conftest.er1
17726 cat conftest.err >&5
17727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17728 (exit $ac_status); } &&
17729 { ac_try='test -z "$ac_cxx_werror_flag"
17730 || test ! -s conftest.err'
17731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17732 (eval $ac_try) 2>&5
17733 ac_status=$?
17734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17735 (exit $ac_status); }; } &&
17736 { ac_try='test -s conftest.$ac_objext'
17737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17738 (eval $ac_try) 2>&5
17739 ac_status=$?
17740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17741 (exit $ac_status); }; }; then
17742 glibcxx_cv_func_long_double_trig_use=yes
17743 else
17744 echo "$as_me: failed program was:" >&5
17745 sed 's/^/| /' conftest.$ac_ext >&5
17747 glibcxx_cv_func_long_double_trig_use=no
17749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17750 ac_ext=c
17751 ac_cpp='$CPP $CPPFLAGS'
17752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17758 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
17759 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
17760 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
17770 for ac_func in acosl asinl atanl \
17771 cosl sinl tanl \
17772 coshl sinhl tanhl
17774 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17775 echo "$as_me:$LINENO: checking for $ac_func" >&5
17776 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17777 if eval "test \"\${$as_ac_var+set}\" = set"; then
17778 echo $ECHO_N "(cached) $ECHO_C" >&6
17779 else
17780 if test x$gcc_no_link = xyes; then
17781 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17782 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17783 { (exit 1); exit 1; }; }
17785 cat >conftest.$ac_ext <<_ACEOF
17786 /* confdefs.h. */
17787 _ACEOF
17788 cat confdefs.h >>conftest.$ac_ext
17789 cat >>conftest.$ac_ext <<_ACEOF
17790 /* end confdefs.h. */
17791 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17792 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17793 #define $ac_func innocuous_$ac_func
17795 /* System header to define __stub macros and hopefully few prototypes,
17796 which can conflict with char $ac_func (); below.
17797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17798 <limits.h> exists even on freestanding compilers. */
17800 #ifdef __STDC__
17801 # include <limits.h>
17802 #else
17803 # include <assert.h>
17804 #endif
17806 #undef $ac_func
17808 /* Override any gcc2 internal prototype to avoid an error. */
17809 #ifdef __cplusplus
17810 extern "C"
17812 #endif
17813 /* We use char because int might match the return type of a gcc2
17814 builtin and then its argument prototype would still apply. */
17815 char $ac_func ();
17816 /* The GNU C library defines this for functions which it implements
17817 to always fail with ENOSYS. Some functions are actually named
17818 something starting with __ and the normal name is an alias. */
17819 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17820 choke me
17821 #else
17822 char (*f) () = $ac_func;
17823 #endif
17824 #ifdef __cplusplus
17826 #endif
17829 main ()
17831 return f != $ac_func;
17833 return 0;
17835 _ACEOF
17836 rm -f conftest.$ac_objext conftest$ac_exeext
17837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17838 (eval $ac_link) 2>conftest.er1
17839 ac_status=$?
17840 grep -v '^ *+' conftest.er1 >conftest.err
17841 rm -f conftest.er1
17842 cat conftest.err >&5
17843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17844 (exit $ac_status); } &&
17845 { ac_try='test -z "$ac_c_werror_flag"
17846 || test ! -s conftest.err'
17847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17848 (eval $ac_try) 2>&5
17849 ac_status=$?
17850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17851 (exit $ac_status); }; } &&
17852 { ac_try='test -s conftest$ac_exeext'
17853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17854 (eval $ac_try) 2>&5
17855 ac_status=$?
17856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17857 (exit $ac_status); }; }; then
17858 eval "$as_ac_var=yes"
17859 else
17860 echo "$as_me: failed program was:" >&5
17861 sed 's/^/| /' conftest.$ac_ext >&5
17863 eval "$as_ac_var=no"
17865 rm -f conftest.err conftest.$ac_objext \
17866 conftest$ac_exeext conftest.$ac_ext
17868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17869 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17870 if test `eval echo '${'$as_ac_var'}'` = yes; then
17871 cat >>confdefs.h <<_ACEOF
17872 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17873 _ACEOF
17876 done
17881 echo "$as_me:$LINENO: checking for long double round functions" >&5
17882 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
17883 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
17884 echo $ECHO_N "(cached) $ECHO_C" >&6
17885 else
17889 ac_ext=cc
17890 ac_cpp='$CXXCPP $CPPFLAGS'
17891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17895 cat >conftest.$ac_ext <<_ACEOF
17896 /* confdefs.h. */
17897 _ACEOF
17898 cat confdefs.h >>conftest.$ac_ext
17899 cat >>conftest.$ac_ext <<_ACEOF
17900 /* end confdefs.h. */
17901 #include <math.h>
17903 main ()
17905 `for x in ceill floorl; do echo "$x (0);"; done`
17907 return 0;
17909 _ACEOF
17910 rm -f conftest.$ac_objext
17911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17912 (eval $ac_compile) 2>conftest.er1
17913 ac_status=$?
17914 grep -v '^ *+' conftest.er1 >conftest.err
17915 rm -f conftest.er1
17916 cat conftest.err >&5
17917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17918 (exit $ac_status); } &&
17919 { ac_try='test -z "$ac_cxx_werror_flag"
17920 || test ! -s conftest.err'
17921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17922 (eval $ac_try) 2>&5
17923 ac_status=$?
17924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17925 (exit $ac_status); }; } &&
17926 { ac_try='test -s conftest.$ac_objext'
17927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17928 (eval $ac_try) 2>&5
17929 ac_status=$?
17930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17931 (exit $ac_status); }; }; then
17932 glibcxx_cv_func_long_double_round_use=yes
17933 else
17934 echo "$as_me: failed program was:" >&5
17935 sed 's/^/| /' conftest.$ac_ext >&5
17937 glibcxx_cv_func_long_double_round_use=no
17939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17940 ac_ext=c
17941 ac_cpp='$CPP $CPPFLAGS'
17942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17948 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
17949 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
17950 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
17953 for ac_func in ceill floorl
17955 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17956 echo "$as_me:$LINENO: checking for $ac_func" >&5
17957 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17958 if eval "test \"\${$as_ac_var+set}\" = set"; then
17959 echo $ECHO_N "(cached) $ECHO_C" >&6
17960 else
17961 if test x$gcc_no_link = xyes; then
17962 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17963 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17964 { (exit 1); exit 1; }; }
17966 cat >conftest.$ac_ext <<_ACEOF
17967 /* confdefs.h. */
17968 _ACEOF
17969 cat confdefs.h >>conftest.$ac_ext
17970 cat >>conftest.$ac_ext <<_ACEOF
17971 /* end confdefs.h. */
17972 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17973 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17974 #define $ac_func innocuous_$ac_func
17976 /* System header to define __stub macros and hopefully few prototypes,
17977 which can conflict with char $ac_func (); below.
17978 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17979 <limits.h> exists even on freestanding compilers. */
17981 #ifdef __STDC__
17982 # include <limits.h>
17983 #else
17984 # include <assert.h>
17985 #endif
17987 #undef $ac_func
17989 /* Override any gcc2 internal prototype to avoid an error. */
17990 #ifdef __cplusplus
17991 extern "C"
17993 #endif
17994 /* We use char because int might match the return type of a gcc2
17995 builtin and then its argument prototype would still apply. */
17996 char $ac_func ();
17997 /* The GNU C library defines this for functions which it implements
17998 to always fail with ENOSYS. Some functions are actually named
17999 something starting with __ and the normal name is an alias. */
18000 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18001 choke me
18002 #else
18003 char (*f) () = $ac_func;
18004 #endif
18005 #ifdef __cplusplus
18007 #endif
18010 main ()
18012 return f != $ac_func;
18014 return 0;
18016 _ACEOF
18017 rm -f conftest.$ac_objext conftest$ac_exeext
18018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18019 (eval $ac_link) 2>conftest.er1
18020 ac_status=$?
18021 grep -v '^ *+' conftest.er1 >conftest.err
18022 rm -f conftest.er1
18023 cat conftest.err >&5
18024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18025 (exit $ac_status); } &&
18026 { ac_try='test -z "$ac_c_werror_flag"
18027 || test ! -s conftest.err'
18028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18029 (eval $ac_try) 2>&5
18030 ac_status=$?
18031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18032 (exit $ac_status); }; } &&
18033 { ac_try='test -s conftest$ac_exeext'
18034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18035 (eval $ac_try) 2>&5
18036 ac_status=$?
18037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18038 (exit $ac_status); }; }; then
18039 eval "$as_ac_var=yes"
18040 else
18041 echo "$as_me: failed program was:" >&5
18042 sed 's/^/| /' conftest.$ac_ext >&5
18044 eval "$as_ac_var=no"
18046 rm -f conftest.err conftest.$ac_objext \
18047 conftest$ac_exeext conftest.$ac_ext
18049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18050 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18051 if test `eval echo '${'$as_ac_var'}'` = yes; then
18052 cat >>confdefs.h <<_ACEOF
18053 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18054 _ACEOF
18057 done
18063 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
18064 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
18065 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
18066 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
18067 echo $ECHO_N "(cached) $ECHO_C" >&6
18068 else
18072 ac_ext=cc
18073 ac_cpp='$CXXCPP $CPPFLAGS'
18074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18078 cat >conftest.$ac_ext <<_ACEOF
18079 /* confdefs.h. */
18080 _ACEOF
18081 cat confdefs.h >>conftest.$ac_ext
18082 cat >>conftest.$ac_ext <<_ACEOF
18083 /* end confdefs.h. */
18084 #include <math.h>
18085 #ifdef HAVE_IEEEFP_H
18086 #include <ieeefp.h>
18087 #endif
18090 main ()
18092 isnanl(0);
18094 return 0;
18096 _ACEOF
18097 rm -f conftest.$ac_objext
18098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18099 (eval $ac_compile) 2>conftest.er1
18100 ac_status=$?
18101 grep -v '^ *+' conftest.er1 >conftest.err
18102 rm -f conftest.er1
18103 cat conftest.err >&5
18104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18105 (exit $ac_status); } &&
18106 { ac_try='test -z "$ac_cxx_werror_flag"
18107 || test ! -s conftest.err'
18108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18109 (eval $ac_try) 2>&5
18110 ac_status=$?
18111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18112 (exit $ac_status); }; } &&
18113 { ac_try='test -s conftest.$ac_objext'
18114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18115 (eval $ac_try) 2>&5
18116 ac_status=$?
18117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18118 (exit $ac_status); }; }; then
18119 glibcxx_cv_func_isnanl_use=yes
18120 else
18121 echo "$as_me: failed program was:" >&5
18122 sed 's/^/| /' conftest.$ac_ext >&5
18124 glibcxx_cv_func_isnanl_use=no
18126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18127 ac_ext=c
18128 ac_cpp='$CPP $CPPFLAGS'
18129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18137 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
18138 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
18140 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
18142 for ac_func in isnanl
18144 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18145 echo "$as_me:$LINENO: checking for $ac_func" >&5
18146 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18147 if eval "test \"\${$as_ac_var+set}\" = set"; then
18148 echo $ECHO_N "(cached) $ECHO_C" >&6
18149 else
18150 if test x$gcc_no_link = xyes; then
18151 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18152 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18153 { (exit 1); exit 1; }; }
18155 cat >conftest.$ac_ext <<_ACEOF
18156 /* confdefs.h. */
18157 _ACEOF
18158 cat confdefs.h >>conftest.$ac_ext
18159 cat >>conftest.$ac_ext <<_ACEOF
18160 /* end confdefs.h. */
18161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18163 #define $ac_func innocuous_$ac_func
18165 /* System header to define __stub macros and hopefully few prototypes,
18166 which can conflict with char $ac_func (); below.
18167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18168 <limits.h> exists even on freestanding compilers. */
18170 #ifdef __STDC__
18171 # include <limits.h>
18172 #else
18173 # include <assert.h>
18174 #endif
18176 #undef $ac_func
18178 /* Override any gcc2 internal prototype to avoid an error. */
18179 #ifdef __cplusplus
18180 extern "C"
18182 #endif
18183 /* We use char because int might match the return type of a gcc2
18184 builtin and then its argument prototype would still apply. */
18185 char $ac_func ();
18186 /* The GNU C library defines this for functions which it implements
18187 to always fail with ENOSYS. Some functions are actually named
18188 something starting with __ and the normal name is an alias. */
18189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18190 choke me
18191 #else
18192 char (*f) () = $ac_func;
18193 #endif
18194 #ifdef __cplusplus
18196 #endif
18199 main ()
18201 return f != $ac_func;
18203 return 0;
18205 _ACEOF
18206 rm -f conftest.$ac_objext conftest$ac_exeext
18207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18208 (eval $ac_link) 2>conftest.er1
18209 ac_status=$?
18210 grep -v '^ *+' conftest.er1 >conftest.err
18211 rm -f conftest.er1
18212 cat conftest.err >&5
18213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18214 (exit $ac_status); } &&
18215 { ac_try='test -z "$ac_c_werror_flag"
18216 || test ! -s conftest.err'
18217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18218 (eval $ac_try) 2>&5
18219 ac_status=$?
18220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18221 (exit $ac_status); }; } &&
18222 { ac_try='test -s conftest$ac_exeext'
18223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18224 (eval $ac_try) 2>&5
18225 ac_status=$?
18226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18227 (exit $ac_status); }; }; then
18228 eval "$as_ac_var=yes"
18229 else
18230 echo "$as_me: failed program was:" >&5
18231 sed 's/^/| /' conftest.$ac_ext >&5
18233 eval "$as_ac_var=no"
18235 rm -f conftest.err conftest.$ac_objext \
18236 conftest$ac_exeext conftest.$ac_ext
18238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18239 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18240 if test `eval echo '${'$as_ac_var'}'` = yes; then
18241 cat >>confdefs.h <<_ACEOF
18242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18243 _ACEOF
18246 done
18248 else
18250 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
18251 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
18252 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
18253 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
18254 echo $ECHO_N "(cached) $ECHO_C" >&6
18255 else
18259 ac_ext=cc
18260 ac_cpp='$CXXCPP $CPPFLAGS'
18261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18265 cat >conftest.$ac_ext <<_ACEOF
18266 /* confdefs.h. */
18267 _ACEOF
18268 cat confdefs.h >>conftest.$ac_ext
18269 cat >>conftest.$ac_ext <<_ACEOF
18270 /* end confdefs.h. */
18271 #include <math.h>
18272 #ifdef HAVE_IEEEFP_H
18273 #include <ieeefp.h>
18274 #endif
18277 main ()
18279 _isnanl(0);
18281 return 0;
18283 _ACEOF
18284 rm -f conftest.$ac_objext
18285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18286 (eval $ac_compile) 2>conftest.er1
18287 ac_status=$?
18288 grep -v '^ *+' conftest.er1 >conftest.err
18289 rm -f conftest.er1
18290 cat conftest.err >&5
18291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18292 (exit $ac_status); } &&
18293 { ac_try='test -z "$ac_cxx_werror_flag"
18294 || test ! -s conftest.err'
18295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18296 (eval $ac_try) 2>&5
18297 ac_status=$?
18298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18299 (exit $ac_status); }; } &&
18300 { ac_try='test -s conftest.$ac_objext'
18301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18302 (eval $ac_try) 2>&5
18303 ac_status=$?
18304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18305 (exit $ac_status); }; }; then
18306 glibcxx_cv_func__isnanl_use=yes
18307 else
18308 echo "$as_me: failed program was:" >&5
18309 sed 's/^/| /' conftest.$ac_ext >&5
18311 glibcxx_cv_func__isnanl_use=no
18313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18314 ac_ext=c
18315 ac_cpp='$CPP $CPPFLAGS'
18316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18324 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
18325 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
18327 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
18329 for ac_func in _isnanl
18331 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18332 echo "$as_me:$LINENO: checking for $ac_func" >&5
18333 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18334 if eval "test \"\${$as_ac_var+set}\" = set"; then
18335 echo $ECHO_N "(cached) $ECHO_C" >&6
18336 else
18337 if test x$gcc_no_link = xyes; then
18338 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18339 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18340 { (exit 1); exit 1; }; }
18342 cat >conftest.$ac_ext <<_ACEOF
18343 /* confdefs.h. */
18344 _ACEOF
18345 cat confdefs.h >>conftest.$ac_ext
18346 cat >>conftest.$ac_ext <<_ACEOF
18347 /* end confdefs.h. */
18348 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18349 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18350 #define $ac_func innocuous_$ac_func
18352 /* System header to define __stub macros and hopefully few prototypes,
18353 which can conflict with char $ac_func (); below.
18354 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18355 <limits.h> exists even on freestanding compilers. */
18357 #ifdef __STDC__
18358 # include <limits.h>
18359 #else
18360 # include <assert.h>
18361 #endif
18363 #undef $ac_func
18365 /* Override any gcc2 internal prototype to avoid an error. */
18366 #ifdef __cplusplus
18367 extern "C"
18369 #endif
18370 /* We use char because int might match the return type of a gcc2
18371 builtin and then its argument prototype would still apply. */
18372 char $ac_func ();
18373 /* The GNU C library defines this for functions which it implements
18374 to always fail with ENOSYS. Some functions are actually named
18375 something starting with __ and the normal name is an alias. */
18376 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18377 choke me
18378 #else
18379 char (*f) () = $ac_func;
18380 #endif
18381 #ifdef __cplusplus
18383 #endif
18386 main ()
18388 return f != $ac_func;
18390 return 0;
18392 _ACEOF
18393 rm -f conftest.$ac_objext conftest$ac_exeext
18394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18395 (eval $ac_link) 2>conftest.er1
18396 ac_status=$?
18397 grep -v '^ *+' conftest.er1 >conftest.err
18398 rm -f conftest.er1
18399 cat conftest.err >&5
18400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18401 (exit $ac_status); } &&
18402 { ac_try='test -z "$ac_c_werror_flag"
18403 || test ! -s conftest.err'
18404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18405 (eval $ac_try) 2>&5
18406 ac_status=$?
18407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18408 (exit $ac_status); }; } &&
18409 { ac_try='test -s conftest$ac_exeext'
18410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18411 (eval $ac_try) 2>&5
18412 ac_status=$?
18413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18414 (exit $ac_status); }; }; then
18415 eval "$as_ac_var=yes"
18416 else
18417 echo "$as_me: failed program was:" >&5
18418 sed 's/^/| /' conftest.$ac_ext >&5
18420 eval "$as_ac_var=no"
18422 rm -f conftest.err conftest.$ac_objext \
18423 conftest$ac_exeext conftest.$ac_ext
18425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18426 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18427 if test `eval echo '${'$as_ac_var'}'` = yes; then
18428 cat >>confdefs.h <<_ACEOF
18429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18430 _ACEOF
18433 done
18440 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
18441 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
18442 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
18443 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
18444 echo $ECHO_N "(cached) $ECHO_C" >&6
18445 else
18449 ac_ext=cc
18450 ac_cpp='$CXXCPP $CPPFLAGS'
18451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18455 cat >conftest.$ac_ext <<_ACEOF
18456 /* confdefs.h. */
18457 _ACEOF
18458 cat confdefs.h >>conftest.$ac_ext
18459 cat >>conftest.$ac_ext <<_ACEOF
18460 /* end confdefs.h. */
18461 #include <math.h>
18462 #ifdef HAVE_IEEEFP_H
18463 #include <ieeefp.h>
18464 #endif
18467 main ()
18469 isinfl(0);
18471 return 0;
18473 _ACEOF
18474 rm -f conftest.$ac_objext
18475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18476 (eval $ac_compile) 2>conftest.er1
18477 ac_status=$?
18478 grep -v '^ *+' conftest.er1 >conftest.err
18479 rm -f conftest.er1
18480 cat conftest.err >&5
18481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18482 (exit $ac_status); } &&
18483 { ac_try='test -z "$ac_cxx_werror_flag"
18484 || test ! -s conftest.err'
18485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18486 (eval $ac_try) 2>&5
18487 ac_status=$?
18488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18489 (exit $ac_status); }; } &&
18490 { ac_try='test -s conftest.$ac_objext'
18491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18492 (eval $ac_try) 2>&5
18493 ac_status=$?
18494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18495 (exit $ac_status); }; }; then
18496 glibcxx_cv_func_isinfl_use=yes
18497 else
18498 echo "$as_me: failed program was:" >&5
18499 sed 's/^/| /' conftest.$ac_ext >&5
18501 glibcxx_cv_func_isinfl_use=no
18503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18504 ac_ext=c
18505 ac_cpp='$CPP $CPPFLAGS'
18506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18514 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
18515 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
18517 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
18519 for ac_func in isinfl
18521 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18522 echo "$as_me:$LINENO: checking for $ac_func" >&5
18523 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18524 if eval "test \"\${$as_ac_var+set}\" = set"; then
18525 echo $ECHO_N "(cached) $ECHO_C" >&6
18526 else
18527 if test x$gcc_no_link = xyes; then
18528 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18529 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18530 { (exit 1); exit 1; }; }
18532 cat >conftest.$ac_ext <<_ACEOF
18533 /* confdefs.h. */
18534 _ACEOF
18535 cat confdefs.h >>conftest.$ac_ext
18536 cat >>conftest.$ac_ext <<_ACEOF
18537 /* end confdefs.h. */
18538 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18539 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18540 #define $ac_func innocuous_$ac_func
18542 /* System header to define __stub macros and hopefully few prototypes,
18543 which can conflict with char $ac_func (); below.
18544 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18545 <limits.h> exists even on freestanding compilers. */
18547 #ifdef __STDC__
18548 # include <limits.h>
18549 #else
18550 # include <assert.h>
18551 #endif
18553 #undef $ac_func
18555 /* Override any gcc2 internal prototype to avoid an error. */
18556 #ifdef __cplusplus
18557 extern "C"
18559 #endif
18560 /* We use char because int might match the return type of a gcc2
18561 builtin and then its argument prototype would still apply. */
18562 char $ac_func ();
18563 /* The GNU C library defines this for functions which it implements
18564 to always fail with ENOSYS. Some functions are actually named
18565 something starting with __ and the normal name is an alias. */
18566 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18567 choke me
18568 #else
18569 char (*f) () = $ac_func;
18570 #endif
18571 #ifdef __cplusplus
18573 #endif
18576 main ()
18578 return f != $ac_func;
18580 return 0;
18582 _ACEOF
18583 rm -f conftest.$ac_objext conftest$ac_exeext
18584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18585 (eval $ac_link) 2>conftest.er1
18586 ac_status=$?
18587 grep -v '^ *+' conftest.er1 >conftest.err
18588 rm -f conftest.er1
18589 cat conftest.err >&5
18590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18591 (exit $ac_status); } &&
18592 { ac_try='test -z "$ac_c_werror_flag"
18593 || test ! -s conftest.err'
18594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18595 (eval $ac_try) 2>&5
18596 ac_status=$?
18597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18598 (exit $ac_status); }; } &&
18599 { ac_try='test -s conftest$ac_exeext'
18600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18601 (eval $ac_try) 2>&5
18602 ac_status=$?
18603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18604 (exit $ac_status); }; }; then
18605 eval "$as_ac_var=yes"
18606 else
18607 echo "$as_me: failed program was:" >&5
18608 sed 's/^/| /' conftest.$ac_ext >&5
18610 eval "$as_ac_var=no"
18612 rm -f conftest.err conftest.$ac_objext \
18613 conftest$ac_exeext conftest.$ac_ext
18615 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18616 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18617 if test `eval echo '${'$as_ac_var'}'` = yes; then
18618 cat >>confdefs.h <<_ACEOF
18619 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18620 _ACEOF
18623 done
18625 else
18627 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
18628 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
18629 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
18630 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
18631 echo $ECHO_N "(cached) $ECHO_C" >&6
18632 else
18636 ac_ext=cc
18637 ac_cpp='$CXXCPP $CPPFLAGS'
18638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18642 cat >conftest.$ac_ext <<_ACEOF
18643 /* confdefs.h. */
18644 _ACEOF
18645 cat confdefs.h >>conftest.$ac_ext
18646 cat >>conftest.$ac_ext <<_ACEOF
18647 /* end confdefs.h. */
18648 #include <math.h>
18649 #ifdef HAVE_IEEEFP_H
18650 #include <ieeefp.h>
18651 #endif
18654 main ()
18656 _isinfl(0);
18658 return 0;
18660 _ACEOF
18661 rm -f conftest.$ac_objext
18662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18663 (eval $ac_compile) 2>conftest.er1
18664 ac_status=$?
18665 grep -v '^ *+' conftest.er1 >conftest.err
18666 rm -f conftest.er1
18667 cat conftest.err >&5
18668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18669 (exit $ac_status); } &&
18670 { ac_try='test -z "$ac_cxx_werror_flag"
18671 || test ! -s conftest.err'
18672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18673 (eval $ac_try) 2>&5
18674 ac_status=$?
18675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18676 (exit $ac_status); }; } &&
18677 { ac_try='test -s conftest.$ac_objext'
18678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18679 (eval $ac_try) 2>&5
18680 ac_status=$?
18681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18682 (exit $ac_status); }; }; then
18683 glibcxx_cv_func__isinfl_use=yes
18684 else
18685 echo "$as_me: failed program was:" >&5
18686 sed 's/^/| /' conftest.$ac_ext >&5
18688 glibcxx_cv_func__isinfl_use=no
18690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18691 ac_ext=c
18692 ac_cpp='$CPP $CPPFLAGS'
18693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18701 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
18702 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
18704 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
18706 for ac_func in _isinfl
18708 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18709 echo "$as_me:$LINENO: checking for $ac_func" >&5
18710 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18711 if eval "test \"\${$as_ac_var+set}\" = set"; then
18712 echo $ECHO_N "(cached) $ECHO_C" >&6
18713 else
18714 if test x$gcc_no_link = xyes; then
18715 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18716 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18717 { (exit 1); exit 1; }; }
18719 cat >conftest.$ac_ext <<_ACEOF
18720 /* confdefs.h. */
18721 _ACEOF
18722 cat confdefs.h >>conftest.$ac_ext
18723 cat >>conftest.$ac_ext <<_ACEOF
18724 /* end confdefs.h. */
18725 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18726 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18727 #define $ac_func innocuous_$ac_func
18729 /* System header to define __stub macros and hopefully few prototypes,
18730 which can conflict with char $ac_func (); below.
18731 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18732 <limits.h> exists even on freestanding compilers. */
18734 #ifdef __STDC__
18735 # include <limits.h>
18736 #else
18737 # include <assert.h>
18738 #endif
18740 #undef $ac_func
18742 /* Override any gcc2 internal prototype to avoid an error. */
18743 #ifdef __cplusplus
18744 extern "C"
18746 #endif
18747 /* We use char because int might match the return type of a gcc2
18748 builtin and then its argument prototype would still apply. */
18749 char $ac_func ();
18750 /* The GNU C library defines this for functions which it implements
18751 to always fail with ENOSYS. Some functions are actually named
18752 something starting with __ and the normal name is an alias. */
18753 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18754 choke me
18755 #else
18756 char (*f) () = $ac_func;
18757 #endif
18758 #ifdef __cplusplus
18760 #endif
18763 main ()
18765 return f != $ac_func;
18767 return 0;
18769 _ACEOF
18770 rm -f conftest.$ac_objext conftest$ac_exeext
18771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18772 (eval $ac_link) 2>conftest.er1
18773 ac_status=$?
18774 grep -v '^ *+' conftest.er1 >conftest.err
18775 rm -f conftest.er1
18776 cat conftest.err >&5
18777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18778 (exit $ac_status); } &&
18779 { ac_try='test -z "$ac_c_werror_flag"
18780 || test ! -s conftest.err'
18781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18782 (eval $ac_try) 2>&5
18783 ac_status=$?
18784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18785 (exit $ac_status); }; } &&
18786 { ac_try='test -s conftest$ac_exeext'
18787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18788 (eval $ac_try) 2>&5
18789 ac_status=$?
18790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18791 (exit $ac_status); }; }; then
18792 eval "$as_ac_var=yes"
18793 else
18794 echo "$as_me: failed program was:" >&5
18795 sed 's/^/| /' conftest.$ac_ext >&5
18797 eval "$as_ac_var=no"
18799 rm -f conftest.err conftest.$ac_objext \
18800 conftest$ac_exeext conftest.$ac_ext
18802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18803 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18804 if test `eval echo '${'$as_ac_var'}'` = yes; then
18805 cat >>confdefs.h <<_ACEOF
18806 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18807 _ACEOF
18810 done
18817 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
18818 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
18819 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
18820 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
18821 echo $ECHO_N "(cached) $ECHO_C" >&6
18822 else
18826 ac_ext=cc
18827 ac_cpp='$CXXCPP $CPPFLAGS'
18828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18832 cat >conftest.$ac_ext <<_ACEOF
18833 /* confdefs.h. */
18834 _ACEOF
18835 cat confdefs.h >>conftest.$ac_ext
18836 cat >>conftest.$ac_ext <<_ACEOF
18837 /* end confdefs.h. */
18838 #include <math.h>
18840 main ()
18842 copysignl(0, 0);
18844 return 0;
18846 _ACEOF
18847 rm -f conftest.$ac_objext
18848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18849 (eval $ac_compile) 2>conftest.er1
18850 ac_status=$?
18851 grep -v '^ *+' conftest.er1 >conftest.err
18852 rm -f conftest.er1
18853 cat conftest.err >&5
18854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18855 (exit $ac_status); } &&
18856 { ac_try='test -z "$ac_cxx_werror_flag"
18857 || test ! -s conftest.err'
18858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18859 (eval $ac_try) 2>&5
18860 ac_status=$?
18861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18862 (exit $ac_status); }; } &&
18863 { ac_try='test -s conftest.$ac_objext'
18864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18865 (eval $ac_try) 2>&5
18866 ac_status=$?
18867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18868 (exit $ac_status); }; }; then
18869 glibcxx_cv_func_copysignl_use=yes
18870 else
18871 echo "$as_me: failed program was:" >&5
18872 sed 's/^/| /' conftest.$ac_ext >&5
18874 glibcxx_cv_func_copysignl_use=no
18876 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18877 ac_ext=c
18878 ac_cpp='$CPP $CPPFLAGS'
18879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18887 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
18888 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
18890 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
18892 for ac_func in copysignl
18894 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18895 echo "$as_me:$LINENO: checking for $ac_func" >&5
18896 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18897 if eval "test \"\${$as_ac_var+set}\" = set"; then
18898 echo $ECHO_N "(cached) $ECHO_C" >&6
18899 else
18900 if test x$gcc_no_link = xyes; then
18901 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18902 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18903 { (exit 1); exit 1; }; }
18905 cat >conftest.$ac_ext <<_ACEOF
18906 /* confdefs.h. */
18907 _ACEOF
18908 cat confdefs.h >>conftest.$ac_ext
18909 cat >>conftest.$ac_ext <<_ACEOF
18910 /* end confdefs.h. */
18911 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18912 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18913 #define $ac_func innocuous_$ac_func
18915 /* System header to define __stub macros and hopefully few prototypes,
18916 which can conflict with char $ac_func (); below.
18917 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18918 <limits.h> exists even on freestanding compilers. */
18920 #ifdef __STDC__
18921 # include <limits.h>
18922 #else
18923 # include <assert.h>
18924 #endif
18926 #undef $ac_func
18928 /* Override any gcc2 internal prototype to avoid an error. */
18929 #ifdef __cplusplus
18930 extern "C"
18932 #endif
18933 /* We use char because int might match the return type of a gcc2
18934 builtin and then its argument prototype would still apply. */
18935 char $ac_func ();
18936 /* The GNU C library defines this for functions which it implements
18937 to always fail with ENOSYS. Some functions are actually named
18938 something starting with __ and the normal name is an alias. */
18939 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18940 choke me
18941 #else
18942 char (*f) () = $ac_func;
18943 #endif
18944 #ifdef __cplusplus
18946 #endif
18949 main ()
18951 return f != $ac_func;
18953 return 0;
18955 _ACEOF
18956 rm -f conftest.$ac_objext conftest$ac_exeext
18957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18958 (eval $ac_link) 2>conftest.er1
18959 ac_status=$?
18960 grep -v '^ *+' conftest.er1 >conftest.err
18961 rm -f conftest.er1
18962 cat conftest.err >&5
18963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18964 (exit $ac_status); } &&
18965 { ac_try='test -z "$ac_c_werror_flag"
18966 || test ! -s conftest.err'
18967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18968 (eval $ac_try) 2>&5
18969 ac_status=$?
18970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18971 (exit $ac_status); }; } &&
18972 { ac_try='test -s conftest$ac_exeext'
18973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18974 (eval $ac_try) 2>&5
18975 ac_status=$?
18976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18977 (exit $ac_status); }; }; then
18978 eval "$as_ac_var=yes"
18979 else
18980 echo "$as_me: failed program was:" >&5
18981 sed 's/^/| /' conftest.$ac_ext >&5
18983 eval "$as_ac_var=no"
18985 rm -f conftest.err conftest.$ac_objext \
18986 conftest$ac_exeext conftest.$ac_ext
18988 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18989 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18990 if test `eval echo '${'$as_ac_var'}'` = yes; then
18991 cat >>confdefs.h <<_ACEOF
18992 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18993 _ACEOF
18996 done
18998 else
19000 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
19001 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
19002 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
19003 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
19004 echo $ECHO_N "(cached) $ECHO_C" >&6
19005 else
19009 ac_ext=cc
19010 ac_cpp='$CXXCPP $CPPFLAGS'
19011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19015 cat >conftest.$ac_ext <<_ACEOF
19016 /* confdefs.h. */
19017 _ACEOF
19018 cat confdefs.h >>conftest.$ac_ext
19019 cat >>conftest.$ac_ext <<_ACEOF
19020 /* end confdefs.h. */
19021 #include <math.h>
19023 main ()
19025 _copysignl(0, 0);
19027 return 0;
19029 _ACEOF
19030 rm -f conftest.$ac_objext
19031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19032 (eval $ac_compile) 2>conftest.er1
19033 ac_status=$?
19034 grep -v '^ *+' conftest.er1 >conftest.err
19035 rm -f conftest.er1
19036 cat conftest.err >&5
19037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19038 (exit $ac_status); } &&
19039 { ac_try='test -z "$ac_cxx_werror_flag"
19040 || test ! -s conftest.err'
19041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19042 (eval $ac_try) 2>&5
19043 ac_status=$?
19044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19045 (exit $ac_status); }; } &&
19046 { ac_try='test -s conftest.$ac_objext'
19047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19048 (eval $ac_try) 2>&5
19049 ac_status=$?
19050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19051 (exit $ac_status); }; }; then
19052 glibcxx_cv_func__copysignl_use=yes
19053 else
19054 echo "$as_me: failed program was:" >&5
19055 sed 's/^/| /' conftest.$ac_ext >&5
19057 glibcxx_cv_func__copysignl_use=no
19059 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19060 ac_ext=c
19061 ac_cpp='$CPP $CPPFLAGS'
19062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19070 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
19071 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
19073 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
19075 for ac_func in _copysignl
19077 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19078 echo "$as_me:$LINENO: checking for $ac_func" >&5
19079 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19080 if eval "test \"\${$as_ac_var+set}\" = set"; then
19081 echo $ECHO_N "(cached) $ECHO_C" >&6
19082 else
19083 if test x$gcc_no_link = xyes; then
19084 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19085 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19086 { (exit 1); exit 1; }; }
19088 cat >conftest.$ac_ext <<_ACEOF
19089 /* confdefs.h. */
19090 _ACEOF
19091 cat confdefs.h >>conftest.$ac_ext
19092 cat >>conftest.$ac_ext <<_ACEOF
19093 /* end confdefs.h. */
19094 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19095 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19096 #define $ac_func innocuous_$ac_func
19098 /* System header to define __stub macros and hopefully few prototypes,
19099 which can conflict with char $ac_func (); below.
19100 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19101 <limits.h> exists even on freestanding compilers. */
19103 #ifdef __STDC__
19104 # include <limits.h>
19105 #else
19106 # include <assert.h>
19107 #endif
19109 #undef $ac_func
19111 /* Override any gcc2 internal prototype to avoid an error. */
19112 #ifdef __cplusplus
19113 extern "C"
19115 #endif
19116 /* We use char because int might match the return type of a gcc2
19117 builtin and then its argument prototype would still apply. */
19118 char $ac_func ();
19119 /* The GNU C library defines this for functions which it implements
19120 to always fail with ENOSYS. Some functions are actually named
19121 something starting with __ and the normal name is an alias. */
19122 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19123 choke me
19124 #else
19125 char (*f) () = $ac_func;
19126 #endif
19127 #ifdef __cplusplus
19129 #endif
19132 main ()
19134 return f != $ac_func;
19136 return 0;
19138 _ACEOF
19139 rm -f conftest.$ac_objext conftest$ac_exeext
19140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19141 (eval $ac_link) 2>conftest.er1
19142 ac_status=$?
19143 grep -v '^ *+' conftest.er1 >conftest.err
19144 rm -f conftest.er1
19145 cat conftest.err >&5
19146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19147 (exit $ac_status); } &&
19148 { ac_try='test -z "$ac_c_werror_flag"
19149 || test ! -s conftest.err'
19150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19151 (eval $ac_try) 2>&5
19152 ac_status=$?
19153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19154 (exit $ac_status); }; } &&
19155 { ac_try='test -s conftest$ac_exeext'
19156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19157 (eval $ac_try) 2>&5
19158 ac_status=$?
19159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19160 (exit $ac_status); }; }; then
19161 eval "$as_ac_var=yes"
19162 else
19163 echo "$as_me: failed program was:" >&5
19164 sed 's/^/| /' conftest.$ac_ext >&5
19166 eval "$as_ac_var=no"
19168 rm -f conftest.err conftest.$ac_objext \
19169 conftest$ac_exeext conftest.$ac_ext
19171 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19172 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19173 if test `eval echo '${'$as_ac_var'}'` = yes; then
19174 cat >>confdefs.h <<_ACEOF
19175 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19176 _ACEOF
19179 done
19186 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
19187 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
19188 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
19189 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
19190 echo $ECHO_N "(cached) $ECHO_C" >&6
19191 else
19195 ac_ext=cc
19196 ac_cpp='$CXXCPP $CPPFLAGS'
19197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19201 cat >conftest.$ac_ext <<_ACEOF
19202 /* confdefs.h. */
19203 _ACEOF
19204 cat confdefs.h >>conftest.$ac_ext
19205 cat >>conftest.$ac_ext <<_ACEOF
19206 /* end confdefs.h. */
19207 #include <math.h>
19209 main ()
19211 atan2l(0, 0);
19213 return 0;
19215 _ACEOF
19216 rm -f conftest.$ac_objext
19217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19218 (eval $ac_compile) 2>conftest.er1
19219 ac_status=$?
19220 grep -v '^ *+' conftest.er1 >conftest.err
19221 rm -f conftest.er1
19222 cat conftest.err >&5
19223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19224 (exit $ac_status); } &&
19225 { ac_try='test -z "$ac_cxx_werror_flag"
19226 || test ! -s conftest.err'
19227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19228 (eval $ac_try) 2>&5
19229 ac_status=$?
19230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19231 (exit $ac_status); }; } &&
19232 { ac_try='test -s conftest.$ac_objext'
19233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19234 (eval $ac_try) 2>&5
19235 ac_status=$?
19236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19237 (exit $ac_status); }; }; then
19238 glibcxx_cv_func_atan2l_use=yes
19239 else
19240 echo "$as_me: failed program was:" >&5
19241 sed 's/^/| /' conftest.$ac_ext >&5
19243 glibcxx_cv_func_atan2l_use=no
19245 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19246 ac_ext=c
19247 ac_cpp='$CPP $CPPFLAGS'
19248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19256 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
19257 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
19259 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
19261 for ac_func in atan2l
19263 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19264 echo "$as_me:$LINENO: checking for $ac_func" >&5
19265 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19266 if eval "test \"\${$as_ac_var+set}\" = set"; then
19267 echo $ECHO_N "(cached) $ECHO_C" >&6
19268 else
19269 if test x$gcc_no_link = xyes; then
19270 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19271 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19272 { (exit 1); exit 1; }; }
19274 cat >conftest.$ac_ext <<_ACEOF
19275 /* confdefs.h. */
19276 _ACEOF
19277 cat confdefs.h >>conftest.$ac_ext
19278 cat >>conftest.$ac_ext <<_ACEOF
19279 /* end confdefs.h. */
19280 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19281 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19282 #define $ac_func innocuous_$ac_func
19284 /* System header to define __stub macros and hopefully few prototypes,
19285 which can conflict with char $ac_func (); below.
19286 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19287 <limits.h> exists even on freestanding compilers. */
19289 #ifdef __STDC__
19290 # include <limits.h>
19291 #else
19292 # include <assert.h>
19293 #endif
19295 #undef $ac_func
19297 /* Override any gcc2 internal prototype to avoid an error. */
19298 #ifdef __cplusplus
19299 extern "C"
19301 #endif
19302 /* We use char because int might match the return type of a gcc2
19303 builtin and then its argument prototype would still apply. */
19304 char $ac_func ();
19305 /* The GNU C library defines this for functions which it implements
19306 to always fail with ENOSYS. Some functions are actually named
19307 something starting with __ and the normal name is an alias. */
19308 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19309 choke me
19310 #else
19311 char (*f) () = $ac_func;
19312 #endif
19313 #ifdef __cplusplus
19315 #endif
19318 main ()
19320 return f != $ac_func;
19322 return 0;
19324 _ACEOF
19325 rm -f conftest.$ac_objext conftest$ac_exeext
19326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19327 (eval $ac_link) 2>conftest.er1
19328 ac_status=$?
19329 grep -v '^ *+' conftest.er1 >conftest.err
19330 rm -f conftest.er1
19331 cat conftest.err >&5
19332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19333 (exit $ac_status); } &&
19334 { ac_try='test -z "$ac_c_werror_flag"
19335 || test ! -s conftest.err'
19336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19337 (eval $ac_try) 2>&5
19338 ac_status=$?
19339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19340 (exit $ac_status); }; } &&
19341 { ac_try='test -s conftest$ac_exeext'
19342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19343 (eval $ac_try) 2>&5
19344 ac_status=$?
19345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19346 (exit $ac_status); }; }; then
19347 eval "$as_ac_var=yes"
19348 else
19349 echo "$as_me: failed program was:" >&5
19350 sed 's/^/| /' conftest.$ac_ext >&5
19352 eval "$as_ac_var=no"
19354 rm -f conftest.err conftest.$ac_objext \
19355 conftest$ac_exeext conftest.$ac_ext
19357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19358 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19359 if test `eval echo '${'$as_ac_var'}'` = yes; then
19360 cat >>confdefs.h <<_ACEOF
19361 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19362 _ACEOF
19365 done
19367 else
19369 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
19370 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
19371 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
19372 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
19373 echo $ECHO_N "(cached) $ECHO_C" >&6
19374 else
19378 ac_ext=cc
19379 ac_cpp='$CXXCPP $CPPFLAGS'
19380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19384 cat >conftest.$ac_ext <<_ACEOF
19385 /* confdefs.h. */
19386 _ACEOF
19387 cat confdefs.h >>conftest.$ac_ext
19388 cat >>conftest.$ac_ext <<_ACEOF
19389 /* end confdefs.h. */
19390 #include <math.h>
19392 main ()
19394 _atan2l(0, 0);
19396 return 0;
19398 _ACEOF
19399 rm -f conftest.$ac_objext
19400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19401 (eval $ac_compile) 2>conftest.er1
19402 ac_status=$?
19403 grep -v '^ *+' conftest.er1 >conftest.err
19404 rm -f conftest.er1
19405 cat conftest.err >&5
19406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19407 (exit $ac_status); } &&
19408 { ac_try='test -z "$ac_cxx_werror_flag"
19409 || test ! -s conftest.err'
19410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19411 (eval $ac_try) 2>&5
19412 ac_status=$?
19413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19414 (exit $ac_status); }; } &&
19415 { ac_try='test -s conftest.$ac_objext'
19416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19417 (eval $ac_try) 2>&5
19418 ac_status=$?
19419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19420 (exit $ac_status); }; }; then
19421 glibcxx_cv_func__atan2l_use=yes
19422 else
19423 echo "$as_me: failed program was:" >&5
19424 sed 's/^/| /' conftest.$ac_ext >&5
19426 glibcxx_cv_func__atan2l_use=no
19428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19429 ac_ext=c
19430 ac_cpp='$CPP $CPPFLAGS'
19431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19439 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
19440 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
19442 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
19444 for ac_func in _atan2l
19446 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19447 echo "$as_me:$LINENO: checking for $ac_func" >&5
19448 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19449 if eval "test \"\${$as_ac_var+set}\" = set"; then
19450 echo $ECHO_N "(cached) $ECHO_C" >&6
19451 else
19452 if test x$gcc_no_link = xyes; then
19453 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19454 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19455 { (exit 1); exit 1; }; }
19457 cat >conftest.$ac_ext <<_ACEOF
19458 /* confdefs.h. */
19459 _ACEOF
19460 cat confdefs.h >>conftest.$ac_ext
19461 cat >>conftest.$ac_ext <<_ACEOF
19462 /* end confdefs.h. */
19463 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19464 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19465 #define $ac_func innocuous_$ac_func
19467 /* System header to define __stub macros and hopefully few prototypes,
19468 which can conflict with char $ac_func (); below.
19469 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19470 <limits.h> exists even on freestanding compilers. */
19472 #ifdef __STDC__
19473 # include <limits.h>
19474 #else
19475 # include <assert.h>
19476 #endif
19478 #undef $ac_func
19480 /* Override any gcc2 internal prototype to avoid an error. */
19481 #ifdef __cplusplus
19482 extern "C"
19484 #endif
19485 /* We use char because int might match the return type of a gcc2
19486 builtin and then its argument prototype would still apply. */
19487 char $ac_func ();
19488 /* The GNU C library defines this for functions which it implements
19489 to always fail with ENOSYS. Some functions are actually named
19490 something starting with __ and the normal name is an alias. */
19491 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19492 choke me
19493 #else
19494 char (*f) () = $ac_func;
19495 #endif
19496 #ifdef __cplusplus
19498 #endif
19501 main ()
19503 return f != $ac_func;
19505 return 0;
19507 _ACEOF
19508 rm -f conftest.$ac_objext conftest$ac_exeext
19509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19510 (eval $ac_link) 2>conftest.er1
19511 ac_status=$?
19512 grep -v '^ *+' conftest.er1 >conftest.err
19513 rm -f conftest.er1
19514 cat conftest.err >&5
19515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19516 (exit $ac_status); } &&
19517 { ac_try='test -z "$ac_c_werror_flag"
19518 || test ! -s conftest.err'
19519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19520 (eval $ac_try) 2>&5
19521 ac_status=$?
19522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19523 (exit $ac_status); }; } &&
19524 { ac_try='test -s conftest$ac_exeext'
19525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19526 (eval $ac_try) 2>&5
19527 ac_status=$?
19528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19529 (exit $ac_status); }; }; then
19530 eval "$as_ac_var=yes"
19531 else
19532 echo "$as_me: failed program was:" >&5
19533 sed 's/^/| /' conftest.$ac_ext >&5
19535 eval "$as_ac_var=no"
19537 rm -f conftest.err conftest.$ac_objext \
19538 conftest$ac_exeext conftest.$ac_ext
19540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19541 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19542 if test `eval echo '${'$as_ac_var'}'` = yes; then
19543 cat >>confdefs.h <<_ACEOF
19544 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19545 _ACEOF
19548 done
19555 echo "$as_me:$LINENO: checking for expl declaration" >&5
19556 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
19557 if test x${glibcxx_cv_func_expl_use+set} != xset; then
19558 if test "${glibcxx_cv_func_expl_use+set}" = set; then
19559 echo $ECHO_N "(cached) $ECHO_C" >&6
19560 else
19564 ac_ext=cc
19565 ac_cpp='$CXXCPP $CPPFLAGS'
19566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19570 cat >conftest.$ac_ext <<_ACEOF
19571 /* confdefs.h. */
19572 _ACEOF
19573 cat confdefs.h >>conftest.$ac_ext
19574 cat >>conftest.$ac_ext <<_ACEOF
19575 /* end confdefs.h. */
19576 #include <math.h>
19577 #ifdef HAVE_IEEEFP_H
19578 #include <ieeefp.h>
19579 #endif
19582 main ()
19584 expl(0);
19586 return 0;
19588 _ACEOF
19589 rm -f conftest.$ac_objext
19590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19591 (eval $ac_compile) 2>conftest.er1
19592 ac_status=$?
19593 grep -v '^ *+' conftest.er1 >conftest.err
19594 rm -f conftest.er1
19595 cat conftest.err >&5
19596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19597 (exit $ac_status); } &&
19598 { ac_try='test -z "$ac_cxx_werror_flag"
19599 || test ! -s conftest.err'
19600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19601 (eval $ac_try) 2>&5
19602 ac_status=$?
19603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19604 (exit $ac_status); }; } &&
19605 { ac_try='test -s conftest.$ac_objext'
19606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19607 (eval $ac_try) 2>&5
19608 ac_status=$?
19609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19610 (exit $ac_status); }; }; then
19611 glibcxx_cv_func_expl_use=yes
19612 else
19613 echo "$as_me: failed program was:" >&5
19614 sed 's/^/| /' conftest.$ac_ext >&5
19616 glibcxx_cv_func_expl_use=no
19618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19619 ac_ext=c
19620 ac_cpp='$CPP $CPPFLAGS'
19621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19629 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
19630 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
19632 if test x$glibcxx_cv_func_expl_use = x"yes"; then
19634 for ac_func in expl
19636 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19637 echo "$as_me:$LINENO: checking for $ac_func" >&5
19638 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19639 if eval "test \"\${$as_ac_var+set}\" = set"; then
19640 echo $ECHO_N "(cached) $ECHO_C" >&6
19641 else
19642 if test x$gcc_no_link = xyes; then
19643 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19644 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19645 { (exit 1); exit 1; }; }
19647 cat >conftest.$ac_ext <<_ACEOF
19648 /* confdefs.h. */
19649 _ACEOF
19650 cat confdefs.h >>conftest.$ac_ext
19651 cat >>conftest.$ac_ext <<_ACEOF
19652 /* end confdefs.h. */
19653 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19654 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19655 #define $ac_func innocuous_$ac_func
19657 /* System header to define __stub macros and hopefully few prototypes,
19658 which can conflict with char $ac_func (); below.
19659 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19660 <limits.h> exists even on freestanding compilers. */
19662 #ifdef __STDC__
19663 # include <limits.h>
19664 #else
19665 # include <assert.h>
19666 #endif
19668 #undef $ac_func
19670 /* Override any gcc2 internal prototype to avoid an error. */
19671 #ifdef __cplusplus
19672 extern "C"
19674 #endif
19675 /* We use char because int might match the return type of a gcc2
19676 builtin and then its argument prototype would still apply. */
19677 char $ac_func ();
19678 /* The GNU C library defines this for functions which it implements
19679 to always fail with ENOSYS. Some functions are actually named
19680 something starting with __ and the normal name is an alias. */
19681 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19682 choke me
19683 #else
19684 char (*f) () = $ac_func;
19685 #endif
19686 #ifdef __cplusplus
19688 #endif
19691 main ()
19693 return f != $ac_func;
19695 return 0;
19697 _ACEOF
19698 rm -f conftest.$ac_objext conftest$ac_exeext
19699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19700 (eval $ac_link) 2>conftest.er1
19701 ac_status=$?
19702 grep -v '^ *+' conftest.er1 >conftest.err
19703 rm -f conftest.er1
19704 cat conftest.err >&5
19705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19706 (exit $ac_status); } &&
19707 { ac_try='test -z "$ac_c_werror_flag"
19708 || test ! -s conftest.err'
19709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19710 (eval $ac_try) 2>&5
19711 ac_status=$?
19712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19713 (exit $ac_status); }; } &&
19714 { ac_try='test -s conftest$ac_exeext'
19715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19716 (eval $ac_try) 2>&5
19717 ac_status=$?
19718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19719 (exit $ac_status); }; }; then
19720 eval "$as_ac_var=yes"
19721 else
19722 echo "$as_me: failed program was:" >&5
19723 sed 's/^/| /' conftest.$ac_ext >&5
19725 eval "$as_ac_var=no"
19727 rm -f conftest.err conftest.$ac_objext \
19728 conftest$ac_exeext conftest.$ac_ext
19730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19731 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19732 if test `eval echo '${'$as_ac_var'}'` = yes; then
19733 cat >>confdefs.h <<_ACEOF
19734 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19735 _ACEOF
19738 done
19740 else
19742 echo "$as_me:$LINENO: checking for _expl declaration" >&5
19743 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
19744 if test x${glibcxx_cv_func__expl_use+set} != xset; then
19745 if test "${glibcxx_cv_func__expl_use+set}" = set; then
19746 echo $ECHO_N "(cached) $ECHO_C" >&6
19747 else
19751 ac_ext=cc
19752 ac_cpp='$CXXCPP $CPPFLAGS'
19753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19757 cat >conftest.$ac_ext <<_ACEOF
19758 /* confdefs.h. */
19759 _ACEOF
19760 cat confdefs.h >>conftest.$ac_ext
19761 cat >>conftest.$ac_ext <<_ACEOF
19762 /* end confdefs.h. */
19763 #include <math.h>
19764 #ifdef HAVE_IEEEFP_H
19765 #include <ieeefp.h>
19766 #endif
19769 main ()
19771 _expl(0);
19773 return 0;
19775 _ACEOF
19776 rm -f conftest.$ac_objext
19777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19778 (eval $ac_compile) 2>conftest.er1
19779 ac_status=$?
19780 grep -v '^ *+' conftest.er1 >conftest.err
19781 rm -f conftest.er1
19782 cat conftest.err >&5
19783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19784 (exit $ac_status); } &&
19785 { ac_try='test -z "$ac_cxx_werror_flag"
19786 || test ! -s conftest.err'
19787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19788 (eval $ac_try) 2>&5
19789 ac_status=$?
19790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19791 (exit $ac_status); }; } &&
19792 { ac_try='test -s conftest.$ac_objext'
19793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19794 (eval $ac_try) 2>&5
19795 ac_status=$?
19796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19797 (exit $ac_status); }; }; then
19798 glibcxx_cv_func__expl_use=yes
19799 else
19800 echo "$as_me: failed program was:" >&5
19801 sed 's/^/| /' conftest.$ac_ext >&5
19803 glibcxx_cv_func__expl_use=no
19805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19806 ac_ext=c
19807 ac_cpp='$CPP $CPPFLAGS'
19808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19816 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
19817 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
19819 if test x$glibcxx_cv_func__expl_use = x"yes"; then
19821 for ac_func in _expl
19823 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19824 echo "$as_me:$LINENO: checking for $ac_func" >&5
19825 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19826 if eval "test \"\${$as_ac_var+set}\" = set"; then
19827 echo $ECHO_N "(cached) $ECHO_C" >&6
19828 else
19829 if test x$gcc_no_link = xyes; then
19830 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19831 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19832 { (exit 1); exit 1; }; }
19834 cat >conftest.$ac_ext <<_ACEOF
19835 /* confdefs.h. */
19836 _ACEOF
19837 cat confdefs.h >>conftest.$ac_ext
19838 cat >>conftest.$ac_ext <<_ACEOF
19839 /* end confdefs.h. */
19840 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19841 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19842 #define $ac_func innocuous_$ac_func
19844 /* System header to define __stub macros and hopefully few prototypes,
19845 which can conflict with char $ac_func (); below.
19846 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19847 <limits.h> exists even on freestanding compilers. */
19849 #ifdef __STDC__
19850 # include <limits.h>
19851 #else
19852 # include <assert.h>
19853 #endif
19855 #undef $ac_func
19857 /* Override any gcc2 internal prototype to avoid an error. */
19858 #ifdef __cplusplus
19859 extern "C"
19861 #endif
19862 /* We use char because int might match the return type of a gcc2
19863 builtin and then its argument prototype would still apply. */
19864 char $ac_func ();
19865 /* The GNU C library defines this for functions which it implements
19866 to always fail with ENOSYS. Some functions are actually named
19867 something starting with __ and the normal name is an alias. */
19868 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19869 choke me
19870 #else
19871 char (*f) () = $ac_func;
19872 #endif
19873 #ifdef __cplusplus
19875 #endif
19878 main ()
19880 return f != $ac_func;
19882 return 0;
19884 _ACEOF
19885 rm -f conftest.$ac_objext conftest$ac_exeext
19886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19887 (eval $ac_link) 2>conftest.er1
19888 ac_status=$?
19889 grep -v '^ *+' conftest.er1 >conftest.err
19890 rm -f conftest.er1
19891 cat conftest.err >&5
19892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19893 (exit $ac_status); } &&
19894 { ac_try='test -z "$ac_c_werror_flag"
19895 || test ! -s conftest.err'
19896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19897 (eval $ac_try) 2>&5
19898 ac_status=$?
19899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19900 (exit $ac_status); }; } &&
19901 { ac_try='test -s conftest$ac_exeext'
19902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19903 (eval $ac_try) 2>&5
19904 ac_status=$?
19905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19906 (exit $ac_status); }; }; then
19907 eval "$as_ac_var=yes"
19908 else
19909 echo "$as_me: failed program was:" >&5
19910 sed 's/^/| /' conftest.$ac_ext >&5
19912 eval "$as_ac_var=no"
19914 rm -f conftest.err conftest.$ac_objext \
19915 conftest$ac_exeext conftest.$ac_ext
19917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19918 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19919 if test `eval echo '${'$as_ac_var'}'` = yes; then
19920 cat >>confdefs.h <<_ACEOF
19921 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19922 _ACEOF
19925 done
19932 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
19933 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
19934 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
19935 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
19936 echo $ECHO_N "(cached) $ECHO_C" >&6
19937 else
19941 ac_ext=cc
19942 ac_cpp='$CXXCPP $CPPFLAGS'
19943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19947 cat >conftest.$ac_ext <<_ACEOF
19948 /* confdefs.h. */
19949 _ACEOF
19950 cat confdefs.h >>conftest.$ac_ext
19951 cat >>conftest.$ac_ext <<_ACEOF
19952 /* end confdefs.h. */
19953 #include <math.h>
19954 #ifdef HAVE_IEEEFP_H
19955 #include <ieeefp.h>
19956 #endif
19959 main ()
19961 fabsl(0);
19963 return 0;
19965 _ACEOF
19966 rm -f conftest.$ac_objext
19967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19968 (eval $ac_compile) 2>conftest.er1
19969 ac_status=$?
19970 grep -v '^ *+' conftest.er1 >conftest.err
19971 rm -f conftest.er1
19972 cat conftest.err >&5
19973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19974 (exit $ac_status); } &&
19975 { ac_try='test -z "$ac_cxx_werror_flag"
19976 || test ! -s conftest.err'
19977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19978 (eval $ac_try) 2>&5
19979 ac_status=$?
19980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19981 (exit $ac_status); }; } &&
19982 { ac_try='test -s conftest.$ac_objext'
19983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19984 (eval $ac_try) 2>&5
19985 ac_status=$?
19986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19987 (exit $ac_status); }; }; then
19988 glibcxx_cv_func_fabsl_use=yes
19989 else
19990 echo "$as_me: failed program was:" >&5
19991 sed 's/^/| /' conftest.$ac_ext >&5
19993 glibcxx_cv_func_fabsl_use=no
19995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19996 ac_ext=c
19997 ac_cpp='$CPP $CPPFLAGS'
19998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20006 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
20007 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
20009 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
20011 for ac_func in fabsl
20013 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20014 echo "$as_me:$LINENO: checking for $ac_func" >&5
20015 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20016 if eval "test \"\${$as_ac_var+set}\" = set"; then
20017 echo $ECHO_N "(cached) $ECHO_C" >&6
20018 else
20019 if test x$gcc_no_link = xyes; then
20020 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20021 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20022 { (exit 1); exit 1; }; }
20024 cat >conftest.$ac_ext <<_ACEOF
20025 /* confdefs.h. */
20026 _ACEOF
20027 cat confdefs.h >>conftest.$ac_ext
20028 cat >>conftest.$ac_ext <<_ACEOF
20029 /* end confdefs.h. */
20030 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20031 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20032 #define $ac_func innocuous_$ac_func
20034 /* System header to define __stub macros and hopefully few prototypes,
20035 which can conflict with char $ac_func (); below.
20036 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20037 <limits.h> exists even on freestanding compilers. */
20039 #ifdef __STDC__
20040 # include <limits.h>
20041 #else
20042 # include <assert.h>
20043 #endif
20045 #undef $ac_func
20047 /* Override any gcc2 internal prototype to avoid an error. */
20048 #ifdef __cplusplus
20049 extern "C"
20051 #endif
20052 /* We use char because int might match the return type of a gcc2
20053 builtin and then its argument prototype would still apply. */
20054 char $ac_func ();
20055 /* The GNU C library defines this for functions which it implements
20056 to always fail with ENOSYS. Some functions are actually named
20057 something starting with __ and the normal name is an alias. */
20058 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20059 choke me
20060 #else
20061 char (*f) () = $ac_func;
20062 #endif
20063 #ifdef __cplusplus
20065 #endif
20068 main ()
20070 return f != $ac_func;
20072 return 0;
20074 _ACEOF
20075 rm -f conftest.$ac_objext conftest$ac_exeext
20076 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20077 (eval $ac_link) 2>conftest.er1
20078 ac_status=$?
20079 grep -v '^ *+' conftest.er1 >conftest.err
20080 rm -f conftest.er1
20081 cat conftest.err >&5
20082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20083 (exit $ac_status); } &&
20084 { ac_try='test -z "$ac_c_werror_flag"
20085 || test ! -s conftest.err'
20086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20087 (eval $ac_try) 2>&5
20088 ac_status=$?
20089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20090 (exit $ac_status); }; } &&
20091 { ac_try='test -s conftest$ac_exeext'
20092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20093 (eval $ac_try) 2>&5
20094 ac_status=$?
20095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20096 (exit $ac_status); }; }; then
20097 eval "$as_ac_var=yes"
20098 else
20099 echo "$as_me: failed program was:" >&5
20100 sed 's/^/| /' conftest.$ac_ext >&5
20102 eval "$as_ac_var=no"
20104 rm -f conftest.err conftest.$ac_objext \
20105 conftest$ac_exeext conftest.$ac_ext
20107 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20108 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20109 if test `eval echo '${'$as_ac_var'}'` = yes; then
20110 cat >>confdefs.h <<_ACEOF
20111 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20112 _ACEOF
20115 done
20117 else
20119 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
20120 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
20121 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
20122 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
20123 echo $ECHO_N "(cached) $ECHO_C" >&6
20124 else
20128 ac_ext=cc
20129 ac_cpp='$CXXCPP $CPPFLAGS'
20130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20134 cat >conftest.$ac_ext <<_ACEOF
20135 /* confdefs.h. */
20136 _ACEOF
20137 cat confdefs.h >>conftest.$ac_ext
20138 cat >>conftest.$ac_ext <<_ACEOF
20139 /* end confdefs.h. */
20140 #include <math.h>
20141 #ifdef HAVE_IEEEFP_H
20142 #include <ieeefp.h>
20143 #endif
20146 main ()
20148 _fabsl(0);
20150 return 0;
20152 _ACEOF
20153 rm -f conftest.$ac_objext
20154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20155 (eval $ac_compile) 2>conftest.er1
20156 ac_status=$?
20157 grep -v '^ *+' conftest.er1 >conftest.err
20158 rm -f conftest.er1
20159 cat conftest.err >&5
20160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20161 (exit $ac_status); } &&
20162 { ac_try='test -z "$ac_cxx_werror_flag"
20163 || test ! -s conftest.err'
20164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20165 (eval $ac_try) 2>&5
20166 ac_status=$?
20167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20168 (exit $ac_status); }; } &&
20169 { ac_try='test -s conftest.$ac_objext'
20170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20171 (eval $ac_try) 2>&5
20172 ac_status=$?
20173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20174 (exit $ac_status); }; }; then
20175 glibcxx_cv_func__fabsl_use=yes
20176 else
20177 echo "$as_me: failed program was:" >&5
20178 sed 's/^/| /' conftest.$ac_ext >&5
20180 glibcxx_cv_func__fabsl_use=no
20182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20183 ac_ext=c
20184 ac_cpp='$CPP $CPPFLAGS'
20185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20193 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
20194 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
20196 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
20198 for ac_func in _fabsl
20200 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20201 echo "$as_me:$LINENO: checking for $ac_func" >&5
20202 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20203 if eval "test \"\${$as_ac_var+set}\" = set"; then
20204 echo $ECHO_N "(cached) $ECHO_C" >&6
20205 else
20206 if test x$gcc_no_link = xyes; then
20207 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20208 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20209 { (exit 1); exit 1; }; }
20211 cat >conftest.$ac_ext <<_ACEOF
20212 /* confdefs.h. */
20213 _ACEOF
20214 cat confdefs.h >>conftest.$ac_ext
20215 cat >>conftest.$ac_ext <<_ACEOF
20216 /* end confdefs.h. */
20217 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20218 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20219 #define $ac_func innocuous_$ac_func
20221 /* System header to define __stub macros and hopefully few prototypes,
20222 which can conflict with char $ac_func (); below.
20223 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20224 <limits.h> exists even on freestanding compilers. */
20226 #ifdef __STDC__
20227 # include <limits.h>
20228 #else
20229 # include <assert.h>
20230 #endif
20232 #undef $ac_func
20234 /* Override any gcc2 internal prototype to avoid an error. */
20235 #ifdef __cplusplus
20236 extern "C"
20238 #endif
20239 /* We use char because int might match the return type of a gcc2
20240 builtin and then its argument prototype would still apply. */
20241 char $ac_func ();
20242 /* The GNU C library defines this for functions which it implements
20243 to always fail with ENOSYS. Some functions are actually named
20244 something starting with __ and the normal name is an alias. */
20245 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20246 choke me
20247 #else
20248 char (*f) () = $ac_func;
20249 #endif
20250 #ifdef __cplusplus
20252 #endif
20255 main ()
20257 return f != $ac_func;
20259 return 0;
20261 _ACEOF
20262 rm -f conftest.$ac_objext conftest$ac_exeext
20263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20264 (eval $ac_link) 2>conftest.er1
20265 ac_status=$?
20266 grep -v '^ *+' conftest.er1 >conftest.err
20267 rm -f conftest.er1
20268 cat conftest.err >&5
20269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20270 (exit $ac_status); } &&
20271 { ac_try='test -z "$ac_c_werror_flag"
20272 || test ! -s conftest.err'
20273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20274 (eval $ac_try) 2>&5
20275 ac_status=$?
20276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20277 (exit $ac_status); }; } &&
20278 { ac_try='test -s conftest$ac_exeext'
20279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20280 (eval $ac_try) 2>&5
20281 ac_status=$?
20282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20283 (exit $ac_status); }; }; then
20284 eval "$as_ac_var=yes"
20285 else
20286 echo "$as_me: failed program was:" >&5
20287 sed 's/^/| /' conftest.$ac_ext >&5
20289 eval "$as_ac_var=no"
20291 rm -f conftest.err conftest.$ac_objext \
20292 conftest$ac_exeext conftest.$ac_ext
20294 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20295 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20296 if test `eval echo '${'$as_ac_var'}'` = yes; then
20297 cat >>confdefs.h <<_ACEOF
20298 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20299 _ACEOF
20302 done
20309 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
20310 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
20311 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
20312 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
20313 echo $ECHO_N "(cached) $ECHO_C" >&6
20314 else
20318 ac_ext=cc
20319 ac_cpp='$CXXCPP $CPPFLAGS'
20320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20324 cat >conftest.$ac_ext <<_ACEOF
20325 /* confdefs.h. */
20326 _ACEOF
20327 cat confdefs.h >>conftest.$ac_ext
20328 cat >>conftest.$ac_ext <<_ACEOF
20329 /* end confdefs.h. */
20330 #include <math.h>
20332 main ()
20334 fmodl(0, 0);
20336 return 0;
20338 _ACEOF
20339 rm -f conftest.$ac_objext
20340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20341 (eval $ac_compile) 2>conftest.er1
20342 ac_status=$?
20343 grep -v '^ *+' conftest.er1 >conftest.err
20344 rm -f conftest.er1
20345 cat conftest.err >&5
20346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20347 (exit $ac_status); } &&
20348 { ac_try='test -z "$ac_cxx_werror_flag"
20349 || test ! -s conftest.err'
20350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20351 (eval $ac_try) 2>&5
20352 ac_status=$?
20353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20354 (exit $ac_status); }; } &&
20355 { ac_try='test -s conftest.$ac_objext'
20356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20357 (eval $ac_try) 2>&5
20358 ac_status=$?
20359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20360 (exit $ac_status); }; }; then
20361 glibcxx_cv_func_fmodl_use=yes
20362 else
20363 echo "$as_me: failed program was:" >&5
20364 sed 's/^/| /' conftest.$ac_ext >&5
20366 glibcxx_cv_func_fmodl_use=no
20368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20369 ac_ext=c
20370 ac_cpp='$CPP $CPPFLAGS'
20371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20379 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
20380 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
20382 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
20384 for ac_func in fmodl
20386 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20387 echo "$as_me:$LINENO: checking for $ac_func" >&5
20388 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20389 if eval "test \"\${$as_ac_var+set}\" = set"; then
20390 echo $ECHO_N "(cached) $ECHO_C" >&6
20391 else
20392 if test x$gcc_no_link = xyes; then
20393 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20394 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20395 { (exit 1); exit 1; }; }
20397 cat >conftest.$ac_ext <<_ACEOF
20398 /* confdefs.h. */
20399 _ACEOF
20400 cat confdefs.h >>conftest.$ac_ext
20401 cat >>conftest.$ac_ext <<_ACEOF
20402 /* end confdefs.h. */
20403 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20404 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20405 #define $ac_func innocuous_$ac_func
20407 /* System header to define __stub macros and hopefully few prototypes,
20408 which can conflict with char $ac_func (); below.
20409 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20410 <limits.h> exists even on freestanding compilers. */
20412 #ifdef __STDC__
20413 # include <limits.h>
20414 #else
20415 # include <assert.h>
20416 #endif
20418 #undef $ac_func
20420 /* Override any gcc2 internal prototype to avoid an error. */
20421 #ifdef __cplusplus
20422 extern "C"
20424 #endif
20425 /* We use char because int might match the return type of a gcc2
20426 builtin and then its argument prototype would still apply. */
20427 char $ac_func ();
20428 /* The GNU C library defines this for functions which it implements
20429 to always fail with ENOSYS. Some functions are actually named
20430 something starting with __ and the normal name is an alias. */
20431 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20432 choke me
20433 #else
20434 char (*f) () = $ac_func;
20435 #endif
20436 #ifdef __cplusplus
20438 #endif
20441 main ()
20443 return f != $ac_func;
20445 return 0;
20447 _ACEOF
20448 rm -f conftest.$ac_objext conftest$ac_exeext
20449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20450 (eval $ac_link) 2>conftest.er1
20451 ac_status=$?
20452 grep -v '^ *+' conftest.er1 >conftest.err
20453 rm -f conftest.er1
20454 cat conftest.err >&5
20455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20456 (exit $ac_status); } &&
20457 { ac_try='test -z "$ac_c_werror_flag"
20458 || test ! -s conftest.err'
20459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20460 (eval $ac_try) 2>&5
20461 ac_status=$?
20462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20463 (exit $ac_status); }; } &&
20464 { ac_try='test -s conftest$ac_exeext'
20465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20466 (eval $ac_try) 2>&5
20467 ac_status=$?
20468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20469 (exit $ac_status); }; }; then
20470 eval "$as_ac_var=yes"
20471 else
20472 echo "$as_me: failed program was:" >&5
20473 sed 's/^/| /' conftest.$ac_ext >&5
20475 eval "$as_ac_var=no"
20477 rm -f conftest.err conftest.$ac_objext \
20478 conftest$ac_exeext conftest.$ac_ext
20480 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20481 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20482 if test `eval echo '${'$as_ac_var'}'` = yes; then
20483 cat >>confdefs.h <<_ACEOF
20484 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20485 _ACEOF
20488 done
20490 else
20492 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
20493 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
20494 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
20495 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
20496 echo $ECHO_N "(cached) $ECHO_C" >&6
20497 else
20501 ac_ext=cc
20502 ac_cpp='$CXXCPP $CPPFLAGS'
20503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20507 cat >conftest.$ac_ext <<_ACEOF
20508 /* confdefs.h. */
20509 _ACEOF
20510 cat confdefs.h >>conftest.$ac_ext
20511 cat >>conftest.$ac_ext <<_ACEOF
20512 /* end confdefs.h. */
20513 #include <math.h>
20515 main ()
20517 _fmodl(0, 0);
20519 return 0;
20521 _ACEOF
20522 rm -f conftest.$ac_objext
20523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20524 (eval $ac_compile) 2>conftest.er1
20525 ac_status=$?
20526 grep -v '^ *+' conftest.er1 >conftest.err
20527 rm -f conftest.er1
20528 cat conftest.err >&5
20529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20530 (exit $ac_status); } &&
20531 { ac_try='test -z "$ac_cxx_werror_flag"
20532 || test ! -s conftest.err'
20533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20534 (eval $ac_try) 2>&5
20535 ac_status=$?
20536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20537 (exit $ac_status); }; } &&
20538 { ac_try='test -s conftest.$ac_objext'
20539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20540 (eval $ac_try) 2>&5
20541 ac_status=$?
20542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20543 (exit $ac_status); }; }; then
20544 glibcxx_cv_func__fmodl_use=yes
20545 else
20546 echo "$as_me: failed program was:" >&5
20547 sed 's/^/| /' conftest.$ac_ext >&5
20549 glibcxx_cv_func__fmodl_use=no
20551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20552 ac_ext=c
20553 ac_cpp='$CPP $CPPFLAGS'
20554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20562 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
20563 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
20565 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
20567 for ac_func in _fmodl
20569 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20570 echo "$as_me:$LINENO: checking for $ac_func" >&5
20571 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20572 if eval "test \"\${$as_ac_var+set}\" = set"; then
20573 echo $ECHO_N "(cached) $ECHO_C" >&6
20574 else
20575 if test x$gcc_no_link = xyes; then
20576 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20577 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20578 { (exit 1); exit 1; }; }
20580 cat >conftest.$ac_ext <<_ACEOF
20581 /* confdefs.h. */
20582 _ACEOF
20583 cat confdefs.h >>conftest.$ac_ext
20584 cat >>conftest.$ac_ext <<_ACEOF
20585 /* end confdefs.h. */
20586 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20587 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20588 #define $ac_func innocuous_$ac_func
20590 /* System header to define __stub macros and hopefully few prototypes,
20591 which can conflict with char $ac_func (); below.
20592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20593 <limits.h> exists even on freestanding compilers. */
20595 #ifdef __STDC__
20596 # include <limits.h>
20597 #else
20598 # include <assert.h>
20599 #endif
20601 #undef $ac_func
20603 /* Override any gcc2 internal prototype to avoid an error. */
20604 #ifdef __cplusplus
20605 extern "C"
20607 #endif
20608 /* We use char because int might match the return type of a gcc2
20609 builtin and then its argument prototype would still apply. */
20610 char $ac_func ();
20611 /* The GNU C library defines this for functions which it implements
20612 to always fail with ENOSYS. Some functions are actually named
20613 something starting with __ and the normal name is an alias. */
20614 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20615 choke me
20616 #else
20617 char (*f) () = $ac_func;
20618 #endif
20619 #ifdef __cplusplus
20621 #endif
20624 main ()
20626 return f != $ac_func;
20628 return 0;
20630 _ACEOF
20631 rm -f conftest.$ac_objext conftest$ac_exeext
20632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20633 (eval $ac_link) 2>conftest.er1
20634 ac_status=$?
20635 grep -v '^ *+' conftest.er1 >conftest.err
20636 rm -f conftest.er1
20637 cat conftest.err >&5
20638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20639 (exit $ac_status); } &&
20640 { ac_try='test -z "$ac_c_werror_flag"
20641 || test ! -s conftest.err'
20642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20643 (eval $ac_try) 2>&5
20644 ac_status=$?
20645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20646 (exit $ac_status); }; } &&
20647 { ac_try='test -s conftest$ac_exeext'
20648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20649 (eval $ac_try) 2>&5
20650 ac_status=$?
20651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20652 (exit $ac_status); }; }; then
20653 eval "$as_ac_var=yes"
20654 else
20655 echo "$as_me: failed program was:" >&5
20656 sed 's/^/| /' conftest.$ac_ext >&5
20658 eval "$as_ac_var=no"
20660 rm -f conftest.err conftest.$ac_objext \
20661 conftest$ac_exeext conftest.$ac_ext
20663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20664 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20665 if test `eval echo '${'$as_ac_var'}'` = yes; then
20666 cat >>confdefs.h <<_ACEOF
20667 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20668 _ACEOF
20671 done
20678 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
20679 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
20680 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
20681 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
20682 echo $ECHO_N "(cached) $ECHO_C" >&6
20683 else
20687 ac_ext=cc
20688 ac_cpp='$CXXCPP $CPPFLAGS'
20689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20693 cat >conftest.$ac_ext <<_ACEOF
20694 /* confdefs.h. */
20695 _ACEOF
20696 cat confdefs.h >>conftest.$ac_ext
20697 cat >>conftest.$ac_ext <<_ACEOF
20698 /* end confdefs.h. */
20699 #include <math.h>
20701 main ()
20703 frexpl(0, 0);
20705 return 0;
20707 _ACEOF
20708 rm -f conftest.$ac_objext
20709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20710 (eval $ac_compile) 2>conftest.er1
20711 ac_status=$?
20712 grep -v '^ *+' conftest.er1 >conftest.err
20713 rm -f conftest.er1
20714 cat conftest.err >&5
20715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20716 (exit $ac_status); } &&
20717 { ac_try='test -z "$ac_cxx_werror_flag"
20718 || test ! -s conftest.err'
20719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20720 (eval $ac_try) 2>&5
20721 ac_status=$?
20722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20723 (exit $ac_status); }; } &&
20724 { ac_try='test -s conftest.$ac_objext'
20725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20726 (eval $ac_try) 2>&5
20727 ac_status=$?
20728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20729 (exit $ac_status); }; }; then
20730 glibcxx_cv_func_frexpl_use=yes
20731 else
20732 echo "$as_me: failed program was:" >&5
20733 sed 's/^/| /' conftest.$ac_ext >&5
20735 glibcxx_cv_func_frexpl_use=no
20737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20738 ac_ext=c
20739 ac_cpp='$CPP $CPPFLAGS'
20740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20748 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
20749 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
20751 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
20753 for ac_func in frexpl
20755 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20756 echo "$as_me:$LINENO: checking for $ac_func" >&5
20757 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20758 if eval "test \"\${$as_ac_var+set}\" = set"; then
20759 echo $ECHO_N "(cached) $ECHO_C" >&6
20760 else
20761 if test x$gcc_no_link = xyes; then
20762 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20763 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20764 { (exit 1); exit 1; }; }
20766 cat >conftest.$ac_ext <<_ACEOF
20767 /* confdefs.h. */
20768 _ACEOF
20769 cat confdefs.h >>conftest.$ac_ext
20770 cat >>conftest.$ac_ext <<_ACEOF
20771 /* end confdefs.h. */
20772 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20773 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20774 #define $ac_func innocuous_$ac_func
20776 /* System header to define __stub macros and hopefully few prototypes,
20777 which can conflict with char $ac_func (); below.
20778 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20779 <limits.h> exists even on freestanding compilers. */
20781 #ifdef __STDC__
20782 # include <limits.h>
20783 #else
20784 # include <assert.h>
20785 #endif
20787 #undef $ac_func
20789 /* Override any gcc2 internal prototype to avoid an error. */
20790 #ifdef __cplusplus
20791 extern "C"
20793 #endif
20794 /* We use char because int might match the return type of a gcc2
20795 builtin and then its argument prototype would still apply. */
20796 char $ac_func ();
20797 /* The GNU C library defines this for functions which it implements
20798 to always fail with ENOSYS. Some functions are actually named
20799 something starting with __ and the normal name is an alias. */
20800 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20801 choke me
20802 #else
20803 char (*f) () = $ac_func;
20804 #endif
20805 #ifdef __cplusplus
20807 #endif
20810 main ()
20812 return f != $ac_func;
20814 return 0;
20816 _ACEOF
20817 rm -f conftest.$ac_objext conftest$ac_exeext
20818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20819 (eval $ac_link) 2>conftest.er1
20820 ac_status=$?
20821 grep -v '^ *+' conftest.er1 >conftest.err
20822 rm -f conftest.er1
20823 cat conftest.err >&5
20824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20825 (exit $ac_status); } &&
20826 { ac_try='test -z "$ac_c_werror_flag"
20827 || test ! -s conftest.err'
20828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20829 (eval $ac_try) 2>&5
20830 ac_status=$?
20831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20832 (exit $ac_status); }; } &&
20833 { ac_try='test -s conftest$ac_exeext'
20834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20835 (eval $ac_try) 2>&5
20836 ac_status=$?
20837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20838 (exit $ac_status); }; }; then
20839 eval "$as_ac_var=yes"
20840 else
20841 echo "$as_me: failed program was:" >&5
20842 sed 's/^/| /' conftest.$ac_ext >&5
20844 eval "$as_ac_var=no"
20846 rm -f conftest.err conftest.$ac_objext \
20847 conftest$ac_exeext conftest.$ac_ext
20849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20850 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20851 if test `eval echo '${'$as_ac_var'}'` = yes; then
20852 cat >>confdefs.h <<_ACEOF
20853 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20854 _ACEOF
20857 done
20859 else
20861 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
20862 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
20863 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
20864 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
20865 echo $ECHO_N "(cached) $ECHO_C" >&6
20866 else
20870 ac_ext=cc
20871 ac_cpp='$CXXCPP $CPPFLAGS'
20872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20876 cat >conftest.$ac_ext <<_ACEOF
20877 /* confdefs.h. */
20878 _ACEOF
20879 cat confdefs.h >>conftest.$ac_ext
20880 cat >>conftest.$ac_ext <<_ACEOF
20881 /* end confdefs.h. */
20882 #include <math.h>
20884 main ()
20886 _frexpl(0, 0);
20888 return 0;
20890 _ACEOF
20891 rm -f conftest.$ac_objext
20892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20893 (eval $ac_compile) 2>conftest.er1
20894 ac_status=$?
20895 grep -v '^ *+' conftest.er1 >conftest.err
20896 rm -f conftest.er1
20897 cat conftest.err >&5
20898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20899 (exit $ac_status); } &&
20900 { ac_try='test -z "$ac_cxx_werror_flag"
20901 || test ! -s conftest.err'
20902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20903 (eval $ac_try) 2>&5
20904 ac_status=$?
20905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20906 (exit $ac_status); }; } &&
20907 { ac_try='test -s conftest.$ac_objext'
20908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20909 (eval $ac_try) 2>&5
20910 ac_status=$?
20911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20912 (exit $ac_status); }; }; then
20913 glibcxx_cv_func__frexpl_use=yes
20914 else
20915 echo "$as_me: failed program was:" >&5
20916 sed 's/^/| /' conftest.$ac_ext >&5
20918 glibcxx_cv_func__frexpl_use=no
20920 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20921 ac_ext=c
20922 ac_cpp='$CPP $CPPFLAGS'
20923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20931 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
20932 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
20934 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
20936 for ac_func in _frexpl
20938 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20939 echo "$as_me:$LINENO: checking for $ac_func" >&5
20940 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20941 if eval "test \"\${$as_ac_var+set}\" = set"; then
20942 echo $ECHO_N "(cached) $ECHO_C" >&6
20943 else
20944 if test x$gcc_no_link = xyes; then
20945 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20946 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20947 { (exit 1); exit 1; }; }
20949 cat >conftest.$ac_ext <<_ACEOF
20950 /* confdefs.h. */
20951 _ACEOF
20952 cat confdefs.h >>conftest.$ac_ext
20953 cat >>conftest.$ac_ext <<_ACEOF
20954 /* end confdefs.h. */
20955 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20956 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20957 #define $ac_func innocuous_$ac_func
20959 /* System header to define __stub macros and hopefully few prototypes,
20960 which can conflict with char $ac_func (); below.
20961 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20962 <limits.h> exists even on freestanding compilers. */
20964 #ifdef __STDC__
20965 # include <limits.h>
20966 #else
20967 # include <assert.h>
20968 #endif
20970 #undef $ac_func
20972 /* Override any gcc2 internal prototype to avoid an error. */
20973 #ifdef __cplusplus
20974 extern "C"
20976 #endif
20977 /* We use char because int might match the return type of a gcc2
20978 builtin and then its argument prototype would still apply. */
20979 char $ac_func ();
20980 /* The GNU C library defines this for functions which it implements
20981 to always fail with ENOSYS. Some functions are actually named
20982 something starting with __ and the normal name is an alias. */
20983 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20984 choke me
20985 #else
20986 char (*f) () = $ac_func;
20987 #endif
20988 #ifdef __cplusplus
20990 #endif
20993 main ()
20995 return f != $ac_func;
20997 return 0;
20999 _ACEOF
21000 rm -f conftest.$ac_objext conftest$ac_exeext
21001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21002 (eval $ac_link) 2>conftest.er1
21003 ac_status=$?
21004 grep -v '^ *+' conftest.er1 >conftest.err
21005 rm -f conftest.er1
21006 cat conftest.err >&5
21007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21008 (exit $ac_status); } &&
21009 { ac_try='test -z "$ac_c_werror_flag"
21010 || test ! -s conftest.err'
21011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21012 (eval $ac_try) 2>&5
21013 ac_status=$?
21014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21015 (exit $ac_status); }; } &&
21016 { ac_try='test -s conftest$ac_exeext'
21017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21018 (eval $ac_try) 2>&5
21019 ac_status=$?
21020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21021 (exit $ac_status); }; }; then
21022 eval "$as_ac_var=yes"
21023 else
21024 echo "$as_me: failed program was:" >&5
21025 sed 's/^/| /' conftest.$ac_ext >&5
21027 eval "$as_ac_var=no"
21029 rm -f conftest.err conftest.$ac_objext \
21030 conftest$ac_exeext conftest.$ac_ext
21032 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21033 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21034 if test `eval echo '${'$as_ac_var'}'` = yes; then
21035 cat >>confdefs.h <<_ACEOF
21036 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21037 _ACEOF
21040 done
21047 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
21048 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
21049 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
21050 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
21051 echo $ECHO_N "(cached) $ECHO_C" >&6
21052 else
21056 ac_ext=cc
21057 ac_cpp='$CXXCPP $CPPFLAGS'
21058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21062 cat >conftest.$ac_ext <<_ACEOF
21063 /* confdefs.h. */
21064 _ACEOF
21065 cat confdefs.h >>conftest.$ac_ext
21066 cat >>conftest.$ac_ext <<_ACEOF
21067 /* end confdefs.h. */
21068 #include <math.h>
21070 main ()
21072 hypotl(0, 0);
21074 return 0;
21076 _ACEOF
21077 rm -f conftest.$ac_objext
21078 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21079 (eval $ac_compile) 2>conftest.er1
21080 ac_status=$?
21081 grep -v '^ *+' conftest.er1 >conftest.err
21082 rm -f conftest.er1
21083 cat conftest.err >&5
21084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21085 (exit $ac_status); } &&
21086 { ac_try='test -z "$ac_cxx_werror_flag"
21087 || test ! -s conftest.err'
21088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21089 (eval $ac_try) 2>&5
21090 ac_status=$?
21091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21092 (exit $ac_status); }; } &&
21093 { ac_try='test -s conftest.$ac_objext'
21094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21095 (eval $ac_try) 2>&5
21096 ac_status=$?
21097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21098 (exit $ac_status); }; }; then
21099 glibcxx_cv_func_hypotl_use=yes
21100 else
21101 echo "$as_me: failed program was:" >&5
21102 sed 's/^/| /' conftest.$ac_ext >&5
21104 glibcxx_cv_func_hypotl_use=no
21106 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21107 ac_ext=c
21108 ac_cpp='$CPP $CPPFLAGS'
21109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21117 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
21118 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
21120 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
21122 for ac_func in hypotl
21124 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21125 echo "$as_me:$LINENO: checking for $ac_func" >&5
21126 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21127 if eval "test \"\${$as_ac_var+set}\" = set"; then
21128 echo $ECHO_N "(cached) $ECHO_C" >&6
21129 else
21130 if test x$gcc_no_link = xyes; then
21131 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21132 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21133 { (exit 1); exit 1; }; }
21135 cat >conftest.$ac_ext <<_ACEOF
21136 /* confdefs.h. */
21137 _ACEOF
21138 cat confdefs.h >>conftest.$ac_ext
21139 cat >>conftest.$ac_ext <<_ACEOF
21140 /* end confdefs.h. */
21141 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21142 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21143 #define $ac_func innocuous_$ac_func
21145 /* System header to define __stub macros and hopefully few prototypes,
21146 which can conflict with char $ac_func (); below.
21147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21148 <limits.h> exists even on freestanding compilers. */
21150 #ifdef __STDC__
21151 # include <limits.h>
21152 #else
21153 # include <assert.h>
21154 #endif
21156 #undef $ac_func
21158 /* Override any gcc2 internal prototype to avoid an error. */
21159 #ifdef __cplusplus
21160 extern "C"
21162 #endif
21163 /* We use char because int might match the return type of a gcc2
21164 builtin and then its argument prototype would still apply. */
21165 char $ac_func ();
21166 /* The GNU C library defines this for functions which it implements
21167 to always fail with ENOSYS. Some functions are actually named
21168 something starting with __ and the normal name is an alias. */
21169 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21170 choke me
21171 #else
21172 char (*f) () = $ac_func;
21173 #endif
21174 #ifdef __cplusplus
21176 #endif
21179 main ()
21181 return f != $ac_func;
21183 return 0;
21185 _ACEOF
21186 rm -f conftest.$ac_objext conftest$ac_exeext
21187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21188 (eval $ac_link) 2>conftest.er1
21189 ac_status=$?
21190 grep -v '^ *+' conftest.er1 >conftest.err
21191 rm -f conftest.er1
21192 cat conftest.err >&5
21193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21194 (exit $ac_status); } &&
21195 { ac_try='test -z "$ac_c_werror_flag"
21196 || test ! -s conftest.err'
21197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21198 (eval $ac_try) 2>&5
21199 ac_status=$?
21200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21201 (exit $ac_status); }; } &&
21202 { ac_try='test -s conftest$ac_exeext'
21203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21204 (eval $ac_try) 2>&5
21205 ac_status=$?
21206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21207 (exit $ac_status); }; }; then
21208 eval "$as_ac_var=yes"
21209 else
21210 echo "$as_me: failed program was:" >&5
21211 sed 's/^/| /' conftest.$ac_ext >&5
21213 eval "$as_ac_var=no"
21215 rm -f conftest.err conftest.$ac_objext \
21216 conftest$ac_exeext conftest.$ac_ext
21218 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21219 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21220 if test `eval echo '${'$as_ac_var'}'` = yes; then
21221 cat >>confdefs.h <<_ACEOF
21222 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21223 _ACEOF
21226 done
21228 else
21230 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
21231 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
21232 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
21233 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
21234 echo $ECHO_N "(cached) $ECHO_C" >&6
21235 else
21239 ac_ext=cc
21240 ac_cpp='$CXXCPP $CPPFLAGS'
21241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21245 cat >conftest.$ac_ext <<_ACEOF
21246 /* confdefs.h. */
21247 _ACEOF
21248 cat confdefs.h >>conftest.$ac_ext
21249 cat >>conftest.$ac_ext <<_ACEOF
21250 /* end confdefs.h. */
21251 #include <math.h>
21253 main ()
21255 _hypotl(0, 0);
21257 return 0;
21259 _ACEOF
21260 rm -f conftest.$ac_objext
21261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21262 (eval $ac_compile) 2>conftest.er1
21263 ac_status=$?
21264 grep -v '^ *+' conftest.er1 >conftest.err
21265 rm -f conftest.er1
21266 cat conftest.err >&5
21267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21268 (exit $ac_status); } &&
21269 { ac_try='test -z "$ac_cxx_werror_flag"
21270 || test ! -s conftest.err'
21271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21272 (eval $ac_try) 2>&5
21273 ac_status=$?
21274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21275 (exit $ac_status); }; } &&
21276 { ac_try='test -s conftest.$ac_objext'
21277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21278 (eval $ac_try) 2>&5
21279 ac_status=$?
21280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21281 (exit $ac_status); }; }; then
21282 glibcxx_cv_func__hypotl_use=yes
21283 else
21284 echo "$as_me: failed program was:" >&5
21285 sed 's/^/| /' conftest.$ac_ext >&5
21287 glibcxx_cv_func__hypotl_use=no
21289 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21290 ac_ext=c
21291 ac_cpp='$CPP $CPPFLAGS'
21292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21300 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
21301 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
21303 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
21305 for ac_func in _hypotl
21307 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21308 echo "$as_me:$LINENO: checking for $ac_func" >&5
21309 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21310 if eval "test \"\${$as_ac_var+set}\" = set"; then
21311 echo $ECHO_N "(cached) $ECHO_C" >&6
21312 else
21313 if test x$gcc_no_link = xyes; then
21314 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21315 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21316 { (exit 1); exit 1; }; }
21318 cat >conftest.$ac_ext <<_ACEOF
21319 /* confdefs.h. */
21320 _ACEOF
21321 cat confdefs.h >>conftest.$ac_ext
21322 cat >>conftest.$ac_ext <<_ACEOF
21323 /* end confdefs.h. */
21324 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21325 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21326 #define $ac_func innocuous_$ac_func
21328 /* System header to define __stub macros and hopefully few prototypes,
21329 which can conflict with char $ac_func (); below.
21330 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21331 <limits.h> exists even on freestanding compilers. */
21333 #ifdef __STDC__
21334 # include <limits.h>
21335 #else
21336 # include <assert.h>
21337 #endif
21339 #undef $ac_func
21341 /* Override any gcc2 internal prototype to avoid an error. */
21342 #ifdef __cplusplus
21343 extern "C"
21345 #endif
21346 /* We use char because int might match the return type of a gcc2
21347 builtin and then its argument prototype would still apply. */
21348 char $ac_func ();
21349 /* The GNU C library defines this for functions which it implements
21350 to always fail with ENOSYS. Some functions are actually named
21351 something starting with __ and the normal name is an alias. */
21352 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21353 choke me
21354 #else
21355 char (*f) () = $ac_func;
21356 #endif
21357 #ifdef __cplusplus
21359 #endif
21362 main ()
21364 return f != $ac_func;
21366 return 0;
21368 _ACEOF
21369 rm -f conftest.$ac_objext conftest$ac_exeext
21370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21371 (eval $ac_link) 2>conftest.er1
21372 ac_status=$?
21373 grep -v '^ *+' conftest.er1 >conftest.err
21374 rm -f conftest.er1
21375 cat conftest.err >&5
21376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21377 (exit $ac_status); } &&
21378 { ac_try='test -z "$ac_c_werror_flag"
21379 || test ! -s conftest.err'
21380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21381 (eval $ac_try) 2>&5
21382 ac_status=$?
21383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21384 (exit $ac_status); }; } &&
21385 { ac_try='test -s conftest$ac_exeext'
21386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21387 (eval $ac_try) 2>&5
21388 ac_status=$?
21389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21390 (exit $ac_status); }; }; then
21391 eval "$as_ac_var=yes"
21392 else
21393 echo "$as_me: failed program was:" >&5
21394 sed 's/^/| /' conftest.$ac_ext >&5
21396 eval "$as_ac_var=no"
21398 rm -f conftest.err conftest.$ac_objext \
21399 conftest$ac_exeext conftest.$ac_ext
21401 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21402 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21403 if test `eval echo '${'$as_ac_var'}'` = yes; then
21404 cat >>confdefs.h <<_ACEOF
21405 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21406 _ACEOF
21409 done
21416 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
21417 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
21418 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
21419 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
21420 echo $ECHO_N "(cached) $ECHO_C" >&6
21421 else
21425 ac_ext=cc
21426 ac_cpp='$CXXCPP $CPPFLAGS'
21427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21431 cat >conftest.$ac_ext <<_ACEOF
21432 /* confdefs.h. */
21433 _ACEOF
21434 cat confdefs.h >>conftest.$ac_ext
21435 cat >>conftest.$ac_ext <<_ACEOF
21436 /* end confdefs.h. */
21437 #include <math.h>
21439 main ()
21441 ldexpl(0, 0);
21443 return 0;
21445 _ACEOF
21446 rm -f conftest.$ac_objext
21447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21448 (eval $ac_compile) 2>conftest.er1
21449 ac_status=$?
21450 grep -v '^ *+' conftest.er1 >conftest.err
21451 rm -f conftest.er1
21452 cat conftest.err >&5
21453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21454 (exit $ac_status); } &&
21455 { ac_try='test -z "$ac_cxx_werror_flag"
21456 || test ! -s conftest.err'
21457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21458 (eval $ac_try) 2>&5
21459 ac_status=$?
21460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21461 (exit $ac_status); }; } &&
21462 { ac_try='test -s conftest.$ac_objext'
21463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21464 (eval $ac_try) 2>&5
21465 ac_status=$?
21466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21467 (exit $ac_status); }; }; then
21468 glibcxx_cv_func_ldexpl_use=yes
21469 else
21470 echo "$as_me: failed program was:" >&5
21471 sed 's/^/| /' conftest.$ac_ext >&5
21473 glibcxx_cv_func_ldexpl_use=no
21475 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21476 ac_ext=c
21477 ac_cpp='$CPP $CPPFLAGS'
21478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21486 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
21487 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
21489 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
21491 for ac_func in ldexpl
21493 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21494 echo "$as_me:$LINENO: checking for $ac_func" >&5
21495 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21496 if eval "test \"\${$as_ac_var+set}\" = set"; then
21497 echo $ECHO_N "(cached) $ECHO_C" >&6
21498 else
21499 if test x$gcc_no_link = xyes; then
21500 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21501 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21502 { (exit 1); exit 1; }; }
21504 cat >conftest.$ac_ext <<_ACEOF
21505 /* confdefs.h. */
21506 _ACEOF
21507 cat confdefs.h >>conftest.$ac_ext
21508 cat >>conftest.$ac_ext <<_ACEOF
21509 /* end confdefs.h. */
21510 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21511 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21512 #define $ac_func innocuous_$ac_func
21514 /* System header to define __stub macros and hopefully few prototypes,
21515 which can conflict with char $ac_func (); below.
21516 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21517 <limits.h> exists even on freestanding compilers. */
21519 #ifdef __STDC__
21520 # include <limits.h>
21521 #else
21522 # include <assert.h>
21523 #endif
21525 #undef $ac_func
21527 /* Override any gcc2 internal prototype to avoid an error. */
21528 #ifdef __cplusplus
21529 extern "C"
21531 #endif
21532 /* We use char because int might match the return type of a gcc2
21533 builtin and then its argument prototype would still apply. */
21534 char $ac_func ();
21535 /* The GNU C library defines this for functions which it implements
21536 to always fail with ENOSYS. Some functions are actually named
21537 something starting with __ and the normal name is an alias. */
21538 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21539 choke me
21540 #else
21541 char (*f) () = $ac_func;
21542 #endif
21543 #ifdef __cplusplus
21545 #endif
21548 main ()
21550 return f != $ac_func;
21552 return 0;
21554 _ACEOF
21555 rm -f conftest.$ac_objext conftest$ac_exeext
21556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21557 (eval $ac_link) 2>conftest.er1
21558 ac_status=$?
21559 grep -v '^ *+' conftest.er1 >conftest.err
21560 rm -f conftest.er1
21561 cat conftest.err >&5
21562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21563 (exit $ac_status); } &&
21564 { ac_try='test -z "$ac_c_werror_flag"
21565 || test ! -s conftest.err'
21566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21567 (eval $ac_try) 2>&5
21568 ac_status=$?
21569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21570 (exit $ac_status); }; } &&
21571 { ac_try='test -s conftest$ac_exeext'
21572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21573 (eval $ac_try) 2>&5
21574 ac_status=$?
21575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21576 (exit $ac_status); }; }; then
21577 eval "$as_ac_var=yes"
21578 else
21579 echo "$as_me: failed program was:" >&5
21580 sed 's/^/| /' conftest.$ac_ext >&5
21582 eval "$as_ac_var=no"
21584 rm -f conftest.err conftest.$ac_objext \
21585 conftest$ac_exeext conftest.$ac_ext
21587 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21588 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21589 if test `eval echo '${'$as_ac_var'}'` = yes; then
21590 cat >>confdefs.h <<_ACEOF
21591 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21592 _ACEOF
21595 done
21597 else
21599 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
21600 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
21601 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
21602 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
21603 echo $ECHO_N "(cached) $ECHO_C" >&6
21604 else
21608 ac_ext=cc
21609 ac_cpp='$CXXCPP $CPPFLAGS'
21610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21614 cat >conftest.$ac_ext <<_ACEOF
21615 /* confdefs.h. */
21616 _ACEOF
21617 cat confdefs.h >>conftest.$ac_ext
21618 cat >>conftest.$ac_ext <<_ACEOF
21619 /* end confdefs.h. */
21620 #include <math.h>
21622 main ()
21624 _ldexpl(0, 0);
21626 return 0;
21628 _ACEOF
21629 rm -f conftest.$ac_objext
21630 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21631 (eval $ac_compile) 2>conftest.er1
21632 ac_status=$?
21633 grep -v '^ *+' conftest.er1 >conftest.err
21634 rm -f conftest.er1
21635 cat conftest.err >&5
21636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21637 (exit $ac_status); } &&
21638 { ac_try='test -z "$ac_cxx_werror_flag"
21639 || test ! -s conftest.err'
21640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21641 (eval $ac_try) 2>&5
21642 ac_status=$?
21643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21644 (exit $ac_status); }; } &&
21645 { ac_try='test -s conftest.$ac_objext'
21646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21647 (eval $ac_try) 2>&5
21648 ac_status=$?
21649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21650 (exit $ac_status); }; }; then
21651 glibcxx_cv_func__ldexpl_use=yes
21652 else
21653 echo "$as_me: failed program was:" >&5
21654 sed 's/^/| /' conftest.$ac_ext >&5
21656 glibcxx_cv_func__ldexpl_use=no
21658 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21659 ac_ext=c
21660 ac_cpp='$CPP $CPPFLAGS'
21661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21669 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
21670 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
21672 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
21674 for ac_func in _ldexpl
21676 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21677 echo "$as_me:$LINENO: checking for $ac_func" >&5
21678 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21679 if eval "test \"\${$as_ac_var+set}\" = set"; then
21680 echo $ECHO_N "(cached) $ECHO_C" >&6
21681 else
21682 if test x$gcc_no_link = xyes; then
21683 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21684 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21685 { (exit 1); exit 1; }; }
21687 cat >conftest.$ac_ext <<_ACEOF
21688 /* confdefs.h. */
21689 _ACEOF
21690 cat confdefs.h >>conftest.$ac_ext
21691 cat >>conftest.$ac_ext <<_ACEOF
21692 /* end confdefs.h. */
21693 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21694 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21695 #define $ac_func innocuous_$ac_func
21697 /* System header to define __stub macros and hopefully few prototypes,
21698 which can conflict with char $ac_func (); below.
21699 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21700 <limits.h> exists even on freestanding compilers. */
21702 #ifdef __STDC__
21703 # include <limits.h>
21704 #else
21705 # include <assert.h>
21706 #endif
21708 #undef $ac_func
21710 /* Override any gcc2 internal prototype to avoid an error. */
21711 #ifdef __cplusplus
21712 extern "C"
21714 #endif
21715 /* We use char because int might match the return type of a gcc2
21716 builtin and then its argument prototype would still apply. */
21717 char $ac_func ();
21718 /* The GNU C library defines this for functions which it implements
21719 to always fail with ENOSYS. Some functions are actually named
21720 something starting with __ and the normal name is an alias. */
21721 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21722 choke me
21723 #else
21724 char (*f) () = $ac_func;
21725 #endif
21726 #ifdef __cplusplus
21728 #endif
21731 main ()
21733 return f != $ac_func;
21735 return 0;
21737 _ACEOF
21738 rm -f conftest.$ac_objext conftest$ac_exeext
21739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21740 (eval $ac_link) 2>conftest.er1
21741 ac_status=$?
21742 grep -v '^ *+' conftest.er1 >conftest.err
21743 rm -f conftest.er1
21744 cat conftest.err >&5
21745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21746 (exit $ac_status); } &&
21747 { ac_try='test -z "$ac_c_werror_flag"
21748 || test ! -s conftest.err'
21749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21750 (eval $ac_try) 2>&5
21751 ac_status=$?
21752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21753 (exit $ac_status); }; } &&
21754 { ac_try='test -s conftest$ac_exeext'
21755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21756 (eval $ac_try) 2>&5
21757 ac_status=$?
21758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21759 (exit $ac_status); }; }; then
21760 eval "$as_ac_var=yes"
21761 else
21762 echo "$as_me: failed program was:" >&5
21763 sed 's/^/| /' conftest.$ac_ext >&5
21765 eval "$as_ac_var=no"
21767 rm -f conftest.err conftest.$ac_objext \
21768 conftest$ac_exeext conftest.$ac_ext
21770 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21771 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21772 if test `eval echo '${'$as_ac_var'}'` = yes; then
21773 cat >>confdefs.h <<_ACEOF
21774 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21775 _ACEOF
21778 done
21785 echo "$as_me:$LINENO: checking for logl declaration" >&5
21786 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
21787 if test x${glibcxx_cv_func_logl_use+set} != xset; then
21788 if test "${glibcxx_cv_func_logl_use+set}" = set; then
21789 echo $ECHO_N "(cached) $ECHO_C" >&6
21790 else
21794 ac_ext=cc
21795 ac_cpp='$CXXCPP $CPPFLAGS'
21796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21800 cat >conftest.$ac_ext <<_ACEOF
21801 /* confdefs.h. */
21802 _ACEOF
21803 cat confdefs.h >>conftest.$ac_ext
21804 cat >>conftest.$ac_ext <<_ACEOF
21805 /* end confdefs.h. */
21806 #include <math.h>
21807 #ifdef HAVE_IEEEFP_H
21808 #include <ieeefp.h>
21809 #endif
21812 main ()
21814 logl(0);
21816 return 0;
21818 _ACEOF
21819 rm -f conftest.$ac_objext
21820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21821 (eval $ac_compile) 2>conftest.er1
21822 ac_status=$?
21823 grep -v '^ *+' conftest.er1 >conftest.err
21824 rm -f conftest.er1
21825 cat conftest.err >&5
21826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21827 (exit $ac_status); } &&
21828 { ac_try='test -z "$ac_cxx_werror_flag"
21829 || test ! -s conftest.err'
21830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21831 (eval $ac_try) 2>&5
21832 ac_status=$?
21833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21834 (exit $ac_status); }; } &&
21835 { ac_try='test -s conftest.$ac_objext'
21836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21837 (eval $ac_try) 2>&5
21838 ac_status=$?
21839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21840 (exit $ac_status); }; }; then
21841 glibcxx_cv_func_logl_use=yes
21842 else
21843 echo "$as_me: failed program was:" >&5
21844 sed 's/^/| /' conftest.$ac_ext >&5
21846 glibcxx_cv_func_logl_use=no
21848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21849 ac_ext=c
21850 ac_cpp='$CPP $CPPFLAGS'
21851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21859 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
21860 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
21862 if test x$glibcxx_cv_func_logl_use = x"yes"; then
21864 for ac_func in logl
21866 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21867 echo "$as_me:$LINENO: checking for $ac_func" >&5
21868 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21869 if eval "test \"\${$as_ac_var+set}\" = set"; then
21870 echo $ECHO_N "(cached) $ECHO_C" >&6
21871 else
21872 if test x$gcc_no_link = xyes; then
21873 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21874 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21875 { (exit 1); exit 1; }; }
21877 cat >conftest.$ac_ext <<_ACEOF
21878 /* confdefs.h. */
21879 _ACEOF
21880 cat confdefs.h >>conftest.$ac_ext
21881 cat >>conftest.$ac_ext <<_ACEOF
21882 /* end confdefs.h. */
21883 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21884 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21885 #define $ac_func innocuous_$ac_func
21887 /* System header to define __stub macros and hopefully few prototypes,
21888 which can conflict with char $ac_func (); below.
21889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21890 <limits.h> exists even on freestanding compilers. */
21892 #ifdef __STDC__
21893 # include <limits.h>
21894 #else
21895 # include <assert.h>
21896 #endif
21898 #undef $ac_func
21900 /* Override any gcc2 internal prototype to avoid an error. */
21901 #ifdef __cplusplus
21902 extern "C"
21904 #endif
21905 /* We use char because int might match the return type of a gcc2
21906 builtin and then its argument prototype would still apply. */
21907 char $ac_func ();
21908 /* The GNU C library defines this for functions which it implements
21909 to always fail with ENOSYS. Some functions are actually named
21910 something starting with __ and the normal name is an alias. */
21911 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21912 choke me
21913 #else
21914 char (*f) () = $ac_func;
21915 #endif
21916 #ifdef __cplusplus
21918 #endif
21921 main ()
21923 return f != $ac_func;
21925 return 0;
21927 _ACEOF
21928 rm -f conftest.$ac_objext conftest$ac_exeext
21929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21930 (eval $ac_link) 2>conftest.er1
21931 ac_status=$?
21932 grep -v '^ *+' conftest.er1 >conftest.err
21933 rm -f conftest.er1
21934 cat conftest.err >&5
21935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21936 (exit $ac_status); } &&
21937 { ac_try='test -z "$ac_c_werror_flag"
21938 || test ! -s conftest.err'
21939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21940 (eval $ac_try) 2>&5
21941 ac_status=$?
21942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21943 (exit $ac_status); }; } &&
21944 { ac_try='test -s conftest$ac_exeext'
21945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21946 (eval $ac_try) 2>&5
21947 ac_status=$?
21948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21949 (exit $ac_status); }; }; then
21950 eval "$as_ac_var=yes"
21951 else
21952 echo "$as_me: failed program was:" >&5
21953 sed 's/^/| /' conftest.$ac_ext >&5
21955 eval "$as_ac_var=no"
21957 rm -f conftest.err conftest.$ac_objext \
21958 conftest$ac_exeext conftest.$ac_ext
21960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21961 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21962 if test `eval echo '${'$as_ac_var'}'` = yes; then
21963 cat >>confdefs.h <<_ACEOF
21964 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21965 _ACEOF
21968 done
21970 else
21972 echo "$as_me:$LINENO: checking for _logl declaration" >&5
21973 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
21974 if test x${glibcxx_cv_func__logl_use+set} != xset; then
21975 if test "${glibcxx_cv_func__logl_use+set}" = set; then
21976 echo $ECHO_N "(cached) $ECHO_C" >&6
21977 else
21981 ac_ext=cc
21982 ac_cpp='$CXXCPP $CPPFLAGS'
21983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21987 cat >conftest.$ac_ext <<_ACEOF
21988 /* confdefs.h. */
21989 _ACEOF
21990 cat confdefs.h >>conftest.$ac_ext
21991 cat >>conftest.$ac_ext <<_ACEOF
21992 /* end confdefs.h. */
21993 #include <math.h>
21994 #ifdef HAVE_IEEEFP_H
21995 #include <ieeefp.h>
21996 #endif
21999 main ()
22001 _logl(0);
22003 return 0;
22005 _ACEOF
22006 rm -f conftest.$ac_objext
22007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22008 (eval $ac_compile) 2>conftest.er1
22009 ac_status=$?
22010 grep -v '^ *+' conftest.er1 >conftest.err
22011 rm -f conftest.er1
22012 cat conftest.err >&5
22013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22014 (exit $ac_status); } &&
22015 { ac_try='test -z "$ac_cxx_werror_flag"
22016 || test ! -s conftest.err'
22017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22018 (eval $ac_try) 2>&5
22019 ac_status=$?
22020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22021 (exit $ac_status); }; } &&
22022 { ac_try='test -s conftest.$ac_objext'
22023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22024 (eval $ac_try) 2>&5
22025 ac_status=$?
22026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22027 (exit $ac_status); }; }; then
22028 glibcxx_cv_func__logl_use=yes
22029 else
22030 echo "$as_me: failed program was:" >&5
22031 sed 's/^/| /' conftest.$ac_ext >&5
22033 glibcxx_cv_func__logl_use=no
22035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22036 ac_ext=c
22037 ac_cpp='$CPP $CPPFLAGS'
22038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22046 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
22047 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
22049 if test x$glibcxx_cv_func__logl_use = x"yes"; then
22051 for ac_func in _logl
22053 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22054 echo "$as_me:$LINENO: checking for $ac_func" >&5
22055 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22056 if eval "test \"\${$as_ac_var+set}\" = set"; then
22057 echo $ECHO_N "(cached) $ECHO_C" >&6
22058 else
22059 if test x$gcc_no_link = xyes; then
22060 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22061 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22062 { (exit 1); exit 1; }; }
22064 cat >conftest.$ac_ext <<_ACEOF
22065 /* confdefs.h. */
22066 _ACEOF
22067 cat confdefs.h >>conftest.$ac_ext
22068 cat >>conftest.$ac_ext <<_ACEOF
22069 /* end confdefs.h. */
22070 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22072 #define $ac_func innocuous_$ac_func
22074 /* System header to define __stub macros and hopefully few prototypes,
22075 which can conflict with char $ac_func (); below.
22076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22077 <limits.h> exists even on freestanding compilers. */
22079 #ifdef __STDC__
22080 # include <limits.h>
22081 #else
22082 # include <assert.h>
22083 #endif
22085 #undef $ac_func
22087 /* Override any gcc2 internal prototype to avoid an error. */
22088 #ifdef __cplusplus
22089 extern "C"
22091 #endif
22092 /* We use char because int might match the return type of a gcc2
22093 builtin and then its argument prototype would still apply. */
22094 char $ac_func ();
22095 /* The GNU C library defines this for functions which it implements
22096 to always fail with ENOSYS. Some functions are actually named
22097 something starting with __ and the normal name is an alias. */
22098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22099 choke me
22100 #else
22101 char (*f) () = $ac_func;
22102 #endif
22103 #ifdef __cplusplus
22105 #endif
22108 main ()
22110 return f != $ac_func;
22112 return 0;
22114 _ACEOF
22115 rm -f conftest.$ac_objext conftest$ac_exeext
22116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22117 (eval $ac_link) 2>conftest.er1
22118 ac_status=$?
22119 grep -v '^ *+' conftest.er1 >conftest.err
22120 rm -f conftest.er1
22121 cat conftest.err >&5
22122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22123 (exit $ac_status); } &&
22124 { ac_try='test -z "$ac_c_werror_flag"
22125 || test ! -s conftest.err'
22126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22127 (eval $ac_try) 2>&5
22128 ac_status=$?
22129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22130 (exit $ac_status); }; } &&
22131 { ac_try='test -s conftest$ac_exeext'
22132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22133 (eval $ac_try) 2>&5
22134 ac_status=$?
22135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22136 (exit $ac_status); }; }; then
22137 eval "$as_ac_var=yes"
22138 else
22139 echo "$as_me: failed program was:" >&5
22140 sed 's/^/| /' conftest.$ac_ext >&5
22142 eval "$as_ac_var=no"
22144 rm -f conftest.err conftest.$ac_objext \
22145 conftest$ac_exeext conftest.$ac_ext
22147 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22148 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22149 if test `eval echo '${'$as_ac_var'}'` = yes; then
22150 cat >>confdefs.h <<_ACEOF
22151 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22152 _ACEOF
22155 done
22162 echo "$as_me:$LINENO: checking for log10l declaration" >&5
22163 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
22164 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
22165 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
22166 echo $ECHO_N "(cached) $ECHO_C" >&6
22167 else
22171 ac_ext=cc
22172 ac_cpp='$CXXCPP $CPPFLAGS'
22173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22177 cat >conftest.$ac_ext <<_ACEOF
22178 /* confdefs.h. */
22179 _ACEOF
22180 cat confdefs.h >>conftest.$ac_ext
22181 cat >>conftest.$ac_ext <<_ACEOF
22182 /* end confdefs.h. */
22183 #include <math.h>
22184 #ifdef HAVE_IEEEFP_H
22185 #include <ieeefp.h>
22186 #endif
22189 main ()
22191 log10l(0);
22193 return 0;
22195 _ACEOF
22196 rm -f conftest.$ac_objext
22197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22198 (eval $ac_compile) 2>conftest.er1
22199 ac_status=$?
22200 grep -v '^ *+' conftest.er1 >conftest.err
22201 rm -f conftest.er1
22202 cat conftest.err >&5
22203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22204 (exit $ac_status); } &&
22205 { ac_try='test -z "$ac_cxx_werror_flag"
22206 || test ! -s conftest.err'
22207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22208 (eval $ac_try) 2>&5
22209 ac_status=$?
22210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22211 (exit $ac_status); }; } &&
22212 { ac_try='test -s conftest.$ac_objext'
22213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22214 (eval $ac_try) 2>&5
22215 ac_status=$?
22216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22217 (exit $ac_status); }; }; then
22218 glibcxx_cv_func_log10l_use=yes
22219 else
22220 echo "$as_me: failed program was:" >&5
22221 sed 's/^/| /' conftest.$ac_ext >&5
22223 glibcxx_cv_func_log10l_use=no
22225 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22226 ac_ext=c
22227 ac_cpp='$CPP $CPPFLAGS'
22228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22236 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
22237 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
22239 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
22241 for ac_func in log10l
22243 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22244 echo "$as_me:$LINENO: checking for $ac_func" >&5
22245 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22246 if eval "test \"\${$as_ac_var+set}\" = set"; then
22247 echo $ECHO_N "(cached) $ECHO_C" >&6
22248 else
22249 if test x$gcc_no_link = xyes; then
22250 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22251 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22252 { (exit 1); exit 1; }; }
22254 cat >conftest.$ac_ext <<_ACEOF
22255 /* confdefs.h. */
22256 _ACEOF
22257 cat confdefs.h >>conftest.$ac_ext
22258 cat >>conftest.$ac_ext <<_ACEOF
22259 /* end confdefs.h. */
22260 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22261 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22262 #define $ac_func innocuous_$ac_func
22264 /* System header to define __stub macros and hopefully few prototypes,
22265 which can conflict with char $ac_func (); below.
22266 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22267 <limits.h> exists even on freestanding compilers. */
22269 #ifdef __STDC__
22270 # include <limits.h>
22271 #else
22272 # include <assert.h>
22273 #endif
22275 #undef $ac_func
22277 /* Override any gcc2 internal prototype to avoid an error. */
22278 #ifdef __cplusplus
22279 extern "C"
22281 #endif
22282 /* We use char because int might match the return type of a gcc2
22283 builtin and then its argument prototype would still apply. */
22284 char $ac_func ();
22285 /* The GNU C library defines this for functions which it implements
22286 to always fail with ENOSYS. Some functions are actually named
22287 something starting with __ and the normal name is an alias. */
22288 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22289 choke me
22290 #else
22291 char (*f) () = $ac_func;
22292 #endif
22293 #ifdef __cplusplus
22295 #endif
22298 main ()
22300 return f != $ac_func;
22302 return 0;
22304 _ACEOF
22305 rm -f conftest.$ac_objext conftest$ac_exeext
22306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22307 (eval $ac_link) 2>conftest.er1
22308 ac_status=$?
22309 grep -v '^ *+' conftest.er1 >conftest.err
22310 rm -f conftest.er1
22311 cat conftest.err >&5
22312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22313 (exit $ac_status); } &&
22314 { ac_try='test -z "$ac_c_werror_flag"
22315 || test ! -s conftest.err'
22316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22317 (eval $ac_try) 2>&5
22318 ac_status=$?
22319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22320 (exit $ac_status); }; } &&
22321 { ac_try='test -s conftest$ac_exeext'
22322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22323 (eval $ac_try) 2>&5
22324 ac_status=$?
22325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22326 (exit $ac_status); }; }; then
22327 eval "$as_ac_var=yes"
22328 else
22329 echo "$as_me: failed program was:" >&5
22330 sed 's/^/| /' conftest.$ac_ext >&5
22332 eval "$as_ac_var=no"
22334 rm -f conftest.err conftest.$ac_objext \
22335 conftest$ac_exeext conftest.$ac_ext
22337 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22338 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22339 if test `eval echo '${'$as_ac_var'}'` = yes; then
22340 cat >>confdefs.h <<_ACEOF
22341 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22342 _ACEOF
22345 done
22347 else
22349 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
22350 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
22351 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
22352 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
22353 echo $ECHO_N "(cached) $ECHO_C" >&6
22354 else
22358 ac_ext=cc
22359 ac_cpp='$CXXCPP $CPPFLAGS'
22360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22364 cat >conftest.$ac_ext <<_ACEOF
22365 /* confdefs.h. */
22366 _ACEOF
22367 cat confdefs.h >>conftest.$ac_ext
22368 cat >>conftest.$ac_ext <<_ACEOF
22369 /* end confdefs.h. */
22370 #include <math.h>
22371 #ifdef HAVE_IEEEFP_H
22372 #include <ieeefp.h>
22373 #endif
22376 main ()
22378 _log10l(0);
22380 return 0;
22382 _ACEOF
22383 rm -f conftest.$ac_objext
22384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22385 (eval $ac_compile) 2>conftest.er1
22386 ac_status=$?
22387 grep -v '^ *+' conftest.er1 >conftest.err
22388 rm -f conftest.er1
22389 cat conftest.err >&5
22390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22391 (exit $ac_status); } &&
22392 { ac_try='test -z "$ac_cxx_werror_flag"
22393 || test ! -s conftest.err'
22394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22395 (eval $ac_try) 2>&5
22396 ac_status=$?
22397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22398 (exit $ac_status); }; } &&
22399 { ac_try='test -s conftest.$ac_objext'
22400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22401 (eval $ac_try) 2>&5
22402 ac_status=$?
22403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22404 (exit $ac_status); }; }; then
22405 glibcxx_cv_func__log10l_use=yes
22406 else
22407 echo "$as_me: failed program was:" >&5
22408 sed 's/^/| /' conftest.$ac_ext >&5
22410 glibcxx_cv_func__log10l_use=no
22412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22413 ac_ext=c
22414 ac_cpp='$CPP $CPPFLAGS'
22415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22423 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
22424 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
22426 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
22428 for ac_func in _log10l
22430 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22431 echo "$as_me:$LINENO: checking for $ac_func" >&5
22432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22433 if eval "test \"\${$as_ac_var+set}\" = set"; then
22434 echo $ECHO_N "(cached) $ECHO_C" >&6
22435 else
22436 if test x$gcc_no_link = xyes; then
22437 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22438 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22439 { (exit 1); exit 1; }; }
22441 cat >conftest.$ac_ext <<_ACEOF
22442 /* confdefs.h. */
22443 _ACEOF
22444 cat confdefs.h >>conftest.$ac_ext
22445 cat >>conftest.$ac_ext <<_ACEOF
22446 /* end confdefs.h. */
22447 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22448 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22449 #define $ac_func innocuous_$ac_func
22451 /* System header to define __stub macros and hopefully few prototypes,
22452 which can conflict with char $ac_func (); below.
22453 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22454 <limits.h> exists even on freestanding compilers. */
22456 #ifdef __STDC__
22457 # include <limits.h>
22458 #else
22459 # include <assert.h>
22460 #endif
22462 #undef $ac_func
22464 /* Override any gcc2 internal prototype to avoid an error. */
22465 #ifdef __cplusplus
22466 extern "C"
22468 #endif
22469 /* We use char because int might match the return type of a gcc2
22470 builtin and then its argument prototype would still apply. */
22471 char $ac_func ();
22472 /* The GNU C library defines this for functions which it implements
22473 to always fail with ENOSYS. Some functions are actually named
22474 something starting with __ and the normal name is an alias. */
22475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22476 choke me
22477 #else
22478 char (*f) () = $ac_func;
22479 #endif
22480 #ifdef __cplusplus
22482 #endif
22485 main ()
22487 return f != $ac_func;
22489 return 0;
22491 _ACEOF
22492 rm -f conftest.$ac_objext conftest$ac_exeext
22493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22494 (eval $ac_link) 2>conftest.er1
22495 ac_status=$?
22496 grep -v '^ *+' conftest.er1 >conftest.err
22497 rm -f conftest.er1
22498 cat conftest.err >&5
22499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22500 (exit $ac_status); } &&
22501 { ac_try='test -z "$ac_c_werror_flag"
22502 || test ! -s conftest.err'
22503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22504 (eval $ac_try) 2>&5
22505 ac_status=$?
22506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22507 (exit $ac_status); }; } &&
22508 { ac_try='test -s conftest$ac_exeext'
22509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22510 (eval $ac_try) 2>&5
22511 ac_status=$?
22512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22513 (exit $ac_status); }; }; then
22514 eval "$as_ac_var=yes"
22515 else
22516 echo "$as_me: failed program was:" >&5
22517 sed 's/^/| /' conftest.$ac_ext >&5
22519 eval "$as_ac_var=no"
22521 rm -f conftest.err conftest.$ac_objext \
22522 conftest$ac_exeext conftest.$ac_ext
22524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22525 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22526 if test `eval echo '${'$as_ac_var'}'` = yes; then
22527 cat >>confdefs.h <<_ACEOF
22528 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22529 _ACEOF
22532 done
22539 echo "$as_me:$LINENO: checking for modfl declaration" >&5
22540 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
22541 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
22542 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
22543 echo $ECHO_N "(cached) $ECHO_C" >&6
22544 else
22548 ac_ext=cc
22549 ac_cpp='$CXXCPP $CPPFLAGS'
22550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22554 cat >conftest.$ac_ext <<_ACEOF
22555 /* confdefs.h. */
22556 _ACEOF
22557 cat confdefs.h >>conftest.$ac_ext
22558 cat >>conftest.$ac_ext <<_ACEOF
22559 /* end confdefs.h. */
22560 #include <math.h>
22562 main ()
22564 modfl(0, 0);
22566 return 0;
22568 _ACEOF
22569 rm -f conftest.$ac_objext
22570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22571 (eval $ac_compile) 2>conftest.er1
22572 ac_status=$?
22573 grep -v '^ *+' conftest.er1 >conftest.err
22574 rm -f conftest.er1
22575 cat conftest.err >&5
22576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22577 (exit $ac_status); } &&
22578 { ac_try='test -z "$ac_cxx_werror_flag"
22579 || test ! -s conftest.err'
22580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22581 (eval $ac_try) 2>&5
22582 ac_status=$?
22583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22584 (exit $ac_status); }; } &&
22585 { ac_try='test -s conftest.$ac_objext'
22586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22587 (eval $ac_try) 2>&5
22588 ac_status=$?
22589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22590 (exit $ac_status); }; }; then
22591 glibcxx_cv_func_modfl_use=yes
22592 else
22593 echo "$as_me: failed program was:" >&5
22594 sed 's/^/| /' conftest.$ac_ext >&5
22596 glibcxx_cv_func_modfl_use=no
22598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22599 ac_ext=c
22600 ac_cpp='$CPP $CPPFLAGS'
22601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22609 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
22610 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
22612 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
22614 for ac_func in modfl
22616 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22617 echo "$as_me:$LINENO: checking for $ac_func" >&5
22618 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22619 if eval "test \"\${$as_ac_var+set}\" = set"; then
22620 echo $ECHO_N "(cached) $ECHO_C" >&6
22621 else
22622 if test x$gcc_no_link = xyes; then
22623 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22624 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22625 { (exit 1); exit 1; }; }
22627 cat >conftest.$ac_ext <<_ACEOF
22628 /* confdefs.h. */
22629 _ACEOF
22630 cat confdefs.h >>conftest.$ac_ext
22631 cat >>conftest.$ac_ext <<_ACEOF
22632 /* end confdefs.h. */
22633 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22634 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22635 #define $ac_func innocuous_$ac_func
22637 /* System header to define __stub macros and hopefully few prototypes,
22638 which can conflict with char $ac_func (); below.
22639 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22640 <limits.h> exists even on freestanding compilers. */
22642 #ifdef __STDC__
22643 # include <limits.h>
22644 #else
22645 # include <assert.h>
22646 #endif
22648 #undef $ac_func
22650 /* Override any gcc2 internal prototype to avoid an error. */
22651 #ifdef __cplusplus
22652 extern "C"
22654 #endif
22655 /* We use char because int might match the return type of a gcc2
22656 builtin and then its argument prototype would still apply. */
22657 char $ac_func ();
22658 /* The GNU C library defines this for functions which it implements
22659 to always fail with ENOSYS. Some functions are actually named
22660 something starting with __ and the normal name is an alias. */
22661 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22662 choke me
22663 #else
22664 char (*f) () = $ac_func;
22665 #endif
22666 #ifdef __cplusplus
22668 #endif
22671 main ()
22673 return f != $ac_func;
22675 return 0;
22677 _ACEOF
22678 rm -f conftest.$ac_objext conftest$ac_exeext
22679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22680 (eval $ac_link) 2>conftest.er1
22681 ac_status=$?
22682 grep -v '^ *+' conftest.er1 >conftest.err
22683 rm -f conftest.er1
22684 cat conftest.err >&5
22685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22686 (exit $ac_status); } &&
22687 { ac_try='test -z "$ac_c_werror_flag"
22688 || 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_exeext'
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 eval "$as_ac_var=yes"
22701 else
22702 echo "$as_me: failed program was:" >&5
22703 sed 's/^/| /' conftest.$ac_ext >&5
22705 eval "$as_ac_var=no"
22707 rm -f conftest.err conftest.$ac_objext \
22708 conftest$ac_exeext conftest.$ac_ext
22710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22711 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22712 if test `eval echo '${'$as_ac_var'}'` = yes; then
22713 cat >>confdefs.h <<_ACEOF
22714 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22715 _ACEOF
22718 done
22720 else
22722 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
22723 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
22724 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
22725 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
22726 echo $ECHO_N "(cached) $ECHO_C" >&6
22727 else
22731 ac_ext=cc
22732 ac_cpp='$CXXCPP $CPPFLAGS'
22733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22737 cat >conftest.$ac_ext <<_ACEOF
22738 /* confdefs.h. */
22739 _ACEOF
22740 cat confdefs.h >>conftest.$ac_ext
22741 cat >>conftest.$ac_ext <<_ACEOF
22742 /* end confdefs.h. */
22743 #include <math.h>
22745 main ()
22747 _modfl(0, 0);
22749 return 0;
22751 _ACEOF
22752 rm -f conftest.$ac_objext
22753 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22754 (eval $ac_compile) 2>conftest.er1
22755 ac_status=$?
22756 grep -v '^ *+' conftest.er1 >conftest.err
22757 rm -f conftest.er1
22758 cat conftest.err >&5
22759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22760 (exit $ac_status); } &&
22761 { ac_try='test -z "$ac_cxx_werror_flag"
22762 || test ! -s conftest.err'
22763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22764 (eval $ac_try) 2>&5
22765 ac_status=$?
22766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22767 (exit $ac_status); }; } &&
22768 { ac_try='test -s conftest.$ac_objext'
22769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22770 (eval $ac_try) 2>&5
22771 ac_status=$?
22772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22773 (exit $ac_status); }; }; then
22774 glibcxx_cv_func__modfl_use=yes
22775 else
22776 echo "$as_me: failed program was:" >&5
22777 sed 's/^/| /' conftest.$ac_ext >&5
22779 glibcxx_cv_func__modfl_use=no
22781 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22782 ac_ext=c
22783 ac_cpp='$CPP $CPPFLAGS'
22784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22792 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
22793 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
22795 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
22797 for ac_func in _modfl
22799 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22800 echo "$as_me:$LINENO: checking for $ac_func" >&5
22801 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22802 if eval "test \"\${$as_ac_var+set}\" = set"; then
22803 echo $ECHO_N "(cached) $ECHO_C" >&6
22804 else
22805 if test x$gcc_no_link = xyes; then
22806 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22807 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22808 { (exit 1); exit 1; }; }
22810 cat >conftest.$ac_ext <<_ACEOF
22811 /* confdefs.h. */
22812 _ACEOF
22813 cat confdefs.h >>conftest.$ac_ext
22814 cat >>conftest.$ac_ext <<_ACEOF
22815 /* end confdefs.h. */
22816 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22817 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22818 #define $ac_func innocuous_$ac_func
22820 /* System header to define __stub macros and hopefully few prototypes,
22821 which can conflict with char $ac_func (); below.
22822 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22823 <limits.h> exists even on freestanding compilers. */
22825 #ifdef __STDC__
22826 # include <limits.h>
22827 #else
22828 # include <assert.h>
22829 #endif
22831 #undef $ac_func
22833 /* Override any gcc2 internal prototype to avoid an error. */
22834 #ifdef __cplusplus
22835 extern "C"
22837 #endif
22838 /* We use char because int might match the return type of a gcc2
22839 builtin and then its argument prototype would still apply. */
22840 char $ac_func ();
22841 /* The GNU C library defines this for functions which it implements
22842 to always fail with ENOSYS. Some functions are actually named
22843 something starting with __ and the normal name is an alias. */
22844 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22845 choke me
22846 #else
22847 char (*f) () = $ac_func;
22848 #endif
22849 #ifdef __cplusplus
22851 #endif
22854 main ()
22856 return f != $ac_func;
22858 return 0;
22860 _ACEOF
22861 rm -f conftest.$ac_objext conftest$ac_exeext
22862 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22863 (eval $ac_link) 2>conftest.er1
22864 ac_status=$?
22865 grep -v '^ *+' conftest.er1 >conftest.err
22866 rm -f conftest.er1
22867 cat conftest.err >&5
22868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22869 (exit $ac_status); } &&
22870 { ac_try='test -z "$ac_c_werror_flag"
22871 || test ! -s conftest.err'
22872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22873 (eval $ac_try) 2>&5
22874 ac_status=$?
22875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22876 (exit $ac_status); }; } &&
22877 { ac_try='test -s conftest$ac_exeext'
22878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22879 (eval $ac_try) 2>&5
22880 ac_status=$?
22881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22882 (exit $ac_status); }; }; then
22883 eval "$as_ac_var=yes"
22884 else
22885 echo "$as_me: failed program was:" >&5
22886 sed 's/^/| /' conftest.$ac_ext >&5
22888 eval "$as_ac_var=no"
22890 rm -f conftest.err conftest.$ac_objext \
22891 conftest$ac_exeext conftest.$ac_ext
22893 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22894 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22895 if test `eval echo '${'$as_ac_var'}'` = yes; then
22896 cat >>confdefs.h <<_ACEOF
22897 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22898 _ACEOF
22901 done
22908 echo "$as_me:$LINENO: checking for powl declaration" >&5
22909 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
22910 if test x${glibcxx_cv_func_powl_use+set} != xset; then
22911 if test "${glibcxx_cv_func_powl_use+set}" = set; then
22912 echo $ECHO_N "(cached) $ECHO_C" >&6
22913 else
22917 ac_ext=cc
22918 ac_cpp='$CXXCPP $CPPFLAGS'
22919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22923 cat >conftest.$ac_ext <<_ACEOF
22924 /* confdefs.h. */
22925 _ACEOF
22926 cat confdefs.h >>conftest.$ac_ext
22927 cat >>conftest.$ac_ext <<_ACEOF
22928 /* end confdefs.h. */
22929 #include <math.h>
22931 main ()
22933 powl(0, 0);
22935 return 0;
22937 _ACEOF
22938 rm -f conftest.$ac_objext
22939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22940 (eval $ac_compile) 2>conftest.er1
22941 ac_status=$?
22942 grep -v '^ *+' conftest.er1 >conftest.err
22943 rm -f conftest.er1
22944 cat conftest.err >&5
22945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22946 (exit $ac_status); } &&
22947 { ac_try='test -z "$ac_cxx_werror_flag"
22948 || test ! -s conftest.err'
22949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22950 (eval $ac_try) 2>&5
22951 ac_status=$?
22952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22953 (exit $ac_status); }; } &&
22954 { ac_try='test -s conftest.$ac_objext'
22955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22956 (eval $ac_try) 2>&5
22957 ac_status=$?
22958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22959 (exit $ac_status); }; }; then
22960 glibcxx_cv_func_powl_use=yes
22961 else
22962 echo "$as_me: failed program was:" >&5
22963 sed 's/^/| /' conftest.$ac_ext >&5
22965 glibcxx_cv_func_powl_use=no
22967 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22968 ac_ext=c
22969 ac_cpp='$CPP $CPPFLAGS'
22970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22978 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
22979 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
22981 if test x$glibcxx_cv_func_powl_use = x"yes"; then
22983 for ac_func in powl
22985 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22986 echo "$as_me:$LINENO: checking for $ac_func" >&5
22987 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22988 if eval "test \"\${$as_ac_var+set}\" = set"; then
22989 echo $ECHO_N "(cached) $ECHO_C" >&6
22990 else
22991 if test x$gcc_no_link = xyes; then
22992 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22993 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22994 { (exit 1); exit 1; }; }
22996 cat >conftest.$ac_ext <<_ACEOF
22997 /* confdefs.h. */
22998 _ACEOF
22999 cat confdefs.h >>conftest.$ac_ext
23000 cat >>conftest.$ac_ext <<_ACEOF
23001 /* end confdefs.h. */
23002 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23003 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23004 #define $ac_func innocuous_$ac_func
23006 /* System header to define __stub macros and hopefully few prototypes,
23007 which can conflict with char $ac_func (); below.
23008 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23009 <limits.h> exists even on freestanding compilers. */
23011 #ifdef __STDC__
23012 # include <limits.h>
23013 #else
23014 # include <assert.h>
23015 #endif
23017 #undef $ac_func
23019 /* Override any gcc2 internal prototype to avoid an error. */
23020 #ifdef __cplusplus
23021 extern "C"
23023 #endif
23024 /* We use char because int might match the return type of a gcc2
23025 builtin and then its argument prototype would still apply. */
23026 char $ac_func ();
23027 /* The GNU C library defines this for functions which it implements
23028 to always fail with ENOSYS. Some functions are actually named
23029 something starting with __ and the normal name is an alias. */
23030 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23031 choke me
23032 #else
23033 char (*f) () = $ac_func;
23034 #endif
23035 #ifdef __cplusplus
23037 #endif
23040 main ()
23042 return f != $ac_func;
23044 return 0;
23046 _ACEOF
23047 rm -f conftest.$ac_objext conftest$ac_exeext
23048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23049 (eval $ac_link) 2>conftest.er1
23050 ac_status=$?
23051 grep -v '^ *+' conftest.er1 >conftest.err
23052 rm -f conftest.er1
23053 cat conftest.err >&5
23054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23055 (exit $ac_status); } &&
23056 { ac_try='test -z "$ac_c_werror_flag"
23057 || 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_exeext'
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 eval "$as_ac_var=yes"
23070 else
23071 echo "$as_me: failed program was:" >&5
23072 sed 's/^/| /' conftest.$ac_ext >&5
23074 eval "$as_ac_var=no"
23076 rm -f conftest.err conftest.$ac_objext \
23077 conftest$ac_exeext conftest.$ac_ext
23079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23080 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23081 if test `eval echo '${'$as_ac_var'}'` = yes; then
23082 cat >>confdefs.h <<_ACEOF
23083 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23084 _ACEOF
23087 done
23089 else
23091 echo "$as_me:$LINENO: checking for _powl declaration" >&5
23092 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
23093 if test x${glibcxx_cv_func__powl_use+set} != xset; then
23094 if test "${glibcxx_cv_func__powl_use+set}" = set; then
23095 echo $ECHO_N "(cached) $ECHO_C" >&6
23096 else
23100 ac_ext=cc
23101 ac_cpp='$CXXCPP $CPPFLAGS'
23102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23106 cat >conftest.$ac_ext <<_ACEOF
23107 /* confdefs.h. */
23108 _ACEOF
23109 cat confdefs.h >>conftest.$ac_ext
23110 cat >>conftest.$ac_ext <<_ACEOF
23111 /* end confdefs.h. */
23112 #include <math.h>
23114 main ()
23116 _powl(0, 0);
23118 return 0;
23120 _ACEOF
23121 rm -f conftest.$ac_objext
23122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23123 (eval $ac_compile) 2>conftest.er1
23124 ac_status=$?
23125 grep -v '^ *+' conftest.er1 >conftest.err
23126 rm -f conftest.er1
23127 cat conftest.err >&5
23128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23129 (exit $ac_status); } &&
23130 { ac_try='test -z "$ac_cxx_werror_flag"
23131 || test ! -s conftest.err'
23132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23133 (eval $ac_try) 2>&5
23134 ac_status=$?
23135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23136 (exit $ac_status); }; } &&
23137 { ac_try='test -s conftest.$ac_objext'
23138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23139 (eval $ac_try) 2>&5
23140 ac_status=$?
23141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23142 (exit $ac_status); }; }; then
23143 glibcxx_cv_func__powl_use=yes
23144 else
23145 echo "$as_me: failed program was:" >&5
23146 sed 's/^/| /' conftest.$ac_ext >&5
23148 glibcxx_cv_func__powl_use=no
23150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23151 ac_ext=c
23152 ac_cpp='$CPP $CPPFLAGS'
23153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23161 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
23162 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
23164 if test x$glibcxx_cv_func__powl_use = x"yes"; then
23166 for ac_func in _powl
23168 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23169 echo "$as_me:$LINENO: checking for $ac_func" >&5
23170 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23171 if eval "test \"\${$as_ac_var+set}\" = set"; then
23172 echo $ECHO_N "(cached) $ECHO_C" >&6
23173 else
23174 if test x$gcc_no_link = xyes; then
23175 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23176 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23177 { (exit 1); exit 1; }; }
23179 cat >conftest.$ac_ext <<_ACEOF
23180 /* confdefs.h. */
23181 _ACEOF
23182 cat confdefs.h >>conftest.$ac_ext
23183 cat >>conftest.$ac_ext <<_ACEOF
23184 /* end confdefs.h. */
23185 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23186 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23187 #define $ac_func innocuous_$ac_func
23189 /* System header to define __stub macros and hopefully few prototypes,
23190 which can conflict with char $ac_func (); below.
23191 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23192 <limits.h> exists even on freestanding compilers. */
23194 #ifdef __STDC__
23195 # include <limits.h>
23196 #else
23197 # include <assert.h>
23198 #endif
23200 #undef $ac_func
23202 /* Override any gcc2 internal prototype to avoid an error. */
23203 #ifdef __cplusplus
23204 extern "C"
23206 #endif
23207 /* We use char because int might match the return type of a gcc2
23208 builtin and then its argument prototype would still apply. */
23209 char $ac_func ();
23210 /* The GNU C library defines this for functions which it implements
23211 to always fail with ENOSYS. Some functions are actually named
23212 something starting with __ and the normal name is an alias. */
23213 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23214 choke me
23215 #else
23216 char (*f) () = $ac_func;
23217 #endif
23218 #ifdef __cplusplus
23220 #endif
23223 main ()
23225 return f != $ac_func;
23227 return 0;
23229 _ACEOF
23230 rm -f conftest.$ac_objext conftest$ac_exeext
23231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23232 (eval $ac_link) 2>conftest.er1
23233 ac_status=$?
23234 grep -v '^ *+' conftest.er1 >conftest.err
23235 rm -f conftest.er1
23236 cat conftest.err >&5
23237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23238 (exit $ac_status); } &&
23239 { ac_try='test -z "$ac_c_werror_flag"
23240 || test ! -s conftest.err'
23241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23242 (eval $ac_try) 2>&5
23243 ac_status=$?
23244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23245 (exit $ac_status); }; } &&
23246 { ac_try='test -s conftest$ac_exeext'
23247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23248 (eval $ac_try) 2>&5
23249 ac_status=$?
23250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23251 (exit $ac_status); }; }; then
23252 eval "$as_ac_var=yes"
23253 else
23254 echo "$as_me: failed program was:" >&5
23255 sed 's/^/| /' conftest.$ac_ext >&5
23257 eval "$as_ac_var=no"
23259 rm -f conftest.err conftest.$ac_objext \
23260 conftest$ac_exeext conftest.$ac_ext
23262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23263 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23264 if test `eval echo '${'$as_ac_var'}'` = yes; then
23265 cat >>confdefs.h <<_ACEOF
23266 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23267 _ACEOF
23270 done
23277 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
23278 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
23279 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
23280 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
23281 echo $ECHO_N "(cached) $ECHO_C" >&6
23282 else
23286 ac_ext=cc
23287 ac_cpp='$CXXCPP $CPPFLAGS'
23288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23292 cat >conftest.$ac_ext <<_ACEOF
23293 /* confdefs.h. */
23294 _ACEOF
23295 cat confdefs.h >>conftest.$ac_ext
23296 cat >>conftest.$ac_ext <<_ACEOF
23297 /* end confdefs.h. */
23298 #include <math.h>
23299 #ifdef HAVE_IEEEFP_H
23300 #include <ieeefp.h>
23301 #endif
23304 main ()
23306 sqrtl(0);
23308 return 0;
23310 _ACEOF
23311 rm -f conftest.$ac_objext
23312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23313 (eval $ac_compile) 2>conftest.er1
23314 ac_status=$?
23315 grep -v '^ *+' conftest.er1 >conftest.err
23316 rm -f conftest.er1
23317 cat conftest.err >&5
23318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23319 (exit $ac_status); } &&
23320 { ac_try='test -z "$ac_cxx_werror_flag"
23321 || test ! -s conftest.err'
23322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23323 (eval $ac_try) 2>&5
23324 ac_status=$?
23325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23326 (exit $ac_status); }; } &&
23327 { ac_try='test -s conftest.$ac_objext'
23328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23329 (eval $ac_try) 2>&5
23330 ac_status=$?
23331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23332 (exit $ac_status); }; }; then
23333 glibcxx_cv_func_sqrtl_use=yes
23334 else
23335 echo "$as_me: failed program was:" >&5
23336 sed 's/^/| /' conftest.$ac_ext >&5
23338 glibcxx_cv_func_sqrtl_use=no
23340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23341 ac_ext=c
23342 ac_cpp='$CPP $CPPFLAGS'
23343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23351 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
23352 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
23354 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
23356 for ac_func in sqrtl
23358 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23359 echo "$as_me:$LINENO: checking for $ac_func" >&5
23360 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23361 if eval "test \"\${$as_ac_var+set}\" = set"; then
23362 echo $ECHO_N "(cached) $ECHO_C" >&6
23363 else
23364 if test x$gcc_no_link = xyes; then
23365 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23366 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23367 { (exit 1); exit 1; }; }
23369 cat >conftest.$ac_ext <<_ACEOF
23370 /* confdefs.h. */
23371 _ACEOF
23372 cat confdefs.h >>conftest.$ac_ext
23373 cat >>conftest.$ac_ext <<_ACEOF
23374 /* end confdefs.h. */
23375 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23376 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23377 #define $ac_func innocuous_$ac_func
23379 /* System header to define __stub macros and hopefully few prototypes,
23380 which can conflict with char $ac_func (); below.
23381 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23382 <limits.h> exists even on freestanding compilers. */
23384 #ifdef __STDC__
23385 # include <limits.h>
23386 #else
23387 # include <assert.h>
23388 #endif
23390 #undef $ac_func
23392 /* Override any gcc2 internal prototype to avoid an error. */
23393 #ifdef __cplusplus
23394 extern "C"
23396 #endif
23397 /* We use char because int might match the return type of a gcc2
23398 builtin and then its argument prototype would still apply. */
23399 char $ac_func ();
23400 /* The GNU C library defines this for functions which it implements
23401 to always fail with ENOSYS. Some functions are actually named
23402 something starting with __ and the normal name is an alias. */
23403 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23404 choke me
23405 #else
23406 char (*f) () = $ac_func;
23407 #endif
23408 #ifdef __cplusplus
23410 #endif
23413 main ()
23415 return f != $ac_func;
23417 return 0;
23419 _ACEOF
23420 rm -f conftest.$ac_objext conftest$ac_exeext
23421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23422 (eval $ac_link) 2>conftest.er1
23423 ac_status=$?
23424 grep -v '^ *+' conftest.er1 >conftest.err
23425 rm -f conftest.er1
23426 cat conftest.err >&5
23427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23428 (exit $ac_status); } &&
23429 { ac_try='test -z "$ac_c_werror_flag"
23430 || test ! -s conftest.err'
23431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23432 (eval $ac_try) 2>&5
23433 ac_status=$?
23434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23435 (exit $ac_status); }; } &&
23436 { ac_try='test -s conftest$ac_exeext'
23437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23438 (eval $ac_try) 2>&5
23439 ac_status=$?
23440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23441 (exit $ac_status); }; }; then
23442 eval "$as_ac_var=yes"
23443 else
23444 echo "$as_me: failed program was:" >&5
23445 sed 's/^/| /' conftest.$ac_ext >&5
23447 eval "$as_ac_var=no"
23449 rm -f conftest.err conftest.$ac_objext \
23450 conftest$ac_exeext conftest.$ac_ext
23452 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23453 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23454 if test `eval echo '${'$as_ac_var'}'` = yes; then
23455 cat >>confdefs.h <<_ACEOF
23456 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23457 _ACEOF
23460 done
23462 else
23464 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
23465 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
23466 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
23467 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
23468 echo $ECHO_N "(cached) $ECHO_C" >&6
23469 else
23473 ac_ext=cc
23474 ac_cpp='$CXXCPP $CPPFLAGS'
23475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23479 cat >conftest.$ac_ext <<_ACEOF
23480 /* confdefs.h. */
23481 _ACEOF
23482 cat confdefs.h >>conftest.$ac_ext
23483 cat >>conftest.$ac_ext <<_ACEOF
23484 /* end confdefs.h. */
23485 #include <math.h>
23486 #ifdef HAVE_IEEEFP_H
23487 #include <ieeefp.h>
23488 #endif
23491 main ()
23493 _sqrtl(0);
23495 return 0;
23497 _ACEOF
23498 rm -f conftest.$ac_objext
23499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23500 (eval $ac_compile) 2>conftest.er1
23501 ac_status=$?
23502 grep -v '^ *+' conftest.er1 >conftest.err
23503 rm -f conftest.er1
23504 cat conftest.err >&5
23505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23506 (exit $ac_status); } &&
23507 { ac_try='test -z "$ac_cxx_werror_flag"
23508 || test ! -s conftest.err'
23509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23510 (eval $ac_try) 2>&5
23511 ac_status=$?
23512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23513 (exit $ac_status); }; } &&
23514 { ac_try='test -s conftest.$ac_objext'
23515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23516 (eval $ac_try) 2>&5
23517 ac_status=$?
23518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23519 (exit $ac_status); }; }; then
23520 glibcxx_cv_func__sqrtl_use=yes
23521 else
23522 echo "$as_me: failed program was:" >&5
23523 sed 's/^/| /' conftest.$ac_ext >&5
23525 glibcxx_cv_func__sqrtl_use=no
23527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23528 ac_ext=c
23529 ac_cpp='$CPP $CPPFLAGS'
23530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23538 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
23539 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
23541 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
23543 for ac_func in _sqrtl
23545 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23546 echo "$as_me:$LINENO: checking for $ac_func" >&5
23547 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23548 if eval "test \"\${$as_ac_var+set}\" = set"; then
23549 echo $ECHO_N "(cached) $ECHO_C" >&6
23550 else
23551 if test x$gcc_no_link = xyes; then
23552 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23553 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23554 { (exit 1); exit 1; }; }
23556 cat >conftest.$ac_ext <<_ACEOF
23557 /* confdefs.h. */
23558 _ACEOF
23559 cat confdefs.h >>conftest.$ac_ext
23560 cat >>conftest.$ac_ext <<_ACEOF
23561 /* end confdefs.h. */
23562 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23563 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23564 #define $ac_func innocuous_$ac_func
23566 /* System header to define __stub macros and hopefully few prototypes,
23567 which can conflict with char $ac_func (); below.
23568 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23569 <limits.h> exists even on freestanding compilers. */
23571 #ifdef __STDC__
23572 # include <limits.h>
23573 #else
23574 # include <assert.h>
23575 #endif
23577 #undef $ac_func
23579 /* Override any gcc2 internal prototype to avoid an error. */
23580 #ifdef __cplusplus
23581 extern "C"
23583 #endif
23584 /* We use char because int might match the return type of a gcc2
23585 builtin and then its argument prototype would still apply. */
23586 char $ac_func ();
23587 /* The GNU C library defines this for functions which it implements
23588 to always fail with ENOSYS. Some functions are actually named
23589 something starting with __ and the normal name is an alias. */
23590 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23591 choke me
23592 #else
23593 char (*f) () = $ac_func;
23594 #endif
23595 #ifdef __cplusplus
23597 #endif
23600 main ()
23602 return f != $ac_func;
23604 return 0;
23606 _ACEOF
23607 rm -f conftest.$ac_objext conftest$ac_exeext
23608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23609 (eval $ac_link) 2>conftest.er1
23610 ac_status=$?
23611 grep -v '^ *+' conftest.er1 >conftest.err
23612 rm -f conftest.er1
23613 cat conftest.err >&5
23614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23615 (exit $ac_status); } &&
23616 { ac_try='test -z "$ac_c_werror_flag"
23617 || test ! -s conftest.err'
23618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23619 (eval $ac_try) 2>&5
23620 ac_status=$?
23621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23622 (exit $ac_status); }; } &&
23623 { ac_try='test -s conftest$ac_exeext'
23624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23625 (eval $ac_try) 2>&5
23626 ac_status=$?
23627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23628 (exit $ac_status); }; }; then
23629 eval "$as_ac_var=yes"
23630 else
23631 echo "$as_me: failed program was:" >&5
23632 sed 's/^/| /' conftest.$ac_ext >&5
23634 eval "$as_ac_var=no"
23636 rm -f conftest.err conftest.$ac_objext \
23637 conftest$ac_exeext conftest.$ac_ext
23639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23640 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23641 if test `eval echo '${'$as_ac_var'}'` = yes; then
23642 cat >>confdefs.h <<_ACEOF
23643 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23644 _ACEOF
23647 done
23654 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
23655 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
23656 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
23657 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
23658 echo $ECHO_N "(cached) $ECHO_C" >&6
23659 else
23663 ac_ext=cc
23664 ac_cpp='$CXXCPP $CPPFLAGS'
23665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23669 cat >conftest.$ac_ext <<_ACEOF
23670 /* confdefs.h. */
23671 _ACEOF
23672 cat confdefs.h >>conftest.$ac_ext
23673 cat >>conftest.$ac_ext <<_ACEOF
23674 /* end confdefs.h. */
23675 #include <math.h>
23677 main ()
23679 sincosl(0, 0, 0);
23681 return 0;
23683 _ACEOF
23684 rm -f conftest.$ac_objext
23685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23686 (eval $ac_compile) 2>conftest.er1
23687 ac_status=$?
23688 grep -v '^ *+' conftest.er1 >conftest.err
23689 rm -f conftest.er1
23690 cat conftest.err >&5
23691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23692 (exit $ac_status); } &&
23693 { ac_try='test -z "$ac_cxx_werror_flag"
23694 || test ! -s conftest.err'
23695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23696 (eval $ac_try) 2>&5
23697 ac_status=$?
23698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23699 (exit $ac_status); }; } &&
23700 { ac_try='test -s conftest.$ac_objext'
23701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23702 (eval $ac_try) 2>&5
23703 ac_status=$?
23704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23705 (exit $ac_status); }; }; then
23706 glibcxx_cv_func_sincosl_use=yes
23707 else
23708 echo "$as_me: failed program was:" >&5
23709 sed 's/^/| /' conftest.$ac_ext >&5
23711 glibcxx_cv_func_sincosl_use=no
23713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23714 ac_ext=c
23715 ac_cpp='$CPP $CPPFLAGS'
23716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23724 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
23725 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
23727 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
23729 for ac_func in sincosl
23731 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23732 echo "$as_me:$LINENO: checking for $ac_func" >&5
23733 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23734 if eval "test \"\${$as_ac_var+set}\" = set"; then
23735 echo $ECHO_N "(cached) $ECHO_C" >&6
23736 else
23737 if test x$gcc_no_link = xyes; then
23738 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23739 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23740 { (exit 1); exit 1; }; }
23742 cat >conftest.$ac_ext <<_ACEOF
23743 /* confdefs.h. */
23744 _ACEOF
23745 cat confdefs.h >>conftest.$ac_ext
23746 cat >>conftest.$ac_ext <<_ACEOF
23747 /* end confdefs.h. */
23748 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23749 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23750 #define $ac_func innocuous_$ac_func
23752 /* System header to define __stub macros and hopefully few prototypes,
23753 which can conflict with char $ac_func (); below.
23754 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23755 <limits.h> exists even on freestanding compilers. */
23757 #ifdef __STDC__
23758 # include <limits.h>
23759 #else
23760 # include <assert.h>
23761 #endif
23763 #undef $ac_func
23765 /* Override any gcc2 internal prototype to avoid an error. */
23766 #ifdef __cplusplus
23767 extern "C"
23769 #endif
23770 /* We use char because int might match the return type of a gcc2
23771 builtin and then its argument prototype would still apply. */
23772 char $ac_func ();
23773 /* The GNU C library defines this for functions which it implements
23774 to always fail with ENOSYS. Some functions are actually named
23775 something starting with __ and the normal name is an alias. */
23776 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23777 choke me
23778 #else
23779 char (*f) () = $ac_func;
23780 #endif
23781 #ifdef __cplusplus
23783 #endif
23786 main ()
23788 return f != $ac_func;
23790 return 0;
23792 _ACEOF
23793 rm -f conftest.$ac_objext conftest$ac_exeext
23794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23795 (eval $ac_link) 2>conftest.er1
23796 ac_status=$?
23797 grep -v '^ *+' conftest.er1 >conftest.err
23798 rm -f conftest.er1
23799 cat conftest.err >&5
23800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23801 (exit $ac_status); } &&
23802 { ac_try='test -z "$ac_c_werror_flag"
23803 || test ! -s conftest.err'
23804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23805 (eval $ac_try) 2>&5
23806 ac_status=$?
23807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23808 (exit $ac_status); }; } &&
23809 { ac_try='test -s conftest$ac_exeext'
23810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23811 (eval $ac_try) 2>&5
23812 ac_status=$?
23813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23814 (exit $ac_status); }; }; then
23815 eval "$as_ac_var=yes"
23816 else
23817 echo "$as_me: failed program was:" >&5
23818 sed 's/^/| /' conftest.$ac_ext >&5
23820 eval "$as_ac_var=no"
23822 rm -f conftest.err conftest.$ac_objext \
23823 conftest$ac_exeext conftest.$ac_ext
23825 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23826 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23827 if test `eval echo '${'$as_ac_var'}'` = yes; then
23828 cat >>confdefs.h <<_ACEOF
23829 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23830 _ACEOF
23833 done
23835 else
23837 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
23838 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
23839 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
23840 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
23841 echo $ECHO_N "(cached) $ECHO_C" >&6
23842 else
23846 ac_ext=cc
23847 ac_cpp='$CXXCPP $CPPFLAGS'
23848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23852 cat >conftest.$ac_ext <<_ACEOF
23853 /* confdefs.h. */
23854 _ACEOF
23855 cat confdefs.h >>conftest.$ac_ext
23856 cat >>conftest.$ac_ext <<_ACEOF
23857 /* end confdefs.h. */
23858 #include <math.h>
23860 main ()
23862 _sincosl(0, 0, 0);
23864 return 0;
23866 _ACEOF
23867 rm -f conftest.$ac_objext
23868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23869 (eval $ac_compile) 2>conftest.er1
23870 ac_status=$?
23871 grep -v '^ *+' conftest.er1 >conftest.err
23872 rm -f conftest.er1
23873 cat conftest.err >&5
23874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23875 (exit $ac_status); } &&
23876 { ac_try='test -z "$ac_cxx_werror_flag"
23877 || test ! -s conftest.err'
23878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23879 (eval $ac_try) 2>&5
23880 ac_status=$?
23881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23882 (exit $ac_status); }; } &&
23883 { ac_try='test -s conftest.$ac_objext'
23884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23885 (eval $ac_try) 2>&5
23886 ac_status=$?
23887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23888 (exit $ac_status); }; }; then
23889 glibcxx_cv_func__sincosl_use=yes
23890 else
23891 echo "$as_me: failed program was:" >&5
23892 sed 's/^/| /' conftest.$ac_ext >&5
23894 glibcxx_cv_func__sincosl_use=no
23896 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23897 ac_ext=c
23898 ac_cpp='$CPP $CPPFLAGS'
23899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23907 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
23908 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
23910 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
23912 for ac_func in _sincosl
23914 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23915 echo "$as_me:$LINENO: checking for $ac_func" >&5
23916 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23917 if eval "test \"\${$as_ac_var+set}\" = set"; then
23918 echo $ECHO_N "(cached) $ECHO_C" >&6
23919 else
23920 if test x$gcc_no_link = xyes; then
23921 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23922 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23923 { (exit 1); exit 1; }; }
23925 cat >conftest.$ac_ext <<_ACEOF
23926 /* confdefs.h. */
23927 _ACEOF
23928 cat confdefs.h >>conftest.$ac_ext
23929 cat >>conftest.$ac_ext <<_ACEOF
23930 /* end confdefs.h. */
23931 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23932 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23933 #define $ac_func innocuous_$ac_func
23935 /* System header to define __stub macros and hopefully few prototypes,
23936 which can conflict with char $ac_func (); below.
23937 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23938 <limits.h> exists even on freestanding compilers. */
23940 #ifdef __STDC__
23941 # include <limits.h>
23942 #else
23943 # include <assert.h>
23944 #endif
23946 #undef $ac_func
23948 /* Override any gcc2 internal prototype to avoid an error. */
23949 #ifdef __cplusplus
23950 extern "C"
23952 #endif
23953 /* We use char because int might match the return type of a gcc2
23954 builtin and then its argument prototype would still apply. */
23955 char $ac_func ();
23956 /* The GNU C library defines this for functions which it implements
23957 to always fail with ENOSYS. Some functions are actually named
23958 something starting with __ and the normal name is an alias. */
23959 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23960 choke me
23961 #else
23962 char (*f) () = $ac_func;
23963 #endif
23964 #ifdef __cplusplus
23966 #endif
23969 main ()
23971 return f != $ac_func;
23973 return 0;
23975 _ACEOF
23976 rm -f conftest.$ac_objext conftest$ac_exeext
23977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23978 (eval $ac_link) 2>conftest.er1
23979 ac_status=$?
23980 grep -v '^ *+' conftest.er1 >conftest.err
23981 rm -f conftest.er1
23982 cat conftest.err >&5
23983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23984 (exit $ac_status); } &&
23985 { ac_try='test -z "$ac_c_werror_flag"
23986 || test ! -s conftest.err'
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); }; } &&
23992 { ac_try='test -s conftest$ac_exeext'
23993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23994 (eval $ac_try) 2>&5
23995 ac_status=$?
23996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23997 (exit $ac_status); }; }; then
23998 eval "$as_ac_var=yes"
23999 else
24000 echo "$as_me: failed program was:" >&5
24001 sed 's/^/| /' conftest.$ac_ext >&5
24003 eval "$as_ac_var=no"
24005 rm -f conftest.err conftest.$ac_objext \
24006 conftest$ac_exeext conftest.$ac_ext
24008 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24009 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24010 if test `eval echo '${'$as_ac_var'}'` = yes; then
24011 cat >>confdefs.h <<_ACEOF
24012 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24013 _ACEOF
24016 done
24023 echo "$as_me:$LINENO: checking for finitel declaration" >&5
24024 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
24025 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
24026 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
24027 echo $ECHO_N "(cached) $ECHO_C" >&6
24028 else
24032 ac_ext=cc
24033 ac_cpp='$CXXCPP $CPPFLAGS'
24034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24038 cat >conftest.$ac_ext <<_ACEOF
24039 /* confdefs.h. */
24040 _ACEOF
24041 cat confdefs.h >>conftest.$ac_ext
24042 cat >>conftest.$ac_ext <<_ACEOF
24043 /* end confdefs.h. */
24044 #include <math.h>
24045 #ifdef HAVE_IEEEFP_H
24046 #include <ieeefp.h>
24047 #endif
24050 main ()
24052 finitel(0);
24054 return 0;
24056 _ACEOF
24057 rm -f conftest.$ac_objext
24058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24059 (eval $ac_compile) 2>conftest.er1
24060 ac_status=$?
24061 grep -v '^ *+' conftest.er1 >conftest.err
24062 rm -f conftest.er1
24063 cat conftest.err >&5
24064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24065 (exit $ac_status); } &&
24066 { ac_try='test -z "$ac_cxx_werror_flag"
24067 || test ! -s conftest.err'
24068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24069 (eval $ac_try) 2>&5
24070 ac_status=$?
24071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24072 (exit $ac_status); }; } &&
24073 { ac_try='test -s conftest.$ac_objext'
24074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24075 (eval $ac_try) 2>&5
24076 ac_status=$?
24077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24078 (exit $ac_status); }; }; then
24079 glibcxx_cv_func_finitel_use=yes
24080 else
24081 echo "$as_me: failed program was:" >&5
24082 sed 's/^/| /' conftest.$ac_ext >&5
24084 glibcxx_cv_func_finitel_use=no
24086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24087 ac_ext=c
24088 ac_cpp='$CPP $CPPFLAGS'
24089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24097 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
24098 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
24100 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
24102 for ac_func in finitel
24104 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24105 echo "$as_me:$LINENO: checking for $ac_func" >&5
24106 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24107 if eval "test \"\${$as_ac_var+set}\" = set"; then
24108 echo $ECHO_N "(cached) $ECHO_C" >&6
24109 else
24110 if test x$gcc_no_link = xyes; then
24111 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24112 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24113 { (exit 1); exit 1; }; }
24115 cat >conftest.$ac_ext <<_ACEOF
24116 /* confdefs.h. */
24117 _ACEOF
24118 cat confdefs.h >>conftest.$ac_ext
24119 cat >>conftest.$ac_ext <<_ACEOF
24120 /* end confdefs.h. */
24121 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24122 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24123 #define $ac_func innocuous_$ac_func
24125 /* System header to define __stub macros and hopefully few prototypes,
24126 which can conflict with char $ac_func (); below.
24127 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24128 <limits.h> exists even on freestanding compilers. */
24130 #ifdef __STDC__
24131 # include <limits.h>
24132 #else
24133 # include <assert.h>
24134 #endif
24136 #undef $ac_func
24138 /* Override any gcc2 internal prototype to avoid an error. */
24139 #ifdef __cplusplus
24140 extern "C"
24142 #endif
24143 /* We use char because int might match the return type of a gcc2
24144 builtin and then its argument prototype would still apply. */
24145 char $ac_func ();
24146 /* The GNU C library defines this for functions which it implements
24147 to always fail with ENOSYS. Some functions are actually named
24148 something starting with __ and the normal name is an alias. */
24149 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24150 choke me
24151 #else
24152 char (*f) () = $ac_func;
24153 #endif
24154 #ifdef __cplusplus
24156 #endif
24159 main ()
24161 return f != $ac_func;
24163 return 0;
24165 _ACEOF
24166 rm -f conftest.$ac_objext conftest$ac_exeext
24167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24168 (eval $ac_link) 2>conftest.er1
24169 ac_status=$?
24170 grep -v '^ *+' conftest.er1 >conftest.err
24171 rm -f conftest.er1
24172 cat conftest.err >&5
24173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24174 (exit $ac_status); } &&
24175 { ac_try='test -z "$ac_c_werror_flag"
24176 || test ! -s conftest.err'
24177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24178 (eval $ac_try) 2>&5
24179 ac_status=$?
24180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24181 (exit $ac_status); }; } &&
24182 { ac_try='test -s conftest$ac_exeext'
24183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24184 (eval $ac_try) 2>&5
24185 ac_status=$?
24186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24187 (exit $ac_status); }; }; then
24188 eval "$as_ac_var=yes"
24189 else
24190 echo "$as_me: failed program was:" >&5
24191 sed 's/^/| /' conftest.$ac_ext >&5
24193 eval "$as_ac_var=no"
24195 rm -f conftest.err conftest.$ac_objext \
24196 conftest$ac_exeext conftest.$ac_ext
24198 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24199 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24200 if test `eval echo '${'$as_ac_var'}'` = yes; then
24201 cat >>confdefs.h <<_ACEOF
24202 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24203 _ACEOF
24206 done
24208 else
24210 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
24211 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
24212 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
24213 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
24214 echo $ECHO_N "(cached) $ECHO_C" >&6
24215 else
24219 ac_ext=cc
24220 ac_cpp='$CXXCPP $CPPFLAGS'
24221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24225 cat >conftest.$ac_ext <<_ACEOF
24226 /* confdefs.h. */
24227 _ACEOF
24228 cat confdefs.h >>conftest.$ac_ext
24229 cat >>conftest.$ac_ext <<_ACEOF
24230 /* end confdefs.h. */
24231 #include <math.h>
24232 #ifdef HAVE_IEEEFP_H
24233 #include <ieeefp.h>
24234 #endif
24237 main ()
24239 _finitel(0);
24241 return 0;
24243 _ACEOF
24244 rm -f conftest.$ac_objext
24245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24246 (eval $ac_compile) 2>conftest.er1
24247 ac_status=$?
24248 grep -v '^ *+' conftest.er1 >conftest.err
24249 rm -f conftest.er1
24250 cat conftest.err >&5
24251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24252 (exit $ac_status); } &&
24253 { ac_try='test -z "$ac_cxx_werror_flag"
24254 || test ! -s conftest.err'
24255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24256 (eval $ac_try) 2>&5
24257 ac_status=$?
24258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24259 (exit $ac_status); }; } &&
24260 { ac_try='test -s conftest.$ac_objext'
24261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24262 (eval $ac_try) 2>&5
24263 ac_status=$?
24264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24265 (exit $ac_status); }; }; then
24266 glibcxx_cv_func__finitel_use=yes
24267 else
24268 echo "$as_me: failed program was:" >&5
24269 sed 's/^/| /' conftest.$ac_ext >&5
24271 glibcxx_cv_func__finitel_use=no
24273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24274 ac_ext=c
24275 ac_cpp='$CPP $CPPFLAGS'
24276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24284 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
24285 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
24287 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
24289 for ac_func in _finitel
24291 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24292 echo "$as_me:$LINENO: checking for $ac_func" >&5
24293 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24294 if eval "test \"\${$as_ac_var+set}\" = set"; then
24295 echo $ECHO_N "(cached) $ECHO_C" >&6
24296 else
24297 if test x$gcc_no_link = xyes; then
24298 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24299 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24300 { (exit 1); exit 1; }; }
24302 cat >conftest.$ac_ext <<_ACEOF
24303 /* confdefs.h. */
24304 _ACEOF
24305 cat confdefs.h >>conftest.$ac_ext
24306 cat >>conftest.$ac_ext <<_ACEOF
24307 /* end confdefs.h. */
24308 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24309 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24310 #define $ac_func innocuous_$ac_func
24312 /* System header to define __stub macros and hopefully few prototypes,
24313 which can conflict with char $ac_func (); below.
24314 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24315 <limits.h> exists even on freestanding compilers. */
24317 #ifdef __STDC__
24318 # include <limits.h>
24319 #else
24320 # include <assert.h>
24321 #endif
24323 #undef $ac_func
24325 /* Override any gcc2 internal prototype to avoid an error. */
24326 #ifdef __cplusplus
24327 extern "C"
24329 #endif
24330 /* We use char because int might match the return type of a gcc2
24331 builtin and then its argument prototype would still apply. */
24332 char $ac_func ();
24333 /* The GNU C library defines this for functions which it implements
24334 to always fail with ENOSYS. Some functions are actually named
24335 something starting with __ and the normal name is an alias. */
24336 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24337 choke me
24338 #else
24339 char (*f) () = $ac_func;
24340 #endif
24341 #ifdef __cplusplus
24343 #endif
24346 main ()
24348 return f != $ac_func;
24350 return 0;
24352 _ACEOF
24353 rm -f conftest.$ac_objext conftest$ac_exeext
24354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24355 (eval $ac_link) 2>conftest.er1
24356 ac_status=$?
24357 grep -v '^ *+' conftest.er1 >conftest.err
24358 rm -f conftest.er1
24359 cat conftest.err >&5
24360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24361 (exit $ac_status); } &&
24362 { ac_try='test -z "$ac_c_werror_flag"
24363 || test ! -s conftest.err'
24364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24365 (eval $ac_try) 2>&5
24366 ac_status=$?
24367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24368 (exit $ac_status); }; } &&
24369 { ac_try='test -s conftest$ac_exeext'
24370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24371 (eval $ac_try) 2>&5
24372 ac_status=$?
24373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24374 (exit $ac_status); }; }; then
24375 eval "$as_ac_var=yes"
24376 else
24377 echo "$as_me: failed program was:" >&5
24378 sed 's/^/| /' conftest.$ac_ext >&5
24380 eval "$as_ac_var=no"
24382 rm -f conftest.err conftest.$ac_objext \
24383 conftest$ac_exeext conftest.$ac_ext
24385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24386 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24387 if test `eval echo '${'$as_ac_var'}'` = yes; then
24388 cat >>confdefs.h <<_ACEOF
24389 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24390 _ACEOF
24393 done
24401 echo "$as_me:$LINENO: checking for _float trig functions" >&5
24402 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
24403 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
24404 echo $ECHO_N "(cached) $ECHO_C" >&6
24405 else
24409 ac_ext=cc
24410 ac_cpp='$CXXCPP $CPPFLAGS'
24411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24415 cat >conftest.$ac_ext <<_ACEOF
24416 /* confdefs.h. */
24417 _ACEOF
24418 cat confdefs.h >>conftest.$ac_ext
24419 cat >>conftest.$ac_ext <<_ACEOF
24420 /* end confdefs.h. */
24421 #include <math.h>
24423 main ()
24425 `for x in _acosf _asinf _atanf \
24426 _cosf _sinf _tanf \
24427 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
24429 return 0;
24431 _ACEOF
24432 rm -f conftest.$ac_objext
24433 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24434 (eval $ac_compile) 2>conftest.er1
24435 ac_status=$?
24436 grep -v '^ *+' conftest.er1 >conftest.err
24437 rm -f conftest.er1
24438 cat conftest.err >&5
24439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24440 (exit $ac_status); } &&
24441 { ac_try='test -z "$ac_cxx_werror_flag"
24442 || test ! -s conftest.err'
24443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24444 (eval $ac_try) 2>&5
24445 ac_status=$?
24446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24447 (exit $ac_status); }; } &&
24448 { ac_try='test -s conftest.$ac_objext'
24449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24450 (eval $ac_try) 2>&5
24451 ac_status=$?
24452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24453 (exit $ac_status); }; }; then
24454 glibcxx_cv_func__float_trig_use=yes
24455 else
24456 echo "$as_me: failed program was:" >&5
24457 sed 's/^/| /' conftest.$ac_ext >&5
24459 glibcxx_cv_func__float_trig_use=no
24461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24462 ac_ext=c
24463 ac_cpp='$CPP $CPPFLAGS'
24464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24470 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
24471 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
24472 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
24482 for ac_func in _acosf _asinf _atanf \
24483 _cosf _sinf _tanf \
24484 _coshf _sinhf _tanhf
24486 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24487 echo "$as_me:$LINENO: checking for $ac_func" >&5
24488 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24489 if eval "test \"\${$as_ac_var+set}\" = set"; then
24490 echo $ECHO_N "(cached) $ECHO_C" >&6
24491 else
24492 if test x$gcc_no_link = xyes; then
24493 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24494 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24495 { (exit 1); exit 1; }; }
24497 cat >conftest.$ac_ext <<_ACEOF
24498 /* confdefs.h. */
24499 _ACEOF
24500 cat confdefs.h >>conftest.$ac_ext
24501 cat >>conftest.$ac_ext <<_ACEOF
24502 /* end confdefs.h. */
24503 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24504 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24505 #define $ac_func innocuous_$ac_func
24507 /* System header to define __stub macros and hopefully few prototypes,
24508 which can conflict with char $ac_func (); below.
24509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24510 <limits.h> exists even on freestanding compilers. */
24512 #ifdef __STDC__
24513 # include <limits.h>
24514 #else
24515 # include <assert.h>
24516 #endif
24518 #undef $ac_func
24520 /* Override any gcc2 internal prototype to avoid an error. */
24521 #ifdef __cplusplus
24522 extern "C"
24524 #endif
24525 /* We use char because int might match the return type of a gcc2
24526 builtin and then its argument prototype would still apply. */
24527 char $ac_func ();
24528 /* The GNU C library defines this for functions which it implements
24529 to always fail with ENOSYS. Some functions are actually named
24530 something starting with __ and the normal name is an alias. */
24531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24532 choke me
24533 #else
24534 char (*f) () = $ac_func;
24535 #endif
24536 #ifdef __cplusplus
24538 #endif
24541 main ()
24543 return f != $ac_func;
24545 return 0;
24547 _ACEOF
24548 rm -f conftest.$ac_objext conftest$ac_exeext
24549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24550 (eval $ac_link) 2>conftest.er1
24551 ac_status=$?
24552 grep -v '^ *+' conftest.er1 >conftest.err
24553 rm -f conftest.er1
24554 cat conftest.err >&5
24555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24556 (exit $ac_status); } &&
24557 { ac_try='test -z "$ac_c_werror_flag"
24558 || test ! -s conftest.err'
24559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24560 (eval $ac_try) 2>&5
24561 ac_status=$?
24562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24563 (exit $ac_status); }; } &&
24564 { ac_try='test -s conftest$ac_exeext'
24565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24566 (eval $ac_try) 2>&5
24567 ac_status=$?
24568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24569 (exit $ac_status); }; }; then
24570 eval "$as_ac_var=yes"
24571 else
24572 echo "$as_me: failed program was:" >&5
24573 sed 's/^/| /' conftest.$ac_ext >&5
24575 eval "$as_ac_var=no"
24577 rm -f conftest.err conftest.$ac_objext \
24578 conftest$ac_exeext conftest.$ac_ext
24580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24581 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24582 if test `eval echo '${'$as_ac_var'}'` = yes; then
24583 cat >>confdefs.h <<_ACEOF
24584 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24585 _ACEOF
24588 done
24593 echo "$as_me:$LINENO: checking for _float round functions" >&5
24594 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
24595 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
24596 echo $ECHO_N "(cached) $ECHO_C" >&6
24597 else
24601 ac_ext=cc
24602 ac_cpp='$CXXCPP $CPPFLAGS'
24603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24607 cat >conftest.$ac_ext <<_ACEOF
24608 /* confdefs.h. */
24609 _ACEOF
24610 cat confdefs.h >>conftest.$ac_ext
24611 cat >>conftest.$ac_ext <<_ACEOF
24612 /* end confdefs.h. */
24613 #include <math.h>
24615 main ()
24617 `for x in _ceilf _floorf; do echo "$x (0);"; done`
24619 return 0;
24621 _ACEOF
24622 rm -f conftest.$ac_objext
24623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24624 (eval $ac_compile) 2>conftest.er1
24625 ac_status=$?
24626 grep -v '^ *+' conftest.er1 >conftest.err
24627 rm -f conftest.er1
24628 cat conftest.err >&5
24629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24630 (exit $ac_status); } &&
24631 { ac_try='test -z "$ac_cxx_werror_flag"
24632 || test ! -s conftest.err'
24633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24634 (eval $ac_try) 2>&5
24635 ac_status=$?
24636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24637 (exit $ac_status); }; } &&
24638 { ac_try='test -s conftest.$ac_objext'
24639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24640 (eval $ac_try) 2>&5
24641 ac_status=$?
24642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24643 (exit $ac_status); }; }; then
24644 glibcxx_cv_func__float_round_use=yes
24645 else
24646 echo "$as_me: failed program was:" >&5
24647 sed 's/^/| /' conftest.$ac_ext >&5
24649 glibcxx_cv_func__float_round_use=no
24651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24652 ac_ext=c
24653 ac_cpp='$CPP $CPPFLAGS'
24654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24660 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
24661 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
24662 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
24665 for ac_func in _ceilf _floorf
24667 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24668 echo "$as_me:$LINENO: checking for $ac_func" >&5
24669 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24670 if eval "test \"\${$as_ac_var+set}\" = set"; then
24671 echo $ECHO_N "(cached) $ECHO_C" >&6
24672 else
24673 if test x$gcc_no_link = xyes; then
24674 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24675 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24676 { (exit 1); exit 1; }; }
24678 cat >conftest.$ac_ext <<_ACEOF
24679 /* confdefs.h. */
24680 _ACEOF
24681 cat confdefs.h >>conftest.$ac_ext
24682 cat >>conftest.$ac_ext <<_ACEOF
24683 /* end confdefs.h. */
24684 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24685 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24686 #define $ac_func innocuous_$ac_func
24688 /* System header to define __stub macros and hopefully few prototypes,
24689 which can conflict with char $ac_func (); below.
24690 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24691 <limits.h> exists even on freestanding compilers. */
24693 #ifdef __STDC__
24694 # include <limits.h>
24695 #else
24696 # include <assert.h>
24697 #endif
24699 #undef $ac_func
24701 /* Override any gcc2 internal prototype to avoid an error. */
24702 #ifdef __cplusplus
24703 extern "C"
24705 #endif
24706 /* We use char because int might match the return type of a gcc2
24707 builtin and then its argument prototype would still apply. */
24708 char $ac_func ();
24709 /* The GNU C library defines this for functions which it implements
24710 to always fail with ENOSYS. Some functions are actually named
24711 something starting with __ and the normal name is an alias. */
24712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24713 choke me
24714 #else
24715 char (*f) () = $ac_func;
24716 #endif
24717 #ifdef __cplusplus
24719 #endif
24722 main ()
24724 return f != $ac_func;
24726 return 0;
24728 _ACEOF
24729 rm -f conftest.$ac_objext conftest$ac_exeext
24730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24731 (eval $ac_link) 2>conftest.er1
24732 ac_status=$?
24733 grep -v '^ *+' conftest.er1 >conftest.err
24734 rm -f conftest.er1
24735 cat conftest.err >&5
24736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24737 (exit $ac_status); } &&
24738 { ac_try='test -z "$ac_c_werror_flag"
24739 || test ! -s conftest.err'
24740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24741 (eval $ac_try) 2>&5
24742 ac_status=$?
24743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24744 (exit $ac_status); }; } &&
24745 { ac_try='test -s conftest$ac_exeext'
24746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24747 (eval $ac_try) 2>&5
24748 ac_status=$?
24749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24750 (exit $ac_status); }; }; then
24751 eval "$as_ac_var=yes"
24752 else
24753 echo "$as_me: failed program was:" >&5
24754 sed 's/^/| /' conftest.$ac_ext >&5
24756 eval "$as_ac_var=no"
24758 rm -f conftest.err conftest.$ac_objext \
24759 conftest$ac_exeext conftest.$ac_ext
24761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24762 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24763 if test `eval echo '${'$as_ac_var'}'` = yes; then
24764 cat >>confdefs.h <<_ACEOF
24765 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24766 _ACEOF
24769 done
24775 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
24776 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
24777 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
24778 echo $ECHO_N "(cached) $ECHO_C" >&6
24779 else
24783 ac_ext=cc
24784 ac_cpp='$CXXCPP $CPPFLAGS'
24785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24789 cat >conftest.$ac_ext <<_ACEOF
24790 /* confdefs.h. */
24791 _ACEOF
24792 cat confdefs.h >>conftest.$ac_ext
24793 cat >>conftest.$ac_ext <<_ACEOF
24794 /* end confdefs.h. */
24795 #include <math.h>
24797 main ()
24799 `for x in _acosl _asinl _atanl \
24800 _cosl _sinl _tanl \
24801 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
24803 return 0;
24805 _ACEOF
24806 rm -f conftest.$ac_objext
24807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24808 (eval $ac_compile) 2>conftest.er1
24809 ac_status=$?
24810 grep -v '^ *+' conftest.er1 >conftest.err
24811 rm -f conftest.er1
24812 cat conftest.err >&5
24813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24814 (exit $ac_status); } &&
24815 { ac_try='test -z "$ac_cxx_werror_flag"
24816 || test ! -s conftest.err'
24817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24818 (eval $ac_try) 2>&5
24819 ac_status=$?
24820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24821 (exit $ac_status); }; } &&
24822 { ac_try='test -s conftest.$ac_objext'
24823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24824 (eval $ac_try) 2>&5
24825 ac_status=$?
24826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24827 (exit $ac_status); }; }; then
24828 glibcxx_cv_func__long_double_trig_use=yes
24829 else
24830 echo "$as_me: failed program was:" >&5
24831 sed 's/^/| /' conftest.$ac_ext >&5
24833 glibcxx_cv_func__long_double_trig_use=no
24835 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24836 ac_ext=c
24837 ac_cpp='$CPP $CPPFLAGS'
24838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24844 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
24845 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
24846 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24856 for ac_func in _acosl _asinl _atanl \
24857 _cosl _sinl _tanl \
24858 _coshl _sinhl _tanhl
24860 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24861 echo "$as_me:$LINENO: checking for $ac_func" >&5
24862 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24863 if eval "test \"\${$as_ac_var+set}\" = set"; then
24864 echo $ECHO_N "(cached) $ECHO_C" >&6
24865 else
24866 if test x$gcc_no_link = xyes; then
24867 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24868 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24869 { (exit 1); exit 1; }; }
24871 cat >conftest.$ac_ext <<_ACEOF
24872 /* confdefs.h. */
24873 _ACEOF
24874 cat confdefs.h >>conftest.$ac_ext
24875 cat >>conftest.$ac_ext <<_ACEOF
24876 /* end confdefs.h. */
24877 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24878 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24879 #define $ac_func innocuous_$ac_func
24881 /* System header to define __stub macros and hopefully few prototypes,
24882 which can conflict with char $ac_func (); below.
24883 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24884 <limits.h> exists even on freestanding compilers. */
24886 #ifdef __STDC__
24887 # include <limits.h>
24888 #else
24889 # include <assert.h>
24890 #endif
24892 #undef $ac_func
24894 /* Override any gcc2 internal prototype to avoid an error. */
24895 #ifdef __cplusplus
24896 extern "C"
24898 #endif
24899 /* We use char because int might match the return type of a gcc2
24900 builtin and then its argument prototype would still apply. */
24901 char $ac_func ();
24902 /* The GNU C library defines this for functions which it implements
24903 to always fail with ENOSYS. Some functions are actually named
24904 something starting with __ and the normal name is an alias. */
24905 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24906 choke me
24907 #else
24908 char (*f) () = $ac_func;
24909 #endif
24910 #ifdef __cplusplus
24912 #endif
24915 main ()
24917 return f != $ac_func;
24919 return 0;
24921 _ACEOF
24922 rm -f conftest.$ac_objext conftest$ac_exeext
24923 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24924 (eval $ac_link) 2>conftest.er1
24925 ac_status=$?
24926 grep -v '^ *+' conftest.er1 >conftest.err
24927 rm -f conftest.er1
24928 cat conftest.err >&5
24929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24930 (exit $ac_status); } &&
24931 { ac_try='test -z "$ac_c_werror_flag"
24932 || test ! -s conftest.err'
24933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24934 (eval $ac_try) 2>&5
24935 ac_status=$?
24936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24937 (exit $ac_status); }; } &&
24938 { ac_try='test -s conftest$ac_exeext'
24939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24940 (eval $ac_try) 2>&5
24941 ac_status=$?
24942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24943 (exit $ac_status); }; }; then
24944 eval "$as_ac_var=yes"
24945 else
24946 echo "$as_me: failed program was:" >&5
24947 sed 's/^/| /' conftest.$ac_ext >&5
24949 eval "$as_ac_var=no"
24951 rm -f conftest.err conftest.$ac_objext \
24952 conftest$ac_exeext conftest.$ac_ext
24954 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24955 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24956 if test `eval echo '${'$as_ac_var'}'` = yes; then
24957 cat >>confdefs.h <<_ACEOF
24958 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24959 _ACEOF
24962 done
24967 echo "$as_me:$LINENO: checking for _long double round functions" >&5
24968 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
24969 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
24970 echo $ECHO_N "(cached) $ECHO_C" >&6
24971 else
24975 ac_ext=cc
24976 ac_cpp='$CXXCPP $CPPFLAGS'
24977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24981 cat >conftest.$ac_ext <<_ACEOF
24982 /* confdefs.h. */
24983 _ACEOF
24984 cat confdefs.h >>conftest.$ac_ext
24985 cat >>conftest.$ac_ext <<_ACEOF
24986 /* end confdefs.h. */
24987 #include <math.h>
24989 main ()
24991 `for x in _ceill _floorl; do echo "$x (0);"; done`
24993 return 0;
24995 _ACEOF
24996 rm -f conftest.$ac_objext
24997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24998 (eval $ac_compile) 2>conftest.er1
24999 ac_status=$?
25000 grep -v '^ *+' conftest.er1 >conftest.err
25001 rm -f conftest.er1
25002 cat conftest.err >&5
25003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25004 (exit $ac_status); } &&
25005 { ac_try='test -z "$ac_cxx_werror_flag"
25006 || test ! -s conftest.err'
25007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25008 (eval $ac_try) 2>&5
25009 ac_status=$?
25010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25011 (exit $ac_status); }; } &&
25012 { ac_try='test -s conftest.$ac_objext'
25013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25014 (eval $ac_try) 2>&5
25015 ac_status=$?
25016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25017 (exit $ac_status); }; }; then
25018 glibcxx_cv_func__long_double_round_use=yes
25019 else
25020 echo "$as_me: failed program was:" >&5
25021 sed 's/^/| /' conftest.$ac_ext >&5
25023 glibcxx_cv_func__long_double_round_use=no
25025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25026 ac_ext=c
25027 ac_cpp='$CPP $CPPFLAGS'
25028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25034 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
25035 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
25036 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
25039 for ac_func in _ceill _floorl
25041 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25042 echo "$as_me:$LINENO: checking for $ac_func" >&5
25043 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25044 if eval "test \"\${$as_ac_var+set}\" = set"; then
25045 echo $ECHO_N "(cached) $ECHO_C" >&6
25046 else
25047 if test x$gcc_no_link = xyes; then
25048 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25049 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25050 { (exit 1); exit 1; }; }
25052 cat >conftest.$ac_ext <<_ACEOF
25053 /* confdefs.h. */
25054 _ACEOF
25055 cat confdefs.h >>conftest.$ac_ext
25056 cat >>conftest.$ac_ext <<_ACEOF
25057 /* end confdefs.h. */
25058 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25059 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25060 #define $ac_func innocuous_$ac_func
25062 /* System header to define __stub macros and hopefully few prototypes,
25063 which can conflict with char $ac_func (); below.
25064 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25065 <limits.h> exists even on freestanding compilers. */
25067 #ifdef __STDC__
25068 # include <limits.h>
25069 #else
25070 # include <assert.h>
25071 #endif
25073 #undef $ac_func
25075 /* Override any gcc2 internal prototype to avoid an error. */
25076 #ifdef __cplusplus
25077 extern "C"
25079 #endif
25080 /* We use char because int might match the return type of a gcc2
25081 builtin and then its argument prototype would still apply. */
25082 char $ac_func ();
25083 /* The GNU C library defines this for functions which it implements
25084 to always fail with ENOSYS. Some functions are actually named
25085 something starting with __ and the normal name is an alias. */
25086 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25087 choke me
25088 #else
25089 char (*f) () = $ac_func;
25090 #endif
25091 #ifdef __cplusplus
25093 #endif
25096 main ()
25098 return f != $ac_func;
25100 return 0;
25102 _ACEOF
25103 rm -f conftest.$ac_objext conftest$ac_exeext
25104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25105 (eval $ac_link) 2>conftest.er1
25106 ac_status=$?
25107 grep -v '^ *+' conftest.er1 >conftest.err
25108 rm -f conftest.er1
25109 cat conftest.err >&5
25110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25111 (exit $ac_status); } &&
25112 { ac_try='test -z "$ac_c_werror_flag"
25113 || test ! -s conftest.err'
25114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25115 (eval $ac_try) 2>&5
25116 ac_status=$?
25117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25118 (exit $ac_status); }; } &&
25119 { ac_try='test -s conftest$ac_exeext'
25120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25121 (eval $ac_try) 2>&5
25122 ac_status=$?
25123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25124 (exit $ac_status); }; }; then
25125 eval "$as_ac_var=yes"
25126 else
25127 echo "$as_me: failed program was:" >&5
25128 sed 's/^/| /' conftest.$ac_ext >&5
25130 eval "$as_ac_var=no"
25132 rm -f conftest.err conftest.$ac_objext \
25133 conftest$ac_exeext conftest.$ac_ext
25135 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25136 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25137 if test `eval echo '${'$as_ac_var'}'` = yes; then
25138 cat >>confdefs.h <<_ACEOF
25139 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25140 _ACEOF
25143 done
25148 LIBS="$ac_save_LIBS"
25149 CXXFLAGS="$ac_save_CXXFLAGS"
25153 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
25154 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
25155 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
25156 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
25157 echo $ECHO_N "(cached) $ECHO_C" >&6
25158 else
25162 ac_ext=cc
25163 ac_cpp='$CXXCPP $CPPFLAGS'
25164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25168 cat >conftest.$ac_ext <<_ACEOF
25169 /* confdefs.h. */
25170 _ACEOF
25171 cat confdefs.h >>conftest.$ac_ext
25172 cat >>conftest.$ac_ext <<_ACEOF
25173 /* end confdefs.h. */
25174 #include <math.h>
25176 main ()
25178 __builtin_abs(0);
25180 return 0;
25182 _ACEOF
25183 rm -f conftest.$ac_objext
25184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25185 (eval $ac_compile) 2>conftest.er1
25186 ac_status=$?
25187 grep -v '^ *+' conftest.er1 >conftest.err
25188 rm -f conftest.er1
25189 cat conftest.err >&5
25190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25191 (exit $ac_status); } &&
25192 { ac_try='test -z "$ac_cxx_werror_flag"
25193 || test ! -s conftest.err'
25194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25195 (eval $ac_try) 2>&5
25196 ac_status=$?
25197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25198 (exit $ac_status); }; } &&
25199 { ac_try='test -s conftest.$ac_objext'
25200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25201 (eval $ac_try) 2>&5
25202 ac_status=$?
25203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25204 (exit $ac_status); }; }; then
25205 glibcxx_cv_func___builtin_abs_use=yes
25206 else
25207 echo "$as_me: failed program was:" >&5
25208 sed 's/^/| /' conftest.$ac_ext >&5
25210 glibcxx_cv_func___builtin_abs_use=no
25212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25213 ac_ext=c
25214 ac_cpp='$CPP $CPPFLAGS'
25215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25223 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
25224 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
25225 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
25226 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
25227 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
25228 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
25229 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
25230 echo $ECHO_N "(cached) $ECHO_C" >&6
25231 else
25233 if test x$gcc_no_link = xyes; then
25234 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25235 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25236 { (exit 1); exit 1; }; }
25238 cat >conftest.$ac_ext <<_ACEOF
25239 /* confdefs.h. */
25240 _ACEOF
25241 cat confdefs.h >>conftest.$ac_ext
25242 cat >>conftest.$ac_ext <<_ACEOF
25243 /* end confdefs.h. */
25244 #include <math.h>
25246 main ()
25248 __builtin_abs(0);
25250 return 0;
25252 _ACEOF
25253 rm -f conftest.$ac_objext conftest$ac_exeext
25254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25255 (eval $ac_link) 2>conftest.er1
25256 ac_status=$?
25257 grep -v '^ *+' conftest.er1 >conftest.err
25258 rm -f conftest.er1
25259 cat conftest.err >&5
25260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25261 (exit $ac_status); } &&
25262 { ac_try='test -z "$ac_c_werror_flag"
25263 || test ! -s conftest.err'
25264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25265 (eval $ac_try) 2>&5
25266 ac_status=$?
25267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25268 (exit $ac_status); }; } &&
25269 { ac_try='test -s conftest$ac_exeext'
25270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25271 (eval $ac_try) 2>&5
25272 ac_status=$?
25273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25274 (exit $ac_status); }; }; then
25275 glibcxx_cv_func___builtin_abs_link=yes
25276 else
25277 echo "$as_me: failed program was:" >&5
25278 sed 's/^/| /' conftest.$ac_ext >&5
25280 glibcxx_cv_func___builtin_abs_link=no
25282 rm -f conftest.err conftest.$ac_objext \
25283 conftest$ac_exeext conftest.$ac_ext
25288 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
25289 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
25290 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
25291 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25293 cat >>confdefs.h <<_ACEOF
25294 #define ${ac_tr_func} 1
25295 _ACEOF
25301 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
25302 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
25303 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
25304 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
25305 echo $ECHO_N "(cached) $ECHO_C" >&6
25306 else
25310 ac_ext=cc
25311 ac_cpp='$CXXCPP $CPPFLAGS'
25312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25316 cat >conftest.$ac_ext <<_ACEOF
25317 /* confdefs.h. */
25318 _ACEOF
25319 cat confdefs.h >>conftest.$ac_ext
25320 cat >>conftest.$ac_ext <<_ACEOF
25321 /* end confdefs.h. */
25322 #include <math.h>
25324 main ()
25326 __builtin_fabsf(0);
25328 return 0;
25330 _ACEOF
25331 rm -f conftest.$ac_objext
25332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25333 (eval $ac_compile) 2>conftest.er1
25334 ac_status=$?
25335 grep -v '^ *+' conftest.er1 >conftest.err
25336 rm -f conftest.er1
25337 cat conftest.err >&5
25338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25339 (exit $ac_status); } &&
25340 { ac_try='test -z "$ac_cxx_werror_flag"
25341 || test ! -s conftest.err'
25342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25343 (eval $ac_try) 2>&5
25344 ac_status=$?
25345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25346 (exit $ac_status); }; } &&
25347 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
25353 glibcxx_cv_func___builtin_fabsf_use=yes
25354 else
25355 echo "$as_me: failed program was:" >&5
25356 sed 's/^/| /' conftest.$ac_ext >&5
25358 glibcxx_cv_func___builtin_fabsf_use=no
25360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25361 ac_ext=c
25362 ac_cpp='$CPP $CPPFLAGS'
25363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25371 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
25372 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
25373 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
25374 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
25375 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
25376 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
25377 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
25378 echo $ECHO_N "(cached) $ECHO_C" >&6
25379 else
25381 if test x$gcc_no_link = xyes; then
25382 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25383 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25384 { (exit 1); exit 1; }; }
25386 cat >conftest.$ac_ext <<_ACEOF
25387 /* confdefs.h. */
25388 _ACEOF
25389 cat confdefs.h >>conftest.$ac_ext
25390 cat >>conftest.$ac_ext <<_ACEOF
25391 /* end confdefs.h. */
25392 #include <math.h>
25394 main ()
25396 __builtin_fabsf(0);
25398 return 0;
25400 _ACEOF
25401 rm -f conftest.$ac_objext conftest$ac_exeext
25402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25403 (eval $ac_link) 2>conftest.er1
25404 ac_status=$?
25405 grep -v '^ *+' conftest.er1 >conftest.err
25406 rm -f conftest.er1
25407 cat conftest.err >&5
25408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25409 (exit $ac_status); } &&
25410 { ac_try='test -z "$ac_c_werror_flag"
25411 || test ! -s conftest.err'
25412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25413 (eval $ac_try) 2>&5
25414 ac_status=$?
25415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25416 (exit $ac_status); }; } &&
25417 { ac_try='test -s conftest$ac_exeext'
25418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25419 (eval $ac_try) 2>&5
25420 ac_status=$?
25421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25422 (exit $ac_status); }; }; then
25423 glibcxx_cv_func___builtin_fabsf_link=yes
25424 else
25425 echo "$as_me: failed program was:" >&5
25426 sed 's/^/| /' conftest.$ac_ext >&5
25428 glibcxx_cv_func___builtin_fabsf_link=no
25430 rm -f conftest.err conftest.$ac_objext \
25431 conftest$ac_exeext conftest.$ac_ext
25436 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
25437 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
25438 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
25439 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25441 cat >>confdefs.h <<_ACEOF
25442 #define ${ac_tr_func} 1
25443 _ACEOF
25449 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
25450 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
25451 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
25452 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
25453 echo $ECHO_N "(cached) $ECHO_C" >&6
25454 else
25458 ac_ext=cc
25459 ac_cpp='$CXXCPP $CPPFLAGS'
25460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25464 cat >conftest.$ac_ext <<_ACEOF
25465 /* confdefs.h. */
25466 _ACEOF
25467 cat confdefs.h >>conftest.$ac_ext
25468 cat >>conftest.$ac_ext <<_ACEOF
25469 /* end confdefs.h. */
25470 #include <math.h>
25472 main ()
25474 __builtin_fabs(0);
25476 return 0;
25478 _ACEOF
25479 rm -f conftest.$ac_objext
25480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25481 (eval $ac_compile) 2>conftest.er1
25482 ac_status=$?
25483 grep -v '^ *+' conftest.er1 >conftest.err
25484 rm -f conftest.er1
25485 cat conftest.err >&5
25486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25487 (exit $ac_status); } &&
25488 { ac_try='test -z "$ac_cxx_werror_flag"
25489 || test ! -s conftest.err'
25490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25491 (eval $ac_try) 2>&5
25492 ac_status=$?
25493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25494 (exit $ac_status); }; } &&
25495 { ac_try='test -s conftest.$ac_objext'
25496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25497 (eval $ac_try) 2>&5
25498 ac_status=$?
25499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25500 (exit $ac_status); }; }; then
25501 glibcxx_cv_func___builtin_fabs_use=yes
25502 else
25503 echo "$as_me: failed program was:" >&5
25504 sed 's/^/| /' conftest.$ac_ext >&5
25506 glibcxx_cv_func___builtin_fabs_use=no
25508 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25509 ac_ext=c
25510 ac_cpp='$CPP $CPPFLAGS'
25511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25519 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
25520 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
25521 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
25522 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
25523 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
25524 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
25525 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
25526 echo $ECHO_N "(cached) $ECHO_C" >&6
25527 else
25529 if test x$gcc_no_link = xyes; then
25530 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25532 { (exit 1); exit 1; }; }
25534 cat >conftest.$ac_ext <<_ACEOF
25535 /* confdefs.h. */
25536 _ACEOF
25537 cat confdefs.h >>conftest.$ac_ext
25538 cat >>conftest.$ac_ext <<_ACEOF
25539 /* end confdefs.h. */
25540 #include <math.h>
25542 main ()
25544 __builtin_fabs(0);
25546 return 0;
25548 _ACEOF
25549 rm -f conftest.$ac_objext conftest$ac_exeext
25550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25551 (eval $ac_link) 2>conftest.er1
25552 ac_status=$?
25553 grep -v '^ *+' conftest.er1 >conftest.err
25554 rm -f conftest.er1
25555 cat conftest.err >&5
25556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25557 (exit $ac_status); } &&
25558 { ac_try='test -z "$ac_c_werror_flag"
25559 || test ! -s conftest.err'
25560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25561 (eval $ac_try) 2>&5
25562 ac_status=$?
25563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25564 (exit $ac_status); }; } &&
25565 { ac_try='test -s conftest$ac_exeext'
25566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25567 (eval $ac_try) 2>&5
25568 ac_status=$?
25569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25570 (exit $ac_status); }; }; then
25571 glibcxx_cv_func___builtin_fabs_link=yes
25572 else
25573 echo "$as_me: failed program was:" >&5
25574 sed 's/^/| /' conftest.$ac_ext >&5
25576 glibcxx_cv_func___builtin_fabs_link=no
25578 rm -f conftest.err conftest.$ac_objext \
25579 conftest$ac_exeext conftest.$ac_ext
25584 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
25585 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
25586 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
25587 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25589 cat >>confdefs.h <<_ACEOF
25590 #define ${ac_tr_func} 1
25591 _ACEOF
25597 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
25598 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
25599 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
25600 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
25601 echo $ECHO_N "(cached) $ECHO_C" >&6
25602 else
25606 ac_ext=cc
25607 ac_cpp='$CXXCPP $CPPFLAGS'
25608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25612 cat >conftest.$ac_ext <<_ACEOF
25613 /* confdefs.h. */
25614 _ACEOF
25615 cat confdefs.h >>conftest.$ac_ext
25616 cat >>conftest.$ac_ext <<_ACEOF
25617 /* end confdefs.h. */
25618 #include <math.h>
25620 main ()
25622 __builtin_fabsl(0);
25624 return 0;
25626 _ACEOF
25627 rm -f conftest.$ac_objext
25628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25629 (eval $ac_compile) 2>conftest.er1
25630 ac_status=$?
25631 grep -v '^ *+' conftest.er1 >conftest.err
25632 rm -f conftest.er1
25633 cat conftest.err >&5
25634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25635 (exit $ac_status); } &&
25636 { ac_try='test -z "$ac_cxx_werror_flag"
25637 || test ! -s conftest.err'
25638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25639 (eval $ac_try) 2>&5
25640 ac_status=$?
25641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25642 (exit $ac_status); }; } &&
25643 { ac_try='test -s conftest.$ac_objext'
25644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25645 (eval $ac_try) 2>&5
25646 ac_status=$?
25647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25648 (exit $ac_status); }; }; then
25649 glibcxx_cv_func___builtin_fabsl_use=yes
25650 else
25651 echo "$as_me: failed program was:" >&5
25652 sed 's/^/| /' conftest.$ac_ext >&5
25654 glibcxx_cv_func___builtin_fabsl_use=no
25656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25657 ac_ext=c
25658 ac_cpp='$CPP $CPPFLAGS'
25659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25667 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
25668 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
25669 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
25670 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
25671 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
25672 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
25673 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
25674 echo $ECHO_N "(cached) $ECHO_C" >&6
25675 else
25677 if test x$gcc_no_link = xyes; then
25678 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25679 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25680 { (exit 1); exit 1; }; }
25682 cat >conftest.$ac_ext <<_ACEOF
25683 /* confdefs.h. */
25684 _ACEOF
25685 cat confdefs.h >>conftest.$ac_ext
25686 cat >>conftest.$ac_ext <<_ACEOF
25687 /* end confdefs.h. */
25688 #include <math.h>
25690 main ()
25692 __builtin_fabsl(0);
25694 return 0;
25696 _ACEOF
25697 rm -f conftest.$ac_objext conftest$ac_exeext
25698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25699 (eval $ac_link) 2>conftest.er1
25700 ac_status=$?
25701 grep -v '^ *+' conftest.er1 >conftest.err
25702 rm -f conftest.er1
25703 cat conftest.err >&5
25704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25705 (exit $ac_status); } &&
25706 { ac_try='test -z "$ac_c_werror_flag"
25707 || test ! -s conftest.err'
25708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25709 (eval $ac_try) 2>&5
25710 ac_status=$?
25711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25712 (exit $ac_status); }; } &&
25713 { ac_try='test -s conftest$ac_exeext'
25714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25715 (eval $ac_try) 2>&5
25716 ac_status=$?
25717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25718 (exit $ac_status); }; }; then
25719 glibcxx_cv_func___builtin_fabsl_link=yes
25720 else
25721 echo "$as_me: failed program was:" >&5
25722 sed 's/^/| /' conftest.$ac_ext >&5
25724 glibcxx_cv_func___builtin_fabsl_link=no
25726 rm -f conftest.err conftest.$ac_objext \
25727 conftest$ac_exeext conftest.$ac_ext
25732 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
25733 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
25734 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
25735 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25737 cat >>confdefs.h <<_ACEOF
25738 #define ${ac_tr_func} 1
25739 _ACEOF
25745 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
25746 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
25747 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
25748 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
25749 echo $ECHO_N "(cached) $ECHO_C" >&6
25750 else
25754 ac_ext=cc
25755 ac_cpp='$CXXCPP $CPPFLAGS'
25756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25760 cat >conftest.$ac_ext <<_ACEOF
25761 /* confdefs.h. */
25762 _ACEOF
25763 cat confdefs.h >>conftest.$ac_ext
25764 cat >>conftest.$ac_ext <<_ACEOF
25765 /* end confdefs.h. */
25766 #include <math.h>
25768 main ()
25770 __builtin_labs(0);
25772 return 0;
25774 _ACEOF
25775 rm -f conftest.$ac_objext
25776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25777 (eval $ac_compile) 2>conftest.er1
25778 ac_status=$?
25779 grep -v '^ *+' conftest.er1 >conftest.err
25780 rm -f conftest.er1
25781 cat conftest.err >&5
25782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25783 (exit $ac_status); } &&
25784 { ac_try='test -z "$ac_cxx_werror_flag"
25785 || test ! -s conftest.err'
25786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25787 (eval $ac_try) 2>&5
25788 ac_status=$?
25789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25790 (exit $ac_status); }; } &&
25791 { ac_try='test -s conftest.$ac_objext'
25792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25793 (eval $ac_try) 2>&5
25794 ac_status=$?
25795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25796 (exit $ac_status); }; }; then
25797 glibcxx_cv_func___builtin_labs_use=yes
25798 else
25799 echo "$as_me: failed program was:" >&5
25800 sed 's/^/| /' conftest.$ac_ext >&5
25802 glibcxx_cv_func___builtin_labs_use=no
25804 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25805 ac_ext=c
25806 ac_cpp='$CPP $CPPFLAGS'
25807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25815 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
25816 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
25817 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
25818 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
25819 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
25820 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
25821 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
25822 echo $ECHO_N "(cached) $ECHO_C" >&6
25823 else
25825 if test x$gcc_no_link = xyes; then
25826 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25827 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25828 { (exit 1); exit 1; }; }
25830 cat >conftest.$ac_ext <<_ACEOF
25831 /* confdefs.h. */
25832 _ACEOF
25833 cat confdefs.h >>conftest.$ac_ext
25834 cat >>conftest.$ac_ext <<_ACEOF
25835 /* end confdefs.h. */
25836 #include <math.h>
25838 main ()
25840 __builtin_labs(0);
25842 return 0;
25844 _ACEOF
25845 rm -f conftest.$ac_objext conftest$ac_exeext
25846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25847 (eval $ac_link) 2>conftest.er1
25848 ac_status=$?
25849 grep -v '^ *+' conftest.er1 >conftest.err
25850 rm -f conftest.er1
25851 cat conftest.err >&5
25852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25853 (exit $ac_status); } &&
25854 { ac_try='test -z "$ac_c_werror_flag"
25855 || 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_labs_link=yes
25868 else
25869 echo "$as_me: failed program was:" >&5
25870 sed 's/^/| /' conftest.$ac_ext >&5
25872 glibcxx_cv_func___builtin_labs_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_labs_link" >&5
25881 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
25882 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
25883 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25885 cat >>confdefs.h <<_ACEOF
25886 #define ${ac_tr_func} 1
25887 _ACEOF
25894 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
25895 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
25896 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
25897 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
25898 echo $ECHO_N "(cached) $ECHO_C" >&6
25899 else
25903 ac_ext=cc
25904 ac_cpp='$CXXCPP $CPPFLAGS'
25905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25909 cat >conftest.$ac_ext <<_ACEOF
25910 /* confdefs.h. */
25911 _ACEOF
25912 cat confdefs.h >>conftest.$ac_ext
25913 cat >>conftest.$ac_ext <<_ACEOF
25914 /* end confdefs.h. */
25915 #include <math.h>
25917 main ()
25919 __builtin_sqrtf(0);
25921 return 0;
25923 _ACEOF
25924 rm -f conftest.$ac_objext
25925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25926 (eval $ac_compile) 2>conftest.er1
25927 ac_status=$?
25928 grep -v '^ *+' conftest.er1 >conftest.err
25929 rm -f conftest.er1
25930 cat conftest.err >&5
25931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25932 (exit $ac_status); } &&
25933 { ac_try='test -z "$ac_cxx_werror_flag"
25934 || test ! -s conftest.err'
25935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25936 (eval $ac_try) 2>&5
25937 ac_status=$?
25938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25939 (exit $ac_status); }; } &&
25940 { ac_try='test -s conftest.$ac_objext'
25941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25942 (eval $ac_try) 2>&5
25943 ac_status=$?
25944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25945 (exit $ac_status); }; }; then
25946 glibcxx_cv_func___builtin_sqrtf_use=yes
25947 else
25948 echo "$as_me: failed program was:" >&5
25949 sed 's/^/| /' conftest.$ac_ext >&5
25951 glibcxx_cv_func___builtin_sqrtf_use=no
25953 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25954 ac_ext=c
25955 ac_cpp='$CPP $CPPFLAGS'
25956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25964 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
25965 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
25966 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
25967 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
25968 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
25969 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
25970 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
25971 echo $ECHO_N "(cached) $ECHO_C" >&6
25972 else
25974 if test x$gcc_no_link = xyes; then
25975 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25976 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25977 { (exit 1); exit 1; }; }
25979 cat >conftest.$ac_ext <<_ACEOF
25980 /* confdefs.h. */
25981 _ACEOF
25982 cat confdefs.h >>conftest.$ac_ext
25983 cat >>conftest.$ac_ext <<_ACEOF
25984 /* end confdefs.h. */
25985 #include <math.h>
25987 main ()
25989 __builtin_sqrtf(0);
25991 return 0;
25993 _ACEOF
25994 rm -f conftest.$ac_objext conftest$ac_exeext
25995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25996 (eval $ac_link) 2>conftest.er1
25997 ac_status=$?
25998 grep -v '^ *+' conftest.er1 >conftest.err
25999 rm -f conftest.er1
26000 cat conftest.err >&5
26001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26002 (exit $ac_status); } &&
26003 { ac_try='test -z "$ac_c_werror_flag"
26004 || test ! -s conftest.err'
26005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26006 (eval $ac_try) 2>&5
26007 ac_status=$?
26008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26009 (exit $ac_status); }; } &&
26010 { ac_try='test -s conftest$ac_exeext'
26011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26012 (eval $ac_try) 2>&5
26013 ac_status=$?
26014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26015 (exit $ac_status); }; }; then
26016 glibcxx_cv_func___builtin_sqrtf_link=yes
26017 else
26018 echo "$as_me: failed program was:" >&5
26019 sed 's/^/| /' conftest.$ac_ext >&5
26021 glibcxx_cv_func___builtin_sqrtf_link=no
26023 rm -f conftest.err conftest.$ac_objext \
26024 conftest$ac_exeext conftest.$ac_ext
26029 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
26030 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
26031 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
26032 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26034 cat >>confdefs.h <<_ACEOF
26035 #define ${ac_tr_func} 1
26036 _ACEOF
26042 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
26043 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
26044 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
26045 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
26046 echo $ECHO_N "(cached) $ECHO_C" >&6
26047 else
26051 ac_ext=cc
26052 ac_cpp='$CXXCPP $CPPFLAGS'
26053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26057 cat >conftest.$ac_ext <<_ACEOF
26058 /* confdefs.h. */
26059 _ACEOF
26060 cat confdefs.h >>conftest.$ac_ext
26061 cat >>conftest.$ac_ext <<_ACEOF
26062 /* end confdefs.h. */
26063 #include <math.h>
26065 main ()
26067 __builtin_sqrt(0);
26069 return 0;
26071 _ACEOF
26072 rm -f conftest.$ac_objext
26073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26074 (eval $ac_compile) 2>conftest.er1
26075 ac_status=$?
26076 grep -v '^ *+' conftest.er1 >conftest.err
26077 rm -f conftest.er1
26078 cat conftest.err >&5
26079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26080 (exit $ac_status); } &&
26081 { ac_try='test -z "$ac_cxx_werror_flag"
26082 || test ! -s conftest.err'
26083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26084 (eval $ac_try) 2>&5
26085 ac_status=$?
26086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26087 (exit $ac_status); }; } &&
26088 { ac_try='test -s conftest.$ac_objext'
26089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26090 (eval $ac_try) 2>&5
26091 ac_status=$?
26092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26093 (exit $ac_status); }; }; then
26094 glibcxx_cv_func___builtin_sqrt_use=yes
26095 else
26096 echo "$as_me: failed program was:" >&5
26097 sed 's/^/| /' conftest.$ac_ext >&5
26099 glibcxx_cv_func___builtin_sqrt_use=no
26101 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26102 ac_ext=c
26103 ac_cpp='$CPP $CPPFLAGS'
26104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26112 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
26113 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
26114 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
26115 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
26116 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
26117 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
26118 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
26119 echo $ECHO_N "(cached) $ECHO_C" >&6
26120 else
26122 if test x$gcc_no_link = xyes; then
26123 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26124 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26125 { (exit 1); exit 1; }; }
26127 cat >conftest.$ac_ext <<_ACEOF
26128 /* confdefs.h. */
26129 _ACEOF
26130 cat confdefs.h >>conftest.$ac_ext
26131 cat >>conftest.$ac_ext <<_ACEOF
26132 /* end confdefs.h. */
26133 #include <math.h>
26135 main ()
26137 __builtin_sqrt(0);
26139 return 0;
26141 _ACEOF
26142 rm -f conftest.$ac_objext conftest$ac_exeext
26143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26144 (eval $ac_link) 2>conftest.er1
26145 ac_status=$?
26146 grep -v '^ *+' conftest.er1 >conftest.err
26147 rm -f conftest.er1
26148 cat conftest.err >&5
26149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26150 (exit $ac_status); } &&
26151 { ac_try='test -z "$ac_c_werror_flag"
26152 || test ! -s conftest.err'
26153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26154 (eval $ac_try) 2>&5
26155 ac_status=$?
26156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26157 (exit $ac_status); }; } &&
26158 { ac_try='test -s conftest$ac_exeext'
26159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26160 (eval $ac_try) 2>&5
26161 ac_status=$?
26162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26163 (exit $ac_status); }; }; then
26164 glibcxx_cv_func___builtin_sqrt_link=yes
26165 else
26166 echo "$as_me: failed program was:" >&5
26167 sed 's/^/| /' conftest.$ac_ext >&5
26169 glibcxx_cv_func___builtin_sqrt_link=no
26171 rm -f conftest.err conftest.$ac_objext \
26172 conftest$ac_exeext conftest.$ac_ext
26177 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
26178 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
26179 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
26180 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26182 cat >>confdefs.h <<_ACEOF
26183 #define ${ac_tr_func} 1
26184 _ACEOF
26190 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
26191 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
26192 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
26193 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
26194 echo $ECHO_N "(cached) $ECHO_C" >&6
26195 else
26199 ac_ext=cc
26200 ac_cpp='$CXXCPP $CPPFLAGS'
26201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26205 cat >conftest.$ac_ext <<_ACEOF
26206 /* confdefs.h. */
26207 _ACEOF
26208 cat confdefs.h >>conftest.$ac_ext
26209 cat >>conftest.$ac_ext <<_ACEOF
26210 /* end confdefs.h. */
26211 #include <math.h>
26213 main ()
26215 __builtin_sqrtl(0);
26217 return 0;
26219 _ACEOF
26220 rm -f conftest.$ac_objext
26221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26222 (eval $ac_compile) 2>conftest.er1
26223 ac_status=$?
26224 grep -v '^ *+' conftest.er1 >conftest.err
26225 rm -f conftest.er1
26226 cat conftest.err >&5
26227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26228 (exit $ac_status); } &&
26229 { ac_try='test -z "$ac_cxx_werror_flag"
26230 || test ! -s conftest.err'
26231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26232 (eval $ac_try) 2>&5
26233 ac_status=$?
26234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26235 (exit $ac_status); }; } &&
26236 { ac_try='test -s conftest.$ac_objext'
26237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26238 (eval $ac_try) 2>&5
26239 ac_status=$?
26240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26241 (exit $ac_status); }; }; then
26242 glibcxx_cv_func___builtin_sqrtl_use=yes
26243 else
26244 echo "$as_me: failed program was:" >&5
26245 sed 's/^/| /' conftest.$ac_ext >&5
26247 glibcxx_cv_func___builtin_sqrtl_use=no
26249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26250 ac_ext=c
26251 ac_cpp='$CPP $CPPFLAGS'
26252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26260 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
26261 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
26262 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
26263 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
26264 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
26265 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
26266 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
26267 echo $ECHO_N "(cached) $ECHO_C" >&6
26268 else
26270 if test x$gcc_no_link = xyes; then
26271 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26272 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26273 { (exit 1); exit 1; }; }
26275 cat >conftest.$ac_ext <<_ACEOF
26276 /* confdefs.h. */
26277 _ACEOF
26278 cat confdefs.h >>conftest.$ac_ext
26279 cat >>conftest.$ac_ext <<_ACEOF
26280 /* end confdefs.h. */
26281 #include <math.h>
26283 main ()
26285 __builtin_sqrtl(0);
26287 return 0;
26289 _ACEOF
26290 rm -f conftest.$ac_objext conftest$ac_exeext
26291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26292 (eval $ac_link) 2>conftest.er1
26293 ac_status=$?
26294 grep -v '^ *+' conftest.er1 >conftest.err
26295 rm -f conftest.er1
26296 cat conftest.err >&5
26297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26298 (exit $ac_status); } &&
26299 { ac_try='test -z "$ac_c_werror_flag"
26300 || test ! -s conftest.err'
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); }; } &&
26306 { ac_try='test -s conftest$ac_exeext'
26307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26308 (eval $ac_try) 2>&5
26309 ac_status=$?
26310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26311 (exit $ac_status); }; }; then
26312 glibcxx_cv_func___builtin_sqrtl_link=yes
26313 else
26314 echo "$as_me: failed program was:" >&5
26315 sed 's/^/| /' conftest.$ac_ext >&5
26317 glibcxx_cv_func___builtin_sqrtl_link=no
26319 rm -f conftest.err conftest.$ac_objext \
26320 conftest$ac_exeext conftest.$ac_ext
26325 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
26326 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
26327 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
26328 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26330 cat >>confdefs.h <<_ACEOF
26331 #define ${ac_tr_func} 1
26332 _ACEOF
26339 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
26340 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
26341 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
26342 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
26343 echo $ECHO_N "(cached) $ECHO_C" >&6
26344 else
26348 ac_ext=cc
26349 ac_cpp='$CXXCPP $CPPFLAGS'
26350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26354 cat >conftest.$ac_ext <<_ACEOF
26355 /* confdefs.h. */
26356 _ACEOF
26357 cat confdefs.h >>conftest.$ac_ext
26358 cat >>conftest.$ac_ext <<_ACEOF
26359 /* end confdefs.h. */
26360 #include <math.h>
26362 main ()
26364 __builtin_sinf(0);
26366 return 0;
26368 _ACEOF
26369 rm -f conftest.$ac_objext
26370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26371 (eval $ac_compile) 2>conftest.er1
26372 ac_status=$?
26373 grep -v '^ *+' conftest.er1 >conftest.err
26374 rm -f conftest.er1
26375 cat conftest.err >&5
26376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26377 (exit $ac_status); } &&
26378 { ac_try='test -z "$ac_cxx_werror_flag"
26379 || test ! -s conftest.err'
26380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26381 (eval $ac_try) 2>&5
26382 ac_status=$?
26383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26384 (exit $ac_status); }; } &&
26385 { ac_try='test -s conftest.$ac_objext'
26386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26387 (eval $ac_try) 2>&5
26388 ac_status=$?
26389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26390 (exit $ac_status); }; }; then
26391 glibcxx_cv_func___builtin_sinf_use=yes
26392 else
26393 echo "$as_me: failed program was:" >&5
26394 sed 's/^/| /' conftest.$ac_ext >&5
26396 glibcxx_cv_func___builtin_sinf_use=no
26398 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26399 ac_ext=c
26400 ac_cpp='$CPP $CPPFLAGS'
26401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26409 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
26410 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
26411 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
26412 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
26413 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
26414 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
26415 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
26416 echo $ECHO_N "(cached) $ECHO_C" >&6
26417 else
26419 if test x$gcc_no_link = xyes; then
26420 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26421 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26422 { (exit 1); exit 1; }; }
26424 cat >conftest.$ac_ext <<_ACEOF
26425 /* confdefs.h. */
26426 _ACEOF
26427 cat confdefs.h >>conftest.$ac_ext
26428 cat >>conftest.$ac_ext <<_ACEOF
26429 /* end confdefs.h. */
26430 #include <math.h>
26432 main ()
26434 __builtin_sinf(0);
26436 return 0;
26438 _ACEOF
26439 rm -f conftest.$ac_objext conftest$ac_exeext
26440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26441 (eval $ac_link) 2>conftest.er1
26442 ac_status=$?
26443 grep -v '^ *+' conftest.er1 >conftest.err
26444 rm -f conftest.er1
26445 cat conftest.err >&5
26446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26447 (exit $ac_status); } &&
26448 { ac_try='test -z "$ac_c_werror_flag"
26449 || test ! -s conftest.err'
26450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26451 (eval $ac_try) 2>&5
26452 ac_status=$?
26453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26454 (exit $ac_status); }; } &&
26455 { ac_try='test -s conftest$ac_exeext'
26456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26457 (eval $ac_try) 2>&5
26458 ac_status=$?
26459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26460 (exit $ac_status); }; }; then
26461 glibcxx_cv_func___builtin_sinf_link=yes
26462 else
26463 echo "$as_me: failed program was:" >&5
26464 sed 's/^/| /' conftest.$ac_ext >&5
26466 glibcxx_cv_func___builtin_sinf_link=no
26468 rm -f conftest.err conftest.$ac_objext \
26469 conftest$ac_exeext conftest.$ac_ext
26474 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
26475 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
26476 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
26477 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26479 cat >>confdefs.h <<_ACEOF
26480 #define ${ac_tr_func} 1
26481 _ACEOF
26487 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
26488 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
26489 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
26490 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
26491 echo $ECHO_N "(cached) $ECHO_C" >&6
26492 else
26496 ac_ext=cc
26497 ac_cpp='$CXXCPP $CPPFLAGS'
26498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26502 cat >conftest.$ac_ext <<_ACEOF
26503 /* confdefs.h. */
26504 _ACEOF
26505 cat confdefs.h >>conftest.$ac_ext
26506 cat >>conftest.$ac_ext <<_ACEOF
26507 /* end confdefs.h. */
26508 #include <math.h>
26510 main ()
26512 __builtin_sin(0);
26514 return 0;
26516 _ACEOF
26517 rm -f conftest.$ac_objext
26518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26519 (eval $ac_compile) 2>conftest.er1
26520 ac_status=$?
26521 grep -v '^ *+' conftest.er1 >conftest.err
26522 rm -f conftest.er1
26523 cat conftest.err >&5
26524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26525 (exit $ac_status); } &&
26526 { ac_try='test -z "$ac_cxx_werror_flag"
26527 || test ! -s conftest.err'
26528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26529 (eval $ac_try) 2>&5
26530 ac_status=$?
26531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26532 (exit $ac_status); }; } &&
26533 { ac_try='test -s conftest.$ac_objext'
26534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26535 (eval $ac_try) 2>&5
26536 ac_status=$?
26537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26538 (exit $ac_status); }; }; then
26539 glibcxx_cv_func___builtin_sin_use=yes
26540 else
26541 echo "$as_me: failed program was:" >&5
26542 sed 's/^/| /' conftest.$ac_ext >&5
26544 glibcxx_cv_func___builtin_sin_use=no
26546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26547 ac_ext=c
26548 ac_cpp='$CPP $CPPFLAGS'
26549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26557 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
26558 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
26559 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
26560 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
26561 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
26562 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
26563 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
26564 echo $ECHO_N "(cached) $ECHO_C" >&6
26565 else
26567 if test x$gcc_no_link = xyes; then
26568 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26569 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26570 { (exit 1); exit 1; }; }
26572 cat >conftest.$ac_ext <<_ACEOF
26573 /* confdefs.h. */
26574 _ACEOF
26575 cat confdefs.h >>conftest.$ac_ext
26576 cat >>conftest.$ac_ext <<_ACEOF
26577 /* end confdefs.h. */
26578 #include <math.h>
26580 main ()
26582 __builtin_sin(0);
26584 return 0;
26586 _ACEOF
26587 rm -f conftest.$ac_objext conftest$ac_exeext
26588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26589 (eval $ac_link) 2>conftest.er1
26590 ac_status=$?
26591 grep -v '^ *+' conftest.er1 >conftest.err
26592 rm -f conftest.er1
26593 cat conftest.err >&5
26594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26595 (exit $ac_status); } &&
26596 { ac_try='test -z "$ac_c_werror_flag"
26597 || test ! -s conftest.err'
26598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26599 (eval $ac_try) 2>&5
26600 ac_status=$?
26601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26602 (exit $ac_status); }; } &&
26603 { ac_try='test -s conftest$ac_exeext'
26604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26605 (eval $ac_try) 2>&5
26606 ac_status=$?
26607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26608 (exit $ac_status); }; }; then
26609 glibcxx_cv_func___builtin_sin_link=yes
26610 else
26611 echo "$as_me: failed program was:" >&5
26612 sed 's/^/| /' conftest.$ac_ext >&5
26614 glibcxx_cv_func___builtin_sin_link=no
26616 rm -f conftest.err conftest.$ac_objext \
26617 conftest$ac_exeext conftest.$ac_ext
26622 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
26623 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
26624 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
26625 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26627 cat >>confdefs.h <<_ACEOF
26628 #define ${ac_tr_func} 1
26629 _ACEOF
26635 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
26636 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
26637 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
26638 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
26639 echo $ECHO_N "(cached) $ECHO_C" >&6
26640 else
26644 ac_ext=cc
26645 ac_cpp='$CXXCPP $CPPFLAGS'
26646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26650 cat >conftest.$ac_ext <<_ACEOF
26651 /* confdefs.h. */
26652 _ACEOF
26653 cat confdefs.h >>conftest.$ac_ext
26654 cat >>conftest.$ac_ext <<_ACEOF
26655 /* end confdefs.h. */
26656 #include <math.h>
26658 main ()
26660 __builtin_sinl(0);
26662 return 0;
26664 _ACEOF
26665 rm -f conftest.$ac_objext
26666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26667 (eval $ac_compile) 2>conftest.er1
26668 ac_status=$?
26669 grep -v '^ *+' conftest.er1 >conftest.err
26670 rm -f conftest.er1
26671 cat conftest.err >&5
26672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26673 (exit $ac_status); } &&
26674 { ac_try='test -z "$ac_cxx_werror_flag"
26675 || test ! -s conftest.err'
26676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26677 (eval $ac_try) 2>&5
26678 ac_status=$?
26679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26680 (exit $ac_status); }; } &&
26681 { ac_try='test -s conftest.$ac_objext'
26682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26683 (eval $ac_try) 2>&5
26684 ac_status=$?
26685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26686 (exit $ac_status); }; }; then
26687 glibcxx_cv_func___builtin_sinl_use=yes
26688 else
26689 echo "$as_me: failed program was:" >&5
26690 sed 's/^/| /' conftest.$ac_ext >&5
26692 glibcxx_cv_func___builtin_sinl_use=no
26694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26695 ac_ext=c
26696 ac_cpp='$CPP $CPPFLAGS'
26697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26705 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
26706 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
26707 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
26708 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
26709 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
26710 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
26711 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
26712 echo $ECHO_N "(cached) $ECHO_C" >&6
26713 else
26715 if test x$gcc_no_link = xyes; then
26716 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26717 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26718 { (exit 1); exit 1; }; }
26720 cat >conftest.$ac_ext <<_ACEOF
26721 /* confdefs.h. */
26722 _ACEOF
26723 cat confdefs.h >>conftest.$ac_ext
26724 cat >>conftest.$ac_ext <<_ACEOF
26725 /* end confdefs.h. */
26726 #include <math.h>
26728 main ()
26730 __builtin_sinl(0);
26732 return 0;
26734 _ACEOF
26735 rm -f conftest.$ac_objext conftest$ac_exeext
26736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26737 (eval $ac_link) 2>conftest.er1
26738 ac_status=$?
26739 grep -v '^ *+' conftest.er1 >conftest.err
26740 rm -f conftest.er1
26741 cat conftest.err >&5
26742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26743 (exit $ac_status); } &&
26744 { ac_try='test -z "$ac_c_werror_flag"
26745 || test ! -s conftest.err'
26746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26747 (eval $ac_try) 2>&5
26748 ac_status=$?
26749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26750 (exit $ac_status); }; } &&
26751 { ac_try='test -s conftest$ac_exeext'
26752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26753 (eval $ac_try) 2>&5
26754 ac_status=$?
26755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26756 (exit $ac_status); }; }; then
26757 glibcxx_cv_func___builtin_sinl_link=yes
26758 else
26759 echo "$as_me: failed program was:" >&5
26760 sed 's/^/| /' conftest.$ac_ext >&5
26762 glibcxx_cv_func___builtin_sinl_link=no
26764 rm -f conftest.err conftest.$ac_objext \
26765 conftest$ac_exeext conftest.$ac_ext
26770 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
26771 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
26772 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
26773 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26775 cat >>confdefs.h <<_ACEOF
26776 #define ${ac_tr_func} 1
26777 _ACEOF
26784 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
26785 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
26786 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
26787 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
26788 echo $ECHO_N "(cached) $ECHO_C" >&6
26789 else
26793 ac_ext=cc
26794 ac_cpp='$CXXCPP $CPPFLAGS'
26795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26799 cat >conftest.$ac_ext <<_ACEOF
26800 /* confdefs.h. */
26801 _ACEOF
26802 cat confdefs.h >>conftest.$ac_ext
26803 cat >>conftest.$ac_ext <<_ACEOF
26804 /* end confdefs.h. */
26805 #include <math.h>
26807 main ()
26809 __builtin_cosf(0);
26811 return 0;
26813 _ACEOF
26814 rm -f conftest.$ac_objext
26815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26816 (eval $ac_compile) 2>conftest.er1
26817 ac_status=$?
26818 grep -v '^ *+' conftest.er1 >conftest.err
26819 rm -f conftest.er1
26820 cat conftest.err >&5
26821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26822 (exit $ac_status); } &&
26823 { ac_try='test -z "$ac_cxx_werror_flag"
26824 || test ! -s conftest.err'
26825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26826 (eval $ac_try) 2>&5
26827 ac_status=$?
26828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26829 (exit $ac_status); }; } &&
26830 { ac_try='test -s conftest.$ac_objext'
26831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26832 (eval $ac_try) 2>&5
26833 ac_status=$?
26834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26835 (exit $ac_status); }; }; then
26836 glibcxx_cv_func___builtin_cosf_use=yes
26837 else
26838 echo "$as_me: failed program was:" >&5
26839 sed 's/^/| /' conftest.$ac_ext >&5
26841 glibcxx_cv_func___builtin_cosf_use=no
26843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26844 ac_ext=c
26845 ac_cpp='$CPP $CPPFLAGS'
26846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26854 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
26855 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
26856 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
26857 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
26858 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
26859 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
26860 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
26861 echo $ECHO_N "(cached) $ECHO_C" >&6
26862 else
26864 if test x$gcc_no_link = xyes; then
26865 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26866 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26867 { (exit 1); exit 1; }; }
26869 cat >conftest.$ac_ext <<_ACEOF
26870 /* confdefs.h. */
26871 _ACEOF
26872 cat confdefs.h >>conftest.$ac_ext
26873 cat >>conftest.$ac_ext <<_ACEOF
26874 /* end confdefs.h. */
26875 #include <math.h>
26877 main ()
26879 __builtin_cosf(0);
26881 return 0;
26883 _ACEOF
26884 rm -f conftest.$ac_objext conftest$ac_exeext
26885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26886 (eval $ac_link) 2>conftest.er1
26887 ac_status=$?
26888 grep -v '^ *+' conftest.er1 >conftest.err
26889 rm -f conftest.er1
26890 cat conftest.err >&5
26891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26892 (exit $ac_status); } &&
26893 { ac_try='test -z "$ac_c_werror_flag"
26894 || test ! -s conftest.err'
26895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26896 (eval $ac_try) 2>&5
26897 ac_status=$?
26898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26899 (exit $ac_status); }; } &&
26900 { ac_try='test -s conftest$ac_exeext'
26901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26902 (eval $ac_try) 2>&5
26903 ac_status=$?
26904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26905 (exit $ac_status); }; }; then
26906 glibcxx_cv_func___builtin_cosf_link=yes
26907 else
26908 echo "$as_me: failed program was:" >&5
26909 sed 's/^/| /' conftest.$ac_ext >&5
26911 glibcxx_cv_func___builtin_cosf_link=no
26913 rm -f conftest.err conftest.$ac_objext \
26914 conftest$ac_exeext conftest.$ac_ext
26919 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
26920 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
26921 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
26922 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26924 cat >>confdefs.h <<_ACEOF
26925 #define ${ac_tr_func} 1
26926 _ACEOF
26932 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
26933 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
26934 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
26935 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
26936 echo $ECHO_N "(cached) $ECHO_C" >&6
26937 else
26941 ac_ext=cc
26942 ac_cpp='$CXXCPP $CPPFLAGS'
26943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26947 cat >conftest.$ac_ext <<_ACEOF
26948 /* confdefs.h. */
26949 _ACEOF
26950 cat confdefs.h >>conftest.$ac_ext
26951 cat >>conftest.$ac_ext <<_ACEOF
26952 /* end confdefs.h. */
26953 #include <math.h>
26955 main ()
26957 __builtin_cos(0);
26959 return 0;
26961 _ACEOF
26962 rm -f conftest.$ac_objext
26963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26964 (eval $ac_compile) 2>conftest.er1
26965 ac_status=$?
26966 grep -v '^ *+' conftest.er1 >conftest.err
26967 rm -f conftest.er1
26968 cat conftest.err >&5
26969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26970 (exit $ac_status); } &&
26971 { ac_try='test -z "$ac_cxx_werror_flag"
26972 || test ! -s conftest.err'
26973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26974 (eval $ac_try) 2>&5
26975 ac_status=$?
26976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26977 (exit $ac_status); }; } &&
26978 { ac_try='test -s conftest.$ac_objext'
26979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26980 (eval $ac_try) 2>&5
26981 ac_status=$?
26982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26983 (exit $ac_status); }; }; then
26984 glibcxx_cv_func___builtin_cos_use=yes
26985 else
26986 echo "$as_me: failed program was:" >&5
26987 sed 's/^/| /' conftest.$ac_ext >&5
26989 glibcxx_cv_func___builtin_cos_use=no
26991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26992 ac_ext=c
26993 ac_cpp='$CPP $CPPFLAGS'
26994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27002 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
27003 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
27004 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
27005 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
27006 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
27007 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
27008 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
27009 echo $ECHO_N "(cached) $ECHO_C" >&6
27010 else
27012 if test x$gcc_no_link = xyes; then
27013 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27014 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27015 { (exit 1); exit 1; }; }
27017 cat >conftest.$ac_ext <<_ACEOF
27018 /* confdefs.h. */
27019 _ACEOF
27020 cat confdefs.h >>conftest.$ac_ext
27021 cat >>conftest.$ac_ext <<_ACEOF
27022 /* end confdefs.h. */
27023 #include <math.h>
27025 main ()
27027 __builtin_cos(0);
27029 return 0;
27031 _ACEOF
27032 rm -f conftest.$ac_objext conftest$ac_exeext
27033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27034 (eval $ac_link) 2>conftest.er1
27035 ac_status=$?
27036 grep -v '^ *+' conftest.er1 >conftest.err
27037 rm -f conftest.er1
27038 cat conftest.err >&5
27039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27040 (exit $ac_status); } &&
27041 { ac_try='test -z "$ac_c_werror_flag"
27042 || test ! -s conftest.err'
27043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27044 (eval $ac_try) 2>&5
27045 ac_status=$?
27046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27047 (exit $ac_status); }; } &&
27048 { ac_try='test -s conftest$ac_exeext'
27049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27050 (eval $ac_try) 2>&5
27051 ac_status=$?
27052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27053 (exit $ac_status); }; }; then
27054 glibcxx_cv_func___builtin_cos_link=yes
27055 else
27056 echo "$as_me: failed program was:" >&5
27057 sed 's/^/| /' conftest.$ac_ext >&5
27059 glibcxx_cv_func___builtin_cos_link=no
27061 rm -f conftest.err conftest.$ac_objext \
27062 conftest$ac_exeext conftest.$ac_ext
27067 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
27068 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
27069 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
27070 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
27072 cat >>confdefs.h <<_ACEOF
27073 #define ${ac_tr_func} 1
27074 _ACEOF
27080 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
27081 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
27082 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
27083 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
27084 echo $ECHO_N "(cached) $ECHO_C" >&6
27085 else
27089 ac_ext=cc
27090 ac_cpp='$CXXCPP $CPPFLAGS'
27091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27095 cat >conftest.$ac_ext <<_ACEOF
27096 /* confdefs.h. */
27097 _ACEOF
27098 cat confdefs.h >>conftest.$ac_ext
27099 cat >>conftest.$ac_ext <<_ACEOF
27100 /* end confdefs.h. */
27101 #include <math.h>
27103 main ()
27105 __builtin_cosl(0);
27107 return 0;
27109 _ACEOF
27110 rm -f conftest.$ac_objext
27111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27112 (eval $ac_compile) 2>conftest.er1
27113 ac_status=$?
27114 grep -v '^ *+' conftest.er1 >conftest.err
27115 rm -f conftest.er1
27116 cat conftest.err >&5
27117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27118 (exit $ac_status); } &&
27119 { ac_try='test -z "$ac_cxx_werror_flag"
27120 || test ! -s conftest.err'
27121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27122 (eval $ac_try) 2>&5
27123 ac_status=$?
27124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27125 (exit $ac_status); }; } &&
27126 { ac_try='test -s conftest.$ac_objext'
27127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27128 (eval $ac_try) 2>&5
27129 ac_status=$?
27130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27131 (exit $ac_status); }; }; then
27132 glibcxx_cv_func___builtin_cosl_use=yes
27133 else
27134 echo "$as_me: failed program was:" >&5
27135 sed 's/^/| /' conftest.$ac_ext >&5
27137 glibcxx_cv_func___builtin_cosl_use=no
27139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27140 ac_ext=c
27141 ac_cpp='$CPP $CPPFLAGS'
27142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27150 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
27151 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
27152 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
27153 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
27154 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
27155 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
27156 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
27157 echo $ECHO_N "(cached) $ECHO_C" >&6
27158 else
27160 if test x$gcc_no_link = xyes; then
27161 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27162 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27163 { (exit 1); exit 1; }; }
27165 cat >conftest.$ac_ext <<_ACEOF
27166 /* confdefs.h. */
27167 _ACEOF
27168 cat confdefs.h >>conftest.$ac_ext
27169 cat >>conftest.$ac_ext <<_ACEOF
27170 /* end confdefs.h. */
27171 #include <math.h>
27173 main ()
27175 __builtin_cosl(0);
27177 return 0;
27179 _ACEOF
27180 rm -f conftest.$ac_objext conftest$ac_exeext
27181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27182 (eval $ac_link) 2>conftest.er1
27183 ac_status=$?
27184 grep -v '^ *+' conftest.er1 >conftest.err
27185 rm -f conftest.er1
27186 cat conftest.err >&5
27187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27188 (exit $ac_status); } &&
27189 { ac_try='test -z "$ac_c_werror_flag"
27190 || test ! -s conftest.err'
27191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27192 (eval $ac_try) 2>&5
27193 ac_status=$?
27194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27195 (exit $ac_status); }; } &&
27196 { ac_try='test -s conftest$ac_exeext'
27197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27198 (eval $ac_try) 2>&5
27199 ac_status=$?
27200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27201 (exit $ac_status); }; }; then
27202 glibcxx_cv_func___builtin_cosl_link=yes
27203 else
27204 echo "$as_me: failed program was:" >&5
27205 sed 's/^/| /' conftest.$ac_ext >&5
27207 glibcxx_cv_func___builtin_cosl_link=no
27209 rm -f conftest.err conftest.$ac_objext \
27210 conftest$ac_exeext conftest.$ac_ext
27215 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
27216 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
27217 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
27218 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
27220 cat >>confdefs.h <<_ACEOF
27221 #define ${ac_tr_func} 1
27222 _ACEOF
27230 echo "$as_me:$LINENO: checking for main in -lm" >&5
27231 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
27232 if test "${ac_cv_lib_m_main+set}" = set; then
27233 echo $ECHO_N "(cached) $ECHO_C" >&6
27234 else
27235 ac_check_lib_save_LIBS=$LIBS
27236 LIBS="-lm $LIBS"
27237 if test x$gcc_no_link = xyes; then
27238 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27239 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27240 { (exit 1); exit 1; }; }
27242 cat >conftest.$ac_ext <<_ACEOF
27243 /* confdefs.h. */
27244 _ACEOF
27245 cat confdefs.h >>conftest.$ac_ext
27246 cat >>conftest.$ac_ext <<_ACEOF
27247 /* end confdefs.h. */
27251 main ()
27253 main ();
27255 return 0;
27257 _ACEOF
27258 rm -f conftest.$ac_objext conftest$ac_exeext
27259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27260 (eval $ac_link) 2>conftest.er1
27261 ac_status=$?
27262 grep -v '^ *+' conftest.er1 >conftest.err
27263 rm -f conftest.er1
27264 cat conftest.err >&5
27265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27266 (exit $ac_status); } &&
27267 { ac_try='test -z "$ac_c_werror_flag"
27268 || test ! -s conftest.err'
27269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27270 (eval $ac_try) 2>&5
27271 ac_status=$?
27272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27273 (exit $ac_status); }; } &&
27274 { ac_try='test -s conftest$ac_exeext'
27275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27276 (eval $ac_try) 2>&5
27277 ac_status=$?
27278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27279 (exit $ac_status); }; }; then
27280 ac_cv_lib_m_main=yes
27281 else
27282 echo "$as_me: failed program was:" >&5
27283 sed 's/^/| /' conftest.$ac_ext >&5
27285 ac_cv_lib_m_main=no
27287 rm -f conftest.err conftest.$ac_objext \
27288 conftest$ac_exeext conftest.$ac_ext
27289 LIBS=$ac_check_lib_save_LIBS
27291 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
27292 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
27293 if test $ac_cv_lib_m_main = yes; then
27294 cat >>confdefs.h <<_ACEOF
27295 #define HAVE_LIBM 1
27296 _ACEOF
27298 LIBS="-lm $LIBS"
27303 for ac_func in copysignf
27305 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27306 echo "$as_me:$LINENO: checking for $ac_func" >&5
27307 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27308 if eval "test \"\${$as_ac_var+set}\" = set"; then
27309 echo $ECHO_N "(cached) $ECHO_C" >&6
27310 else
27311 if test x$gcc_no_link = xyes; then
27312 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27313 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27314 { (exit 1); exit 1; }; }
27316 cat >conftest.$ac_ext <<_ACEOF
27317 /* confdefs.h. */
27318 _ACEOF
27319 cat confdefs.h >>conftest.$ac_ext
27320 cat >>conftest.$ac_ext <<_ACEOF
27321 /* end confdefs.h. */
27322 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27323 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27324 #define $ac_func innocuous_$ac_func
27326 /* System header to define __stub macros and hopefully few prototypes,
27327 which can conflict with char $ac_func (); below.
27328 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27329 <limits.h> exists even on freestanding compilers. */
27331 #ifdef __STDC__
27332 # include <limits.h>
27333 #else
27334 # include <assert.h>
27335 #endif
27337 #undef $ac_func
27339 /* Override any gcc2 internal prototype to avoid an error. */
27340 #ifdef __cplusplus
27341 extern "C"
27343 #endif
27344 /* We use char because int might match the return type of a gcc2
27345 builtin and then its argument prototype would still apply. */
27346 char $ac_func ();
27347 /* The GNU C library defines this for functions which it implements
27348 to always fail with ENOSYS. Some functions are actually named
27349 something starting with __ and the normal name is an alias. */
27350 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27351 choke me
27352 #else
27353 char (*f) () = $ac_func;
27354 #endif
27355 #ifdef __cplusplus
27357 #endif
27360 main ()
27362 return f != $ac_func;
27364 return 0;
27366 _ACEOF
27367 rm -f conftest.$ac_objext conftest$ac_exeext
27368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27369 (eval $ac_link) 2>conftest.er1
27370 ac_status=$?
27371 grep -v '^ *+' conftest.er1 >conftest.err
27372 rm -f conftest.er1
27373 cat conftest.err >&5
27374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27375 (exit $ac_status); } &&
27376 { ac_try='test -z "$ac_c_werror_flag"
27377 || test ! -s conftest.err'
27378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27379 (eval $ac_try) 2>&5
27380 ac_status=$?
27381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27382 (exit $ac_status); }; } &&
27383 { ac_try='test -s conftest$ac_exeext'
27384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27385 (eval $ac_try) 2>&5
27386 ac_status=$?
27387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27388 (exit $ac_status); }; }; then
27389 eval "$as_ac_var=yes"
27390 else
27391 echo "$as_me: failed program was:" >&5
27392 sed 's/^/| /' conftest.$ac_ext >&5
27394 eval "$as_ac_var=no"
27396 rm -f conftest.err conftest.$ac_objext \
27397 conftest$ac_exeext conftest.$ac_ext
27399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27400 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27401 if test `eval echo '${'$as_ac_var'}'` = yes; then
27402 cat >>confdefs.h <<_ACEOF
27403 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27404 _ACEOF
27406 else
27407 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
27409 done
27413 for ac_func in __signbit
27415 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27416 echo "$as_me:$LINENO: checking for $ac_func" >&5
27417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27418 if eval "test \"\${$as_ac_var+set}\" = set"; then
27419 echo $ECHO_N "(cached) $ECHO_C" >&6
27420 else
27421 if test x$gcc_no_link = xyes; then
27422 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27424 { (exit 1); exit 1; }; }
27426 cat >conftest.$ac_ext <<_ACEOF
27427 /* confdefs.h. */
27428 _ACEOF
27429 cat confdefs.h >>conftest.$ac_ext
27430 cat >>conftest.$ac_ext <<_ACEOF
27431 /* end confdefs.h. */
27432 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27434 #define $ac_func innocuous_$ac_func
27436 /* System header to define __stub macros and hopefully few prototypes,
27437 which can conflict with char $ac_func (); below.
27438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27439 <limits.h> exists even on freestanding compilers. */
27441 #ifdef __STDC__
27442 # include <limits.h>
27443 #else
27444 # include <assert.h>
27445 #endif
27447 #undef $ac_func
27449 /* Override any gcc2 internal prototype to avoid an error. */
27450 #ifdef __cplusplus
27451 extern "C"
27453 #endif
27454 /* We use char because int might match the return type of a gcc2
27455 builtin and then its argument prototype would still apply. */
27456 char $ac_func ();
27457 /* The GNU C library defines this for functions which it implements
27458 to always fail with ENOSYS. Some functions are actually named
27459 something starting with __ and the normal name is an alias. */
27460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27461 choke me
27462 #else
27463 char (*f) () = $ac_func;
27464 #endif
27465 #ifdef __cplusplus
27467 #endif
27470 main ()
27472 return f != $ac_func;
27474 return 0;
27476 _ACEOF
27477 rm -f conftest.$ac_objext conftest$ac_exeext
27478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27479 (eval $ac_link) 2>conftest.er1
27480 ac_status=$?
27481 grep -v '^ *+' conftest.er1 >conftest.err
27482 rm -f conftest.er1
27483 cat conftest.err >&5
27484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27485 (exit $ac_status); } &&
27486 { ac_try='test -z "$ac_c_werror_flag"
27487 || test ! -s conftest.err'
27488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27489 (eval $ac_try) 2>&5
27490 ac_status=$?
27491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27492 (exit $ac_status); }; } &&
27493 { ac_try='test -s conftest$ac_exeext'
27494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27495 (eval $ac_try) 2>&5
27496 ac_status=$?
27497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27498 (exit $ac_status); }; }; then
27499 eval "$as_ac_var=yes"
27500 else
27501 echo "$as_me: failed program was:" >&5
27502 sed 's/^/| /' conftest.$ac_ext >&5
27504 eval "$as_ac_var=no"
27506 rm -f conftest.err conftest.$ac_objext \
27507 conftest$ac_exeext conftest.$ac_ext
27509 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27510 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27511 if test `eval echo '${'$as_ac_var'}'` = yes; then
27512 cat >>confdefs.h <<_ACEOF
27513 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27514 _ACEOF
27516 else
27517 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
27519 done
27523 for ac_func in __signbitf
27525 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27526 echo "$as_me:$LINENO: checking for $ac_func" >&5
27527 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27528 if eval "test \"\${$as_ac_var+set}\" = set"; then
27529 echo $ECHO_N "(cached) $ECHO_C" >&6
27530 else
27531 if test x$gcc_no_link = xyes; then
27532 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27533 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27534 { (exit 1); exit 1; }; }
27536 cat >conftest.$ac_ext <<_ACEOF
27537 /* confdefs.h. */
27538 _ACEOF
27539 cat confdefs.h >>conftest.$ac_ext
27540 cat >>conftest.$ac_ext <<_ACEOF
27541 /* end confdefs.h. */
27542 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27543 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27544 #define $ac_func innocuous_$ac_func
27546 /* System header to define __stub macros and hopefully few prototypes,
27547 which can conflict with char $ac_func (); below.
27548 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27549 <limits.h> exists even on freestanding compilers. */
27551 #ifdef __STDC__
27552 # include <limits.h>
27553 #else
27554 # include <assert.h>
27555 #endif
27557 #undef $ac_func
27559 /* Override any gcc2 internal prototype to avoid an error. */
27560 #ifdef __cplusplus
27561 extern "C"
27563 #endif
27564 /* We use char because int might match the return type of a gcc2
27565 builtin and then its argument prototype would still apply. */
27566 char $ac_func ();
27567 /* The GNU C library defines this for functions which it implements
27568 to always fail with ENOSYS. Some functions are actually named
27569 something starting with __ and the normal name is an alias. */
27570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27571 choke me
27572 #else
27573 char (*f) () = $ac_func;
27574 #endif
27575 #ifdef __cplusplus
27577 #endif
27580 main ()
27582 return f != $ac_func;
27584 return 0;
27586 _ACEOF
27587 rm -f conftest.$ac_objext conftest$ac_exeext
27588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27589 (eval $ac_link) 2>conftest.er1
27590 ac_status=$?
27591 grep -v '^ *+' conftest.er1 >conftest.err
27592 rm -f conftest.er1
27593 cat conftest.err >&5
27594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27595 (exit $ac_status); } &&
27596 { ac_try='test -z "$ac_c_werror_flag"
27597 || test ! -s conftest.err'
27598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27599 (eval $ac_try) 2>&5
27600 ac_status=$?
27601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27602 (exit $ac_status); }; } &&
27603 { ac_try='test -s conftest$ac_exeext'
27604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27605 (eval $ac_try) 2>&5
27606 ac_status=$?
27607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27608 (exit $ac_status); }; }; then
27609 eval "$as_ac_var=yes"
27610 else
27611 echo "$as_me: failed program was:" >&5
27612 sed 's/^/| /' conftest.$ac_ext >&5
27614 eval "$as_ac_var=no"
27616 rm -f conftest.err conftest.$ac_objext \
27617 conftest$ac_exeext conftest.$ac_ext
27619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27620 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27621 if test `eval echo '${'$as_ac_var'}'` = yes; then
27622 cat >>confdefs.h <<_ACEOF
27623 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27624 _ACEOF
27626 else
27627 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
27629 done
27632 if test x$ac_cv_func_copysignl = x"yes"; then
27634 for ac_func in __signbitl
27636 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27637 echo "$as_me:$LINENO: checking for $ac_func" >&5
27638 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27639 if eval "test \"\${$as_ac_var+set}\" = set"; then
27640 echo $ECHO_N "(cached) $ECHO_C" >&6
27641 else
27642 if test x$gcc_no_link = xyes; then
27643 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27644 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27645 { (exit 1); exit 1; }; }
27647 cat >conftest.$ac_ext <<_ACEOF
27648 /* confdefs.h. */
27649 _ACEOF
27650 cat confdefs.h >>conftest.$ac_ext
27651 cat >>conftest.$ac_ext <<_ACEOF
27652 /* end confdefs.h. */
27653 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27654 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27655 #define $ac_func innocuous_$ac_func
27657 /* System header to define __stub macros and hopefully few prototypes,
27658 which can conflict with char $ac_func (); below.
27659 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27660 <limits.h> exists even on freestanding compilers. */
27662 #ifdef __STDC__
27663 # include <limits.h>
27664 #else
27665 # include <assert.h>
27666 #endif
27668 #undef $ac_func
27670 /* Override any gcc2 internal prototype to avoid an error. */
27671 #ifdef __cplusplus
27672 extern "C"
27674 #endif
27675 /* We use char because int might match the return type of a gcc2
27676 builtin and then its argument prototype would still apply. */
27677 char $ac_func ();
27678 /* The GNU C library defines this for functions which it implements
27679 to always fail with ENOSYS. Some functions are actually named
27680 something starting with __ and the normal name is an alias. */
27681 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27682 choke me
27683 #else
27684 char (*f) () = $ac_func;
27685 #endif
27686 #ifdef __cplusplus
27688 #endif
27691 main ()
27693 return f != $ac_func;
27695 return 0;
27697 _ACEOF
27698 rm -f conftest.$ac_objext conftest$ac_exeext
27699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27700 (eval $ac_link) 2>conftest.er1
27701 ac_status=$?
27702 grep -v '^ *+' conftest.er1 >conftest.err
27703 rm -f conftest.er1
27704 cat conftest.err >&5
27705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27706 (exit $ac_status); } &&
27707 { ac_try='test -z "$ac_c_werror_flag"
27708 || test ! -s conftest.err'
27709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27710 (eval $ac_try) 2>&5
27711 ac_status=$?
27712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27713 (exit $ac_status); }; } &&
27714 { ac_try='test -s conftest$ac_exeext'
27715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27716 (eval $ac_try) 2>&5
27717 ac_status=$?
27718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27719 (exit $ac_status); }; }; then
27720 eval "$as_ac_var=yes"
27721 else
27722 echo "$as_me: failed program was:" >&5
27723 sed 's/^/| /' conftest.$ac_ext >&5
27725 eval "$as_ac_var=no"
27727 rm -f conftest.err conftest.$ac_objext \
27728 conftest$ac_exeext conftest.$ac_ext
27730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27731 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27732 if test `eval echo '${'$as_ac_var'}'` = yes; then
27733 cat >>confdefs.h <<_ACEOF
27734 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27735 _ACEOF
27737 else
27738 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
27740 done
27744 # Used in libmath/Makefile.am.
27745 if test -n "$LIBMATHOBJS"; then
27746 need_libmath=yes
27751 # Test wchar.h for mbstate_t, which is needed for char_traits and
27752 # others even if wchar_t support is not on.
27753 echo "$as_me:$LINENO: checking for mbstate_t" >&5
27754 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
27755 cat >conftest.$ac_ext <<_ACEOF
27756 /* confdefs.h. */
27757 _ACEOF
27758 cat confdefs.h >>conftest.$ac_ext
27759 cat >>conftest.$ac_ext <<_ACEOF
27760 /* end confdefs.h. */
27761 #include <wchar.h>
27763 main ()
27765 mbstate_t teststate;
27767 return 0;
27769 _ACEOF
27770 rm -f conftest.$ac_objext
27771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27772 (eval $ac_compile) 2>conftest.er1
27773 ac_status=$?
27774 grep -v '^ *+' conftest.er1 >conftest.err
27775 rm -f conftest.er1
27776 cat conftest.err >&5
27777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27778 (exit $ac_status); } &&
27779 { ac_try='test -z "$ac_c_werror_flag"
27780 || test ! -s conftest.err'
27781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27782 (eval $ac_try) 2>&5
27783 ac_status=$?
27784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27785 (exit $ac_status); }; } &&
27786 { ac_try='test -s conftest.$ac_objext'
27787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27788 (eval $ac_try) 2>&5
27789 ac_status=$?
27790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27791 (exit $ac_status); }; }; then
27792 have_mbstate_t=yes
27793 else
27794 echo "$as_me: failed program was:" >&5
27795 sed 's/^/| /' conftest.$ac_ext >&5
27797 have_mbstate_t=no
27799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27800 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
27801 echo "${ECHO_T}$have_mbstate_t" >&6
27802 if test x"$have_mbstate_t" = xyes; then
27803 cat >>confdefs.h <<\_ACEOF
27804 #define HAVE_MBSTATE_T 1
27805 _ACEOF
27809 # Sanity check for existence of ISO C99 headers for extended encoding.
27811 for ac_header in wchar.h
27813 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27814 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27815 echo "$as_me:$LINENO: checking for $ac_header" >&5
27816 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27817 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27818 echo $ECHO_N "(cached) $ECHO_C" >&6
27820 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27821 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27822 else
27823 # Is the header compilable?
27824 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27825 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27826 cat >conftest.$ac_ext <<_ACEOF
27827 /* confdefs.h. */
27828 _ACEOF
27829 cat confdefs.h >>conftest.$ac_ext
27830 cat >>conftest.$ac_ext <<_ACEOF
27831 /* end confdefs.h. */
27832 $ac_includes_default
27833 #include <$ac_header>
27834 _ACEOF
27835 rm -f conftest.$ac_objext
27836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27837 (eval $ac_compile) 2>conftest.er1
27838 ac_status=$?
27839 grep -v '^ *+' conftest.er1 >conftest.err
27840 rm -f conftest.er1
27841 cat conftest.err >&5
27842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27843 (exit $ac_status); } &&
27844 { ac_try='test -z "$ac_c_werror_flag"
27845 || test ! -s conftest.err'
27846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27847 (eval $ac_try) 2>&5
27848 ac_status=$?
27849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27850 (exit $ac_status); }; } &&
27851 { ac_try='test -s conftest.$ac_objext'
27852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27853 (eval $ac_try) 2>&5
27854 ac_status=$?
27855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27856 (exit $ac_status); }; }; then
27857 ac_header_compiler=yes
27858 else
27859 echo "$as_me: failed program was:" >&5
27860 sed 's/^/| /' conftest.$ac_ext >&5
27862 ac_header_compiler=no
27864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27865 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27866 echo "${ECHO_T}$ac_header_compiler" >&6
27868 # Is the header present?
27869 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27870 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27871 cat >conftest.$ac_ext <<_ACEOF
27872 /* confdefs.h. */
27873 _ACEOF
27874 cat confdefs.h >>conftest.$ac_ext
27875 cat >>conftest.$ac_ext <<_ACEOF
27876 /* end confdefs.h. */
27877 #include <$ac_header>
27878 _ACEOF
27879 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27880 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27881 ac_status=$?
27882 grep -v '^ *+' conftest.er1 >conftest.err
27883 rm -f conftest.er1
27884 cat conftest.err >&5
27885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27886 (exit $ac_status); } >/dev/null; then
27887 if test -s conftest.err; then
27888 ac_cpp_err=$ac_c_preproc_warn_flag
27889 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27890 else
27891 ac_cpp_err=
27893 else
27894 ac_cpp_err=yes
27896 if test -z "$ac_cpp_err"; then
27897 ac_header_preproc=yes
27898 else
27899 echo "$as_me: failed program was:" >&5
27900 sed 's/^/| /' conftest.$ac_ext >&5
27902 ac_header_preproc=no
27904 rm -f conftest.err conftest.$ac_ext
27905 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27906 echo "${ECHO_T}$ac_header_preproc" >&6
27908 # So? What about this header?
27909 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27910 yes:no: )
27911 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27912 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27913 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27914 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27915 ac_header_preproc=yes
27917 no:yes:* )
27918 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27919 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27920 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27921 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27922 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27923 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27924 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27925 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27926 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27927 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27928 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27929 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27931 cat <<\_ASBOX
27932 ## ----------------------------------------- ##
27933 ## Report this to the package-unused lists. ##
27934 ## ----------------------------------------- ##
27935 _ASBOX
27937 sed "s/^/$as_me: WARNING: /" >&2
27939 esac
27940 echo "$as_me:$LINENO: checking for $ac_header" >&5
27941 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27942 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27943 echo $ECHO_N "(cached) $ECHO_C" >&6
27944 else
27945 eval "$as_ac_Header=\$ac_header_preproc"
27947 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27948 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27951 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27952 cat >>confdefs.h <<_ACEOF
27953 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27954 _ACEOF
27955 ac_has_wchar_h=yes
27956 else
27957 ac_has_wchar_h=no
27960 done
27963 for ac_header in wctype.h
27965 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27966 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27967 echo "$as_me:$LINENO: checking for $ac_header" >&5
27968 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27969 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27970 echo $ECHO_N "(cached) $ECHO_C" >&6
27972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27973 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27974 else
27975 # Is the header compilable?
27976 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27977 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27978 cat >conftest.$ac_ext <<_ACEOF
27979 /* confdefs.h. */
27980 _ACEOF
27981 cat confdefs.h >>conftest.$ac_ext
27982 cat >>conftest.$ac_ext <<_ACEOF
27983 /* end confdefs.h. */
27984 $ac_includes_default
27985 #include <$ac_header>
27986 _ACEOF
27987 rm -f conftest.$ac_objext
27988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27989 (eval $ac_compile) 2>conftest.er1
27990 ac_status=$?
27991 grep -v '^ *+' conftest.er1 >conftest.err
27992 rm -f conftest.er1
27993 cat conftest.err >&5
27994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27995 (exit $ac_status); } &&
27996 { ac_try='test -z "$ac_c_werror_flag"
27997 || test ! -s conftest.err'
27998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27999 (eval $ac_try) 2>&5
28000 ac_status=$?
28001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28002 (exit $ac_status); }; } &&
28003 { ac_try='test -s conftest.$ac_objext'
28004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28005 (eval $ac_try) 2>&5
28006 ac_status=$?
28007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28008 (exit $ac_status); }; }; then
28009 ac_header_compiler=yes
28010 else
28011 echo "$as_me: failed program was:" >&5
28012 sed 's/^/| /' conftest.$ac_ext >&5
28014 ac_header_compiler=no
28016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28017 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28018 echo "${ECHO_T}$ac_header_compiler" >&6
28020 # Is the header present?
28021 echo "$as_me:$LINENO: checking $ac_header presence" >&5
28022 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
28023 cat >conftest.$ac_ext <<_ACEOF
28024 /* confdefs.h. */
28025 _ACEOF
28026 cat confdefs.h >>conftest.$ac_ext
28027 cat >>conftest.$ac_ext <<_ACEOF
28028 /* end confdefs.h. */
28029 #include <$ac_header>
28030 _ACEOF
28031 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28032 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28033 ac_status=$?
28034 grep -v '^ *+' conftest.er1 >conftest.err
28035 rm -f conftest.er1
28036 cat conftest.err >&5
28037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28038 (exit $ac_status); } >/dev/null; then
28039 if test -s conftest.err; then
28040 ac_cpp_err=$ac_c_preproc_warn_flag
28041 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28042 else
28043 ac_cpp_err=
28045 else
28046 ac_cpp_err=yes
28048 if test -z "$ac_cpp_err"; then
28049 ac_header_preproc=yes
28050 else
28051 echo "$as_me: failed program was:" >&5
28052 sed 's/^/| /' conftest.$ac_ext >&5
28054 ac_header_preproc=no
28056 rm -f conftest.err conftest.$ac_ext
28057 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28058 echo "${ECHO_T}$ac_header_preproc" >&6
28060 # So? What about this header?
28061 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28062 yes:no: )
28063 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28064 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28065 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28066 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28067 ac_header_preproc=yes
28069 no:yes:* )
28070 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28071 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28072 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28073 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28074 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28075 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28076 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
28077 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
28078 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28079 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28080 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28081 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28083 cat <<\_ASBOX
28084 ## ----------------------------------------- ##
28085 ## Report this to the package-unused lists. ##
28086 ## ----------------------------------------- ##
28087 _ASBOX
28089 sed "s/^/$as_me: WARNING: /" >&2
28091 esac
28092 echo "$as_me:$LINENO: checking for $ac_header" >&5
28093 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28094 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28095 echo $ECHO_N "(cached) $ECHO_C" >&6
28096 else
28097 eval "$as_ac_Header=\$ac_header_preproc"
28099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28100 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28103 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28104 cat >>confdefs.h <<_ACEOF
28105 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28106 _ACEOF
28107 ac_has_wctype_h=yes
28108 else
28109 ac_has_wctype_h=no
28112 done
28115 # Only continue checking if the ISO C99 headers exist and support is on.
28116 if test x"$ac_has_wchar_h" = xyes &&
28117 test x"$ac_has_wctype_h" = xyes &&
28118 test x"$enable_c_mbchar" != xno; then
28120 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
28121 # numeric_limits can instantiate type_traits<wchar_t>
28122 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
28123 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
28124 cat >conftest.$ac_ext <<_ACEOF
28125 /* confdefs.h. */
28126 _ACEOF
28127 cat confdefs.h >>conftest.$ac_ext
28128 cat >>conftest.$ac_ext <<_ACEOF
28129 /* end confdefs.h. */
28130 #include <wchar.h>
28132 main ()
28134 int i = WCHAR_MIN; int j = WCHAR_MAX;
28136 return 0;
28138 _ACEOF
28139 rm -f conftest.$ac_objext
28140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28141 (eval $ac_compile) 2>conftest.er1
28142 ac_status=$?
28143 grep -v '^ *+' conftest.er1 >conftest.err
28144 rm -f conftest.er1
28145 cat conftest.err >&5
28146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28147 (exit $ac_status); } &&
28148 { ac_try='test -z "$ac_c_werror_flag"
28149 || test ! -s conftest.err'
28150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28151 (eval $ac_try) 2>&5
28152 ac_status=$?
28153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28154 (exit $ac_status); }; } &&
28155 { ac_try='test -s conftest.$ac_objext'
28156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28157 (eval $ac_try) 2>&5
28158 ac_status=$?
28159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28160 (exit $ac_status); }; }; then
28161 has_wchar_minmax=yes
28162 else
28163 echo "$as_me: failed program was:" >&5
28164 sed 's/^/| /' conftest.$ac_ext >&5
28166 has_wchar_minmax=no
28168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28169 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
28170 echo "${ECHO_T}$has_wchar_minmax" >&6
28172 # Test wchar.h for WEOF, which is what we use to determine whether
28173 # to specialize for char_traits<wchar_t> or not.
28174 echo "$as_me:$LINENO: checking for WEOF" >&5
28175 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
28176 cat >conftest.$ac_ext <<_ACEOF
28177 /* confdefs.h. */
28178 _ACEOF
28179 cat confdefs.h >>conftest.$ac_ext
28180 cat >>conftest.$ac_ext <<_ACEOF
28181 /* end confdefs.h. */
28183 #include <wchar.h>
28184 #include <stddef.h>
28186 main ()
28188 wint_t i = WEOF;
28190 return 0;
28192 _ACEOF
28193 rm -f conftest.$ac_objext
28194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28195 (eval $ac_compile) 2>conftest.er1
28196 ac_status=$?
28197 grep -v '^ *+' conftest.er1 >conftest.err
28198 rm -f conftest.er1
28199 cat conftest.err >&5
28200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28201 (exit $ac_status); } &&
28202 { ac_try='test -z "$ac_c_werror_flag"
28203 || test ! -s conftest.err'
28204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28205 (eval $ac_try) 2>&5
28206 ac_status=$?
28207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28208 (exit $ac_status); }; } &&
28209 { ac_try='test -s conftest.$ac_objext'
28210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28211 (eval $ac_try) 2>&5
28212 ac_status=$?
28213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28214 (exit $ac_status); }; }; then
28215 has_weof=yes
28216 else
28217 echo "$as_me: failed program was:" >&5
28218 sed 's/^/| /' conftest.$ac_ext >&5
28220 has_weof=no
28222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28223 echo "$as_me:$LINENO: result: $has_weof" >&5
28224 echo "${ECHO_T}$has_weof" >&6
28226 # Tests for wide character functions used in char_traits<wchar_t>.
28227 ac_wfuncs=yes
28234 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
28236 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28237 echo "$as_me:$LINENO: checking for $ac_func" >&5
28238 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28239 if eval "test \"\${$as_ac_var+set}\" = set"; then
28240 echo $ECHO_N "(cached) $ECHO_C" >&6
28241 else
28242 if test x$gcc_no_link = xyes; then
28243 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28244 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28245 { (exit 1); exit 1; }; }
28247 cat >conftest.$ac_ext <<_ACEOF
28248 /* confdefs.h. */
28249 _ACEOF
28250 cat confdefs.h >>conftest.$ac_ext
28251 cat >>conftest.$ac_ext <<_ACEOF
28252 /* end confdefs.h. */
28253 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28254 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28255 #define $ac_func innocuous_$ac_func
28257 /* System header to define __stub macros and hopefully few prototypes,
28258 which can conflict with char $ac_func (); below.
28259 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28260 <limits.h> exists even on freestanding compilers. */
28262 #ifdef __STDC__
28263 # include <limits.h>
28264 #else
28265 # include <assert.h>
28266 #endif
28268 #undef $ac_func
28270 /* Override any gcc2 internal prototype to avoid an error. */
28271 #ifdef __cplusplus
28272 extern "C"
28274 #endif
28275 /* We use char because int might match the return type of a gcc2
28276 builtin and then its argument prototype would still apply. */
28277 char $ac_func ();
28278 /* The GNU C library defines this for functions which it implements
28279 to always fail with ENOSYS. Some functions are actually named
28280 something starting with __ and the normal name is an alias. */
28281 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28282 choke me
28283 #else
28284 char (*f) () = $ac_func;
28285 #endif
28286 #ifdef __cplusplus
28288 #endif
28291 main ()
28293 return f != $ac_func;
28295 return 0;
28297 _ACEOF
28298 rm -f conftest.$ac_objext conftest$ac_exeext
28299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28300 (eval $ac_link) 2>conftest.er1
28301 ac_status=$?
28302 grep -v '^ *+' conftest.er1 >conftest.err
28303 rm -f conftest.er1
28304 cat conftest.err >&5
28305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28306 (exit $ac_status); } &&
28307 { ac_try='test -z "$ac_c_werror_flag"
28308 || test ! -s conftest.err'
28309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28310 (eval $ac_try) 2>&5
28311 ac_status=$?
28312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28313 (exit $ac_status); }; } &&
28314 { ac_try='test -s conftest$ac_exeext'
28315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28316 (eval $ac_try) 2>&5
28317 ac_status=$?
28318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28319 (exit $ac_status); }; }; then
28320 eval "$as_ac_var=yes"
28321 else
28322 echo "$as_me: failed program was:" >&5
28323 sed 's/^/| /' conftest.$ac_ext >&5
28325 eval "$as_ac_var=no"
28327 rm -f conftest.err conftest.$ac_objext \
28328 conftest$ac_exeext conftest.$ac_ext
28330 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28331 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28332 if test `eval echo '${'$as_ac_var'}'` = yes; then
28333 cat >>confdefs.h <<_ACEOF
28334 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28335 _ACEOF
28337 else
28338 ac_wfuncs=no
28340 done
28343 # Checks for names injected into std:: by the c_std headers.
28390 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
28391 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
28392 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
28393 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
28394 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
28395 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
28397 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28398 echo "$as_me:$LINENO: checking for $ac_func" >&5
28399 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28400 if eval "test \"\${$as_ac_var+set}\" = set"; then
28401 echo $ECHO_N "(cached) $ECHO_C" >&6
28402 else
28403 if test x$gcc_no_link = xyes; then
28404 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28405 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28406 { (exit 1); exit 1; }; }
28408 cat >conftest.$ac_ext <<_ACEOF
28409 /* confdefs.h. */
28410 _ACEOF
28411 cat confdefs.h >>conftest.$ac_ext
28412 cat >>conftest.$ac_ext <<_ACEOF
28413 /* end confdefs.h. */
28414 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28415 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28416 #define $ac_func innocuous_$ac_func
28418 /* System header to define __stub macros and hopefully few prototypes,
28419 which can conflict with char $ac_func (); below.
28420 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28421 <limits.h> exists even on freestanding compilers. */
28423 #ifdef __STDC__
28424 # include <limits.h>
28425 #else
28426 # include <assert.h>
28427 #endif
28429 #undef $ac_func
28431 /* Override any gcc2 internal prototype to avoid an error. */
28432 #ifdef __cplusplus
28433 extern "C"
28435 #endif
28436 /* We use char because int might match the return type of a gcc2
28437 builtin and then its argument prototype would still apply. */
28438 char $ac_func ();
28439 /* The GNU C library defines this for functions which it implements
28440 to always fail with ENOSYS. Some functions are actually named
28441 something starting with __ and the normal name is an alias. */
28442 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28443 choke me
28444 #else
28445 char (*f) () = $ac_func;
28446 #endif
28447 #ifdef __cplusplus
28449 #endif
28452 main ()
28454 return f != $ac_func;
28456 return 0;
28458 _ACEOF
28459 rm -f conftest.$ac_objext conftest$ac_exeext
28460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28461 (eval $ac_link) 2>conftest.er1
28462 ac_status=$?
28463 grep -v '^ *+' conftest.er1 >conftest.err
28464 rm -f conftest.er1
28465 cat conftest.err >&5
28466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28467 (exit $ac_status); } &&
28468 { ac_try='test -z "$ac_c_werror_flag"
28469 || test ! -s conftest.err'
28470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28471 (eval $ac_try) 2>&5
28472 ac_status=$?
28473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28474 (exit $ac_status); }; } &&
28475 { ac_try='test -s conftest$ac_exeext'
28476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28477 (eval $ac_try) 2>&5
28478 ac_status=$?
28479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28480 (exit $ac_status); }; }; then
28481 eval "$as_ac_var=yes"
28482 else
28483 echo "$as_me: failed program was:" >&5
28484 sed 's/^/| /' conftest.$ac_ext >&5
28486 eval "$as_ac_var=no"
28488 rm -f conftest.err conftest.$ac_objext \
28489 conftest$ac_exeext conftest.$ac_ext
28491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28492 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28493 if test `eval echo '${'$as_ac_var'}'` = yes; then
28494 cat >>confdefs.h <<_ACEOF
28495 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28496 _ACEOF
28498 else
28499 ac_wfuncs=no
28501 done
28504 # Checks for wide character functions that are not required
28505 # for basic wchar_t support. Don't disable support if they are missing.
28506 # Injection of these is wrapped with guard macros.
28512 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
28514 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28515 echo "$as_me:$LINENO: checking for $ac_func" >&5
28516 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28517 if eval "test \"\${$as_ac_var+set}\" = set"; then
28518 echo $ECHO_N "(cached) $ECHO_C" >&6
28519 else
28520 if test x$gcc_no_link = xyes; then
28521 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28522 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28523 { (exit 1); exit 1; }; }
28525 cat >conftest.$ac_ext <<_ACEOF
28526 /* confdefs.h. */
28527 _ACEOF
28528 cat confdefs.h >>conftest.$ac_ext
28529 cat >>conftest.$ac_ext <<_ACEOF
28530 /* end confdefs.h. */
28531 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28532 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28533 #define $ac_func innocuous_$ac_func
28535 /* System header to define __stub macros and hopefully few prototypes,
28536 which can conflict with char $ac_func (); below.
28537 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28538 <limits.h> exists even on freestanding compilers. */
28540 #ifdef __STDC__
28541 # include <limits.h>
28542 #else
28543 # include <assert.h>
28544 #endif
28546 #undef $ac_func
28548 /* Override any gcc2 internal prototype to avoid an error. */
28549 #ifdef __cplusplus
28550 extern "C"
28552 #endif
28553 /* We use char because int might match the return type of a gcc2
28554 builtin and then its argument prototype would still apply. */
28555 char $ac_func ();
28556 /* The GNU C library defines this for functions which it implements
28557 to always fail with ENOSYS. Some functions are actually named
28558 something starting with __ and the normal name is an alias. */
28559 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28560 choke me
28561 #else
28562 char (*f) () = $ac_func;
28563 #endif
28564 #ifdef __cplusplus
28566 #endif
28569 main ()
28571 return f != $ac_func;
28573 return 0;
28575 _ACEOF
28576 rm -f conftest.$ac_objext conftest$ac_exeext
28577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28578 (eval $ac_link) 2>conftest.er1
28579 ac_status=$?
28580 grep -v '^ *+' conftest.er1 >conftest.err
28581 rm -f conftest.er1
28582 cat conftest.err >&5
28583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28584 (exit $ac_status); } &&
28585 { ac_try='test -z "$ac_c_werror_flag"
28586 || test ! -s conftest.err'
28587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28588 (eval $ac_try) 2>&5
28589 ac_status=$?
28590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28591 (exit $ac_status); }; } &&
28592 { ac_try='test -s conftest$ac_exeext'
28593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28594 (eval $ac_try) 2>&5
28595 ac_status=$?
28596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28597 (exit $ac_status); }; }; then
28598 eval "$as_ac_var=yes"
28599 else
28600 echo "$as_me: failed program was:" >&5
28601 sed 's/^/| /' conftest.$ac_ext >&5
28603 eval "$as_ac_var=no"
28605 rm -f conftest.err conftest.$ac_objext \
28606 conftest$ac_exeext conftest.$ac_ext
28608 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28609 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28610 if test `eval echo '${'$as_ac_var'}'` = yes; then
28611 cat >>confdefs.h <<_ACEOF
28612 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28613 _ACEOF
28616 done
28619 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
28620 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
28621 if test x"$has_weof" = xyes &&
28622 test x"$has_wchar_minmax" = xyes &&
28623 test x"$ac_wfuncs" = xyes;
28624 then
28625 ac_isoC99_wchar_t=yes
28626 else
28627 ac_isoC99_wchar_t=no
28629 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
28630 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
28632 # Use iconv for wchar_t to char conversions. As such, check for
28633 # X/Open Portability Guide, version 2 features (XPG2).
28634 if test "${ac_cv_header_iconv_h+set}" = set; then
28635 echo "$as_me:$LINENO: checking for iconv.h" >&5
28636 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28637 if test "${ac_cv_header_iconv_h+set}" = set; then
28638 echo $ECHO_N "(cached) $ECHO_C" >&6
28640 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28641 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28642 else
28643 # Is the header compilable?
28644 echo "$as_me:$LINENO: checking iconv.h usability" >&5
28645 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
28646 cat >conftest.$ac_ext <<_ACEOF
28647 /* confdefs.h. */
28648 _ACEOF
28649 cat confdefs.h >>conftest.$ac_ext
28650 cat >>conftest.$ac_ext <<_ACEOF
28651 /* end confdefs.h. */
28652 $ac_includes_default
28653 #include <iconv.h>
28654 _ACEOF
28655 rm -f conftest.$ac_objext
28656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28657 (eval $ac_compile) 2>conftest.er1
28658 ac_status=$?
28659 grep -v '^ *+' conftest.er1 >conftest.err
28660 rm -f conftest.er1
28661 cat conftest.err >&5
28662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28663 (exit $ac_status); } &&
28664 { ac_try='test -z "$ac_c_werror_flag"
28665 || test ! -s conftest.err'
28666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28667 (eval $ac_try) 2>&5
28668 ac_status=$?
28669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28670 (exit $ac_status); }; } &&
28671 { ac_try='test -s conftest.$ac_objext'
28672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28673 (eval $ac_try) 2>&5
28674 ac_status=$?
28675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28676 (exit $ac_status); }; }; then
28677 ac_header_compiler=yes
28678 else
28679 echo "$as_me: failed program was:" >&5
28680 sed 's/^/| /' conftest.$ac_ext >&5
28682 ac_header_compiler=no
28684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28685 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28686 echo "${ECHO_T}$ac_header_compiler" >&6
28688 # Is the header present?
28689 echo "$as_me:$LINENO: checking iconv.h presence" >&5
28690 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
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 #include <iconv.h>
28698 _ACEOF
28699 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28700 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28701 ac_status=$?
28702 grep -v '^ *+' conftest.er1 >conftest.err
28703 rm -f conftest.er1
28704 cat conftest.err >&5
28705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28706 (exit $ac_status); } >/dev/null; then
28707 if test -s conftest.err; then
28708 ac_cpp_err=$ac_c_preproc_warn_flag
28709 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28710 else
28711 ac_cpp_err=
28713 else
28714 ac_cpp_err=yes
28716 if test -z "$ac_cpp_err"; then
28717 ac_header_preproc=yes
28718 else
28719 echo "$as_me: failed program was:" >&5
28720 sed 's/^/| /' conftest.$ac_ext >&5
28722 ac_header_preproc=no
28724 rm -f conftest.err conftest.$ac_ext
28725 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28726 echo "${ECHO_T}$ac_header_preproc" >&6
28728 # So? What about this header?
28729 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28730 yes:no: )
28731 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
28732 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28733 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
28734 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
28735 ac_header_preproc=yes
28737 no:yes:* )
28738 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
28739 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
28740 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
28741 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
28742 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
28743 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
28744 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
28745 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
28746 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
28747 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
28748 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
28749 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
28751 cat <<\_ASBOX
28752 ## ----------------------------------------- ##
28753 ## Report this to the package-unused lists. ##
28754 ## ----------------------------------------- ##
28755 _ASBOX
28757 sed "s/^/$as_me: WARNING: /" >&2
28759 esac
28760 echo "$as_me:$LINENO: checking for iconv.h" >&5
28761 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28762 if test "${ac_cv_header_iconv_h+set}" = set; then
28763 echo $ECHO_N "(cached) $ECHO_C" >&6
28764 else
28765 ac_cv_header_iconv_h=$ac_header_preproc
28767 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28768 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28771 if test $ac_cv_header_iconv_h = yes; then
28772 ac_has_iconv_h=yes
28773 else
28774 ac_has_iconv_h=no
28778 if test "${ac_cv_header_langinfo_h+set}" = set; then
28779 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28780 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28781 if test "${ac_cv_header_langinfo_h+set}" = set; then
28782 echo $ECHO_N "(cached) $ECHO_C" >&6
28784 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28785 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28786 else
28787 # Is the header compilable?
28788 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
28789 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
28790 cat >conftest.$ac_ext <<_ACEOF
28791 /* confdefs.h. */
28792 _ACEOF
28793 cat confdefs.h >>conftest.$ac_ext
28794 cat >>conftest.$ac_ext <<_ACEOF
28795 /* end confdefs.h. */
28796 $ac_includes_default
28797 #include <langinfo.h>
28798 _ACEOF
28799 rm -f conftest.$ac_objext
28800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28801 (eval $ac_compile) 2>conftest.er1
28802 ac_status=$?
28803 grep -v '^ *+' conftest.er1 >conftest.err
28804 rm -f conftest.er1
28805 cat conftest.err >&5
28806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28807 (exit $ac_status); } &&
28808 { ac_try='test -z "$ac_c_werror_flag"
28809 || test ! -s conftest.err'
28810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28811 (eval $ac_try) 2>&5
28812 ac_status=$?
28813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28814 (exit $ac_status); }; } &&
28815 { ac_try='test -s conftest.$ac_objext'
28816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28817 (eval $ac_try) 2>&5
28818 ac_status=$?
28819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28820 (exit $ac_status); }; }; then
28821 ac_header_compiler=yes
28822 else
28823 echo "$as_me: failed program was:" >&5
28824 sed 's/^/| /' conftest.$ac_ext >&5
28826 ac_header_compiler=no
28828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28829 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28830 echo "${ECHO_T}$ac_header_compiler" >&6
28832 # Is the header present?
28833 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
28834 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
28835 cat >conftest.$ac_ext <<_ACEOF
28836 /* confdefs.h. */
28837 _ACEOF
28838 cat confdefs.h >>conftest.$ac_ext
28839 cat >>conftest.$ac_ext <<_ACEOF
28840 /* end confdefs.h. */
28841 #include <langinfo.h>
28842 _ACEOF
28843 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28844 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28845 ac_status=$?
28846 grep -v '^ *+' conftest.er1 >conftest.err
28847 rm -f conftest.er1
28848 cat conftest.err >&5
28849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28850 (exit $ac_status); } >/dev/null; then
28851 if test -s conftest.err; then
28852 ac_cpp_err=$ac_c_preproc_warn_flag
28853 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28854 else
28855 ac_cpp_err=
28857 else
28858 ac_cpp_err=yes
28860 if test -z "$ac_cpp_err"; then
28861 ac_header_preproc=yes
28862 else
28863 echo "$as_me: failed program was:" >&5
28864 sed 's/^/| /' conftest.$ac_ext >&5
28866 ac_header_preproc=no
28868 rm -f conftest.err conftest.$ac_ext
28869 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28870 echo "${ECHO_T}$ac_header_preproc" >&6
28872 # So? What about this header?
28873 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28874 yes:no: )
28875 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
28876 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28877 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
28878 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
28879 ac_header_preproc=yes
28881 no:yes:* )
28882 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
28883 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
28884 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
28885 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
28886 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
28887 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
28888 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
28889 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
28890 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
28891 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
28892 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
28893 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
28895 cat <<\_ASBOX
28896 ## ----------------------------------------- ##
28897 ## Report this to the package-unused lists. ##
28898 ## ----------------------------------------- ##
28899 _ASBOX
28901 sed "s/^/$as_me: WARNING: /" >&2
28903 esac
28904 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28905 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28906 if test "${ac_cv_header_langinfo_h+set}" = set; then
28907 echo $ECHO_N "(cached) $ECHO_C" >&6
28908 else
28909 ac_cv_header_langinfo_h=$ac_header_preproc
28911 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28912 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28915 if test $ac_cv_header_langinfo_h = yes; then
28916 ac_has_langinfo_h=yes
28917 else
28918 ac_has_langinfo_h=no
28923 # Check for existence of libiconv.a providing XPG2 wchar_t support.
28924 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
28925 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
28926 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
28927 echo $ECHO_N "(cached) $ECHO_C" >&6
28928 else
28929 ac_check_lib_save_LIBS=$LIBS
28930 LIBS="-liconv $LIBS"
28931 if test x$gcc_no_link = xyes; then
28932 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28934 { (exit 1); exit 1; }; }
28936 cat >conftest.$ac_ext <<_ACEOF
28937 /* confdefs.h. */
28938 _ACEOF
28939 cat confdefs.h >>conftest.$ac_ext
28940 cat >>conftest.$ac_ext <<_ACEOF
28941 /* end confdefs.h. */
28943 /* Override any gcc2 internal prototype to avoid an error. */
28944 #ifdef __cplusplus
28945 extern "C"
28946 #endif
28947 /* We use char because int might match the return type of a gcc2
28948 builtin and then its argument prototype would still apply. */
28949 char iconv ();
28951 main ()
28953 iconv ();
28955 return 0;
28957 _ACEOF
28958 rm -f conftest.$ac_objext conftest$ac_exeext
28959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28960 (eval $ac_link) 2>conftest.er1
28961 ac_status=$?
28962 grep -v '^ *+' conftest.er1 >conftest.err
28963 rm -f conftest.er1
28964 cat conftest.err >&5
28965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28966 (exit $ac_status); } &&
28967 { ac_try='test -z "$ac_c_werror_flag"
28968 || test ! -s conftest.err'
28969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28970 (eval $ac_try) 2>&5
28971 ac_status=$?
28972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28973 (exit $ac_status); }; } &&
28974 { ac_try='test -s conftest$ac_exeext'
28975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28976 (eval $ac_try) 2>&5
28977 ac_status=$?
28978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28979 (exit $ac_status); }; }; then
28980 ac_cv_lib_iconv_iconv=yes
28981 else
28982 echo "$as_me: failed program was:" >&5
28983 sed 's/^/| /' conftest.$ac_ext >&5
28985 ac_cv_lib_iconv_iconv=no
28987 rm -f conftest.err conftest.$ac_objext \
28988 conftest$ac_exeext conftest.$ac_ext
28989 LIBS=$ac_check_lib_save_LIBS
28991 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
28992 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
28993 if test $ac_cv_lib_iconv_iconv = yes; then
28994 LIBICONV="-liconv"
28997 ac_save_LIBS="$LIBS"
28998 LIBS="$LIBS $LIBICONV"
29005 for ac_func in iconv_open iconv_close iconv nl_langinfo
29007 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29008 echo "$as_me:$LINENO: checking for $ac_func" >&5
29009 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29010 if eval "test \"\${$as_ac_var+set}\" = set"; then
29011 echo $ECHO_N "(cached) $ECHO_C" >&6
29012 else
29013 if test x$gcc_no_link = xyes; then
29014 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29016 { (exit 1); exit 1; }; }
29018 cat >conftest.$ac_ext <<_ACEOF
29019 /* confdefs.h. */
29020 _ACEOF
29021 cat confdefs.h >>conftest.$ac_ext
29022 cat >>conftest.$ac_ext <<_ACEOF
29023 /* end confdefs.h. */
29024 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29025 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29026 #define $ac_func innocuous_$ac_func
29028 /* System header to define __stub macros and hopefully few prototypes,
29029 which can conflict with char $ac_func (); below.
29030 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29031 <limits.h> exists even on freestanding compilers. */
29033 #ifdef __STDC__
29034 # include <limits.h>
29035 #else
29036 # include <assert.h>
29037 #endif
29039 #undef $ac_func
29041 /* Override any gcc2 internal prototype to avoid an error. */
29042 #ifdef __cplusplus
29043 extern "C"
29045 #endif
29046 /* We use char because int might match the return type of a gcc2
29047 builtin and then its argument prototype would still apply. */
29048 char $ac_func ();
29049 /* The GNU C library defines this for functions which it implements
29050 to always fail with ENOSYS. Some functions are actually named
29051 something starting with __ and the normal name is an alias. */
29052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29053 choke me
29054 #else
29055 char (*f) () = $ac_func;
29056 #endif
29057 #ifdef __cplusplus
29059 #endif
29062 main ()
29064 return f != $ac_func;
29066 return 0;
29068 _ACEOF
29069 rm -f conftest.$ac_objext conftest$ac_exeext
29070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29071 (eval $ac_link) 2>conftest.er1
29072 ac_status=$?
29073 grep -v '^ *+' conftest.er1 >conftest.err
29074 rm -f conftest.er1
29075 cat conftest.err >&5
29076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29077 (exit $ac_status); } &&
29078 { ac_try='test -z "$ac_c_werror_flag"
29079 || test ! -s conftest.err'
29080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29081 (eval $ac_try) 2>&5
29082 ac_status=$?
29083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29084 (exit $ac_status); }; } &&
29085 { ac_try='test -s conftest$ac_exeext'
29086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29087 (eval $ac_try) 2>&5
29088 ac_status=$?
29089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29090 (exit $ac_status); }; }; then
29091 eval "$as_ac_var=yes"
29092 else
29093 echo "$as_me: failed program was:" >&5
29094 sed 's/^/| /' conftest.$ac_ext >&5
29096 eval "$as_ac_var=no"
29098 rm -f conftest.err conftest.$ac_objext \
29099 conftest$ac_exeext conftest.$ac_ext
29101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29102 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29103 if test `eval echo '${'$as_ac_var'}'` = yes; then
29104 cat >>confdefs.h <<_ACEOF
29105 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29106 _ACEOF
29107 ac_XPG2funcs=yes
29108 else
29109 ac_XPG2funcs=no
29111 done
29114 LIBS="$ac_save_LIBS"
29116 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
29117 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
29118 if test x"$ac_has_iconv_h" = xyes &&
29119 test x"$ac_has_langinfo_h" = xyes &&
29120 test x"$ac_XPG2funcs" = xyes;
29121 then
29122 ac_XPG2_wchar_t=yes
29123 else
29124 ac_XPG2_wchar_t=no
29126 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
29127 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
29129 # At the moment, only enable wchar_t specializations if all the
29130 # above support is present.
29131 if test x"$ac_isoC99_wchar_t" = xyes &&
29132 test x"$ac_XPG2_wchar_t" = xyes;
29133 then
29134 cat >>confdefs.h <<\_ACEOF
29135 #define _GLIBCXX_USE_WCHAR_T 1
29136 _ACEOF
29138 enable_wchar_t=yes
29141 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
29142 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
29143 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
29144 echo "${ECHO_T}$enable_wchar_t" >&6
29147 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29148 ac_save_CXXFLAGS="$CXXFLAGS"
29149 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29152 echo "$as_me:$LINENO: checking for strtold declaration" >&5
29153 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
29154 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
29155 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
29156 echo $ECHO_N "(cached) $ECHO_C" >&6
29157 else
29161 ac_ext=cc
29162 ac_cpp='$CXXCPP $CPPFLAGS'
29163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29167 cat >conftest.$ac_ext <<_ACEOF
29168 /* confdefs.h. */
29169 _ACEOF
29170 cat confdefs.h >>conftest.$ac_ext
29171 cat >>conftest.$ac_ext <<_ACEOF
29172 /* end confdefs.h. */
29173 #include <stdlib.h>
29175 main ()
29177 strtold(0, 0);
29179 return 0;
29181 _ACEOF
29182 rm -f conftest.$ac_objext
29183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29184 (eval $ac_compile) 2>conftest.er1
29185 ac_status=$?
29186 grep -v '^ *+' conftest.er1 >conftest.err
29187 rm -f conftest.er1
29188 cat conftest.err >&5
29189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29190 (exit $ac_status); } &&
29191 { ac_try='test -z "$ac_cxx_werror_flag"
29192 || test ! -s conftest.err'
29193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29194 (eval $ac_try) 2>&5
29195 ac_status=$?
29196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29197 (exit $ac_status); }; } &&
29198 { ac_try='test -s conftest.$ac_objext'
29199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29200 (eval $ac_try) 2>&5
29201 ac_status=$?
29202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29203 (exit $ac_status); }; }; then
29204 glibcxx_cv_func_strtold_use=yes
29205 else
29206 echo "$as_me: failed program was:" >&5
29207 sed 's/^/| /' conftest.$ac_ext >&5
29209 glibcxx_cv_func_strtold_use=no
29211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29212 ac_ext=c
29213 ac_cpp='$CPP $CPPFLAGS'
29214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29222 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
29223 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
29224 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
29226 for ac_func in strtold
29228 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29229 echo "$as_me:$LINENO: checking for $ac_func" >&5
29230 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29231 if eval "test \"\${$as_ac_var+set}\" = set"; then
29232 echo $ECHO_N "(cached) $ECHO_C" >&6
29233 else
29234 if test x$gcc_no_link = xyes; then
29235 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29236 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29237 { (exit 1); exit 1; }; }
29239 cat >conftest.$ac_ext <<_ACEOF
29240 /* confdefs.h. */
29241 _ACEOF
29242 cat confdefs.h >>conftest.$ac_ext
29243 cat >>conftest.$ac_ext <<_ACEOF
29244 /* end confdefs.h. */
29245 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29246 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29247 #define $ac_func innocuous_$ac_func
29249 /* System header to define __stub macros and hopefully few prototypes,
29250 which can conflict with char $ac_func (); below.
29251 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29252 <limits.h> exists even on freestanding compilers. */
29254 #ifdef __STDC__
29255 # include <limits.h>
29256 #else
29257 # include <assert.h>
29258 #endif
29260 #undef $ac_func
29262 /* Override any gcc2 internal prototype to avoid an error. */
29263 #ifdef __cplusplus
29264 extern "C"
29266 #endif
29267 /* We use char because int might match the return type of a gcc2
29268 builtin and then its argument prototype would still apply. */
29269 char $ac_func ();
29270 /* The GNU C library defines this for functions which it implements
29271 to always fail with ENOSYS. Some functions are actually named
29272 something starting with __ and the normal name is an alias. */
29273 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29274 choke me
29275 #else
29276 char (*f) () = $ac_func;
29277 #endif
29278 #ifdef __cplusplus
29280 #endif
29283 main ()
29285 return f != $ac_func;
29287 return 0;
29289 _ACEOF
29290 rm -f conftest.$ac_objext conftest$ac_exeext
29291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29292 (eval $ac_link) 2>conftest.er1
29293 ac_status=$?
29294 grep -v '^ *+' conftest.er1 >conftest.err
29295 rm -f conftest.er1
29296 cat conftest.err >&5
29297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29298 (exit $ac_status); } &&
29299 { ac_try='test -z "$ac_c_werror_flag"
29300 || test ! -s conftest.err'
29301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29302 (eval $ac_try) 2>&5
29303 ac_status=$?
29304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29305 (exit $ac_status); }; } &&
29306 { ac_try='test -s conftest$ac_exeext'
29307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29308 (eval $ac_try) 2>&5
29309 ac_status=$?
29310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29311 (exit $ac_status); }; }; then
29312 eval "$as_ac_var=yes"
29313 else
29314 echo "$as_me: failed program was:" >&5
29315 sed 's/^/| /' conftest.$ac_ext >&5
29317 eval "$as_ac_var=no"
29319 rm -f conftest.err conftest.$ac_objext \
29320 conftest$ac_exeext conftest.$ac_ext
29322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29323 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29324 if test `eval echo '${'$as_ac_var'}'` = yes; then
29325 cat >>confdefs.h <<_ACEOF
29326 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29327 _ACEOF
29330 done
29335 echo "$as_me:$LINENO: checking for strtof declaration" >&5
29336 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
29337 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
29338 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
29339 echo $ECHO_N "(cached) $ECHO_C" >&6
29340 else
29344 ac_ext=cc
29345 ac_cpp='$CXXCPP $CPPFLAGS'
29346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 <stdlib.h>
29358 main ()
29360 strtof(0, 0);
29362 return 0;
29364 _ACEOF
29365 rm -f conftest.$ac_objext
29366 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29367 (eval $ac_compile) 2>conftest.er1
29368 ac_status=$?
29369 grep -v '^ *+' conftest.er1 >conftest.err
29370 rm -f conftest.er1
29371 cat conftest.err >&5
29372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29373 (exit $ac_status); } &&
29374 { ac_try='test -z "$ac_cxx_werror_flag"
29375 || test ! -s conftest.err'
29376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29377 (eval $ac_try) 2>&5
29378 ac_status=$?
29379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29380 (exit $ac_status); }; } &&
29381 { ac_try='test -s conftest.$ac_objext'
29382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29383 (eval $ac_try) 2>&5
29384 ac_status=$?
29385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29386 (exit $ac_status); }; }; then
29387 glibcxx_cv_func_strtof_use=yes
29388 else
29389 echo "$as_me: failed program was:" >&5
29390 sed 's/^/| /' conftest.$ac_ext >&5
29392 glibcxx_cv_func_strtof_use=no
29394 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29395 ac_ext=c
29396 ac_cpp='$CPP $CPPFLAGS'
29397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29405 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
29406 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
29407 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
29409 for ac_func in strtof
29411 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29412 echo "$as_me:$LINENO: checking for $ac_func" >&5
29413 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29414 if eval "test \"\${$as_ac_var+set}\" = set"; then
29415 echo $ECHO_N "(cached) $ECHO_C" >&6
29416 else
29417 if test x$gcc_no_link = xyes; then
29418 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29420 { (exit 1); exit 1; }; }
29422 cat >conftest.$ac_ext <<_ACEOF
29423 /* confdefs.h. */
29424 _ACEOF
29425 cat confdefs.h >>conftest.$ac_ext
29426 cat >>conftest.$ac_ext <<_ACEOF
29427 /* end confdefs.h. */
29428 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29429 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29430 #define $ac_func innocuous_$ac_func
29432 /* System header to define __stub macros and hopefully few prototypes,
29433 which can conflict with char $ac_func (); below.
29434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29435 <limits.h> exists even on freestanding compilers. */
29437 #ifdef __STDC__
29438 # include <limits.h>
29439 #else
29440 # include <assert.h>
29441 #endif
29443 #undef $ac_func
29445 /* Override any gcc2 internal prototype to avoid an error. */
29446 #ifdef __cplusplus
29447 extern "C"
29449 #endif
29450 /* We use char because int might match the return type of a gcc2
29451 builtin and then its argument prototype would still apply. */
29452 char $ac_func ();
29453 /* The GNU C library defines this for functions which it implements
29454 to always fail with ENOSYS. Some functions are actually named
29455 something starting with __ and the normal name is an alias. */
29456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29457 choke me
29458 #else
29459 char (*f) () = $ac_func;
29460 #endif
29461 #ifdef __cplusplus
29463 #endif
29466 main ()
29468 return f != $ac_func;
29470 return 0;
29472 _ACEOF
29473 rm -f conftest.$ac_objext conftest$ac_exeext
29474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29475 (eval $ac_link) 2>conftest.er1
29476 ac_status=$?
29477 grep -v '^ *+' conftest.er1 >conftest.err
29478 rm -f conftest.er1
29479 cat conftest.err >&5
29480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29481 (exit $ac_status); } &&
29482 { ac_try='test -z "$ac_c_werror_flag"
29483 || test ! -s conftest.err'
29484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29485 (eval $ac_try) 2>&5
29486 ac_status=$?
29487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29488 (exit $ac_status); }; } &&
29489 { ac_try='test -s conftest$ac_exeext'
29490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29491 (eval $ac_try) 2>&5
29492 ac_status=$?
29493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29494 (exit $ac_status); }; }; then
29495 eval "$as_ac_var=yes"
29496 else
29497 echo "$as_me: failed program was:" >&5
29498 sed 's/^/| /' conftest.$ac_ext >&5
29500 eval "$as_ac_var=no"
29502 rm -f conftest.err conftest.$ac_objext \
29503 conftest$ac_exeext conftest.$ac_ext
29505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29506 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29507 if test `eval echo '${'$as_ac_var'}'` = yes; then
29508 cat >>confdefs.h <<_ACEOF
29509 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29510 _ACEOF
29513 done
29518 CXXFLAGS="$ac_save_CXXFLAGS"
29521 # For showmanyc_helper().
29524 for ac_header in sys/ioctl.h sys/filio.h
29526 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29527 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29528 echo "$as_me:$LINENO: checking for $ac_header" >&5
29529 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29530 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29531 echo $ECHO_N "(cached) $ECHO_C" >&6
29533 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29534 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29535 else
29536 # Is the header compilable?
29537 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29538 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29539 cat >conftest.$ac_ext <<_ACEOF
29540 /* confdefs.h. */
29541 _ACEOF
29542 cat confdefs.h >>conftest.$ac_ext
29543 cat >>conftest.$ac_ext <<_ACEOF
29544 /* end confdefs.h. */
29545 $ac_includes_default
29546 #include <$ac_header>
29547 _ACEOF
29548 rm -f conftest.$ac_objext
29549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29550 (eval $ac_compile) 2>conftest.er1
29551 ac_status=$?
29552 grep -v '^ *+' conftest.er1 >conftest.err
29553 rm -f conftest.er1
29554 cat conftest.err >&5
29555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29556 (exit $ac_status); } &&
29557 { ac_try='test -z "$ac_c_werror_flag"
29558 || test ! -s conftest.err'
29559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29560 (eval $ac_try) 2>&5
29561 ac_status=$?
29562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29563 (exit $ac_status); }; } &&
29564 { ac_try='test -s conftest.$ac_objext'
29565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29566 (eval $ac_try) 2>&5
29567 ac_status=$?
29568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29569 (exit $ac_status); }; }; then
29570 ac_header_compiler=yes
29571 else
29572 echo "$as_me: failed program was:" >&5
29573 sed 's/^/| /' conftest.$ac_ext >&5
29575 ac_header_compiler=no
29577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29578 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29579 echo "${ECHO_T}$ac_header_compiler" >&6
29581 # Is the header present?
29582 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29583 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29584 cat >conftest.$ac_ext <<_ACEOF
29585 /* confdefs.h. */
29586 _ACEOF
29587 cat confdefs.h >>conftest.$ac_ext
29588 cat >>conftest.$ac_ext <<_ACEOF
29589 /* end confdefs.h. */
29590 #include <$ac_header>
29591 _ACEOF
29592 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29593 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29594 ac_status=$?
29595 grep -v '^ *+' conftest.er1 >conftest.err
29596 rm -f conftest.er1
29597 cat conftest.err >&5
29598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29599 (exit $ac_status); } >/dev/null; then
29600 if test -s conftest.err; then
29601 ac_cpp_err=$ac_c_preproc_warn_flag
29602 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29603 else
29604 ac_cpp_err=
29606 else
29607 ac_cpp_err=yes
29609 if test -z "$ac_cpp_err"; then
29610 ac_header_preproc=yes
29611 else
29612 echo "$as_me: failed program was:" >&5
29613 sed 's/^/| /' conftest.$ac_ext >&5
29615 ac_header_preproc=no
29617 rm -f conftest.err conftest.$ac_ext
29618 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29619 echo "${ECHO_T}$ac_header_preproc" >&6
29621 # So? What about this header?
29622 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29623 yes:no: )
29624 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29625 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29626 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29627 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29628 ac_header_preproc=yes
29630 no:yes:* )
29631 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29632 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29633 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29634 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29635 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29636 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29637 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29638 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29639 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29640 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29641 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29642 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29644 cat <<\_ASBOX
29645 ## ----------------------------------------- ##
29646 ## Report this to the package-unused lists. ##
29647 ## ----------------------------------------- ##
29648 _ASBOX
29650 sed "s/^/$as_me: WARNING: /" >&2
29652 esac
29653 echo "$as_me:$LINENO: checking for $ac_header" >&5
29654 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29655 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29656 echo $ECHO_N "(cached) $ECHO_C" >&6
29657 else
29658 eval "$as_ac_Header=\$ac_header_preproc"
29660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29661 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29664 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29665 cat >>confdefs.h <<_ACEOF
29666 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29667 _ACEOF
29671 done
29674 if test "${glibcxx_cv_POLL+set}" = set; then
29675 echo $ECHO_N "(cached) $ECHO_C" >&6
29676 else
29678 if test x$gcc_no_link = xyes; then
29679 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29680 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29681 { (exit 1); exit 1; }; }
29683 cat >conftest.$ac_ext <<_ACEOF
29684 /* confdefs.h. */
29685 _ACEOF
29686 cat confdefs.h >>conftest.$ac_ext
29687 cat >>conftest.$ac_ext <<_ACEOF
29688 /* end confdefs.h. */
29689 #include <poll.h>
29691 main ()
29693 struct pollfd pfd[1];
29694 pfd[0].events = POLLIN;
29695 poll(pfd, 1, 0);
29697 return 0;
29699 _ACEOF
29700 rm -f conftest.$ac_objext conftest$ac_exeext
29701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29702 (eval $ac_link) 2>conftest.er1
29703 ac_status=$?
29704 grep -v '^ *+' conftest.er1 >conftest.err
29705 rm -f conftest.er1
29706 cat conftest.err >&5
29707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29708 (exit $ac_status); } &&
29709 { ac_try='test -z "$ac_c_werror_flag"
29710 || test ! -s conftest.err'
29711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29712 (eval $ac_try) 2>&5
29713 ac_status=$?
29714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29715 (exit $ac_status); }; } &&
29716 { ac_try='test -s conftest$ac_exeext'
29717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29718 (eval $ac_try) 2>&5
29719 ac_status=$?
29720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29721 (exit $ac_status); }; }; then
29722 glibcxx_cv_POLL=yes
29723 else
29724 echo "$as_me: failed program was:" >&5
29725 sed 's/^/| /' conftest.$ac_ext >&5
29727 glibcxx_cv_POLL=no
29729 rm -f conftest.err conftest.$ac_objext \
29730 conftest$ac_exeext conftest.$ac_ext
29734 if test $glibcxx_cv_POLL = yes; then
29735 cat >>confdefs.h <<\_ACEOF
29736 #define HAVE_POLL 1
29737 _ACEOF
29742 if test "${glibcxx_cv_S_ISREG+set}" = set; then
29743 echo $ECHO_N "(cached) $ECHO_C" >&6
29744 else
29746 if test x$gcc_no_link = xyes; then
29747 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29749 { (exit 1); exit 1; }; }
29751 cat >conftest.$ac_ext <<_ACEOF
29752 /* confdefs.h. */
29753 _ACEOF
29754 cat confdefs.h >>conftest.$ac_ext
29755 cat >>conftest.$ac_ext <<_ACEOF
29756 /* end confdefs.h. */
29757 #include <sys/stat.h>
29759 main ()
29761 struct stat buffer;
29762 fstat(0, &buffer);
29763 S_ISREG(buffer.st_mode);
29765 return 0;
29767 _ACEOF
29768 rm -f conftest.$ac_objext conftest$ac_exeext
29769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29770 (eval $ac_link) 2>conftest.er1
29771 ac_status=$?
29772 grep -v '^ *+' conftest.er1 >conftest.err
29773 rm -f conftest.er1
29774 cat conftest.err >&5
29775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29776 (exit $ac_status); } &&
29777 { ac_try='test -z "$ac_c_werror_flag"
29778 || test ! -s conftest.err'
29779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29780 (eval $ac_try) 2>&5
29781 ac_status=$?
29782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29783 (exit $ac_status); }; } &&
29784 { ac_try='test -s conftest$ac_exeext'
29785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29786 (eval $ac_try) 2>&5
29787 ac_status=$?
29788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29789 (exit $ac_status); }; }; then
29790 glibcxx_cv_S_ISREG=yes
29791 else
29792 echo "$as_me: failed program was:" >&5
29793 sed 's/^/| /' conftest.$ac_ext >&5
29795 glibcxx_cv_S_ISREG=no
29797 rm -f conftest.err conftest.$ac_objext \
29798 conftest$ac_exeext conftest.$ac_ext
29802 if test "${glibcxx_cv_S_IFREG+set}" = set; then
29803 echo $ECHO_N "(cached) $ECHO_C" >&6
29804 else
29806 if test x$gcc_no_link = xyes; then
29807 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29808 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29809 { (exit 1); exit 1; }; }
29811 cat >conftest.$ac_ext <<_ACEOF
29812 /* confdefs.h. */
29813 _ACEOF
29814 cat confdefs.h >>conftest.$ac_ext
29815 cat >>conftest.$ac_ext <<_ACEOF
29816 /* end confdefs.h. */
29817 #include <sys/stat.h>
29819 main ()
29821 struct stat buffer;
29822 fstat(0, &buffer);
29823 S_IFREG & buffer.st_mode;
29825 return 0;
29827 _ACEOF
29828 rm -f conftest.$ac_objext conftest$ac_exeext
29829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29830 (eval $ac_link) 2>conftest.er1
29831 ac_status=$?
29832 grep -v '^ *+' conftest.er1 >conftest.err
29833 rm -f conftest.er1
29834 cat conftest.err >&5
29835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29836 (exit $ac_status); } &&
29837 { ac_try='test -z "$ac_c_werror_flag"
29838 || test ! -s conftest.err'
29839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29840 (eval $ac_try) 2>&5
29841 ac_status=$?
29842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29843 (exit $ac_status); }; } &&
29844 { ac_try='test -s conftest$ac_exeext'
29845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29846 (eval $ac_try) 2>&5
29847 ac_status=$?
29848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29849 (exit $ac_status); }; }; then
29850 glibcxx_cv_S_IFREG=yes
29851 else
29852 echo "$as_me: failed program was:" >&5
29853 sed 's/^/| /' conftest.$ac_ext >&5
29855 glibcxx_cv_S_IFREG=no
29857 rm -f conftest.err conftest.$ac_objext \
29858 conftest$ac_exeext conftest.$ac_ext
29862 if test $glibcxx_cv_S_ISREG = yes; then
29863 cat >>confdefs.h <<\_ACEOF
29864 #define HAVE_S_ISREG 1
29865 _ACEOF
29867 elif test $glibcxx_cv_S_IFREG = yes; then
29868 cat >>confdefs.h <<\_ACEOF
29869 #define HAVE_S_IFREG 1
29870 _ACEOF
29875 # For xsputn_2().
29877 for ac_header in sys/uio.h
29879 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29880 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29881 echo "$as_me:$LINENO: checking for $ac_header" >&5
29882 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29883 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29884 echo $ECHO_N "(cached) $ECHO_C" >&6
29886 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29887 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29888 else
29889 # Is the header compilable?
29890 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29891 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29892 cat >conftest.$ac_ext <<_ACEOF
29893 /* confdefs.h. */
29894 _ACEOF
29895 cat confdefs.h >>conftest.$ac_ext
29896 cat >>conftest.$ac_ext <<_ACEOF
29897 /* end confdefs.h. */
29898 $ac_includes_default
29899 #include <$ac_header>
29900 _ACEOF
29901 rm -f conftest.$ac_objext
29902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29903 (eval $ac_compile) 2>conftest.er1
29904 ac_status=$?
29905 grep -v '^ *+' conftest.er1 >conftest.err
29906 rm -f conftest.er1
29907 cat conftest.err >&5
29908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29909 (exit $ac_status); } &&
29910 { ac_try='test -z "$ac_c_werror_flag"
29911 || test ! -s conftest.err'
29912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29913 (eval $ac_try) 2>&5
29914 ac_status=$?
29915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29916 (exit $ac_status); }; } &&
29917 { ac_try='test -s conftest.$ac_objext'
29918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29919 (eval $ac_try) 2>&5
29920 ac_status=$?
29921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29922 (exit $ac_status); }; }; then
29923 ac_header_compiler=yes
29924 else
29925 echo "$as_me: failed program was:" >&5
29926 sed 's/^/| /' conftest.$ac_ext >&5
29928 ac_header_compiler=no
29930 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29931 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29932 echo "${ECHO_T}$ac_header_compiler" >&6
29934 # Is the header present?
29935 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29936 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29937 cat >conftest.$ac_ext <<_ACEOF
29938 /* confdefs.h. */
29939 _ACEOF
29940 cat confdefs.h >>conftest.$ac_ext
29941 cat >>conftest.$ac_ext <<_ACEOF
29942 /* end confdefs.h. */
29943 #include <$ac_header>
29944 _ACEOF
29945 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29946 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29947 ac_status=$?
29948 grep -v '^ *+' conftest.er1 >conftest.err
29949 rm -f conftest.er1
29950 cat conftest.err >&5
29951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29952 (exit $ac_status); } >/dev/null; then
29953 if test -s conftest.err; then
29954 ac_cpp_err=$ac_c_preproc_warn_flag
29955 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29956 else
29957 ac_cpp_err=
29959 else
29960 ac_cpp_err=yes
29962 if test -z "$ac_cpp_err"; then
29963 ac_header_preproc=yes
29964 else
29965 echo "$as_me: failed program was:" >&5
29966 sed 's/^/| /' conftest.$ac_ext >&5
29968 ac_header_preproc=no
29970 rm -f conftest.err conftest.$ac_ext
29971 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29972 echo "${ECHO_T}$ac_header_preproc" >&6
29974 # So? What about this header?
29975 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29976 yes:no: )
29977 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29978 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29979 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29980 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29981 ac_header_preproc=yes
29983 no:yes:* )
29984 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29985 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29986 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29987 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29988 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29989 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29990 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29991 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29992 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29993 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29994 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29995 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29997 cat <<\_ASBOX
29998 ## ----------------------------------------- ##
29999 ## Report this to the package-unused lists. ##
30000 ## ----------------------------------------- ##
30001 _ASBOX
30003 sed "s/^/$as_me: WARNING: /" >&2
30005 esac
30006 echo "$as_me:$LINENO: checking for $ac_header" >&5
30007 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30008 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30009 echo $ECHO_N "(cached) $ECHO_C" >&6
30010 else
30011 eval "$as_ac_Header=\$ac_header_preproc"
30013 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30014 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30017 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30018 cat >>confdefs.h <<_ACEOF
30019 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30020 _ACEOF
30024 done
30027 if test "${glibcxx_cv_WRITEV+set}" = set; then
30028 echo $ECHO_N "(cached) $ECHO_C" >&6
30029 else
30031 if test x$gcc_no_link = xyes; then
30032 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30033 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30034 { (exit 1); exit 1; }; }
30036 cat >conftest.$ac_ext <<_ACEOF
30037 /* confdefs.h. */
30038 _ACEOF
30039 cat confdefs.h >>conftest.$ac_ext
30040 cat >>conftest.$ac_ext <<_ACEOF
30041 /* end confdefs.h. */
30042 #include <sys/uio.h>
30044 main ()
30046 struct iovec iov[2];
30047 writev(0, iov, 0);
30049 return 0;
30051 _ACEOF
30052 rm -f conftest.$ac_objext conftest$ac_exeext
30053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30054 (eval $ac_link) 2>conftest.er1
30055 ac_status=$?
30056 grep -v '^ *+' conftest.er1 >conftest.err
30057 rm -f conftest.er1
30058 cat conftest.err >&5
30059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30060 (exit $ac_status); } &&
30061 { ac_try='test -z "$ac_c_werror_flag"
30062 || test ! -s conftest.err'
30063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30064 (eval $ac_try) 2>&5
30065 ac_status=$?
30066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30067 (exit $ac_status); }; } &&
30068 { ac_try='test -s conftest$ac_exeext'
30069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30070 (eval $ac_try) 2>&5
30071 ac_status=$?
30072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30073 (exit $ac_status); }; }; then
30074 glibcxx_cv_WRITEV=yes
30075 else
30076 echo "$as_me: failed program was:" >&5
30077 sed 's/^/| /' conftest.$ac_ext >&5
30079 glibcxx_cv_WRITEV=no
30081 rm -f conftest.err conftest.$ac_objext \
30082 conftest$ac_exeext conftest.$ac_ext
30086 if test $glibcxx_cv_WRITEV = yes; then
30087 cat >>confdefs.h <<\_ACEOF
30088 #define HAVE_WRITEV 1
30089 _ACEOF
30094 # For the __streamoff_base_type typedef.
30096 if test "${glibcxx_cv_INT64_T+set}" = set; then
30097 echo $ECHO_N "(cached) $ECHO_C" >&6
30098 else
30100 cat >conftest.$ac_ext <<_ACEOF
30101 /* confdefs.h. */
30102 _ACEOF
30103 cat confdefs.h >>conftest.$ac_ext
30104 cat >>conftest.$ac_ext <<_ACEOF
30105 /* end confdefs.h. */
30106 #include <stdint.h>
30108 main ()
30110 int64_t var;
30112 return 0;
30114 _ACEOF
30115 rm -f conftest.$ac_objext
30116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30117 (eval $ac_compile) 2>conftest.er1
30118 ac_status=$?
30119 grep -v '^ *+' conftest.er1 >conftest.err
30120 rm -f conftest.er1
30121 cat conftest.err >&5
30122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30123 (exit $ac_status); } &&
30124 { ac_try='test -z "$ac_c_werror_flag"
30125 || test ! -s conftest.err'
30126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30127 (eval $ac_try) 2>&5
30128 ac_status=$?
30129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30130 (exit $ac_status); }; } &&
30131 { ac_try='test -s conftest.$ac_objext'
30132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30133 (eval $ac_try) 2>&5
30134 ac_status=$?
30135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30136 (exit $ac_status); }; }; then
30137 glibcxx_cv_INT64_T=yes
30138 else
30139 echo "$as_me: failed program was:" >&5
30140 sed 's/^/| /' conftest.$ac_ext >&5
30142 glibcxx_cv_INT64_T=no
30144 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30148 if test $glibcxx_cv_INT64_T = yes; then
30149 cat >>confdefs.h <<\_ACEOF
30150 #define HAVE_INT64_T 1
30151 _ACEOF
30156 # For LFS support.
30160 ac_ext=cc
30161 ac_cpp='$CXXCPP $CPPFLAGS'
30162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30166 ac_save_CXXFLAGS="$CXXFLAGS"
30167 CXXFLAGS="$CXXFLAGS -fno-exceptions"
30168 if test "${glibcxx_cv_LFS+set}" = set; then
30169 echo $ECHO_N "(cached) $ECHO_C" >&6
30170 else
30172 if test x$gcc_no_link = xyes; then
30173 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30174 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30175 { (exit 1); exit 1; }; }
30177 cat >conftest.$ac_ext <<_ACEOF
30178 /* confdefs.h. */
30179 _ACEOF
30180 cat confdefs.h >>conftest.$ac_ext
30181 cat >>conftest.$ac_ext <<_ACEOF
30182 /* end confdefs.h. */
30183 #include <unistd.h>
30184 #include <stdio.h>
30185 #include <sys/stat.h>
30188 main ()
30190 FILE* fp;
30191 fopen64("t", "w");
30192 fseeko64(fp, 0, SEEK_CUR);
30193 ftello64(fp);
30194 lseek64(1, 0, SEEK_CUR);
30195 struct stat64 buf;
30196 fstat64(1, &buf);
30198 return 0;
30200 _ACEOF
30201 rm -f conftest.$ac_objext conftest$ac_exeext
30202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30203 (eval $ac_link) 2>conftest.er1
30204 ac_status=$?
30205 grep -v '^ *+' conftest.er1 >conftest.err
30206 rm -f conftest.er1
30207 cat conftest.err >&5
30208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30209 (exit $ac_status); } &&
30210 { ac_try='test -z "$ac_cxx_werror_flag"
30211 || test ! -s conftest.err'
30212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30213 (eval $ac_try) 2>&5
30214 ac_status=$?
30215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30216 (exit $ac_status); }; } &&
30217 { ac_try='test -s conftest$ac_exeext'
30218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30219 (eval $ac_try) 2>&5
30220 ac_status=$?
30221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30222 (exit $ac_status); }; }; then
30223 glibcxx_cv_LFS=yes
30224 else
30225 echo "$as_me: failed program was:" >&5
30226 sed 's/^/| /' conftest.$ac_ext >&5
30228 glibcxx_cv_LFS=no
30230 rm -f conftest.err conftest.$ac_objext \
30231 conftest$ac_exeext conftest.$ac_ext
30235 if test $glibcxx_cv_LFS = yes; then
30236 cat >>confdefs.h <<\_ACEOF
30237 #define _GLIBCXX_USE_LFS 1
30238 _ACEOF
30241 CXXFLAGS="$ac_save_CXXFLAGS"
30242 ac_ext=c
30243 ac_cpp='$CPP $CPPFLAGS'
30244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30251 if test "${ac_cv_header_locale_h+set}" = set; then
30252 echo "$as_me:$LINENO: checking for locale.h" >&5
30253 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
30254 if test "${ac_cv_header_locale_h+set}" = set; then
30255 echo $ECHO_N "(cached) $ECHO_C" >&6
30257 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
30258 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
30259 else
30260 # Is the header compilable?
30261 echo "$as_me:$LINENO: checking locale.h usability" >&5
30262 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
30263 cat >conftest.$ac_ext <<_ACEOF
30264 /* confdefs.h. */
30265 _ACEOF
30266 cat confdefs.h >>conftest.$ac_ext
30267 cat >>conftest.$ac_ext <<_ACEOF
30268 /* end confdefs.h. */
30269 $ac_includes_default
30270 #include <locale.h>
30271 _ACEOF
30272 rm -f conftest.$ac_objext
30273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30274 (eval $ac_compile) 2>conftest.er1
30275 ac_status=$?
30276 grep -v '^ *+' conftest.er1 >conftest.err
30277 rm -f conftest.er1
30278 cat conftest.err >&5
30279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30280 (exit $ac_status); } &&
30281 { ac_try='test -z "$ac_c_werror_flag"
30282 || test ! -s conftest.err'
30283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30284 (eval $ac_try) 2>&5
30285 ac_status=$?
30286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30287 (exit $ac_status); }; } &&
30288 { ac_try='test -s conftest.$ac_objext'
30289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30290 (eval $ac_try) 2>&5
30291 ac_status=$?
30292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30293 (exit $ac_status); }; }; then
30294 ac_header_compiler=yes
30295 else
30296 echo "$as_me: failed program was:" >&5
30297 sed 's/^/| /' conftest.$ac_ext >&5
30299 ac_header_compiler=no
30301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30302 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30303 echo "${ECHO_T}$ac_header_compiler" >&6
30305 # Is the header present?
30306 echo "$as_me:$LINENO: checking locale.h presence" >&5
30307 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
30308 cat >conftest.$ac_ext <<_ACEOF
30309 /* confdefs.h. */
30310 _ACEOF
30311 cat confdefs.h >>conftest.$ac_ext
30312 cat >>conftest.$ac_ext <<_ACEOF
30313 /* end confdefs.h. */
30314 #include <locale.h>
30315 _ACEOF
30316 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30317 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30318 ac_status=$?
30319 grep -v '^ *+' conftest.er1 >conftest.err
30320 rm -f conftest.er1
30321 cat conftest.err >&5
30322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30323 (exit $ac_status); } >/dev/null; then
30324 if test -s conftest.err; then
30325 ac_cpp_err=$ac_c_preproc_warn_flag
30326 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30327 else
30328 ac_cpp_err=
30330 else
30331 ac_cpp_err=yes
30333 if test -z "$ac_cpp_err"; then
30334 ac_header_preproc=yes
30335 else
30336 echo "$as_me: failed program was:" >&5
30337 sed 's/^/| /' conftest.$ac_ext >&5
30339 ac_header_preproc=no
30341 rm -f conftest.err conftest.$ac_ext
30342 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30343 echo "${ECHO_T}$ac_header_preproc" >&6
30345 # So? What about this header?
30346 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30347 yes:no: )
30348 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
30349 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30350 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
30351 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
30352 ac_header_preproc=yes
30354 no:yes:* )
30355 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
30356 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
30357 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
30358 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
30359 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
30360 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
30361 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
30362 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
30363 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
30364 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
30365 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
30366 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
30368 cat <<\_ASBOX
30369 ## ----------------------------------------- ##
30370 ## Report this to the package-unused lists. ##
30371 ## ----------------------------------------- ##
30372 _ASBOX
30374 sed "s/^/$as_me: WARNING: /" >&2
30376 esac
30377 echo "$as_me:$LINENO: checking for locale.h" >&5
30378 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
30379 if test "${ac_cv_header_locale_h+set}" = set; then
30380 echo $ECHO_N "(cached) $ECHO_C" >&6
30381 else
30382 ac_cv_header_locale_h=$ac_header_preproc
30384 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
30385 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
30388 if test $ac_cv_header_locale_h = yes; then
30390 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
30391 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
30392 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
30393 echo $ECHO_N "(cached) $ECHO_C" >&6
30394 else
30395 if test x$gcc_no_link = xyes; then
30396 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30397 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30398 { (exit 1); exit 1; }; }
30400 cat >conftest.$ac_ext <<_ACEOF
30401 /* confdefs.h. */
30402 _ACEOF
30403 cat confdefs.h >>conftest.$ac_ext
30404 cat >>conftest.$ac_ext <<_ACEOF
30405 /* end confdefs.h. */
30406 #include <locale.h>
30408 main ()
30410 return LC_MESSAGES
30412 return 0;
30414 _ACEOF
30415 rm -f conftest.$ac_objext conftest$ac_exeext
30416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30417 (eval $ac_link) 2>conftest.er1
30418 ac_status=$?
30419 grep -v '^ *+' conftest.er1 >conftest.err
30420 rm -f conftest.er1
30421 cat conftest.err >&5
30422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30423 (exit $ac_status); } &&
30424 { ac_try='test -z "$ac_c_werror_flag"
30425 || test ! -s conftest.err'
30426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30427 (eval $ac_try) 2>&5
30428 ac_status=$?
30429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30430 (exit $ac_status); }; } &&
30431 { ac_try='test -s conftest$ac_exeext'
30432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30433 (eval $ac_try) 2>&5
30434 ac_status=$?
30435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30436 (exit $ac_status); }; }; then
30437 ac_cv_val_LC_MESSAGES=yes
30438 else
30439 echo "$as_me: failed program was:" >&5
30440 sed 's/^/| /' conftest.$ac_ext >&5
30442 ac_cv_val_LC_MESSAGES=no
30444 rm -f conftest.err conftest.$ac_objext \
30445 conftest$ac_exeext conftest.$ac_ext
30447 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
30448 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
30449 if test $ac_cv_val_LC_MESSAGES = yes; then
30450 cat >>confdefs.h <<\_ACEOF
30451 #define HAVE_LC_MESSAGES 1
30452 _ACEOF
30461 cat >conftest.$ac_ext <<_ACEOF
30462 /* confdefs.h. */
30463 _ACEOF
30464 cat confdefs.h >>conftest.$ac_ext
30465 cat >>conftest.$ac_ext <<_ACEOF
30466 /* end confdefs.h. */
30467 #include <setjmp.h>
30469 main ()
30471 sigjmp_buf env;
30472 while (! sigsetjmp (env, 1))
30473 siglongjmp (env, 1);
30476 return 0;
30478 _ACEOF
30479 rm -f conftest.$ac_objext
30480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30481 (eval $ac_compile) 2>conftest.er1
30482 ac_status=$?
30483 grep -v '^ *+' conftest.er1 >conftest.err
30484 rm -f conftest.er1
30485 cat conftest.err >&5
30486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30487 (exit $ac_status); } &&
30488 { ac_try='test -z "$ac_c_werror_flag"
30489 || test ! -s conftest.err'
30490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30491 (eval $ac_try) 2>&5
30492 ac_status=$?
30493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30494 (exit $ac_status); }; } &&
30495 { ac_try='test -s conftest.$ac_objext'
30496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30497 (eval $ac_try) 2>&5
30498 ac_status=$?
30499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30500 (exit $ac_status); }; }; then
30502 cat >>confdefs.h <<\_ACEOF
30503 #define HAVE_SIGSETJMP 1
30504 _ACEOF
30506 else
30507 echo "$as_me: failed program was:" >&5
30508 sed 's/^/| /' conftest.$ac_ext >&5
30511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30513 if test x$gcc_no_link = xyes; then
30514 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
30515 ac_cv_func_mmap_fixed_mapped=no
30518 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
30521 for ac_header in stdlib.h unistd.h
30523 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30524 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30525 echo "$as_me:$LINENO: checking for $ac_header" >&5
30526 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30527 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30528 echo $ECHO_N "(cached) $ECHO_C" >&6
30530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30531 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30532 else
30533 # Is the header compilable?
30534 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30535 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30536 cat >conftest.$ac_ext <<_ACEOF
30537 /* confdefs.h. */
30538 _ACEOF
30539 cat confdefs.h >>conftest.$ac_ext
30540 cat >>conftest.$ac_ext <<_ACEOF
30541 /* end confdefs.h. */
30542 $ac_includes_default
30543 #include <$ac_header>
30544 _ACEOF
30545 rm -f conftest.$ac_objext
30546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30547 (eval $ac_compile) 2>conftest.er1
30548 ac_status=$?
30549 grep -v '^ *+' conftest.er1 >conftest.err
30550 rm -f conftest.er1
30551 cat conftest.err >&5
30552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30553 (exit $ac_status); } &&
30554 { ac_try='test -z "$ac_c_werror_flag"
30555 || test ! -s conftest.err'
30556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30557 (eval $ac_try) 2>&5
30558 ac_status=$?
30559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30560 (exit $ac_status); }; } &&
30561 { ac_try='test -s conftest.$ac_objext'
30562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30563 (eval $ac_try) 2>&5
30564 ac_status=$?
30565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30566 (exit $ac_status); }; }; then
30567 ac_header_compiler=yes
30568 else
30569 echo "$as_me: failed program was:" >&5
30570 sed 's/^/| /' conftest.$ac_ext >&5
30572 ac_header_compiler=no
30574 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30575 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30576 echo "${ECHO_T}$ac_header_compiler" >&6
30578 # Is the header present?
30579 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30580 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30581 cat >conftest.$ac_ext <<_ACEOF
30582 /* confdefs.h. */
30583 _ACEOF
30584 cat confdefs.h >>conftest.$ac_ext
30585 cat >>conftest.$ac_ext <<_ACEOF
30586 /* end confdefs.h. */
30587 #include <$ac_header>
30588 _ACEOF
30589 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30590 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30591 ac_status=$?
30592 grep -v '^ *+' conftest.er1 >conftest.err
30593 rm -f conftest.er1
30594 cat conftest.err >&5
30595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30596 (exit $ac_status); } >/dev/null; then
30597 if test -s conftest.err; then
30598 ac_cpp_err=$ac_c_preproc_warn_flag
30599 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30600 else
30601 ac_cpp_err=
30603 else
30604 ac_cpp_err=yes
30606 if test -z "$ac_cpp_err"; then
30607 ac_header_preproc=yes
30608 else
30609 echo "$as_me: failed program was:" >&5
30610 sed 's/^/| /' conftest.$ac_ext >&5
30612 ac_header_preproc=no
30614 rm -f conftest.err conftest.$ac_ext
30615 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30616 echo "${ECHO_T}$ac_header_preproc" >&6
30618 # So? What about this header?
30619 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30620 yes:no: )
30621 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30622 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30623 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30624 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30625 ac_header_preproc=yes
30627 no:yes:* )
30628 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30629 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30630 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30631 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30632 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30633 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30634 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30635 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30636 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30637 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30638 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30639 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30641 cat <<\_ASBOX
30642 ## ----------------------------------------- ##
30643 ## Report this to the package-unused lists. ##
30644 ## ----------------------------------------- ##
30645 _ASBOX
30647 sed "s/^/$as_me: WARNING: /" >&2
30649 esac
30650 echo "$as_me:$LINENO: checking for $ac_header" >&5
30651 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30652 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30653 echo $ECHO_N "(cached) $ECHO_C" >&6
30654 else
30655 eval "$as_ac_Header=\$ac_header_preproc"
30657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30658 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30661 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30662 cat >>confdefs.h <<_ACEOF
30663 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30664 _ACEOF
30668 done
30671 for ac_func in getpagesize
30673 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30674 echo "$as_me:$LINENO: checking for $ac_func" >&5
30675 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30676 if eval "test \"\${$as_ac_var+set}\" = set"; then
30677 echo $ECHO_N "(cached) $ECHO_C" >&6
30678 else
30679 if test x$gcc_no_link = xyes; then
30680 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30681 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30682 { (exit 1); exit 1; }; }
30684 cat >conftest.$ac_ext <<_ACEOF
30685 /* confdefs.h. */
30686 _ACEOF
30687 cat confdefs.h >>conftest.$ac_ext
30688 cat >>conftest.$ac_ext <<_ACEOF
30689 /* end confdefs.h. */
30690 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30691 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30692 #define $ac_func innocuous_$ac_func
30694 /* System header to define __stub macros and hopefully few prototypes,
30695 which can conflict with char $ac_func (); below.
30696 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30697 <limits.h> exists even on freestanding compilers. */
30699 #ifdef __STDC__
30700 # include <limits.h>
30701 #else
30702 # include <assert.h>
30703 #endif
30705 #undef $ac_func
30707 /* Override any gcc2 internal prototype to avoid an error. */
30708 #ifdef __cplusplus
30709 extern "C"
30711 #endif
30712 /* We use char because int might match the return type of a gcc2
30713 builtin and then its argument prototype would still apply. */
30714 char $ac_func ();
30715 /* The GNU C library defines this for functions which it implements
30716 to always fail with ENOSYS. Some functions are actually named
30717 something starting with __ and the normal name is an alias. */
30718 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30719 choke me
30720 #else
30721 char (*f) () = $ac_func;
30722 #endif
30723 #ifdef __cplusplus
30725 #endif
30728 main ()
30730 return f != $ac_func;
30732 return 0;
30734 _ACEOF
30735 rm -f conftest.$ac_objext conftest$ac_exeext
30736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30737 (eval $ac_link) 2>conftest.er1
30738 ac_status=$?
30739 grep -v '^ *+' conftest.er1 >conftest.err
30740 rm -f conftest.er1
30741 cat conftest.err >&5
30742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30743 (exit $ac_status); } &&
30744 { ac_try='test -z "$ac_c_werror_flag"
30745 || test ! -s conftest.err'
30746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30747 (eval $ac_try) 2>&5
30748 ac_status=$?
30749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30750 (exit $ac_status); }; } &&
30751 { ac_try='test -s conftest$ac_exeext'
30752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30753 (eval $ac_try) 2>&5
30754 ac_status=$?
30755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30756 (exit $ac_status); }; }; then
30757 eval "$as_ac_var=yes"
30758 else
30759 echo "$as_me: failed program was:" >&5
30760 sed 's/^/| /' conftest.$ac_ext >&5
30762 eval "$as_ac_var=no"
30764 rm -f conftest.err conftest.$ac_objext \
30765 conftest$ac_exeext conftest.$ac_ext
30767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30768 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30769 if test `eval echo '${'$as_ac_var'}'` = yes; then
30770 cat >>confdefs.h <<_ACEOF
30771 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30772 _ACEOF
30775 done
30777 echo "$as_me:$LINENO: checking for working mmap" >&5
30778 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
30779 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
30780 echo $ECHO_N "(cached) $ECHO_C" >&6
30781 else
30782 if test "$cross_compiling" = yes; then
30783 ac_cv_func_mmap_fixed_mapped=no
30784 else
30785 cat >conftest.$ac_ext <<_ACEOF
30786 /* confdefs.h. */
30787 _ACEOF
30788 cat confdefs.h >>conftest.$ac_ext
30789 cat >>conftest.$ac_ext <<_ACEOF
30790 /* end confdefs.h. */
30791 $ac_includes_default
30792 /* malloc might have been renamed as rpl_malloc. */
30793 #undef malloc
30795 /* Thanks to Mike Haertel and Jim Avera for this test.
30796 Here is a matrix of mmap possibilities:
30797 mmap private not fixed
30798 mmap private fixed at somewhere currently unmapped
30799 mmap private fixed at somewhere already mapped
30800 mmap shared not fixed
30801 mmap shared fixed at somewhere currently unmapped
30802 mmap shared fixed at somewhere already mapped
30803 For private mappings, we should verify that changes cannot be read()
30804 back from the file, nor mmap's back from the file at a different
30805 address. (There have been systems where private was not correctly
30806 implemented like the infamous i386 svr4.0, and systems where the
30807 VM page cache was not coherent with the file system buffer cache
30808 like early versions of FreeBSD and possibly contemporary NetBSD.)
30809 For shared mappings, we should conversely verify that changes get
30810 propagated back to all the places they're supposed to be.
30812 Grep wants private fixed already mapped.
30813 The main things grep needs to know about mmap are:
30814 * does it exist and is it safe to write into the mmap'd area
30815 * how to use it (BSD variants) */
30817 #include <fcntl.h>
30818 #include <sys/mman.h>
30820 #if !STDC_HEADERS && !HAVE_STDLIB_H
30821 char *malloc ();
30822 #endif
30824 /* This mess was copied from the GNU getpagesize.h. */
30825 #if !HAVE_GETPAGESIZE
30826 /* Assume that all systems that can run configure have sys/param.h. */
30827 # if !HAVE_SYS_PARAM_H
30828 # define HAVE_SYS_PARAM_H 1
30829 # endif
30831 # ifdef _SC_PAGESIZE
30832 # define getpagesize() sysconf(_SC_PAGESIZE)
30833 # else /* no _SC_PAGESIZE */
30834 # if HAVE_SYS_PARAM_H
30835 # include <sys/param.h>
30836 # ifdef EXEC_PAGESIZE
30837 # define getpagesize() EXEC_PAGESIZE
30838 # else /* no EXEC_PAGESIZE */
30839 # ifdef NBPG
30840 # define getpagesize() NBPG * CLSIZE
30841 # ifndef CLSIZE
30842 # define CLSIZE 1
30843 # endif /* no CLSIZE */
30844 # else /* no NBPG */
30845 # ifdef NBPC
30846 # define getpagesize() NBPC
30847 # else /* no NBPC */
30848 # ifdef PAGESIZE
30849 # define getpagesize() PAGESIZE
30850 # endif /* PAGESIZE */
30851 # endif /* no NBPC */
30852 # endif /* no NBPG */
30853 # endif /* no EXEC_PAGESIZE */
30854 # else /* no HAVE_SYS_PARAM_H */
30855 # define getpagesize() 8192 /* punt totally */
30856 # endif /* no HAVE_SYS_PARAM_H */
30857 # endif /* no _SC_PAGESIZE */
30859 #endif /* no HAVE_GETPAGESIZE */
30862 main ()
30864 char *data, *data2, *data3;
30865 int i, pagesize;
30866 int fd;
30868 pagesize = getpagesize ();
30870 /* First, make a file with some known garbage in it. */
30871 data = (char *) malloc (pagesize);
30872 if (!data)
30873 exit (1);
30874 for (i = 0; i < pagesize; ++i)
30875 *(data + i) = rand ();
30876 umask (0);
30877 fd = creat ("conftest.mmap", 0600);
30878 if (fd < 0)
30879 exit (1);
30880 if (write (fd, data, pagesize) != pagesize)
30881 exit (1);
30882 close (fd);
30884 /* Next, try to mmap the file at a fixed address which already has
30885 something else allocated at it. If we can, also make sure that
30886 we see the same garbage. */
30887 fd = open ("conftest.mmap", O_RDWR);
30888 if (fd < 0)
30889 exit (1);
30890 data2 = (char *) malloc (2 * pagesize);
30891 if (!data2)
30892 exit (1);
30893 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
30894 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
30895 MAP_PRIVATE | MAP_FIXED, fd, 0L))
30896 exit (1);
30897 for (i = 0; i < pagesize; ++i)
30898 if (*(data + i) != *(data2 + i))
30899 exit (1);
30901 /* Finally, make sure that changes to the mapped area do not
30902 percolate back to the file as seen by read(). (This is a bug on
30903 some variants of i386 svr4.0.) */
30904 for (i = 0; i < pagesize; ++i)
30905 *(data2 + i) = *(data2 + i) + 1;
30906 data3 = (char *) malloc (pagesize);
30907 if (!data3)
30908 exit (1);
30909 if (read (fd, data3, pagesize) != pagesize)
30910 exit (1);
30911 for (i = 0; i < pagesize; ++i)
30912 if (*(data + i) != *(data3 + i))
30913 exit (1);
30914 close (fd);
30915 exit (0);
30917 _ACEOF
30918 rm -f conftest$ac_exeext
30919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30920 (eval $ac_link) 2>&5
30921 ac_status=$?
30922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30923 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30925 (eval $ac_try) 2>&5
30926 ac_status=$?
30927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30928 (exit $ac_status); }; }; then
30929 ac_cv_func_mmap_fixed_mapped=yes
30930 else
30931 echo "$as_me: program exited with status $ac_status" >&5
30932 echo "$as_me: failed program was:" >&5
30933 sed 's/^/| /' conftest.$ac_ext >&5
30935 ( exit $ac_status )
30936 ac_cv_func_mmap_fixed_mapped=no
30938 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30941 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
30942 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
30943 if test $ac_cv_func_mmap_fixed_mapped = yes; then
30945 cat >>confdefs.h <<\_ACEOF
30946 #define HAVE_MMAP 1
30947 _ACEOF
30950 rm -f conftest.mmap
30954 else
30956 # This lets us hard-code the functionality we know we'll have in the cross
30957 # target environment. "Let" is a sugar-coated word placed on an especially
30958 # dull and tedious hack, actually.
30960 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
30961 # that involve linking, can't be used:
30962 # "cannot open sim-crt0.o"
30963 # "cannot open crt0.o"
30964 # etc. All this is because there currently exists no unified, consistent
30965 # way for top level CC information to be passed down to target directories:
30966 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
30967 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
30968 # crosses can be removed.
30970 # If Canadian cross, then don't pick up tools from the build directory.
30971 # Used only in GLIBCXX_EXPORT_INCLUDES.
30972 if test -n "$with_cross_host" &&
30973 test x"$build_alias" != x"$with_cross_host" &&
30974 test x"$build" != x"$target";
30975 then
30976 CANADIAN=yes
30977 else
30978 CANADIAN=no
30981 # Construct crosses by hand, eliminating bits that need ld...
30982 # GLIBCXX_CHECK_COMPILER_FEATURES
30983 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
30984 # GLIBCXX_CHECK_MATH_SUPPORT
30986 # First, test for "known" system libraries. We may be using newlib even
30987 # on a hosted environment.
30988 if test "x${with_newlib}" = "xyes"; then
30989 os_include_dir="os/newlib"
30990 cat >>confdefs.h <<\_ACEOF
30991 #define HAVE_HYPOT 1
30992 _ACEOF
30995 # GLIBCXX_CHECK_STDLIB_SUPPORT
30996 cat >>confdefs.h <<\_ACEOF
30997 #define HAVE_STRTOF 1
30998 _ACEOF
31000 # AC_FUNC_MMAP
31001 cat >>confdefs.h <<\_ACEOF
31002 #define HAVE_MMAP 1
31003 _ACEOF
31006 cat >>confdefs.h <<\_ACEOF
31007 #define HAVE_ACOSF 1
31008 _ACEOF
31010 cat >>confdefs.h <<\_ACEOF
31011 #define HAVE_ASINF 1
31012 _ACEOF
31014 cat >>confdefs.h <<\_ACEOF
31015 #define HAVE_ATAN2F 1
31016 _ACEOF
31018 cat >>confdefs.h <<\_ACEOF
31019 #define HAVE_ATANF 1
31020 _ACEOF
31022 cat >>confdefs.h <<\_ACEOF
31023 #define HAVE_CEILF 1
31024 _ACEOF
31026 cat >>confdefs.h <<\_ACEOF
31027 #define HAVE_COPYSIGN 1
31028 _ACEOF
31030 cat >>confdefs.h <<\_ACEOF
31031 #define HAVE_COPYSIGNF 1
31032 _ACEOF
31034 cat >>confdefs.h <<\_ACEOF
31035 #define HAVE_COSF 1
31036 _ACEOF
31038 cat >>confdefs.h <<\_ACEOF
31039 #define HAVE_COSHF 1
31040 _ACEOF
31042 cat >>confdefs.h <<\_ACEOF
31043 #define HAVE_EXPF 1
31044 _ACEOF
31046 cat >>confdefs.h <<\_ACEOF
31047 #define HAVE_FABSF 1
31048 _ACEOF
31050 cat >>confdefs.h <<\_ACEOF
31051 #define HAVE_FLOORF 1
31052 _ACEOF
31054 cat >>confdefs.h <<\_ACEOF
31055 #define HAVE_FMODF 1
31056 _ACEOF
31058 cat >>confdefs.h <<\_ACEOF
31059 #define HAVE_FREXPF 1
31060 _ACEOF
31062 cat >>confdefs.h <<\_ACEOF
31063 #define HAVE_LDEXPF 1
31064 _ACEOF
31066 cat >>confdefs.h <<\_ACEOF
31067 #define HAVE_LOG10F 1
31068 _ACEOF
31070 cat >>confdefs.h <<\_ACEOF
31071 #define HAVE_LOGF 1
31072 _ACEOF
31074 cat >>confdefs.h <<\_ACEOF
31075 #define HAVE_MODFF 1
31076 _ACEOF
31078 cat >>confdefs.h <<\_ACEOF
31079 #define HAVE_POWF 1
31080 _ACEOF
31082 cat >>confdefs.h <<\_ACEOF
31083 #define HAVE_SINF 1
31084 _ACEOF
31086 cat >>confdefs.h <<\_ACEOF
31087 #define HAVE_SINHF 1
31088 _ACEOF
31090 cat >>confdefs.h <<\_ACEOF
31091 #define HAVE_SQRTF 1
31092 _ACEOF
31094 cat >>confdefs.h <<\_ACEOF
31095 #define HAVE_TANF 1
31096 _ACEOF
31098 cat >>confdefs.h <<\_ACEOF
31099 #define HAVE_TANHF 1
31100 _ACEOF
31103 cat >>confdefs.h <<\_ACEOF
31104 #define HAVE_S_ISREG 1
31105 _ACEOF
31107 cat >>confdefs.h <<\_ACEOF
31108 #define HAVE_S_IFREG 1
31109 _ACEOF
31111 else
31113 # Base decisions on target environment.
31114 case "${host}" in
31115 arm*-*-symbianelf*)
31116 # This is a freestanding configuration; there is nothing to do here.
31119 *-darwin*)
31120 # Darwin versions vary, but the linker should work in a cross environment,
31121 # so we just check for all the features here.
31122 # Check for available headers.
31136 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
31137 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
31138 sys/types.h
31140 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31141 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31142 echo "$as_me:$LINENO: checking for $ac_header" >&5
31143 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31144 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31145 echo $ECHO_N "(cached) $ECHO_C" >&6
31147 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31148 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31149 else
31150 # Is the header compilable?
31151 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31152 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31153 cat >conftest.$ac_ext <<_ACEOF
31154 /* confdefs.h. */
31155 _ACEOF
31156 cat confdefs.h >>conftest.$ac_ext
31157 cat >>conftest.$ac_ext <<_ACEOF
31158 /* end confdefs.h. */
31159 $ac_includes_default
31160 #include <$ac_header>
31161 _ACEOF
31162 rm -f conftest.$ac_objext
31163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31164 (eval $ac_compile) 2>conftest.er1
31165 ac_status=$?
31166 grep -v '^ *+' conftest.er1 >conftest.err
31167 rm -f conftest.er1
31168 cat conftest.err >&5
31169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31170 (exit $ac_status); } &&
31171 { ac_try='test -z "$ac_c_werror_flag"
31172 || test ! -s conftest.err'
31173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31174 (eval $ac_try) 2>&5
31175 ac_status=$?
31176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31177 (exit $ac_status); }; } &&
31178 { ac_try='test -s conftest.$ac_objext'
31179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31180 (eval $ac_try) 2>&5
31181 ac_status=$?
31182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31183 (exit $ac_status); }; }; then
31184 ac_header_compiler=yes
31185 else
31186 echo "$as_me: failed program was:" >&5
31187 sed 's/^/| /' conftest.$ac_ext >&5
31189 ac_header_compiler=no
31191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31192 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31193 echo "${ECHO_T}$ac_header_compiler" >&6
31195 # Is the header present?
31196 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31197 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
31198 cat >conftest.$ac_ext <<_ACEOF
31199 /* confdefs.h. */
31200 _ACEOF
31201 cat confdefs.h >>conftest.$ac_ext
31202 cat >>conftest.$ac_ext <<_ACEOF
31203 /* end confdefs.h. */
31204 #include <$ac_header>
31205 _ACEOF
31206 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31207 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31208 ac_status=$?
31209 grep -v '^ *+' conftest.er1 >conftest.err
31210 rm -f conftest.er1
31211 cat conftest.err >&5
31212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31213 (exit $ac_status); } >/dev/null; then
31214 if test -s conftest.err; then
31215 ac_cpp_err=$ac_c_preproc_warn_flag
31216 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31217 else
31218 ac_cpp_err=
31220 else
31221 ac_cpp_err=yes
31223 if test -z "$ac_cpp_err"; then
31224 ac_header_preproc=yes
31225 else
31226 echo "$as_me: failed program was:" >&5
31227 sed 's/^/| /' conftest.$ac_ext >&5
31229 ac_header_preproc=no
31231 rm -f conftest.err conftest.$ac_ext
31232 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31233 echo "${ECHO_T}$ac_header_preproc" >&6
31235 # So? What about this header?
31236 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31237 yes:no: )
31238 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31239 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31240 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31241 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31242 ac_header_preproc=yes
31244 no:yes:* )
31245 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31246 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31247 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31248 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31249 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31250 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31251 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31252 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31253 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31254 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31255 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31256 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31258 cat <<\_ASBOX
31259 ## ----------------------------------------- ##
31260 ## Report this to the package-unused lists. ##
31261 ## ----------------------------------------- ##
31262 _ASBOX
31264 sed "s/^/$as_me: WARNING: /" >&2
31266 esac
31267 echo "$as_me:$LINENO: checking for $ac_header" >&5
31268 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31269 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31270 echo $ECHO_N "(cached) $ECHO_C" >&6
31271 else
31272 eval "$as_ac_Header=\$ac_header_preproc"
31274 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31275 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31278 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31279 cat >>confdefs.h <<_ACEOF
31280 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31281 _ACEOF
31285 done
31289 # All these tests are for C++; save the language and the compiler flags.
31290 # The CXXFLAGS thing is suspicious, but based on similar bits previously
31291 # found in GLIBCXX_CONFIGURE.
31294 ac_ext=cc
31295 ac_cpp='$CXXCPP $CPPFLAGS'
31296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31300 ac_test_CXXFLAGS="${CXXFLAGS+set}"
31301 ac_save_CXXFLAGS="$CXXFLAGS"
31303 # Check for maintainer-mode bits.
31304 if test x"$USE_MAINTAINER_MODE" = xno; then
31305 WERROR=''
31306 else
31307 WERROR='-Werror'
31310 # Check for -ffunction-sections -fdata-sections
31311 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
31312 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
31313 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
31314 cat >conftest.$ac_ext <<_ACEOF
31315 /* confdefs.h. */
31316 _ACEOF
31317 cat confdefs.h >>conftest.$ac_ext
31318 cat >>conftest.$ac_ext <<_ACEOF
31319 /* end confdefs.h. */
31322 main ()
31324 int foo;
31326 return 0;
31328 _ACEOF
31329 rm -f conftest.$ac_objext
31330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31331 (eval $ac_compile) 2>conftest.er1
31332 ac_status=$?
31333 grep -v '^ *+' conftest.er1 >conftest.err
31334 rm -f conftest.er1
31335 cat conftest.err >&5
31336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31337 (exit $ac_status); } &&
31338 { ac_try='test -z "$ac_cxx_werror_flag"
31339 || test ! -s conftest.err'
31340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31341 (eval $ac_try) 2>&5
31342 ac_status=$?
31343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31344 (exit $ac_status); }; } &&
31345 { ac_try='test -s conftest.$ac_objext'
31346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31347 (eval $ac_try) 2>&5
31348 ac_status=$?
31349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31350 (exit $ac_status); }; }; then
31351 ac_fdsections=yes
31352 else
31353 echo "$as_me: failed program was:" >&5
31354 sed 's/^/| /' conftest.$ac_ext >&5
31356 ac_fdsections=no
31358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31359 if test "$ac_test_CXXFLAGS" = set; then
31360 CXXFLAGS="$ac_save_CXXFLAGS"
31361 else
31362 # this is the suspicious part
31363 CXXFLAGS=''
31365 if test x"$ac_fdsections" = x"yes"; then
31366 SECTION_FLAGS='-ffunction-sections -fdata-sections'
31368 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
31369 echo "${ECHO_T}$ac_fdsections" >&6
31371 ac_ext=c
31372 ac_cpp='$CPP $CPPFLAGS'
31373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31380 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
31382 ac_test_CXXFLAGS="${CXXFLAGS+set}"
31383 ac_save_CXXFLAGS="$CXXFLAGS"
31384 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
31386 echo "$as_me:$LINENO: checking for sin in -lm" >&5
31387 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
31388 if test "${ac_cv_lib_m_sin+set}" = set; then
31389 echo $ECHO_N "(cached) $ECHO_C" >&6
31390 else
31391 ac_check_lib_save_LIBS=$LIBS
31392 LIBS="-lm $LIBS"
31393 if test x$gcc_no_link = xyes; then
31394 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31395 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31396 { (exit 1); exit 1; }; }
31398 cat >conftest.$ac_ext <<_ACEOF
31399 /* confdefs.h. */
31400 _ACEOF
31401 cat confdefs.h >>conftest.$ac_ext
31402 cat >>conftest.$ac_ext <<_ACEOF
31403 /* end confdefs.h. */
31405 /* Override any gcc2 internal prototype to avoid an error. */
31406 #ifdef __cplusplus
31407 extern "C"
31408 #endif
31409 /* We use char because int might match the return type of a gcc2
31410 builtin and then its argument prototype would still apply. */
31411 char sin ();
31413 main ()
31415 sin ();
31417 return 0;
31419 _ACEOF
31420 rm -f conftest.$ac_objext conftest$ac_exeext
31421 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31422 (eval $ac_link) 2>conftest.er1
31423 ac_status=$?
31424 grep -v '^ *+' conftest.er1 >conftest.err
31425 rm -f conftest.er1
31426 cat conftest.err >&5
31427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31428 (exit $ac_status); } &&
31429 { ac_try='test -z "$ac_c_werror_flag"
31430 || test ! -s conftest.err'
31431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31432 (eval $ac_try) 2>&5
31433 ac_status=$?
31434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31435 (exit $ac_status); }; } &&
31436 { ac_try='test -s conftest$ac_exeext'
31437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31438 (eval $ac_try) 2>&5
31439 ac_status=$?
31440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31441 (exit $ac_status); }; }; then
31442 ac_cv_lib_m_sin=yes
31443 else
31444 echo "$as_me: failed program was:" >&5
31445 sed 's/^/| /' conftest.$ac_ext >&5
31447 ac_cv_lib_m_sin=no
31449 rm -f conftest.err conftest.$ac_objext \
31450 conftest$ac_exeext conftest.$ac_ext
31451 LIBS=$ac_check_lib_save_LIBS
31453 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
31454 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
31455 if test $ac_cv_lib_m_sin = yes; then
31456 libm="-lm"
31459 ac_save_LIBS="$LIBS"
31460 LIBS="$LIBS $libm"
31464 echo "$as_me:$LINENO: checking for isinf declaration" >&5
31465 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
31466 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
31467 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
31468 echo $ECHO_N "(cached) $ECHO_C" >&6
31469 else
31473 ac_ext=cc
31474 ac_cpp='$CXXCPP $CPPFLAGS'
31475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31479 cat >conftest.$ac_ext <<_ACEOF
31480 /* confdefs.h. */
31481 _ACEOF
31482 cat confdefs.h >>conftest.$ac_ext
31483 cat >>conftest.$ac_ext <<_ACEOF
31484 /* end confdefs.h. */
31485 #include <math.h>
31486 #ifdef HAVE_IEEEFP_H
31487 #include <ieeefp.h>
31488 #endif
31491 main ()
31493 isinf(0);
31495 return 0;
31497 _ACEOF
31498 rm -f conftest.$ac_objext
31499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31500 (eval $ac_compile) 2>conftest.er1
31501 ac_status=$?
31502 grep -v '^ *+' conftest.er1 >conftest.err
31503 rm -f conftest.er1
31504 cat conftest.err >&5
31505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31506 (exit $ac_status); } &&
31507 { ac_try='test -z "$ac_cxx_werror_flag"
31508 || test ! -s conftest.err'
31509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31510 (eval $ac_try) 2>&5
31511 ac_status=$?
31512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31513 (exit $ac_status); }; } &&
31514 { ac_try='test -s conftest.$ac_objext'
31515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31516 (eval $ac_try) 2>&5
31517 ac_status=$?
31518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31519 (exit $ac_status); }; }; then
31520 glibcxx_cv_func_isinf_use=yes
31521 else
31522 echo "$as_me: failed program was:" >&5
31523 sed 's/^/| /' conftest.$ac_ext >&5
31525 glibcxx_cv_func_isinf_use=no
31527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31528 ac_ext=c
31529 ac_cpp='$CPP $CPPFLAGS'
31530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31538 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
31539 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
31541 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
31543 for ac_func in isinf
31545 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31546 echo "$as_me:$LINENO: checking for $ac_func" >&5
31547 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31548 if eval "test \"\${$as_ac_var+set}\" = set"; then
31549 echo $ECHO_N "(cached) $ECHO_C" >&6
31550 else
31551 if test x$gcc_no_link = xyes; then
31552 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31553 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31554 { (exit 1); exit 1; }; }
31556 cat >conftest.$ac_ext <<_ACEOF
31557 /* confdefs.h. */
31558 _ACEOF
31559 cat confdefs.h >>conftest.$ac_ext
31560 cat >>conftest.$ac_ext <<_ACEOF
31561 /* end confdefs.h. */
31562 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31563 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31564 #define $ac_func innocuous_$ac_func
31566 /* System header to define __stub macros and hopefully few prototypes,
31567 which can conflict with char $ac_func (); below.
31568 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31569 <limits.h> exists even on freestanding compilers. */
31571 #ifdef __STDC__
31572 # include <limits.h>
31573 #else
31574 # include <assert.h>
31575 #endif
31577 #undef $ac_func
31579 /* Override any gcc2 internal prototype to avoid an error. */
31580 #ifdef __cplusplus
31581 extern "C"
31583 #endif
31584 /* We use char because int might match the return type of a gcc2
31585 builtin and then its argument prototype would still apply. */
31586 char $ac_func ();
31587 /* The GNU C library defines this for functions which it implements
31588 to always fail with ENOSYS. Some functions are actually named
31589 something starting with __ and the normal name is an alias. */
31590 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31591 choke me
31592 #else
31593 char (*f) () = $ac_func;
31594 #endif
31595 #ifdef __cplusplus
31597 #endif
31600 main ()
31602 return f != $ac_func;
31604 return 0;
31606 _ACEOF
31607 rm -f conftest.$ac_objext conftest$ac_exeext
31608 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31609 (eval $ac_link) 2>conftest.er1
31610 ac_status=$?
31611 grep -v '^ *+' conftest.er1 >conftest.err
31612 rm -f conftest.er1
31613 cat conftest.err >&5
31614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31615 (exit $ac_status); } &&
31616 { ac_try='test -z "$ac_c_werror_flag"
31617 || test ! -s conftest.err'
31618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31619 (eval $ac_try) 2>&5
31620 ac_status=$?
31621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31622 (exit $ac_status); }; } &&
31623 { ac_try='test -s conftest$ac_exeext'
31624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31625 (eval $ac_try) 2>&5
31626 ac_status=$?
31627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31628 (exit $ac_status); }; }; then
31629 eval "$as_ac_var=yes"
31630 else
31631 echo "$as_me: failed program was:" >&5
31632 sed 's/^/| /' conftest.$ac_ext >&5
31634 eval "$as_ac_var=no"
31636 rm -f conftest.err conftest.$ac_objext \
31637 conftest$ac_exeext conftest.$ac_ext
31639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31640 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31641 if test `eval echo '${'$as_ac_var'}'` = yes; then
31642 cat >>confdefs.h <<_ACEOF
31643 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31644 _ACEOF
31647 done
31649 else
31651 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
31652 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
31653 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
31654 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
31655 echo $ECHO_N "(cached) $ECHO_C" >&6
31656 else
31660 ac_ext=cc
31661 ac_cpp='$CXXCPP $CPPFLAGS'
31662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31666 cat >conftest.$ac_ext <<_ACEOF
31667 /* confdefs.h. */
31668 _ACEOF
31669 cat confdefs.h >>conftest.$ac_ext
31670 cat >>conftest.$ac_ext <<_ACEOF
31671 /* end confdefs.h. */
31672 #include <math.h>
31673 #ifdef HAVE_IEEEFP_H
31674 #include <ieeefp.h>
31675 #endif
31678 main ()
31680 _isinf(0);
31682 return 0;
31684 _ACEOF
31685 rm -f conftest.$ac_objext
31686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31687 (eval $ac_compile) 2>conftest.er1
31688 ac_status=$?
31689 grep -v '^ *+' conftest.er1 >conftest.err
31690 rm -f conftest.er1
31691 cat conftest.err >&5
31692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31693 (exit $ac_status); } &&
31694 { ac_try='test -z "$ac_cxx_werror_flag"
31695 || test ! -s conftest.err'
31696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31697 (eval $ac_try) 2>&5
31698 ac_status=$?
31699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31700 (exit $ac_status); }; } &&
31701 { ac_try='test -s conftest.$ac_objext'
31702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31703 (eval $ac_try) 2>&5
31704 ac_status=$?
31705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31706 (exit $ac_status); }; }; then
31707 glibcxx_cv_func__isinf_use=yes
31708 else
31709 echo "$as_me: failed program was:" >&5
31710 sed 's/^/| /' conftest.$ac_ext >&5
31712 glibcxx_cv_func__isinf_use=no
31714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31715 ac_ext=c
31716 ac_cpp='$CPP $CPPFLAGS'
31717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31725 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
31726 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
31728 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
31730 for ac_func in _isinf
31732 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31733 echo "$as_me:$LINENO: checking for $ac_func" >&5
31734 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31735 if eval "test \"\${$as_ac_var+set}\" = set"; then
31736 echo $ECHO_N "(cached) $ECHO_C" >&6
31737 else
31738 if test x$gcc_no_link = xyes; then
31739 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31740 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31741 { (exit 1); exit 1; }; }
31743 cat >conftest.$ac_ext <<_ACEOF
31744 /* confdefs.h. */
31745 _ACEOF
31746 cat confdefs.h >>conftest.$ac_ext
31747 cat >>conftest.$ac_ext <<_ACEOF
31748 /* end confdefs.h. */
31749 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31750 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31751 #define $ac_func innocuous_$ac_func
31753 /* System header to define __stub macros and hopefully few prototypes,
31754 which can conflict with char $ac_func (); below.
31755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31756 <limits.h> exists even on freestanding compilers. */
31758 #ifdef __STDC__
31759 # include <limits.h>
31760 #else
31761 # include <assert.h>
31762 #endif
31764 #undef $ac_func
31766 /* Override any gcc2 internal prototype to avoid an error. */
31767 #ifdef __cplusplus
31768 extern "C"
31770 #endif
31771 /* We use char because int might match the return type of a gcc2
31772 builtin and then its argument prototype would still apply. */
31773 char $ac_func ();
31774 /* The GNU C library defines this for functions which it implements
31775 to always fail with ENOSYS. Some functions are actually named
31776 something starting with __ and the normal name is an alias. */
31777 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31778 choke me
31779 #else
31780 char (*f) () = $ac_func;
31781 #endif
31782 #ifdef __cplusplus
31784 #endif
31787 main ()
31789 return f != $ac_func;
31791 return 0;
31793 _ACEOF
31794 rm -f conftest.$ac_objext conftest$ac_exeext
31795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31796 (eval $ac_link) 2>conftest.er1
31797 ac_status=$?
31798 grep -v '^ *+' conftest.er1 >conftest.err
31799 rm -f conftest.er1
31800 cat conftest.err >&5
31801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31802 (exit $ac_status); } &&
31803 { ac_try='test -z "$ac_c_werror_flag"
31804 || test ! -s conftest.err'
31805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31806 (eval $ac_try) 2>&5
31807 ac_status=$?
31808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31809 (exit $ac_status); }; } &&
31810 { ac_try='test -s conftest$ac_exeext'
31811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31812 (eval $ac_try) 2>&5
31813 ac_status=$?
31814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31815 (exit $ac_status); }; }; then
31816 eval "$as_ac_var=yes"
31817 else
31818 echo "$as_me: failed program was:" >&5
31819 sed 's/^/| /' conftest.$ac_ext >&5
31821 eval "$as_ac_var=no"
31823 rm -f conftest.err conftest.$ac_objext \
31824 conftest$ac_exeext conftest.$ac_ext
31826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31827 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31828 if test `eval echo '${'$as_ac_var'}'` = yes; then
31829 cat >>confdefs.h <<_ACEOF
31830 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31831 _ACEOF
31834 done
31841 echo "$as_me:$LINENO: checking for isnan declaration" >&5
31842 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
31843 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
31844 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
31845 echo $ECHO_N "(cached) $ECHO_C" >&6
31846 else
31850 ac_ext=cc
31851 ac_cpp='$CXXCPP $CPPFLAGS'
31852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31856 cat >conftest.$ac_ext <<_ACEOF
31857 /* confdefs.h. */
31858 _ACEOF
31859 cat confdefs.h >>conftest.$ac_ext
31860 cat >>conftest.$ac_ext <<_ACEOF
31861 /* end confdefs.h. */
31862 #include <math.h>
31863 #ifdef HAVE_IEEEFP_H
31864 #include <ieeefp.h>
31865 #endif
31868 main ()
31870 isnan(0);
31872 return 0;
31874 _ACEOF
31875 rm -f conftest.$ac_objext
31876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31877 (eval $ac_compile) 2>conftest.er1
31878 ac_status=$?
31879 grep -v '^ *+' conftest.er1 >conftest.err
31880 rm -f conftest.er1
31881 cat conftest.err >&5
31882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31883 (exit $ac_status); } &&
31884 { ac_try='test -z "$ac_cxx_werror_flag"
31885 || test ! -s conftest.err'
31886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31887 (eval $ac_try) 2>&5
31888 ac_status=$?
31889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31890 (exit $ac_status); }; } &&
31891 { ac_try='test -s conftest.$ac_objext'
31892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31893 (eval $ac_try) 2>&5
31894 ac_status=$?
31895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31896 (exit $ac_status); }; }; then
31897 glibcxx_cv_func_isnan_use=yes
31898 else
31899 echo "$as_me: failed program was:" >&5
31900 sed 's/^/| /' conftest.$ac_ext >&5
31902 glibcxx_cv_func_isnan_use=no
31904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31905 ac_ext=c
31906 ac_cpp='$CPP $CPPFLAGS'
31907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31915 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
31916 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
31918 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
31920 for ac_func in isnan
31922 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31923 echo "$as_me:$LINENO: checking for $ac_func" >&5
31924 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31925 if eval "test \"\${$as_ac_var+set}\" = set"; then
31926 echo $ECHO_N "(cached) $ECHO_C" >&6
31927 else
31928 if test x$gcc_no_link = xyes; then
31929 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31930 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31931 { (exit 1); exit 1; }; }
31933 cat >conftest.$ac_ext <<_ACEOF
31934 /* confdefs.h. */
31935 _ACEOF
31936 cat confdefs.h >>conftest.$ac_ext
31937 cat >>conftest.$ac_ext <<_ACEOF
31938 /* end confdefs.h. */
31939 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31940 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31941 #define $ac_func innocuous_$ac_func
31943 /* System header to define __stub macros and hopefully few prototypes,
31944 which can conflict with char $ac_func (); below.
31945 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31946 <limits.h> exists even on freestanding compilers. */
31948 #ifdef __STDC__
31949 # include <limits.h>
31950 #else
31951 # include <assert.h>
31952 #endif
31954 #undef $ac_func
31956 /* Override any gcc2 internal prototype to avoid an error. */
31957 #ifdef __cplusplus
31958 extern "C"
31960 #endif
31961 /* We use char because int might match the return type of a gcc2
31962 builtin and then its argument prototype would still apply. */
31963 char $ac_func ();
31964 /* The GNU C library defines this for functions which it implements
31965 to always fail with ENOSYS. Some functions are actually named
31966 something starting with __ and the normal name is an alias. */
31967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31968 choke me
31969 #else
31970 char (*f) () = $ac_func;
31971 #endif
31972 #ifdef __cplusplus
31974 #endif
31977 main ()
31979 return f != $ac_func;
31981 return 0;
31983 _ACEOF
31984 rm -f conftest.$ac_objext conftest$ac_exeext
31985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31986 (eval $ac_link) 2>conftest.er1
31987 ac_status=$?
31988 grep -v '^ *+' conftest.er1 >conftest.err
31989 rm -f conftest.er1
31990 cat conftest.err >&5
31991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31992 (exit $ac_status); } &&
31993 { ac_try='test -z "$ac_c_werror_flag"
31994 || test ! -s conftest.err'
31995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31996 (eval $ac_try) 2>&5
31997 ac_status=$?
31998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31999 (exit $ac_status); }; } &&
32000 { ac_try='test -s conftest$ac_exeext'
32001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32002 (eval $ac_try) 2>&5
32003 ac_status=$?
32004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32005 (exit $ac_status); }; }; then
32006 eval "$as_ac_var=yes"
32007 else
32008 echo "$as_me: failed program was:" >&5
32009 sed 's/^/| /' conftest.$ac_ext >&5
32011 eval "$as_ac_var=no"
32013 rm -f conftest.err conftest.$ac_objext \
32014 conftest$ac_exeext conftest.$ac_ext
32016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32017 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32018 if test `eval echo '${'$as_ac_var'}'` = yes; then
32019 cat >>confdefs.h <<_ACEOF
32020 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32021 _ACEOF
32024 done
32026 else
32028 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
32029 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
32030 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
32031 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
32032 echo $ECHO_N "(cached) $ECHO_C" >&6
32033 else
32037 ac_ext=cc
32038 ac_cpp='$CXXCPP $CPPFLAGS'
32039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32043 cat >conftest.$ac_ext <<_ACEOF
32044 /* confdefs.h. */
32045 _ACEOF
32046 cat confdefs.h >>conftest.$ac_ext
32047 cat >>conftest.$ac_ext <<_ACEOF
32048 /* end confdefs.h. */
32049 #include <math.h>
32050 #ifdef HAVE_IEEEFP_H
32051 #include <ieeefp.h>
32052 #endif
32055 main ()
32057 _isnan(0);
32059 return 0;
32061 _ACEOF
32062 rm -f conftest.$ac_objext
32063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32064 (eval $ac_compile) 2>conftest.er1
32065 ac_status=$?
32066 grep -v '^ *+' conftest.er1 >conftest.err
32067 rm -f conftest.er1
32068 cat conftest.err >&5
32069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32070 (exit $ac_status); } &&
32071 { ac_try='test -z "$ac_cxx_werror_flag"
32072 || test ! -s conftest.err'
32073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32074 (eval $ac_try) 2>&5
32075 ac_status=$?
32076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32077 (exit $ac_status); }; } &&
32078 { ac_try='test -s conftest.$ac_objext'
32079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32080 (eval $ac_try) 2>&5
32081 ac_status=$?
32082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32083 (exit $ac_status); }; }; then
32084 glibcxx_cv_func__isnan_use=yes
32085 else
32086 echo "$as_me: failed program was:" >&5
32087 sed 's/^/| /' conftest.$ac_ext >&5
32089 glibcxx_cv_func__isnan_use=no
32091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32092 ac_ext=c
32093 ac_cpp='$CPP $CPPFLAGS'
32094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32102 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
32103 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
32105 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
32107 for ac_func in _isnan
32109 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32110 echo "$as_me:$LINENO: checking for $ac_func" >&5
32111 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32112 if eval "test \"\${$as_ac_var+set}\" = set"; then
32113 echo $ECHO_N "(cached) $ECHO_C" >&6
32114 else
32115 if test x$gcc_no_link = xyes; then
32116 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32117 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32118 { (exit 1); exit 1; }; }
32120 cat >conftest.$ac_ext <<_ACEOF
32121 /* confdefs.h. */
32122 _ACEOF
32123 cat confdefs.h >>conftest.$ac_ext
32124 cat >>conftest.$ac_ext <<_ACEOF
32125 /* end confdefs.h. */
32126 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32127 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32128 #define $ac_func innocuous_$ac_func
32130 /* System header to define __stub macros and hopefully few prototypes,
32131 which can conflict with char $ac_func (); below.
32132 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32133 <limits.h> exists even on freestanding compilers. */
32135 #ifdef __STDC__
32136 # include <limits.h>
32137 #else
32138 # include <assert.h>
32139 #endif
32141 #undef $ac_func
32143 /* Override any gcc2 internal prototype to avoid an error. */
32144 #ifdef __cplusplus
32145 extern "C"
32147 #endif
32148 /* We use char because int might match the return type of a gcc2
32149 builtin and then its argument prototype would still apply. */
32150 char $ac_func ();
32151 /* The GNU C library defines this for functions which it implements
32152 to always fail with ENOSYS. Some functions are actually named
32153 something starting with __ and the normal name is an alias. */
32154 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32155 choke me
32156 #else
32157 char (*f) () = $ac_func;
32158 #endif
32159 #ifdef __cplusplus
32161 #endif
32164 main ()
32166 return f != $ac_func;
32168 return 0;
32170 _ACEOF
32171 rm -f conftest.$ac_objext conftest$ac_exeext
32172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32173 (eval $ac_link) 2>conftest.er1
32174 ac_status=$?
32175 grep -v '^ *+' conftest.er1 >conftest.err
32176 rm -f conftest.er1
32177 cat conftest.err >&5
32178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32179 (exit $ac_status); } &&
32180 { ac_try='test -z "$ac_c_werror_flag"
32181 || test ! -s conftest.err'
32182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32183 (eval $ac_try) 2>&5
32184 ac_status=$?
32185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32186 (exit $ac_status); }; } &&
32187 { ac_try='test -s conftest$ac_exeext'
32188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32189 (eval $ac_try) 2>&5
32190 ac_status=$?
32191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32192 (exit $ac_status); }; }; then
32193 eval "$as_ac_var=yes"
32194 else
32195 echo "$as_me: failed program was:" >&5
32196 sed 's/^/| /' conftest.$ac_ext >&5
32198 eval "$as_ac_var=no"
32200 rm -f conftest.err conftest.$ac_objext \
32201 conftest$ac_exeext conftest.$ac_ext
32203 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32204 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32205 if test `eval echo '${'$as_ac_var'}'` = yes; then
32206 cat >>confdefs.h <<_ACEOF
32207 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32208 _ACEOF
32211 done
32218 echo "$as_me:$LINENO: checking for finite declaration" >&5
32219 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
32220 if test x${glibcxx_cv_func_finite_use+set} != xset; then
32221 if test "${glibcxx_cv_func_finite_use+set}" = set; then
32222 echo $ECHO_N "(cached) $ECHO_C" >&6
32223 else
32227 ac_ext=cc
32228 ac_cpp='$CXXCPP $CPPFLAGS'
32229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32233 cat >conftest.$ac_ext <<_ACEOF
32234 /* confdefs.h. */
32235 _ACEOF
32236 cat confdefs.h >>conftest.$ac_ext
32237 cat >>conftest.$ac_ext <<_ACEOF
32238 /* end confdefs.h. */
32239 #include <math.h>
32240 #ifdef HAVE_IEEEFP_H
32241 #include <ieeefp.h>
32242 #endif
32245 main ()
32247 finite(0);
32249 return 0;
32251 _ACEOF
32252 rm -f conftest.$ac_objext
32253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32254 (eval $ac_compile) 2>conftest.er1
32255 ac_status=$?
32256 grep -v '^ *+' conftest.er1 >conftest.err
32257 rm -f conftest.er1
32258 cat conftest.err >&5
32259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32260 (exit $ac_status); } &&
32261 { ac_try='test -z "$ac_cxx_werror_flag"
32262 || test ! -s conftest.err'
32263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32264 (eval $ac_try) 2>&5
32265 ac_status=$?
32266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32267 (exit $ac_status); }; } &&
32268 { ac_try='test -s conftest.$ac_objext'
32269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32270 (eval $ac_try) 2>&5
32271 ac_status=$?
32272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32273 (exit $ac_status); }; }; then
32274 glibcxx_cv_func_finite_use=yes
32275 else
32276 echo "$as_me: failed program was:" >&5
32277 sed 's/^/| /' conftest.$ac_ext >&5
32279 glibcxx_cv_func_finite_use=no
32281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32282 ac_ext=c
32283 ac_cpp='$CPP $CPPFLAGS'
32284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32292 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
32293 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
32295 if test x$glibcxx_cv_func_finite_use = x"yes"; then
32297 for ac_func in finite
32299 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32300 echo "$as_me:$LINENO: checking for $ac_func" >&5
32301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32302 if eval "test \"\${$as_ac_var+set}\" = set"; then
32303 echo $ECHO_N "(cached) $ECHO_C" >&6
32304 else
32305 if test x$gcc_no_link = xyes; then
32306 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32307 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32308 { (exit 1); exit 1; }; }
32310 cat >conftest.$ac_ext <<_ACEOF
32311 /* confdefs.h. */
32312 _ACEOF
32313 cat confdefs.h >>conftest.$ac_ext
32314 cat >>conftest.$ac_ext <<_ACEOF
32315 /* end confdefs.h. */
32316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32317 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32318 #define $ac_func innocuous_$ac_func
32320 /* System header to define __stub macros and hopefully few prototypes,
32321 which can conflict with char $ac_func (); below.
32322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32323 <limits.h> exists even on freestanding compilers. */
32325 #ifdef __STDC__
32326 # include <limits.h>
32327 #else
32328 # include <assert.h>
32329 #endif
32331 #undef $ac_func
32333 /* Override any gcc2 internal prototype to avoid an error. */
32334 #ifdef __cplusplus
32335 extern "C"
32337 #endif
32338 /* We use char because int might match the return type of a gcc2
32339 builtin and then its argument prototype would still apply. */
32340 char $ac_func ();
32341 /* The GNU C library defines this for functions which it implements
32342 to always fail with ENOSYS. Some functions are actually named
32343 something starting with __ and the normal name is an alias. */
32344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32345 choke me
32346 #else
32347 char (*f) () = $ac_func;
32348 #endif
32349 #ifdef __cplusplus
32351 #endif
32354 main ()
32356 return f != $ac_func;
32358 return 0;
32360 _ACEOF
32361 rm -f conftest.$ac_objext conftest$ac_exeext
32362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32363 (eval $ac_link) 2>conftest.er1
32364 ac_status=$?
32365 grep -v '^ *+' conftest.er1 >conftest.err
32366 rm -f conftest.er1
32367 cat conftest.err >&5
32368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32369 (exit $ac_status); } &&
32370 { ac_try='test -z "$ac_c_werror_flag"
32371 || test ! -s conftest.err'
32372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32373 (eval $ac_try) 2>&5
32374 ac_status=$?
32375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32376 (exit $ac_status); }; } &&
32377 { ac_try='test -s conftest$ac_exeext'
32378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32379 (eval $ac_try) 2>&5
32380 ac_status=$?
32381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32382 (exit $ac_status); }; }; then
32383 eval "$as_ac_var=yes"
32384 else
32385 echo "$as_me: failed program was:" >&5
32386 sed 's/^/| /' conftest.$ac_ext >&5
32388 eval "$as_ac_var=no"
32390 rm -f conftest.err conftest.$ac_objext \
32391 conftest$ac_exeext conftest.$ac_ext
32393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32394 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32395 if test `eval echo '${'$as_ac_var'}'` = yes; then
32396 cat >>confdefs.h <<_ACEOF
32397 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32398 _ACEOF
32401 done
32403 else
32405 echo "$as_me:$LINENO: checking for _finite declaration" >&5
32406 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
32407 if test x${glibcxx_cv_func__finite_use+set} != xset; then
32408 if test "${glibcxx_cv_func__finite_use+set}" = set; then
32409 echo $ECHO_N "(cached) $ECHO_C" >&6
32410 else
32414 ac_ext=cc
32415 ac_cpp='$CXXCPP $CPPFLAGS'
32416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32420 cat >conftest.$ac_ext <<_ACEOF
32421 /* confdefs.h. */
32422 _ACEOF
32423 cat confdefs.h >>conftest.$ac_ext
32424 cat >>conftest.$ac_ext <<_ACEOF
32425 /* end confdefs.h. */
32426 #include <math.h>
32427 #ifdef HAVE_IEEEFP_H
32428 #include <ieeefp.h>
32429 #endif
32432 main ()
32434 _finite(0);
32436 return 0;
32438 _ACEOF
32439 rm -f conftest.$ac_objext
32440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32441 (eval $ac_compile) 2>conftest.er1
32442 ac_status=$?
32443 grep -v '^ *+' conftest.er1 >conftest.err
32444 rm -f conftest.er1
32445 cat conftest.err >&5
32446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32447 (exit $ac_status); } &&
32448 { ac_try='test -z "$ac_cxx_werror_flag"
32449 || test ! -s conftest.err'
32450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32451 (eval $ac_try) 2>&5
32452 ac_status=$?
32453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32454 (exit $ac_status); }; } &&
32455 { ac_try='test -s conftest.$ac_objext'
32456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32457 (eval $ac_try) 2>&5
32458 ac_status=$?
32459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32460 (exit $ac_status); }; }; then
32461 glibcxx_cv_func__finite_use=yes
32462 else
32463 echo "$as_me: failed program was:" >&5
32464 sed 's/^/| /' conftest.$ac_ext >&5
32466 glibcxx_cv_func__finite_use=no
32468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32469 ac_ext=c
32470 ac_cpp='$CPP $CPPFLAGS'
32471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32479 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
32480 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
32482 if test x$glibcxx_cv_func__finite_use = x"yes"; then
32484 for ac_func in _finite
32486 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32487 echo "$as_me:$LINENO: checking for $ac_func" >&5
32488 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32489 if eval "test \"\${$as_ac_var+set}\" = set"; then
32490 echo $ECHO_N "(cached) $ECHO_C" >&6
32491 else
32492 if test x$gcc_no_link = xyes; then
32493 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32494 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32495 { (exit 1); exit 1; }; }
32497 cat >conftest.$ac_ext <<_ACEOF
32498 /* confdefs.h. */
32499 _ACEOF
32500 cat confdefs.h >>conftest.$ac_ext
32501 cat >>conftest.$ac_ext <<_ACEOF
32502 /* end confdefs.h. */
32503 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32504 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32505 #define $ac_func innocuous_$ac_func
32507 /* System header to define __stub macros and hopefully few prototypes,
32508 which can conflict with char $ac_func (); below.
32509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32510 <limits.h> exists even on freestanding compilers. */
32512 #ifdef __STDC__
32513 # include <limits.h>
32514 #else
32515 # include <assert.h>
32516 #endif
32518 #undef $ac_func
32520 /* Override any gcc2 internal prototype to avoid an error. */
32521 #ifdef __cplusplus
32522 extern "C"
32524 #endif
32525 /* We use char because int might match the return type of a gcc2
32526 builtin and then its argument prototype would still apply. */
32527 char $ac_func ();
32528 /* The GNU C library defines this for functions which it implements
32529 to always fail with ENOSYS. Some functions are actually named
32530 something starting with __ and the normal name is an alias. */
32531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32532 choke me
32533 #else
32534 char (*f) () = $ac_func;
32535 #endif
32536 #ifdef __cplusplus
32538 #endif
32541 main ()
32543 return f != $ac_func;
32545 return 0;
32547 _ACEOF
32548 rm -f conftest.$ac_objext conftest$ac_exeext
32549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32550 (eval $ac_link) 2>conftest.er1
32551 ac_status=$?
32552 grep -v '^ *+' conftest.er1 >conftest.err
32553 rm -f conftest.er1
32554 cat conftest.err >&5
32555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32556 (exit $ac_status); } &&
32557 { ac_try='test -z "$ac_c_werror_flag"
32558 || test ! -s conftest.err'
32559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32560 (eval $ac_try) 2>&5
32561 ac_status=$?
32562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32563 (exit $ac_status); }; } &&
32564 { ac_try='test -s conftest$ac_exeext'
32565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32566 (eval $ac_try) 2>&5
32567 ac_status=$?
32568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32569 (exit $ac_status); }; }; then
32570 eval "$as_ac_var=yes"
32571 else
32572 echo "$as_me: failed program was:" >&5
32573 sed 's/^/| /' conftest.$ac_ext >&5
32575 eval "$as_ac_var=no"
32577 rm -f conftest.err conftest.$ac_objext \
32578 conftest$ac_exeext conftest.$ac_ext
32580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32581 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32582 if test `eval echo '${'$as_ac_var'}'` = yes; then
32583 cat >>confdefs.h <<_ACEOF
32584 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32585 _ACEOF
32588 done
32595 echo "$as_me:$LINENO: checking for copysign declaration" >&5
32596 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
32597 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
32598 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
32599 echo $ECHO_N "(cached) $ECHO_C" >&6
32600 else
32604 ac_ext=cc
32605 ac_cpp='$CXXCPP $CPPFLAGS'
32606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32610 cat >conftest.$ac_ext <<_ACEOF
32611 /* confdefs.h. */
32612 _ACEOF
32613 cat confdefs.h >>conftest.$ac_ext
32614 cat >>conftest.$ac_ext <<_ACEOF
32615 /* end confdefs.h. */
32616 #include <math.h>
32618 main ()
32620 copysign(0, 0);
32622 return 0;
32624 _ACEOF
32625 rm -f conftest.$ac_objext
32626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32627 (eval $ac_compile) 2>conftest.er1
32628 ac_status=$?
32629 grep -v '^ *+' conftest.er1 >conftest.err
32630 rm -f conftest.er1
32631 cat conftest.err >&5
32632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32633 (exit $ac_status); } &&
32634 { ac_try='test -z "$ac_cxx_werror_flag"
32635 || test ! -s conftest.err'
32636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32637 (eval $ac_try) 2>&5
32638 ac_status=$?
32639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32640 (exit $ac_status); }; } &&
32641 { ac_try='test -s conftest.$ac_objext'
32642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32643 (eval $ac_try) 2>&5
32644 ac_status=$?
32645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32646 (exit $ac_status); }; }; then
32647 glibcxx_cv_func_copysign_use=yes
32648 else
32649 echo "$as_me: failed program was:" >&5
32650 sed 's/^/| /' conftest.$ac_ext >&5
32652 glibcxx_cv_func_copysign_use=no
32654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32655 ac_ext=c
32656 ac_cpp='$CPP $CPPFLAGS'
32657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32665 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
32666 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
32668 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
32670 for ac_func in copysign
32672 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32673 echo "$as_me:$LINENO: checking for $ac_func" >&5
32674 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32675 if eval "test \"\${$as_ac_var+set}\" = set"; then
32676 echo $ECHO_N "(cached) $ECHO_C" >&6
32677 else
32678 if test x$gcc_no_link = xyes; then
32679 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32680 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32681 { (exit 1); exit 1; }; }
32683 cat >conftest.$ac_ext <<_ACEOF
32684 /* confdefs.h. */
32685 _ACEOF
32686 cat confdefs.h >>conftest.$ac_ext
32687 cat >>conftest.$ac_ext <<_ACEOF
32688 /* end confdefs.h. */
32689 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32690 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32691 #define $ac_func innocuous_$ac_func
32693 /* System header to define __stub macros and hopefully few prototypes,
32694 which can conflict with char $ac_func (); below.
32695 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32696 <limits.h> exists even on freestanding compilers. */
32698 #ifdef __STDC__
32699 # include <limits.h>
32700 #else
32701 # include <assert.h>
32702 #endif
32704 #undef $ac_func
32706 /* Override any gcc2 internal prototype to avoid an error. */
32707 #ifdef __cplusplus
32708 extern "C"
32710 #endif
32711 /* We use char because int might match the return type of a gcc2
32712 builtin and then its argument prototype would still apply. */
32713 char $ac_func ();
32714 /* The GNU C library defines this for functions which it implements
32715 to always fail with ENOSYS. Some functions are actually named
32716 something starting with __ and the normal name is an alias. */
32717 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32718 choke me
32719 #else
32720 char (*f) () = $ac_func;
32721 #endif
32722 #ifdef __cplusplus
32724 #endif
32727 main ()
32729 return f != $ac_func;
32731 return 0;
32733 _ACEOF
32734 rm -f conftest.$ac_objext conftest$ac_exeext
32735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32736 (eval $ac_link) 2>conftest.er1
32737 ac_status=$?
32738 grep -v '^ *+' conftest.er1 >conftest.err
32739 rm -f conftest.er1
32740 cat conftest.err >&5
32741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32742 (exit $ac_status); } &&
32743 { ac_try='test -z "$ac_c_werror_flag"
32744 || 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 _copysign declaration" >&5
32779 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
32780 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
32781 if test "${glibcxx_cv_func__copysign_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 _copysign(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"
32818 || test ! -s conftest.err'
32819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32820 (eval $ac_try) 2>&5
32821 ac_status=$?
32822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32823 (exit $ac_status); }; } &&
32824 { ac_try='test -s conftest.$ac_objext'
32825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32826 (eval $ac_try) 2>&5
32827 ac_status=$?
32828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32829 (exit $ac_status); }; }; then
32830 glibcxx_cv_func__copysign_use=yes
32831 else
32832 echo "$as_me: failed program was:" >&5
32833 sed 's/^/| /' conftest.$ac_ext >&5
32835 glibcxx_cv_func__copysign_use=no
32837 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32838 ac_ext=c
32839 ac_cpp='$CPP $CPPFLAGS'
32840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32848 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
32849 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
32851 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
32853 for ac_func in _copysign
32855 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32856 echo "$as_me:$LINENO: checking for $ac_func" >&5
32857 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32858 if eval "test \"\${$as_ac_var+set}\" = set"; then
32859 echo $ECHO_N "(cached) $ECHO_C" >&6
32860 else
32861 if test x$gcc_no_link = xyes; then
32862 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32863 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32864 { (exit 1); exit 1; }; }
32866 cat >conftest.$ac_ext <<_ACEOF
32867 /* confdefs.h. */
32868 _ACEOF
32869 cat confdefs.h >>conftest.$ac_ext
32870 cat >>conftest.$ac_ext <<_ACEOF
32871 /* end confdefs.h. */
32872 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32873 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32874 #define $ac_func innocuous_$ac_func
32876 /* System header to define __stub macros and hopefully few prototypes,
32877 which can conflict with char $ac_func (); below.
32878 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32879 <limits.h> exists even on freestanding compilers. */
32881 #ifdef __STDC__
32882 # include <limits.h>
32883 #else
32884 # include <assert.h>
32885 #endif
32887 #undef $ac_func
32889 /* Override any gcc2 internal prototype to avoid an error. */
32890 #ifdef __cplusplus
32891 extern "C"
32893 #endif
32894 /* We use char because int might match the return type of a gcc2
32895 builtin and then its argument prototype would still apply. */
32896 char $ac_func ();
32897 /* The GNU C library defines this for functions which it implements
32898 to always fail with ENOSYS. Some functions are actually named
32899 something starting with __ and the normal name is an alias. */
32900 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32901 choke me
32902 #else
32903 char (*f) () = $ac_func;
32904 #endif
32905 #ifdef __cplusplus
32907 #endif
32910 main ()
32912 return f != $ac_func;
32914 return 0;
32916 _ACEOF
32917 rm -f conftest.$ac_objext conftest$ac_exeext
32918 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32919 (eval $ac_link) 2>conftest.er1
32920 ac_status=$?
32921 grep -v '^ *+' conftest.er1 >conftest.err
32922 rm -f conftest.er1
32923 cat conftest.err >&5
32924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32925 (exit $ac_status); } &&
32926 { ac_try='test -z "$ac_c_werror_flag"
32927 || test ! -s conftest.err'
32928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32929 (eval $ac_try) 2>&5
32930 ac_status=$?
32931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32932 (exit $ac_status); }; } &&
32933 { ac_try='test -s conftest$ac_exeext'
32934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32935 (eval $ac_try) 2>&5
32936 ac_status=$?
32937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32938 (exit $ac_status); }; }; then
32939 eval "$as_ac_var=yes"
32940 else
32941 echo "$as_me: failed program was:" >&5
32942 sed 's/^/| /' conftest.$ac_ext >&5
32944 eval "$as_ac_var=no"
32946 rm -f conftest.err conftest.$ac_objext \
32947 conftest$ac_exeext conftest.$ac_ext
32949 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32950 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32951 if test `eval echo '${'$as_ac_var'}'` = yes; then
32952 cat >>confdefs.h <<_ACEOF
32953 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32954 _ACEOF
32957 done
32964 echo "$as_me:$LINENO: checking for sincos declaration" >&5
32965 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
32966 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
32967 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
32968 echo $ECHO_N "(cached) $ECHO_C" >&6
32969 else
32973 ac_ext=cc
32974 ac_cpp='$CXXCPP $CPPFLAGS'
32975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32979 cat >conftest.$ac_ext <<_ACEOF
32980 /* confdefs.h. */
32981 _ACEOF
32982 cat confdefs.h >>conftest.$ac_ext
32983 cat >>conftest.$ac_ext <<_ACEOF
32984 /* end confdefs.h. */
32985 #include <math.h>
32987 main ()
32989 sincos(0, 0, 0);
32991 return 0;
32993 _ACEOF
32994 rm -f conftest.$ac_objext
32995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32996 (eval $ac_compile) 2>conftest.er1
32997 ac_status=$?
32998 grep -v '^ *+' conftest.er1 >conftest.err
32999 rm -f conftest.er1
33000 cat conftest.err >&5
33001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33002 (exit $ac_status); } &&
33003 { ac_try='test -z "$ac_cxx_werror_flag"
33004 || test ! -s conftest.err'
33005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33006 (eval $ac_try) 2>&5
33007 ac_status=$?
33008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33009 (exit $ac_status); }; } &&
33010 { ac_try='test -s conftest.$ac_objext'
33011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33012 (eval $ac_try) 2>&5
33013 ac_status=$?
33014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33015 (exit $ac_status); }; }; then
33016 glibcxx_cv_func_sincos_use=yes
33017 else
33018 echo "$as_me: failed program was:" >&5
33019 sed 's/^/| /' conftest.$ac_ext >&5
33021 glibcxx_cv_func_sincos_use=no
33023 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33024 ac_ext=c
33025 ac_cpp='$CPP $CPPFLAGS'
33026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33034 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
33035 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
33037 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
33039 for ac_func in sincos
33041 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33042 echo "$as_me:$LINENO: checking for $ac_func" >&5
33043 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33044 if eval "test \"\${$as_ac_var+set}\" = set"; then
33045 echo $ECHO_N "(cached) $ECHO_C" >&6
33046 else
33047 if test x$gcc_no_link = xyes; then
33048 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33049 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33050 { (exit 1); exit 1; }; }
33052 cat >conftest.$ac_ext <<_ACEOF
33053 /* confdefs.h. */
33054 _ACEOF
33055 cat confdefs.h >>conftest.$ac_ext
33056 cat >>conftest.$ac_ext <<_ACEOF
33057 /* end confdefs.h. */
33058 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33059 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33060 #define $ac_func innocuous_$ac_func
33062 /* System header to define __stub macros and hopefully few prototypes,
33063 which can conflict with char $ac_func (); below.
33064 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33065 <limits.h> exists even on freestanding compilers. */
33067 #ifdef __STDC__
33068 # include <limits.h>
33069 #else
33070 # include <assert.h>
33071 #endif
33073 #undef $ac_func
33075 /* Override any gcc2 internal prototype to avoid an error. */
33076 #ifdef __cplusplus
33077 extern "C"
33079 #endif
33080 /* We use char because int might match the return type of a gcc2
33081 builtin and then its argument prototype would still apply. */
33082 char $ac_func ();
33083 /* The GNU C library defines this for functions which it implements
33084 to always fail with ENOSYS. Some functions are actually named
33085 something starting with __ and the normal name is an alias. */
33086 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33087 choke me
33088 #else
33089 char (*f) () = $ac_func;
33090 #endif
33091 #ifdef __cplusplus
33093 #endif
33096 main ()
33098 return f != $ac_func;
33100 return 0;
33102 _ACEOF
33103 rm -f conftest.$ac_objext conftest$ac_exeext
33104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33105 (eval $ac_link) 2>conftest.er1
33106 ac_status=$?
33107 grep -v '^ *+' conftest.er1 >conftest.err
33108 rm -f conftest.er1
33109 cat conftest.err >&5
33110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33111 (exit $ac_status); } &&
33112 { ac_try='test -z "$ac_c_werror_flag"
33113 || 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 _sincos declaration" >&5
33148 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
33149 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
33150 if test "${glibcxx_cv_func__sincos_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>
33170 main ()
33172 _sincos(0, 0, 0);
33174 return 0;
33176 _ACEOF
33177 rm -f conftest.$ac_objext
33178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33179 (eval $ac_compile) 2>conftest.er1
33180 ac_status=$?
33181 grep -v '^ *+' conftest.er1 >conftest.err
33182 rm -f conftest.er1
33183 cat conftest.err >&5
33184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33185 (exit $ac_status); } &&
33186 { ac_try='test -z "$ac_cxx_werror_flag"
33187 || test ! -s conftest.err'
33188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33189 (eval $ac_try) 2>&5
33190 ac_status=$?
33191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33192 (exit $ac_status); }; } &&
33193 { ac_try='test -s conftest.$ac_objext'
33194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33195 (eval $ac_try) 2>&5
33196 ac_status=$?
33197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33198 (exit $ac_status); }; }; then
33199 glibcxx_cv_func__sincos_use=yes
33200 else
33201 echo "$as_me: failed program was:" >&5
33202 sed 's/^/| /' conftest.$ac_ext >&5
33204 glibcxx_cv_func__sincos_use=no
33206 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33207 ac_ext=c
33208 ac_cpp='$CPP $CPPFLAGS'
33209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33217 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
33218 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
33220 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33222 for ac_func in _sincos
33224 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33225 echo "$as_me:$LINENO: checking for $ac_func" >&5
33226 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33227 if eval "test \"\${$as_ac_var+set}\" = set"; then
33228 echo $ECHO_N "(cached) $ECHO_C" >&6
33229 else
33230 if test x$gcc_no_link = xyes; then
33231 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33232 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33233 { (exit 1); exit 1; }; }
33235 cat >conftest.$ac_ext <<_ACEOF
33236 /* confdefs.h. */
33237 _ACEOF
33238 cat confdefs.h >>conftest.$ac_ext
33239 cat >>conftest.$ac_ext <<_ACEOF
33240 /* end confdefs.h. */
33241 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33242 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33243 #define $ac_func innocuous_$ac_func
33245 /* System header to define __stub macros and hopefully few prototypes,
33246 which can conflict with char $ac_func (); below.
33247 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33248 <limits.h> exists even on freestanding compilers. */
33250 #ifdef __STDC__
33251 # include <limits.h>
33252 #else
33253 # include <assert.h>
33254 #endif
33256 #undef $ac_func
33258 /* Override any gcc2 internal prototype to avoid an error. */
33259 #ifdef __cplusplus
33260 extern "C"
33262 #endif
33263 /* We use char because int might match the return type of a gcc2
33264 builtin and then its argument prototype would still apply. */
33265 char $ac_func ();
33266 /* The GNU C library defines this for functions which it implements
33267 to always fail with ENOSYS. Some functions are actually named
33268 something starting with __ and the normal name is an alias. */
33269 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33270 choke me
33271 #else
33272 char (*f) () = $ac_func;
33273 #endif
33274 #ifdef __cplusplus
33276 #endif
33279 main ()
33281 return f != $ac_func;
33283 return 0;
33285 _ACEOF
33286 rm -f conftest.$ac_objext conftest$ac_exeext
33287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33288 (eval $ac_link) 2>conftest.er1
33289 ac_status=$?
33290 grep -v '^ *+' conftest.er1 >conftest.err
33291 rm -f conftest.er1
33292 cat conftest.err >&5
33293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33294 (exit $ac_status); } &&
33295 { ac_try='test -z "$ac_c_werror_flag"
33296 || test ! -s conftest.err'
33297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33298 (eval $ac_try) 2>&5
33299 ac_status=$?
33300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33301 (exit $ac_status); }; } &&
33302 { ac_try='test -s conftest$ac_exeext'
33303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33304 (eval $ac_try) 2>&5
33305 ac_status=$?
33306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33307 (exit $ac_status); }; }; then
33308 eval "$as_ac_var=yes"
33309 else
33310 echo "$as_me: failed program was:" >&5
33311 sed 's/^/| /' conftest.$ac_ext >&5
33313 eval "$as_ac_var=no"
33315 rm -f conftest.err conftest.$ac_objext \
33316 conftest$ac_exeext conftest.$ac_ext
33318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33319 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33320 if test `eval echo '${'$as_ac_var'}'` = yes; then
33321 cat >>confdefs.h <<_ACEOF
33322 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33323 _ACEOF
33326 done
33333 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
33334 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
33335 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33336 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
33337 echo $ECHO_N "(cached) $ECHO_C" >&6
33338 else
33342 ac_ext=cc
33343 ac_cpp='$CXXCPP $CPPFLAGS'
33344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33348 cat >conftest.$ac_ext <<_ACEOF
33349 /* confdefs.h. */
33350 _ACEOF
33351 cat confdefs.h >>conftest.$ac_ext
33352 cat >>conftest.$ac_ext <<_ACEOF
33353 /* end confdefs.h. */
33354 #include <math.h>
33355 #ifdef HAVE_IEEEFP_H
33356 #include <ieeefp.h>
33357 #endif
33360 main ()
33362 fpclass(0);
33364 return 0;
33366 _ACEOF
33367 rm -f conftest.$ac_objext
33368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33369 (eval $ac_compile) 2>conftest.er1
33370 ac_status=$?
33371 grep -v '^ *+' conftest.er1 >conftest.err
33372 rm -f conftest.er1
33373 cat conftest.err >&5
33374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33375 (exit $ac_status); } &&
33376 { ac_try='test -z "$ac_cxx_werror_flag"
33377 || test ! -s conftest.err'
33378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33379 (eval $ac_try) 2>&5
33380 ac_status=$?
33381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33382 (exit $ac_status); }; } &&
33383 { ac_try='test -s conftest.$ac_objext'
33384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33385 (eval $ac_try) 2>&5
33386 ac_status=$?
33387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33388 (exit $ac_status); }; }; then
33389 glibcxx_cv_func_fpclass_use=yes
33390 else
33391 echo "$as_me: failed program was:" >&5
33392 sed 's/^/| /' conftest.$ac_ext >&5
33394 glibcxx_cv_func_fpclass_use=no
33396 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33397 ac_ext=c
33398 ac_cpp='$CPP $CPPFLAGS'
33399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33407 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
33408 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
33410 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33412 for ac_func in fpclass
33414 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33415 echo "$as_me:$LINENO: checking for $ac_func" >&5
33416 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33417 if eval "test \"\${$as_ac_var+set}\" = set"; then
33418 echo $ECHO_N "(cached) $ECHO_C" >&6
33419 else
33420 if test x$gcc_no_link = xyes; then
33421 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33422 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33423 { (exit 1); exit 1; }; }
33425 cat >conftest.$ac_ext <<_ACEOF
33426 /* confdefs.h. */
33427 _ACEOF
33428 cat confdefs.h >>conftest.$ac_ext
33429 cat >>conftest.$ac_ext <<_ACEOF
33430 /* end confdefs.h. */
33431 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33432 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33433 #define $ac_func innocuous_$ac_func
33435 /* System header to define __stub macros and hopefully few prototypes,
33436 which can conflict with char $ac_func (); below.
33437 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33438 <limits.h> exists even on freestanding compilers. */
33440 #ifdef __STDC__
33441 # include <limits.h>
33442 #else
33443 # include <assert.h>
33444 #endif
33446 #undef $ac_func
33448 /* Override any gcc2 internal prototype to avoid an error. */
33449 #ifdef __cplusplus
33450 extern "C"
33452 #endif
33453 /* We use char because int might match the return type of a gcc2
33454 builtin and then its argument prototype would still apply. */
33455 char $ac_func ();
33456 /* The GNU C library defines this for functions which it implements
33457 to always fail with ENOSYS. Some functions are actually named
33458 something starting with __ and the normal name is an alias. */
33459 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33460 choke me
33461 #else
33462 char (*f) () = $ac_func;
33463 #endif
33464 #ifdef __cplusplus
33466 #endif
33469 main ()
33471 return f != $ac_func;
33473 return 0;
33475 _ACEOF
33476 rm -f conftest.$ac_objext conftest$ac_exeext
33477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33478 (eval $ac_link) 2>conftest.er1
33479 ac_status=$?
33480 grep -v '^ *+' conftest.er1 >conftest.err
33481 rm -f conftest.er1
33482 cat conftest.err >&5
33483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33484 (exit $ac_status); } &&
33485 { ac_try='test -z "$ac_c_werror_flag"
33486 || 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 _fpclass declaration" >&5
33521 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
33522 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33523 if test "${glibcxx_cv_func__fpclass_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 _fpclass(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"
33564 || test ! -s conftest.err'
33565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33566 (eval $ac_try) 2>&5
33567 ac_status=$?
33568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33569 (exit $ac_status); }; } &&
33570 { ac_try='test -s conftest.$ac_objext'
33571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33572 (eval $ac_try) 2>&5
33573 ac_status=$?
33574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33575 (exit $ac_status); }; }; then
33576 glibcxx_cv_func__fpclass_use=yes
33577 else
33578 echo "$as_me: failed program was:" >&5
33579 sed 's/^/| /' conftest.$ac_ext >&5
33581 glibcxx_cv_func__fpclass_use=no
33583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33584 ac_ext=c
33585 ac_cpp='$CPP $CPPFLAGS'
33586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33594 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
33595 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
33597 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33599 for ac_func in _fpclass
33601 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33602 echo "$as_me:$LINENO: checking for $ac_func" >&5
33603 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33604 if eval "test \"\${$as_ac_var+set}\" = set"; then
33605 echo $ECHO_N "(cached) $ECHO_C" >&6
33606 else
33607 if test x$gcc_no_link = xyes; then
33608 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33609 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33610 { (exit 1); exit 1; }; }
33612 cat >conftest.$ac_ext <<_ACEOF
33613 /* confdefs.h. */
33614 _ACEOF
33615 cat confdefs.h >>conftest.$ac_ext
33616 cat >>conftest.$ac_ext <<_ACEOF
33617 /* end confdefs.h. */
33618 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33619 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33620 #define $ac_func innocuous_$ac_func
33622 /* System header to define __stub macros and hopefully few prototypes,
33623 which can conflict with char $ac_func (); below.
33624 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33625 <limits.h> exists even on freestanding compilers. */
33627 #ifdef __STDC__
33628 # include <limits.h>
33629 #else
33630 # include <assert.h>
33631 #endif
33633 #undef $ac_func
33635 /* Override any gcc2 internal prototype to avoid an error. */
33636 #ifdef __cplusplus
33637 extern "C"
33639 #endif
33640 /* We use char because int might match the return type of a gcc2
33641 builtin and then its argument prototype would still apply. */
33642 char $ac_func ();
33643 /* The GNU C library defines this for functions which it implements
33644 to always fail with ENOSYS. Some functions are actually named
33645 something starting with __ and the normal name is an alias. */
33646 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33647 choke me
33648 #else
33649 char (*f) () = $ac_func;
33650 #endif
33651 #ifdef __cplusplus
33653 #endif
33656 main ()
33658 return f != $ac_func;
33660 return 0;
33662 _ACEOF
33663 rm -f conftest.$ac_objext conftest$ac_exeext
33664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33665 (eval $ac_link) 2>conftest.er1
33666 ac_status=$?
33667 grep -v '^ *+' conftest.er1 >conftest.err
33668 rm -f conftest.er1
33669 cat conftest.err >&5
33670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33671 (exit $ac_status); } &&
33672 { ac_try='test -z "$ac_c_werror_flag"
33673 || test ! -s conftest.err'
33674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33675 (eval $ac_try) 2>&5
33676 ac_status=$?
33677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33678 (exit $ac_status); }; } &&
33679 { ac_try='test -s conftest$ac_exeext'
33680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33681 (eval $ac_try) 2>&5
33682 ac_status=$?
33683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33684 (exit $ac_status); }; }; then
33685 eval "$as_ac_var=yes"
33686 else
33687 echo "$as_me: failed program was:" >&5
33688 sed 's/^/| /' conftest.$ac_ext >&5
33690 eval "$as_ac_var=no"
33692 rm -f conftest.err conftest.$ac_objext \
33693 conftest$ac_exeext conftest.$ac_ext
33695 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33696 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33697 if test `eval echo '${'$as_ac_var'}'` = yes; then
33698 cat >>confdefs.h <<_ACEOF
33699 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33700 _ACEOF
33703 done
33710 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
33711 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
33712 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33713 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
33714 echo $ECHO_N "(cached) $ECHO_C" >&6
33715 else
33719 ac_ext=cc
33720 ac_cpp='$CXXCPP $CPPFLAGS'
33721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33725 cat >conftest.$ac_ext <<_ACEOF
33726 /* confdefs.h. */
33727 _ACEOF
33728 cat confdefs.h >>conftest.$ac_ext
33729 cat >>conftest.$ac_ext <<_ACEOF
33730 /* end confdefs.h. */
33731 #include <math.h>
33732 #ifdef HAVE_IEEEFP_H
33733 #include <ieeefp.h>
33734 #endif
33737 main ()
33739 qfpclass(0);
33741 return 0;
33743 _ACEOF
33744 rm -f conftest.$ac_objext
33745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33746 (eval $ac_compile) 2>conftest.er1
33747 ac_status=$?
33748 grep -v '^ *+' conftest.er1 >conftest.err
33749 rm -f conftest.er1
33750 cat conftest.err >&5
33751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33752 (exit $ac_status); } &&
33753 { ac_try='test -z "$ac_cxx_werror_flag"
33754 || test ! -s conftest.err'
33755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33756 (eval $ac_try) 2>&5
33757 ac_status=$?
33758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33759 (exit $ac_status); }; } &&
33760 { ac_try='test -s conftest.$ac_objext'
33761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33762 (eval $ac_try) 2>&5
33763 ac_status=$?
33764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33765 (exit $ac_status); }; }; then
33766 glibcxx_cv_func_qfpclass_use=yes
33767 else
33768 echo "$as_me: failed program was:" >&5
33769 sed 's/^/| /' conftest.$ac_ext >&5
33771 glibcxx_cv_func_qfpclass_use=no
33773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33774 ac_ext=c
33775 ac_cpp='$CPP $CPPFLAGS'
33776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33784 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
33785 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
33787 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33789 for ac_func in qfpclass
33791 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33792 echo "$as_me:$LINENO: checking for $ac_func" >&5
33793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33794 if eval "test \"\${$as_ac_var+set}\" = set"; then
33795 echo $ECHO_N "(cached) $ECHO_C" >&6
33796 else
33797 if test x$gcc_no_link = xyes; then
33798 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33800 { (exit 1); exit 1; }; }
33802 cat >conftest.$ac_ext <<_ACEOF
33803 /* confdefs.h. */
33804 _ACEOF
33805 cat confdefs.h >>conftest.$ac_ext
33806 cat >>conftest.$ac_ext <<_ACEOF
33807 /* end confdefs.h. */
33808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33810 #define $ac_func innocuous_$ac_func
33812 /* System header to define __stub macros and hopefully few prototypes,
33813 which can conflict with char $ac_func (); below.
33814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33815 <limits.h> exists even on freestanding compilers. */
33817 #ifdef __STDC__
33818 # include <limits.h>
33819 #else
33820 # include <assert.h>
33821 #endif
33823 #undef $ac_func
33825 /* Override any gcc2 internal prototype to avoid an error. */
33826 #ifdef __cplusplus
33827 extern "C"
33829 #endif
33830 /* We use char because int might match the return type of a gcc2
33831 builtin and then its argument prototype would still apply. */
33832 char $ac_func ();
33833 /* The GNU C library defines this for functions which it implements
33834 to always fail with ENOSYS. Some functions are actually named
33835 something starting with __ and the normal name is an alias. */
33836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33837 choke me
33838 #else
33839 char (*f) () = $ac_func;
33840 #endif
33841 #ifdef __cplusplus
33843 #endif
33846 main ()
33848 return f != $ac_func;
33850 return 0;
33852 _ACEOF
33853 rm -f conftest.$ac_objext conftest$ac_exeext
33854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33855 (eval $ac_link) 2>conftest.er1
33856 ac_status=$?
33857 grep -v '^ *+' conftest.er1 >conftest.err
33858 rm -f conftest.er1
33859 cat conftest.err >&5
33860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33861 (exit $ac_status); } &&
33862 { ac_try='test -z "$ac_c_werror_flag"
33863 || test ! -s conftest.err'
33864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33865 (eval $ac_try) 2>&5
33866 ac_status=$?
33867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33868 (exit $ac_status); }; } &&
33869 { ac_try='test -s conftest$ac_exeext'
33870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33871 (eval $ac_try) 2>&5
33872 ac_status=$?
33873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33874 (exit $ac_status); }; }; then
33875 eval "$as_ac_var=yes"
33876 else
33877 echo "$as_me: failed program was:" >&5
33878 sed 's/^/| /' conftest.$ac_ext >&5
33880 eval "$as_ac_var=no"
33882 rm -f conftest.err conftest.$ac_objext \
33883 conftest$ac_exeext conftest.$ac_ext
33885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33886 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33887 if test `eval echo '${'$as_ac_var'}'` = yes; then
33888 cat >>confdefs.h <<_ACEOF
33889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33890 _ACEOF
33893 done
33895 else
33897 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
33898 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
33899 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33900 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
33901 echo $ECHO_N "(cached) $ECHO_C" >&6
33902 else
33906 ac_ext=cc
33907 ac_cpp='$CXXCPP $CPPFLAGS'
33908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33912 cat >conftest.$ac_ext <<_ACEOF
33913 /* confdefs.h. */
33914 _ACEOF
33915 cat confdefs.h >>conftest.$ac_ext
33916 cat >>conftest.$ac_ext <<_ACEOF
33917 /* end confdefs.h. */
33918 #include <math.h>
33919 #ifdef HAVE_IEEEFP_H
33920 #include <ieeefp.h>
33921 #endif
33924 main ()
33926 _qfpclass(0);
33928 return 0;
33930 _ACEOF
33931 rm -f conftest.$ac_objext
33932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33933 (eval $ac_compile) 2>conftest.er1
33934 ac_status=$?
33935 grep -v '^ *+' conftest.er1 >conftest.err
33936 rm -f conftest.er1
33937 cat conftest.err >&5
33938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33939 (exit $ac_status); } &&
33940 { ac_try='test -z "$ac_cxx_werror_flag"
33941 || test ! -s conftest.err'
33942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33943 (eval $ac_try) 2>&5
33944 ac_status=$?
33945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33946 (exit $ac_status); }; } &&
33947 { ac_try='test -s conftest.$ac_objext'
33948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33949 (eval $ac_try) 2>&5
33950 ac_status=$?
33951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33952 (exit $ac_status); }; }; then
33953 glibcxx_cv_func__qfpclass_use=yes
33954 else
33955 echo "$as_me: failed program was:" >&5
33956 sed 's/^/| /' conftest.$ac_ext >&5
33958 glibcxx_cv_func__qfpclass_use=no
33960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33961 ac_ext=c
33962 ac_cpp='$CPP $CPPFLAGS'
33963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33971 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
33972 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
33974 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
33976 for ac_func in _qfpclass
33978 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33979 echo "$as_me:$LINENO: checking for $ac_func" >&5
33980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33981 if eval "test \"\${$as_ac_var+set}\" = set"; then
33982 echo $ECHO_N "(cached) $ECHO_C" >&6
33983 else
33984 if test x$gcc_no_link = xyes; then
33985 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33987 { (exit 1); exit 1; }; }
33989 cat >conftest.$ac_ext <<_ACEOF
33990 /* confdefs.h. */
33991 _ACEOF
33992 cat confdefs.h >>conftest.$ac_ext
33993 cat >>conftest.$ac_ext <<_ACEOF
33994 /* end confdefs.h. */
33995 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33996 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33997 #define $ac_func innocuous_$ac_func
33999 /* System header to define __stub macros and hopefully few prototypes,
34000 which can conflict with char $ac_func (); below.
34001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34002 <limits.h> exists even on freestanding compilers. */
34004 #ifdef __STDC__
34005 # include <limits.h>
34006 #else
34007 # include <assert.h>
34008 #endif
34010 #undef $ac_func
34012 /* Override any gcc2 internal prototype to avoid an error. */
34013 #ifdef __cplusplus
34014 extern "C"
34016 #endif
34017 /* We use char because int might match the return type of a gcc2
34018 builtin and then its argument prototype would still apply. */
34019 char $ac_func ();
34020 /* The GNU C library defines this for functions which it implements
34021 to always fail with ENOSYS. Some functions are actually named
34022 something starting with __ and the normal name is an alias. */
34023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34024 choke me
34025 #else
34026 char (*f) () = $ac_func;
34027 #endif
34028 #ifdef __cplusplus
34030 #endif
34033 main ()
34035 return f != $ac_func;
34037 return 0;
34039 _ACEOF
34040 rm -f conftest.$ac_objext conftest$ac_exeext
34041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34042 (eval $ac_link) 2>conftest.er1
34043 ac_status=$?
34044 grep -v '^ *+' conftest.er1 >conftest.err
34045 rm -f conftest.er1
34046 cat conftest.err >&5
34047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34048 (exit $ac_status); } &&
34049 { ac_try='test -z "$ac_c_werror_flag"
34050 || test ! -s conftest.err'
34051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34052 (eval $ac_try) 2>&5
34053 ac_status=$?
34054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34055 (exit $ac_status); }; } &&
34056 { ac_try='test -s conftest$ac_exeext'
34057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34058 (eval $ac_try) 2>&5
34059 ac_status=$?
34060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34061 (exit $ac_status); }; }; then
34062 eval "$as_ac_var=yes"
34063 else
34064 echo "$as_me: failed program was:" >&5
34065 sed 's/^/| /' conftest.$ac_ext >&5
34067 eval "$as_ac_var=no"
34069 rm -f conftest.err conftest.$ac_objext \
34070 conftest$ac_exeext conftest.$ac_ext
34072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34074 if test `eval echo '${'$as_ac_var'}'` = yes; then
34075 cat >>confdefs.h <<_ACEOF
34076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34077 _ACEOF
34080 done
34087 echo "$as_me:$LINENO: checking for hypot declaration" >&5
34088 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
34089 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34090 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
34091 echo $ECHO_N "(cached) $ECHO_C" >&6
34092 else
34096 ac_ext=cc
34097 ac_cpp='$CXXCPP $CPPFLAGS'
34098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34102 cat >conftest.$ac_ext <<_ACEOF
34103 /* confdefs.h. */
34104 _ACEOF
34105 cat confdefs.h >>conftest.$ac_ext
34106 cat >>conftest.$ac_ext <<_ACEOF
34107 /* end confdefs.h. */
34108 #include <math.h>
34110 main ()
34112 hypot(0, 0);
34114 return 0;
34116 _ACEOF
34117 rm -f conftest.$ac_objext
34118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34119 (eval $ac_compile) 2>conftest.er1
34120 ac_status=$?
34121 grep -v '^ *+' conftest.er1 >conftest.err
34122 rm -f conftest.er1
34123 cat conftest.err >&5
34124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34125 (exit $ac_status); } &&
34126 { ac_try='test -z "$ac_cxx_werror_flag"
34127 || test ! -s conftest.err'
34128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34129 (eval $ac_try) 2>&5
34130 ac_status=$?
34131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34132 (exit $ac_status); }; } &&
34133 { ac_try='test -s conftest.$ac_objext'
34134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34135 (eval $ac_try) 2>&5
34136 ac_status=$?
34137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34138 (exit $ac_status); }; }; then
34139 glibcxx_cv_func_hypot_use=yes
34140 else
34141 echo "$as_me: failed program was:" >&5
34142 sed 's/^/| /' conftest.$ac_ext >&5
34144 glibcxx_cv_func_hypot_use=no
34146 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34147 ac_ext=c
34148 ac_cpp='$CPP $CPPFLAGS'
34149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34157 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
34158 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
34160 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34162 for ac_func in hypot
34164 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34165 echo "$as_me:$LINENO: checking for $ac_func" >&5
34166 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34167 if eval "test \"\${$as_ac_var+set}\" = set"; then
34168 echo $ECHO_N "(cached) $ECHO_C" >&6
34169 else
34170 if test x$gcc_no_link = xyes; then
34171 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34172 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34173 { (exit 1); exit 1; }; }
34175 cat >conftest.$ac_ext <<_ACEOF
34176 /* confdefs.h. */
34177 _ACEOF
34178 cat confdefs.h >>conftest.$ac_ext
34179 cat >>conftest.$ac_ext <<_ACEOF
34180 /* end confdefs.h. */
34181 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34182 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34183 #define $ac_func innocuous_$ac_func
34185 /* System header to define __stub macros and hopefully few prototypes,
34186 which can conflict with char $ac_func (); below.
34187 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34188 <limits.h> exists even on freestanding compilers. */
34190 #ifdef __STDC__
34191 # include <limits.h>
34192 #else
34193 # include <assert.h>
34194 #endif
34196 #undef $ac_func
34198 /* Override any gcc2 internal prototype to avoid an error. */
34199 #ifdef __cplusplus
34200 extern "C"
34202 #endif
34203 /* We use char because int might match the return type of a gcc2
34204 builtin and then its argument prototype would still apply. */
34205 char $ac_func ();
34206 /* The GNU C library defines this for functions which it implements
34207 to always fail with ENOSYS. Some functions are actually named
34208 something starting with __ and the normal name is an alias. */
34209 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34210 choke me
34211 #else
34212 char (*f) () = $ac_func;
34213 #endif
34214 #ifdef __cplusplus
34216 #endif
34219 main ()
34221 return f != $ac_func;
34223 return 0;
34225 _ACEOF
34226 rm -f conftest.$ac_objext conftest$ac_exeext
34227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34228 (eval $ac_link) 2>conftest.er1
34229 ac_status=$?
34230 grep -v '^ *+' conftest.er1 >conftest.err
34231 rm -f conftest.er1
34232 cat conftest.err >&5
34233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34234 (exit $ac_status); } &&
34235 { ac_try='test -z "$ac_c_werror_flag"
34236 || test ! -s conftest.err'
34237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34238 (eval $ac_try) 2>&5
34239 ac_status=$?
34240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34241 (exit $ac_status); }; } &&
34242 { ac_try='test -s conftest$ac_exeext'
34243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34244 (eval $ac_try) 2>&5
34245 ac_status=$?
34246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34247 (exit $ac_status); }; }; then
34248 eval "$as_ac_var=yes"
34249 else
34250 echo "$as_me: failed program was:" >&5
34251 sed 's/^/| /' conftest.$ac_ext >&5
34253 eval "$as_ac_var=no"
34255 rm -f conftest.err conftest.$ac_objext \
34256 conftest$ac_exeext conftest.$ac_ext
34258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34259 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34260 if test `eval echo '${'$as_ac_var'}'` = yes; then
34261 cat >>confdefs.h <<_ACEOF
34262 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34263 _ACEOF
34266 done
34268 else
34270 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
34271 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
34272 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34273 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
34274 echo $ECHO_N "(cached) $ECHO_C" >&6
34275 else
34279 ac_ext=cc
34280 ac_cpp='$CXXCPP $CPPFLAGS'
34281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34285 cat >conftest.$ac_ext <<_ACEOF
34286 /* confdefs.h. */
34287 _ACEOF
34288 cat confdefs.h >>conftest.$ac_ext
34289 cat >>conftest.$ac_ext <<_ACEOF
34290 /* end confdefs.h. */
34291 #include <math.h>
34293 main ()
34295 _hypot(0, 0);
34297 return 0;
34299 _ACEOF
34300 rm -f conftest.$ac_objext
34301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34302 (eval $ac_compile) 2>conftest.er1
34303 ac_status=$?
34304 grep -v '^ *+' conftest.er1 >conftest.err
34305 rm -f conftest.er1
34306 cat conftest.err >&5
34307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34308 (exit $ac_status); } &&
34309 { ac_try='test -z "$ac_cxx_werror_flag"
34310 || test ! -s conftest.err'
34311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34312 (eval $ac_try) 2>&5
34313 ac_status=$?
34314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34315 (exit $ac_status); }; } &&
34316 { ac_try='test -s conftest.$ac_objext'
34317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34318 (eval $ac_try) 2>&5
34319 ac_status=$?
34320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34321 (exit $ac_status); }; }; then
34322 glibcxx_cv_func__hypot_use=yes
34323 else
34324 echo "$as_me: failed program was:" >&5
34325 sed 's/^/| /' conftest.$ac_ext >&5
34327 glibcxx_cv_func__hypot_use=no
34329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34330 ac_ext=c
34331 ac_cpp='$CPP $CPPFLAGS'
34332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34340 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
34341 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
34343 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34345 for ac_func in _hypot
34347 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34348 echo "$as_me:$LINENO: checking for $ac_func" >&5
34349 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34350 if eval "test \"\${$as_ac_var+set}\" = set"; then
34351 echo $ECHO_N "(cached) $ECHO_C" >&6
34352 else
34353 if test x$gcc_no_link = xyes; then
34354 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34355 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34356 { (exit 1); exit 1; }; }
34358 cat >conftest.$ac_ext <<_ACEOF
34359 /* confdefs.h. */
34360 _ACEOF
34361 cat confdefs.h >>conftest.$ac_ext
34362 cat >>conftest.$ac_ext <<_ACEOF
34363 /* end confdefs.h. */
34364 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34365 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34366 #define $ac_func innocuous_$ac_func
34368 /* System header to define __stub macros and hopefully few prototypes,
34369 which can conflict with char $ac_func (); below.
34370 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34371 <limits.h> exists even on freestanding compilers. */
34373 #ifdef __STDC__
34374 # include <limits.h>
34375 #else
34376 # include <assert.h>
34377 #endif
34379 #undef $ac_func
34381 /* Override any gcc2 internal prototype to avoid an error. */
34382 #ifdef __cplusplus
34383 extern "C"
34385 #endif
34386 /* We use char because int might match the return type of a gcc2
34387 builtin and then its argument prototype would still apply. */
34388 char $ac_func ();
34389 /* The GNU C library defines this for functions which it implements
34390 to always fail with ENOSYS. Some functions are actually named
34391 something starting with __ and the normal name is an alias. */
34392 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34393 choke me
34394 #else
34395 char (*f) () = $ac_func;
34396 #endif
34397 #ifdef __cplusplus
34399 #endif
34402 main ()
34404 return f != $ac_func;
34406 return 0;
34408 _ACEOF
34409 rm -f conftest.$ac_objext conftest$ac_exeext
34410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34411 (eval $ac_link) 2>conftest.er1
34412 ac_status=$?
34413 grep -v '^ *+' conftest.er1 >conftest.err
34414 rm -f conftest.er1
34415 cat conftest.err >&5
34416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34417 (exit $ac_status); } &&
34418 { ac_try='test -z "$ac_c_werror_flag"
34419 || test ! -s conftest.err'
34420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34421 (eval $ac_try) 2>&5
34422 ac_status=$?
34423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34424 (exit $ac_status); }; } &&
34425 { ac_try='test -s conftest$ac_exeext'
34426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34427 (eval $ac_try) 2>&5
34428 ac_status=$?
34429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34430 (exit $ac_status); }; }; then
34431 eval "$as_ac_var=yes"
34432 else
34433 echo "$as_me: failed program was:" >&5
34434 sed 's/^/| /' conftest.$ac_ext >&5
34436 eval "$as_ac_var=no"
34438 rm -f conftest.err conftest.$ac_objext \
34439 conftest$ac_exeext conftest.$ac_ext
34441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34442 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34443 if test `eval echo '${'$as_ac_var'}'` = yes; then
34444 cat >>confdefs.h <<_ACEOF
34445 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34446 _ACEOF
34449 done
34456 echo "$as_me:$LINENO: checking for float trig functions" >&5
34457 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
34458 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
34459 echo $ECHO_N "(cached) $ECHO_C" >&6
34460 else
34464 ac_ext=cc
34465 ac_cpp='$CXXCPP $CPPFLAGS'
34466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34470 cat >conftest.$ac_ext <<_ACEOF
34471 /* confdefs.h. */
34472 _ACEOF
34473 cat confdefs.h >>conftest.$ac_ext
34474 cat >>conftest.$ac_ext <<_ACEOF
34475 /* end confdefs.h. */
34476 #include <math.h>
34478 main ()
34480 `for x in acosf asinf atanf \
34481 cosf sinf tanf \
34482 coshf sinhf tanhf; do echo "$x (0);"; done`
34484 return 0;
34486 _ACEOF
34487 rm -f conftest.$ac_objext
34488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34489 (eval $ac_compile) 2>conftest.er1
34490 ac_status=$?
34491 grep -v '^ *+' conftest.er1 >conftest.err
34492 rm -f conftest.er1
34493 cat conftest.err >&5
34494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34495 (exit $ac_status); } &&
34496 { ac_try='test -z "$ac_cxx_werror_flag"
34497 || test ! -s conftest.err'
34498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34499 (eval $ac_try) 2>&5
34500 ac_status=$?
34501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34502 (exit $ac_status); }; } &&
34503 { ac_try='test -s conftest.$ac_objext'
34504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34505 (eval $ac_try) 2>&5
34506 ac_status=$?
34507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34508 (exit $ac_status); }; }; then
34509 glibcxx_cv_func_float_trig_use=yes
34510 else
34511 echo "$as_me: failed program was:" >&5
34512 sed 's/^/| /' conftest.$ac_ext >&5
34514 glibcxx_cv_func_float_trig_use=no
34516 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34517 ac_ext=c
34518 ac_cpp='$CPP $CPPFLAGS'
34519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34525 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
34526 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
34527 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34537 for ac_func in acosf asinf atanf \
34538 cosf sinf tanf \
34539 coshf sinhf tanhf
34541 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34542 echo "$as_me:$LINENO: checking for $ac_func" >&5
34543 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34544 if eval "test \"\${$as_ac_var+set}\" = set"; then
34545 echo $ECHO_N "(cached) $ECHO_C" >&6
34546 else
34547 if test x$gcc_no_link = xyes; then
34548 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34549 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34550 { (exit 1); exit 1; }; }
34552 cat >conftest.$ac_ext <<_ACEOF
34553 /* confdefs.h. */
34554 _ACEOF
34555 cat confdefs.h >>conftest.$ac_ext
34556 cat >>conftest.$ac_ext <<_ACEOF
34557 /* end confdefs.h. */
34558 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34559 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34560 #define $ac_func innocuous_$ac_func
34562 /* System header to define __stub macros and hopefully few prototypes,
34563 which can conflict with char $ac_func (); below.
34564 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34565 <limits.h> exists even on freestanding compilers. */
34567 #ifdef __STDC__
34568 # include <limits.h>
34569 #else
34570 # include <assert.h>
34571 #endif
34573 #undef $ac_func
34575 /* Override any gcc2 internal prototype to avoid an error. */
34576 #ifdef __cplusplus
34577 extern "C"
34579 #endif
34580 /* We use char because int might match the return type of a gcc2
34581 builtin and then its argument prototype would still apply. */
34582 char $ac_func ();
34583 /* The GNU C library defines this for functions which it implements
34584 to always fail with ENOSYS. Some functions are actually named
34585 something starting with __ and the normal name is an alias. */
34586 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34587 choke me
34588 #else
34589 char (*f) () = $ac_func;
34590 #endif
34591 #ifdef __cplusplus
34593 #endif
34596 main ()
34598 return f != $ac_func;
34600 return 0;
34602 _ACEOF
34603 rm -f conftest.$ac_objext conftest$ac_exeext
34604 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34605 (eval $ac_link) 2>conftest.er1
34606 ac_status=$?
34607 grep -v '^ *+' conftest.er1 >conftest.err
34608 rm -f conftest.er1
34609 cat conftest.err >&5
34610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34611 (exit $ac_status); } &&
34612 { ac_try='test -z "$ac_c_werror_flag"
34613 || test ! -s conftest.err'
34614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34615 (eval $ac_try) 2>&5
34616 ac_status=$?
34617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34618 (exit $ac_status); }; } &&
34619 { ac_try='test -s conftest$ac_exeext'
34620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34621 (eval $ac_try) 2>&5
34622 ac_status=$?
34623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34624 (exit $ac_status); }; }; then
34625 eval "$as_ac_var=yes"
34626 else
34627 echo "$as_me: failed program was:" >&5
34628 sed 's/^/| /' conftest.$ac_ext >&5
34630 eval "$as_ac_var=no"
34632 rm -f conftest.err conftest.$ac_objext \
34633 conftest$ac_exeext conftest.$ac_ext
34635 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34636 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34637 if test `eval echo '${'$as_ac_var'}'` = yes; then
34638 cat >>confdefs.h <<_ACEOF
34639 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34640 _ACEOF
34643 done
34648 echo "$as_me:$LINENO: checking for float round functions" >&5
34649 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
34650 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
34651 echo $ECHO_N "(cached) $ECHO_C" >&6
34652 else
34656 ac_ext=cc
34657 ac_cpp='$CXXCPP $CPPFLAGS'
34658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34662 cat >conftest.$ac_ext <<_ACEOF
34663 /* confdefs.h. */
34664 _ACEOF
34665 cat confdefs.h >>conftest.$ac_ext
34666 cat >>conftest.$ac_ext <<_ACEOF
34667 /* end confdefs.h. */
34668 #include <math.h>
34670 main ()
34672 `for x in ceilf floorf; do echo "$x (0);"; done`
34674 return 0;
34676 _ACEOF
34677 rm -f conftest.$ac_objext
34678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34679 (eval $ac_compile) 2>conftest.er1
34680 ac_status=$?
34681 grep -v '^ *+' conftest.er1 >conftest.err
34682 rm -f conftest.er1
34683 cat conftest.err >&5
34684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34685 (exit $ac_status); } &&
34686 { ac_try='test -z "$ac_cxx_werror_flag"
34687 || test ! -s conftest.err'
34688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34689 (eval $ac_try) 2>&5
34690 ac_status=$?
34691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34692 (exit $ac_status); }; } &&
34693 { ac_try='test -s conftest.$ac_objext'
34694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34695 (eval $ac_try) 2>&5
34696 ac_status=$?
34697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34698 (exit $ac_status); }; }; then
34699 glibcxx_cv_func_float_round_use=yes
34700 else
34701 echo "$as_me: failed program was:" >&5
34702 sed 's/^/| /' conftest.$ac_ext >&5
34704 glibcxx_cv_func_float_round_use=no
34706 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34707 ac_ext=c
34708 ac_cpp='$CPP $CPPFLAGS'
34709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34715 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
34716 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
34717 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34720 for ac_func in ceilf floorf
34722 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34723 echo "$as_me:$LINENO: checking for $ac_func" >&5
34724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34725 if eval "test \"\${$as_ac_var+set}\" = set"; then
34726 echo $ECHO_N "(cached) $ECHO_C" >&6
34727 else
34728 if test x$gcc_no_link = xyes; then
34729 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34730 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34731 { (exit 1); exit 1; }; }
34733 cat >conftest.$ac_ext <<_ACEOF
34734 /* confdefs.h. */
34735 _ACEOF
34736 cat confdefs.h >>conftest.$ac_ext
34737 cat >>conftest.$ac_ext <<_ACEOF
34738 /* end confdefs.h. */
34739 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34740 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34741 #define $ac_func innocuous_$ac_func
34743 /* System header to define __stub macros and hopefully few prototypes,
34744 which can conflict with char $ac_func (); below.
34745 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34746 <limits.h> exists even on freestanding compilers. */
34748 #ifdef __STDC__
34749 # include <limits.h>
34750 #else
34751 # include <assert.h>
34752 #endif
34754 #undef $ac_func
34756 /* Override any gcc2 internal prototype to avoid an error. */
34757 #ifdef __cplusplus
34758 extern "C"
34760 #endif
34761 /* We use char because int might match the return type of a gcc2
34762 builtin and then its argument prototype would still apply. */
34763 char $ac_func ();
34764 /* The GNU C library defines this for functions which it implements
34765 to always fail with ENOSYS. Some functions are actually named
34766 something starting with __ and the normal name is an alias. */
34767 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34768 choke me
34769 #else
34770 char (*f) () = $ac_func;
34771 #endif
34772 #ifdef __cplusplus
34774 #endif
34777 main ()
34779 return f != $ac_func;
34781 return 0;
34783 _ACEOF
34784 rm -f conftest.$ac_objext conftest$ac_exeext
34785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34786 (eval $ac_link) 2>conftest.er1
34787 ac_status=$?
34788 grep -v '^ *+' conftest.er1 >conftest.err
34789 rm -f conftest.er1
34790 cat conftest.err >&5
34791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34792 (exit $ac_status); } &&
34793 { ac_try='test -z "$ac_c_werror_flag"
34794 || test ! -s conftest.err'
34795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34796 (eval $ac_try) 2>&5
34797 ac_status=$?
34798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34799 (exit $ac_status); }; } &&
34800 { ac_try='test -s conftest$ac_exeext'
34801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34802 (eval $ac_try) 2>&5
34803 ac_status=$?
34804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34805 (exit $ac_status); }; }; then
34806 eval "$as_ac_var=yes"
34807 else
34808 echo "$as_me: failed program was:" >&5
34809 sed 's/^/| /' conftest.$ac_ext >&5
34811 eval "$as_ac_var=no"
34813 rm -f conftest.err conftest.$ac_objext \
34814 conftest$ac_exeext conftest.$ac_ext
34816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34817 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34818 if test `eval echo '${'$as_ac_var'}'` = yes; then
34819 cat >>confdefs.h <<_ACEOF
34820 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34821 _ACEOF
34824 done
34830 echo "$as_me:$LINENO: checking for expf declaration" >&5
34831 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
34832 if test x${glibcxx_cv_func_expf_use+set} != xset; then
34833 if test "${glibcxx_cv_func_expf_use+set}" = set; then
34834 echo $ECHO_N "(cached) $ECHO_C" >&6
34835 else
34839 ac_ext=cc
34840 ac_cpp='$CXXCPP $CPPFLAGS'
34841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34845 cat >conftest.$ac_ext <<_ACEOF
34846 /* confdefs.h. */
34847 _ACEOF
34848 cat confdefs.h >>conftest.$ac_ext
34849 cat >>conftest.$ac_ext <<_ACEOF
34850 /* end confdefs.h. */
34851 #include <math.h>
34852 #ifdef HAVE_IEEEFP_H
34853 #include <ieeefp.h>
34854 #endif
34857 main ()
34859 expf(0);
34861 return 0;
34863 _ACEOF
34864 rm -f conftest.$ac_objext
34865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34866 (eval $ac_compile) 2>conftest.er1
34867 ac_status=$?
34868 grep -v '^ *+' conftest.er1 >conftest.err
34869 rm -f conftest.er1
34870 cat conftest.err >&5
34871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34872 (exit $ac_status); } &&
34873 { ac_try='test -z "$ac_cxx_werror_flag"
34874 || test ! -s conftest.err'
34875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34876 (eval $ac_try) 2>&5
34877 ac_status=$?
34878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34879 (exit $ac_status); }; } &&
34880 { ac_try='test -s conftest.$ac_objext'
34881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34882 (eval $ac_try) 2>&5
34883 ac_status=$?
34884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34885 (exit $ac_status); }; }; then
34886 glibcxx_cv_func_expf_use=yes
34887 else
34888 echo "$as_me: failed program was:" >&5
34889 sed 's/^/| /' conftest.$ac_ext >&5
34891 glibcxx_cv_func_expf_use=no
34893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34894 ac_ext=c
34895 ac_cpp='$CPP $CPPFLAGS'
34896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34904 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
34905 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
34907 if test x$glibcxx_cv_func_expf_use = x"yes"; then
34909 for ac_func in expf
34911 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34912 echo "$as_me:$LINENO: checking for $ac_func" >&5
34913 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34914 if eval "test \"\${$as_ac_var+set}\" = set"; then
34915 echo $ECHO_N "(cached) $ECHO_C" >&6
34916 else
34917 if test x$gcc_no_link = xyes; then
34918 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34919 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34920 { (exit 1); exit 1; }; }
34922 cat >conftest.$ac_ext <<_ACEOF
34923 /* confdefs.h. */
34924 _ACEOF
34925 cat confdefs.h >>conftest.$ac_ext
34926 cat >>conftest.$ac_ext <<_ACEOF
34927 /* end confdefs.h. */
34928 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34929 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34930 #define $ac_func innocuous_$ac_func
34932 /* System header to define __stub macros and hopefully few prototypes,
34933 which can conflict with char $ac_func (); below.
34934 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34935 <limits.h> exists even on freestanding compilers. */
34937 #ifdef __STDC__
34938 # include <limits.h>
34939 #else
34940 # include <assert.h>
34941 #endif
34943 #undef $ac_func
34945 /* Override any gcc2 internal prototype to avoid an error. */
34946 #ifdef __cplusplus
34947 extern "C"
34949 #endif
34950 /* We use char because int might match the return type of a gcc2
34951 builtin and then its argument prototype would still apply. */
34952 char $ac_func ();
34953 /* The GNU C library defines this for functions which it implements
34954 to always fail with ENOSYS. Some functions are actually named
34955 something starting with __ and the normal name is an alias. */
34956 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34957 choke me
34958 #else
34959 char (*f) () = $ac_func;
34960 #endif
34961 #ifdef __cplusplus
34963 #endif
34966 main ()
34968 return f != $ac_func;
34970 return 0;
34972 _ACEOF
34973 rm -f conftest.$ac_objext conftest$ac_exeext
34974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34975 (eval $ac_link) 2>conftest.er1
34976 ac_status=$?
34977 grep -v '^ *+' conftest.er1 >conftest.err
34978 rm -f conftest.er1
34979 cat conftest.err >&5
34980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34981 (exit $ac_status); } &&
34982 { ac_try='test -z "$ac_c_werror_flag"
34983 || test ! -s conftest.err'
34984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34985 (eval $ac_try) 2>&5
34986 ac_status=$?
34987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34988 (exit $ac_status); }; } &&
34989 { ac_try='test -s conftest$ac_exeext'
34990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34991 (eval $ac_try) 2>&5
34992 ac_status=$?
34993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34994 (exit $ac_status); }; }; then
34995 eval "$as_ac_var=yes"
34996 else
34997 echo "$as_me: failed program was:" >&5
34998 sed 's/^/| /' conftest.$ac_ext >&5
35000 eval "$as_ac_var=no"
35002 rm -f conftest.err conftest.$ac_objext \
35003 conftest$ac_exeext conftest.$ac_ext
35005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35006 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35007 if test `eval echo '${'$as_ac_var'}'` = yes; then
35008 cat >>confdefs.h <<_ACEOF
35009 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35010 _ACEOF
35013 done
35015 else
35017 echo "$as_me:$LINENO: checking for _expf declaration" >&5
35018 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
35019 if test x${glibcxx_cv_func__expf_use+set} != xset; then
35020 if test "${glibcxx_cv_func__expf_use+set}" = set; then
35021 echo $ECHO_N "(cached) $ECHO_C" >&6
35022 else
35026 ac_ext=cc
35027 ac_cpp='$CXXCPP $CPPFLAGS'
35028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35032 cat >conftest.$ac_ext <<_ACEOF
35033 /* confdefs.h. */
35034 _ACEOF
35035 cat confdefs.h >>conftest.$ac_ext
35036 cat >>conftest.$ac_ext <<_ACEOF
35037 /* end confdefs.h. */
35038 #include <math.h>
35039 #ifdef HAVE_IEEEFP_H
35040 #include <ieeefp.h>
35041 #endif
35044 main ()
35046 _expf(0);
35048 return 0;
35050 _ACEOF
35051 rm -f conftest.$ac_objext
35052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35053 (eval $ac_compile) 2>conftest.er1
35054 ac_status=$?
35055 grep -v '^ *+' conftest.er1 >conftest.err
35056 rm -f conftest.er1
35057 cat conftest.err >&5
35058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35059 (exit $ac_status); } &&
35060 { ac_try='test -z "$ac_cxx_werror_flag"
35061 || test ! -s conftest.err'
35062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35063 (eval $ac_try) 2>&5
35064 ac_status=$?
35065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35066 (exit $ac_status); }; } &&
35067 { ac_try='test -s conftest.$ac_objext'
35068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35069 (eval $ac_try) 2>&5
35070 ac_status=$?
35071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35072 (exit $ac_status); }; }; then
35073 glibcxx_cv_func__expf_use=yes
35074 else
35075 echo "$as_me: failed program was:" >&5
35076 sed 's/^/| /' conftest.$ac_ext >&5
35078 glibcxx_cv_func__expf_use=no
35080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35081 ac_ext=c
35082 ac_cpp='$CPP $CPPFLAGS'
35083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35091 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
35092 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
35094 if test x$glibcxx_cv_func__expf_use = x"yes"; then
35096 for ac_func in _expf
35098 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35099 echo "$as_me:$LINENO: checking for $ac_func" >&5
35100 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35101 if eval "test \"\${$as_ac_var+set}\" = set"; then
35102 echo $ECHO_N "(cached) $ECHO_C" >&6
35103 else
35104 if test x$gcc_no_link = xyes; then
35105 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35107 { (exit 1); exit 1; }; }
35109 cat >conftest.$ac_ext <<_ACEOF
35110 /* confdefs.h. */
35111 _ACEOF
35112 cat confdefs.h >>conftest.$ac_ext
35113 cat >>conftest.$ac_ext <<_ACEOF
35114 /* end confdefs.h. */
35115 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35116 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35117 #define $ac_func innocuous_$ac_func
35119 /* System header to define __stub macros and hopefully few prototypes,
35120 which can conflict with char $ac_func (); below.
35121 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35122 <limits.h> exists even on freestanding compilers. */
35124 #ifdef __STDC__
35125 # include <limits.h>
35126 #else
35127 # include <assert.h>
35128 #endif
35130 #undef $ac_func
35132 /* Override any gcc2 internal prototype to avoid an error. */
35133 #ifdef __cplusplus
35134 extern "C"
35136 #endif
35137 /* We use char because int might match the return type of a gcc2
35138 builtin and then its argument prototype would still apply. */
35139 char $ac_func ();
35140 /* The GNU C library defines this for functions which it implements
35141 to always fail with ENOSYS. Some functions are actually named
35142 something starting with __ and the normal name is an alias. */
35143 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35144 choke me
35145 #else
35146 char (*f) () = $ac_func;
35147 #endif
35148 #ifdef __cplusplus
35150 #endif
35153 main ()
35155 return f != $ac_func;
35157 return 0;
35159 _ACEOF
35160 rm -f conftest.$ac_objext conftest$ac_exeext
35161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35162 (eval $ac_link) 2>conftest.er1
35163 ac_status=$?
35164 grep -v '^ *+' conftest.er1 >conftest.err
35165 rm -f conftest.er1
35166 cat conftest.err >&5
35167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35168 (exit $ac_status); } &&
35169 { ac_try='test -z "$ac_c_werror_flag"
35170 || test ! -s conftest.err'
35171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35172 (eval $ac_try) 2>&5
35173 ac_status=$?
35174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35175 (exit $ac_status); }; } &&
35176 { ac_try='test -s conftest$ac_exeext'
35177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35178 (eval $ac_try) 2>&5
35179 ac_status=$?
35180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35181 (exit $ac_status); }; }; then
35182 eval "$as_ac_var=yes"
35183 else
35184 echo "$as_me: failed program was:" >&5
35185 sed 's/^/| /' conftest.$ac_ext >&5
35187 eval "$as_ac_var=no"
35189 rm -f conftest.err conftest.$ac_objext \
35190 conftest$ac_exeext conftest.$ac_ext
35192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35193 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35194 if test `eval echo '${'$as_ac_var'}'` = yes; then
35195 cat >>confdefs.h <<_ACEOF
35196 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35197 _ACEOF
35200 done
35207 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
35208 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
35209 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
35210 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
35211 echo $ECHO_N "(cached) $ECHO_C" >&6
35212 else
35216 ac_ext=cc
35217 ac_cpp='$CXXCPP $CPPFLAGS'
35218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35222 cat >conftest.$ac_ext <<_ACEOF
35223 /* confdefs.h. */
35224 _ACEOF
35225 cat confdefs.h >>conftest.$ac_ext
35226 cat >>conftest.$ac_ext <<_ACEOF
35227 /* end confdefs.h. */
35228 #include <math.h>
35229 #ifdef HAVE_IEEEFP_H
35230 #include <ieeefp.h>
35231 #endif
35234 main ()
35236 isnanf(0);
35238 return 0;
35240 _ACEOF
35241 rm -f conftest.$ac_objext
35242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35243 (eval $ac_compile) 2>conftest.er1
35244 ac_status=$?
35245 grep -v '^ *+' conftest.er1 >conftest.err
35246 rm -f conftest.er1
35247 cat conftest.err >&5
35248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35249 (exit $ac_status); } &&
35250 { ac_try='test -z "$ac_cxx_werror_flag"
35251 || test ! -s conftest.err'
35252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35253 (eval $ac_try) 2>&5
35254 ac_status=$?
35255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35256 (exit $ac_status); }; } &&
35257 { ac_try='test -s conftest.$ac_objext'
35258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35259 (eval $ac_try) 2>&5
35260 ac_status=$?
35261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35262 (exit $ac_status); }; }; then
35263 glibcxx_cv_func_isnanf_use=yes
35264 else
35265 echo "$as_me: failed program was:" >&5
35266 sed 's/^/| /' conftest.$ac_ext >&5
35268 glibcxx_cv_func_isnanf_use=no
35270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35271 ac_ext=c
35272 ac_cpp='$CPP $CPPFLAGS'
35273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35281 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
35282 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
35284 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
35286 for ac_func in isnanf
35288 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35289 echo "$as_me:$LINENO: checking for $ac_func" >&5
35290 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35291 if eval "test \"\${$as_ac_var+set}\" = set"; then
35292 echo $ECHO_N "(cached) $ECHO_C" >&6
35293 else
35294 if test x$gcc_no_link = xyes; then
35295 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35296 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35297 { (exit 1); exit 1; }; }
35299 cat >conftest.$ac_ext <<_ACEOF
35300 /* confdefs.h. */
35301 _ACEOF
35302 cat confdefs.h >>conftest.$ac_ext
35303 cat >>conftest.$ac_ext <<_ACEOF
35304 /* end confdefs.h. */
35305 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35306 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35307 #define $ac_func innocuous_$ac_func
35309 /* System header to define __stub macros and hopefully few prototypes,
35310 which can conflict with char $ac_func (); below.
35311 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35312 <limits.h> exists even on freestanding compilers. */
35314 #ifdef __STDC__
35315 # include <limits.h>
35316 #else
35317 # include <assert.h>
35318 #endif
35320 #undef $ac_func
35322 /* Override any gcc2 internal prototype to avoid an error. */
35323 #ifdef __cplusplus
35324 extern "C"
35326 #endif
35327 /* We use char because int might match the return type of a gcc2
35328 builtin and then its argument prototype would still apply. */
35329 char $ac_func ();
35330 /* The GNU C library defines this for functions which it implements
35331 to always fail with ENOSYS. Some functions are actually named
35332 something starting with __ and the normal name is an alias. */
35333 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35334 choke me
35335 #else
35336 char (*f) () = $ac_func;
35337 #endif
35338 #ifdef __cplusplus
35340 #endif
35343 main ()
35345 return f != $ac_func;
35347 return 0;
35349 _ACEOF
35350 rm -f conftest.$ac_objext conftest$ac_exeext
35351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35352 (eval $ac_link) 2>conftest.er1
35353 ac_status=$?
35354 grep -v '^ *+' conftest.er1 >conftest.err
35355 rm -f conftest.er1
35356 cat conftest.err >&5
35357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35358 (exit $ac_status); } &&
35359 { ac_try='test -z "$ac_c_werror_flag"
35360 || test ! -s conftest.err'
35361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35362 (eval $ac_try) 2>&5
35363 ac_status=$?
35364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35365 (exit $ac_status); }; } &&
35366 { ac_try='test -s conftest$ac_exeext'
35367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35368 (eval $ac_try) 2>&5
35369 ac_status=$?
35370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35371 (exit $ac_status); }; }; then
35372 eval "$as_ac_var=yes"
35373 else
35374 echo "$as_me: failed program was:" >&5
35375 sed 's/^/| /' conftest.$ac_ext >&5
35377 eval "$as_ac_var=no"
35379 rm -f conftest.err conftest.$ac_objext \
35380 conftest$ac_exeext conftest.$ac_ext
35382 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35383 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35384 if test `eval echo '${'$as_ac_var'}'` = yes; then
35385 cat >>confdefs.h <<_ACEOF
35386 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35387 _ACEOF
35390 done
35392 else
35394 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
35395 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
35396 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35397 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
35398 echo $ECHO_N "(cached) $ECHO_C" >&6
35399 else
35403 ac_ext=cc
35404 ac_cpp='$CXXCPP $CPPFLAGS'
35405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35409 cat >conftest.$ac_ext <<_ACEOF
35410 /* confdefs.h. */
35411 _ACEOF
35412 cat confdefs.h >>conftest.$ac_ext
35413 cat >>conftest.$ac_ext <<_ACEOF
35414 /* end confdefs.h. */
35415 #include <math.h>
35416 #ifdef HAVE_IEEEFP_H
35417 #include <ieeefp.h>
35418 #endif
35421 main ()
35423 _isnanf(0);
35425 return 0;
35427 _ACEOF
35428 rm -f conftest.$ac_objext
35429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35430 (eval $ac_compile) 2>conftest.er1
35431 ac_status=$?
35432 grep -v '^ *+' conftest.er1 >conftest.err
35433 rm -f conftest.er1
35434 cat conftest.err >&5
35435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35436 (exit $ac_status); } &&
35437 { ac_try='test -z "$ac_cxx_werror_flag"
35438 || test ! -s conftest.err'
35439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35440 (eval $ac_try) 2>&5
35441 ac_status=$?
35442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35443 (exit $ac_status); }; } &&
35444 { ac_try='test -s conftest.$ac_objext'
35445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35446 (eval $ac_try) 2>&5
35447 ac_status=$?
35448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35449 (exit $ac_status); }; }; then
35450 glibcxx_cv_func__isnanf_use=yes
35451 else
35452 echo "$as_me: failed program was:" >&5
35453 sed 's/^/| /' conftest.$ac_ext >&5
35455 glibcxx_cv_func__isnanf_use=no
35457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35458 ac_ext=c
35459 ac_cpp='$CPP $CPPFLAGS'
35460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35468 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
35469 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
35471 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35473 for ac_func in _isnanf
35475 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35476 echo "$as_me:$LINENO: checking for $ac_func" >&5
35477 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35478 if eval "test \"\${$as_ac_var+set}\" = set"; then
35479 echo $ECHO_N "(cached) $ECHO_C" >&6
35480 else
35481 if test x$gcc_no_link = xyes; then
35482 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35483 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35484 { (exit 1); exit 1; }; }
35486 cat >conftest.$ac_ext <<_ACEOF
35487 /* confdefs.h. */
35488 _ACEOF
35489 cat confdefs.h >>conftest.$ac_ext
35490 cat >>conftest.$ac_ext <<_ACEOF
35491 /* end confdefs.h. */
35492 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35493 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35494 #define $ac_func innocuous_$ac_func
35496 /* System header to define __stub macros and hopefully few prototypes,
35497 which can conflict with char $ac_func (); below.
35498 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35499 <limits.h> exists even on freestanding compilers. */
35501 #ifdef __STDC__
35502 # include <limits.h>
35503 #else
35504 # include <assert.h>
35505 #endif
35507 #undef $ac_func
35509 /* Override any gcc2 internal prototype to avoid an error. */
35510 #ifdef __cplusplus
35511 extern "C"
35513 #endif
35514 /* We use char because int might match the return type of a gcc2
35515 builtin and then its argument prototype would still apply. */
35516 char $ac_func ();
35517 /* The GNU C library defines this for functions which it implements
35518 to always fail with ENOSYS. Some functions are actually named
35519 something starting with __ and the normal name is an alias. */
35520 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35521 choke me
35522 #else
35523 char (*f) () = $ac_func;
35524 #endif
35525 #ifdef __cplusplus
35527 #endif
35530 main ()
35532 return f != $ac_func;
35534 return 0;
35536 _ACEOF
35537 rm -f conftest.$ac_objext conftest$ac_exeext
35538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35539 (eval $ac_link) 2>conftest.er1
35540 ac_status=$?
35541 grep -v '^ *+' conftest.er1 >conftest.err
35542 rm -f conftest.er1
35543 cat conftest.err >&5
35544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35545 (exit $ac_status); } &&
35546 { ac_try='test -z "$ac_c_werror_flag"
35547 || test ! -s conftest.err'
35548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35549 (eval $ac_try) 2>&5
35550 ac_status=$?
35551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35552 (exit $ac_status); }; } &&
35553 { ac_try='test -s conftest$ac_exeext'
35554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35555 (eval $ac_try) 2>&5
35556 ac_status=$?
35557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35558 (exit $ac_status); }; }; then
35559 eval "$as_ac_var=yes"
35560 else
35561 echo "$as_me: failed program was:" >&5
35562 sed 's/^/| /' conftest.$ac_ext >&5
35564 eval "$as_ac_var=no"
35566 rm -f conftest.err conftest.$ac_objext \
35567 conftest$ac_exeext conftest.$ac_ext
35569 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35570 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35571 if test `eval echo '${'$as_ac_var'}'` = yes; then
35572 cat >>confdefs.h <<_ACEOF
35573 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35574 _ACEOF
35577 done
35584 echo "$as_me:$LINENO: checking for isinff declaration" >&5
35585 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
35586 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35587 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
35588 echo $ECHO_N "(cached) $ECHO_C" >&6
35589 else
35593 ac_ext=cc
35594 ac_cpp='$CXXCPP $CPPFLAGS'
35595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35599 cat >conftest.$ac_ext <<_ACEOF
35600 /* confdefs.h. */
35601 _ACEOF
35602 cat confdefs.h >>conftest.$ac_ext
35603 cat >>conftest.$ac_ext <<_ACEOF
35604 /* end confdefs.h. */
35605 #include <math.h>
35606 #ifdef HAVE_IEEEFP_H
35607 #include <ieeefp.h>
35608 #endif
35611 main ()
35613 isinff(0);
35615 return 0;
35617 _ACEOF
35618 rm -f conftest.$ac_objext
35619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35620 (eval $ac_compile) 2>conftest.er1
35621 ac_status=$?
35622 grep -v '^ *+' conftest.er1 >conftest.err
35623 rm -f conftest.er1
35624 cat conftest.err >&5
35625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35626 (exit $ac_status); } &&
35627 { ac_try='test -z "$ac_cxx_werror_flag"
35628 || test ! -s conftest.err'
35629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35630 (eval $ac_try) 2>&5
35631 ac_status=$?
35632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35633 (exit $ac_status); }; } &&
35634 { ac_try='test -s conftest.$ac_objext'
35635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35636 (eval $ac_try) 2>&5
35637 ac_status=$?
35638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35639 (exit $ac_status); }; }; then
35640 glibcxx_cv_func_isinff_use=yes
35641 else
35642 echo "$as_me: failed program was:" >&5
35643 sed 's/^/| /' conftest.$ac_ext >&5
35645 glibcxx_cv_func_isinff_use=no
35647 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35648 ac_ext=c
35649 ac_cpp='$CPP $CPPFLAGS'
35650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35658 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
35659 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
35661 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35663 for ac_func in isinff
35665 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35666 echo "$as_me:$LINENO: checking for $ac_func" >&5
35667 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35668 if eval "test \"\${$as_ac_var+set}\" = set"; then
35669 echo $ECHO_N "(cached) $ECHO_C" >&6
35670 else
35671 if test x$gcc_no_link = xyes; then
35672 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35673 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35674 { (exit 1); exit 1; }; }
35676 cat >conftest.$ac_ext <<_ACEOF
35677 /* confdefs.h. */
35678 _ACEOF
35679 cat confdefs.h >>conftest.$ac_ext
35680 cat >>conftest.$ac_ext <<_ACEOF
35681 /* end confdefs.h. */
35682 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35683 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35684 #define $ac_func innocuous_$ac_func
35686 /* System header to define __stub macros and hopefully few prototypes,
35687 which can conflict with char $ac_func (); below.
35688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35689 <limits.h> exists even on freestanding compilers. */
35691 #ifdef __STDC__
35692 # include <limits.h>
35693 #else
35694 # include <assert.h>
35695 #endif
35697 #undef $ac_func
35699 /* Override any gcc2 internal prototype to avoid an error. */
35700 #ifdef __cplusplus
35701 extern "C"
35703 #endif
35704 /* We use char because int might match the return type of a gcc2
35705 builtin and then its argument prototype would still apply. */
35706 char $ac_func ();
35707 /* The GNU C library defines this for functions which it implements
35708 to always fail with ENOSYS. Some functions are actually named
35709 something starting with __ and the normal name is an alias. */
35710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35711 choke me
35712 #else
35713 char (*f) () = $ac_func;
35714 #endif
35715 #ifdef __cplusplus
35717 #endif
35720 main ()
35722 return f != $ac_func;
35724 return 0;
35726 _ACEOF
35727 rm -f conftest.$ac_objext conftest$ac_exeext
35728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35729 (eval $ac_link) 2>conftest.er1
35730 ac_status=$?
35731 grep -v '^ *+' conftest.er1 >conftest.err
35732 rm -f conftest.er1
35733 cat conftest.err >&5
35734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35735 (exit $ac_status); } &&
35736 { ac_try='test -z "$ac_c_werror_flag"
35737 || test ! -s conftest.err'
35738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35739 (eval $ac_try) 2>&5
35740 ac_status=$?
35741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35742 (exit $ac_status); }; } &&
35743 { ac_try='test -s conftest$ac_exeext'
35744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35745 (eval $ac_try) 2>&5
35746 ac_status=$?
35747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35748 (exit $ac_status); }; }; then
35749 eval "$as_ac_var=yes"
35750 else
35751 echo "$as_me: failed program was:" >&5
35752 sed 's/^/| /' conftest.$ac_ext >&5
35754 eval "$as_ac_var=no"
35756 rm -f conftest.err conftest.$ac_objext \
35757 conftest$ac_exeext conftest.$ac_ext
35759 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35760 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35761 if test `eval echo '${'$as_ac_var'}'` = yes; then
35762 cat >>confdefs.h <<_ACEOF
35763 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35764 _ACEOF
35767 done
35769 else
35771 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
35772 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
35773 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
35774 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
35775 echo $ECHO_N "(cached) $ECHO_C" >&6
35776 else
35780 ac_ext=cc
35781 ac_cpp='$CXXCPP $CPPFLAGS'
35782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35786 cat >conftest.$ac_ext <<_ACEOF
35787 /* confdefs.h. */
35788 _ACEOF
35789 cat confdefs.h >>conftest.$ac_ext
35790 cat >>conftest.$ac_ext <<_ACEOF
35791 /* end confdefs.h. */
35792 #include <math.h>
35793 #ifdef HAVE_IEEEFP_H
35794 #include <ieeefp.h>
35795 #endif
35798 main ()
35800 _isinff(0);
35802 return 0;
35804 _ACEOF
35805 rm -f conftest.$ac_objext
35806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35807 (eval $ac_compile) 2>conftest.er1
35808 ac_status=$?
35809 grep -v '^ *+' conftest.er1 >conftest.err
35810 rm -f conftest.er1
35811 cat conftest.err >&5
35812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35813 (exit $ac_status); } &&
35814 { ac_try='test -z "$ac_cxx_werror_flag"
35815 || test ! -s conftest.err'
35816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35817 (eval $ac_try) 2>&5
35818 ac_status=$?
35819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35820 (exit $ac_status); }; } &&
35821 { ac_try='test -s conftest.$ac_objext'
35822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35823 (eval $ac_try) 2>&5
35824 ac_status=$?
35825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35826 (exit $ac_status); }; }; then
35827 glibcxx_cv_func__isinff_use=yes
35828 else
35829 echo "$as_me: failed program was:" >&5
35830 sed 's/^/| /' conftest.$ac_ext >&5
35832 glibcxx_cv_func__isinff_use=no
35834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35835 ac_ext=c
35836 ac_cpp='$CPP $CPPFLAGS'
35837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35845 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
35846 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
35848 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
35850 for ac_func in _isinff
35852 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35853 echo "$as_me:$LINENO: checking for $ac_func" >&5
35854 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35855 if eval "test \"\${$as_ac_var+set}\" = set"; then
35856 echo $ECHO_N "(cached) $ECHO_C" >&6
35857 else
35858 if test x$gcc_no_link = xyes; then
35859 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35860 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35861 { (exit 1); exit 1; }; }
35863 cat >conftest.$ac_ext <<_ACEOF
35864 /* confdefs.h. */
35865 _ACEOF
35866 cat confdefs.h >>conftest.$ac_ext
35867 cat >>conftest.$ac_ext <<_ACEOF
35868 /* end confdefs.h. */
35869 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35870 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35871 #define $ac_func innocuous_$ac_func
35873 /* System header to define __stub macros and hopefully few prototypes,
35874 which can conflict with char $ac_func (); below.
35875 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35876 <limits.h> exists even on freestanding compilers. */
35878 #ifdef __STDC__
35879 # include <limits.h>
35880 #else
35881 # include <assert.h>
35882 #endif
35884 #undef $ac_func
35886 /* Override any gcc2 internal prototype to avoid an error. */
35887 #ifdef __cplusplus
35888 extern "C"
35890 #endif
35891 /* We use char because int might match the return type of a gcc2
35892 builtin and then its argument prototype would still apply. */
35893 char $ac_func ();
35894 /* The GNU C library defines this for functions which it implements
35895 to always fail with ENOSYS. Some functions are actually named
35896 something starting with __ and the normal name is an alias. */
35897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35898 choke me
35899 #else
35900 char (*f) () = $ac_func;
35901 #endif
35902 #ifdef __cplusplus
35904 #endif
35907 main ()
35909 return f != $ac_func;
35911 return 0;
35913 _ACEOF
35914 rm -f conftest.$ac_objext conftest$ac_exeext
35915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35916 (eval $ac_link) 2>conftest.er1
35917 ac_status=$?
35918 grep -v '^ *+' conftest.er1 >conftest.err
35919 rm -f conftest.er1
35920 cat conftest.err >&5
35921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35922 (exit $ac_status); } &&
35923 { ac_try='test -z "$ac_c_werror_flag"
35924 || test ! -s conftest.err'
35925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35926 (eval $ac_try) 2>&5
35927 ac_status=$?
35928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35929 (exit $ac_status); }; } &&
35930 { ac_try='test -s conftest$ac_exeext'
35931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35932 (eval $ac_try) 2>&5
35933 ac_status=$?
35934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35935 (exit $ac_status); }; }; then
35936 eval "$as_ac_var=yes"
35937 else
35938 echo "$as_me: failed program was:" >&5
35939 sed 's/^/| /' conftest.$ac_ext >&5
35941 eval "$as_ac_var=no"
35943 rm -f conftest.err conftest.$ac_objext \
35944 conftest$ac_exeext conftest.$ac_ext
35946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35947 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35948 if test `eval echo '${'$as_ac_var'}'` = yes; then
35949 cat >>confdefs.h <<_ACEOF
35950 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35951 _ACEOF
35954 done
35961 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
35962 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
35963 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
35964 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
35965 echo $ECHO_N "(cached) $ECHO_C" >&6
35966 else
35970 ac_ext=cc
35971 ac_cpp='$CXXCPP $CPPFLAGS'
35972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35976 cat >conftest.$ac_ext <<_ACEOF
35977 /* confdefs.h. */
35978 _ACEOF
35979 cat confdefs.h >>conftest.$ac_ext
35980 cat >>conftest.$ac_ext <<_ACEOF
35981 /* end confdefs.h. */
35982 #include <math.h>
35984 main ()
35986 atan2f(0, 0);
35988 return 0;
35990 _ACEOF
35991 rm -f conftest.$ac_objext
35992 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35993 (eval $ac_compile) 2>conftest.er1
35994 ac_status=$?
35995 grep -v '^ *+' conftest.er1 >conftest.err
35996 rm -f conftest.er1
35997 cat conftest.err >&5
35998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35999 (exit $ac_status); } &&
36000 { ac_try='test -z "$ac_cxx_werror_flag"
36001 || test ! -s conftest.err'
36002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36003 (eval $ac_try) 2>&5
36004 ac_status=$?
36005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36006 (exit $ac_status); }; } &&
36007 { ac_try='test -s conftest.$ac_objext'
36008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36009 (eval $ac_try) 2>&5
36010 ac_status=$?
36011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36012 (exit $ac_status); }; }; then
36013 glibcxx_cv_func_atan2f_use=yes
36014 else
36015 echo "$as_me: failed program was:" >&5
36016 sed 's/^/| /' conftest.$ac_ext >&5
36018 glibcxx_cv_func_atan2f_use=no
36020 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36021 ac_ext=c
36022 ac_cpp='$CPP $CPPFLAGS'
36023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36031 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
36032 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
36034 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
36036 for ac_func in atan2f
36038 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36039 echo "$as_me:$LINENO: checking for $ac_func" >&5
36040 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36041 if eval "test \"\${$as_ac_var+set}\" = set"; then
36042 echo $ECHO_N "(cached) $ECHO_C" >&6
36043 else
36044 if test x$gcc_no_link = xyes; then
36045 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36047 { (exit 1); exit 1; }; }
36049 cat >conftest.$ac_ext <<_ACEOF
36050 /* confdefs.h. */
36051 _ACEOF
36052 cat confdefs.h >>conftest.$ac_ext
36053 cat >>conftest.$ac_ext <<_ACEOF
36054 /* end confdefs.h. */
36055 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36056 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36057 #define $ac_func innocuous_$ac_func
36059 /* System header to define __stub macros and hopefully few prototypes,
36060 which can conflict with char $ac_func (); below.
36061 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36062 <limits.h> exists even on freestanding compilers. */
36064 #ifdef __STDC__
36065 # include <limits.h>
36066 #else
36067 # include <assert.h>
36068 #endif
36070 #undef $ac_func
36072 /* Override any gcc2 internal prototype to avoid an error. */
36073 #ifdef __cplusplus
36074 extern "C"
36076 #endif
36077 /* We use char because int might match the return type of a gcc2
36078 builtin and then its argument prototype would still apply. */
36079 char $ac_func ();
36080 /* The GNU C library defines this for functions which it implements
36081 to always fail with ENOSYS. Some functions are actually named
36082 something starting with __ and the normal name is an alias. */
36083 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36084 choke me
36085 #else
36086 char (*f) () = $ac_func;
36087 #endif
36088 #ifdef __cplusplus
36090 #endif
36093 main ()
36095 return f != $ac_func;
36097 return 0;
36099 _ACEOF
36100 rm -f conftest.$ac_objext conftest$ac_exeext
36101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36102 (eval $ac_link) 2>conftest.er1
36103 ac_status=$?
36104 grep -v '^ *+' conftest.er1 >conftest.err
36105 rm -f conftest.er1
36106 cat conftest.err >&5
36107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36108 (exit $ac_status); } &&
36109 { ac_try='test -z "$ac_c_werror_flag"
36110 || test ! -s conftest.err'
36111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36112 (eval $ac_try) 2>&5
36113 ac_status=$?
36114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36115 (exit $ac_status); }; } &&
36116 { ac_try='test -s conftest$ac_exeext'
36117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36118 (eval $ac_try) 2>&5
36119 ac_status=$?
36120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36121 (exit $ac_status); }; }; then
36122 eval "$as_ac_var=yes"
36123 else
36124 echo "$as_me: failed program was:" >&5
36125 sed 's/^/| /' conftest.$ac_ext >&5
36127 eval "$as_ac_var=no"
36129 rm -f conftest.err conftest.$ac_objext \
36130 conftest$ac_exeext conftest.$ac_ext
36132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36133 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36134 if test `eval echo '${'$as_ac_var'}'` = yes; then
36135 cat >>confdefs.h <<_ACEOF
36136 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36137 _ACEOF
36140 done
36142 else
36144 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
36145 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
36146 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
36147 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
36148 echo $ECHO_N "(cached) $ECHO_C" >&6
36149 else
36153 ac_ext=cc
36154 ac_cpp='$CXXCPP $CPPFLAGS'
36155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36159 cat >conftest.$ac_ext <<_ACEOF
36160 /* confdefs.h. */
36161 _ACEOF
36162 cat confdefs.h >>conftest.$ac_ext
36163 cat >>conftest.$ac_ext <<_ACEOF
36164 /* end confdefs.h. */
36165 #include <math.h>
36167 main ()
36169 _atan2f(0, 0);
36171 return 0;
36173 _ACEOF
36174 rm -f conftest.$ac_objext
36175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36176 (eval $ac_compile) 2>conftest.er1
36177 ac_status=$?
36178 grep -v '^ *+' conftest.er1 >conftest.err
36179 rm -f conftest.er1
36180 cat conftest.err >&5
36181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36182 (exit $ac_status); } &&
36183 { ac_try='test -z "$ac_cxx_werror_flag"
36184 || test ! -s conftest.err'
36185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36186 (eval $ac_try) 2>&5
36187 ac_status=$?
36188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36189 (exit $ac_status); }; } &&
36190 { ac_try='test -s conftest.$ac_objext'
36191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36192 (eval $ac_try) 2>&5
36193 ac_status=$?
36194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36195 (exit $ac_status); }; }; then
36196 glibcxx_cv_func__atan2f_use=yes
36197 else
36198 echo "$as_me: failed program was:" >&5
36199 sed 's/^/| /' conftest.$ac_ext >&5
36201 glibcxx_cv_func__atan2f_use=no
36203 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36204 ac_ext=c
36205 ac_cpp='$CPP $CPPFLAGS'
36206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36214 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
36215 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
36217 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
36219 for ac_func in _atan2f
36221 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36222 echo "$as_me:$LINENO: checking for $ac_func" >&5
36223 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36224 if eval "test \"\${$as_ac_var+set}\" = set"; then
36225 echo $ECHO_N "(cached) $ECHO_C" >&6
36226 else
36227 if test x$gcc_no_link = xyes; then
36228 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36229 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36230 { (exit 1); exit 1; }; }
36232 cat >conftest.$ac_ext <<_ACEOF
36233 /* confdefs.h. */
36234 _ACEOF
36235 cat confdefs.h >>conftest.$ac_ext
36236 cat >>conftest.$ac_ext <<_ACEOF
36237 /* end confdefs.h. */
36238 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36239 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36240 #define $ac_func innocuous_$ac_func
36242 /* System header to define __stub macros and hopefully few prototypes,
36243 which can conflict with char $ac_func (); below.
36244 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36245 <limits.h> exists even on freestanding compilers. */
36247 #ifdef __STDC__
36248 # include <limits.h>
36249 #else
36250 # include <assert.h>
36251 #endif
36253 #undef $ac_func
36255 /* Override any gcc2 internal prototype to avoid an error. */
36256 #ifdef __cplusplus
36257 extern "C"
36259 #endif
36260 /* We use char because int might match the return type of a gcc2
36261 builtin and then its argument prototype would still apply. */
36262 char $ac_func ();
36263 /* The GNU C library defines this for functions which it implements
36264 to always fail with ENOSYS. Some functions are actually named
36265 something starting with __ and the normal name is an alias. */
36266 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36267 choke me
36268 #else
36269 char (*f) () = $ac_func;
36270 #endif
36271 #ifdef __cplusplus
36273 #endif
36276 main ()
36278 return f != $ac_func;
36280 return 0;
36282 _ACEOF
36283 rm -f conftest.$ac_objext conftest$ac_exeext
36284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36285 (eval $ac_link) 2>conftest.er1
36286 ac_status=$?
36287 grep -v '^ *+' conftest.er1 >conftest.err
36288 rm -f conftest.er1
36289 cat conftest.err >&5
36290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36291 (exit $ac_status); } &&
36292 { ac_try='test -z "$ac_c_werror_flag"
36293 || test ! -s conftest.err'
36294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36295 (eval $ac_try) 2>&5
36296 ac_status=$?
36297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36298 (exit $ac_status); }; } &&
36299 { ac_try='test -s conftest$ac_exeext'
36300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36301 (eval $ac_try) 2>&5
36302 ac_status=$?
36303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36304 (exit $ac_status); }; }; then
36305 eval "$as_ac_var=yes"
36306 else
36307 echo "$as_me: failed program was:" >&5
36308 sed 's/^/| /' conftest.$ac_ext >&5
36310 eval "$as_ac_var=no"
36312 rm -f conftest.err conftest.$ac_objext \
36313 conftest$ac_exeext conftest.$ac_ext
36315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36316 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36317 if test `eval echo '${'$as_ac_var'}'` = yes; then
36318 cat >>confdefs.h <<_ACEOF
36319 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36320 _ACEOF
36323 done
36330 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
36331 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
36332 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
36333 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
36334 echo $ECHO_N "(cached) $ECHO_C" >&6
36335 else
36339 ac_ext=cc
36340 ac_cpp='$CXXCPP $CPPFLAGS'
36341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36345 cat >conftest.$ac_ext <<_ACEOF
36346 /* confdefs.h. */
36347 _ACEOF
36348 cat confdefs.h >>conftest.$ac_ext
36349 cat >>conftest.$ac_ext <<_ACEOF
36350 /* end confdefs.h. */
36351 #include <math.h>
36352 #ifdef HAVE_IEEEFP_H
36353 #include <ieeefp.h>
36354 #endif
36357 main ()
36359 fabsf(0);
36361 return 0;
36363 _ACEOF
36364 rm -f conftest.$ac_objext
36365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36366 (eval $ac_compile) 2>conftest.er1
36367 ac_status=$?
36368 grep -v '^ *+' conftest.er1 >conftest.err
36369 rm -f conftest.er1
36370 cat conftest.err >&5
36371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36372 (exit $ac_status); } &&
36373 { ac_try='test -z "$ac_cxx_werror_flag"
36374 || test ! -s conftest.err'
36375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36376 (eval $ac_try) 2>&5
36377 ac_status=$?
36378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36379 (exit $ac_status); }; } &&
36380 { ac_try='test -s conftest.$ac_objext'
36381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36382 (eval $ac_try) 2>&5
36383 ac_status=$?
36384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36385 (exit $ac_status); }; }; then
36386 glibcxx_cv_func_fabsf_use=yes
36387 else
36388 echo "$as_me: failed program was:" >&5
36389 sed 's/^/| /' conftest.$ac_ext >&5
36391 glibcxx_cv_func_fabsf_use=no
36393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36394 ac_ext=c
36395 ac_cpp='$CPP $CPPFLAGS'
36396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36404 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
36405 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
36407 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
36409 for ac_func in fabsf
36411 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36412 echo "$as_me:$LINENO: checking for $ac_func" >&5
36413 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36414 if eval "test \"\${$as_ac_var+set}\" = set"; then
36415 echo $ECHO_N "(cached) $ECHO_C" >&6
36416 else
36417 if test x$gcc_no_link = xyes; then
36418 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36420 { (exit 1); exit 1; }; }
36422 cat >conftest.$ac_ext <<_ACEOF
36423 /* confdefs.h. */
36424 _ACEOF
36425 cat confdefs.h >>conftest.$ac_ext
36426 cat >>conftest.$ac_ext <<_ACEOF
36427 /* end confdefs.h. */
36428 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36429 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36430 #define $ac_func innocuous_$ac_func
36432 /* System header to define __stub macros and hopefully few prototypes,
36433 which can conflict with char $ac_func (); below.
36434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36435 <limits.h> exists even on freestanding compilers. */
36437 #ifdef __STDC__
36438 # include <limits.h>
36439 #else
36440 # include <assert.h>
36441 #endif
36443 #undef $ac_func
36445 /* Override any gcc2 internal prototype to avoid an error. */
36446 #ifdef __cplusplus
36447 extern "C"
36449 #endif
36450 /* We use char because int might match the return type of a gcc2
36451 builtin and then its argument prototype would still apply. */
36452 char $ac_func ();
36453 /* The GNU C library defines this for functions which it implements
36454 to always fail with ENOSYS. Some functions are actually named
36455 something starting with __ and the normal name is an alias. */
36456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36457 choke me
36458 #else
36459 char (*f) () = $ac_func;
36460 #endif
36461 #ifdef __cplusplus
36463 #endif
36466 main ()
36468 return f != $ac_func;
36470 return 0;
36472 _ACEOF
36473 rm -f conftest.$ac_objext conftest$ac_exeext
36474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36475 (eval $ac_link) 2>conftest.er1
36476 ac_status=$?
36477 grep -v '^ *+' conftest.er1 >conftest.err
36478 rm -f conftest.er1
36479 cat conftest.err >&5
36480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36481 (exit $ac_status); } &&
36482 { ac_try='test -z "$ac_c_werror_flag"
36483 || test ! -s conftest.err'
36484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36485 (eval $ac_try) 2>&5
36486 ac_status=$?
36487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36488 (exit $ac_status); }; } &&
36489 { ac_try='test -s conftest$ac_exeext'
36490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36491 (eval $ac_try) 2>&5
36492 ac_status=$?
36493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36494 (exit $ac_status); }; }; then
36495 eval "$as_ac_var=yes"
36496 else
36497 echo "$as_me: failed program was:" >&5
36498 sed 's/^/| /' conftest.$ac_ext >&5
36500 eval "$as_ac_var=no"
36502 rm -f conftest.err conftest.$ac_objext \
36503 conftest$ac_exeext conftest.$ac_ext
36505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36506 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36507 if test `eval echo '${'$as_ac_var'}'` = yes; then
36508 cat >>confdefs.h <<_ACEOF
36509 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36510 _ACEOF
36513 done
36515 else
36517 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
36518 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
36519 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
36520 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
36521 echo $ECHO_N "(cached) $ECHO_C" >&6
36522 else
36526 ac_ext=cc
36527 ac_cpp='$CXXCPP $CPPFLAGS'
36528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36532 cat >conftest.$ac_ext <<_ACEOF
36533 /* confdefs.h. */
36534 _ACEOF
36535 cat confdefs.h >>conftest.$ac_ext
36536 cat >>conftest.$ac_ext <<_ACEOF
36537 /* end confdefs.h. */
36538 #include <math.h>
36539 #ifdef HAVE_IEEEFP_H
36540 #include <ieeefp.h>
36541 #endif
36544 main ()
36546 _fabsf(0);
36548 return 0;
36550 _ACEOF
36551 rm -f conftest.$ac_objext
36552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36553 (eval $ac_compile) 2>conftest.er1
36554 ac_status=$?
36555 grep -v '^ *+' conftest.er1 >conftest.err
36556 rm -f conftest.er1
36557 cat conftest.err >&5
36558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36559 (exit $ac_status); } &&
36560 { ac_try='test -z "$ac_cxx_werror_flag"
36561 || test ! -s conftest.err'
36562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36563 (eval $ac_try) 2>&5
36564 ac_status=$?
36565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36566 (exit $ac_status); }; } &&
36567 { ac_try='test -s conftest.$ac_objext'
36568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36569 (eval $ac_try) 2>&5
36570 ac_status=$?
36571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36572 (exit $ac_status); }; }; then
36573 glibcxx_cv_func__fabsf_use=yes
36574 else
36575 echo "$as_me: failed program was:" >&5
36576 sed 's/^/| /' conftest.$ac_ext >&5
36578 glibcxx_cv_func__fabsf_use=no
36580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36581 ac_ext=c
36582 ac_cpp='$CPP $CPPFLAGS'
36583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36591 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
36592 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
36594 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
36596 for ac_func in _fabsf
36598 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36599 echo "$as_me:$LINENO: checking for $ac_func" >&5
36600 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36601 if eval "test \"\${$as_ac_var+set}\" = set"; then
36602 echo $ECHO_N "(cached) $ECHO_C" >&6
36603 else
36604 if test x$gcc_no_link = xyes; then
36605 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36606 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36607 { (exit 1); exit 1; }; }
36609 cat >conftest.$ac_ext <<_ACEOF
36610 /* confdefs.h. */
36611 _ACEOF
36612 cat confdefs.h >>conftest.$ac_ext
36613 cat >>conftest.$ac_ext <<_ACEOF
36614 /* end confdefs.h. */
36615 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36616 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36617 #define $ac_func innocuous_$ac_func
36619 /* System header to define __stub macros and hopefully few prototypes,
36620 which can conflict with char $ac_func (); below.
36621 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36622 <limits.h> exists even on freestanding compilers. */
36624 #ifdef __STDC__
36625 # include <limits.h>
36626 #else
36627 # include <assert.h>
36628 #endif
36630 #undef $ac_func
36632 /* Override any gcc2 internal prototype to avoid an error. */
36633 #ifdef __cplusplus
36634 extern "C"
36636 #endif
36637 /* We use char because int might match the return type of a gcc2
36638 builtin and then its argument prototype would still apply. */
36639 char $ac_func ();
36640 /* The GNU C library defines this for functions which it implements
36641 to always fail with ENOSYS. Some functions are actually named
36642 something starting with __ and the normal name is an alias. */
36643 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36644 choke me
36645 #else
36646 char (*f) () = $ac_func;
36647 #endif
36648 #ifdef __cplusplus
36650 #endif
36653 main ()
36655 return f != $ac_func;
36657 return 0;
36659 _ACEOF
36660 rm -f conftest.$ac_objext conftest$ac_exeext
36661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36662 (eval $ac_link) 2>conftest.er1
36663 ac_status=$?
36664 grep -v '^ *+' conftest.er1 >conftest.err
36665 rm -f conftest.er1
36666 cat conftest.err >&5
36667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36668 (exit $ac_status); } &&
36669 { ac_try='test -z "$ac_c_werror_flag"
36670 || test ! -s conftest.err'
36671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36672 (eval $ac_try) 2>&5
36673 ac_status=$?
36674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36675 (exit $ac_status); }; } &&
36676 { ac_try='test -s conftest$ac_exeext'
36677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36678 (eval $ac_try) 2>&5
36679 ac_status=$?
36680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36681 (exit $ac_status); }; }; then
36682 eval "$as_ac_var=yes"
36683 else
36684 echo "$as_me: failed program was:" >&5
36685 sed 's/^/| /' conftest.$ac_ext >&5
36687 eval "$as_ac_var=no"
36689 rm -f conftest.err conftest.$ac_objext \
36690 conftest$ac_exeext conftest.$ac_ext
36692 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36693 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36694 if test `eval echo '${'$as_ac_var'}'` = yes; then
36695 cat >>confdefs.h <<_ACEOF
36696 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36697 _ACEOF
36700 done
36707 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
36708 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
36709 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
36710 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
36711 echo $ECHO_N "(cached) $ECHO_C" >&6
36712 else
36716 ac_ext=cc
36717 ac_cpp='$CXXCPP $CPPFLAGS'
36718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36722 cat >conftest.$ac_ext <<_ACEOF
36723 /* confdefs.h. */
36724 _ACEOF
36725 cat confdefs.h >>conftest.$ac_ext
36726 cat >>conftest.$ac_ext <<_ACEOF
36727 /* end confdefs.h. */
36728 #include <math.h>
36730 main ()
36732 fmodf(0, 0);
36734 return 0;
36736 _ACEOF
36737 rm -f conftest.$ac_objext
36738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36739 (eval $ac_compile) 2>conftest.er1
36740 ac_status=$?
36741 grep -v '^ *+' conftest.er1 >conftest.err
36742 rm -f conftest.er1
36743 cat conftest.err >&5
36744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36745 (exit $ac_status); } &&
36746 { ac_try='test -z "$ac_cxx_werror_flag"
36747 || test ! -s conftest.err'
36748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36749 (eval $ac_try) 2>&5
36750 ac_status=$?
36751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36752 (exit $ac_status); }; } &&
36753 { ac_try='test -s conftest.$ac_objext'
36754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36755 (eval $ac_try) 2>&5
36756 ac_status=$?
36757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36758 (exit $ac_status); }; }; then
36759 glibcxx_cv_func_fmodf_use=yes
36760 else
36761 echo "$as_me: failed program was:" >&5
36762 sed 's/^/| /' conftest.$ac_ext >&5
36764 glibcxx_cv_func_fmodf_use=no
36766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36767 ac_ext=c
36768 ac_cpp='$CPP $CPPFLAGS'
36769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36777 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
36778 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
36780 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
36782 for ac_func in fmodf
36784 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36785 echo "$as_me:$LINENO: checking for $ac_func" >&5
36786 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36787 if eval "test \"\${$as_ac_var+set}\" = set"; then
36788 echo $ECHO_N "(cached) $ECHO_C" >&6
36789 else
36790 if test x$gcc_no_link = xyes; then
36791 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36793 { (exit 1); exit 1; }; }
36795 cat >conftest.$ac_ext <<_ACEOF
36796 /* confdefs.h. */
36797 _ACEOF
36798 cat confdefs.h >>conftest.$ac_ext
36799 cat >>conftest.$ac_ext <<_ACEOF
36800 /* end confdefs.h. */
36801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36802 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36803 #define $ac_func innocuous_$ac_func
36805 /* System header to define __stub macros and hopefully few prototypes,
36806 which can conflict with char $ac_func (); below.
36807 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36808 <limits.h> exists even on freestanding compilers. */
36810 #ifdef __STDC__
36811 # include <limits.h>
36812 #else
36813 # include <assert.h>
36814 #endif
36816 #undef $ac_func
36818 /* Override any gcc2 internal prototype to avoid an error. */
36819 #ifdef __cplusplus
36820 extern "C"
36822 #endif
36823 /* We use char because int might match the return type of a gcc2
36824 builtin and then its argument prototype would still apply. */
36825 char $ac_func ();
36826 /* The GNU C library defines this for functions which it implements
36827 to always fail with ENOSYS. Some functions are actually named
36828 something starting with __ and the normal name is an alias. */
36829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36830 choke me
36831 #else
36832 char (*f) () = $ac_func;
36833 #endif
36834 #ifdef __cplusplus
36836 #endif
36839 main ()
36841 return f != $ac_func;
36843 return 0;
36845 _ACEOF
36846 rm -f conftest.$ac_objext conftest$ac_exeext
36847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36848 (eval $ac_link) 2>conftest.er1
36849 ac_status=$?
36850 grep -v '^ *+' conftest.er1 >conftest.err
36851 rm -f conftest.er1
36852 cat conftest.err >&5
36853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36854 (exit $ac_status); } &&
36855 { ac_try='test -z "$ac_c_werror_flag"
36856 || test ! -s conftest.err'
36857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36858 (eval $ac_try) 2>&5
36859 ac_status=$?
36860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36861 (exit $ac_status); }; } &&
36862 { ac_try='test -s conftest$ac_exeext'
36863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36864 (eval $ac_try) 2>&5
36865 ac_status=$?
36866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36867 (exit $ac_status); }; }; then
36868 eval "$as_ac_var=yes"
36869 else
36870 echo "$as_me: failed program was:" >&5
36871 sed 's/^/| /' conftest.$ac_ext >&5
36873 eval "$as_ac_var=no"
36875 rm -f conftest.err conftest.$ac_objext \
36876 conftest$ac_exeext conftest.$ac_ext
36878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36879 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36880 if test `eval echo '${'$as_ac_var'}'` = yes; then
36881 cat >>confdefs.h <<_ACEOF
36882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36883 _ACEOF
36886 done
36888 else
36890 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
36891 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
36892 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
36893 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
36894 echo $ECHO_N "(cached) $ECHO_C" >&6
36895 else
36899 ac_ext=cc
36900 ac_cpp='$CXXCPP $CPPFLAGS'
36901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36905 cat >conftest.$ac_ext <<_ACEOF
36906 /* confdefs.h. */
36907 _ACEOF
36908 cat confdefs.h >>conftest.$ac_ext
36909 cat >>conftest.$ac_ext <<_ACEOF
36910 /* end confdefs.h. */
36911 #include <math.h>
36913 main ()
36915 _fmodf(0, 0);
36917 return 0;
36919 _ACEOF
36920 rm -f conftest.$ac_objext
36921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36922 (eval $ac_compile) 2>conftest.er1
36923 ac_status=$?
36924 grep -v '^ *+' conftest.er1 >conftest.err
36925 rm -f conftest.er1
36926 cat conftest.err >&5
36927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36928 (exit $ac_status); } &&
36929 { ac_try='test -z "$ac_cxx_werror_flag"
36930 || test ! -s conftest.err'
36931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36932 (eval $ac_try) 2>&5
36933 ac_status=$?
36934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36935 (exit $ac_status); }; } &&
36936 { ac_try='test -s conftest.$ac_objext'
36937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36938 (eval $ac_try) 2>&5
36939 ac_status=$?
36940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36941 (exit $ac_status); }; }; then
36942 glibcxx_cv_func__fmodf_use=yes
36943 else
36944 echo "$as_me: failed program was:" >&5
36945 sed 's/^/| /' conftest.$ac_ext >&5
36947 glibcxx_cv_func__fmodf_use=no
36949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36950 ac_ext=c
36951 ac_cpp='$CPP $CPPFLAGS'
36952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36960 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
36961 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
36963 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
36965 for ac_func in _fmodf
36967 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36968 echo "$as_me:$LINENO: checking for $ac_func" >&5
36969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36970 if eval "test \"\${$as_ac_var+set}\" = set"; then
36971 echo $ECHO_N "(cached) $ECHO_C" >&6
36972 else
36973 if test x$gcc_no_link = xyes; then
36974 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36976 { (exit 1); exit 1; }; }
36978 cat >conftest.$ac_ext <<_ACEOF
36979 /* confdefs.h. */
36980 _ACEOF
36981 cat confdefs.h >>conftest.$ac_ext
36982 cat >>conftest.$ac_ext <<_ACEOF
36983 /* end confdefs.h. */
36984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36985 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36986 #define $ac_func innocuous_$ac_func
36988 /* System header to define __stub macros and hopefully few prototypes,
36989 which can conflict with char $ac_func (); below.
36990 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36991 <limits.h> exists even on freestanding compilers. */
36993 #ifdef __STDC__
36994 # include <limits.h>
36995 #else
36996 # include <assert.h>
36997 #endif
36999 #undef $ac_func
37001 /* Override any gcc2 internal prototype to avoid an error. */
37002 #ifdef __cplusplus
37003 extern "C"
37005 #endif
37006 /* We use char because int might match the return type of a gcc2
37007 builtin and then its argument prototype would still apply. */
37008 char $ac_func ();
37009 /* The GNU C library defines this for functions which it implements
37010 to always fail with ENOSYS. Some functions are actually named
37011 something starting with __ and the normal name is an alias. */
37012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37013 choke me
37014 #else
37015 char (*f) () = $ac_func;
37016 #endif
37017 #ifdef __cplusplus
37019 #endif
37022 main ()
37024 return f != $ac_func;
37026 return 0;
37028 _ACEOF
37029 rm -f conftest.$ac_objext conftest$ac_exeext
37030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37031 (eval $ac_link) 2>conftest.er1
37032 ac_status=$?
37033 grep -v '^ *+' conftest.er1 >conftest.err
37034 rm -f conftest.er1
37035 cat conftest.err >&5
37036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37037 (exit $ac_status); } &&
37038 { ac_try='test -z "$ac_c_werror_flag"
37039 || test ! -s conftest.err'
37040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37041 (eval $ac_try) 2>&5
37042 ac_status=$?
37043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37044 (exit $ac_status); }; } &&
37045 { ac_try='test -s conftest$ac_exeext'
37046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37047 (eval $ac_try) 2>&5
37048 ac_status=$?
37049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37050 (exit $ac_status); }; }; then
37051 eval "$as_ac_var=yes"
37052 else
37053 echo "$as_me: failed program was:" >&5
37054 sed 's/^/| /' conftest.$ac_ext >&5
37056 eval "$as_ac_var=no"
37058 rm -f conftest.err conftest.$ac_objext \
37059 conftest$ac_exeext conftest.$ac_ext
37061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37062 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37063 if test `eval echo '${'$as_ac_var'}'` = yes; then
37064 cat >>confdefs.h <<_ACEOF
37065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37066 _ACEOF
37069 done
37076 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
37077 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
37078 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37079 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
37080 echo $ECHO_N "(cached) $ECHO_C" >&6
37081 else
37085 ac_ext=cc
37086 ac_cpp='$CXXCPP $CPPFLAGS'
37087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37091 cat >conftest.$ac_ext <<_ACEOF
37092 /* confdefs.h. */
37093 _ACEOF
37094 cat confdefs.h >>conftest.$ac_ext
37095 cat >>conftest.$ac_ext <<_ACEOF
37096 /* end confdefs.h. */
37097 #include <math.h>
37099 main ()
37101 frexpf(0, 0);
37103 return 0;
37105 _ACEOF
37106 rm -f conftest.$ac_objext
37107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37108 (eval $ac_compile) 2>conftest.er1
37109 ac_status=$?
37110 grep -v '^ *+' conftest.er1 >conftest.err
37111 rm -f conftest.er1
37112 cat conftest.err >&5
37113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37114 (exit $ac_status); } &&
37115 { ac_try='test -z "$ac_cxx_werror_flag"
37116 || test ! -s conftest.err'
37117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37118 (eval $ac_try) 2>&5
37119 ac_status=$?
37120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37121 (exit $ac_status); }; } &&
37122 { ac_try='test -s conftest.$ac_objext'
37123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37124 (eval $ac_try) 2>&5
37125 ac_status=$?
37126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37127 (exit $ac_status); }; }; then
37128 glibcxx_cv_func_frexpf_use=yes
37129 else
37130 echo "$as_me: failed program was:" >&5
37131 sed 's/^/| /' conftest.$ac_ext >&5
37133 glibcxx_cv_func_frexpf_use=no
37135 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37136 ac_ext=c
37137 ac_cpp='$CPP $CPPFLAGS'
37138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37146 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
37147 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
37149 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37151 for ac_func in frexpf
37153 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37154 echo "$as_me:$LINENO: checking for $ac_func" >&5
37155 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37156 if eval "test \"\${$as_ac_var+set}\" = set"; then
37157 echo $ECHO_N "(cached) $ECHO_C" >&6
37158 else
37159 if test x$gcc_no_link = xyes; then
37160 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37161 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37162 { (exit 1); exit 1; }; }
37164 cat >conftest.$ac_ext <<_ACEOF
37165 /* confdefs.h. */
37166 _ACEOF
37167 cat confdefs.h >>conftest.$ac_ext
37168 cat >>conftest.$ac_ext <<_ACEOF
37169 /* end confdefs.h. */
37170 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37171 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37172 #define $ac_func innocuous_$ac_func
37174 /* System header to define __stub macros and hopefully few prototypes,
37175 which can conflict with char $ac_func (); below.
37176 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37177 <limits.h> exists even on freestanding compilers. */
37179 #ifdef __STDC__
37180 # include <limits.h>
37181 #else
37182 # include <assert.h>
37183 #endif
37185 #undef $ac_func
37187 /* Override any gcc2 internal prototype to avoid an error. */
37188 #ifdef __cplusplus
37189 extern "C"
37191 #endif
37192 /* We use char because int might match the return type of a gcc2
37193 builtin and then its argument prototype would still apply. */
37194 char $ac_func ();
37195 /* The GNU C library defines this for functions which it implements
37196 to always fail with ENOSYS. Some functions are actually named
37197 something starting with __ and the normal name is an alias. */
37198 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37199 choke me
37200 #else
37201 char (*f) () = $ac_func;
37202 #endif
37203 #ifdef __cplusplus
37205 #endif
37208 main ()
37210 return f != $ac_func;
37212 return 0;
37214 _ACEOF
37215 rm -f conftest.$ac_objext conftest$ac_exeext
37216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37217 (eval $ac_link) 2>conftest.er1
37218 ac_status=$?
37219 grep -v '^ *+' conftest.er1 >conftest.err
37220 rm -f conftest.er1
37221 cat conftest.err >&5
37222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37223 (exit $ac_status); } &&
37224 { ac_try='test -z "$ac_c_werror_flag"
37225 || test ! -s conftest.err'
37226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37227 (eval $ac_try) 2>&5
37228 ac_status=$?
37229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37230 (exit $ac_status); }; } &&
37231 { ac_try='test -s conftest$ac_exeext'
37232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37233 (eval $ac_try) 2>&5
37234 ac_status=$?
37235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37236 (exit $ac_status); }; }; then
37237 eval "$as_ac_var=yes"
37238 else
37239 echo "$as_me: failed program was:" >&5
37240 sed 's/^/| /' conftest.$ac_ext >&5
37242 eval "$as_ac_var=no"
37244 rm -f conftest.err conftest.$ac_objext \
37245 conftest$ac_exeext conftest.$ac_ext
37247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37248 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37249 if test `eval echo '${'$as_ac_var'}'` = yes; then
37250 cat >>confdefs.h <<_ACEOF
37251 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37252 _ACEOF
37255 done
37257 else
37259 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
37260 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
37261 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37262 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
37263 echo $ECHO_N "(cached) $ECHO_C" >&6
37264 else
37268 ac_ext=cc
37269 ac_cpp='$CXXCPP $CPPFLAGS'
37270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37274 cat >conftest.$ac_ext <<_ACEOF
37275 /* confdefs.h. */
37276 _ACEOF
37277 cat confdefs.h >>conftest.$ac_ext
37278 cat >>conftest.$ac_ext <<_ACEOF
37279 /* end confdefs.h. */
37280 #include <math.h>
37282 main ()
37284 _frexpf(0, 0);
37286 return 0;
37288 _ACEOF
37289 rm -f conftest.$ac_objext
37290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37291 (eval $ac_compile) 2>conftest.er1
37292 ac_status=$?
37293 grep -v '^ *+' conftest.er1 >conftest.err
37294 rm -f conftest.er1
37295 cat conftest.err >&5
37296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37297 (exit $ac_status); } &&
37298 { ac_try='test -z "$ac_cxx_werror_flag"
37299 || test ! -s conftest.err'
37300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37301 (eval $ac_try) 2>&5
37302 ac_status=$?
37303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37304 (exit $ac_status); }; } &&
37305 { ac_try='test -s conftest.$ac_objext'
37306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37307 (eval $ac_try) 2>&5
37308 ac_status=$?
37309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37310 (exit $ac_status); }; }; then
37311 glibcxx_cv_func__frexpf_use=yes
37312 else
37313 echo "$as_me: failed program was:" >&5
37314 sed 's/^/| /' conftest.$ac_ext >&5
37316 glibcxx_cv_func__frexpf_use=no
37318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37319 ac_ext=c
37320 ac_cpp='$CPP $CPPFLAGS'
37321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37329 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
37330 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
37332 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37334 for ac_func in _frexpf
37336 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37337 echo "$as_me:$LINENO: checking for $ac_func" >&5
37338 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37339 if eval "test \"\${$as_ac_var+set}\" = set"; then
37340 echo $ECHO_N "(cached) $ECHO_C" >&6
37341 else
37342 if test x$gcc_no_link = xyes; then
37343 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37345 { (exit 1); exit 1; }; }
37347 cat >conftest.$ac_ext <<_ACEOF
37348 /* confdefs.h. */
37349 _ACEOF
37350 cat confdefs.h >>conftest.$ac_ext
37351 cat >>conftest.$ac_ext <<_ACEOF
37352 /* end confdefs.h. */
37353 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37354 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37355 #define $ac_func innocuous_$ac_func
37357 /* System header to define __stub macros and hopefully few prototypes,
37358 which can conflict with char $ac_func (); below.
37359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37360 <limits.h> exists even on freestanding compilers. */
37362 #ifdef __STDC__
37363 # include <limits.h>
37364 #else
37365 # include <assert.h>
37366 #endif
37368 #undef $ac_func
37370 /* Override any gcc2 internal prototype to avoid an error. */
37371 #ifdef __cplusplus
37372 extern "C"
37374 #endif
37375 /* We use char because int might match the return type of a gcc2
37376 builtin and then its argument prototype would still apply. */
37377 char $ac_func ();
37378 /* The GNU C library defines this for functions which it implements
37379 to always fail with ENOSYS. Some functions are actually named
37380 something starting with __ and the normal name is an alias. */
37381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37382 choke me
37383 #else
37384 char (*f) () = $ac_func;
37385 #endif
37386 #ifdef __cplusplus
37388 #endif
37391 main ()
37393 return f != $ac_func;
37395 return 0;
37397 _ACEOF
37398 rm -f conftest.$ac_objext conftest$ac_exeext
37399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37400 (eval $ac_link) 2>conftest.er1
37401 ac_status=$?
37402 grep -v '^ *+' conftest.er1 >conftest.err
37403 rm -f conftest.er1
37404 cat conftest.err >&5
37405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37406 (exit $ac_status); } &&
37407 { ac_try='test -z "$ac_c_werror_flag"
37408 || test ! -s conftest.err'
37409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37410 (eval $ac_try) 2>&5
37411 ac_status=$?
37412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37413 (exit $ac_status); }; } &&
37414 { ac_try='test -s conftest$ac_exeext'
37415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37416 (eval $ac_try) 2>&5
37417 ac_status=$?
37418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37419 (exit $ac_status); }; }; then
37420 eval "$as_ac_var=yes"
37421 else
37422 echo "$as_me: failed program was:" >&5
37423 sed 's/^/| /' conftest.$ac_ext >&5
37425 eval "$as_ac_var=no"
37427 rm -f conftest.err conftest.$ac_objext \
37428 conftest$ac_exeext conftest.$ac_ext
37430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37431 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37432 if test `eval echo '${'$as_ac_var'}'` = yes; then
37433 cat >>confdefs.h <<_ACEOF
37434 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37435 _ACEOF
37438 done
37445 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
37446 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
37447 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37448 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
37449 echo $ECHO_N "(cached) $ECHO_C" >&6
37450 else
37454 ac_ext=cc
37455 ac_cpp='$CXXCPP $CPPFLAGS'
37456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37460 cat >conftest.$ac_ext <<_ACEOF
37461 /* confdefs.h. */
37462 _ACEOF
37463 cat confdefs.h >>conftest.$ac_ext
37464 cat >>conftest.$ac_ext <<_ACEOF
37465 /* end confdefs.h. */
37466 #include <math.h>
37468 main ()
37470 hypotf(0, 0);
37472 return 0;
37474 _ACEOF
37475 rm -f conftest.$ac_objext
37476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37477 (eval $ac_compile) 2>conftest.er1
37478 ac_status=$?
37479 grep -v '^ *+' conftest.er1 >conftest.err
37480 rm -f conftest.er1
37481 cat conftest.err >&5
37482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37483 (exit $ac_status); } &&
37484 { ac_try='test -z "$ac_cxx_werror_flag"
37485 || test ! -s conftest.err'
37486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37487 (eval $ac_try) 2>&5
37488 ac_status=$?
37489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37490 (exit $ac_status); }; } &&
37491 { ac_try='test -s conftest.$ac_objext'
37492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37493 (eval $ac_try) 2>&5
37494 ac_status=$?
37495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37496 (exit $ac_status); }; }; then
37497 glibcxx_cv_func_hypotf_use=yes
37498 else
37499 echo "$as_me: failed program was:" >&5
37500 sed 's/^/| /' conftest.$ac_ext >&5
37502 glibcxx_cv_func_hypotf_use=no
37504 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37505 ac_ext=c
37506 ac_cpp='$CPP $CPPFLAGS'
37507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37515 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
37516 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
37518 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37520 for ac_func in hypotf
37522 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37523 echo "$as_me:$LINENO: checking for $ac_func" >&5
37524 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37525 if eval "test \"\${$as_ac_var+set}\" = set"; then
37526 echo $ECHO_N "(cached) $ECHO_C" >&6
37527 else
37528 if test x$gcc_no_link = xyes; then
37529 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37530 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37531 { (exit 1); exit 1; }; }
37533 cat >conftest.$ac_ext <<_ACEOF
37534 /* confdefs.h. */
37535 _ACEOF
37536 cat confdefs.h >>conftest.$ac_ext
37537 cat >>conftest.$ac_ext <<_ACEOF
37538 /* end confdefs.h. */
37539 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37540 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37541 #define $ac_func innocuous_$ac_func
37543 /* System header to define __stub macros and hopefully few prototypes,
37544 which can conflict with char $ac_func (); below.
37545 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37546 <limits.h> exists even on freestanding compilers. */
37548 #ifdef __STDC__
37549 # include <limits.h>
37550 #else
37551 # include <assert.h>
37552 #endif
37554 #undef $ac_func
37556 /* Override any gcc2 internal prototype to avoid an error. */
37557 #ifdef __cplusplus
37558 extern "C"
37560 #endif
37561 /* We use char because int might match the return type of a gcc2
37562 builtin and then its argument prototype would still apply. */
37563 char $ac_func ();
37564 /* The GNU C library defines this for functions which it implements
37565 to always fail with ENOSYS. Some functions are actually named
37566 something starting with __ and the normal name is an alias. */
37567 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37568 choke me
37569 #else
37570 char (*f) () = $ac_func;
37571 #endif
37572 #ifdef __cplusplus
37574 #endif
37577 main ()
37579 return f != $ac_func;
37581 return 0;
37583 _ACEOF
37584 rm -f conftest.$ac_objext conftest$ac_exeext
37585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37586 (eval $ac_link) 2>conftest.er1
37587 ac_status=$?
37588 grep -v '^ *+' conftest.er1 >conftest.err
37589 rm -f conftest.er1
37590 cat conftest.err >&5
37591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37592 (exit $ac_status); } &&
37593 { ac_try='test -z "$ac_c_werror_flag"
37594 || test ! -s conftest.err'
37595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37596 (eval $ac_try) 2>&5
37597 ac_status=$?
37598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37599 (exit $ac_status); }; } &&
37600 { ac_try='test -s conftest$ac_exeext'
37601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37602 (eval $ac_try) 2>&5
37603 ac_status=$?
37604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37605 (exit $ac_status); }; }; then
37606 eval "$as_ac_var=yes"
37607 else
37608 echo "$as_me: failed program was:" >&5
37609 sed 's/^/| /' conftest.$ac_ext >&5
37611 eval "$as_ac_var=no"
37613 rm -f conftest.err conftest.$ac_objext \
37614 conftest$ac_exeext conftest.$ac_ext
37616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37617 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37618 if test `eval echo '${'$as_ac_var'}'` = yes; then
37619 cat >>confdefs.h <<_ACEOF
37620 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37621 _ACEOF
37624 done
37626 else
37628 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
37629 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
37630 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37631 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
37632 echo $ECHO_N "(cached) $ECHO_C" >&6
37633 else
37637 ac_ext=cc
37638 ac_cpp='$CXXCPP $CPPFLAGS'
37639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37643 cat >conftest.$ac_ext <<_ACEOF
37644 /* confdefs.h. */
37645 _ACEOF
37646 cat confdefs.h >>conftest.$ac_ext
37647 cat >>conftest.$ac_ext <<_ACEOF
37648 /* end confdefs.h. */
37649 #include <math.h>
37651 main ()
37653 _hypotf(0, 0);
37655 return 0;
37657 _ACEOF
37658 rm -f conftest.$ac_objext
37659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37660 (eval $ac_compile) 2>conftest.er1
37661 ac_status=$?
37662 grep -v '^ *+' conftest.er1 >conftest.err
37663 rm -f conftest.er1
37664 cat conftest.err >&5
37665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37666 (exit $ac_status); } &&
37667 { ac_try='test -z "$ac_cxx_werror_flag"
37668 || test ! -s conftest.err'
37669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37670 (eval $ac_try) 2>&5
37671 ac_status=$?
37672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37673 (exit $ac_status); }; } &&
37674 { ac_try='test -s conftest.$ac_objext'
37675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37676 (eval $ac_try) 2>&5
37677 ac_status=$?
37678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37679 (exit $ac_status); }; }; then
37680 glibcxx_cv_func__hypotf_use=yes
37681 else
37682 echo "$as_me: failed program was:" >&5
37683 sed 's/^/| /' conftest.$ac_ext >&5
37685 glibcxx_cv_func__hypotf_use=no
37687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37688 ac_ext=c
37689 ac_cpp='$CPP $CPPFLAGS'
37690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37698 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
37699 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
37701 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37703 for ac_func in _hypotf
37705 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37706 echo "$as_me:$LINENO: checking for $ac_func" >&5
37707 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37708 if eval "test \"\${$as_ac_var+set}\" = set"; then
37709 echo $ECHO_N "(cached) $ECHO_C" >&6
37710 else
37711 if test x$gcc_no_link = xyes; then
37712 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37713 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37714 { (exit 1); exit 1; }; }
37716 cat >conftest.$ac_ext <<_ACEOF
37717 /* confdefs.h. */
37718 _ACEOF
37719 cat confdefs.h >>conftest.$ac_ext
37720 cat >>conftest.$ac_ext <<_ACEOF
37721 /* end confdefs.h. */
37722 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37723 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37724 #define $ac_func innocuous_$ac_func
37726 /* System header to define __stub macros and hopefully few prototypes,
37727 which can conflict with char $ac_func (); below.
37728 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37729 <limits.h> exists even on freestanding compilers. */
37731 #ifdef __STDC__
37732 # include <limits.h>
37733 #else
37734 # include <assert.h>
37735 #endif
37737 #undef $ac_func
37739 /* Override any gcc2 internal prototype to avoid an error. */
37740 #ifdef __cplusplus
37741 extern "C"
37743 #endif
37744 /* We use char because int might match the return type of a gcc2
37745 builtin and then its argument prototype would still apply. */
37746 char $ac_func ();
37747 /* The GNU C library defines this for functions which it implements
37748 to always fail with ENOSYS. Some functions are actually named
37749 something starting with __ and the normal name is an alias. */
37750 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37751 choke me
37752 #else
37753 char (*f) () = $ac_func;
37754 #endif
37755 #ifdef __cplusplus
37757 #endif
37760 main ()
37762 return f != $ac_func;
37764 return 0;
37766 _ACEOF
37767 rm -f conftest.$ac_objext conftest$ac_exeext
37768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37769 (eval $ac_link) 2>conftest.er1
37770 ac_status=$?
37771 grep -v '^ *+' conftest.er1 >conftest.err
37772 rm -f conftest.er1
37773 cat conftest.err >&5
37774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37775 (exit $ac_status); } &&
37776 { ac_try='test -z "$ac_c_werror_flag"
37777 || test ! -s conftest.err'
37778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37779 (eval $ac_try) 2>&5
37780 ac_status=$?
37781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37782 (exit $ac_status); }; } &&
37783 { ac_try='test -s conftest$ac_exeext'
37784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37785 (eval $ac_try) 2>&5
37786 ac_status=$?
37787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37788 (exit $ac_status); }; }; then
37789 eval "$as_ac_var=yes"
37790 else
37791 echo "$as_me: failed program was:" >&5
37792 sed 's/^/| /' conftest.$ac_ext >&5
37794 eval "$as_ac_var=no"
37796 rm -f conftest.err conftest.$ac_objext \
37797 conftest$ac_exeext conftest.$ac_ext
37799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37800 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37801 if test `eval echo '${'$as_ac_var'}'` = yes; then
37802 cat >>confdefs.h <<_ACEOF
37803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37804 _ACEOF
37807 done
37814 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
37815 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
37816 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37817 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
37818 echo $ECHO_N "(cached) $ECHO_C" >&6
37819 else
37823 ac_ext=cc
37824 ac_cpp='$CXXCPP $CPPFLAGS'
37825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37829 cat >conftest.$ac_ext <<_ACEOF
37830 /* confdefs.h. */
37831 _ACEOF
37832 cat confdefs.h >>conftest.$ac_ext
37833 cat >>conftest.$ac_ext <<_ACEOF
37834 /* end confdefs.h. */
37835 #include <math.h>
37837 main ()
37839 ldexpf(0, 0);
37841 return 0;
37843 _ACEOF
37844 rm -f conftest.$ac_objext
37845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37846 (eval $ac_compile) 2>conftest.er1
37847 ac_status=$?
37848 grep -v '^ *+' conftest.er1 >conftest.err
37849 rm -f conftest.er1
37850 cat conftest.err >&5
37851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37852 (exit $ac_status); } &&
37853 { ac_try='test -z "$ac_cxx_werror_flag"
37854 || test ! -s conftest.err'
37855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37856 (eval $ac_try) 2>&5
37857 ac_status=$?
37858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37859 (exit $ac_status); }; } &&
37860 { ac_try='test -s conftest.$ac_objext'
37861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37862 (eval $ac_try) 2>&5
37863 ac_status=$?
37864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37865 (exit $ac_status); }; }; then
37866 glibcxx_cv_func_ldexpf_use=yes
37867 else
37868 echo "$as_me: failed program was:" >&5
37869 sed 's/^/| /' conftest.$ac_ext >&5
37871 glibcxx_cv_func_ldexpf_use=no
37873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37874 ac_ext=c
37875 ac_cpp='$CPP $CPPFLAGS'
37876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37884 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
37885 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
37887 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37889 for ac_func in ldexpf
37891 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37892 echo "$as_me:$LINENO: checking for $ac_func" >&5
37893 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37894 if eval "test \"\${$as_ac_var+set}\" = set"; then
37895 echo $ECHO_N "(cached) $ECHO_C" >&6
37896 else
37897 if test x$gcc_no_link = xyes; then
37898 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37899 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37900 { (exit 1); exit 1; }; }
37902 cat >conftest.$ac_ext <<_ACEOF
37903 /* confdefs.h. */
37904 _ACEOF
37905 cat confdefs.h >>conftest.$ac_ext
37906 cat >>conftest.$ac_ext <<_ACEOF
37907 /* end confdefs.h. */
37908 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37909 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37910 #define $ac_func innocuous_$ac_func
37912 /* System header to define __stub macros and hopefully few prototypes,
37913 which can conflict with char $ac_func (); below.
37914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37915 <limits.h> exists even on freestanding compilers. */
37917 #ifdef __STDC__
37918 # include <limits.h>
37919 #else
37920 # include <assert.h>
37921 #endif
37923 #undef $ac_func
37925 /* Override any gcc2 internal prototype to avoid an error. */
37926 #ifdef __cplusplus
37927 extern "C"
37929 #endif
37930 /* We use char because int might match the return type of a gcc2
37931 builtin and then its argument prototype would still apply. */
37932 char $ac_func ();
37933 /* The GNU C library defines this for functions which it implements
37934 to always fail with ENOSYS. Some functions are actually named
37935 something starting with __ and the normal name is an alias. */
37936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37937 choke me
37938 #else
37939 char (*f) () = $ac_func;
37940 #endif
37941 #ifdef __cplusplus
37943 #endif
37946 main ()
37948 return f != $ac_func;
37950 return 0;
37952 _ACEOF
37953 rm -f conftest.$ac_objext conftest$ac_exeext
37954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37955 (eval $ac_link) 2>conftest.er1
37956 ac_status=$?
37957 grep -v '^ *+' conftest.er1 >conftest.err
37958 rm -f conftest.er1
37959 cat conftest.err >&5
37960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37961 (exit $ac_status); } &&
37962 { ac_try='test -z "$ac_c_werror_flag"
37963 || test ! -s conftest.err'
37964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37965 (eval $ac_try) 2>&5
37966 ac_status=$?
37967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37968 (exit $ac_status); }; } &&
37969 { ac_try='test -s conftest$ac_exeext'
37970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37971 (eval $ac_try) 2>&5
37972 ac_status=$?
37973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37974 (exit $ac_status); }; }; then
37975 eval "$as_ac_var=yes"
37976 else
37977 echo "$as_me: failed program was:" >&5
37978 sed 's/^/| /' conftest.$ac_ext >&5
37980 eval "$as_ac_var=no"
37982 rm -f conftest.err conftest.$ac_objext \
37983 conftest$ac_exeext conftest.$ac_ext
37985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37986 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37987 if test `eval echo '${'$as_ac_var'}'` = yes; then
37988 cat >>confdefs.h <<_ACEOF
37989 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37990 _ACEOF
37993 done
37995 else
37997 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
37998 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
37999 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
38000 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
38001 echo $ECHO_N "(cached) $ECHO_C" >&6
38002 else
38006 ac_ext=cc
38007 ac_cpp='$CXXCPP $CPPFLAGS'
38008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38012 cat >conftest.$ac_ext <<_ACEOF
38013 /* confdefs.h. */
38014 _ACEOF
38015 cat confdefs.h >>conftest.$ac_ext
38016 cat >>conftest.$ac_ext <<_ACEOF
38017 /* end confdefs.h. */
38018 #include <math.h>
38020 main ()
38022 _ldexpf(0, 0);
38024 return 0;
38026 _ACEOF
38027 rm -f conftest.$ac_objext
38028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38029 (eval $ac_compile) 2>conftest.er1
38030 ac_status=$?
38031 grep -v '^ *+' conftest.er1 >conftest.err
38032 rm -f conftest.er1
38033 cat conftest.err >&5
38034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38035 (exit $ac_status); } &&
38036 { ac_try='test -z "$ac_cxx_werror_flag"
38037 || test ! -s conftest.err'
38038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38039 (eval $ac_try) 2>&5
38040 ac_status=$?
38041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38042 (exit $ac_status); }; } &&
38043 { ac_try='test -s conftest.$ac_objext'
38044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38045 (eval $ac_try) 2>&5
38046 ac_status=$?
38047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38048 (exit $ac_status); }; }; then
38049 glibcxx_cv_func__ldexpf_use=yes
38050 else
38051 echo "$as_me: failed program was:" >&5
38052 sed 's/^/| /' conftest.$ac_ext >&5
38054 glibcxx_cv_func__ldexpf_use=no
38056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38057 ac_ext=c
38058 ac_cpp='$CPP $CPPFLAGS'
38059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38067 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
38068 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
38070 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
38072 for ac_func in _ldexpf
38074 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38075 echo "$as_me:$LINENO: checking for $ac_func" >&5
38076 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38077 if eval "test \"\${$as_ac_var+set}\" = set"; then
38078 echo $ECHO_N "(cached) $ECHO_C" >&6
38079 else
38080 if test x$gcc_no_link = xyes; then
38081 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38082 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38083 { (exit 1); exit 1; }; }
38085 cat >conftest.$ac_ext <<_ACEOF
38086 /* confdefs.h. */
38087 _ACEOF
38088 cat confdefs.h >>conftest.$ac_ext
38089 cat >>conftest.$ac_ext <<_ACEOF
38090 /* end confdefs.h. */
38091 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38092 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38093 #define $ac_func innocuous_$ac_func
38095 /* System header to define __stub macros and hopefully few prototypes,
38096 which can conflict with char $ac_func (); below.
38097 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38098 <limits.h> exists even on freestanding compilers. */
38100 #ifdef __STDC__
38101 # include <limits.h>
38102 #else
38103 # include <assert.h>
38104 #endif
38106 #undef $ac_func
38108 /* Override any gcc2 internal prototype to avoid an error. */
38109 #ifdef __cplusplus
38110 extern "C"
38112 #endif
38113 /* We use char because int might match the return type of a gcc2
38114 builtin and then its argument prototype would still apply. */
38115 char $ac_func ();
38116 /* The GNU C library defines this for functions which it implements
38117 to always fail with ENOSYS. Some functions are actually named
38118 something starting with __ and the normal name is an alias. */
38119 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38120 choke me
38121 #else
38122 char (*f) () = $ac_func;
38123 #endif
38124 #ifdef __cplusplus
38126 #endif
38129 main ()
38131 return f != $ac_func;
38133 return 0;
38135 _ACEOF
38136 rm -f conftest.$ac_objext conftest$ac_exeext
38137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38138 (eval $ac_link) 2>conftest.er1
38139 ac_status=$?
38140 grep -v '^ *+' conftest.er1 >conftest.err
38141 rm -f conftest.er1
38142 cat conftest.err >&5
38143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38144 (exit $ac_status); } &&
38145 { ac_try='test -z "$ac_c_werror_flag"
38146 || test ! -s conftest.err'
38147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38148 (eval $ac_try) 2>&5
38149 ac_status=$?
38150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38151 (exit $ac_status); }; } &&
38152 { ac_try='test -s conftest$ac_exeext'
38153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38154 (eval $ac_try) 2>&5
38155 ac_status=$?
38156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38157 (exit $ac_status); }; }; then
38158 eval "$as_ac_var=yes"
38159 else
38160 echo "$as_me: failed program was:" >&5
38161 sed 's/^/| /' conftest.$ac_ext >&5
38163 eval "$as_ac_var=no"
38165 rm -f conftest.err conftest.$ac_objext \
38166 conftest$ac_exeext conftest.$ac_ext
38168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38169 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38170 if test `eval echo '${'$as_ac_var'}'` = yes; then
38171 cat >>confdefs.h <<_ACEOF
38172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38173 _ACEOF
38176 done
38183 echo "$as_me:$LINENO: checking for logf declaration" >&5
38184 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
38185 if test x${glibcxx_cv_func_logf_use+set} != xset; then
38186 if test "${glibcxx_cv_func_logf_use+set}" = set; then
38187 echo $ECHO_N "(cached) $ECHO_C" >&6
38188 else
38192 ac_ext=cc
38193 ac_cpp='$CXXCPP $CPPFLAGS'
38194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38198 cat >conftest.$ac_ext <<_ACEOF
38199 /* confdefs.h. */
38200 _ACEOF
38201 cat confdefs.h >>conftest.$ac_ext
38202 cat >>conftest.$ac_ext <<_ACEOF
38203 /* end confdefs.h. */
38204 #include <math.h>
38205 #ifdef HAVE_IEEEFP_H
38206 #include <ieeefp.h>
38207 #endif
38210 main ()
38212 logf(0);
38214 return 0;
38216 _ACEOF
38217 rm -f conftest.$ac_objext
38218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38219 (eval $ac_compile) 2>conftest.er1
38220 ac_status=$?
38221 grep -v '^ *+' conftest.er1 >conftest.err
38222 rm -f conftest.er1
38223 cat conftest.err >&5
38224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38225 (exit $ac_status); } &&
38226 { ac_try='test -z "$ac_cxx_werror_flag"
38227 || test ! -s conftest.err'
38228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38229 (eval $ac_try) 2>&5
38230 ac_status=$?
38231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38232 (exit $ac_status); }; } &&
38233 { ac_try='test -s conftest.$ac_objext'
38234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38235 (eval $ac_try) 2>&5
38236 ac_status=$?
38237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38238 (exit $ac_status); }; }; then
38239 glibcxx_cv_func_logf_use=yes
38240 else
38241 echo "$as_me: failed program was:" >&5
38242 sed 's/^/| /' conftest.$ac_ext >&5
38244 glibcxx_cv_func_logf_use=no
38246 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38247 ac_ext=c
38248 ac_cpp='$CPP $CPPFLAGS'
38249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38257 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
38258 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
38260 if test x$glibcxx_cv_func_logf_use = x"yes"; then
38262 for ac_func in logf
38264 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38265 echo "$as_me:$LINENO: checking for $ac_func" >&5
38266 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38267 if eval "test \"\${$as_ac_var+set}\" = set"; then
38268 echo $ECHO_N "(cached) $ECHO_C" >&6
38269 else
38270 if test x$gcc_no_link = xyes; then
38271 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38272 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38273 { (exit 1); exit 1; }; }
38275 cat >conftest.$ac_ext <<_ACEOF
38276 /* confdefs.h. */
38277 _ACEOF
38278 cat confdefs.h >>conftest.$ac_ext
38279 cat >>conftest.$ac_ext <<_ACEOF
38280 /* end confdefs.h. */
38281 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38282 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38283 #define $ac_func innocuous_$ac_func
38285 /* System header to define __stub macros and hopefully few prototypes,
38286 which can conflict with char $ac_func (); below.
38287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38288 <limits.h> exists even on freestanding compilers. */
38290 #ifdef __STDC__
38291 # include <limits.h>
38292 #else
38293 # include <assert.h>
38294 #endif
38296 #undef $ac_func
38298 /* Override any gcc2 internal prototype to avoid an error. */
38299 #ifdef __cplusplus
38300 extern "C"
38302 #endif
38303 /* We use char because int might match the return type of a gcc2
38304 builtin and then its argument prototype would still apply. */
38305 char $ac_func ();
38306 /* The GNU C library defines this for functions which it implements
38307 to always fail with ENOSYS. Some functions are actually named
38308 something starting with __ and the normal name is an alias. */
38309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38310 choke me
38311 #else
38312 char (*f) () = $ac_func;
38313 #endif
38314 #ifdef __cplusplus
38316 #endif
38319 main ()
38321 return f != $ac_func;
38323 return 0;
38325 _ACEOF
38326 rm -f conftest.$ac_objext conftest$ac_exeext
38327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38328 (eval $ac_link) 2>conftest.er1
38329 ac_status=$?
38330 grep -v '^ *+' conftest.er1 >conftest.err
38331 rm -f conftest.er1
38332 cat conftest.err >&5
38333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38334 (exit $ac_status); } &&
38335 { ac_try='test -z "$ac_c_werror_flag"
38336 || test ! -s conftest.err'
38337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38338 (eval $ac_try) 2>&5
38339 ac_status=$?
38340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38341 (exit $ac_status); }; } &&
38342 { ac_try='test -s conftest$ac_exeext'
38343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38344 (eval $ac_try) 2>&5
38345 ac_status=$?
38346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38347 (exit $ac_status); }; }; then
38348 eval "$as_ac_var=yes"
38349 else
38350 echo "$as_me: failed program was:" >&5
38351 sed 's/^/| /' conftest.$ac_ext >&5
38353 eval "$as_ac_var=no"
38355 rm -f conftest.err conftest.$ac_objext \
38356 conftest$ac_exeext conftest.$ac_ext
38358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38359 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38360 if test `eval echo '${'$as_ac_var'}'` = yes; then
38361 cat >>confdefs.h <<_ACEOF
38362 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38363 _ACEOF
38366 done
38368 else
38370 echo "$as_me:$LINENO: checking for _logf declaration" >&5
38371 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
38372 if test x${glibcxx_cv_func__logf_use+set} != xset; then
38373 if test "${glibcxx_cv_func__logf_use+set}" = set; then
38374 echo $ECHO_N "(cached) $ECHO_C" >&6
38375 else
38379 ac_ext=cc
38380 ac_cpp='$CXXCPP $CPPFLAGS'
38381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38385 cat >conftest.$ac_ext <<_ACEOF
38386 /* confdefs.h. */
38387 _ACEOF
38388 cat confdefs.h >>conftest.$ac_ext
38389 cat >>conftest.$ac_ext <<_ACEOF
38390 /* end confdefs.h. */
38391 #include <math.h>
38392 #ifdef HAVE_IEEEFP_H
38393 #include <ieeefp.h>
38394 #endif
38397 main ()
38399 _logf(0);
38401 return 0;
38403 _ACEOF
38404 rm -f conftest.$ac_objext
38405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38406 (eval $ac_compile) 2>conftest.er1
38407 ac_status=$?
38408 grep -v '^ *+' conftest.er1 >conftest.err
38409 rm -f conftest.er1
38410 cat conftest.err >&5
38411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38412 (exit $ac_status); } &&
38413 { ac_try='test -z "$ac_cxx_werror_flag"
38414 || test ! -s conftest.err'
38415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38416 (eval $ac_try) 2>&5
38417 ac_status=$?
38418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38419 (exit $ac_status); }; } &&
38420 { ac_try='test -s conftest.$ac_objext'
38421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38422 (eval $ac_try) 2>&5
38423 ac_status=$?
38424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38425 (exit $ac_status); }; }; then
38426 glibcxx_cv_func__logf_use=yes
38427 else
38428 echo "$as_me: failed program was:" >&5
38429 sed 's/^/| /' conftest.$ac_ext >&5
38431 glibcxx_cv_func__logf_use=no
38433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38434 ac_ext=c
38435 ac_cpp='$CPP $CPPFLAGS'
38436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38444 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
38445 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
38447 if test x$glibcxx_cv_func__logf_use = x"yes"; then
38449 for ac_func in _logf
38451 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38452 echo "$as_me:$LINENO: checking for $ac_func" >&5
38453 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38454 if eval "test \"\${$as_ac_var+set}\" = set"; then
38455 echo $ECHO_N "(cached) $ECHO_C" >&6
38456 else
38457 if test x$gcc_no_link = xyes; then
38458 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38459 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38460 { (exit 1); exit 1; }; }
38462 cat >conftest.$ac_ext <<_ACEOF
38463 /* confdefs.h. */
38464 _ACEOF
38465 cat confdefs.h >>conftest.$ac_ext
38466 cat >>conftest.$ac_ext <<_ACEOF
38467 /* end confdefs.h. */
38468 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38469 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38470 #define $ac_func innocuous_$ac_func
38472 /* System header to define __stub macros and hopefully few prototypes,
38473 which can conflict with char $ac_func (); below.
38474 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38475 <limits.h> exists even on freestanding compilers. */
38477 #ifdef __STDC__
38478 # include <limits.h>
38479 #else
38480 # include <assert.h>
38481 #endif
38483 #undef $ac_func
38485 /* Override any gcc2 internal prototype to avoid an error. */
38486 #ifdef __cplusplus
38487 extern "C"
38489 #endif
38490 /* We use char because int might match the return type of a gcc2
38491 builtin and then its argument prototype would still apply. */
38492 char $ac_func ();
38493 /* The GNU C library defines this for functions which it implements
38494 to always fail with ENOSYS. Some functions are actually named
38495 something starting with __ and the normal name is an alias. */
38496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38497 choke me
38498 #else
38499 char (*f) () = $ac_func;
38500 #endif
38501 #ifdef __cplusplus
38503 #endif
38506 main ()
38508 return f != $ac_func;
38510 return 0;
38512 _ACEOF
38513 rm -f conftest.$ac_objext conftest$ac_exeext
38514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38515 (eval $ac_link) 2>conftest.er1
38516 ac_status=$?
38517 grep -v '^ *+' conftest.er1 >conftest.err
38518 rm -f conftest.er1
38519 cat conftest.err >&5
38520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38521 (exit $ac_status); } &&
38522 { ac_try='test -z "$ac_c_werror_flag"
38523 || test ! -s conftest.err'
38524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38525 (eval $ac_try) 2>&5
38526 ac_status=$?
38527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38528 (exit $ac_status); }; } &&
38529 { ac_try='test -s conftest$ac_exeext'
38530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38531 (eval $ac_try) 2>&5
38532 ac_status=$?
38533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38534 (exit $ac_status); }; }; then
38535 eval "$as_ac_var=yes"
38536 else
38537 echo "$as_me: failed program was:" >&5
38538 sed 's/^/| /' conftest.$ac_ext >&5
38540 eval "$as_ac_var=no"
38542 rm -f conftest.err conftest.$ac_objext \
38543 conftest$ac_exeext conftest.$ac_ext
38545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38546 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38547 if test `eval echo '${'$as_ac_var'}'` = yes; then
38548 cat >>confdefs.h <<_ACEOF
38549 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38550 _ACEOF
38553 done
38560 echo "$as_me:$LINENO: checking for log10f declaration" >&5
38561 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
38562 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
38563 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
38564 echo $ECHO_N "(cached) $ECHO_C" >&6
38565 else
38569 ac_ext=cc
38570 ac_cpp='$CXXCPP $CPPFLAGS'
38571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38575 cat >conftest.$ac_ext <<_ACEOF
38576 /* confdefs.h. */
38577 _ACEOF
38578 cat confdefs.h >>conftest.$ac_ext
38579 cat >>conftest.$ac_ext <<_ACEOF
38580 /* end confdefs.h. */
38581 #include <math.h>
38582 #ifdef HAVE_IEEEFP_H
38583 #include <ieeefp.h>
38584 #endif
38587 main ()
38589 log10f(0);
38591 return 0;
38593 _ACEOF
38594 rm -f conftest.$ac_objext
38595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38596 (eval $ac_compile) 2>conftest.er1
38597 ac_status=$?
38598 grep -v '^ *+' conftest.er1 >conftest.err
38599 rm -f conftest.er1
38600 cat conftest.err >&5
38601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38602 (exit $ac_status); } &&
38603 { ac_try='test -z "$ac_cxx_werror_flag"
38604 || test ! -s conftest.err'
38605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38606 (eval $ac_try) 2>&5
38607 ac_status=$?
38608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38609 (exit $ac_status); }; } &&
38610 { ac_try='test -s conftest.$ac_objext'
38611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38612 (eval $ac_try) 2>&5
38613 ac_status=$?
38614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38615 (exit $ac_status); }; }; then
38616 glibcxx_cv_func_log10f_use=yes
38617 else
38618 echo "$as_me: failed program was:" >&5
38619 sed 's/^/| /' conftest.$ac_ext >&5
38621 glibcxx_cv_func_log10f_use=no
38623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38624 ac_ext=c
38625 ac_cpp='$CPP $CPPFLAGS'
38626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38634 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
38635 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
38637 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
38639 for ac_func in log10f
38641 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38642 echo "$as_me:$LINENO: checking for $ac_func" >&5
38643 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38644 if eval "test \"\${$as_ac_var+set}\" = set"; then
38645 echo $ECHO_N "(cached) $ECHO_C" >&6
38646 else
38647 if test x$gcc_no_link = xyes; then
38648 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38649 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38650 { (exit 1); exit 1; }; }
38652 cat >conftest.$ac_ext <<_ACEOF
38653 /* confdefs.h. */
38654 _ACEOF
38655 cat confdefs.h >>conftest.$ac_ext
38656 cat >>conftest.$ac_ext <<_ACEOF
38657 /* end confdefs.h. */
38658 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38659 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38660 #define $ac_func innocuous_$ac_func
38662 /* System header to define __stub macros and hopefully few prototypes,
38663 which can conflict with char $ac_func (); below.
38664 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38665 <limits.h> exists even on freestanding compilers. */
38667 #ifdef __STDC__
38668 # include <limits.h>
38669 #else
38670 # include <assert.h>
38671 #endif
38673 #undef $ac_func
38675 /* Override any gcc2 internal prototype to avoid an error. */
38676 #ifdef __cplusplus
38677 extern "C"
38679 #endif
38680 /* We use char because int might match the return type of a gcc2
38681 builtin and then its argument prototype would still apply. */
38682 char $ac_func ();
38683 /* The GNU C library defines this for functions which it implements
38684 to always fail with ENOSYS. Some functions are actually named
38685 something starting with __ and the normal name is an alias. */
38686 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38687 choke me
38688 #else
38689 char (*f) () = $ac_func;
38690 #endif
38691 #ifdef __cplusplus
38693 #endif
38696 main ()
38698 return f != $ac_func;
38700 return 0;
38702 _ACEOF
38703 rm -f conftest.$ac_objext conftest$ac_exeext
38704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38705 (eval $ac_link) 2>conftest.er1
38706 ac_status=$?
38707 grep -v '^ *+' conftest.er1 >conftest.err
38708 rm -f conftest.er1
38709 cat conftest.err >&5
38710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38711 (exit $ac_status); } &&
38712 { ac_try='test -z "$ac_c_werror_flag"
38713 || test ! -s conftest.err'
38714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38715 (eval $ac_try) 2>&5
38716 ac_status=$?
38717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38718 (exit $ac_status); }; } &&
38719 { ac_try='test -s conftest$ac_exeext'
38720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38721 (eval $ac_try) 2>&5
38722 ac_status=$?
38723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38724 (exit $ac_status); }; }; then
38725 eval "$as_ac_var=yes"
38726 else
38727 echo "$as_me: failed program was:" >&5
38728 sed 's/^/| /' conftest.$ac_ext >&5
38730 eval "$as_ac_var=no"
38732 rm -f conftest.err conftest.$ac_objext \
38733 conftest$ac_exeext conftest.$ac_ext
38735 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38736 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38737 if test `eval echo '${'$as_ac_var'}'` = yes; then
38738 cat >>confdefs.h <<_ACEOF
38739 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38740 _ACEOF
38743 done
38745 else
38747 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
38748 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
38749 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
38750 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
38751 echo $ECHO_N "(cached) $ECHO_C" >&6
38752 else
38756 ac_ext=cc
38757 ac_cpp='$CXXCPP $CPPFLAGS'
38758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38762 cat >conftest.$ac_ext <<_ACEOF
38763 /* confdefs.h. */
38764 _ACEOF
38765 cat confdefs.h >>conftest.$ac_ext
38766 cat >>conftest.$ac_ext <<_ACEOF
38767 /* end confdefs.h. */
38768 #include <math.h>
38769 #ifdef HAVE_IEEEFP_H
38770 #include <ieeefp.h>
38771 #endif
38774 main ()
38776 _log10f(0);
38778 return 0;
38780 _ACEOF
38781 rm -f conftest.$ac_objext
38782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38783 (eval $ac_compile) 2>conftest.er1
38784 ac_status=$?
38785 grep -v '^ *+' conftest.er1 >conftest.err
38786 rm -f conftest.er1
38787 cat conftest.err >&5
38788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38789 (exit $ac_status); } &&
38790 { ac_try='test -z "$ac_cxx_werror_flag"
38791 || test ! -s conftest.err'
38792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38793 (eval $ac_try) 2>&5
38794 ac_status=$?
38795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38796 (exit $ac_status); }; } &&
38797 { ac_try='test -s conftest.$ac_objext'
38798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38799 (eval $ac_try) 2>&5
38800 ac_status=$?
38801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38802 (exit $ac_status); }; }; then
38803 glibcxx_cv_func__log10f_use=yes
38804 else
38805 echo "$as_me: failed program was:" >&5
38806 sed 's/^/| /' conftest.$ac_ext >&5
38808 glibcxx_cv_func__log10f_use=no
38810 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38811 ac_ext=c
38812 ac_cpp='$CPP $CPPFLAGS'
38813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38821 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
38822 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
38824 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
38826 for ac_func in _log10f
38828 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38829 echo "$as_me:$LINENO: checking for $ac_func" >&5
38830 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38831 if eval "test \"\${$as_ac_var+set}\" = set"; then
38832 echo $ECHO_N "(cached) $ECHO_C" >&6
38833 else
38834 if test x$gcc_no_link = xyes; then
38835 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38836 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38837 { (exit 1); exit 1; }; }
38839 cat >conftest.$ac_ext <<_ACEOF
38840 /* confdefs.h. */
38841 _ACEOF
38842 cat confdefs.h >>conftest.$ac_ext
38843 cat >>conftest.$ac_ext <<_ACEOF
38844 /* end confdefs.h. */
38845 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38846 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38847 #define $ac_func innocuous_$ac_func
38849 /* System header to define __stub macros and hopefully few prototypes,
38850 which can conflict with char $ac_func (); below.
38851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38852 <limits.h> exists even on freestanding compilers. */
38854 #ifdef __STDC__
38855 # include <limits.h>
38856 #else
38857 # include <assert.h>
38858 #endif
38860 #undef $ac_func
38862 /* Override any gcc2 internal prototype to avoid an error. */
38863 #ifdef __cplusplus
38864 extern "C"
38866 #endif
38867 /* We use char because int might match the return type of a gcc2
38868 builtin and then its argument prototype would still apply. */
38869 char $ac_func ();
38870 /* The GNU C library defines this for functions which it implements
38871 to always fail with ENOSYS. Some functions are actually named
38872 something starting with __ and the normal name is an alias. */
38873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38874 choke me
38875 #else
38876 char (*f) () = $ac_func;
38877 #endif
38878 #ifdef __cplusplus
38880 #endif
38883 main ()
38885 return f != $ac_func;
38887 return 0;
38889 _ACEOF
38890 rm -f conftest.$ac_objext conftest$ac_exeext
38891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38892 (eval $ac_link) 2>conftest.er1
38893 ac_status=$?
38894 grep -v '^ *+' conftest.er1 >conftest.err
38895 rm -f conftest.er1
38896 cat conftest.err >&5
38897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38898 (exit $ac_status); } &&
38899 { ac_try='test -z "$ac_c_werror_flag"
38900 || test ! -s conftest.err'
38901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38902 (eval $ac_try) 2>&5
38903 ac_status=$?
38904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38905 (exit $ac_status); }; } &&
38906 { ac_try='test -s conftest$ac_exeext'
38907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38908 (eval $ac_try) 2>&5
38909 ac_status=$?
38910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38911 (exit $ac_status); }; }; then
38912 eval "$as_ac_var=yes"
38913 else
38914 echo "$as_me: failed program was:" >&5
38915 sed 's/^/| /' conftest.$ac_ext >&5
38917 eval "$as_ac_var=no"
38919 rm -f conftest.err conftest.$ac_objext \
38920 conftest$ac_exeext conftest.$ac_ext
38922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38923 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38924 if test `eval echo '${'$as_ac_var'}'` = yes; then
38925 cat >>confdefs.h <<_ACEOF
38926 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38927 _ACEOF
38930 done
38937 echo "$as_me:$LINENO: checking for modff declaration" >&5
38938 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
38939 if test x${glibcxx_cv_func_modff_use+set} != xset; then
38940 if test "${glibcxx_cv_func_modff_use+set}" = set; then
38941 echo $ECHO_N "(cached) $ECHO_C" >&6
38942 else
38946 ac_ext=cc
38947 ac_cpp='$CXXCPP $CPPFLAGS'
38948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38952 cat >conftest.$ac_ext <<_ACEOF
38953 /* confdefs.h. */
38954 _ACEOF
38955 cat confdefs.h >>conftest.$ac_ext
38956 cat >>conftest.$ac_ext <<_ACEOF
38957 /* end confdefs.h. */
38958 #include <math.h>
38960 main ()
38962 modff(0, 0);
38964 return 0;
38966 _ACEOF
38967 rm -f conftest.$ac_objext
38968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38969 (eval $ac_compile) 2>conftest.er1
38970 ac_status=$?
38971 grep -v '^ *+' conftest.er1 >conftest.err
38972 rm -f conftest.er1
38973 cat conftest.err >&5
38974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38975 (exit $ac_status); } &&
38976 { ac_try='test -z "$ac_cxx_werror_flag"
38977 || test ! -s conftest.err'
38978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38979 (eval $ac_try) 2>&5
38980 ac_status=$?
38981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38982 (exit $ac_status); }; } &&
38983 { ac_try='test -s conftest.$ac_objext'
38984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38985 (eval $ac_try) 2>&5
38986 ac_status=$?
38987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38988 (exit $ac_status); }; }; then
38989 glibcxx_cv_func_modff_use=yes
38990 else
38991 echo "$as_me: failed program was:" >&5
38992 sed 's/^/| /' conftest.$ac_ext >&5
38994 glibcxx_cv_func_modff_use=no
38996 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38997 ac_ext=c
38998 ac_cpp='$CPP $CPPFLAGS'
38999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39007 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
39008 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
39010 if test x$glibcxx_cv_func_modff_use = x"yes"; then
39012 for ac_func in modff
39014 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39015 echo "$as_me:$LINENO: checking for $ac_func" >&5
39016 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39017 if eval "test \"\${$as_ac_var+set}\" = set"; then
39018 echo $ECHO_N "(cached) $ECHO_C" >&6
39019 else
39020 if test x$gcc_no_link = xyes; then
39021 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39022 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39023 { (exit 1); exit 1; }; }
39025 cat >conftest.$ac_ext <<_ACEOF
39026 /* confdefs.h. */
39027 _ACEOF
39028 cat confdefs.h >>conftest.$ac_ext
39029 cat >>conftest.$ac_ext <<_ACEOF
39030 /* end confdefs.h. */
39031 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39032 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39033 #define $ac_func innocuous_$ac_func
39035 /* System header to define __stub macros and hopefully few prototypes,
39036 which can conflict with char $ac_func (); below.
39037 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39038 <limits.h> exists even on freestanding compilers. */
39040 #ifdef __STDC__
39041 # include <limits.h>
39042 #else
39043 # include <assert.h>
39044 #endif
39046 #undef $ac_func
39048 /* Override any gcc2 internal prototype to avoid an error. */
39049 #ifdef __cplusplus
39050 extern "C"
39052 #endif
39053 /* We use char because int might match the return type of a gcc2
39054 builtin and then its argument prototype would still apply. */
39055 char $ac_func ();
39056 /* The GNU C library defines this for functions which it implements
39057 to always fail with ENOSYS. Some functions are actually named
39058 something starting with __ and the normal name is an alias. */
39059 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39060 choke me
39061 #else
39062 char (*f) () = $ac_func;
39063 #endif
39064 #ifdef __cplusplus
39066 #endif
39069 main ()
39071 return f != $ac_func;
39073 return 0;
39075 _ACEOF
39076 rm -f conftest.$ac_objext conftest$ac_exeext
39077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39078 (eval $ac_link) 2>conftest.er1
39079 ac_status=$?
39080 grep -v '^ *+' conftest.er1 >conftest.err
39081 rm -f conftest.er1
39082 cat conftest.err >&5
39083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39084 (exit $ac_status); } &&
39085 { ac_try='test -z "$ac_c_werror_flag"
39086 || test ! -s conftest.err'
39087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39088 (eval $ac_try) 2>&5
39089 ac_status=$?
39090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39091 (exit $ac_status); }; } &&
39092 { ac_try='test -s conftest$ac_exeext'
39093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39094 (eval $ac_try) 2>&5
39095 ac_status=$?
39096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39097 (exit $ac_status); }; }; then
39098 eval "$as_ac_var=yes"
39099 else
39100 echo "$as_me: failed program was:" >&5
39101 sed 's/^/| /' conftest.$ac_ext >&5
39103 eval "$as_ac_var=no"
39105 rm -f conftest.err conftest.$ac_objext \
39106 conftest$ac_exeext conftest.$ac_ext
39108 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39109 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39110 if test `eval echo '${'$as_ac_var'}'` = yes; then
39111 cat >>confdefs.h <<_ACEOF
39112 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39113 _ACEOF
39116 done
39118 else
39120 echo "$as_me:$LINENO: checking for _modff declaration" >&5
39121 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
39122 if test x${glibcxx_cv_func__modff_use+set} != xset; then
39123 if test "${glibcxx_cv_func__modff_use+set}" = set; then
39124 echo $ECHO_N "(cached) $ECHO_C" >&6
39125 else
39129 ac_ext=cc
39130 ac_cpp='$CXXCPP $CPPFLAGS'
39131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39135 cat >conftest.$ac_ext <<_ACEOF
39136 /* confdefs.h. */
39137 _ACEOF
39138 cat confdefs.h >>conftest.$ac_ext
39139 cat >>conftest.$ac_ext <<_ACEOF
39140 /* end confdefs.h. */
39141 #include <math.h>
39143 main ()
39145 _modff(0, 0);
39147 return 0;
39149 _ACEOF
39150 rm -f conftest.$ac_objext
39151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39152 (eval $ac_compile) 2>conftest.er1
39153 ac_status=$?
39154 grep -v '^ *+' conftest.er1 >conftest.err
39155 rm -f conftest.er1
39156 cat conftest.err >&5
39157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39158 (exit $ac_status); } &&
39159 { ac_try='test -z "$ac_cxx_werror_flag"
39160 || test ! -s conftest.err'
39161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39162 (eval $ac_try) 2>&5
39163 ac_status=$?
39164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39165 (exit $ac_status); }; } &&
39166 { ac_try='test -s conftest.$ac_objext'
39167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39168 (eval $ac_try) 2>&5
39169 ac_status=$?
39170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39171 (exit $ac_status); }; }; then
39172 glibcxx_cv_func__modff_use=yes
39173 else
39174 echo "$as_me: failed program was:" >&5
39175 sed 's/^/| /' conftest.$ac_ext >&5
39177 glibcxx_cv_func__modff_use=no
39179 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39180 ac_ext=c
39181 ac_cpp='$CPP $CPPFLAGS'
39182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39190 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
39191 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
39193 if test x$glibcxx_cv_func__modff_use = x"yes"; then
39195 for ac_func in _modff
39197 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39198 echo "$as_me:$LINENO: checking for $ac_func" >&5
39199 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39200 if eval "test \"\${$as_ac_var+set}\" = set"; then
39201 echo $ECHO_N "(cached) $ECHO_C" >&6
39202 else
39203 if test x$gcc_no_link = xyes; then
39204 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39205 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39206 { (exit 1); exit 1; }; }
39208 cat >conftest.$ac_ext <<_ACEOF
39209 /* confdefs.h. */
39210 _ACEOF
39211 cat confdefs.h >>conftest.$ac_ext
39212 cat >>conftest.$ac_ext <<_ACEOF
39213 /* end confdefs.h. */
39214 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39215 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39216 #define $ac_func innocuous_$ac_func
39218 /* System header to define __stub macros and hopefully few prototypes,
39219 which can conflict with char $ac_func (); below.
39220 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39221 <limits.h> exists even on freestanding compilers. */
39223 #ifdef __STDC__
39224 # include <limits.h>
39225 #else
39226 # include <assert.h>
39227 #endif
39229 #undef $ac_func
39231 /* Override any gcc2 internal prototype to avoid an error. */
39232 #ifdef __cplusplus
39233 extern "C"
39235 #endif
39236 /* We use char because int might match the return type of a gcc2
39237 builtin and then its argument prototype would still apply. */
39238 char $ac_func ();
39239 /* The GNU C library defines this for functions which it implements
39240 to always fail with ENOSYS. Some functions are actually named
39241 something starting with __ and the normal name is an alias. */
39242 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39243 choke me
39244 #else
39245 char (*f) () = $ac_func;
39246 #endif
39247 #ifdef __cplusplus
39249 #endif
39252 main ()
39254 return f != $ac_func;
39256 return 0;
39258 _ACEOF
39259 rm -f conftest.$ac_objext conftest$ac_exeext
39260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39261 (eval $ac_link) 2>conftest.er1
39262 ac_status=$?
39263 grep -v '^ *+' conftest.er1 >conftest.err
39264 rm -f conftest.er1
39265 cat conftest.err >&5
39266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39267 (exit $ac_status); } &&
39268 { ac_try='test -z "$ac_c_werror_flag"
39269 || test ! -s conftest.err'
39270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39271 (eval $ac_try) 2>&5
39272 ac_status=$?
39273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39274 (exit $ac_status); }; } &&
39275 { ac_try='test -s conftest$ac_exeext'
39276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39277 (eval $ac_try) 2>&5
39278 ac_status=$?
39279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39280 (exit $ac_status); }; }; then
39281 eval "$as_ac_var=yes"
39282 else
39283 echo "$as_me: failed program was:" >&5
39284 sed 's/^/| /' conftest.$ac_ext >&5
39286 eval "$as_ac_var=no"
39288 rm -f conftest.err conftest.$ac_objext \
39289 conftest$ac_exeext conftest.$ac_ext
39291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39292 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39293 if test `eval echo '${'$as_ac_var'}'` = yes; then
39294 cat >>confdefs.h <<_ACEOF
39295 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39296 _ACEOF
39299 done
39306 echo "$as_me:$LINENO: checking for powf declaration" >&5
39307 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
39308 if test x${glibcxx_cv_func_powf_use+set} != xset; then
39309 if test "${glibcxx_cv_func_powf_use+set}" = set; then
39310 echo $ECHO_N "(cached) $ECHO_C" >&6
39311 else
39315 ac_ext=cc
39316 ac_cpp='$CXXCPP $CPPFLAGS'
39317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39321 cat >conftest.$ac_ext <<_ACEOF
39322 /* confdefs.h. */
39323 _ACEOF
39324 cat confdefs.h >>conftest.$ac_ext
39325 cat >>conftest.$ac_ext <<_ACEOF
39326 /* end confdefs.h. */
39327 #include <math.h>
39329 main ()
39331 powf(0, 0);
39333 return 0;
39335 _ACEOF
39336 rm -f conftest.$ac_objext
39337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39338 (eval $ac_compile) 2>conftest.er1
39339 ac_status=$?
39340 grep -v '^ *+' conftest.er1 >conftest.err
39341 rm -f conftest.er1
39342 cat conftest.err >&5
39343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39344 (exit $ac_status); } &&
39345 { ac_try='test -z "$ac_cxx_werror_flag"
39346 || test ! -s conftest.err'
39347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39348 (eval $ac_try) 2>&5
39349 ac_status=$?
39350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39351 (exit $ac_status); }; } &&
39352 { ac_try='test -s conftest.$ac_objext'
39353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39354 (eval $ac_try) 2>&5
39355 ac_status=$?
39356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39357 (exit $ac_status); }; }; then
39358 glibcxx_cv_func_powf_use=yes
39359 else
39360 echo "$as_me: failed program was:" >&5
39361 sed 's/^/| /' conftest.$ac_ext >&5
39363 glibcxx_cv_func_powf_use=no
39365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39366 ac_ext=c
39367 ac_cpp='$CPP $CPPFLAGS'
39368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39376 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
39377 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
39379 if test x$glibcxx_cv_func_powf_use = x"yes"; then
39381 for ac_func in powf
39383 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39384 echo "$as_me:$LINENO: checking for $ac_func" >&5
39385 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39386 if eval "test \"\${$as_ac_var+set}\" = set"; then
39387 echo $ECHO_N "(cached) $ECHO_C" >&6
39388 else
39389 if test x$gcc_no_link = xyes; then
39390 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39391 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39392 { (exit 1); exit 1; }; }
39394 cat >conftest.$ac_ext <<_ACEOF
39395 /* confdefs.h. */
39396 _ACEOF
39397 cat confdefs.h >>conftest.$ac_ext
39398 cat >>conftest.$ac_ext <<_ACEOF
39399 /* end confdefs.h. */
39400 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39401 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39402 #define $ac_func innocuous_$ac_func
39404 /* System header to define __stub macros and hopefully few prototypes,
39405 which can conflict with char $ac_func (); below.
39406 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39407 <limits.h> exists even on freestanding compilers. */
39409 #ifdef __STDC__
39410 # include <limits.h>
39411 #else
39412 # include <assert.h>
39413 #endif
39415 #undef $ac_func
39417 /* Override any gcc2 internal prototype to avoid an error. */
39418 #ifdef __cplusplus
39419 extern "C"
39421 #endif
39422 /* We use char because int might match the return type of a gcc2
39423 builtin and then its argument prototype would still apply. */
39424 char $ac_func ();
39425 /* The GNU C library defines this for functions which it implements
39426 to always fail with ENOSYS. Some functions are actually named
39427 something starting with __ and the normal name is an alias. */
39428 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39429 choke me
39430 #else
39431 char (*f) () = $ac_func;
39432 #endif
39433 #ifdef __cplusplus
39435 #endif
39438 main ()
39440 return f != $ac_func;
39442 return 0;
39444 _ACEOF
39445 rm -f conftest.$ac_objext conftest$ac_exeext
39446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39447 (eval $ac_link) 2>conftest.er1
39448 ac_status=$?
39449 grep -v '^ *+' conftest.er1 >conftest.err
39450 rm -f conftest.er1
39451 cat conftest.err >&5
39452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39453 (exit $ac_status); } &&
39454 { ac_try='test -z "$ac_c_werror_flag"
39455 || test ! -s conftest.err'
39456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39457 (eval $ac_try) 2>&5
39458 ac_status=$?
39459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39460 (exit $ac_status); }; } &&
39461 { ac_try='test -s conftest$ac_exeext'
39462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39463 (eval $ac_try) 2>&5
39464 ac_status=$?
39465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39466 (exit $ac_status); }; }; then
39467 eval "$as_ac_var=yes"
39468 else
39469 echo "$as_me: failed program was:" >&5
39470 sed 's/^/| /' conftest.$ac_ext >&5
39472 eval "$as_ac_var=no"
39474 rm -f conftest.err conftest.$ac_objext \
39475 conftest$ac_exeext conftest.$ac_ext
39477 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39478 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39479 if test `eval echo '${'$as_ac_var'}'` = yes; then
39480 cat >>confdefs.h <<_ACEOF
39481 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39482 _ACEOF
39485 done
39487 else
39489 echo "$as_me:$LINENO: checking for _powf declaration" >&5
39490 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
39491 if test x${glibcxx_cv_func__powf_use+set} != xset; then
39492 if test "${glibcxx_cv_func__powf_use+set}" = set; then
39493 echo $ECHO_N "(cached) $ECHO_C" >&6
39494 else
39498 ac_ext=cc
39499 ac_cpp='$CXXCPP $CPPFLAGS'
39500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39504 cat >conftest.$ac_ext <<_ACEOF
39505 /* confdefs.h. */
39506 _ACEOF
39507 cat confdefs.h >>conftest.$ac_ext
39508 cat >>conftest.$ac_ext <<_ACEOF
39509 /* end confdefs.h. */
39510 #include <math.h>
39512 main ()
39514 _powf(0, 0);
39516 return 0;
39518 _ACEOF
39519 rm -f conftest.$ac_objext
39520 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39521 (eval $ac_compile) 2>conftest.er1
39522 ac_status=$?
39523 grep -v '^ *+' conftest.er1 >conftest.err
39524 rm -f conftest.er1
39525 cat conftest.err >&5
39526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39527 (exit $ac_status); } &&
39528 { ac_try='test -z "$ac_cxx_werror_flag"
39529 || test ! -s conftest.err'
39530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39531 (eval $ac_try) 2>&5
39532 ac_status=$?
39533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39534 (exit $ac_status); }; } &&
39535 { ac_try='test -s conftest.$ac_objext'
39536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39537 (eval $ac_try) 2>&5
39538 ac_status=$?
39539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39540 (exit $ac_status); }; }; then
39541 glibcxx_cv_func__powf_use=yes
39542 else
39543 echo "$as_me: failed program was:" >&5
39544 sed 's/^/| /' conftest.$ac_ext >&5
39546 glibcxx_cv_func__powf_use=no
39548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39549 ac_ext=c
39550 ac_cpp='$CPP $CPPFLAGS'
39551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39559 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
39560 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
39562 if test x$glibcxx_cv_func__powf_use = x"yes"; then
39564 for ac_func in _powf
39566 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39567 echo "$as_me:$LINENO: checking for $ac_func" >&5
39568 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39569 if eval "test \"\${$as_ac_var+set}\" = set"; then
39570 echo $ECHO_N "(cached) $ECHO_C" >&6
39571 else
39572 if test x$gcc_no_link = xyes; then
39573 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39574 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39575 { (exit 1); exit 1; }; }
39577 cat >conftest.$ac_ext <<_ACEOF
39578 /* confdefs.h. */
39579 _ACEOF
39580 cat confdefs.h >>conftest.$ac_ext
39581 cat >>conftest.$ac_ext <<_ACEOF
39582 /* end confdefs.h. */
39583 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39584 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39585 #define $ac_func innocuous_$ac_func
39587 /* System header to define __stub macros and hopefully few prototypes,
39588 which can conflict with char $ac_func (); below.
39589 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39590 <limits.h> exists even on freestanding compilers. */
39592 #ifdef __STDC__
39593 # include <limits.h>
39594 #else
39595 # include <assert.h>
39596 #endif
39598 #undef $ac_func
39600 /* Override any gcc2 internal prototype to avoid an error. */
39601 #ifdef __cplusplus
39602 extern "C"
39604 #endif
39605 /* We use char because int might match the return type of a gcc2
39606 builtin and then its argument prototype would still apply. */
39607 char $ac_func ();
39608 /* The GNU C library defines this for functions which it implements
39609 to always fail with ENOSYS. Some functions are actually named
39610 something starting with __ and the normal name is an alias. */
39611 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39612 choke me
39613 #else
39614 char (*f) () = $ac_func;
39615 #endif
39616 #ifdef __cplusplus
39618 #endif
39621 main ()
39623 return f != $ac_func;
39625 return 0;
39627 _ACEOF
39628 rm -f conftest.$ac_objext conftest$ac_exeext
39629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39630 (eval $ac_link) 2>conftest.er1
39631 ac_status=$?
39632 grep -v '^ *+' conftest.er1 >conftest.err
39633 rm -f conftest.er1
39634 cat conftest.err >&5
39635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39636 (exit $ac_status); } &&
39637 { ac_try='test -z "$ac_c_werror_flag"
39638 || test ! -s conftest.err'
39639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39640 (eval $ac_try) 2>&5
39641 ac_status=$?
39642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39643 (exit $ac_status); }; } &&
39644 { ac_try='test -s conftest$ac_exeext'
39645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39646 (eval $ac_try) 2>&5
39647 ac_status=$?
39648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39649 (exit $ac_status); }; }; then
39650 eval "$as_ac_var=yes"
39651 else
39652 echo "$as_me: failed program was:" >&5
39653 sed 's/^/| /' conftest.$ac_ext >&5
39655 eval "$as_ac_var=no"
39657 rm -f conftest.err conftest.$ac_objext \
39658 conftest$ac_exeext conftest.$ac_ext
39660 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39661 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39662 if test `eval echo '${'$as_ac_var'}'` = yes; then
39663 cat >>confdefs.h <<_ACEOF
39664 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39665 _ACEOF
39668 done
39675 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
39676 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
39677 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
39678 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
39679 echo $ECHO_N "(cached) $ECHO_C" >&6
39680 else
39684 ac_ext=cc
39685 ac_cpp='$CXXCPP $CPPFLAGS'
39686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39690 cat >conftest.$ac_ext <<_ACEOF
39691 /* confdefs.h. */
39692 _ACEOF
39693 cat confdefs.h >>conftest.$ac_ext
39694 cat >>conftest.$ac_ext <<_ACEOF
39695 /* end confdefs.h. */
39696 #include <math.h>
39697 #ifdef HAVE_IEEEFP_H
39698 #include <ieeefp.h>
39699 #endif
39702 main ()
39704 sqrtf(0);
39706 return 0;
39708 _ACEOF
39709 rm -f conftest.$ac_objext
39710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39711 (eval $ac_compile) 2>conftest.er1
39712 ac_status=$?
39713 grep -v '^ *+' conftest.er1 >conftest.err
39714 rm -f conftest.er1
39715 cat conftest.err >&5
39716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39717 (exit $ac_status); } &&
39718 { ac_try='test -z "$ac_cxx_werror_flag"
39719 || test ! -s conftest.err'
39720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39721 (eval $ac_try) 2>&5
39722 ac_status=$?
39723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39724 (exit $ac_status); }; } &&
39725 { ac_try='test -s conftest.$ac_objext'
39726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39727 (eval $ac_try) 2>&5
39728 ac_status=$?
39729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39730 (exit $ac_status); }; }; then
39731 glibcxx_cv_func_sqrtf_use=yes
39732 else
39733 echo "$as_me: failed program was:" >&5
39734 sed 's/^/| /' conftest.$ac_ext >&5
39736 glibcxx_cv_func_sqrtf_use=no
39738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39739 ac_ext=c
39740 ac_cpp='$CPP $CPPFLAGS'
39741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39749 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
39750 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
39752 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
39754 for ac_func in sqrtf
39756 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39757 echo "$as_me:$LINENO: checking for $ac_func" >&5
39758 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39759 if eval "test \"\${$as_ac_var+set}\" = set"; then
39760 echo $ECHO_N "(cached) $ECHO_C" >&6
39761 else
39762 if test x$gcc_no_link = xyes; then
39763 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39764 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39765 { (exit 1); exit 1; }; }
39767 cat >conftest.$ac_ext <<_ACEOF
39768 /* confdefs.h. */
39769 _ACEOF
39770 cat confdefs.h >>conftest.$ac_ext
39771 cat >>conftest.$ac_ext <<_ACEOF
39772 /* end confdefs.h. */
39773 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39774 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39775 #define $ac_func innocuous_$ac_func
39777 /* System header to define __stub macros and hopefully few prototypes,
39778 which can conflict with char $ac_func (); below.
39779 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39780 <limits.h> exists even on freestanding compilers. */
39782 #ifdef __STDC__
39783 # include <limits.h>
39784 #else
39785 # include <assert.h>
39786 #endif
39788 #undef $ac_func
39790 /* Override any gcc2 internal prototype to avoid an error. */
39791 #ifdef __cplusplus
39792 extern "C"
39794 #endif
39795 /* We use char because int might match the return type of a gcc2
39796 builtin and then its argument prototype would still apply. */
39797 char $ac_func ();
39798 /* The GNU C library defines this for functions which it implements
39799 to always fail with ENOSYS. Some functions are actually named
39800 something starting with __ and the normal name is an alias. */
39801 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39802 choke me
39803 #else
39804 char (*f) () = $ac_func;
39805 #endif
39806 #ifdef __cplusplus
39808 #endif
39811 main ()
39813 return f != $ac_func;
39815 return 0;
39817 _ACEOF
39818 rm -f conftest.$ac_objext conftest$ac_exeext
39819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39820 (eval $ac_link) 2>conftest.er1
39821 ac_status=$?
39822 grep -v '^ *+' conftest.er1 >conftest.err
39823 rm -f conftest.er1
39824 cat conftest.err >&5
39825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39826 (exit $ac_status); } &&
39827 { ac_try='test -z "$ac_c_werror_flag"
39828 || test ! -s conftest.err'
39829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39830 (eval $ac_try) 2>&5
39831 ac_status=$?
39832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39833 (exit $ac_status); }; } &&
39834 { ac_try='test -s conftest$ac_exeext'
39835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39836 (eval $ac_try) 2>&5
39837 ac_status=$?
39838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39839 (exit $ac_status); }; }; then
39840 eval "$as_ac_var=yes"
39841 else
39842 echo "$as_me: failed program was:" >&5
39843 sed 's/^/| /' conftest.$ac_ext >&5
39845 eval "$as_ac_var=no"
39847 rm -f conftest.err conftest.$ac_objext \
39848 conftest$ac_exeext conftest.$ac_ext
39850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39851 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39852 if test `eval echo '${'$as_ac_var'}'` = yes; then
39853 cat >>confdefs.h <<_ACEOF
39854 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39855 _ACEOF
39858 done
39860 else
39862 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
39863 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
39864 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
39865 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
39866 echo $ECHO_N "(cached) $ECHO_C" >&6
39867 else
39871 ac_ext=cc
39872 ac_cpp='$CXXCPP $CPPFLAGS'
39873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
39884 #ifdef HAVE_IEEEFP_H
39885 #include <ieeefp.h>
39886 #endif
39889 main ()
39891 _sqrtf(0);
39893 return 0;
39895 _ACEOF
39896 rm -f conftest.$ac_objext
39897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39898 (eval $ac_compile) 2>conftest.er1
39899 ac_status=$?
39900 grep -v '^ *+' conftest.er1 >conftest.err
39901 rm -f conftest.er1
39902 cat conftest.err >&5
39903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39904 (exit $ac_status); } &&
39905 { ac_try='test -z "$ac_cxx_werror_flag"
39906 || test ! -s conftest.err'
39907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39908 (eval $ac_try) 2>&5
39909 ac_status=$?
39910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39911 (exit $ac_status); }; } &&
39912 { ac_try='test -s conftest.$ac_objext'
39913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39914 (eval $ac_try) 2>&5
39915 ac_status=$?
39916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39917 (exit $ac_status); }; }; then
39918 glibcxx_cv_func__sqrtf_use=yes
39919 else
39920 echo "$as_me: failed program was:" >&5
39921 sed 's/^/| /' conftest.$ac_ext >&5
39923 glibcxx_cv_func__sqrtf_use=no
39925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39926 ac_ext=c
39927 ac_cpp='$CPP $CPPFLAGS'
39928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39936 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
39937 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
39939 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
39941 for ac_func in _sqrtf
39943 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39944 echo "$as_me:$LINENO: checking for $ac_func" >&5
39945 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39946 if eval "test \"\${$as_ac_var+set}\" = set"; then
39947 echo $ECHO_N "(cached) $ECHO_C" >&6
39948 else
39949 if test x$gcc_no_link = xyes; then
39950 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39952 { (exit 1); exit 1; }; }
39954 cat >conftest.$ac_ext <<_ACEOF
39955 /* confdefs.h. */
39956 _ACEOF
39957 cat confdefs.h >>conftest.$ac_ext
39958 cat >>conftest.$ac_ext <<_ACEOF
39959 /* end confdefs.h. */
39960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39962 #define $ac_func innocuous_$ac_func
39964 /* System header to define __stub macros and hopefully few prototypes,
39965 which can conflict with char $ac_func (); below.
39966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39967 <limits.h> exists even on freestanding compilers. */
39969 #ifdef __STDC__
39970 # include <limits.h>
39971 #else
39972 # include <assert.h>
39973 #endif
39975 #undef $ac_func
39977 /* Override any gcc2 internal prototype to avoid an error. */
39978 #ifdef __cplusplus
39979 extern "C"
39981 #endif
39982 /* We use char because int might match the return type of a gcc2
39983 builtin and then its argument prototype would still apply. */
39984 char $ac_func ();
39985 /* The GNU C library defines this for functions which it implements
39986 to always fail with ENOSYS. Some functions are actually named
39987 something starting with __ and the normal name is an alias. */
39988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39989 choke me
39990 #else
39991 char (*f) () = $ac_func;
39992 #endif
39993 #ifdef __cplusplus
39995 #endif
39998 main ()
40000 return f != $ac_func;
40002 return 0;
40004 _ACEOF
40005 rm -f conftest.$ac_objext conftest$ac_exeext
40006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40007 (eval $ac_link) 2>conftest.er1
40008 ac_status=$?
40009 grep -v '^ *+' conftest.er1 >conftest.err
40010 rm -f conftest.er1
40011 cat conftest.err >&5
40012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40013 (exit $ac_status); } &&
40014 { ac_try='test -z "$ac_c_werror_flag"
40015 || test ! -s conftest.err'
40016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40017 (eval $ac_try) 2>&5
40018 ac_status=$?
40019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40020 (exit $ac_status); }; } &&
40021 { ac_try='test -s conftest$ac_exeext'
40022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40023 (eval $ac_try) 2>&5
40024 ac_status=$?
40025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40026 (exit $ac_status); }; }; then
40027 eval "$as_ac_var=yes"
40028 else
40029 echo "$as_me: failed program was:" >&5
40030 sed 's/^/| /' conftest.$ac_ext >&5
40032 eval "$as_ac_var=no"
40034 rm -f conftest.err conftest.$ac_objext \
40035 conftest$ac_exeext conftest.$ac_ext
40037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40038 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40039 if test `eval echo '${'$as_ac_var'}'` = yes; then
40040 cat >>confdefs.h <<_ACEOF
40041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40042 _ACEOF
40045 done
40052 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
40053 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
40054 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
40055 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
40056 echo $ECHO_N "(cached) $ECHO_C" >&6
40057 else
40061 ac_ext=cc
40062 ac_cpp='$CXXCPP $CPPFLAGS'
40063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40067 cat >conftest.$ac_ext <<_ACEOF
40068 /* confdefs.h. */
40069 _ACEOF
40070 cat confdefs.h >>conftest.$ac_ext
40071 cat >>conftest.$ac_ext <<_ACEOF
40072 /* end confdefs.h. */
40073 #include <math.h>
40075 main ()
40077 sincosf(0, 0, 0);
40079 return 0;
40081 _ACEOF
40082 rm -f conftest.$ac_objext
40083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40084 (eval $ac_compile) 2>conftest.er1
40085 ac_status=$?
40086 grep -v '^ *+' conftest.er1 >conftest.err
40087 rm -f conftest.er1
40088 cat conftest.err >&5
40089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40090 (exit $ac_status); } &&
40091 { ac_try='test -z "$ac_cxx_werror_flag"
40092 || test ! -s conftest.err'
40093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40094 (eval $ac_try) 2>&5
40095 ac_status=$?
40096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40097 (exit $ac_status); }; } &&
40098 { ac_try='test -s conftest.$ac_objext'
40099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40100 (eval $ac_try) 2>&5
40101 ac_status=$?
40102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40103 (exit $ac_status); }; }; then
40104 glibcxx_cv_func_sincosf_use=yes
40105 else
40106 echo "$as_me: failed program was:" >&5
40107 sed 's/^/| /' conftest.$ac_ext >&5
40109 glibcxx_cv_func_sincosf_use=no
40111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40112 ac_ext=c
40113 ac_cpp='$CPP $CPPFLAGS'
40114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40122 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
40123 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
40125 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
40127 for ac_func in sincosf
40129 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40130 echo "$as_me:$LINENO: checking for $ac_func" >&5
40131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40132 if eval "test \"\${$as_ac_var+set}\" = set"; then
40133 echo $ECHO_N "(cached) $ECHO_C" >&6
40134 else
40135 if test x$gcc_no_link = xyes; then
40136 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40137 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40138 { (exit 1); exit 1; }; }
40140 cat >conftest.$ac_ext <<_ACEOF
40141 /* confdefs.h. */
40142 _ACEOF
40143 cat confdefs.h >>conftest.$ac_ext
40144 cat >>conftest.$ac_ext <<_ACEOF
40145 /* end confdefs.h. */
40146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40147 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40148 #define $ac_func innocuous_$ac_func
40150 /* System header to define __stub macros and hopefully few prototypes,
40151 which can conflict with char $ac_func (); below.
40152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40153 <limits.h> exists even on freestanding compilers. */
40155 #ifdef __STDC__
40156 # include <limits.h>
40157 #else
40158 # include <assert.h>
40159 #endif
40161 #undef $ac_func
40163 /* Override any gcc2 internal prototype to avoid an error. */
40164 #ifdef __cplusplus
40165 extern "C"
40167 #endif
40168 /* We use char because int might match the return type of a gcc2
40169 builtin and then its argument prototype would still apply. */
40170 char $ac_func ();
40171 /* The GNU C library defines this for functions which it implements
40172 to always fail with ENOSYS. Some functions are actually named
40173 something starting with __ and the normal name is an alias. */
40174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40175 choke me
40176 #else
40177 char (*f) () = $ac_func;
40178 #endif
40179 #ifdef __cplusplus
40181 #endif
40184 main ()
40186 return f != $ac_func;
40188 return 0;
40190 _ACEOF
40191 rm -f conftest.$ac_objext conftest$ac_exeext
40192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40193 (eval $ac_link) 2>conftest.er1
40194 ac_status=$?
40195 grep -v '^ *+' conftest.er1 >conftest.err
40196 rm -f conftest.er1
40197 cat conftest.err >&5
40198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40199 (exit $ac_status); } &&
40200 { ac_try='test -z "$ac_c_werror_flag"
40201 || test ! -s conftest.err'
40202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40203 (eval $ac_try) 2>&5
40204 ac_status=$?
40205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40206 (exit $ac_status); }; } &&
40207 { ac_try='test -s conftest$ac_exeext'
40208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40209 (eval $ac_try) 2>&5
40210 ac_status=$?
40211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40212 (exit $ac_status); }; }; then
40213 eval "$as_ac_var=yes"
40214 else
40215 echo "$as_me: failed program was:" >&5
40216 sed 's/^/| /' conftest.$ac_ext >&5
40218 eval "$as_ac_var=no"
40220 rm -f conftest.err conftest.$ac_objext \
40221 conftest$ac_exeext conftest.$ac_ext
40223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40225 if test `eval echo '${'$as_ac_var'}'` = yes; then
40226 cat >>confdefs.h <<_ACEOF
40227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40228 _ACEOF
40231 done
40233 else
40235 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
40236 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
40237 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
40238 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
40239 echo $ECHO_N "(cached) $ECHO_C" >&6
40240 else
40244 ac_ext=cc
40245 ac_cpp='$CXXCPP $CPPFLAGS'
40246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
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 #include <math.h>
40258 main ()
40260 _sincosf(0, 0, 0);
40262 return 0;
40264 _ACEOF
40265 rm -f conftest.$ac_objext
40266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40267 (eval $ac_compile) 2>conftest.er1
40268 ac_status=$?
40269 grep -v '^ *+' conftest.er1 >conftest.err
40270 rm -f conftest.er1
40271 cat conftest.err >&5
40272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40273 (exit $ac_status); } &&
40274 { ac_try='test -z "$ac_cxx_werror_flag"
40275 || test ! -s conftest.err'
40276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40277 (eval $ac_try) 2>&5
40278 ac_status=$?
40279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40280 (exit $ac_status); }; } &&
40281 { ac_try='test -s conftest.$ac_objext'
40282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40283 (eval $ac_try) 2>&5
40284 ac_status=$?
40285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40286 (exit $ac_status); }; }; then
40287 glibcxx_cv_func__sincosf_use=yes
40288 else
40289 echo "$as_me: failed program was:" >&5
40290 sed 's/^/| /' conftest.$ac_ext >&5
40292 glibcxx_cv_func__sincosf_use=no
40294 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40295 ac_ext=c
40296 ac_cpp='$CPP $CPPFLAGS'
40297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40305 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
40306 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
40308 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
40310 for ac_func in _sincosf
40312 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40313 echo "$as_me:$LINENO: checking for $ac_func" >&5
40314 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40315 if eval "test \"\${$as_ac_var+set}\" = set"; then
40316 echo $ECHO_N "(cached) $ECHO_C" >&6
40317 else
40318 if test x$gcc_no_link = xyes; then
40319 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40320 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40321 { (exit 1); exit 1; }; }
40323 cat >conftest.$ac_ext <<_ACEOF
40324 /* confdefs.h. */
40325 _ACEOF
40326 cat confdefs.h >>conftest.$ac_ext
40327 cat >>conftest.$ac_ext <<_ACEOF
40328 /* end confdefs.h. */
40329 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40330 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40331 #define $ac_func innocuous_$ac_func
40333 /* System header to define __stub macros and hopefully few prototypes,
40334 which can conflict with char $ac_func (); below.
40335 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40336 <limits.h> exists even on freestanding compilers. */
40338 #ifdef __STDC__
40339 # include <limits.h>
40340 #else
40341 # include <assert.h>
40342 #endif
40344 #undef $ac_func
40346 /* Override any gcc2 internal prototype to avoid an error. */
40347 #ifdef __cplusplus
40348 extern "C"
40350 #endif
40351 /* We use char because int might match the return type of a gcc2
40352 builtin and then its argument prototype would still apply. */
40353 char $ac_func ();
40354 /* The GNU C library defines this for functions which it implements
40355 to always fail with ENOSYS. Some functions are actually named
40356 something starting with __ and the normal name is an alias. */
40357 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40358 choke me
40359 #else
40360 char (*f) () = $ac_func;
40361 #endif
40362 #ifdef __cplusplus
40364 #endif
40367 main ()
40369 return f != $ac_func;
40371 return 0;
40373 _ACEOF
40374 rm -f conftest.$ac_objext conftest$ac_exeext
40375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40376 (eval $ac_link) 2>conftest.er1
40377 ac_status=$?
40378 grep -v '^ *+' conftest.er1 >conftest.err
40379 rm -f conftest.er1
40380 cat conftest.err >&5
40381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40382 (exit $ac_status); } &&
40383 { ac_try='test -z "$ac_c_werror_flag"
40384 || test ! -s conftest.err'
40385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40386 (eval $ac_try) 2>&5
40387 ac_status=$?
40388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40389 (exit $ac_status); }; } &&
40390 { ac_try='test -s conftest$ac_exeext'
40391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40392 (eval $ac_try) 2>&5
40393 ac_status=$?
40394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40395 (exit $ac_status); }; }; then
40396 eval "$as_ac_var=yes"
40397 else
40398 echo "$as_me: failed program was:" >&5
40399 sed 's/^/| /' conftest.$ac_ext >&5
40401 eval "$as_ac_var=no"
40403 rm -f conftest.err conftest.$ac_objext \
40404 conftest$ac_exeext conftest.$ac_ext
40406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40407 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40408 if test `eval echo '${'$as_ac_var'}'` = yes; then
40409 cat >>confdefs.h <<_ACEOF
40410 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40411 _ACEOF
40414 done
40421 echo "$as_me:$LINENO: checking for finitef declaration" >&5
40422 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
40423 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
40424 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
40425 echo $ECHO_N "(cached) $ECHO_C" >&6
40426 else
40430 ac_ext=cc
40431 ac_cpp='$CXXCPP $CPPFLAGS'
40432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40436 cat >conftest.$ac_ext <<_ACEOF
40437 /* confdefs.h. */
40438 _ACEOF
40439 cat confdefs.h >>conftest.$ac_ext
40440 cat >>conftest.$ac_ext <<_ACEOF
40441 /* end confdefs.h. */
40442 #include <math.h>
40443 #ifdef HAVE_IEEEFP_H
40444 #include <ieeefp.h>
40445 #endif
40448 main ()
40450 finitef(0);
40452 return 0;
40454 _ACEOF
40455 rm -f conftest.$ac_objext
40456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40457 (eval $ac_compile) 2>conftest.er1
40458 ac_status=$?
40459 grep -v '^ *+' conftest.er1 >conftest.err
40460 rm -f conftest.er1
40461 cat conftest.err >&5
40462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40463 (exit $ac_status); } &&
40464 { ac_try='test -z "$ac_cxx_werror_flag"
40465 || test ! -s conftest.err'
40466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40467 (eval $ac_try) 2>&5
40468 ac_status=$?
40469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40470 (exit $ac_status); }; } &&
40471 { ac_try='test -s conftest.$ac_objext'
40472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40473 (eval $ac_try) 2>&5
40474 ac_status=$?
40475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40476 (exit $ac_status); }; }; then
40477 glibcxx_cv_func_finitef_use=yes
40478 else
40479 echo "$as_me: failed program was:" >&5
40480 sed 's/^/| /' conftest.$ac_ext >&5
40482 glibcxx_cv_func_finitef_use=no
40484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40485 ac_ext=c
40486 ac_cpp='$CPP $CPPFLAGS'
40487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40495 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
40496 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
40498 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
40500 for ac_func in finitef
40502 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40503 echo "$as_me:$LINENO: checking for $ac_func" >&5
40504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40505 if eval "test \"\${$as_ac_var+set}\" = set"; then
40506 echo $ECHO_N "(cached) $ECHO_C" >&6
40507 else
40508 if test x$gcc_no_link = xyes; then
40509 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40510 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40511 { (exit 1); exit 1; }; }
40513 cat >conftest.$ac_ext <<_ACEOF
40514 /* confdefs.h. */
40515 _ACEOF
40516 cat confdefs.h >>conftest.$ac_ext
40517 cat >>conftest.$ac_ext <<_ACEOF
40518 /* end confdefs.h. */
40519 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40520 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40521 #define $ac_func innocuous_$ac_func
40523 /* System header to define __stub macros and hopefully few prototypes,
40524 which can conflict with char $ac_func (); below.
40525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40526 <limits.h> exists even on freestanding compilers. */
40528 #ifdef __STDC__
40529 # include <limits.h>
40530 #else
40531 # include <assert.h>
40532 #endif
40534 #undef $ac_func
40536 /* Override any gcc2 internal prototype to avoid an error. */
40537 #ifdef __cplusplus
40538 extern "C"
40540 #endif
40541 /* We use char because int might match the return type of a gcc2
40542 builtin and then its argument prototype would still apply. */
40543 char $ac_func ();
40544 /* The GNU C library defines this for functions which it implements
40545 to always fail with ENOSYS. Some functions are actually named
40546 something starting with __ and the normal name is an alias. */
40547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40548 choke me
40549 #else
40550 char (*f) () = $ac_func;
40551 #endif
40552 #ifdef __cplusplus
40554 #endif
40557 main ()
40559 return f != $ac_func;
40561 return 0;
40563 _ACEOF
40564 rm -f conftest.$ac_objext conftest$ac_exeext
40565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40566 (eval $ac_link) 2>conftest.er1
40567 ac_status=$?
40568 grep -v '^ *+' conftest.er1 >conftest.err
40569 rm -f conftest.er1
40570 cat conftest.err >&5
40571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40572 (exit $ac_status); } &&
40573 { ac_try='test -z "$ac_c_werror_flag"
40574 || test ! -s conftest.err'
40575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40576 (eval $ac_try) 2>&5
40577 ac_status=$?
40578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40579 (exit $ac_status); }; } &&
40580 { ac_try='test -s conftest$ac_exeext'
40581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40582 (eval $ac_try) 2>&5
40583 ac_status=$?
40584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40585 (exit $ac_status); }; }; then
40586 eval "$as_ac_var=yes"
40587 else
40588 echo "$as_me: failed program was:" >&5
40589 sed 's/^/| /' conftest.$ac_ext >&5
40591 eval "$as_ac_var=no"
40593 rm -f conftest.err conftest.$ac_objext \
40594 conftest$ac_exeext conftest.$ac_ext
40596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40597 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40598 if test `eval echo '${'$as_ac_var'}'` = yes; then
40599 cat >>confdefs.h <<_ACEOF
40600 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40601 _ACEOF
40604 done
40606 else
40608 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
40609 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
40610 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
40611 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
40612 echo $ECHO_N "(cached) $ECHO_C" >&6
40613 else
40617 ac_ext=cc
40618 ac_cpp='$CXXCPP $CPPFLAGS'
40619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40623 cat >conftest.$ac_ext <<_ACEOF
40624 /* confdefs.h. */
40625 _ACEOF
40626 cat confdefs.h >>conftest.$ac_ext
40627 cat >>conftest.$ac_ext <<_ACEOF
40628 /* end confdefs.h. */
40629 #include <math.h>
40630 #ifdef HAVE_IEEEFP_H
40631 #include <ieeefp.h>
40632 #endif
40635 main ()
40637 _finitef(0);
40639 return 0;
40641 _ACEOF
40642 rm -f conftest.$ac_objext
40643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40644 (eval $ac_compile) 2>conftest.er1
40645 ac_status=$?
40646 grep -v '^ *+' conftest.er1 >conftest.err
40647 rm -f conftest.er1
40648 cat conftest.err >&5
40649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40650 (exit $ac_status); } &&
40651 { ac_try='test -z "$ac_cxx_werror_flag"
40652 || test ! -s conftest.err'
40653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40654 (eval $ac_try) 2>&5
40655 ac_status=$?
40656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40657 (exit $ac_status); }; } &&
40658 { ac_try='test -s conftest.$ac_objext'
40659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40660 (eval $ac_try) 2>&5
40661 ac_status=$?
40662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40663 (exit $ac_status); }; }; then
40664 glibcxx_cv_func__finitef_use=yes
40665 else
40666 echo "$as_me: failed program was:" >&5
40667 sed 's/^/| /' conftest.$ac_ext >&5
40669 glibcxx_cv_func__finitef_use=no
40671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40672 ac_ext=c
40673 ac_cpp='$CPP $CPPFLAGS'
40674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40682 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
40683 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
40685 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
40687 for ac_func in _finitef
40689 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40690 echo "$as_me:$LINENO: checking for $ac_func" >&5
40691 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40692 if eval "test \"\${$as_ac_var+set}\" = set"; then
40693 echo $ECHO_N "(cached) $ECHO_C" >&6
40694 else
40695 if test x$gcc_no_link = xyes; then
40696 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40697 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40698 { (exit 1); exit 1; }; }
40700 cat >conftest.$ac_ext <<_ACEOF
40701 /* confdefs.h. */
40702 _ACEOF
40703 cat confdefs.h >>conftest.$ac_ext
40704 cat >>conftest.$ac_ext <<_ACEOF
40705 /* end confdefs.h. */
40706 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40707 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40708 #define $ac_func innocuous_$ac_func
40710 /* System header to define __stub macros and hopefully few prototypes,
40711 which can conflict with char $ac_func (); below.
40712 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40713 <limits.h> exists even on freestanding compilers. */
40715 #ifdef __STDC__
40716 # include <limits.h>
40717 #else
40718 # include <assert.h>
40719 #endif
40721 #undef $ac_func
40723 /* Override any gcc2 internal prototype to avoid an error. */
40724 #ifdef __cplusplus
40725 extern "C"
40727 #endif
40728 /* We use char because int might match the return type of a gcc2
40729 builtin and then its argument prototype would still apply. */
40730 char $ac_func ();
40731 /* The GNU C library defines this for functions which it implements
40732 to always fail with ENOSYS. Some functions are actually named
40733 something starting with __ and the normal name is an alias. */
40734 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40735 choke me
40736 #else
40737 char (*f) () = $ac_func;
40738 #endif
40739 #ifdef __cplusplus
40741 #endif
40744 main ()
40746 return f != $ac_func;
40748 return 0;
40750 _ACEOF
40751 rm -f conftest.$ac_objext conftest$ac_exeext
40752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40753 (eval $ac_link) 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_c_werror_flag"
40761 || test ! -s conftest.err'
40762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40763 (eval $ac_try) 2>&5
40764 ac_status=$?
40765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40766 (exit $ac_status); }; } &&
40767 { ac_try='test -s conftest$ac_exeext'
40768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40769 (eval $ac_try) 2>&5
40770 ac_status=$?
40771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40772 (exit $ac_status); }; }; then
40773 eval "$as_ac_var=yes"
40774 else
40775 echo "$as_me: failed program was:" >&5
40776 sed 's/^/| /' conftest.$ac_ext >&5
40778 eval "$as_ac_var=no"
40780 rm -f conftest.err conftest.$ac_objext \
40781 conftest$ac_exeext conftest.$ac_ext
40783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40784 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40785 if test `eval echo '${'$as_ac_var'}'` = yes; then
40786 cat >>confdefs.h <<_ACEOF
40787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40788 _ACEOF
40791 done
40798 echo "$as_me:$LINENO: checking for long double trig functions" >&5
40799 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
40800 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
40801 echo $ECHO_N "(cached) $ECHO_C" >&6
40802 else
40806 ac_ext=cc
40807 ac_cpp='$CXXCPP $CPPFLAGS'
40808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40812 cat >conftest.$ac_ext <<_ACEOF
40813 /* confdefs.h. */
40814 _ACEOF
40815 cat confdefs.h >>conftest.$ac_ext
40816 cat >>conftest.$ac_ext <<_ACEOF
40817 /* end confdefs.h. */
40818 #include <math.h>
40820 main ()
40822 `for x in acosl asinl atanl \
40823 cosl sinl tanl \
40824 coshl sinhl tanhl; do echo "$x (0);"; done`
40826 return 0;
40828 _ACEOF
40829 rm -f conftest.$ac_objext
40830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40831 (eval $ac_compile) 2>conftest.er1
40832 ac_status=$?
40833 grep -v '^ *+' conftest.er1 >conftest.err
40834 rm -f conftest.er1
40835 cat conftest.err >&5
40836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40837 (exit $ac_status); } &&
40838 { ac_try='test -z "$ac_cxx_werror_flag"
40839 || test ! -s conftest.err'
40840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40841 (eval $ac_try) 2>&5
40842 ac_status=$?
40843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40844 (exit $ac_status); }; } &&
40845 { ac_try='test -s conftest.$ac_objext'
40846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40847 (eval $ac_try) 2>&5
40848 ac_status=$?
40849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40850 (exit $ac_status); }; }; then
40851 glibcxx_cv_func_long_double_trig_use=yes
40852 else
40853 echo "$as_me: failed program was:" >&5
40854 sed 's/^/| /' conftest.$ac_ext >&5
40856 glibcxx_cv_func_long_double_trig_use=no
40858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40859 ac_ext=c
40860 ac_cpp='$CPP $CPPFLAGS'
40861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40867 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
40868 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
40869 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
40879 for ac_func in acosl asinl atanl \
40880 cosl sinl tanl \
40881 coshl sinhl tanhl
40883 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40884 echo "$as_me:$LINENO: checking for $ac_func" >&5
40885 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40886 if eval "test \"\${$as_ac_var+set}\" = set"; then
40887 echo $ECHO_N "(cached) $ECHO_C" >&6
40888 else
40889 if test x$gcc_no_link = xyes; then
40890 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40891 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40892 { (exit 1); exit 1; }; }
40894 cat >conftest.$ac_ext <<_ACEOF
40895 /* confdefs.h. */
40896 _ACEOF
40897 cat confdefs.h >>conftest.$ac_ext
40898 cat >>conftest.$ac_ext <<_ACEOF
40899 /* end confdefs.h. */
40900 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40901 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40902 #define $ac_func innocuous_$ac_func
40904 /* System header to define __stub macros and hopefully few prototypes,
40905 which can conflict with char $ac_func (); below.
40906 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40907 <limits.h> exists even on freestanding compilers. */
40909 #ifdef __STDC__
40910 # include <limits.h>
40911 #else
40912 # include <assert.h>
40913 #endif
40915 #undef $ac_func
40917 /* Override any gcc2 internal prototype to avoid an error. */
40918 #ifdef __cplusplus
40919 extern "C"
40921 #endif
40922 /* We use char because int might match the return type of a gcc2
40923 builtin and then its argument prototype would still apply. */
40924 char $ac_func ();
40925 /* The GNU C library defines this for functions which it implements
40926 to always fail with ENOSYS. Some functions are actually named
40927 something starting with __ and the normal name is an alias. */
40928 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40929 choke me
40930 #else
40931 char (*f) () = $ac_func;
40932 #endif
40933 #ifdef __cplusplus
40935 #endif
40938 main ()
40940 return f != $ac_func;
40942 return 0;
40944 _ACEOF
40945 rm -f conftest.$ac_objext conftest$ac_exeext
40946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40947 (eval $ac_link) 2>conftest.er1
40948 ac_status=$?
40949 grep -v '^ *+' conftest.er1 >conftest.err
40950 rm -f conftest.er1
40951 cat conftest.err >&5
40952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40953 (exit $ac_status); } &&
40954 { ac_try='test -z "$ac_c_werror_flag"
40955 || test ! -s conftest.err'
40956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40957 (eval $ac_try) 2>&5
40958 ac_status=$?
40959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40960 (exit $ac_status); }; } &&
40961 { ac_try='test -s conftest$ac_exeext'
40962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40963 (eval $ac_try) 2>&5
40964 ac_status=$?
40965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40966 (exit $ac_status); }; }; then
40967 eval "$as_ac_var=yes"
40968 else
40969 echo "$as_me: failed program was:" >&5
40970 sed 's/^/| /' conftest.$ac_ext >&5
40972 eval "$as_ac_var=no"
40974 rm -f conftest.err conftest.$ac_objext \
40975 conftest$ac_exeext conftest.$ac_ext
40977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40978 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40979 if test `eval echo '${'$as_ac_var'}'` = yes; then
40980 cat >>confdefs.h <<_ACEOF
40981 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40982 _ACEOF
40985 done
40990 echo "$as_me:$LINENO: checking for long double round functions" >&5
40991 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
40992 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
40993 echo $ECHO_N "(cached) $ECHO_C" >&6
40994 else
40998 ac_ext=cc
40999 ac_cpp='$CXXCPP $CPPFLAGS'
41000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41004 cat >conftest.$ac_ext <<_ACEOF
41005 /* confdefs.h. */
41006 _ACEOF
41007 cat confdefs.h >>conftest.$ac_ext
41008 cat >>conftest.$ac_ext <<_ACEOF
41009 /* end confdefs.h. */
41010 #include <math.h>
41012 main ()
41014 `for x in ceill floorl; do echo "$x (0);"; done`
41016 return 0;
41018 _ACEOF
41019 rm -f conftest.$ac_objext
41020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41021 (eval $ac_compile) 2>conftest.er1
41022 ac_status=$?
41023 grep -v '^ *+' conftest.er1 >conftest.err
41024 rm -f conftest.er1
41025 cat conftest.err >&5
41026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41027 (exit $ac_status); } &&
41028 { ac_try='test -z "$ac_cxx_werror_flag"
41029 || test ! -s conftest.err'
41030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41031 (eval $ac_try) 2>&5
41032 ac_status=$?
41033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41034 (exit $ac_status); }; } &&
41035 { ac_try='test -s conftest.$ac_objext'
41036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41037 (eval $ac_try) 2>&5
41038 ac_status=$?
41039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41040 (exit $ac_status); }; }; then
41041 glibcxx_cv_func_long_double_round_use=yes
41042 else
41043 echo "$as_me: failed program was:" >&5
41044 sed 's/^/| /' conftest.$ac_ext >&5
41046 glibcxx_cv_func_long_double_round_use=no
41048 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41049 ac_ext=c
41050 ac_cpp='$CPP $CPPFLAGS'
41051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41057 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
41058 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
41059 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
41062 for ac_func in ceill floorl
41064 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41065 echo "$as_me:$LINENO: checking for $ac_func" >&5
41066 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41067 if eval "test \"\${$as_ac_var+set}\" = set"; then
41068 echo $ECHO_N "(cached) $ECHO_C" >&6
41069 else
41070 if test x$gcc_no_link = xyes; then
41071 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41072 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41073 { (exit 1); exit 1; }; }
41075 cat >conftest.$ac_ext <<_ACEOF
41076 /* confdefs.h. */
41077 _ACEOF
41078 cat confdefs.h >>conftest.$ac_ext
41079 cat >>conftest.$ac_ext <<_ACEOF
41080 /* end confdefs.h. */
41081 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41082 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41083 #define $ac_func innocuous_$ac_func
41085 /* System header to define __stub macros and hopefully few prototypes,
41086 which can conflict with char $ac_func (); below.
41087 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41088 <limits.h> exists even on freestanding compilers. */
41090 #ifdef __STDC__
41091 # include <limits.h>
41092 #else
41093 # include <assert.h>
41094 #endif
41096 #undef $ac_func
41098 /* Override any gcc2 internal prototype to avoid an error. */
41099 #ifdef __cplusplus
41100 extern "C"
41102 #endif
41103 /* We use char because int might match the return type of a gcc2
41104 builtin and then its argument prototype would still apply. */
41105 char $ac_func ();
41106 /* The GNU C library defines this for functions which it implements
41107 to always fail with ENOSYS. Some functions are actually named
41108 something starting with __ and the normal name is an alias. */
41109 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41110 choke me
41111 #else
41112 char (*f) () = $ac_func;
41113 #endif
41114 #ifdef __cplusplus
41116 #endif
41119 main ()
41121 return f != $ac_func;
41123 return 0;
41125 _ACEOF
41126 rm -f conftest.$ac_objext conftest$ac_exeext
41127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41128 (eval $ac_link) 2>conftest.er1
41129 ac_status=$?
41130 grep -v '^ *+' conftest.er1 >conftest.err
41131 rm -f conftest.er1
41132 cat conftest.err >&5
41133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41134 (exit $ac_status); } &&
41135 { ac_try='test -z "$ac_c_werror_flag"
41136 || test ! -s conftest.err'
41137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41138 (eval $ac_try) 2>&5
41139 ac_status=$?
41140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41141 (exit $ac_status); }; } &&
41142 { ac_try='test -s conftest$ac_exeext'
41143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41144 (eval $ac_try) 2>&5
41145 ac_status=$?
41146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41147 (exit $ac_status); }; }; then
41148 eval "$as_ac_var=yes"
41149 else
41150 echo "$as_me: failed program was:" >&5
41151 sed 's/^/| /' conftest.$ac_ext >&5
41153 eval "$as_ac_var=no"
41155 rm -f conftest.err conftest.$ac_objext \
41156 conftest$ac_exeext conftest.$ac_ext
41158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41159 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41160 if test `eval echo '${'$as_ac_var'}'` = yes; then
41161 cat >>confdefs.h <<_ACEOF
41162 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41163 _ACEOF
41166 done
41172 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
41173 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
41174 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
41175 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
41176 echo $ECHO_N "(cached) $ECHO_C" >&6
41177 else
41181 ac_ext=cc
41182 ac_cpp='$CXXCPP $CPPFLAGS'
41183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41187 cat >conftest.$ac_ext <<_ACEOF
41188 /* confdefs.h. */
41189 _ACEOF
41190 cat confdefs.h >>conftest.$ac_ext
41191 cat >>conftest.$ac_ext <<_ACEOF
41192 /* end confdefs.h. */
41193 #include <math.h>
41194 #ifdef HAVE_IEEEFP_H
41195 #include <ieeefp.h>
41196 #endif
41199 main ()
41201 isnanl(0);
41203 return 0;
41205 _ACEOF
41206 rm -f conftest.$ac_objext
41207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41208 (eval $ac_compile) 2>conftest.er1
41209 ac_status=$?
41210 grep -v '^ *+' conftest.er1 >conftest.err
41211 rm -f conftest.er1
41212 cat conftest.err >&5
41213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41214 (exit $ac_status); } &&
41215 { ac_try='test -z "$ac_cxx_werror_flag"
41216 || test ! -s conftest.err'
41217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41218 (eval $ac_try) 2>&5
41219 ac_status=$?
41220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41221 (exit $ac_status); }; } &&
41222 { ac_try='test -s conftest.$ac_objext'
41223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41224 (eval $ac_try) 2>&5
41225 ac_status=$?
41226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41227 (exit $ac_status); }; }; then
41228 glibcxx_cv_func_isnanl_use=yes
41229 else
41230 echo "$as_me: failed program was:" >&5
41231 sed 's/^/| /' conftest.$ac_ext >&5
41233 glibcxx_cv_func_isnanl_use=no
41235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41236 ac_ext=c
41237 ac_cpp='$CPP $CPPFLAGS'
41238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41246 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
41247 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
41249 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
41251 for ac_func in isnanl
41253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41254 echo "$as_me:$LINENO: checking for $ac_func" >&5
41255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41256 if eval "test \"\${$as_ac_var+set}\" = set"; then
41257 echo $ECHO_N "(cached) $ECHO_C" >&6
41258 else
41259 if test x$gcc_no_link = xyes; then
41260 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41262 { (exit 1); exit 1; }; }
41264 cat >conftest.$ac_ext <<_ACEOF
41265 /* confdefs.h. */
41266 _ACEOF
41267 cat confdefs.h >>conftest.$ac_ext
41268 cat >>conftest.$ac_ext <<_ACEOF
41269 /* end confdefs.h. */
41270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41271 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41272 #define $ac_func innocuous_$ac_func
41274 /* System header to define __stub macros and hopefully few prototypes,
41275 which can conflict with char $ac_func (); below.
41276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41277 <limits.h> exists even on freestanding compilers. */
41279 #ifdef __STDC__
41280 # include <limits.h>
41281 #else
41282 # include <assert.h>
41283 #endif
41285 #undef $ac_func
41287 /* Override any gcc2 internal prototype to avoid an error. */
41288 #ifdef __cplusplus
41289 extern "C"
41291 #endif
41292 /* We use char because int might match the return type of a gcc2
41293 builtin and then its argument prototype would still apply. */
41294 char $ac_func ();
41295 /* The GNU C library defines this for functions which it implements
41296 to always fail with ENOSYS. Some functions are actually named
41297 something starting with __ and the normal name is an alias. */
41298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41299 choke me
41300 #else
41301 char (*f) () = $ac_func;
41302 #endif
41303 #ifdef __cplusplus
41305 #endif
41308 main ()
41310 return f != $ac_func;
41312 return 0;
41314 _ACEOF
41315 rm -f conftest.$ac_objext conftest$ac_exeext
41316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41317 (eval $ac_link) 2>conftest.er1
41318 ac_status=$?
41319 grep -v '^ *+' conftest.er1 >conftest.err
41320 rm -f conftest.er1
41321 cat conftest.err >&5
41322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41323 (exit $ac_status); } &&
41324 { ac_try='test -z "$ac_c_werror_flag"
41325 || test ! -s conftest.err'
41326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41327 (eval $ac_try) 2>&5
41328 ac_status=$?
41329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41330 (exit $ac_status); }; } &&
41331 { ac_try='test -s conftest$ac_exeext'
41332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41333 (eval $ac_try) 2>&5
41334 ac_status=$?
41335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41336 (exit $ac_status); }; }; then
41337 eval "$as_ac_var=yes"
41338 else
41339 echo "$as_me: failed program was:" >&5
41340 sed 's/^/| /' conftest.$ac_ext >&5
41342 eval "$as_ac_var=no"
41344 rm -f conftest.err conftest.$ac_objext \
41345 conftest$ac_exeext conftest.$ac_ext
41347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41349 if test `eval echo '${'$as_ac_var'}'` = yes; then
41350 cat >>confdefs.h <<_ACEOF
41351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41352 _ACEOF
41355 done
41357 else
41359 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
41360 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
41361 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
41362 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
41363 echo $ECHO_N "(cached) $ECHO_C" >&6
41364 else
41368 ac_ext=cc
41369 ac_cpp='$CXXCPP $CPPFLAGS'
41370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41374 cat >conftest.$ac_ext <<_ACEOF
41375 /* confdefs.h. */
41376 _ACEOF
41377 cat confdefs.h >>conftest.$ac_ext
41378 cat >>conftest.$ac_ext <<_ACEOF
41379 /* end confdefs.h. */
41380 #include <math.h>
41381 #ifdef HAVE_IEEEFP_H
41382 #include <ieeefp.h>
41383 #endif
41386 main ()
41388 _isnanl(0);
41390 return 0;
41392 _ACEOF
41393 rm -f conftest.$ac_objext
41394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41395 (eval $ac_compile) 2>conftest.er1
41396 ac_status=$?
41397 grep -v '^ *+' conftest.er1 >conftest.err
41398 rm -f conftest.er1
41399 cat conftest.err >&5
41400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41401 (exit $ac_status); } &&
41402 { ac_try='test -z "$ac_cxx_werror_flag"
41403 || test ! -s conftest.err'
41404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41405 (eval $ac_try) 2>&5
41406 ac_status=$?
41407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41408 (exit $ac_status); }; } &&
41409 { ac_try='test -s conftest.$ac_objext'
41410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41411 (eval $ac_try) 2>&5
41412 ac_status=$?
41413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41414 (exit $ac_status); }; }; then
41415 glibcxx_cv_func__isnanl_use=yes
41416 else
41417 echo "$as_me: failed program was:" >&5
41418 sed 's/^/| /' conftest.$ac_ext >&5
41420 glibcxx_cv_func__isnanl_use=no
41422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41423 ac_ext=c
41424 ac_cpp='$CPP $CPPFLAGS'
41425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41433 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
41434 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
41436 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
41438 for ac_func in _isnanl
41440 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41441 echo "$as_me:$LINENO: checking for $ac_func" >&5
41442 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41443 if eval "test \"\${$as_ac_var+set}\" = set"; then
41444 echo $ECHO_N "(cached) $ECHO_C" >&6
41445 else
41446 if test x$gcc_no_link = xyes; then
41447 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41448 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41449 { (exit 1); exit 1; }; }
41451 cat >conftest.$ac_ext <<_ACEOF
41452 /* confdefs.h. */
41453 _ACEOF
41454 cat confdefs.h >>conftest.$ac_ext
41455 cat >>conftest.$ac_ext <<_ACEOF
41456 /* end confdefs.h. */
41457 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41458 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41459 #define $ac_func innocuous_$ac_func
41461 /* System header to define __stub macros and hopefully few prototypes,
41462 which can conflict with char $ac_func (); below.
41463 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41464 <limits.h> exists even on freestanding compilers. */
41466 #ifdef __STDC__
41467 # include <limits.h>
41468 #else
41469 # include <assert.h>
41470 #endif
41472 #undef $ac_func
41474 /* Override any gcc2 internal prototype to avoid an error. */
41475 #ifdef __cplusplus
41476 extern "C"
41478 #endif
41479 /* We use char because int might match the return type of a gcc2
41480 builtin and then its argument prototype would still apply. */
41481 char $ac_func ();
41482 /* The GNU C library defines this for functions which it implements
41483 to always fail with ENOSYS. Some functions are actually named
41484 something starting with __ and the normal name is an alias. */
41485 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41486 choke me
41487 #else
41488 char (*f) () = $ac_func;
41489 #endif
41490 #ifdef __cplusplus
41492 #endif
41495 main ()
41497 return f != $ac_func;
41499 return 0;
41501 _ACEOF
41502 rm -f conftest.$ac_objext conftest$ac_exeext
41503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41504 (eval $ac_link) 2>conftest.er1
41505 ac_status=$?
41506 grep -v '^ *+' conftest.er1 >conftest.err
41507 rm -f conftest.er1
41508 cat conftest.err >&5
41509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41510 (exit $ac_status); } &&
41511 { ac_try='test -z "$ac_c_werror_flag"
41512 || test ! -s conftest.err'
41513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41514 (eval $ac_try) 2>&5
41515 ac_status=$?
41516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41517 (exit $ac_status); }; } &&
41518 { ac_try='test -s conftest$ac_exeext'
41519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41520 (eval $ac_try) 2>&5
41521 ac_status=$?
41522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41523 (exit $ac_status); }; }; then
41524 eval "$as_ac_var=yes"
41525 else
41526 echo "$as_me: failed program was:" >&5
41527 sed 's/^/| /' conftest.$ac_ext >&5
41529 eval "$as_ac_var=no"
41531 rm -f conftest.err conftest.$ac_objext \
41532 conftest$ac_exeext conftest.$ac_ext
41534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41535 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41536 if test `eval echo '${'$as_ac_var'}'` = yes; then
41537 cat >>confdefs.h <<_ACEOF
41538 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41539 _ACEOF
41542 done
41549 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
41550 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
41551 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
41552 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
41553 echo $ECHO_N "(cached) $ECHO_C" >&6
41554 else
41558 ac_ext=cc
41559 ac_cpp='$CXXCPP $CPPFLAGS'
41560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41564 cat >conftest.$ac_ext <<_ACEOF
41565 /* confdefs.h. */
41566 _ACEOF
41567 cat confdefs.h >>conftest.$ac_ext
41568 cat >>conftest.$ac_ext <<_ACEOF
41569 /* end confdefs.h. */
41570 #include <math.h>
41571 #ifdef HAVE_IEEEFP_H
41572 #include <ieeefp.h>
41573 #endif
41576 main ()
41578 isinfl(0);
41580 return 0;
41582 _ACEOF
41583 rm -f conftest.$ac_objext
41584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41585 (eval $ac_compile) 2>conftest.er1
41586 ac_status=$?
41587 grep -v '^ *+' conftest.er1 >conftest.err
41588 rm -f conftest.er1
41589 cat conftest.err >&5
41590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41591 (exit $ac_status); } &&
41592 { ac_try='test -z "$ac_cxx_werror_flag"
41593 || test ! -s conftest.err'
41594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41595 (eval $ac_try) 2>&5
41596 ac_status=$?
41597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41598 (exit $ac_status); }; } &&
41599 { ac_try='test -s conftest.$ac_objext'
41600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41601 (eval $ac_try) 2>&5
41602 ac_status=$?
41603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41604 (exit $ac_status); }; }; then
41605 glibcxx_cv_func_isinfl_use=yes
41606 else
41607 echo "$as_me: failed program was:" >&5
41608 sed 's/^/| /' conftest.$ac_ext >&5
41610 glibcxx_cv_func_isinfl_use=no
41612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41613 ac_ext=c
41614 ac_cpp='$CPP $CPPFLAGS'
41615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41623 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
41624 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
41626 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
41628 for ac_func in isinfl
41630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41631 echo "$as_me:$LINENO: checking for $ac_func" >&5
41632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41633 if eval "test \"\${$as_ac_var+set}\" = set"; then
41634 echo $ECHO_N "(cached) $ECHO_C" >&6
41635 else
41636 if test x$gcc_no_link = xyes; then
41637 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41639 { (exit 1); exit 1; }; }
41641 cat >conftest.$ac_ext <<_ACEOF
41642 /* confdefs.h. */
41643 _ACEOF
41644 cat confdefs.h >>conftest.$ac_ext
41645 cat >>conftest.$ac_ext <<_ACEOF
41646 /* end confdefs.h. */
41647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41649 #define $ac_func innocuous_$ac_func
41651 /* System header to define __stub macros and hopefully few prototypes,
41652 which can conflict with char $ac_func (); below.
41653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41654 <limits.h> exists even on freestanding compilers. */
41656 #ifdef __STDC__
41657 # include <limits.h>
41658 #else
41659 # include <assert.h>
41660 #endif
41662 #undef $ac_func
41664 /* Override any gcc2 internal prototype to avoid an error. */
41665 #ifdef __cplusplus
41666 extern "C"
41668 #endif
41669 /* We use char because int might match the return type of a gcc2
41670 builtin and then its argument prototype would still apply. */
41671 char $ac_func ();
41672 /* The GNU C library defines this for functions which it implements
41673 to always fail with ENOSYS. Some functions are actually named
41674 something starting with __ and the normal name is an alias. */
41675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41676 choke me
41677 #else
41678 char (*f) () = $ac_func;
41679 #endif
41680 #ifdef __cplusplus
41682 #endif
41685 main ()
41687 return f != $ac_func;
41689 return 0;
41691 _ACEOF
41692 rm -f conftest.$ac_objext conftest$ac_exeext
41693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41694 (eval $ac_link) 2>conftest.er1
41695 ac_status=$?
41696 grep -v '^ *+' conftest.er1 >conftest.err
41697 rm -f conftest.er1
41698 cat conftest.err >&5
41699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41700 (exit $ac_status); } &&
41701 { ac_try='test -z "$ac_c_werror_flag"
41702 || test ! -s conftest.err'
41703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41704 (eval $ac_try) 2>&5
41705 ac_status=$?
41706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41707 (exit $ac_status); }; } &&
41708 { ac_try='test -s conftest$ac_exeext'
41709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41710 (eval $ac_try) 2>&5
41711 ac_status=$?
41712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41713 (exit $ac_status); }; }; then
41714 eval "$as_ac_var=yes"
41715 else
41716 echo "$as_me: failed program was:" >&5
41717 sed 's/^/| /' conftest.$ac_ext >&5
41719 eval "$as_ac_var=no"
41721 rm -f conftest.err conftest.$ac_objext \
41722 conftest$ac_exeext conftest.$ac_ext
41724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41726 if test `eval echo '${'$as_ac_var'}'` = yes; then
41727 cat >>confdefs.h <<_ACEOF
41728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41729 _ACEOF
41732 done
41734 else
41736 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
41737 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
41738 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
41739 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
41740 echo $ECHO_N "(cached) $ECHO_C" >&6
41741 else
41745 ac_ext=cc
41746 ac_cpp='$CXXCPP $CPPFLAGS'
41747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41751 cat >conftest.$ac_ext <<_ACEOF
41752 /* confdefs.h. */
41753 _ACEOF
41754 cat confdefs.h >>conftest.$ac_ext
41755 cat >>conftest.$ac_ext <<_ACEOF
41756 /* end confdefs.h. */
41757 #include <math.h>
41758 #ifdef HAVE_IEEEFP_H
41759 #include <ieeefp.h>
41760 #endif
41763 main ()
41765 _isinfl(0);
41767 return 0;
41769 _ACEOF
41770 rm -f conftest.$ac_objext
41771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41772 (eval $ac_compile) 2>conftest.er1
41773 ac_status=$?
41774 grep -v '^ *+' conftest.er1 >conftest.err
41775 rm -f conftest.er1
41776 cat conftest.err >&5
41777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41778 (exit $ac_status); } &&
41779 { ac_try='test -z "$ac_cxx_werror_flag"
41780 || test ! -s conftest.err'
41781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41782 (eval $ac_try) 2>&5
41783 ac_status=$?
41784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41785 (exit $ac_status); }; } &&
41786 { ac_try='test -s conftest.$ac_objext'
41787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41788 (eval $ac_try) 2>&5
41789 ac_status=$?
41790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41791 (exit $ac_status); }; }; then
41792 glibcxx_cv_func__isinfl_use=yes
41793 else
41794 echo "$as_me: failed program was:" >&5
41795 sed 's/^/| /' conftest.$ac_ext >&5
41797 glibcxx_cv_func__isinfl_use=no
41799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41800 ac_ext=c
41801 ac_cpp='$CPP $CPPFLAGS'
41802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41810 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
41811 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
41813 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
41815 for ac_func in _isinfl
41817 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41818 echo "$as_me:$LINENO: checking for $ac_func" >&5
41819 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41820 if eval "test \"\${$as_ac_var+set}\" = set"; then
41821 echo $ECHO_N "(cached) $ECHO_C" >&6
41822 else
41823 if test x$gcc_no_link = xyes; then
41824 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41825 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41826 { (exit 1); exit 1; }; }
41828 cat >conftest.$ac_ext <<_ACEOF
41829 /* confdefs.h. */
41830 _ACEOF
41831 cat confdefs.h >>conftest.$ac_ext
41832 cat >>conftest.$ac_ext <<_ACEOF
41833 /* end confdefs.h. */
41834 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41835 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41836 #define $ac_func innocuous_$ac_func
41838 /* System header to define __stub macros and hopefully few prototypes,
41839 which can conflict with char $ac_func (); below.
41840 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41841 <limits.h> exists even on freestanding compilers. */
41843 #ifdef __STDC__
41844 # include <limits.h>
41845 #else
41846 # include <assert.h>
41847 #endif
41849 #undef $ac_func
41851 /* Override any gcc2 internal prototype to avoid an error. */
41852 #ifdef __cplusplus
41853 extern "C"
41855 #endif
41856 /* We use char because int might match the return type of a gcc2
41857 builtin and then its argument prototype would still apply. */
41858 char $ac_func ();
41859 /* The GNU C library defines this for functions which it implements
41860 to always fail with ENOSYS. Some functions are actually named
41861 something starting with __ and the normal name is an alias. */
41862 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41863 choke me
41864 #else
41865 char (*f) () = $ac_func;
41866 #endif
41867 #ifdef __cplusplus
41869 #endif
41872 main ()
41874 return f != $ac_func;
41876 return 0;
41878 _ACEOF
41879 rm -f conftest.$ac_objext conftest$ac_exeext
41880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41881 (eval $ac_link) 2>conftest.er1
41882 ac_status=$?
41883 grep -v '^ *+' conftest.er1 >conftest.err
41884 rm -f conftest.er1
41885 cat conftest.err >&5
41886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41887 (exit $ac_status); } &&
41888 { ac_try='test -z "$ac_c_werror_flag"
41889 || test ! -s conftest.err'
41890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41891 (eval $ac_try) 2>&5
41892 ac_status=$?
41893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41894 (exit $ac_status); }; } &&
41895 { ac_try='test -s conftest$ac_exeext'
41896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41897 (eval $ac_try) 2>&5
41898 ac_status=$?
41899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41900 (exit $ac_status); }; }; then
41901 eval "$as_ac_var=yes"
41902 else
41903 echo "$as_me: failed program was:" >&5
41904 sed 's/^/| /' conftest.$ac_ext >&5
41906 eval "$as_ac_var=no"
41908 rm -f conftest.err conftest.$ac_objext \
41909 conftest$ac_exeext conftest.$ac_ext
41911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41912 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41913 if test `eval echo '${'$as_ac_var'}'` = yes; then
41914 cat >>confdefs.h <<_ACEOF
41915 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41916 _ACEOF
41919 done
41926 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
41927 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
41928 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
41929 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
41930 echo $ECHO_N "(cached) $ECHO_C" >&6
41931 else
41935 ac_ext=cc
41936 ac_cpp='$CXXCPP $CPPFLAGS'
41937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41941 cat >conftest.$ac_ext <<_ACEOF
41942 /* confdefs.h. */
41943 _ACEOF
41944 cat confdefs.h >>conftest.$ac_ext
41945 cat >>conftest.$ac_ext <<_ACEOF
41946 /* end confdefs.h. */
41947 #include <math.h>
41949 main ()
41951 copysignl(0, 0);
41953 return 0;
41955 _ACEOF
41956 rm -f conftest.$ac_objext
41957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41958 (eval $ac_compile) 2>conftest.er1
41959 ac_status=$?
41960 grep -v '^ *+' conftest.er1 >conftest.err
41961 rm -f conftest.er1
41962 cat conftest.err >&5
41963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41964 (exit $ac_status); } &&
41965 { ac_try='test -z "$ac_cxx_werror_flag"
41966 || test ! -s conftest.err'
41967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41968 (eval $ac_try) 2>&5
41969 ac_status=$?
41970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41971 (exit $ac_status); }; } &&
41972 { ac_try='test -s conftest.$ac_objext'
41973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41974 (eval $ac_try) 2>&5
41975 ac_status=$?
41976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41977 (exit $ac_status); }; }; then
41978 glibcxx_cv_func_copysignl_use=yes
41979 else
41980 echo "$as_me: failed program was:" >&5
41981 sed 's/^/| /' conftest.$ac_ext >&5
41983 glibcxx_cv_func_copysignl_use=no
41985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41986 ac_ext=c
41987 ac_cpp='$CPP $CPPFLAGS'
41988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41996 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
41997 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
41999 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
42001 for ac_func in copysignl
42003 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42004 echo "$as_me:$LINENO: checking for $ac_func" >&5
42005 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42006 if eval "test \"\${$as_ac_var+set}\" = set"; then
42007 echo $ECHO_N "(cached) $ECHO_C" >&6
42008 else
42009 if test x$gcc_no_link = xyes; then
42010 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42011 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42012 { (exit 1); exit 1; }; }
42014 cat >conftest.$ac_ext <<_ACEOF
42015 /* confdefs.h. */
42016 _ACEOF
42017 cat confdefs.h >>conftest.$ac_ext
42018 cat >>conftest.$ac_ext <<_ACEOF
42019 /* end confdefs.h. */
42020 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42021 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42022 #define $ac_func innocuous_$ac_func
42024 /* System header to define __stub macros and hopefully few prototypes,
42025 which can conflict with char $ac_func (); below.
42026 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42027 <limits.h> exists even on freestanding compilers. */
42029 #ifdef __STDC__
42030 # include <limits.h>
42031 #else
42032 # include <assert.h>
42033 #endif
42035 #undef $ac_func
42037 /* Override any gcc2 internal prototype to avoid an error. */
42038 #ifdef __cplusplus
42039 extern "C"
42041 #endif
42042 /* We use char because int might match the return type of a gcc2
42043 builtin and then its argument prototype would still apply. */
42044 char $ac_func ();
42045 /* The GNU C library defines this for functions which it implements
42046 to always fail with ENOSYS. Some functions are actually named
42047 something starting with __ and the normal name is an alias. */
42048 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42049 choke me
42050 #else
42051 char (*f) () = $ac_func;
42052 #endif
42053 #ifdef __cplusplus
42055 #endif
42058 main ()
42060 return f != $ac_func;
42062 return 0;
42064 _ACEOF
42065 rm -f conftest.$ac_objext conftest$ac_exeext
42066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42067 (eval $ac_link) 2>conftest.er1
42068 ac_status=$?
42069 grep -v '^ *+' conftest.er1 >conftest.err
42070 rm -f conftest.er1
42071 cat conftest.err >&5
42072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42073 (exit $ac_status); } &&
42074 { ac_try='test -z "$ac_c_werror_flag"
42075 || test ! -s conftest.err'
42076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42077 (eval $ac_try) 2>&5
42078 ac_status=$?
42079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42080 (exit $ac_status); }; } &&
42081 { ac_try='test -s conftest$ac_exeext'
42082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42083 (eval $ac_try) 2>&5
42084 ac_status=$?
42085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42086 (exit $ac_status); }; }; then
42087 eval "$as_ac_var=yes"
42088 else
42089 echo "$as_me: failed program was:" >&5
42090 sed 's/^/| /' conftest.$ac_ext >&5
42092 eval "$as_ac_var=no"
42094 rm -f conftest.err conftest.$ac_objext \
42095 conftest$ac_exeext conftest.$ac_ext
42097 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42098 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42099 if test `eval echo '${'$as_ac_var'}'` = yes; then
42100 cat >>confdefs.h <<_ACEOF
42101 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42102 _ACEOF
42105 done
42107 else
42109 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
42110 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
42111 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
42112 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
42113 echo $ECHO_N "(cached) $ECHO_C" >&6
42114 else
42118 ac_ext=cc
42119 ac_cpp='$CXXCPP $CPPFLAGS'
42120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42124 cat >conftest.$ac_ext <<_ACEOF
42125 /* confdefs.h. */
42126 _ACEOF
42127 cat confdefs.h >>conftest.$ac_ext
42128 cat >>conftest.$ac_ext <<_ACEOF
42129 /* end confdefs.h. */
42130 #include <math.h>
42132 main ()
42134 _copysignl(0, 0);
42136 return 0;
42138 _ACEOF
42139 rm -f conftest.$ac_objext
42140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42141 (eval $ac_compile) 2>conftest.er1
42142 ac_status=$?
42143 grep -v '^ *+' conftest.er1 >conftest.err
42144 rm -f conftest.er1
42145 cat conftest.err >&5
42146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42147 (exit $ac_status); } &&
42148 { ac_try='test -z "$ac_cxx_werror_flag"
42149 || test ! -s conftest.err'
42150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42151 (eval $ac_try) 2>&5
42152 ac_status=$?
42153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42154 (exit $ac_status); }; } &&
42155 { ac_try='test -s conftest.$ac_objext'
42156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42157 (eval $ac_try) 2>&5
42158 ac_status=$?
42159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42160 (exit $ac_status); }; }; then
42161 glibcxx_cv_func__copysignl_use=yes
42162 else
42163 echo "$as_me: failed program was:" >&5
42164 sed 's/^/| /' conftest.$ac_ext >&5
42166 glibcxx_cv_func__copysignl_use=no
42168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42169 ac_ext=c
42170 ac_cpp='$CPP $CPPFLAGS'
42171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42179 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
42180 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
42182 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
42184 for ac_func in _copysignl
42186 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42187 echo "$as_me:$LINENO: checking for $ac_func" >&5
42188 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42189 if eval "test \"\${$as_ac_var+set}\" = set"; then
42190 echo $ECHO_N "(cached) $ECHO_C" >&6
42191 else
42192 if test x$gcc_no_link = xyes; then
42193 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42194 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42195 { (exit 1); exit 1; }; }
42197 cat >conftest.$ac_ext <<_ACEOF
42198 /* confdefs.h. */
42199 _ACEOF
42200 cat confdefs.h >>conftest.$ac_ext
42201 cat >>conftest.$ac_ext <<_ACEOF
42202 /* end confdefs.h. */
42203 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42204 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42205 #define $ac_func innocuous_$ac_func
42207 /* System header to define __stub macros and hopefully few prototypes,
42208 which can conflict with char $ac_func (); below.
42209 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42210 <limits.h> exists even on freestanding compilers. */
42212 #ifdef __STDC__
42213 # include <limits.h>
42214 #else
42215 # include <assert.h>
42216 #endif
42218 #undef $ac_func
42220 /* Override any gcc2 internal prototype to avoid an error. */
42221 #ifdef __cplusplus
42222 extern "C"
42224 #endif
42225 /* We use char because int might match the return type of a gcc2
42226 builtin and then its argument prototype would still apply. */
42227 char $ac_func ();
42228 /* The GNU C library defines this for functions which it implements
42229 to always fail with ENOSYS. Some functions are actually named
42230 something starting with __ and the normal name is an alias. */
42231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42232 choke me
42233 #else
42234 char (*f) () = $ac_func;
42235 #endif
42236 #ifdef __cplusplus
42238 #endif
42241 main ()
42243 return f != $ac_func;
42245 return 0;
42247 _ACEOF
42248 rm -f conftest.$ac_objext conftest$ac_exeext
42249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42250 (eval $ac_link) 2>conftest.er1
42251 ac_status=$?
42252 grep -v '^ *+' conftest.er1 >conftest.err
42253 rm -f conftest.er1
42254 cat conftest.err >&5
42255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42256 (exit $ac_status); } &&
42257 { ac_try='test -z "$ac_c_werror_flag"
42258 || test ! -s conftest.err'
42259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42260 (eval $ac_try) 2>&5
42261 ac_status=$?
42262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42263 (exit $ac_status); }; } &&
42264 { ac_try='test -s conftest$ac_exeext'
42265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42266 (eval $ac_try) 2>&5
42267 ac_status=$?
42268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42269 (exit $ac_status); }; }; then
42270 eval "$as_ac_var=yes"
42271 else
42272 echo "$as_me: failed program was:" >&5
42273 sed 's/^/| /' conftest.$ac_ext >&5
42275 eval "$as_ac_var=no"
42277 rm -f conftest.err conftest.$ac_objext \
42278 conftest$ac_exeext conftest.$ac_ext
42280 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42281 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42282 if test `eval echo '${'$as_ac_var'}'` = yes; then
42283 cat >>confdefs.h <<_ACEOF
42284 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42285 _ACEOF
42288 done
42295 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
42296 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
42297 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42298 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
42299 echo $ECHO_N "(cached) $ECHO_C" >&6
42300 else
42304 ac_ext=cc
42305 ac_cpp='$CXXCPP $CPPFLAGS'
42306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42310 cat >conftest.$ac_ext <<_ACEOF
42311 /* confdefs.h. */
42312 _ACEOF
42313 cat confdefs.h >>conftest.$ac_ext
42314 cat >>conftest.$ac_ext <<_ACEOF
42315 /* end confdefs.h. */
42316 #include <math.h>
42318 main ()
42320 atan2l(0, 0);
42322 return 0;
42324 _ACEOF
42325 rm -f conftest.$ac_objext
42326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42327 (eval $ac_compile) 2>conftest.er1
42328 ac_status=$?
42329 grep -v '^ *+' conftest.er1 >conftest.err
42330 rm -f conftest.er1
42331 cat conftest.err >&5
42332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42333 (exit $ac_status); } &&
42334 { ac_try='test -z "$ac_cxx_werror_flag"
42335 || test ! -s conftest.err'
42336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42337 (eval $ac_try) 2>&5
42338 ac_status=$?
42339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42340 (exit $ac_status); }; } &&
42341 { ac_try='test -s conftest.$ac_objext'
42342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42343 (eval $ac_try) 2>&5
42344 ac_status=$?
42345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42346 (exit $ac_status); }; }; then
42347 glibcxx_cv_func_atan2l_use=yes
42348 else
42349 echo "$as_me: failed program was:" >&5
42350 sed 's/^/| /' conftest.$ac_ext >&5
42352 glibcxx_cv_func_atan2l_use=no
42354 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42355 ac_ext=c
42356 ac_cpp='$CPP $CPPFLAGS'
42357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42365 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
42366 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
42368 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
42370 for ac_func in atan2l
42372 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42373 echo "$as_me:$LINENO: checking for $ac_func" >&5
42374 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42375 if eval "test \"\${$as_ac_var+set}\" = set"; then
42376 echo $ECHO_N "(cached) $ECHO_C" >&6
42377 else
42378 if test x$gcc_no_link = xyes; then
42379 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42380 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42381 { (exit 1); exit 1; }; }
42383 cat >conftest.$ac_ext <<_ACEOF
42384 /* confdefs.h. */
42385 _ACEOF
42386 cat confdefs.h >>conftest.$ac_ext
42387 cat >>conftest.$ac_ext <<_ACEOF
42388 /* end confdefs.h. */
42389 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42390 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42391 #define $ac_func innocuous_$ac_func
42393 /* System header to define __stub macros and hopefully few prototypes,
42394 which can conflict with char $ac_func (); below.
42395 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42396 <limits.h> exists even on freestanding compilers. */
42398 #ifdef __STDC__
42399 # include <limits.h>
42400 #else
42401 # include <assert.h>
42402 #endif
42404 #undef $ac_func
42406 /* Override any gcc2 internal prototype to avoid an error. */
42407 #ifdef __cplusplus
42408 extern "C"
42410 #endif
42411 /* We use char because int might match the return type of a gcc2
42412 builtin and then its argument prototype would still apply. */
42413 char $ac_func ();
42414 /* The GNU C library defines this for functions which it implements
42415 to always fail with ENOSYS. Some functions are actually named
42416 something starting with __ and the normal name is an alias. */
42417 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42418 choke me
42419 #else
42420 char (*f) () = $ac_func;
42421 #endif
42422 #ifdef __cplusplus
42424 #endif
42427 main ()
42429 return f != $ac_func;
42431 return 0;
42433 _ACEOF
42434 rm -f conftest.$ac_objext conftest$ac_exeext
42435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42436 (eval $ac_link) 2>conftest.er1
42437 ac_status=$?
42438 grep -v '^ *+' conftest.er1 >conftest.err
42439 rm -f conftest.er1
42440 cat conftest.err >&5
42441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42442 (exit $ac_status); } &&
42443 { ac_try='test -z "$ac_c_werror_flag"
42444 || test ! -s conftest.err'
42445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42446 (eval $ac_try) 2>&5
42447 ac_status=$?
42448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42449 (exit $ac_status); }; } &&
42450 { ac_try='test -s conftest$ac_exeext'
42451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42452 (eval $ac_try) 2>&5
42453 ac_status=$?
42454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42455 (exit $ac_status); }; }; then
42456 eval "$as_ac_var=yes"
42457 else
42458 echo "$as_me: failed program was:" >&5
42459 sed 's/^/| /' conftest.$ac_ext >&5
42461 eval "$as_ac_var=no"
42463 rm -f conftest.err conftest.$ac_objext \
42464 conftest$ac_exeext conftest.$ac_ext
42466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42467 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42468 if test `eval echo '${'$as_ac_var'}'` = yes; then
42469 cat >>confdefs.h <<_ACEOF
42470 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42471 _ACEOF
42474 done
42476 else
42478 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
42479 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
42480 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
42481 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
42482 echo $ECHO_N "(cached) $ECHO_C" >&6
42483 else
42487 ac_ext=cc
42488 ac_cpp='$CXXCPP $CPPFLAGS'
42489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42493 cat >conftest.$ac_ext <<_ACEOF
42494 /* confdefs.h. */
42495 _ACEOF
42496 cat confdefs.h >>conftest.$ac_ext
42497 cat >>conftest.$ac_ext <<_ACEOF
42498 /* end confdefs.h. */
42499 #include <math.h>
42501 main ()
42503 _atan2l(0, 0);
42505 return 0;
42507 _ACEOF
42508 rm -f conftest.$ac_objext
42509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42510 (eval $ac_compile) 2>conftest.er1
42511 ac_status=$?
42512 grep -v '^ *+' conftest.er1 >conftest.err
42513 rm -f conftest.er1
42514 cat conftest.err >&5
42515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42516 (exit $ac_status); } &&
42517 { ac_try='test -z "$ac_cxx_werror_flag"
42518 || test ! -s conftest.err'
42519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42520 (eval $ac_try) 2>&5
42521 ac_status=$?
42522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42523 (exit $ac_status); }; } &&
42524 { ac_try='test -s conftest.$ac_objext'
42525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42526 (eval $ac_try) 2>&5
42527 ac_status=$?
42528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42529 (exit $ac_status); }; }; then
42530 glibcxx_cv_func__atan2l_use=yes
42531 else
42532 echo "$as_me: failed program was:" >&5
42533 sed 's/^/| /' conftest.$ac_ext >&5
42535 glibcxx_cv_func__atan2l_use=no
42537 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42538 ac_ext=c
42539 ac_cpp='$CPP $CPPFLAGS'
42540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42548 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
42549 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
42551 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
42553 for ac_func in _atan2l
42555 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42556 echo "$as_me:$LINENO: checking for $ac_func" >&5
42557 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42558 if eval "test \"\${$as_ac_var+set}\" = set"; then
42559 echo $ECHO_N "(cached) $ECHO_C" >&6
42560 else
42561 if test x$gcc_no_link = xyes; then
42562 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42563 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42564 { (exit 1); exit 1; }; }
42566 cat >conftest.$ac_ext <<_ACEOF
42567 /* confdefs.h. */
42568 _ACEOF
42569 cat confdefs.h >>conftest.$ac_ext
42570 cat >>conftest.$ac_ext <<_ACEOF
42571 /* end confdefs.h. */
42572 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42573 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42574 #define $ac_func innocuous_$ac_func
42576 /* System header to define __stub macros and hopefully few prototypes,
42577 which can conflict with char $ac_func (); below.
42578 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42579 <limits.h> exists even on freestanding compilers. */
42581 #ifdef __STDC__
42582 # include <limits.h>
42583 #else
42584 # include <assert.h>
42585 #endif
42587 #undef $ac_func
42589 /* Override any gcc2 internal prototype to avoid an error. */
42590 #ifdef __cplusplus
42591 extern "C"
42593 #endif
42594 /* We use char because int might match the return type of a gcc2
42595 builtin and then its argument prototype would still apply. */
42596 char $ac_func ();
42597 /* The GNU C library defines this for functions which it implements
42598 to always fail with ENOSYS. Some functions are actually named
42599 something starting with __ and the normal name is an alias. */
42600 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42601 choke me
42602 #else
42603 char (*f) () = $ac_func;
42604 #endif
42605 #ifdef __cplusplus
42607 #endif
42610 main ()
42612 return f != $ac_func;
42614 return 0;
42616 _ACEOF
42617 rm -f conftest.$ac_objext conftest$ac_exeext
42618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42619 (eval $ac_link) 2>conftest.er1
42620 ac_status=$?
42621 grep -v '^ *+' conftest.er1 >conftest.err
42622 rm -f conftest.er1
42623 cat conftest.err >&5
42624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42625 (exit $ac_status); } &&
42626 { ac_try='test -z "$ac_c_werror_flag"
42627 || test ! -s conftest.err'
42628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42629 (eval $ac_try) 2>&5
42630 ac_status=$?
42631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42632 (exit $ac_status); }; } &&
42633 { ac_try='test -s conftest$ac_exeext'
42634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42635 (eval $ac_try) 2>&5
42636 ac_status=$?
42637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42638 (exit $ac_status); }; }; then
42639 eval "$as_ac_var=yes"
42640 else
42641 echo "$as_me: failed program was:" >&5
42642 sed 's/^/| /' conftest.$ac_ext >&5
42644 eval "$as_ac_var=no"
42646 rm -f conftest.err conftest.$ac_objext \
42647 conftest$ac_exeext conftest.$ac_ext
42649 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42650 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42651 if test `eval echo '${'$as_ac_var'}'` = yes; then
42652 cat >>confdefs.h <<_ACEOF
42653 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42654 _ACEOF
42657 done
42664 echo "$as_me:$LINENO: checking for expl declaration" >&5
42665 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
42666 if test x${glibcxx_cv_func_expl_use+set} != xset; then
42667 if test "${glibcxx_cv_func_expl_use+set}" = set; then
42668 echo $ECHO_N "(cached) $ECHO_C" >&6
42669 else
42673 ac_ext=cc
42674 ac_cpp='$CXXCPP $CPPFLAGS'
42675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42679 cat >conftest.$ac_ext <<_ACEOF
42680 /* confdefs.h. */
42681 _ACEOF
42682 cat confdefs.h >>conftest.$ac_ext
42683 cat >>conftest.$ac_ext <<_ACEOF
42684 /* end confdefs.h. */
42685 #include <math.h>
42686 #ifdef HAVE_IEEEFP_H
42687 #include <ieeefp.h>
42688 #endif
42691 main ()
42693 expl(0);
42695 return 0;
42697 _ACEOF
42698 rm -f conftest.$ac_objext
42699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42700 (eval $ac_compile) 2>conftest.er1
42701 ac_status=$?
42702 grep -v '^ *+' conftest.er1 >conftest.err
42703 rm -f conftest.er1
42704 cat conftest.err >&5
42705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42706 (exit $ac_status); } &&
42707 { ac_try='test -z "$ac_cxx_werror_flag"
42708 || test ! -s conftest.err'
42709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42710 (eval $ac_try) 2>&5
42711 ac_status=$?
42712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42713 (exit $ac_status); }; } &&
42714 { ac_try='test -s conftest.$ac_objext'
42715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42716 (eval $ac_try) 2>&5
42717 ac_status=$?
42718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42719 (exit $ac_status); }; }; then
42720 glibcxx_cv_func_expl_use=yes
42721 else
42722 echo "$as_me: failed program was:" >&5
42723 sed 's/^/| /' conftest.$ac_ext >&5
42725 glibcxx_cv_func_expl_use=no
42727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42728 ac_ext=c
42729 ac_cpp='$CPP $CPPFLAGS'
42730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42738 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
42739 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
42741 if test x$glibcxx_cv_func_expl_use = x"yes"; then
42743 for ac_func in expl
42745 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42746 echo "$as_me:$LINENO: checking for $ac_func" >&5
42747 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42748 if eval "test \"\${$as_ac_var+set}\" = set"; then
42749 echo $ECHO_N "(cached) $ECHO_C" >&6
42750 else
42751 if test x$gcc_no_link = xyes; then
42752 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42753 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42754 { (exit 1); exit 1; }; }
42756 cat >conftest.$ac_ext <<_ACEOF
42757 /* confdefs.h. */
42758 _ACEOF
42759 cat confdefs.h >>conftest.$ac_ext
42760 cat >>conftest.$ac_ext <<_ACEOF
42761 /* end confdefs.h. */
42762 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42763 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42764 #define $ac_func innocuous_$ac_func
42766 /* System header to define __stub macros and hopefully few prototypes,
42767 which can conflict with char $ac_func (); below.
42768 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42769 <limits.h> exists even on freestanding compilers. */
42771 #ifdef __STDC__
42772 # include <limits.h>
42773 #else
42774 # include <assert.h>
42775 #endif
42777 #undef $ac_func
42779 /* Override any gcc2 internal prototype to avoid an error. */
42780 #ifdef __cplusplus
42781 extern "C"
42783 #endif
42784 /* We use char because int might match the return type of a gcc2
42785 builtin and then its argument prototype would still apply. */
42786 char $ac_func ();
42787 /* The GNU C library defines this for functions which it implements
42788 to always fail with ENOSYS. Some functions are actually named
42789 something starting with __ and the normal name is an alias. */
42790 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42791 choke me
42792 #else
42793 char (*f) () = $ac_func;
42794 #endif
42795 #ifdef __cplusplus
42797 #endif
42800 main ()
42802 return f != $ac_func;
42804 return 0;
42806 _ACEOF
42807 rm -f conftest.$ac_objext conftest$ac_exeext
42808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42809 (eval $ac_link) 2>conftest.er1
42810 ac_status=$?
42811 grep -v '^ *+' conftest.er1 >conftest.err
42812 rm -f conftest.er1
42813 cat conftest.err >&5
42814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42815 (exit $ac_status); } &&
42816 { ac_try='test -z "$ac_c_werror_flag"
42817 || test ! -s conftest.err'
42818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42819 (eval $ac_try) 2>&5
42820 ac_status=$?
42821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42822 (exit $ac_status); }; } &&
42823 { ac_try='test -s conftest$ac_exeext'
42824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42825 (eval $ac_try) 2>&5
42826 ac_status=$?
42827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42828 (exit $ac_status); }; }; then
42829 eval "$as_ac_var=yes"
42830 else
42831 echo "$as_me: failed program was:" >&5
42832 sed 's/^/| /' conftest.$ac_ext >&5
42834 eval "$as_ac_var=no"
42836 rm -f conftest.err conftest.$ac_objext \
42837 conftest$ac_exeext conftest.$ac_ext
42839 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42840 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42841 if test `eval echo '${'$as_ac_var'}'` = yes; then
42842 cat >>confdefs.h <<_ACEOF
42843 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42844 _ACEOF
42847 done
42849 else
42851 echo "$as_me:$LINENO: checking for _expl declaration" >&5
42852 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
42853 if test x${glibcxx_cv_func__expl_use+set} != xset; then
42854 if test "${glibcxx_cv_func__expl_use+set}" = set; then
42855 echo $ECHO_N "(cached) $ECHO_C" >&6
42856 else
42860 ac_ext=cc
42861 ac_cpp='$CXXCPP $CPPFLAGS'
42862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42866 cat >conftest.$ac_ext <<_ACEOF
42867 /* confdefs.h. */
42868 _ACEOF
42869 cat confdefs.h >>conftest.$ac_ext
42870 cat >>conftest.$ac_ext <<_ACEOF
42871 /* end confdefs.h. */
42872 #include <math.h>
42873 #ifdef HAVE_IEEEFP_H
42874 #include <ieeefp.h>
42875 #endif
42878 main ()
42880 _expl(0);
42882 return 0;
42884 _ACEOF
42885 rm -f conftest.$ac_objext
42886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42887 (eval $ac_compile) 2>conftest.er1
42888 ac_status=$?
42889 grep -v '^ *+' conftest.er1 >conftest.err
42890 rm -f conftest.er1
42891 cat conftest.err >&5
42892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42893 (exit $ac_status); } &&
42894 { ac_try='test -z "$ac_cxx_werror_flag"
42895 || test ! -s conftest.err'
42896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42897 (eval $ac_try) 2>&5
42898 ac_status=$?
42899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42900 (exit $ac_status); }; } &&
42901 { ac_try='test -s conftest.$ac_objext'
42902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42903 (eval $ac_try) 2>&5
42904 ac_status=$?
42905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42906 (exit $ac_status); }; }; then
42907 glibcxx_cv_func__expl_use=yes
42908 else
42909 echo "$as_me: failed program was:" >&5
42910 sed 's/^/| /' conftest.$ac_ext >&5
42912 glibcxx_cv_func__expl_use=no
42914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42915 ac_ext=c
42916 ac_cpp='$CPP $CPPFLAGS'
42917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42925 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
42926 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
42928 if test x$glibcxx_cv_func__expl_use = x"yes"; then
42930 for ac_func in _expl
42932 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42933 echo "$as_me:$LINENO: checking for $ac_func" >&5
42934 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42935 if eval "test \"\${$as_ac_var+set}\" = set"; then
42936 echo $ECHO_N "(cached) $ECHO_C" >&6
42937 else
42938 if test x$gcc_no_link = xyes; then
42939 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42940 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42941 { (exit 1); exit 1; }; }
42943 cat >conftest.$ac_ext <<_ACEOF
42944 /* confdefs.h. */
42945 _ACEOF
42946 cat confdefs.h >>conftest.$ac_ext
42947 cat >>conftest.$ac_ext <<_ACEOF
42948 /* end confdefs.h. */
42949 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42950 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42951 #define $ac_func innocuous_$ac_func
42953 /* System header to define __stub macros and hopefully few prototypes,
42954 which can conflict with char $ac_func (); below.
42955 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42956 <limits.h> exists even on freestanding compilers. */
42958 #ifdef __STDC__
42959 # include <limits.h>
42960 #else
42961 # include <assert.h>
42962 #endif
42964 #undef $ac_func
42966 /* Override any gcc2 internal prototype to avoid an error. */
42967 #ifdef __cplusplus
42968 extern "C"
42970 #endif
42971 /* We use char because int might match the return type of a gcc2
42972 builtin and then its argument prototype would still apply. */
42973 char $ac_func ();
42974 /* The GNU C library defines this for functions which it implements
42975 to always fail with ENOSYS. Some functions are actually named
42976 something starting with __ and the normal name is an alias. */
42977 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42978 choke me
42979 #else
42980 char (*f) () = $ac_func;
42981 #endif
42982 #ifdef __cplusplus
42984 #endif
42987 main ()
42989 return f != $ac_func;
42991 return 0;
42993 _ACEOF
42994 rm -f conftest.$ac_objext conftest$ac_exeext
42995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42996 (eval $ac_link) 2>conftest.er1
42997 ac_status=$?
42998 grep -v '^ *+' conftest.er1 >conftest.err
42999 rm -f conftest.er1
43000 cat conftest.err >&5
43001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43002 (exit $ac_status); } &&
43003 { ac_try='test -z "$ac_c_werror_flag"
43004 || test ! -s conftest.err'
43005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43006 (eval $ac_try) 2>&5
43007 ac_status=$?
43008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43009 (exit $ac_status); }; } &&
43010 { ac_try='test -s conftest$ac_exeext'
43011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43012 (eval $ac_try) 2>&5
43013 ac_status=$?
43014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43015 (exit $ac_status); }; }; then
43016 eval "$as_ac_var=yes"
43017 else
43018 echo "$as_me: failed program was:" >&5
43019 sed 's/^/| /' conftest.$ac_ext >&5
43021 eval "$as_ac_var=no"
43023 rm -f conftest.err conftest.$ac_objext \
43024 conftest$ac_exeext conftest.$ac_ext
43026 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43027 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43028 if test `eval echo '${'$as_ac_var'}'` = yes; then
43029 cat >>confdefs.h <<_ACEOF
43030 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43031 _ACEOF
43034 done
43041 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
43042 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
43043 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
43044 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
43045 echo $ECHO_N "(cached) $ECHO_C" >&6
43046 else
43050 ac_ext=cc
43051 ac_cpp='$CXXCPP $CPPFLAGS'
43052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43056 cat >conftest.$ac_ext <<_ACEOF
43057 /* confdefs.h. */
43058 _ACEOF
43059 cat confdefs.h >>conftest.$ac_ext
43060 cat >>conftest.$ac_ext <<_ACEOF
43061 /* end confdefs.h. */
43062 #include <math.h>
43063 #ifdef HAVE_IEEEFP_H
43064 #include <ieeefp.h>
43065 #endif
43068 main ()
43070 fabsl(0);
43072 return 0;
43074 _ACEOF
43075 rm -f conftest.$ac_objext
43076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43077 (eval $ac_compile) 2>conftest.er1
43078 ac_status=$?
43079 grep -v '^ *+' conftest.er1 >conftest.err
43080 rm -f conftest.er1
43081 cat conftest.err >&5
43082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43083 (exit $ac_status); } &&
43084 { ac_try='test -z "$ac_cxx_werror_flag"
43085 || test ! -s conftest.err'
43086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43087 (eval $ac_try) 2>&5
43088 ac_status=$?
43089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43090 (exit $ac_status); }; } &&
43091 { ac_try='test -s conftest.$ac_objext'
43092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43093 (eval $ac_try) 2>&5
43094 ac_status=$?
43095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43096 (exit $ac_status); }; }; then
43097 glibcxx_cv_func_fabsl_use=yes
43098 else
43099 echo "$as_me: failed program was:" >&5
43100 sed 's/^/| /' conftest.$ac_ext >&5
43102 glibcxx_cv_func_fabsl_use=no
43104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43105 ac_ext=c
43106 ac_cpp='$CPP $CPPFLAGS'
43107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43115 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
43116 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
43118 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
43120 for ac_func in fabsl
43122 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43123 echo "$as_me:$LINENO: checking for $ac_func" >&5
43124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43125 if eval "test \"\${$as_ac_var+set}\" = set"; then
43126 echo $ECHO_N "(cached) $ECHO_C" >&6
43127 else
43128 if test x$gcc_no_link = xyes; then
43129 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43130 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43131 { (exit 1); exit 1; }; }
43133 cat >conftest.$ac_ext <<_ACEOF
43134 /* confdefs.h. */
43135 _ACEOF
43136 cat confdefs.h >>conftest.$ac_ext
43137 cat >>conftest.$ac_ext <<_ACEOF
43138 /* end confdefs.h. */
43139 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43140 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43141 #define $ac_func innocuous_$ac_func
43143 /* System header to define __stub macros and hopefully few prototypes,
43144 which can conflict with char $ac_func (); below.
43145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43146 <limits.h> exists even on freestanding compilers. */
43148 #ifdef __STDC__
43149 # include <limits.h>
43150 #else
43151 # include <assert.h>
43152 #endif
43154 #undef $ac_func
43156 /* Override any gcc2 internal prototype to avoid an error. */
43157 #ifdef __cplusplus
43158 extern "C"
43160 #endif
43161 /* We use char because int might match the return type of a gcc2
43162 builtin and then its argument prototype would still apply. */
43163 char $ac_func ();
43164 /* The GNU C library defines this for functions which it implements
43165 to always fail with ENOSYS. Some functions are actually named
43166 something starting with __ and the normal name is an alias. */
43167 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43168 choke me
43169 #else
43170 char (*f) () = $ac_func;
43171 #endif
43172 #ifdef __cplusplus
43174 #endif
43177 main ()
43179 return f != $ac_func;
43181 return 0;
43183 _ACEOF
43184 rm -f conftest.$ac_objext conftest$ac_exeext
43185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43186 (eval $ac_link) 2>conftest.er1
43187 ac_status=$?
43188 grep -v '^ *+' conftest.er1 >conftest.err
43189 rm -f conftest.er1
43190 cat conftest.err >&5
43191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43192 (exit $ac_status); } &&
43193 { ac_try='test -z "$ac_c_werror_flag"
43194 || test ! -s conftest.err'
43195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43196 (eval $ac_try) 2>&5
43197 ac_status=$?
43198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43199 (exit $ac_status); }; } &&
43200 { ac_try='test -s conftest$ac_exeext'
43201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43202 (eval $ac_try) 2>&5
43203 ac_status=$?
43204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43205 (exit $ac_status); }; }; then
43206 eval "$as_ac_var=yes"
43207 else
43208 echo "$as_me: failed program was:" >&5
43209 sed 's/^/| /' conftest.$ac_ext >&5
43211 eval "$as_ac_var=no"
43213 rm -f conftest.err conftest.$ac_objext \
43214 conftest$ac_exeext conftest.$ac_ext
43216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43217 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43218 if test `eval echo '${'$as_ac_var'}'` = yes; then
43219 cat >>confdefs.h <<_ACEOF
43220 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43221 _ACEOF
43224 done
43226 else
43228 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
43229 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
43230 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
43231 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
43232 echo $ECHO_N "(cached) $ECHO_C" >&6
43233 else
43237 ac_ext=cc
43238 ac_cpp='$CXXCPP $CPPFLAGS'
43239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43243 cat >conftest.$ac_ext <<_ACEOF
43244 /* confdefs.h. */
43245 _ACEOF
43246 cat confdefs.h >>conftest.$ac_ext
43247 cat >>conftest.$ac_ext <<_ACEOF
43248 /* end confdefs.h. */
43249 #include <math.h>
43250 #ifdef HAVE_IEEEFP_H
43251 #include <ieeefp.h>
43252 #endif
43255 main ()
43257 _fabsl(0);
43259 return 0;
43261 _ACEOF
43262 rm -f conftest.$ac_objext
43263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43264 (eval $ac_compile) 2>conftest.er1
43265 ac_status=$?
43266 grep -v '^ *+' conftest.er1 >conftest.err
43267 rm -f conftest.er1
43268 cat conftest.err >&5
43269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43270 (exit $ac_status); } &&
43271 { ac_try='test -z "$ac_cxx_werror_flag"
43272 || test ! -s conftest.err'
43273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43274 (eval $ac_try) 2>&5
43275 ac_status=$?
43276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43277 (exit $ac_status); }; } &&
43278 { ac_try='test -s conftest.$ac_objext'
43279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43280 (eval $ac_try) 2>&5
43281 ac_status=$?
43282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43283 (exit $ac_status); }; }; then
43284 glibcxx_cv_func__fabsl_use=yes
43285 else
43286 echo "$as_me: failed program was:" >&5
43287 sed 's/^/| /' conftest.$ac_ext >&5
43289 glibcxx_cv_func__fabsl_use=no
43291 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43292 ac_ext=c
43293 ac_cpp='$CPP $CPPFLAGS'
43294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43302 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
43303 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
43305 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
43307 for ac_func in _fabsl
43309 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43310 echo "$as_me:$LINENO: checking for $ac_func" >&5
43311 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43312 if eval "test \"\${$as_ac_var+set}\" = set"; then
43313 echo $ECHO_N "(cached) $ECHO_C" >&6
43314 else
43315 if test x$gcc_no_link = xyes; then
43316 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43317 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43318 { (exit 1); exit 1; }; }
43320 cat >conftest.$ac_ext <<_ACEOF
43321 /* confdefs.h. */
43322 _ACEOF
43323 cat confdefs.h >>conftest.$ac_ext
43324 cat >>conftest.$ac_ext <<_ACEOF
43325 /* end confdefs.h. */
43326 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43327 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43328 #define $ac_func innocuous_$ac_func
43330 /* System header to define __stub macros and hopefully few prototypes,
43331 which can conflict with char $ac_func (); below.
43332 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43333 <limits.h> exists even on freestanding compilers. */
43335 #ifdef __STDC__
43336 # include <limits.h>
43337 #else
43338 # include <assert.h>
43339 #endif
43341 #undef $ac_func
43343 /* Override any gcc2 internal prototype to avoid an error. */
43344 #ifdef __cplusplus
43345 extern "C"
43347 #endif
43348 /* We use char because int might match the return type of a gcc2
43349 builtin and then its argument prototype would still apply. */
43350 char $ac_func ();
43351 /* The GNU C library defines this for functions which it implements
43352 to always fail with ENOSYS. Some functions are actually named
43353 something starting with __ and the normal name is an alias. */
43354 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43355 choke me
43356 #else
43357 char (*f) () = $ac_func;
43358 #endif
43359 #ifdef __cplusplus
43361 #endif
43364 main ()
43366 return f != $ac_func;
43368 return 0;
43370 _ACEOF
43371 rm -f conftest.$ac_objext conftest$ac_exeext
43372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43373 (eval $ac_link) 2>conftest.er1
43374 ac_status=$?
43375 grep -v '^ *+' conftest.er1 >conftest.err
43376 rm -f conftest.er1
43377 cat conftest.err >&5
43378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43379 (exit $ac_status); } &&
43380 { ac_try='test -z "$ac_c_werror_flag"
43381 || test ! -s conftest.err'
43382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43383 (eval $ac_try) 2>&5
43384 ac_status=$?
43385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43386 (exit $ac_status); }; } &&
43387 { ac_try='test -s conftest$ac_exeext'
43388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43389 (eval $ac_try) 2>&5
43390 ac_status=$?
43391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43392 (exit $ac_status); }; }; then
43393 eval "$as_ac_var=yes"
43394 else
43395 echo "$as_me: failed program was:" >&5
43396 sed 's/^/| /' conftest.$ac_ext >&5
43398 eval "$as_ac_var=no"
43400 rm -f conftest.err conftest.$ac_objext \
43401 conftest$ac_exeext conftest.$ac_ext
43403 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43404 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43405 if test `eval echo '${'$as_ac_var'}'` = yes; then
43406 cat >>confdefs.h <<_ACEOF
43407 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43408 _ACEOF
43411 done
43418 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
43419 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
43420 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
43421 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
43422 echo $ECHO_N "(cached) $ECHO_C" >&6
43423 else
43427 ac_ext=cc
43428 ac_cpp='$CXXCPP $CPPFLAGS'
43429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43433 cat >conftest.$ac_ext <<_ACEOF
43434 /* confdefs.h. */
43435 _ACEOF
43436 cat confdefs.h >>conftest.$ac_ext
43437 cat >>conftest.$ac_ext <<_ACEOF
43438 /* end confdefs.h. */
43439 #include <math.h>
43441 main ()
43443 fmodl(0, 0);
43445 return 0;
43447 _ACEOF
43448 rm -f conftest.$ac_objext
43449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43450 (eval $ac_compile) 2>conftest.er1
43451 ac_status=$?
43452 grep -v '^ *+' conftest.er1 >conftest.err
43453 rm -f conftest.er1
43454 cat conftest.err >&5
43455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43456 (exit $ac_status); } &&
43457 { ac_try='test -z "$ac_cxx_werror_flag"
43458 || test ! -s conftest.err'
43459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43460 (eval $ac_try) 2>&5
43461 ac_status=$?
43462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43463 (exit $ac_status); }; } &&
43464 { ac_try='test -s conftest.$ac_objext'
43465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43466 (eval $ac_try) 2>&5
43467 ac_status=$?
43468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43469 (exit $ac_status); }; }; then
43470 glibcxx_cv_func_fmodl_use=yes
43471 else
43472 echo "$as_me: failed program was:" >&5
43473 sed 's/^/| /' conftest.$ac_ext >&5
43475 glibcxx_cv_func_fmodl_use=no
43477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43478 ac_ext=c
43479 ac_cpp='$CPP $CPPFLAGS'
43480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43488 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
43489 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
43491 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
43493 for ac_func in fmodl
43495 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43496 echo "$as_me:$LINENO: checking for $ac_func" >&5
43497 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43498 if eval "test \"\${$as_ac_var+set}\" = set"; then
43499 echo $ECHO_N "(cached) $ECHO_C" >&6
43500 else
43501 if test x$gcc_no_link = xyes; then
43502 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43503 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43504 { (exit 1); exit 1; }; }
43506 cat >conftest.$ac_ext <<_ACEOF
43507 /* confdefs.h. */
43508 _ACEOF
43509 cat confdefs.h >>conftest.$ac_ext
43510 cat >>conftest.$ac_ext <<_ACEOF
43511 /* end confdefs.h. */
43512 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43513 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43514 #define $ac_func innocuous_$ac_func
43516 /* System header to define __stub macros and hopefully few prototypes,
43517 which can conflict with char $ac_func (); below.
43518 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43519 <limits.h> exists even on freestanding compilers. */
43521 #ifdef __STDC__
43522 # include <limits.h>
43523 #else
43524 # include <assert.h>
43525 #endif
43527 #undef $ac_func
43529 /* Override any gcc2 internal prototype to avoid an error. */
43530 #ifdef __cplusplus
43531 extern "C"
43533 #endif
43534 /* We use char because int might match the return type of a gcc2
43535 builtin and then its argument prototype would still apply. */
43536 char $ac_func ();
43537 /* The GNU C library defines this for functions which it implements
43538 to always fail with ENOSYS. Some functions are actually named
43539 something starting with __ and the normal name is an alias. */
43540 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43541 choke me
43542 #else
43543 char (*f) () = $ac_func;
43544 #endif
43545 #ifdef __cplusplus
43547 #endif
43550 main ()
43552 return f != $ac_func;
43554 return 0;
43556 _ACEOF
43557 rm -f conftest.$ac_objext conftest$ac_exeext
43558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43559 (eval $ac_link) 2>conftest.er1
43560 ac_status=$?
43561 grep -v '^ *+' conftest.er1 >conftest.err
43562 rm -f conftest.er1
43563 cat conftest.err >&5
43564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43565 (exit $ac_status); } &&
43566 { ac_try='test -z "$ac_c_werror_flag"
43567 || test ! -s conftest.err'
43568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43569 (eval $ac_try) 2>&5
43570 ac_status=$?
43571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43572 (exit $ac_status); }; } &&
43573 { ac_try='test -s conftest$ac_exeext'
43574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43575 (eval $ac_try) 2>&5
43576 ac_status=$?
43577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43578 (exit $ac_status); }; }; then
43579 eval "$as_ac_var=yes"
43580 else
43581 echo "$as_me: failed program was:" >&5
43582 sed 's/^/| /' conftest.$ac_ext >&5
43584 eval "$as_ac_var=no"
43586 rm -f conftest.err conftest.$ac_objext \
43587 conftest$ac_exeext conftest.$ac_ext
43589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43590 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43591 if test `eval echo '${'$as_ac_var'}'` = yes; then
43592 cat >>confdefs.h <<_ACEOF
43593 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43594 _ACEOF
43597 done
43599 else
43601 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
43602 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
43603 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
43604 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
43605 echo $ECHO_N "(cached) $ECHO_C" >&6
43606 else
43610 ac_ext=cc
43611 ac_cpp='$CXXCPP $CPPFLAGS'
43612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43616 cat >conftest.$ac_ext <<_ACEOF
43617 /* confdefs.h. */
43618 _ACEOF
43619 cat confdefs.h >>conftest.$ac_ext
43620 cat >>conftest.$ac_ext <<_ACEOF
43621 /* end confdefs.h. */
43622 #include <math.h>
43624 main ()
43626 _fmodl(0, 0);
43628 return 0;
43630 _ACEOF
43631 rm -f conftest.$ac_objext
43632 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43633 (eval $ac_compile) 2>conftest.er1
43634 ac_status=$?
43635 grep -v '^ *+' conftest.er1 >conftest.err
43636 rm -f conftest.er1
43637 cat conftest.err >&5
43638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43639 (exit $ac_status); } &&
43640 { ac_try='test -z "$ac_cxx_werror_flag"
43641 || test ! -s conftest.err'
43642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43643 (eval $ac_try) 2>&5
43644 ac_status=$?
43645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43646 (exit $ac_status); }; } &&
43647 { ac_try='test -s conftest.$ac_objext'
43648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43649 (eval $ac_try) 2>&5
43650 ac_status=$?
43651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43652 (exit $ac_status); }; }; then
43653 glibcxx_cv_func__fmodl_use=yes
43654 else
43655 echo "$as_me: failed program was:" >&5
43656 sed 's/^/| /' conftest.$ac_ext >&5
43658 glibcxx_cv_func__fmodl_use=no
43660 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43661 ac_ext=c
43662 ac_cpp='$CPP $CPPFLAGS'
43663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43671 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
43672 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
43674 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
43676 for ac_func in _fmodl
43678 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43679 echo "$as_me:$LINENO: checking for $ac_func" >&5
43680 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43681 if eval "test \"\${$as_ac_var+set}\" = set"; then
43682 echo $ECHO_N "(cached) $ECHO_C" >&6
43683 else
43684 if test x$gcc_no_link = xyes; then
43685 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43686 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43687 { (exit 1); exit 1; }; }
43689 cat >conftest.$ac_ext <<_ACEOF
43690 /* confdefs.h. */
43691 _ACEOF
43692 cat confdefs.h >>conftest.$ac_ext
43693 cat >>conftest.$ac_ext <<_ACEOF
43694 /* end confdefs.h. */
43695 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43697 #define $ac_func innocuous_$ac_func
43699 /* System header to define __stub macros and hopefully few prototypes,
43700 which can conflict with char $ac_func (); below.
43701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43702 <limits.h> exists even on freestanding compilers. */
43704 #ifdef __STDC__
43705 # include <limits.h>
43706 #else
43707 # include <assert.h>
43708 #endif
43710 #undef $ac_func
43712 /* Override any gcc2 internal prototype to avoid an error. */
43713 #ifdef __cplusplus
43714 extern "C"
43716 #endif
43717 /* We use char because int might match the return type of a gcc2
43718 builtin and then its argument prototype would still apply. */
43719 char $ac_func ();
43720 /* The GNU C library defines this for functions which it implements
43721 to always fail with ENOSYS. Some functions are actually named
43722 something starting with __ and the normal name is an alias. */
43723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43724 choke me
43725 #else
43726 char (*f) () = $ac_func;
43727 #endif
43728 #ifdef __cplusplus
43730 #endif
43733 main ()
43735 return f != $ac_func;
43737 return 0;
43739 _ACEOF
43740 rm -f conftest.$ac_objext conftest$ac_exeext
43741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43742 (eval $ac_link) 2>conftest.er1
43743 ac_status=$?
43744 grep -v '^ *+' conftest.er1 >conftest.err
43745 rm -f conftest.er1
43746 cat conftest.err >&5
43747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43748 (exit $ac_status); } &&
43749 { ac_try='test -z "$ac_c_werror_flag"
43750 || test ! -s conftest.err'
43751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43752 (eval $ac_try) 2>&5
43753 ac_status=$?
43754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43755 (exit $ac_status); }; } &&
43756 { ac_try='test -s conftest$ac_exeext'
43757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43758 (eval $ac_try) 2>&5
43759 ac_status=$?
43760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43761 (exit $ac_status); }; }; then
43762 eval "$as_ac_var=yes"
43763 else
43764 echo "$as_me: failed program was:" >&5
43765 sed 's/^/| /' conftest.$ac_ext >&5
43767 eval "$as_ac_var=no"
43769 rm -f conftest.err conftest.$ac_objext \
43770 conftest$ac_exeext conftest.$ac_ext
43772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43773 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43774 if test `eval echo '${'$as_ac_var'}'` = yes; then
43775 cat >>confdefs.h <<_ACEOF
43776 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43777 _ACEOF
43780 done
43787 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
43788 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
43789 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
43790 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
43791 echo $ECHO_N "(cached) $ECHO_C" >&6
43792 else
43796 ac_ext=cc
43797 ac_cpp='$CXXCPP $CPPFLAGS'
43798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43802 cat >conftest.$ac_ext <<_ACEOF
43803 /* confdefs.h. */
43804 _ACEOF
43805 cat confdefs.h >>conftest.$ac_ext
43806 cat >>conftest.$ac_ext <<_ACEOF
43807 /* end confdefs.h. */
43808 #include <math.h>
43810 main ()
43812 frexpl(0, 0);
43814 return 0;
43816 _ACEOF
43817 rm -f conftest.$ac_objext
43818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43819 (eval $ac_compile) 2>conftest.er1
43820 ac_status=$?
43821 grep -v '^ *+' conftest.er1 >conftest.err
43822 rm -f conftest.er1
43823 cat conftest.err >&5
43824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43825 (exit $ac_status); } &&
43826 { ac_try='test -z "$ac_cxx_werror_flag"
43827 || test ! -s conftest.err'
43828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43829 (eval $ac_try) 2>&5
43830 ac_status=$?
43831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43832 (exit $ac_status); }; } &&
43833 { ac_try='test -s conftest.$ac_objext'
43834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43835 (eval $ac_try) 2>&5
43836 ac_status=$?
43837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43838 (exit $ac_status); }; }; then
43839 glibcxx_cv_func_frexpl_use=yes
43840 else
43841 echo "$as_me: failed program was:" >&5
43842 sed 's/^/| /' conftest.$ac_ext >&5
43844 glibcxx_cv_func_frexpl_use=no
43846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43847 ac_ext=c
43848 ac_cpp='$CPP $CPPFLAGS'
43849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43857 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
43858 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
43860 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
43862 for ac_func in frexpl
43864 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43865 echo "$as_me:$LINENO: checking for $ac_func" >&5
43866 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43867 if eval "test \"\${$as_ac_var+set}\" = set"; then
43868 echo $ECHO_N "(cached) $ECHO_C" >&6
43869 else
43870 if test x$gcc_no_link = xyes; then
43871 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43872 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43873 { (exit 1); exit 1; }; }
43875 cat >conftest.$ac_ext <<_ACEOF
43876 /* confdefs.h. */
43877 _ACEOF
43878 cat confdefs.h >>conftest.$ac_ext
43879 cat >>conftest.$ac_ext <<_ACEOF
43880 /* end confdefs.h. */
43881 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43882 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43883 #define $ac_func innocuous_$ac_func
43885 /* System header to define __stub macros and hopefully few prototypes,
43886 which can conflict with char $ac_func (); below.
43887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43888 <limits.h> exists even on freestanding compilers. */
43890 #ifdef __STDC__
43891 # include <limits.h>
43892 #else
43893 # include <assert.h>
43894 #endif
43896 #undef $ac_func
43898 /* Override any gcc2 internal prototype to avoid an error. */
43899 #ifdef __cplusplus
43900 extern "C"
43902 #endif
43903 /* We use char because int might match the return type of a gcc2
43904 builtin and then its argument prototype would still apply. */
43905 char $ac_func ();
43906 /* The GNU C library defines this for functions which it implements
43907 to always fail with ENOSYS. Some functions are actually named
43908 something starting with __ and the normal name is an alias. */
43909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43910 choke me
43911 #else
43912 char (*f) () = $ac_func;
43913 #endif
43914 #ifdef __cplusplus
43916 #endif
43919 main ()
43921 return f != $ac_func;
43923 return 0;
43925 _ACEOF
43926 rm -f conftest.$ac_objext conftest$ac_exeext
43927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43928 (eval $ac_link) 2>conftest.er1
43929 ac_status=$?
43930 grep -v '^ *+' conftest.er1 >conftest.err
43931 rm -f conftest.er1
43932 cat conftest.err >&5
43933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43934 (exit $ac_status); } &&
43935 { ac_try='test -z "$ac_c_werror_flag"
43936 || test ! -s conftest.err'
43937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43938 (eval $ac_try) 2>&5
43939 ac_status=$?
43940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43941 (exit $ac_status); }; } &&
43942 { ac_try='test -s conftest$ac_exeext'
43943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43944 (eval $ac_try) 2>&5
43945 ac_status=$?
43946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43947 (exit $ac_status); }; }; then
43948 eval "$as_ac_var=yes"
43949 else
43950 echo "$as_me: failed program was:" >&5
43951 sed 's/^/| /' conftest.$ac_ext >&5
43953 eval "$as_ac_var=no"
43955 rm -f conftest.err conftest.$ac_objext \
43956 conftest$ac_exeext conftest.$ac_ext
43958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43959 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43960 if test `eval echo '${'$as_ac_var'}'` = yes; then
43961 cat >>confdefs.h <<_ACEOF
43962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43963 _ACEOF
43966 done
43968 else
43970 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
43971 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
43972 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
43973 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
43974 echo $ECHO_N "(cached) $ECHO_C" >&6
43975 else
43979 ac_ext=cc
43980 ac_cpp='$CXXCPP $CPPFLAGS'
43981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43985 cat >conftest.$ac_ext <<_ACEOF
43986 /* confdefs.h. */
43987 _ACEOF
43988 cat confdefs.h >>conftest.$ac_ext
43989 cat >>conftest.$ac_ext <<_ACEOF
43990 /* end confdefs.h. */
43991 #include <math.h>
43993 main ()
43995 _frexpl(0, 0);
43997 return 0;
43999 _ACEOF
44000 rm -f conftest.$ac_objext
44001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44002 (eval $ac_compile) 2>conftest.er1
44003 ac_status=$?
44004 grep -v '^ *+' conftest.er1 >conftest.err
44005 rm -f conftest.er1
44006 cat conftest.err >&5
44007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44008 (exit $ac_status); } &&
44009 { ac_try='test -z "$ac_cxx_werror_flag"
44010 || test ! -s conftest.err'
44011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44012 (eval $ac_try) 2>&5
44013 ac_status=$?
44014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44015 (exit $ac_status); }; } &&
44016 { ac_try='test -s conftest.$ac_objext'
44017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44018 (eval $ac_try) 2>&5
44019 ac_status=$?
44020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44021 (exit $ac_status); }; }; then
44022 glibcxx_cv_func__frexpl_use=yes
44023 else
44024 echo "$as_me: failed program was:" >&5
44025 sed 's/^/| /' conftest.$ac_ext >&5
44027 glibcxx_cv_func__frexpl_use=no
44029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44030 ac_ext=c
44031 ac_cpp='$CPP $CPPFLAGS'
44032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44040 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
44041 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
44043 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
44045 for ac_func in _frexpl
44047 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44048 echo "$as_me:$LINENO: checking for $ac_func" >&5
44049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44050 if eval "test \"\${$as_ac_var+set}\" = set"; then
44051 echo $ECHO_N "(cached) $ECHO_C" >&6
44052 else
44053 if test x$gcc_no_link = xyes; then
44054 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44056 { (exit 1); exit 1; }; }
44058 cat >conftest.$ac_ext <<_ACEOF
44059 /* confdefs.h. */
44060 _ACEOF
44061 cat confdefs.h >>conftest.$ac_ext
44062 cat >>conftest.$ac_ext <<_ACEOF
44063 /* end confdefs.h. */
44064 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44065 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44066 #define $ac_func innocuous_$ac_func
44068 /* System header to define __stub macros and hopefully few prototypes,
44069 which can conflict with char $ac_func (); below.
44070 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44071 <limits.h> exists even on freestanding compilers. */
44073 #ifdef __STDC__
44074 # include <limits.h>
44075 #else
44076 # include <assert.h>
44077 #endif
44079 #undef $ac_func
44081 /* Override any gcc2 internal prototype to avoid an error. */
44082 #ifdef __cplusplus
44083 extern "C"
44085 #endif
44086 /* We use char because int might match the return type of a gcc2
44087 builtin and then its argument prototype would still apply. */
44088 char $ac_func ();
44089 /* The GNU C library defines this for functions which it implements
44090 to always fail with ENOSYS. Some functions are actually named
44091 something starting with __ and the normal name is an alias. */
44092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44093 choke me
44094 #else
44095 char (*f) () = $ac_func;
44096 #endif
44097 #ifdef __cplusplus
44099 #endif
44102 main ()
44104 return f != $ac_func;
44106 return 0;
44108 _ACEOF
44109 rm -f conftest.$ac_objext conftest$ac_exeext
44110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44111 (eval $ac_link) 2>conftest.er1
44112 ac_status=$?
44113 grep -v '^ *+' conftest.er1 >conftest.err
44114 rm -f conftest.er1
44115 cat conftest.err >&5
44116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44117 (exit $ac_status); } &&
44118 { ac_try='test -z "$ac_c_werror_flag"
44119 || test ! -s conftest.err'
44120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44121 (eval $ac_try) 2>&5
44122 ac_status=$?
44123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44124 (exit $ac_status); }; } &&
44125 { ac_try='test -s conftest$ac_exeext'
44126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44127 (eval $ac_try) 2>&5
44128 ac_status=$?
44129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44130 (exit $ac_status); }; }; then
44131 eval "$as_ac_var=yes"
44132 else
44133 echo "$as_me: failed program was:" >&5
44134 sed 's/^/| /' conftest.$ac_ext >&5
44136 eval "$as_ac_var=no"
44138 rm -f conftest.err conftest.$ac_objext \
44139 conftest$ac_exeext conftest.$ac_ext
44141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44143 if test `eval echo '${'$as_ac_var'}'` = yes; then
44144 cat >>confdefs.h <<_ACEOF
44145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44146 _ACEOF
44149 done
44156 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
44157 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
44158 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
44159 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
44160 echo $ECHO_N "(cached) $ECHO_C" >&6
44161 else
44165 ac_ext=cc
44166 ac_cpp='$CXXCPP $CPPFLAGS'
44167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44171 cat >conftest.$ac_ext <<_ACEOF
44172 /* confdefs.h. */
44173 _ACEOF
44174 cat confdefs.h >>conftest.$ac_ext
44175 cat >>conftest.$ac_ext <<_ACEOF
44176 /* end confdefs.h. */
44177 #include <math.h>
44179 main ()
44181 hypotl(0, 0);
44183 return 0;
44185 _ACEOF
44186 rm -f conftest.$ac_objext
44187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44188 (eval $ac_compile) 2>conftest.er1
44189 ac_status=$?
44190 grep -v '^ *+' conftest.er1 >conftest.err
44191 rm -f conftest.er1
44192 cat conftest.err >&5
44193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44194 (exit $ac_status); } &&
44195 { ac_try='test -z "$ac_cxx_werror_flag"
44196 || test ! -s conftest.err'
44197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44198 (eval $ac_try) 2>&5
44199 ac_status=$?
44200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44201 (exit $ac_status); }; } &&
44202 { ac_try='test -s conftest.$ac_objext'
44203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44204 (eval $ac_try) 2>&5
44205 ac_status=$?
44206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44207 (exit $ac_status); }; }; then
44208 glibcxx_cv_func_hypotl_use=yes
44209 else
44210 echo "$as_me: failed program was:" >&5
44211 sed 's/^/| /' conftest.$ac_ext >&5
44213 glibcxx_cv_func_hypotl_use=no
44215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44216 ac_ext=c
44217 ac_cpp='$CPP $CPPFLAGS'
44218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44226 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
44227 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
44229 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
44231 for ac_func in hypotl
44233 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44234 echo "$as_me:$LINENO: checking for $ac_func" >&5
44235 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44236 if eval "test \"\${$as_ac_var+set}\" = set"; then
44237 echo $ECHO_N "(cached) $ECHO_C" >&6
44238 else
44239 if test x$gcc_no_link = xyes; then
44240 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44241 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44242 { (exit 1); exit 1; }; }
44244 cat >conftest.$ac_ext <<_ACEOF
44245 /* confdefs.h. */
44246 _ACEOF
44247 cat confdefs.h >>conftest.$ac_ext
44248 cat >>conftest.$ac_ext <<_ACEOF
44249 /* end confdefs.h. */
44250 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44251 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44252 #define $ac_func innocuous_$ac_func
44254 /* System header to define __stub macros and hopefully few prototypes,
44255 which can conflict with char $ac_func (); below.
44256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44257 <limits.h> exists even on freestanding compilers. */
44259 #ifdef __STDC__
44260 # include <limits.h>
44261 #else
44262 # include <assert.h>
44263 #endif
44265 #undef $ac_func
44267 /* Override any gcc2 internal prototype to avoid an error. */
44268 #ifdef __cplusplus
44269 extern "C"
44271 #endif
44272 /* We use char because int might match the return type of a gcc2
44273 builtin and then its argument prototype would still apply. */
44274 char $ac_func ();
44275 /* The GNU C library defines this for functions which it implements
44276 to always fail with ENOSYS. Some functions are actually named
44277 something starting with __ and the normal name is an alias. */
44278 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44279 choke me
44280 #else
44281 char (*f) () = $ac_func;
44282 #endif
44283 #ifdef __cplusplus
44285 #endif
44288 main ()
44290 return f != $ac_func;
44292 return 0;
44294 _ACEOF
44295 rm -f conftest.$ac_objext conftest$ac_exeext
44296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44297 (eval $ac_link) 2>conftest.er1
44298 ac_status=$?
44299 grep -v '^ *+' conftest.er1 >conftest.err
44300 rm -f conftest.er1
44301 cat conftest.err >&5
44302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44303 (exit $ac_status); } &&
44304 { ac_try='test -z "$ac_c_werror_flag"
44305 || test ! -s conftest.err'
44306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44307 (eval $ac_try) 2>&5
44308 ac_status=$?
44309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44310 (exit $ac_status); }; } &&
44311 { ac_try='test -s conftest$ac_exeext'
44312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44313 (eval $ac_try) 2>&5
44314 ac_status=$?
44315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44316 (exit $ac_status); }; }; then
44317 eval "$as_ac_var=yes"
44318 else
44319 echo "$as_me: failed program was:" >&5
44320 sed 's/^/| /' conftest.$ac_ext >&5
44322 eval "$as_ac_var=no"
44324 rm -f conftest.err conftest.$ac_objext \
44325 conftest$ac_exeext conftest.$ac_ext
44327 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44328 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44329 if test `eval echo '${'$as_ac_var'}'` = yes; then
44330 cat >>confdefs.h <<_ACEOF
44331 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44332 _ACEOF
44335 done
44337 else
44339 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
44340 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
44341 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
44342 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
44343 echo $ECHO_N "(cached) $ECHO_C" >&6
44344 else
44348 ac_ext=cc
44349 ac_cpp='$CXXCPP $CPPFLAGS'
44350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44354 cat >conftest.$ac_ext <<_ACEOF
44355 /* confdefs.h. */
44356 _ACEOF
44357 cat confdefs.h >>conftest.$ac_ext
44358 cat >>conftest.$ac_ext <<_ACEOF
44359 /* end confdefs.h. */
44360 #include <math.h>
44362 main ()
44364 _hypotl(0, 0);
44366 return 0;
44368 _ACEOF
44369 rm -f conftest.$ac_objext
44370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44371 (eval $ac_compile) 2>conftest.er1
44372 ac_status=$?
44373 grep -v '^ *+' conftest.er1 >conftest.err
44374 rm -f conftest.er1
44375 cat conftest.err >&5
44376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44377 (exit $ac_status); } &&
44378 { ac_try='test -z "$ac_cxx_werror_flag"
44379 || test ! -s conftest.err'
44380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44381 (eval $ac_try) 2>&5
44382 ac_status=$?
44383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44384 (exit $ac_status); }; } &&
44385 { ac_try='test -s conftest.$ac_objext'
44386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44387 (eval $ac_try) 2>&5
44388 ac_status=$?
44389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44390 (exit $ac_status); }; }; then
44391 glibcxx_cv_func__hypotl_use=yes
44392 else
44393 echo "$as_me: failed program was:" >&5
44394 sed 's/^/| /' conftest.$ac_ext >&5
44396 glibcxx_cv_func__hypotl_use=no
44398 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44399 ac_ext=c
44400 ac_cpp='$CPP $CPPFLAGS'
44401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44409 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
44410 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
44412 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
44414 for ac_func in _hypotl
44416 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44417 echo "$as_me:$LINENO: checking for $ac_func" >&5
44418 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44419 if eval "test \"\${$as_ac_var+set}\" = set"; then
44420 echo $ECHO_N "(cached) $ECHO_C" >&6
44421 else
44422 if test x$gcc_no_link = xyes; then
44423 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44424 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44425 { (exit 1); exit 1; }; }
44427 cat >conftest.$ac_ext <<_ACEOF
44428 /* confdefs.h. */
44429 _ACEOF
44430 cat confdefs.h >>conftest.$ac_ext
44431 cat >>conftest.$ac_ext <<_ACEOF
44432 /* end confdefs.h. */
44433 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44434 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44435 #define $ac_func innocuous_$ac_func
44437 /* System header to define __stub macros and hopefully few prototypes,
44438 which can conflict with char $ac_func (); below.
44439 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44440 <limits.h> exists even on freestanding compilers. */
44442 #ifdef __STDC__
44443 # include <limits.h>
44444 #else
44445 # include <assert.h>
44446 #endif
44448 #undef $ac_func
44450 /* Override any gcc2 internal prototype to avoid an error. */
44451 #ifdef __cplusplus
44452 extern "C"
44454 #endif
44455 /* We use char because int might match the return type of a gcc2
44456 builtin and then its argument prototype would still apply. */
44457 char $ac_func ();
44458 /* The GNU C library defines this for functions which it implements
44459 to always fail with ENOSYS. Some functions are actually named
44460 something starting with __ and the normal name is an alias. */
44461 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44462 choke me
44463 #else
44464 char (*f) () = $ac_func;
44465 #endif
44466 #ifdef __cplusplus
44468 #endif
44471 main ()
44473 return f != $ac_func;
44475 return 0;
44477 _ACEOF
44478 rm -f conftest.$ac_objext conftest$ac_exeext
44479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44480 (eval $ac_link) 2>conftest.er1
44481 ac_status=$?
44482 grep -v '^ *+' conftest.er1 >conftest.err
44483 rm -f conftest.er1
44484 cat conftest.err >&5
44485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44486 (exit $ac_status); } &&
44487 { ac_try='test -z "$ac_c_werror_flag"
44488 || test ! -s conftest.err'
44489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44490 (eval $ac_try) 2>&5
44491 ac_status=$?
44492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44493 (exit $ac_status); }; } &&
44494 { ac_try='test -s conftest$ac_exeext'
44495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44496 (eval $ac_try) 2>&5
44497 ac_status=$?
44498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44499 (exit $ac_status); }; }; then
44500 eval "$as_ac_var=yes"
44501 else
44502 echo "$as_me: failed program was:" >&5
44503 sed 's/^/| /' conftest.$ac_ext >&5
44505 eval "$as_ac_var=no"
44507 rm -f conftest.err conftest.$ac_objext \
44508 conftest$ac_exeext conftest.$ac_ext
44510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44511 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44512 if test `eval echo '${'$as_ac_var'}'` = yes; then
44513 cat >>confdefs.h <<_ACEOF
44514 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44515 _ACEOF
44518 done
44525 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
44526 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
44527 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
44528 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
44529 echo $ECHO_N "(cached) $ECHO_C" >&6
44530 else
44534 ac_ext=cc
44535 ac_cpp='$CXXCPP $CPPFLAGS'
44536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44540 cat >conftest.$ac_ext <<_ACEOF
44541 /* confdefs.h. */
44542 _ACEOF
44543 cat confdefs.h >>conftest.$ac_ext
44544 cat >>conftest.$ac_ext <<_ACEOF
44545 /* end confdefs.h. */
44546 #include <math.h>
44548 main ()
44550 ldexpl(0, 0);
44552 return 0;
44554 _ACEOF
44555 rm -f conftest.$ac_objext
44556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44557 (eval $ac_compile) 2>conftest.er1
44558 ac_status=$?
44559 grep -v '^ *+' conftest.er1 >conftest.err
44560 rm -f conftest.er1
44561 cat conftest.err >&5
44562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44563 (exit $ac_status); } &&
44564 { ac_try='test -z "$ac_cxx_werror_flag"
44565 || test ! -s conftest.err'
44566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44567 (eval $ac_try) 2>&5
44568 ac_status=$?
44569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44570 (exit $ac_status); }; } &&
44571 { ac_try='test -s conftest.$ac_objext'
44572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44573 (eval $ac_try) 2>&5
44574 ac_status=$?
44575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44576 (exit $ac_status); }; }; then
44577 glibcxx_cv_func_ldexpl_use=yes
44578 else
44579 echo "$as_me: failed program was:" >&5
44580 sed 's/^/| /' conftest.$ac_ext >&5
44582 glibcxx_cv_func_ldexpl_use=no
44584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44585 ac_ext=c
44586 ac_cpp='$CPP $CPPFLAGS'
44587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44595 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
44596 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
44598 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
44600 for ac_func in ldexpl
44602 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44603 echo "$as_me:$LINENO: checking for $ac_func" >&5
44604 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44605 if eval "test \"\${$as_ac_var+set}\" = set"; then
44606 echo $ECHO_N "(cached) $ECHO_C" >&6
44607 else
44608 if test x$gcc_no_link = xyes; then
44609 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44610 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44611 { (exit 1); exit 1; }; }
44613 cat >conftest.$ac_ext <<_ACEOF
44614 /* confdefs.h. */
44615 _ACEOF
44616 cat confdefs.h >>conftest.$ac_ext
44617 cat >>conftest.$ac_ext <<_ACEOF
44618 /* end confdefs.h. */
44619 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44620 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44621 #define $ac_func innocuous_$ac_func
44623 /* System header to define __stub macros and hopefully few prototypes,
44624 which can conflict with char $ac_func (); below.
44625 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44626 <limits.h> exists even on freestanding compilers. */
44628 #ifdef __STDC__
44629 # include <limits.h>
44630 #else
44631 # include <assert.h>
44632 #endif
44634 #undef $ac_func
44636 /* Override any gcc2 internal prototype to avoid an error. */
44637 #ifdef __cplusplus
44638 extern "C"
44640 #endif
44641 /* We use char because int might match the return type of a gcc2
44642 builtin and then its argument prototype would still apply. */
44643 char $ac_func ();
44644 /* The GNU C library defines this for functions which it implements
44645 to always fail with ENOSYS. Some functions are actually named
44646 something starting with __ and the normal name is an alias. */
44647 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44648 choke me
44649 #else
44650 char (*f) () = $ac_func;
44651 #endif
44652 #ifdef __cplusplus
44654 #endif
44657 main ()
44659 return f != $ac_func;
44661 return 0;
44663 _ACEOF
44664 rm -f conftest.$ac_objext conftest$ac_exeext
44665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44666 (eval $ac_link) 2>conftest.er1
44667 ac_status=$?
44668 grep -v '^ *+' conftest.er1 >conftest.err
44669 rm -f conftest.er1
44670 cat conftest.err >&5
44671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44672 (exit $ac_status); } &&
44673 { ac_try='test -z "$ac_c_werror_flag"
44674 || test ! -s conftest.err'
44675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44676 (eval $ac_try) 2>&5
44677 ac_status=$?
44678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44679 (exit $ac_status); }; } &&
44680 { ac_try='test -s conftest$ac_exeext'
44681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44682 (eval $ac_try) 2>&5
44683 ac_status=$?
44684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44685 (exit $ac_status); }; }; then
44686 eval "$as_ac_var=yes"
44687 else
44688 echo "$as_me: failed program was:" >&5
44689 sed 's/^/| /' conftest.$ac_ext >&5
44691 eval "$as_ac_var=no"
44693 rm -f conftest.err conftest.$ac_objext \
44694 conftest$ac_exeext conftest.$ac_ext
44696 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44697 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44698 if test `eval echo '${'$as_ac_var'}'` = yes; then
44699 cat >>confdefs.h <<_ACEOF
44700 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44701 _ACEOF
44704 done
44706 else
44708 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
44709 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
44710 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
44711 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
44712 echo $ECHO_N "(cached) $ECHO_C" >&6
44713 else
44717 ac_ext=cc
44718 ac_cpp='$CXXCPP $CPPFLAGS'
44719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44723 cat >conftest.$ac_ext <<_ACEOF
44724 /* confdefs.h. */
44725 _ACEOF
44726 cat confdefs.h >>conftest.$ac_ext
44727 cat >>conftest.$ac_ext <<_ACEOF
44728 /* end confdefs.h. */
44729 #include <math.h>
44731 main ()
44733 _ldexpl(0, 0);
44735 return 0;
44737 _ACEOF
44738 rm -f conftest.$ac_objext
44739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44740 (eval $ac_compile) 2>conftest.er1
44741 ac_status=$?
44742 grep -v '^ *+' conftest.er1 >conftest.err
44743 rm -f conftest.er1
44744 cat conftest.err >&5
44745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44746 (exit $ac_status); } &&
44747 { ac_try='test -z "$ac_cxx_werror_flag"
44748 || test ! -s conftest.err'
44749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44750 (eval $ac_try) 2>&5
44751 ac_status=$?
44752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44753 (exit $ac_status); }; } &&
44754 { ac_try='test -s conftest.$ac_objext'
44755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44756 (eval $ac_try) 2>&5
44757 ac_status=$?
44758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44759 (exit $ac_status); }; }; then
44760 glibcxx_cv_func__ldexpl_use=yes
44761 else
44762 echo "$as_me: failed program was:" >&5
44763 sed 's/^/| /' conftest.$ac_ext >&5
44765 glibcxx_cv_func__ldexpl_use=no
44767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44768 ac_ext=c
44769 ac_cpp='$CPP $CPPFLAGS'
44770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44778 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
44779 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
44781 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
44783 for ac_func in _ldexpl
44785 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44786 echo "$as_me:$LINENO: checking for $ac_func" >&5
44787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44788 if eval "test \"\${$as_ac_var+set}\" = set"; then
44789 echo $ECHO_N "(cached) $ECHO_C" >&6
44790 else
44791 if test x$gcc_no_link = xyes; then
44792 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44793 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44794 { (exit 1); exit 1; }; }
44796 cat >conftest.$ac_ext <<_ACEOF
44797 /* confdefs.h. */
44798 _ACEOF
44799 cat confdefs.h >>conftest.$ac_ext
44800 cat >>conftest.$ac_ext <<_ACEOF
44801 /* end confdefs.h. */
44802 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44803 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44804 #define $ac_func innocuous_$ac_func
44806 /* System header to define __stub macros and hopefully few prototypes,
44807 which can conflict with char $ac_func (); below.
44808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44809 <limits.h> exists even on freestanding compilers. */
44811 #ifdef __STDC__
44812 # include <limits.h>
44813 #else
44814 # include <assert.h>
44815 #endif
44817 #undef $ac_func
44819 /* Override any gcc2 internal prototype to avoid an error. */
44820 #ifdef __cplusplus
44821 extern "C"
44823 #endif
44824 /* We use char because int might match the return type of a gcc2
44825 builtin and then its argument prototype would still apply. */
44826 char $ac_func ();
44827 /* The GNU C library defines this for functions which it implements
44828 to always fail with ENOSYS. Some functions are actually named
44829 something starting with __ and the normal name is an alias. */
44830 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44831 choke me
44832 #else
44833 char (*f) () = $ac_func;
44834 #endif
44835 #ifdef __cplusplus
44837 #endif
44840 main ()
44842 return f != $ac_func;
44844 return 0;
44846 _ACEOF
44847 rm -f conftest.$ac_objext conftest$ac_exeext
44848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44849 (eval $ac_link) 2>conftest.er1
44850 ac_status=$?
44851 grep -v '^ *+' conftest.er1 >conftest.err
44852 rm -f conftest.er1
44853 cat conftest.err >&5
44854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44855 (exit $ac_status); } &&
44856 { ac_try='test -z "$ac_c_werror_flag"
44857 || test ! -s conftest.err'
44858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44859 (eval $ac_try) 2>&5
44860 ac_status=$?
44861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44862 (exit $ac_status); }; } &&
44863 { ac_try='test -s conftest$ac_exeext'
44864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44865 (eval $ac_try) 2>&5
44866 ac_status=$?
44867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44868 (exit $ac_status); }; }; then
44869 eval "$as_ac_var=yes"
44870 else
44871 echo "$as_me: failed program was:" >&5
44872 sed 's/^/| /' conftest.$ac_ext >&5
44874 eval "$as_ac_var=no"
44876 rm -f conftest.err conftest.$ac_objext \
44877 conftest$ac_exeext conftest.$ac_ext
44879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44880 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44881 if test `eval echo '${'$as_ac_var'}'` = yes; then
44882 cat >>confdefs.h <<_ACEOF
44883 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44884 _ACEOF
44887 done
44894 echo "$as_me:$LINENO: checking for logl declaration" >&5
44895 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
44896 if test x${glibcxx_cv_func_logl_use+set} != xset; then
44897 if test "${glibcxx_cv_func_logl_use+set}" = set; then
44898 echo $ECHO_N "(cached) $ECHO_C" >&6
44899 else
44903 ac_ext=cc
44904 ac_cpp='$CXXCPP $CPPFLAGS'
44905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44909 cat >conftest.$ac_ext <<_ACEOF
44910 /* confdefs.h. */
44911 _ACEOF
44912 cat confdefs.h >>conftest.$ac_ext
44913 cat >>conftest.$ac_ext <<_ACEOF
44914 /* end confdefs.h. */
44915 #include <math.h>
44916 #ifdef HAVE_IEEEFP_H
44917 #include <ieeefp.h>
44918 #endif
44921 main ()
44923 logl(0);
44925 return 0;
44927 _ACEOF
44928 rm -f conftest.$ac_objext
44929 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44930 (eval $ac_compile) 2>conftest.er1
44931 ac_status=$?
44932 grep -v '^ *+' conftest.er1 >conftest.err
44933 rm -f conftest.er1
44934 cat conftest.err >&5
44935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44936 (exit $ac_status); } &&
44937 { ac_try='test -z "$ac_cxx_werror_flag"
44938 || test ! -s conftest.err'
44939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44940 (eval $ac_try) 2>&5
44941 ac_status=$?
44942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44943 (exit $ac_status); }; } &&
44944 { ac_try='test -s conftest.$ac_objext'
44945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44946 (eval $ac_try) 2>&5
44947 ac_status=$?
44948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44949 (exit $ac_status); }; }; then
44950 glibcxx_cv_func_logl_use=yes
44951 else
44952 echo "$as_me: failed program was:" >&5
44953 sed 's/^/| /' conftest.$ac_ext >&5
44955 glibcxx_cv_func_logl_use=no
44957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44958 ac_ext=c
44959 ac_cpp='$CPP $CPPFLAGS'
44960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44968 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
44969 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
44971 if test x$glibcxx_cv_func_logl_use = x"yes"; then
44973 for ac_func in logl
44975 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44976 echo "$as_me:$LINENO: checking for $ac_func" >&5
44977 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44978 if eval "test \"\${$as_ac_var+set}\" = set"; then
44979 echo $ECHO_N "(cached) $ECHO_C" >&6
44980 else
44981 if test x$gcc_no_link = xyes; then
44982 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44983 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44984 { (exit 1); exit 1; }; }
44986 cat >conftest.$ac_ext <<_ACEOF
44987 /* confdefs.h. */
44988 _ACEOF
44989 cat confdefs.h >>conftest.$ac_ext
44990 cat >>conftest.$ac_ext <<_ACEOF
44991 /* end confdefs.h. */
44992 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44993 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44994 #define $ac_func innocuous_$ac_func
44996 /* System header to define __stub macros and hopefully few prototypes,
44997 which can conflict with char $ac_func (); below.
44998 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44999 <limits.h> exists even on freestanding compilers. */
45001 #ifdef __STDC__
45002 # include <limits.h>
45003 #else
45004 # include <assert.h>
45005 #endif
45007 #undef $ac_func
45009 /* Override any gcc2 internal prototype to avoid an error. */
45010 #ifdef __cplusplus
45011 extern "C"
45013 #endif
45014 /* We use char because int might match the return type of a gcc2
45015 builtin and then its argument prototype would still apply. */
45016 char $ac_func ();
45017 /* The GNU C library defines this for functions which it implements
45018 to always fail with ENOSYS. Some functions are actually named
45019 something starting with __ and the normal name is an alias. */
45020 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45021 choke me
45022 #else
45023 char (*f) () = $ac_func;
45024 #endif
45025 #ifdef __cplusplus
45027 #endif
45030 main ()
45032 return f != $ac_func;
45034 return 0;
45036 _ACEOF
45037 rm -f conftest.$ac_objext conftest$ac_exeext
45038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45039 (eval $ac_link) 2>conftest.er1
45040 ac_status=$?
45041 grep -v '^ *+' conftest.er1 >conftest.err
45042 rm -f conftest.er1
45043 cat conftest.err >&5
45044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45045 (exit $ac_status); } &&
45046 { ac_try='test -z "$ac_c_werror_flag"
45047 || test ! -s conftest.err'
45048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45049 (eval $ac_try) 2>&5
45050 ac_status=$?
45051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45052 (exit $ac_status); }; } &&
45053 { ac_try='test -s conftest$ac_exeext'
45054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45055 (eval $ac_try) 2>&5
45056 ac_status=$?
45057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45058 (exit $ac_status); }; }; then
45059 eval "$as_ac_var=yes"
45060 else
45061 echo "$as_me: failed program was:" >&5
45062 sed 's/^/| /' conftest.$ac_ext >&5
45064 eval "$as_ac_var=no"
45066 rm -f conftest.err conftest.$ac_objext \
45067 conftest$ac_exeext conftest.$ac_ext
45069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45070 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45071 if test `eval echo '${'$as_ac_var'}'` = yes; then
45072 cat >>confdefs.h <<_ACEOF
45073 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45074 _ACEOF
45077 done
45079 else
45081 echo "$as_me:$LINENO: checking for _logl declaration" >&5
45082 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
45083 if test x${glibcxx_cv_func__logl_use+set} != xset; then
45084 if test "${glibcxx_cv_func__logl_use+set}" = set; then
45085 echo $ECHO_N "(cached) $ECHO_C" >&6
45086 else
45090 ac_ext=cc
45091 ac_cpp='$CXXCPP $CPPFLAGS'
45092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45096 cat >conftest.$ac_ext <<_ACEOF
45097 /* confdefs.h. */
45098 _ACEOF
45099 cat confdefs.h >>conftest.$ac_ext
45100 cat >>conftest.$ac_ext <<_ACEOF
45101 /* end confdefs.h. */
45102 #include <math.h>
45103 #ifdef HAVE_IEEEFP_H
45104 #include <ieeefp.h>
45105 #endif
45108 main ()
45110 _logl(0);
45112 return 0;
45114 _ACEOF
45115 rm -f conftest.$ac_objext
45116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45117 (eval $ac_compile) 2>conftest.er1
45118 ac_status=$?
45119 grep -v '^ *+' conftest.er1 >conftest.err
45120 rm -f conftest.er1
45121 cat conftest.err >&5
45122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45123 (exit $ac_status); } &&
45124 { ac_try='test -z "$ac_cxx_werror_flag"
45125 || test ! -s conftest.err'
45126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45127 (eval $ac_try) 2>&5
45128 ac_status=$?
45129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45130 (exit $ac_status); }; } &&
45131 { ac_try='test -s conftest.$ac_objext'
45132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45133 (eval $ac_try) 2>&5
45134 ac_status=$?
45135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45136 (exit $ac_status); }; }; then
45137 glibcxx_cv_func__logl_use=yes
45138 else
45139 echo "$as_me: failed program was:" >&5
45140 sed 's/^/| /' conftest.$ac_ext >&5
45142 glibcxx_cv_func__logl_use=no
45144 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45145 ac_ext=c
45146 ac_cpp='$CPP $CPPFLAGS'
45147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45155 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
45156 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
45158 if test x$glibcxx_cv_func__logl_use = x"yes"; then
45160 for ac_func in _logl
45162 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45163 echo "$as_me:$LINENO: checking for $ac_func" >&5
45164 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45165 if eval "test \"\${$as_ac_var+set}\" = set"; then
45166 echo $ECHO_N "(cached) $ECHO_C" >&6
45167 else
45168 if test x$gcc_no_link = xyes; then
45169 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45170 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45171 { (exit 1); exit 1; }; }
45173 cat >conftest.$ac_ext <<_ACEOF
45174 /* confdefs.h. */
45175 _ACEOF
45176 cat confdefs.h >>conftest.$ac_ext
45177 cat >>conftest.$ac_ext <<_ACEOF
45178 /* end confdefs.h. */
45179 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45180 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45181 #define $ac_func innocuous_$ac_func
45183 /* System header to define __stub macros and hopefully few prototypes,
45184 which can conflict with char $ac_func (); below.
45185 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45186 <limits.h> exists even on freestanding compilers. */
45188 #ifdef __STDC__
45189 # include <limits.h>
45190 #else
45191 # include <assert.h>
45192 #endif
45194 #undef $ac_func
45196 /* Override any gcc2 internal prototype to avoid an error. */
45197 #ifdef __cplusplus
45198 extern "C"
45200 #endif
45201 /* We use char because int might match the return type of a gcc2
45202 builtin and then its argument prototype would still apply. */
45203 char $ac_func ();
45204 /* The GNU C library defines this for functions which it implements
45205 to always fail with ENOSYS. Some functions are actually named
45206 something starting with __ and the normal name is an alias. */
45207 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45208 choke me
45209 #else
45210 char (*f) () = $ac_func;
45211 #endif
45212 #ifdef __cplusplus
45214 #endif
45217 main ()
45219 return f != $ac_func;
45221 return 0;
45223 _ACEOF
45224 rm -f conftest.$ac_objext conftest$ac_exeext
45225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45226 (eval $ac_link) 2>conftest.er1
45227 ac_status=$?
45228 grep -v '^ *+' conftest.er1 >conftest.err
45229 rm -f conftest.er1
45230 cat conftest.err >&5
45231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45232 (exit $ac_status); } &&
45233 { ac_try='test -z "$ac_c_werror_flag"
45234 || test ! -s conftest.err'
45235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45236 (eval $ac_try) 2>&5
45237 ac_status=$?
45238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45239 (exit $ac_status); }; } &&
45240 { ac_try='test -s conftest$ac_exeext'
45241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45242 (eval $ac_try) 2>&5
45243 ac_status=$?
45244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45245 (exit $ac_status); }; }; then
45246 eval "$as_ac_var=yes"
45247 else
45248 echo "$as_me: failed program was:" >&5
45249 sed 's/^/| /' conftest.$ac_ext >&5
45251 eval "$as_ac_var=no"
45253 rm -f conftest.err conftest.$ac_objext \
45254 conftest$ac_exeext conftest.$ac_ext
45256 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45257 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45258 if test `eval echo '${'$as_ac_var'}'` = yes; then
45259 cat >>confdefs.h <<_ACEOF
45260 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45261 _ACEOF
45264 done
45271 echo "$as_me:$LINENO: checking for log10l declaration" >&5
45272 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
45273 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
45274 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
45275 echo $ECHO_N "(cached) $ECHO_C" >&6
45276 else
45280 ac_ext=cc
45281 ac_cpp='$CXXCPP $CPPFLAGS'
45282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45286 cat >conftest.$ac_ext <<_ACEOF
45287 /* confdefs.h. */
45288 _ACEOF
45289 cat confdefs.h >>conftest.$ac_ext
45290 cat >>conftest.$ac_ext <<_ACEOF
45291 /* end confdefs.h. */
45292 #include <math.h>
45293 #ifdef HAVE_IEEEFP_H
45294 #include <ieeefp.h>
45295 #endif
45298 main ()
45300 log10l(0);
45302 return 0;
45304 _ACEOF
45305 rm -f conftest.$ac_objext
45306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45307 (eval $ac_compile) 2>conftest.er1
45308 ac_status=$?
45309 grep -v '^ *+' conftest.er1 >conftest.err
45310 rm -f conftest.er1
45311 cat conftest.err >&5
45312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45313 (exit $ac_status); } &&
45314 { ac_try='test -z "$ac_cxx_werror_flag"
45315 || test ! -s conftest.err'
45316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45317 (eval $ac_try) 2>&5
45318 ac_status=$?
45319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45320 (exit $ac_status); }; } &&
45321 { ac_try='test -s conftest.$ac_objext'
45322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45323 (eval $ac_try) 2>&5
45324 ac_status=$?
45325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45326 (exit $ac_status); }; }; then
45327 glibcxx_cv_func_log10l_use=yes
45328 else
45329 echo "$as_me: failed program was:" >&5
45330 sed 's/^/| /' conftest.$ac_ext >&5
45332 glibcxx_cv_func_log10l_use=no
45334 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45335 ac_ext=c
45336 ac_cpp='$CPP $CPPFLAGS'
45337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45345 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
45346 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
45348 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
45350 for ac_func in log10l
45352 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45353 echo "$as_me:$LINENO: checking for $ac_func" >&5
45354 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45355 if eval "test \"\${$as_ac_var+set}\" = set"; then
45356 echo $ECHO_N "(cached) $ECHO_C" >&6
45357 else
45358 if test x$gcc_no_link = xyes; then
45359 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45360 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45361 { (exit 1); exit 1; }; }
45363 cat >conftest.$ac_ext <<_ACEOF
45364 /* confdefs.h. */
45365 _ACEOF
45366 cat confdefs.h >>conftest.$ac_ext
45367 cat >>conftest.$ac_ext <<_ACEOF
45368 /* end confdefs.h. */
45369 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45370 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45371 #define $ac_func innocuous_$ac_func
45373 /* System header to define __stub macros and hopefully few prototypes,
45374 which can conflict with char $ac_func (); below.
45375 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45376 <limits.h> exists even on freestanding compilers. */
45378 #ifdef __STDC__
45379 # include <limits.h>
45380 #else
45381 # include <assert.h>
45382 #endif
45384 #undef $ac_func
45386 /* Override any gcc2 internal prototype to avoid an error. */
45387 #ifdef __cplusplus
45388 extern "C"
45390 #endif
45391 /* We use char because int might match the return type of a gcc2
45392 builtin and then its argument prototype would still apply. */
45393 char $ac_func ();
45394 /* The GNU C library defines this for functions which it implements
45395 to always fail with ENOSYS. Some functions are actually named
45396 something starting with __ and the normal name is an alias. */
45397 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45398 choke me
45399 #else
45400 char (*f) () = $ac_func;
45401 #endif
45402 #ifdef __cplusplus
45404 #endif
45407 main ()
45409 return f != $ac_func;
45411 return 0;
45413 _ACEOF
45414 rm -f conftest.$ac_objext conftest$ac_exeext
45415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45416 (eval $ac_link) 2>conftest.er1
45417 ac_status=$?
45418 grep -v '^ *+' conftest.er1 >conftest.err
45419 rm -f conftest.er1
45420 cat conftest.err >&5
45421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45422 (exit $ac_status); } &&
45423 { ac_try='test -z "$ac_c_werror_flag"
45424 || test ! -s conftest.err'
45425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45426 (eval $ac_try) 2>&5
45427 ac_status=$?
45428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45429 (exit $ac_status); }; } &&
45430 { ac_try='test -s conftest$ac_exeext'
45431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45432 (eval $ac_try) 2>&5
45433 ac_status=$?
45434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45435 (exit $ac_status); }; }; then
45436 eval "$as_ac_var=yes"
45437 else
45438 echo "$as_me: failed program was:" >&5
45439 sed 's/^/| /' conftest.$ac_ext >&5
45441 eval "$as_ac_var=no"
45443 rm -f conftest.err conftest.$ac_objext \
45444 conftest$ac_exeext conftest.$ac_ext
45446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45447 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45448 if test `eval echo '${'$as_ac_var'}'` = yes; then
45449 cat >>confdefs.h <<_ACEOF
45450 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45451 _ACEOF
45454 done
45456 else
45458 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
45459 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
45460 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
45461 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
45462 echo $ECHO_N "(cached) $ECHO_C" >&6
45463 else
45467 ac_ext=cc
45468 ac_cpp='$CXXCPP $CPPFLAGS'
45469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45473 cat >conftest.$ac_ext <<_ACEOF
45474 /* confdefs.h. */
45475 _ACEOF
45476 cat confdefs.h >>conftest.$ac_ext
45477 cat >>conftest.$ac_ext <<_ACEOF
45478 /* end confdefs.h. */
45479 #include <math.h>
45480 #ifdef HAVE_IEEEFP_H
45481 #include <ieeefp.h>
45482 #endif
45485 main ()
45487 _log10l(0);
45489 return 0;
45491 _ACEOF
45492 rm -f conftest.$ac_objext
45493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45494 (eval $ac_compile) 2>conftest.er1
45495 ac_status=$?
45496 grep -v '^ *+' conftest.er1 >conftest.err
45497 rm -f conftest.er1
45498 cat conftest.err >&5
45499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45500 (exit $ac_status); } &&
45501 { ac_try='test -z "$ac_cxx_werror_flag"
45502 || test ! -s conftest.err'
45503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45504 (eval $ac_try) 2>&5
45505 ac_status=$?
45506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45507 (exit $ac_status); }; } &&
45508 { ac_try='test -s conftest.$ac_objext'
45509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45510 (eval $ac_try) 2>&5
45511 ac_status=$?
45512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45513 (exit $ac_status); }; }; then
45514 glibcxx_cv_func__log10l_use=yes
45515 else
45516 echo "$as_me: failed program was:" >&5
45517 sed 's/^/| /' conftest.$ac_ext >&5
45519 glibcxx_cv_func__log10l_use=no
45521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45522 ac_ext=c
45523 ac_cpp='$CPP $CPPFLAGS'
45524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45532 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
45533 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
45535 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
45537 for ac_func in _log10l
45539 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45540 echo "$as_me:$LINENO: checking for $ac_func" >&5
45541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45542 if eval "test \"\${$as_ac_var+set}\" = set"; then
45543 echo $ECHO_N "(cached) $ECHO_C" >&6
45544 else
45545 if test x$gcc_no_link = xyes; then
45546 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45547 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45548 { (exit 1); exit 1; }; }
45550 cat >conftest.$ac_ext <<_ACEOF
45551 /* confdefs.h. */
45552 _ACEOF
45553 cat confdefs.h >>conftest.$ac_ext
45554 cat >>conftest.$ac_ext <<_ACEOF
45555 /* end confdefs.h. */
45556 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45557 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45558 #define $ac_func innocuous_$ac_func
45560 /* System header to define __stub macros and hopefully few prototypes,
45561 which can conflict with char $ac_func (); below.
45562 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45563 <limits.h> exists even on freestanding compilers. */
45565 #ifdef __STDC__
45566 # include <limits.h>
45567 #else
45568 # include <assert.h>
45569 #endif
45571 #undef $ac_func
45573 /* Override any gcc2 internal prototype to avoid an error. */
45574 #ifdef __cplusplus
45575 extern "C"
45577 #endif
45578 /* We use char because int might match the return type of a gcc2
45579 builtin and then its argument prototype would still apply. */
45580 char $ac_func ();
45581 /* The GNU C library defines this for functions which it implements
45582 to always fail with ENOSYS. Some functions are actually named
45583 something starting with __ and the normal name is an alias. */
45584 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45585 choke me
45586 #else
45587 char (*f) () = $ac_func;
45588 #endif
45589 #ifdef __cplusplus
45591 #endif
45594 main ()
45596 return f != $ac_func;
45598 return 0;
45600 _ACEOF
45601 rm -f conftest.$ac_objext conftest$ac_exeext
45602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45603 (eval $ac_link) 2>conftest.er1
45604 ac_status=$?
45605 grep -v '^ *+' conftest.er1 >conftest.err
45606 rm -f conftest.er1
45607 cat conftest.err >&5
45608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45609 (exit $ac_status); } &&
45610 { ac_try='test -z "$ac_c_werror_flag"
45611 || test ! -s conftest.err'
45612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45613 (eval $ac_try) 2>&5
45614 ac_status=$?
45615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45616 (exit $ac_status); }; } &&
45617 { ac_try='test -s conftest$ac_exeext'
45618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45619 (eval $ac_try) 2>&5
45620 ac_status=$?
45621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45622 (exit $ac_status); }; }; then
45623 eval "$as_ac_var=yes"
45624 else
45625 echo "$as_me: failed program was:" >&5
45626 sed 's/^/| /' conftest.$ac_ext >&5
45628 eval "$as_ac_var=no"
45630 rm -f conftest.err conftest.$ac_objext \
45631 conftest$ac_exeext conftest.$ac_ext
45633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45634 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45635 if test `eval echo '${'$as_ac_var'}'` = yes; then
45636 cat >>confdefs.h <<_ACEOF
45637 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45638 _ACEOF
45641 done
45648 echo "$as_me:$LINENO: checking for modfl declaration" >&5
45649 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
45650 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
45651 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
45652 echo $ECHO_N "(cached) $ECHO_C" >&6
45653 else
45657 ac_ext=cc
45658 ac_cpp='$CXXCPP $CPPFLAGS'
45659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45663 cat >conftest.$ac_ext <<_ACEOF
45664 /* confdefs.h. */
45665 _ACEOF
45666 cat confdefs.h >>conftest.$ac_ext
45667 cat >>conftest.$ac_ext <<_ACEOF
45668 /* end confdefs.h. */
45669 #include <math.h>
45671 main ()
45673 modfl(0, 0);
45675 return 0;
45677 _ACEOF
45678 rm -f conftest.$ac_objext
45679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45680 (eval $ac_compile) 2>conftest.er1
45681 ac_status=$?
45682 grep -v '^ *+' conftest.er1 >conftest.err
45683 rm -f conftest.er1
45684 cat conftest.err >&5
45685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45686 (exit $ac_status); } &&
45687 { ac_try='test -z "$ac_cxx_werror_flag"
45688 || test ! -s conftest.err'
45689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45690 (eval $ac_try) 2>&5
45691 ac_status=$?
45692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45693 (exit $ac_status); }; } &&
45694 { ac_try='test -s conftest.$ac_objext'
45695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45696 (eval $ac_try) 2>&5
45697 ac_status=$?
45698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45699 (exit $ac_status); }; }; then
45700 glibcxx_cv_func_modfl_use=yes
45701 else
45702 echo "$as_me: failed program was:" >&5
45703 sed 's/^/| /' conftest.$ac_ext >&5
45705 glibcxx_cv_func_modfl_use=no
45707 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45708 ac_ext=c
45709 ac_cpp='$CPP $CPPFLAGS'
45710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45718 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
45719 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
45721 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
45723 for ac_func in modfl
45725 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45726 echo "$as_me:$LINENO: checking for $ac_func" >&5
45727 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45728 if eval "test \"\${$as_ac_var+set}\" = set"; then
45729 echo $ECHO_N "(cached) $ECHO_C" >&6
45730 else
45731 if test x$gcc_no_link = xyes; then
45732 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45733 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45734 { (exit 1); exit 1; }; }
45736 cat >conftest.$ac_ext <<_ACEOF
45737 /* confdefs.h. */
45738 _ACEOF
45739 cat confdefs.h >>conftest.$ac_ext
45740 cat >>conftest.$ac_ext <<_ACEOF
45741 /* end confdefs.h. */
45742 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45743 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45744 #define $ac_func innocuous_$ac_func
45746 /* System header to define __stub macros and hopefully few prototypes,
45747 which can conflict with char $ac_func (); below.
45748 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45749 <limits.h> exists even on freestanding compilers. */
45751 #ifdef __STDC__
45752 # include <limits.h>
45753 #else
45754 # include <assert.h>
45755 #endif
45757 #undef $ac_func
45759 /* Override any gcc2 internal prototype to avoid an error. */
45760 #ifdef __cplusplus
45761 extern "C"
45763 #endif
45764 /* We use char because int might match the return type of a gcc2
45765 builtin and then its argument prototype would still apply. */
45766 char $ac_func ();
45767 /* The GNU C library defines this for functions which it implements
45768 to always fail with ENOSYS. Some functions are actually named
45769 something starting with __ and the normal name is an alias. */
45770 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45771 choke me
45772 #else
45773 char (*f) () = $ac_func;
45774 #endif
45775 #ifdef __cplusplus
45777 #endif
45780 main ()
45782 return f != $ac_func;
45784 return 0;
45786 _ACEOF
45787 rm -f conftest.$ac_objext conftest$ac_exeext
45788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45789 (eval $ac_link) 2>conftest.er1
45790 ac_status=$?
45791 grep -v '^ *+' conftest.er1 >conftest.err
45792 rm -f conftest.er1
45793 cat conftest.err >&5
45794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45795 (exit $ac_status); } &&
45796 { ac_try='test -z "$ac_c_werror_flag"
45797 || test ! -s conftest.err'
45798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45799 (eval $ac_try) 2>&5
45800 ac_status=$?
45801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45802 (exit $ac_status); }; } &&
45803 { ac_try='test -s conftest$ac_exeext'
45804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45805 (eval $ac_try) 2>&5
45806 ac_status=$?
45807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45808 (exit $ac_status); }; }; then
45809 eval "$as_ac_var=yes"
45810 else
45811 echo "$as_me: failed program was:" >&5
45812 sed 's/^/| /' conftest.$ac_ext >&5
45814 eval "$as_ac_var=no"
45816 rm -f conftest.err conftest.$ac_objext \
45817 conftest$ac_exeext conftest.$ac_ext
45819 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45820 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45821 if test `eval echo '${'$as_ac_var'}'` = yes; then
45822 cat >>confdefs.h <<_ACEOF
45823 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45824 _ACEOF
45827 done
45829 else
45831 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
45832 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
45833 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
45834 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
45835 echo $ECHO_N "(cached) $ECHO_C" >&6
45836 else
45840 ac_ext=cc
45841 ac_cpp='$CXXCPP $CPPFLAGS'
45842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45846 cat >conftest.$ac_ext <<_ACEOF
45847 /* confdefs.h. */
45848 _ACEOF
45849 cat confdefs.h >>conftest.$ac_ext
45850 cat >>conftest.$ac_ext <<_ACEOF
45851 /* end confdefs.h. */
45852 #include <math.h>
45854 main ()
45856 _modfl(0, 0);
45858 return 0;
45860 _ACEOF
45861 rm -f conftest.$ac_objext
45862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45863 (eval $ac_compile) 2>conftest.er1
45864 ac_status=$?
45865 grep -v '^ *+' conftest.er1 >conftest.err
45866 rm -f conftest.er1
45867 cat conftest.err >&5
45868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45869 (exit $ac_status); } &&
45870 { ac_try='test -z "$ac_cxx_werror_flag"
45871 || test ! -s conftest.err'
45872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45873 (eval $ac_try) 2>&5
45874 ac_status=$?
45875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45876 (exit $ac_status); }; } &&
45877 { ac_try='test -s conftest.$ac_objext'
45878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45879 (eval $ac_try) 2>&5
45880 ac_status=$?
45881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45882 (exit $ac_status); }; }; then
45883 glibcxx_cv_func__modfl_use=yes
45884 else
45885 echo "$as_me: failed program was:" >&5
45886 sed 's/^/| /' conftest.$ac_ext >&5
45888 glibcxx_cv_func__modfl_use=no
45890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45891 ac_ext=c
45892 ac_cpp='$CPP $CPPFLAGS'
45893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45901 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
45902 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
45904 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
45906 for ac_func in _modfl
45908 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45909 echo "$as_me:$LINENO: checking for $ac_func" >&5
45910 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45911 if eval "test \"\${$as_ac_var+set}\" = set"; then
45912 echo $ECHO_N "(cached) $ECHO_C" >&6
45913 else
45914 if test x$gcc_no_link = xyes; then
45915 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45916 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45917 { (exit 1); exit 1; }; }
45919 cat >conftest.$ac_ext <<_ACEOF
45920 /* confdefs.h. */
45921 _ACEOF
45922 cat confdefs.h >>conftest.$ac_ext
45923 cat >>conftest.$ac_ext <<_ACEOF
45924 /* end confdefs.h. */
45925 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45926 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45927 #define $ac_func innocuous_$ac_func
45929 /* System header to define __stub macros and hopefully few prototypes,
45930 which can conflict with char $ac_func (); below.
45931 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45932 <limits.h> exists even on freestanding compilers. */
45934 #ifdef __STDC__
45935 # include <limits.h>
45936 #else
45937 # include <assert.h>
45938 #endif
45940 #undef $ac_func
45942 /* Override any gcc2 internal prototype to avoid an error. */
45943 #ifdef __cplusplus
45944 extern "C"
45946 #endif
45947 /* We use char because int might match the return type of a gcc2
45948 builtin and then its argument prototype would still apply. */
45949 char $ac_func ();
45950 /* The GNU C library defines this for functions which it implements
45951 to always fail with ENOSYS. Some functions are actually named
45952 something starting with __ and the normal name is an alias. */
45953 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45954 choke me
45955 #else
45956 char (*f) () = $ac_func;
45957 #endif
45958 #ifdef __cplusplus
45960 #endif
45963 main ()
45965 return f != $ac_func;
45967 return 0;
45969 _ACEOF
45970 rm -f conftest.$ac_objext conftest$ac_exeext
45971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45972 (eval $ac_link) 2>conftest.er1
45973 ac_status=$?
45974 grep -v '^ *+' conftest.er1 >conftest.err
45975 rm -f conftest.er1
45976 cat conftest.err >&5
45977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45978 (exit $ac_status); } &&
45979 { ac_try='test -z "$ac_c_werror_flag"
45980 || test ! -s conftest.err'
45981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45982 (eval $ac_try) 2>&5
45983 ac_status=$?
45984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45985 (exit $ac_status); }; } &&
45986 { ac_try='test -s conftest$ac_exeext'
45987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45988 (eval $ac_try) 2>&5
45989 ac_status=$?
45990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45991 (exit $ac_status); }; }; then
45992 eval "$as_ac_var=yes"
45993 else
45994 echo "$as_me: failed program was:" >&5
45995 sed 's/^/| /' conftest.$ac_ext >&5
45997 eval "$as_ac_var=no"
45999 rm -f conftest.err conftest.$ac_objext \
46000 conftest$ac_exeext conftest.$ac_ext
46002 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46003 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46004 if test `eval echo '${'$as_ac_var'}'` = yes; then
46005 cat >>confdefs.h <<_ACEOF
46006 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46007 _ACEOF
46010 done
46017 echo "$as_me:$LINENO: checking for powl declaration" >&5
46018 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
46019 if test x${glibcxx_cv_func_powl_use+set} != xset; then
46020 if test "${glibcxx_cv_func_powl_use+set}" = set; then
46021 echo $ECHO_N "(cached) $ECHO_C" >&6
46022 else
46026 ac_ext=cc
46027 ac_cpp='$CXXCPP $CPPFLAGS'
46028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46032 cat >conftest.$ac_ext <<_ACEOF
46033 /* confdefs.h. */
46034 _ACEOF
46035 cat confdefs.h >>conftest.$ac_ext
46036 cat >>conftest.$ac_ext <<_ACEOF
46037 /* end confdefs.h. */
46038 #include <math.h>
46040 main ()
46042 powl(0, 0);
46044 return 0;
46046 _ACEOF
46047 rm -f conftest.$ac_objext
46048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46049 (eval $ac_compile) 2>conftest.er1
46050 ac_status=$?
46051 grep -v '^ *+' conftest.er1 >conftest.err
46052 rm -f conftest.er1
46053 cat conftest.err >&5
46054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46055 (exit $ac_status); } &&
46056 { ac_try='test -z "$ac_cxx_werror_flag"
46057 || test ! -s conftest.err'
46058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46059 (eval $ac_try) 2>&5
46060 ac_status=$?
46061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46062 (exit $ac_status); }; } &&
46063 { ac_try='test -s conftest.$ac_objext'
46064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46065 (eval $ac_try) 2>&5
46066 ac_status=$?
46067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46068 (exit $ac_status); }; }; then
46069 glibcxx_cv_func_powl_use=yes
46070 else
46071 echo "$as_me: failed program was:" >&5
46072 sed 's/^/| /' conftest.$ac_ext >&5
46074 glibcxx_cv_func_powl_use=no
46076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46077 ac_ext=c
46078 ac_cpp='$CPP $CPPFLAGS'
46079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46087 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
46088 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
46090 if test x$glibcxx_cv_func_powl_use = x"yes"; then
46092 for ac_func in powl
46094 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46095 echo "$as_me:$LINENO: checking for $ac_func" >&5
46096 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46097 if eval "test \"\${$as_ac_var+set}\" = set"; then
46098 echo $ECHO_N "(cached) $ECHO_C" >&6
46099 else
46100 if test x$gcc_no_link = xyes; then
46101 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46102 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46103 { (exit 1); exit 1; }; }
46105 cat >conftest.$ac_ext <<_ACEOF
46106 /* confdefs.h. */
46107 _ACEOF
46108 cat confdefs.h >>conftest.$ac_ext
46109 cat >>conftest.$ac_ext <<_ACEOF
46110 /* end confdefs.h. */
46111 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46112 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46113 #define $ac_func innocuous_$ac_func
46115 /* System header to define __stub macros and hopefully few prototypes,
46116 which can conflict with char $ac_func (); below.
46117 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46118 <limits.h> exists even on freestanding compilers. */
46120 #ifdef __STDC__
46121 # include <limits.h>
46122 #else
46123 # include <assert.h>
46124 #endif
46126 #undef $ac_func
46128 /* Override any gcc2 internal prototype to avoid an error. */
46129 #ifdef __cplusplus
46130 extern "C"
46132 #endif
46133 /* We use char because int might match the return type of a gcc2
46134 builtin and then its argument prototype would still apply. */
46135 char $ac_func ();
46136 /* The GNU C library defines this for functions which it implements
46137 to always fail with ENOSYS. Some functions are actually named
46138 something starting with __ and the normal name is an alias. */
46139 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46140 choke me
46141 #else
46142 char (*f) () = $ac_func;
46143 #endif
46144 #ifdef __cplusplus
46146 #endif
46149 main ()
46151 return f != $ac_func;
46153 return 0;
46155 _ACEOF
46156 rm -f conftest.$ac_objext conftest$ac_exeext
46157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46158 (eval $ac_link) 2>conftest.er1
46159 ac_status=$?
46160 grep -v '^ *+' conftest.er1 >conftest.err
46161 rm -f conftest.er1
46162 cat conftest.err >&5
46163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46164 (exit $ac_status); } &&
46165 { ac_try='test -z "$ac_c_werror_flag"
46166 || test ! -s conftest.err'
46167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46168 (eval $ac_try) 2>&5
46169 ac_status=$?
46170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46171 (exit $ac_status); }; } &&
46172 { ac_try='test -s conftest$ac_exeext'
46173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46174 (eval $ac_try) 2>&5
46175 ac_status=$?
46176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46177 (exit $ac_status); }; }; then
46178 eval "$as_ac_var=yes"
46179 else
46180 echo "$as_me: failed program was:" >&5
46181 sed 's/^/| /' conftest.$ac_ext >&5
46183 eval "$as_ac_var=no"
46185 rm -f conftest.err conftest.$ac_objext \
46186 conftest$ac_exeext conftest.$ac_ext
46188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46189 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46190 if test `eval echo '${'$as_ac_var'}'` = yes; then
46191 cat >>confdefs.h <<_ACEOF
46192 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46193 _ACEOF
46196 done
46198 else
46200 echo "$as_me:$LINENO: checking for _powl declaration" >&5
46201 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
46202 if test x${glibcxx_cv_func__powl_use+set} != xset; then
46203 if test "${glibcxx_cv_func__powl_use+set}" = set; then
46204 echo $ECHO_N "(cached) $ECHO_C" >&6
46205 else
46209 ac_ext=cc
46210 ac_cpp='$CXXCPP $CPPFLAGS'
46211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46215 cat >conftest.$ac_ext <<_ACEOF
46216 /* confdefs.h. */
46217 _ACEOF
46218 cat confdefs.h >>conftest.$ac_ext
46219 cat >>conftest.$ac_ext <<_ACEOF
46220 /* end confdefs.h. */
46221 #include <math.h>
46223 main ()
46225 _powl(0, 0);
46227 return 0;
46229 _ACEOF
46230 rm -f conftest.$ac_objext
46231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46232 (eval $ac_compile) 2>conftest.er1
46233 ac_status=$?
46234 grep -v '^ *+' conftest.er1 >conftest.err
46235 rm -f conftest.er1
46236 cat conftest.err >&5
46237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46238 (exit $ac_status); } &&
46239 { ac_try='test -z "$ac_cxx_werror_flag"
46240 || test ! -s conftest.err'
46241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46242 (eval $ac_try) 2>&5
46243 ac_status=$?
46244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46245 (exit $ac_status); }; } &&
46246 { ac_try='test -s conftest.$ac_objext'
46247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46248 (eval $ac_try) 2>&5
46249 ac_status=$?
46250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46251 (exit $ac_status); }; }; then
46252 glibcxx_cv_func__powl_use=yes
46253 else
46254 echo "$as_me: failed program was:" >&5
46255 sed 's/^/| /' conftest.$ac_ext >&5
46257 glibcxx_cv_func__powl_use=no
46259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46260 ac_ext=c
46261 ac_cpp='$CPP $CPPFLAGS'
46262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46270 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
46271 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
46273 if test x$glibcxx_cv_func__powl_use = x"yes"; then
46275 for ac_func in _powl
46277 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46278 echo "$as_me:$LINENO: checking for $ac_func" >&5
46279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46280 if eval "test \"\${$as_ac_var+set}\" = set"; then
46281 echo $ECHO_N "(cached) $ECHO_C" >&6
46282 else
46283 if test x$gcc_no_link = xyes; then
46284 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46286 { (exit 1); exit 1; }; }
46288 cat >conftest.$ac_ext <<_ACEOF
46289 /* confdefs.h. */
46290 _ACEOF
46291 cat confdefs.h >>conftest.$ac_ext
46292 cat >>conftest.$ac_ext <<_ACEOF
46293 /* end confdefs.h. */
46294 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46295 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46296 #define $ac_func innocuous_$ac_func
46298 /* System header to define __stub macros and hopefully few prototypes,
46299 which can conflict with char $ac_func (); below.
46300 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46301 <limits.h> exists even on freestanding compilers. */
46303 #ifdef __STDC__
46304 # include <limits.h>
46305 #else
46306 # include <assert.h>
46307 #endif
46309 #undef $ac_func
46311 /* Override any gcc2 internal prototype to avoid an error. */
46312 #ifdef __cplusplus
46313 extern "C"
46315 #endif
46316 /* We use char because int might match the return type of a gcc2
46317 builtin and then its argument prototype would still apply. */
46318 char $ac_func ();
46319 /* The GNU C library defines this for functions which it implements
46320 to always fail with ENOSYS. Some functions are actually named
46321 something starting with __ and the normal name is an alias. */
46322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46323 choke me
46324 #else
46325 char (*f) () = $ac_func;
46326 #endif
46327 #ifdef __cplusplus
46329 #endif
46332 main ()
46334 return f != $ac_func;
46336 return 0;
46338 _ACEOF
46339 rm -f conftest.$ac_objext conftest$ac_exeext
46340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46341 (eval $ac_link) 2>conftest.er1
46342 ac_status=$?
46343 grep -v '^ *+' conftest.er1 >conftest.err
46344 rm -f conftest.er1
46345 cat conftest.err >&5
46346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46347 (exit $ac_status); } &&
46348 { ac_try='test -z "$ac_c_werror_flag"
46349 || test ! -s conftest.err'
46350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46351 (eval $ac_try) 2>&5
46352 ac_status=$?
46353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46354 (exit $ac_status); }; } &&
46355 { ac_try='test -s conftest$ac_exeext'
46356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46357 (eval $ac_try) 2>&5
46358 ac_status=$?
46359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46360 (exit $ac_status); }; }; then
46361 eval "$as_ac_var=yes"
46362 else
46363 echo "$as_me: failed program was:" >&5
46364 sed 's/^/| /' conftest.$ac_ext >&5
46366 eval "$as_ac_var=no"
46368 rm -f conftest.err conftest.$ac_objext \
46369 conftest$ac_exeext conftest.$ac_ext
46371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46372 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46373 if test `eval echo '${'$as_ac_var'}'` = yes; then
46374 cat >>confdefs.h <<_ACEOF
46375 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46376 _ACEOF
46379 done
46386 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
46387 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
46388 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46389 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
46390 echo $ECHO_N "(cached) $ECHO_C" >&6
46391 else
46395 ac_ext=cc
46396 ac_cpp='$CXXCPP $CPPFLAGS'
46397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46401 cat >conftest.$ac_ext <<_ACEOF
46402 /* confdefs.h. */
46403 _ACEOF
46404 cat confdefs.h >>conftest.$ac_ext
46405 cat >>conftest.$ac_ext <<_ACEOF
46406 /* end confdefs.h. */
46407 #include <math.h>
46408 #ifdef HAVE_IEEEFP_H
46409 #include <ieeefp.h>
46410 #endif
46413 main ()
46415 sqrtl(0);
46417 return 0;
46419 _ACEOF
46420 rm -f conftest.$ac_objext
46421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46422 (eval $ac_compile) 2>conftest.er1
46423 ac_status=$?
46424 grep -v '^ *+' conftest.er1 >conftest.err
46425 rm -f conftest.er1
46426 cat conftest.err >&5
46427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46428 (exit $ac_status); } &&
46429 { ac_try='test -z "$ac_cxx_werror_flag"
46430 || test ! -s conftest.err'
46431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46432 (eval $ac_try) 2>&5
46433 ac_status=$?
46434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46435 (exit $ac_status); }; } &&
46436 { ac_try='test -s conftest.$ac_objext'
46437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46438 (eval $ac_try) 2>&5
46439 ac_status=$?
46440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46441 (exit $ac_status); }; }; then
46442 glibcxx_cv_func_sqrtl_use=yes
46443 else
46444 echo "$as_me: failed program was:" >&5
46445 sed 's/^/| /' conftest.$ac_ext >&5
46447 glibcxx_cv_func_sqrtl_use=no
46449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46450 ac_ext=c
46451 ac_cpp='$CPP $CPPFLAGS'
46452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46460 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
46461 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
46463 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46465 for ac_func in sqrtl
46467 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46468 echo "$as_me:$LINENO: checking for $ac_func" >&5
46469 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46470 if eval "test \"\${$as_ac_var+set}\" = set"; then
46471 echo $ECHO_N "(cached) $ECHO_C" >&6
46472 else
46473 if test x$gcc_no_link = xyes; then
46474 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46475 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46476 { (exit 1); exit 1; }; }
46478 cat >conftest.$ac_ext <<_ACEOF
46479 /* confdefs.h. */
46480 _ACEOF
46481 cat confdefs.h >>conftest.$ac_ext
46482 cat >>conftest.$ac_ext <<_ACEOF
46483 /* end confdefs.h. */
46484 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46485 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46486 #define $ac_func innocuous_$ac_func
46488 /* System header to define __stub macros and hopefully few prototypes,
46489 which can conflict with char $ac_func (); below.
46490 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46491 <limits.h> exists even on freestanding compilers. */
46493 #ifdef __STDC__
46494 # include <limits.h>
46495 #else
46496 # include <assert.h>
46497 #endif
46499 #undef $ac_func
46501 /* Override any gcc2 internal prototype to avoid an error. */
46502 #ifdef __cplusplus
46503 extern "C"
46505 #endif
46506 /* We use char because int might match the return type of a gcc2
46507 builtin and then its argument prototype would still apply. */
46508 char $ac_func ();
46509 /* The GNU C library defines this for functions which it implements
46510 to always fail with ENOSYS. Some functions are actually named
46511 something starting with __ and the normal name is an alias. */
46512 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46513 choke me
46514 #else
46515 char (*f) () = $ac_func;
46516 #endif
46517 #ifdef __cplusplus
46519 #endif
46522 main ()
46524 return f != $ac_func;
46526 return 0;
46528 _ACEOF
46529 rm -f conftest.$ac_objext conftest$ac_exeext
46530 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46531 (eval $ac_link) 2>conftest.er1
46532 ac_status=$?
46533 grep -v '^ *+' conftest.er1 >conftest.err
46534 rm -f conftest.er1
46535 cat conftest.err >&5
46536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46537 (exit $ac_status); } &&
46538 { ac_try='test -z "$ac_c_werror_flag"
46539 || test ! -s conftest.err'
46540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46541 (eval $ac_try) 2>&5
46542 ac_status=$?
46543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46544 (exit $ac_status); }; } &&
46545 { ac_try='test -s conftest$ac_exeext'
46546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46547 (eval $ac_try) 2>&5
46548 ac_status=$?
46549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46550 (exit $ac_status); }; }; then
46551 eval "$as_ac_var=yes"
46552 else
46553 echo "$as_me: failed program was:" >&5
46554 sed 's/^/| /' conftest.$ac_ext >&5
46556 eval "$as_ac_var=no"
46558 rm -f conftest.err conftest.$ac_objext \
46559 conftest$ac_exeext conftest.$ac_ext
46561 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46562 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46563 if test `eval echo '${'$as_ac_var'}'` = yes; then
46564 cat >>confdefs.h <<_ACEOF
46565 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46566 _ACEOF
46569 done
46571 else
46573 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
46574 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
46575 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46576 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
46577 echo $ECHO_N "(cached) $ECHO_C" >&6
46578 else
46582 ac_ext=cc
46583 ac_cpp='$CXXCPP $CPPFLAGS'
46584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46588 cat >conftest.$ac_ext <<_ACEOF
46589 /* confdefs.h. */
46590 _ACEOF
46591 cat confdefs.h >>conftest.$ac_ext
46592 cat >>conftest.$ac_ext <<_ACEOF
46593 /* end confdefs.h. */
46594 #include <math.h>
46595 #ifdef HAVE_IEEEFP_H
46596 #include <ieeefp.h>
46597 #endif
46600 main ()
46602 _sqrtl(0);
46604 return 0;
46606 _ACEOF
46607 rm -f conftest.$ac_objext
46608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46609 (eval $ac_compile) 2>conftest.er1
46610 ac_status=$?
46611 grep -v '^ *+' conftest.er1 >conftest.err
46612 rm -f conftest.er1
46613 cat conftest.err >&5
46614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46615 (exit $ac_status); } &&
46616 { ac_try='test -z "$ac_cxx_werror_flag"
46617 || test ! -s conftest.err'
46618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46619 (eval $ac_try) 2>&5
46620 ac_status=$?
46621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46622 (exit $ac_status); }; } &&
46623 { ac_try='test -s conftest.$ac_objext'
46624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46625 (eval $ac_try) 2>&5
46626 ac_status=$?
46627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46628 (exit $ac_status); }; }; then
46629 glibcxx_cv_func__sqrtl_use=yes
46630 else
46631 echo "$as_me: failed program was:" >&5
46632 sed 's/^/| /' conftest.$ac_ext >&5
46634 glibcxx_cv_func__sqrtl_use=no
46636 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46637 ac_ext=c
46638 ac_cpp='$CPP $CPPFLAGS'
46639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46647 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
46648 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
46650 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46652 for ac_func in _sqrtl
46654 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46655 echo "$as_me:$LINENO: checking for $ac_func" >&5
46656 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46657 if eval "test \"\${$as_ac_var+set}\" = set"; then
46658 echo $ECHO_N "(cached) $ECHO_C" >&6
46659 else
46660 if test x$gcc_no_link = xyes; then
46661 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46662 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46663 { (exit 1); exit 1; }; }
46665 cat >conftest.$ac_ext <<_ACEOF
46666 /* confdefs.h. */
46667 _ACEOF
46668 cat confdefs.h >>conftest.$ac_ext
46669 cat >>conftest.$ac_ext <<_ACEOF
46670 /* end confdefs.h. */
46671 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46672 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46673 #define $ac_func innocuous_$ac_func
46675 /* System header to define __stub macros and hopefully few prototypes,
46676 which can conflict with char $ac_func (); below.
46677 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46678 <limits.h> exists even on freestanding compilers. */
46680 #ifdef __STDC__
46681 # include <limits.h>
46682 #else
46683 # include <assert.h>
46684 #endif
46686 #undef $ac_func
46688 /* Override any gcc2 internal prototype to avoid an error. */
46689 #ifdef __cplusplus
46690 extern "C"
46692 #endif
46693 /* We use char because int might match the return type of a gcc2
46694 builtin and then its argument prototype would still apply. */
46695 char $ac_func ();
46696 /* The GNU C library defines this for functions which it implements
46697 to always fail with ENOSYS. Some functions are actually named
46698 something starting with __ and the normal name is an alias. */
46699 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46700 choke me
46701 #else
46702 char (*f) () = $ac_func;
46703 #endif
46704 #ifdef __cplusplus
46706 #endif
46709 main ()
46711 return f != $ac_func;
46713 return 0;
46715 _ACEOF
46716 rm -f conftest.$ac_objext conftest$ac_exeext
46717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46718 (eval $ac_link) 2>conftest.er1
46719 ac_status=$?
46720 grep -v '^ *+' conftest.er1 >conftest.err
46721 rm -f conftest.er1
46722 cat conftest.err >&5
46723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46724 (exit $ac_status); } &&
46725 { ac_try='test -z "$ac_c_werror_flag"
46726 || test ! -s conftest.err'
46727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46728 (eval $ac_try) 2>&5
46729 ac_status=$?
46730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46731 (exit $ac_status); }; } &&
46732 { ac_try='test -s conftest$ac_exeext'
46733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46734 (eval $ac_try) 2>&5
46735 ac_status=$?
46736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46737 (exit $ac_status); }; }; then
46738 eval "$as_ac_var=yes"
46739 else
46740 echo "$as_me: failed program was:" >&5
46741 sed 's/^/| /' conftest.$ac_ext >&5
46743 eval "$as_ac_var=no"
46745 rm -f conftest.err conftest.$ac_objext \
46746 conftest$ac_exeext conftest.$ac_ext
46748 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46749 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46750 if test `eval echo '${'$as_ac_var'}'` = yes; then
46751 cat >>confdefs.h <<_ACEOF
46752 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46753 _ACEOF
46756 done
46763 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
46764 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
46765 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46766 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
46767 echo $ECHO_N "(cached) $ECHO_C" >&6
46768 else
46772 ac_ext=cc
46773 ac_cpp='$CXXCPP $CPPFLAGS'
46774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46778 cat >conftest.$ac_ext <<_ACEOF
46779 /* confdefs.h. */
46780 _ACEOF
46781 cat confdefs.h >>conftest.$ac_ext
46782 cat >>conftest.$ac_ext <<_ACEOF
46783 /* end confdefs.h. */
46784 #include <math.h>
46786 main ()
46788 sincosl(0, 0, 0);
46790 return 0;
46792 _ACEOF
46793 rm -f conftest.$ac_objext
46794 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46795 (eval $ac_compile) 2>conftest.er1
46796 ac_status=$?
46797 grep -v '^ *+' conftest.er1 >conftest.err
46798 rm -f conftest.er1
46799 cat conftest.err >&5
46800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46801 (exit $ac_status); } &&
46802 { ac_try='test -z "$ac_cxx_werror_flag"
46803 || test ! -s conftest.err'
46804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46805 (eval $ac_try) 2>&5
46806 ac_status=$?
46807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46808 (exit $ac_status); }; } &&
46809 { ac_try='test -s conftest.$ac_objext'
46810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46811 (eval $ac_try) 2>&5
46812 ac_status=$?
46813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46814 (exit $ac_status); }; }; then
46815 glibcxx_cv_func_sincosl_use=yes
46816 else
46817 echo "$as_me: failed program was:" >&5
46818 sed 's/^/| /' conftest.$ac_ext >&5
46820 glibcxx_cv_func_sincosl_use=no
46822 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46823 ac_ext=c
46824 ac_cpp='$CPP $CPPFLAGS'
46825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46833 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
46834 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
46836 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46838 for ac_func in sincosl
46840 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46841 echo "$as_me:$LINENO: checking for $ac_func" >&5
46842 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46843 if eval "test \"\${$as_ac_var+set}\" = set"; then
46844 echo $ECHO_N "(cached) $ECHO_C" >&6
46845 else
46846 if test x$gcc_no_link = xyes; then
46847 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46848 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46849 { (exit 1); exit 1; }; }
46851 cat >conftest.$ac_ext <<_ACEOF
46852 /* confdefs.h. */
46853 _ACEOF
46854 cat confdefs.h >>conftest.$ac_ext
46855 cat >>conftest.$ac_ext <<_ACEOF
46856 /* end confdefs.h. */
46857 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46858 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46859 #define $ac_func innocuous_$ac_func
46861 /* System header to define __stub macros and hopefully few prototypes,
46862 which can conflict with char $ac_func (); below.
46863 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46864 <limits.h> exists even on freestanding compilers. */
46866 #ifdef __STDC__
46867 # include <limits.h>
46868 #else
46869 # include <assert.h>
46870 #endif
46872 #undef $ac_func
46874 /* Override any gcc2 internal prototype to avoid an error. */
46875 #ifdef __cplusplus
46876 extern "C"
46878 #endif
46879 /* We use char because int might match the return type of a gcc2
46880 builtin and then its argument prototype would still apply. */
46881 char $ac_func ();
46882 /* The GNU C library defines this for functions which it implements
46883 to always fail with ENOSYS. Some functions are actually named
46884 something starting with __ and the normal name is an alias. */
46885 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46886 choke me
46887 #else
46888 char (*f) () = $ac_func;
46889 #endif
46890 #ifdef __cplusplus
46892 #endif
46895 main ()
46897 return f != $ac_func;
46899 return 0;
46901 _ACEOF
46902 rm -f conftest.$ac_objext conftest$ac_exeext
46903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46904 (eval $ac_link) 2>conftest.er1
46905 ac_status=$?
46906 grep -v '^ *+' conftest.er1 >conftest.err
46907 rm -f conftest.er1
46908 cat conftest.err >&5
46909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46910 (exit $ac_status); } &&
46911 { ac_try='test -z "$ac_c_werror_flag"
46912 || test ! -s conftest.err'
46913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46914 (eval $ac_try) 2>&5
46915 ac_status=$?
46916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46917 (exit $ac_status); }; } &&
46918 { ac_try='test -s conftest$ac_exeext'
46919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46920 (eval $ac_try) 2>&5
46921 ac_status=$?
46922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46923 (exit $ac_status); }; }; then
46924 eval "$as_ac_var=yes"
46925 else
46926 echo "$as_me: failed program was:" >&5
46927 sed 's/^/| /' conftest.$ac_ext >&5
46929 eval "$as_ac_var=no"
46931 rm -f conftest.err conftest.$ac_objext \
46932 conftest$ac_exeext conftest.$ac_ext
46934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46935 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46936 if test `eval echo '${'$as_ac_var'}'` = yes; then
46937 cat >>confdefs.h <<_ACEOF
46938 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46939 _ACEOF
46942 done
46944 else
46946 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
46947 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
46948 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
46949 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
46950 echo $ECHO_N "(cached) $ECHO_C" >&6
46951 else
46955 ac_ext=cc
46956 ac_cpp='$CXXCPP $CPPFLAGS'
46957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46961 cat >conftest.$ac_ext <<_ACEOF
46962 /* confdefs.h. */
46963 _ACEOF
46964 cat confdefs.h >>conftest.$ac_ext
46965 cat >>conftest.$ac_ext <<_ACEOF
46966 /* end confdefs.h. */
46967 #include <math.h>
46969 main ()
46971 _sincosl(0, 0, 0);
46973 return 0;
46975 _ACEOF
46976 rm -f conftest.$ac_objext
46977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46978 (eval $ac_compile) 2>conftest.er1
46979 ac_status=$?
46980 grep -v '^ *+' conftest.er1 >conftest.err
46981 rm -f conftest.er1
46982 cat conftest.err >&5
46983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46984 (exit $ac_status); } &&
46985 { ac_try='test -z "$ac_cxx_werror_flag"
46986 || test ! -s conftest.err'
46987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46988 (eval $ac_try) 2>&5
46989 ac_status=$?
46990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46991 (exit $ac_status); }; } &&
46992 { ac_try='test -s conftest.$ac_objext'
46993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46994 (eval $ac_try) 2>&5
46995 ac_status=$?
46996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46997 (exit $ac_status); }; }; then
46998 glibcxx_cv_func__sincosl_use=yes
46999 else
47000 echo "$as_me: failed program was:" >&5
47001 sed 's/^/| /' conftest.$ac_ext >&5
47003 glibcxx_cv_func__sincosl_use=no
47005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47006 ac_ext=c
47007 ac_cpp='$CPP $CPPFLAGS'
47008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47016 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
47017 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
47019 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
47021 for ac_func in _sincosl
47023 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47024 echo "$as_me:$LINENO: checking for $ac_func" >&5
47025 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47026 if eval "test \"\${$as_ac_var+set}\" = set"; then
47027 echo $ECHO_N "(cached) $ECHO_C" >&6
47028 else
47029 if test x$gcc_no_link = xyes; then
47030 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47031 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47032 { (exit 1); exit 1; }; }
47034 cat >conftest.$ac_ext <<_ACEOF
47035 /* confdefs.h. */
47036 _ACEOF
47037 cat confdefs.h >>conftest.$ac_ext
47038 cat >>conftest.$ac_ext <<_ACEOF
47039 /* end confdefs.h. */
47040 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47041 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47042 #define $ac_func innocuous_$ac_func
47044 /* System header to define __stub macros and hopefully few prototypes,
47045 which can conflict with char $ac_func (); below.
47046 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47047 <limits.h> exists even on freestanding compilers. */
47049 #ifdef __STDC__
47050 # include <limits.h>
47051 #else
47052 # include <assert.h>
47053 #endif
47055 #undef $ac_func
47057 /* Override any gcc2 internal prototype to avoid an error. */
47058 #ifdef __cplusplus
47059 extern "C"
47061 #endif
47062 /* We use char because int might match the return type of a gcc2
47063 builtin and then its argument prototype would still apply. */
47064 char $ac_func ();
47065 /* The GNU C library defines this for functions which it implements
47066 to always fail with ENOSYS. Some functions are actually named
47067 something starting with __ and the normal name is an alias. */
47068 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47069 choke me
47070 #else
47071 char (*f) () = $ac_func;
47072 #endif
47073 #ifdef __cplusplus
47075 #endif
47078 main ()
47080 return f != $ac_func;
47082 return 0;
47084 _ACEOF
47085 rm -f conftest.$ac_objext conftest$ac_exeext
47086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47087 (eval $ac_link) 2>conftest.er1
47088 ac_status=$?
47089 grep -v '^ *+' conftest.er1 >conftest.err
47090 rm -f conftest.er1
47091 cat conftest.err >&5
47092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47093 (exit $ac_status); } &&
47094 { ac_try='test -z "$ac_c_werror_flag"
47095 || test ! -s conftest.err'
47096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47097 (eval $ac_try) 2>&5
47098 ac_status=$?
47099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47100 (exit $ac_status); }; } &&
47101 { ac_try='test -s conftest$ac_exeext'
47102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47103 (eval $ac_try) 2>&5
47104 ac_status=$?
47105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47106 (exit $ac_status); }; }; then
47107 eval "$as_ac_var=yes"
47108 else
47109 echo "$as_me: failed program was:" >&5
47110 sed 's/^/| /' conftest.$ac_ext >&5
47112 eval "$as_ac_var=no"
47114 rm -f conftest.err conftest.$ac_objext \
47115 conftest$ac_exeext conftest.$ac_ext
47117 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47118 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47119 if test `eval echo '${'$as_ac_var'}'` = yes; then
47120 cat >>confdefs.h <<_ACEOF
47121 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47122 _ACEOF
47125 done
47132 echo "$as_me:$LINENO: checking for finitel declaration" >&5
47133 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
47134 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
47135 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
47136 echo $ECHO_N "(cached) $ECHO_C" >&6
47137 else
47141 ac_ext=cc
47142 ac_cpp='$CXXCPP $CPPFLAGS'
47143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47147 cat >conftest.$ac_ext <<_ACEOF
47148 /* confdefs.h. */
47149 _ACEOF
47150 cat confdefs.h >>conftest.$ac_ext
47151 cat >>conftest.$ac_ext <<_ACEOF
47152 /* end confdefs.h. */
47153 #include <math.h>
47154 #ifdef HAVE_IEEEFP_H
47155 #include <ieeefp.h>
47156 #endif
47159 main ()
47161 finitel(0);
47163 return 0;
47165 _ACEOF
47166 rm -f conftest.$ac_objext
47167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47168 (eval $ac_compile) 2>conftest.er1
47169 ac_status=$?
47170 grep -v '^ *+' conftest.er1 >conftest.err
47171 rm -f conftest.er1
47172 cat conftest.err >&5
47173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47174 (exit $ac_status); } &&
47175 { ac_try='test -z "$ac_cxx_werror_flag"
47176 || test ! -s conftest.err'
47177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47178 (eval $ac_try) 2>&5
47179 ac_status=$?
47180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47181 (exit $ac_status); }; } &&
47182 { ac_try='test -s conftest.$ac_objext'
47183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47184 (eval $ac_try) 2>&5
47185 ac_status=$?
47186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47187 (exit $ac_status); }; }; then
47188 glibcxx_cv_func_finitel_use=yes
47189 else
47190 echo "$as_me: failed program was:" >&5
47191 sed 's/^/| /' conftest.$ac_ext >&5
47193 glibcxx_cv_func_finitel_use=no
47195 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47196 ac_ext=c
47197 ac_cpp='$CPP $CPPFLAGS'
47198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47206 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
47207 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
47209 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
47211 for ac_func in finitel
47213 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47214 echo "$as_me:$LINENO: checking for $ac_func" >&5
47215 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47216 if eval "test \"\${$as_ac_var+set}\" = set"; then
47217 echo $ECHO_N "(cached) $ECHO_C" >&6
47218 else
47219 if test x$gcc_no_link = xyes; then
47220 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47221 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47222 { (exit 1); exit 1; }; }
47224 cat >conftest.$ac_ext <<_ACEOF
47225 /* confdefs.h. */
47226 _ACEOF
47227 cat confdefs.h >>conftest.$ac_ext
47228 cat >>conftest.$ac_ext <<_ACEOF
47229 /* end confdefs.h. */
47230 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47231 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47232 #define $ac_func innocuous_$ac_func
47234 /* System header to define __stub macros and hopefully few prototypes,
47235 which can conflict with char $ac_func (); below.
47236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47237 <limits.h> exists even on freestanding compilers. */
47239 #ifdef __STDC__
47240 # include <limits.h>
47241 #else
47242 # include <assert.h>
47243 #endif
47245 #undef $ac_func
47247 /* Override any gcc2 internal prototype to avoid an error. */
47248 #ifdef __cplusplus
47249 extern "C"
47251 #endif
47252 /* We use char because int might match the return type of a gcc2
47253 builtin and then its argument prototype would still apply. */
47254 char $ac_func ();
47255 /* The GNU C library defines this for functions which it implements
47256 to always fail with ENOSYS. Some functions are actually named
47257 something starting with __ and the normal name is an alias. */
47258 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47259 choke me
47260 #else
47261 char (*f) () = $ac_func;
47262 #endif
47263 #ifdef __cplusplus
47265 #endif
47268 main ()
47270 return f != $ac_func;
47272 return 0;
47274 _ACEOF
47275 rm -f conftest.$ac_objext conftest$ac_exeext
47276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47277 (eval $ac_link) 2>conftest.er1
47278 ac_status=$?
47279 grep -v '^ *+' conftest.er1 >conftest.err
47280 rm -f conftest.er1
47281 cat conftest.err >&5
47282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47283 (exit $ac_status); } &&
47284 { ac_try='test -z "$ac_c_werror_flag"
47285 || test ! -s conftest.err'
47286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47287 (eval $ac_try) 2>&5
47288 ac_status=$?
47289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47290 (exit $ac_status); }; } &&
47291 { ac_try='test -s conftest$ac_exeext'
47292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47293 (eval $ac_try) 2>&5
47294 ac_status=$?
47295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47296 (exit $ac_status); }; }; then
47297 eval "$as_ac_var=yes"
47298 else
47299 echo "$as_me: failed program was:" >&5
47300 sed 's/^/| /' conftest.$ac_ext >&5
47302 eval "$as_ac_var=no"
47304 rm -f conftest.err conftest.$ac_objext \
47305 conftest$ac_exeext conftest.$ac_ext
47307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47308 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47309 if test `eval echo '${'$as_ac_var'}'` = yes; then
47310 cat >>confdefs.h <<_ACEOF
47311 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47312 _ACEOF
47315 done
47317 else
47319 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
47320 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
47321 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
47322 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
47323 echo $ECHO_N "(cached) $ECHO_C" >&6
47324 else
47328 ac_ext=cc
47329 ac_cpp='$CXXCPP $CPPFLAGS'
47330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47334 cat >conftest.$ac_ext <<_ACEOF
47335 /* confdefs.h. */
47336 _ACEOF
47337 cat confdefs.h >>conftest.$ac_ext
47338 cat >>conftest.$ac_ext <<_ACEOF
47339 /* end confdefs.h. */
47340 #include <math.h>
47341 #ifdef HAVE_IEEEFP_H
47342 #include <ieeefp.h>
47343 #endif
47346 main ()
47348 _finitel(0);
47350 return 0;
47352 _ACEOF
47353 rm -f conftest.$ac_objext
47354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47355 (eval $ac_compile) 2>conftest.er1
47356 ac_status=$?
47357 grep -v '^ *+' conftest.er1 >conftest.err
47358 rm -f conftest.er1
47359 cat conftest.err >&5
47360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47361 (exit $ac_status); } &&
47362 { ac_try='test -z "$ac_cxx_werror_flag"
47363 || test ! -s conftest.err'
47364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47365 (eval $ac_try) 2>&5
47366 ac_status=$?
47367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47368 (exit $ac_status); }; } &&
47369 { ac_try='test -s conftest.$ac_objext'
47370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47371 (eval $ac_try) 2>&5
47372 ac_status=$?
47373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47374 (exit $ac_status); }; }; then
47375 glibcxx_cv_func__finitel_use=yes
47376 else
47377 echo "$as_me: failed program was:" >&5
47378 sed 's/^/| /' conftest.$ac_ext >&5
47380 glibcxx_cv_func__finitel_use=no
47382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47383 ac_ext=c
47384 ac_cpp='$CPP $CPPFLAGS'
47385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47393 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
47394 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
47396 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
47398 for ac_func in _finitel
47400 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47401 echo "$as_me:$LINENO: checking for $ac_func" >&5
47402 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47403 if eval "test \"\${$as_ac_var+set}\" = set"; then
47404 echo $ECHO_N "(cached) $ECHO_C" >&6
47405 else
47406 if test x$gcc_no_link = xyes; then
47407 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47408 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47409 { (exit 1); exit 1; }; }
47411 cat >conftest.$ac_ext <<_ACEOF
47412 /* confdefs.h. */
47413 _ACEOF
47414 cat confdefs.h >>conftest.$ac_ext
47415 cat >>conftest.$ac_ext <<_ACEOF
47416 /* end confdefs.h. */
47417 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47418 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47419 #define $ac_func innocuous_$ac_func
47421 /* System header to define __stub macros and hopefully few prototypes,
47422 which can conflict with char $ac_func (); below.
47423 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47424 <limits.h> exists even on freestanding compilers. */
47426 #ifdef __STDC__
47427 # include <limits.h>
47428 #else
47429 # include <assert.h>
47430 #endif
47432 #undef $ac_func
47434 /* Override any gcc2 internal prototype to avoid an error. */
47435 #ifdef __cplusplus
47436 extern "C"
47438 #endif
47439 /* We use char because int might match the return type of a gcc2
47440 builtin and then its argument prototype would still apply. */
47441 char $ac_func ();
47442 /* The GNU C library defines this for functions which it implements
47443 to always fail with ENOSYS. Some functions are actually named
47444 something starting with __ and the normal name is an alias. */
47445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47446 choke me
47447 #else
47448 char (*f) () = $ac_func;
47449 #endif
47450 #ifdef __cplusplus
47452 #endif
47455 main ()
47457 return f != $ac_func;
47459 return 0;
47461 _ACEOF
47462 rm -f conftest.$ac_objext conftest$ac_exeext
47463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47464 (eval $ac_link) 2>conftest.er1
47465 ac_status=$?
47466 grep -v '^ *+' conftest.er1 >conftest.err
47467 rm -f conftest.er1
47468 cat conftest.err >&5
47469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47470 (exit $ac_status); } &&
47471 { ac_try='test -z "$ac_c_werror_flag"
47472 || test ! -s conftest.err'
47473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47474 (eval $ac_try) 2>&5
47475 ac_status=$?
47476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47477 (exit $ac_status); }; } &&
47478 { ac_try='test -s conftest$ac_exeext'
47479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47480 (eval $ac_try) 2>&5
47481 ac_status=$?
47482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47483 (exit $ac_status); }; }; then
47484 eval "$as_ac_var=yes"
47485 else
47486 echo "$as_me: failed program was:" >&5
47487 sed 's/^/| /' conftest.$ac_ext >&5
47489 eval "$as_ac_var=no"
47491 rm -f conftest.err conftest.$ac_objext \
47492 conftest$ac_exeext conftest.$ac_ext
47494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47495 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47496 if test `eval echo '${'$as_ac_var'}'` = yes; then
47497 cat >>confdefs.h <<_ACEOF
47498 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47499 _ACEOF
47502 done
47510 echo "$as_me:$LINENO: checking for _float trig functions" >&5
47511 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
47512 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
47513 echo $ECHO_N "(cached) $ECHO_C" >&6
47514 else
47518 ac_ext=cc
47519 ac_cpp='$CXXCPP $CPPFLAGS'
47520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47524 cat >conftest.$ac_ext <<_ACEOF
47525 /* confdefs.h. */
47526 _ACEOF
47527 cat confdefs.h >>conftest.$ac_ext
47528 cat >>conftest.$ac_ext <<_ACEOF
47529 /* end confdefs.h. */
47530 #include <math.h>
47532 main ()
47534 `for x in _acosf _asinf _atanf \
47535 _cosf _sinf _tanf \
47536 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
47538 return 0;
47540 _ACEOF
47541 rm -f conftest.$ac_objext
47542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47543 (eval $ac_compile) 2>conftest.er1
47544 ac_status=$?
47545 grep -v '^ *+' conftest.er1 >conftest.err
47546 rm -f conftest.er1
47547 cat conftest.err >&5
47548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47549 (exit $ac_status); } &&
47550 { ac_try='test -z "$ac_cxx_werror_flag"
47551 || test ! -s conftest.err'
47552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47553 (eval $ac_try) 2>&5
47554 ac_status=$?
47555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47556 (exit $ac_status); }; } &&
47557 { ac_try='test -s conftest.$ac_objext'
47558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47559 (eval $ac_try) 2>&5
47560 ac_status=$?
47561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47562 (exit $ac_status); }; }; then
47563 glibcxx_cv_func__float_trig_use=yes
47564 else
47565 echo "$as_me: failed program was:" >&5
47566 sed 's/^/| /' conftest.$ac_ext >&5
47568 glibcxx_cv_func__float_trig_use=no
47570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47571 ac_ext=c
47572 ac_cpp='$CPP $CPPFLAGS'
47573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47579 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
47580 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
47581 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
47591 for ac_func in _acosf _asinf _atanf \
47592 _cosf _sinf _tanf \
47593 _coshf _sinhf _tanhf
47595 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47596 echo "$as_me:$LINENO: checking for $ac_func" >&5
47597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47598 if eval "test \"\${$as_ac_var+set}\" = set"; then
47599 echo $ECHO_N "(cached) $ECHO_C" >&6
47600 else
47601 if test x$gcc_no_link = xyes; then
47602 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47603 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47604 { (exit 1); exit 1; }; }
47606 cat >conftest.$ac_ext <<_ACEOF
47607 /* confdefs.h. */
47608 _ACEOF
47609 cat confdefs.h >>conftest.$ac_ext
47610 cat >>conftest.$ac_ext <<_ACEOF
47611 /* end confdefs.h. */
47612 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47613 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47614 #define $ac_func innocuous_$ac_func
47616 /* System header to define __stub macros and hopefully few prototypes,
47617 which can conflict with char $ac_func (); below.
47618 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47619 <limits.h> exists even on freestanding compilers. */
47621 #ifdef __STDC__
47622 # include <limits.h>
47623 #else
47624 # include <assert.h>
47625 #endif
47627 #undef $ac_func
47629 /* Override any gcc2 internal prototype to avoid an error. */
47630 #ifdef __cplusplus
47631 extern "C"
47633 #endif
47634 /* We use char because int might match the return type of a gcc2
47635 builtin and then its argument prototype would still apply. */
47636 char $ac_func ();
47637 /* The GNU C library defines this for functions which it implements
47638 to always fail with ENOSYS. Some functions are actually named
47639 something starting with __ and the normal name is an alias. */
47640 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47641 choke me
47642 #else
47643 char (*f) () = $ac_func;
47644 #endif
47645 #ifdef __cplusplus
47647 #endif
47650 main ()
47652 return f != $ac_func;
47654 return 0;
47656 _ACEOF
47657 rm -f conftest.$ac_objext conftest$ac_exeext
47658 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47659 (eval $ac_link) 2>conftest.er1
47660 ac_status=$?
47661 grep -v '^ *+' conftest.er1 >conftest.err
47662 rm -f conftest.er1
47663 cat conftest.err >&5
47664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47665 (exit $ac_status); } &&
47666 { ac_try='test -z "$ac_c_werror_flag"
47667 || test ! -s conftest.err'
47668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47669 (eval $ac_try) 2>&5
47670 ac_status=$?
47671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47672 (exit $ac_status); }; } &&
47673 { ac_try='test -s conftest$ac_exeext'
47674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47675 (eval $ac_try) 2>&5
47676 ac_status=$?
47677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47678 (exit $ac_status); }; }; then
47679 eval "$as_ac_var=yes"
47680 else
47681 echo "$as_me: failed program was:" >&5
47682 sed 's/^/| /' conftest.$ac_ext >&5
47684 eval "$as_ac_var=no"
47686 rm -f conftest.err conftest.$ac_objext \
47687 conftest$ac_exeext conftest.$ac_ext
47689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47690 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47691 if test `eval echo '${'$as_ac_var'}'` = yes; then
47692 cat >>confdefs.h <<_ACEOF
47693 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47694 _ACEOF
47697 done
47702 echo "$as_me:$LINENO: checking for _float round functions" >&5
47703 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
47704 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
47705 echo $ECHO_N "(cached) $ECHO_C" >&6
47706 else
47710 ac_ext=cc
47711 ac_cpp='$CXXCPP $CPPFLAGS'
47712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47716 cat >conftest.$ac_ext <<_ACEOF
47717 /* confdefs.h. */
47718 _ACEOF
47719 cat confdefs.h >>conftest.$ac_ext
47720 cat >>conftest.$ac_ext <<_ACEOF
47721 /* end confdefs.h. */
47722 #include <math.h>
47724 main ()
47726 `for x in _ceilf _floorf; do echo "$x (0);"; done`
47728 return 0;
47730 _ACEOF
47731 rm -f conftest.$ac_objext
47732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47733 (eval $ac_compile) 2>conftest.er1
47734 ac_status=$?
47735 grep -v '^ *+' conftest.er1 >conftest.err
47736 rm -f conftest.er1
47737 cat conftest.err >&5
47738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47739 (exit $ac_status); } &&
47740 { ac_try='test -z "$ac_cxx_werror_flag"
47741 || test ! -s conftest.err'
47742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47743 (eval $ac_try) 2>&5
47744 ac_status=$?
47745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47746 (exit $ac_status); }; } &&
47747 { ac_try='test -s conftest.$ac_objext'
47748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47749 (eval $ac_try) 2>&5
47750 ac_status=$?
47751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47752 (exit $ac_status); }; }; then
47753 glibcxx_cv_func__float_round_use=yes
47754 else
47755 echo "$as_me: failed program was:" >&5
47756 sed 's/^/| /' conftest.$ac_ext >&5
47758 glibcxx_cv_func__float_round_use=no
47760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47761 ac_ext=c
47762 ac_cpp='$CPP $CPPFLAGS'
47763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47769 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
47770 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
47771 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47774 for ac_func in _ceilf _floorf
47776 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47777 echo "$as_me:$LINENO: checking for $ac_func" >&5
47778 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47779 if eval "test \"\${$as_ac_var+set}\" = set"; then
47780 echo $ECHO_N "(cached) $ECHO_C" >&6
47781 else
47782 if test x$gcc_no_link = xyes; then
47783 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47784 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47785 { (exit 1); exit 1; }; }
47787 cat >conftest.$ac_ext <<_ACEOF
47788 /* confdefs.h. */
47789 _ACEOF
47790 cat confdefs.h >>conftest.$ac_ext
47791 cat >>conftest.$ac_ext <<_ACEOF
47792 /* end confdefs.h. */
47793 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47794 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47795 #define $ac_func innocuous_$ac_func
47797 /* System header to define __stub macros and hopefully few prototypes,
47798 which can conflict with char $ac_func (); below.
47799 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47800 <limits.h> exists even on freestanding compilers. */
47802 #ifdef __STDC__
47803 # include <limits.h>
47804 #else
47805 # include <assert.h>
47806 #endif
47808 #undef $ac_func
47810 /* Override any gcc2 internal prototype to avoid an error. */
47811 #ifdef __cplusplus
47812 extern "C"
47814 #endif
47815 /* We use char because int might match the return type of a gcc2
47816 builtin and then its argument prototype would still apply. */
47817 char $ac_func ();
47818 /* The GNU C library defines this for functions which it implements
47819 to always fail with ENOSYS. Some functions are actually named
47820 something starting with __ and the normal name is an alias. */
47821 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47822 choke me
47823 #else
47824 char (*f) () = $ac_func;
47825 #endif
47826 #ifdef __cplusplus
47828 #endif
47831 main ()
47833 return f != $ac_func;
47835 return 0;
47837 _ACEOF
47838 rm -f conftest.$ac_objext conftest$ac_exeext
47839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47840 (eval $ac_link) 2>conftest.er1
47841 ac_status=$?
47842 grep -v '^ *+' conftest.er1 >conftest.err
47843 rm -f conftest.er1
47844 cat conftest.err >&5
47845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47846 (exit $ac_status); } &&
47847 { ac_try='test -z "$ac_c_werror_flag"
47848 || test ! -s conftest.err'
47849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47850 (eval $ac_try) 2>&5
47851 ac_status=$?
47852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47853 (exit $ac_status); }; } &&
47854 { ac_try='test -s conftest$ac_exeext'
47855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47856 (eval $ac_try) 2>&5
47857 ac_status=$?
47858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47859 (exit $ac_status); }; }; then
47860 eval "$as_ac_var=yes"
47861 else
47862 echo "$as_me: failed program was:" >&5
47863 sed 's/^/| /' conftest.$ac_ext >&5
47865 eval "$as_ac_var=no"
47867 rm -f conftest.err conftest.$ac_objext \
47868 conftest$ac_exeext conftest.$ac_ext
47870 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47871 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47872 if test `eval echo '${'$as_ac_var'}'` = yes; then
47873 cat >>confdefs.h <<_ACEOF
47874 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47875 _ACEOF
47878 done
47884 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
47885 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
47886 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
47887 echo $ECHO_N "(cached) $ECHO_C" >&6
47888 else
47892 ac_ext=cc
47893 ac_cpp='$CXXCPP $CPPFLAGS'
47894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47898 cat >conftest.$ac_ext <<_ACEOF
47899 /* confdefs.h. */
47900 _ACEOF
47901 cat confdefs.h >>conftest.$ac_ext
47902 cat >>conftest.$ac_ext <<_ACEOF
47903 /* end confdefs.h. */
47904 #include <math.h>
47906 main ()
47908 `for x in _acosl _asinl _atanl \
47909 _cosl _sinl _tanl \
47910 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
47912 return 0;
47914 _ACEOF
47915 rm -f conftest.$ac_objext
47916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47917 (eval $ac_compile) 2>conftest.er1
47918 ac_status=$?
47919 grep -v '^ *+' conftest.er1 >conftest.err
47920 rm -f conftest.er1
47921 cat conftest.err >&5
47922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47923 (exit $ac_status); } &&
47924 { ac_try='test -z "$ac_cxx_werror_flag"
47925 || test ! -s conftest.err'
47926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47927 (eval $ac_try) 2>&5
47928 ac_status=$?
47929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47930 (exit $ac_status); }; } &&
47931 { ac_try='test -s conftest.$ac_objext'
47932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47933 (eval $ac_try) 2>&5
47934 ac_status=$?
47935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47936 (exit $ac_status); }; }; then
47937 glibcxx_cv_func__long_double_trig_use=yes
47938 else
47939 echo "$as_me: failed program was:" >&5
47940 sed 's/^/| /' conftest.$ac_ext >&5
47942 glibcxx_cv_func__long_double_trig_use=no
47944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47945 ac_ext=c
47946 ac_cpp='$CPP $CPPFLAGS'
47947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47953 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
47954 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
47955 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
47965 for ac_func in _acosl _asinl _atanl \
47966 _cosl _sinl _tanl \
47967 _coshl _sinhl _tanhl
47969 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47970 echo "$as_me:$LINENO: checking for $ac_func" >&5
47971 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47972 if eval "test \"\${$as_ac_var+set}\" = set"; then
47973 echo $ECHO_N "(cached) $ECHO_C" >&6
47974 else
47975 if test x$gcc_no_link = xyes; then
47976 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47977 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47978 { (exit 1); exit 1; }; }
47980 cat >conftest.$ac_ext <<_ACEOF
47981 /* confdefs.h. */
47982 _ACEOF
47983 cat confdefs.h >>conftest.$ac_ext
47984 cat >>conftest.$ac_ext <<_ACEOF
47985 /* end confdefs.h. */
47986 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47987 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47988 #define $ac_func innocuous_$ac_func
47990 /* System header to define __stub macros and hopefully few prototypes,
47991 which can conflict with char $ac_func (); below.
47992 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47993 <limits.h> exists even on freestanding compilers. */
47995 #ifdef __STDC__
47996 # include <limits.h>
47997 #else
47998 # include <assert.h>
47999 #endif
48001 #undef $ac_func
48003 /* Override any gcc2 internal prototype to avoid an error. */
48004 #ifdef __cplusplus
48005 extern "C"
48007 #endif
48008 /* We use char because int might match the return type of a gcc2
48009 builtin and then its argument prototype would still apply. */
48010 char $ac_func ();
48011 /* The GNU C library defines this for functions which it implements
48012 to always fail with ENOSYS. Some functions are actually named
48013 something starting with __ and the normal name is an alias. */
48014 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48015 choke me
48016 #else
48017 char (*f) () = $ac_func;
48018 #endif
48019 #ifdef __cplusplus
48021 #endif
48024 main ()
48026 return f != $ac_func;
48028 return 0;
48030 _ACEOF
48031 rm -f conftest.$ac_objext conftest$ac_exeext
48032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48033 (eval $ac_link) 2>conftest.er1
48034 ac_status=$?
48035 grep -v '^ *+' conftest.er1 >conftest.err
48036 rm -f conftest.er1
48037 cat conftest.err >&5
48038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48039 (exit $ac_status); } &&
48040 { ac_try='test -z "$ac_c_werror_flag"
48041 || test ! -s conftest.err'
48042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48043 (eval $ac_try) 2>&5
48044 ac_status=$?
48045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48046 (exit $ac_status); }; } &&
48047 { ac_try='test -s conftest$ac_exeext'
48048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48049 (eval $ac_try) 2>&5
48050 ac_status=$?
48051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48052 (exit $ac_status); }; }; then
48053 eval "$as_ac_var=yes"
48054 else
48055 echo "$as_me: failed program was:" >&5
48056 sed 's/^/| /' conftest.$ac_ext >&5
48058 eval "$as_ac_var=no"
48060 rm -f conftest.err conftest.$ac_objext \
48061 conftest$ac_exeext conftest.$ac_ext
48063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48064 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48065 if test `eval echo '${'$as_ac_var'}'` = yes; then
48066 cat >>confdefs.h <<_ACEOF
48067 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48068 _ACEOF
48071 done
48076 echo "$as_me:$LINENO: checking for _long double round functions" >&5
48077 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
48078 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
48079 echo $ECHO_N "(cached) $ECHO_C" >&6
48080 else
48084 ac_ext=cc
48085 ac_cpp='$CXXCPP $CPPFLAGS'
48086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48090 cat >conftest.$ac_ext <<_ACEOF
48091 /* confdefs.h. */
48092 _ACEOF
48093 cat confdefs.h >>conftest.$ac_ext
48094 cat >>conftest.$ac_ext <<_ACEOF
48095 /* end confdefs.h. */
48096 #include <math.h>
48098 main ()
48100 `for x in _ceill _floorl; do echo "$x (0);"; done`
48102 return 0;
48104 _ACEOF
48105 rm -f conftest.$ac_objext
48106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48107 (eval $ac_compile) 2>conftest.er1
48108 ac_status=$?
48109 grep -v '^ *+' conftest.er1 >conftest.err
48110 rm -f conftest.er1
48111 cat conftest.err >&5
48112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48113 (exit $ac_status); } &&
48114 { ac_try='test -z "$ac_cxx_werror_flag"
48115 || test ! -s conftest.err'
48116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48117 (eval $ac_try) 2>&5
48118 ac_status=$?
48119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48120 (exit $ac_status); }; } &&
48121 { ac_try='test -s conftest.$ac_objext'
48122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48123 (eval $ac_try) 2>&5
48124 ac_status=$?
48125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48126 (exit $ac_status); }; }; then
48127 glibcxx_cv_func__long_double_round_use=yes
48128 else
48129 echo "$as_me: failed program was:" >&5
48130 sed 's/^/| /' conftest.$ac_ext >&5
48132 glibcxx_cv_func__long_double_round_use=no
48134 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48135 ac_ext=c
48136 ac_cpp='$CPP $CPPFLAGS'
48137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48143 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
48144 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
48145 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
48148 for ac_func in _ceill _floorl
48150 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48151 echo "$as_me:$LINENO: checking for $ac_func" >&5
48152 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48153 if eval "test \"\${$as_ac_var+set}\" = set"; then
48154 echo $ECHO_N "(cached) $ECHO_C" >&6
48155 else
48156 if test x$gcc_no_link = xyes; then
48157 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48158 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48159 { (exit 1); exit 1; }; }
48161 cat >conftest.$ac_ext <<_ACEOF
48162 /* confdefs.h. */
48163 _ACEOF
48164 cat confdefs.h >>conftest.$ac_ext
48165 cat >>conftest.$ac_ext <<_ACEOF
48166 /* end confdefs.h. */
48167 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48168 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48169 #define $ac_func innocuous_$ac_func
48171 /* System header to define __stub macros and hopefully few prototypes,
48172 which can conflict with char $ac_func (); below.
48173 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48174 <limits.h> exists even on freestanding compilers. */
48176 #ifdef __STDC__
48177 # include <limits.h>
48178 #else
48179 # include <assert.h>
48180 #endif
48182 #undef $ac_func
48184 /* Override any gcc2 internal prototype to avoid an error. */
48185 #ifdef __cplusplus
48186 extern "C"
48188 #endif
48189 /* We use char because int might match the return type of a gcc2
48190 builtin and then its argument prototype would still apply. */
48191 char $ac_func ();
48192 /* The GNU C library defines this for functions which it implements
48193 to always fail with ENOSYS. Some functions are actually named
48194 something starting with __ and the normal name is an alias. */
48195 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48196 choke me
48197 #else
48198 char (*f) () = $ac_func;
48199 #endif
48200 #ifdef __cplusplus
48202 #endif
48205 main ()
48207 return f != $ac_func;
48209 return 0;
48211 _ACEOF
48212 rm -f conftest.$ac_objext conftest$ac_exeext
48213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48214 (eval $ac_link) 2>conftest.er1
48215 ac_status=$?
48216 grep -v '^ *+' conftest.er1 >conftest.err
48217 rm -f conftest.er1
48218 cat conftest.err >&5
48219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48220 (exit $ac_status); } &&
48221 { ac_try='test -z "$ac_c_werror_flag"
48222 || test ! -s conftest.err'
48223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48224 (eval $ac_try) 2>&5
48225 ac_status=$?
48226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48227 (exit $ac_status); }; } &&
48228 { ac_try='test -s conftest$ac_exeext'
48229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48230 (eval $ac_try) 2>&5
48231 ac_status=$?
48232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48233 (exit $ac_status); }; }; then
48234 eval "$as_ac_var=yes"
48235 else
48236 echo "$as_me: failed program was:" >&5
48237 sed 's/^/| /' conftest.$ac_ext >&5
48239 eval "$as_ac_var=no"
48241 rm -f conftest.err conftest.$ac_objext \
48242 conftest$ac_exeext conftest.$ac_ext
48244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48245 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48246 if test `eval echo '${'$as_ac_var'}'` = yes; then
48247 cat >>confdefs.h <<_ACEOF
48248 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48249 _ACEOF
48252 done
48257 LIBS="$ac_save_LIBS"
48258 CXXFLAGS="$ac_save_CXXFLAGS"
48262 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
48263 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
48264 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
48265 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
48266 echo $ECHO_N "(cached) $ECHO_C" >&6
48267 else
48271 ac_ext=cc
48272 ac_cpp='$CXXCPP $CPPFLAGS'
48273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48277 cat >conftest.$ac_ext <<_ACEOF
48278 /* confdefs.h. */
48279 _ACEOF
48280 cat confdefs.h >>conftest.$ac_ext
48281 cat >>conftest.$ac_ext <<_ACEOF
48282 /* end confdefs.h. */
48283 #include <math.h>
48285 main ()
48287 __builtin_abs(0);
48289 return 0;
48291 _ACEOF
48292 rm -f conftest.$ac_objext
48293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48294 (eval $ac_compile) 2>conftest.er1
48295 ac_status=$?
48296 grep -v '^ *+' conftest.er1 >conftest.err
48297 rm -f conftest.er1
48298 cat conftest.err >&5
48299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48300 (exit $ac_status); } &&
48301 { ac_try='test -z "$ac_cxx_werror_flag"
48302 || test ! -s conftest.err'
48303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48304 (eval $ac_try) 2>&5
48305 ac_status=$?
48306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48307 (exit $ac_status); }; } &&
48308 { ac_try='test -s conftest.$ac_objext'
48309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48310 (eval $ac_try) 2>&5
48311 ac_status=$?
48312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48313 (exit $ac_status); }; }; then
48314 glibcxx_cv_func___builtin_abs_use=yes
48315 else
48316 echo "$as_me: failed program was:" >&5
48317 sed 's/^/| /' conftest.$ac_ext >&5
48319 glibcxx_cv_func___builtin_abs_use=no
48321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48322 ac_ext=c
48323 ac_cpp='$CPP $CPPFLAGS'
48324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48332 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
48333 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
48334 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
48335 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
48336 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
48337 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
48338 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
48339 echo $ECHO_N "(cached) $ECHO_C" >&6
48340 else
48342 if test x$gcc_no_link = xyes; then
48343 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48345 { (exit 1); exit 1; }; }
48347 cat >conftest.$ac_ext <<_ACEOF
48348 /* confdefs.h. */
48349 _ACEOF
48350 cat confdefs.h >>conftest.$ac_ext
48351 cat >>conftest.$ac_ext <<_ACEOF
48352 /* end confdefs.h. */
48353 #include <math.h>
48355 main ()
48357 __builtin_abs(0);
48359 return 0;
48361 _ACEOF
48362 rm -f conftest.$ac_objext conftest$ac_exeext
48363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48364 (eval $ac_link) 2>conftest.er1
48365 ac_status=$?
48366 grep -v '^ *+' conftest.er1 >conftest.err
48367 rm -f conftest.er1
48368 cat conftest.err >&5
48369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48370 (exit $ac_status); } &&
48371 { ac_try='test -z "$ac_c_werror_flag"
48372 || test ! -s conftest.err'
48373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48374 (eval $ac_try) 2>&5
48375 ac_status=$?
48376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48377 (exit $ac_status); }; } &&
48378 { ac_try='test -s conftest$ac_exeext'
48379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48380 (eval $ac_try) 2>&5
48381 ac_status=$?
48382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48383 (exit $ac_status); }; }; then
48384 glibcxx_cv_func___builtin_abs_link=yes
48385 else
48386 echo "$as_me: failed program was:" >&5
48387 sed 's/^/| /' conftest.$ac_ext >&5
48389 glibcxx_cv_func___builtin_abs_link=no
48391 rm -f conftest.err conftest.$ac_objext \
48392 conftest$ac_exeext conftest.$ac_ext
48397 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
48398 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
48399 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
48400 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48402 cat >>confdefs.h <<_ACEOF
48403 #define ${ac_tr_func} 1
48404 _ACEOF
48410 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
48411 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
48412 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
48413 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
48414 echo $ECHO_N "(cached) $ECHO_C" >&6
48415 else
48419 ac_ext=cc
48420 ac_cpp='$CXXCPP $CPPFLAGS'
48421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48425 cat >conftest.$ac_ext <<_ACEOF
48426 /* confdefs.h. */
48427 _ACEOF
48428 cat confdefs.h >>conftest.$ac_ext
48429 cat >>conftest.$ac_ext <<_ACEOF
48430 /* end confdefs.h. */
48431 #include <math.h>
48433 main ()
48435 __builtin_fabsf(0);
48437 return 0;
48439 _ACEOF
48440 rm -f conftest.$ac_objext
48441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48442 (eval $ac_compile) 2>conftest.er1
48443 ac_status=$?
48444 grep -v '^ *+' conftest.er1 >conftest.err
48445 rm -f conftest.er1
48446 cat conftest.err >&5
48447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48448 (exit $ac_status); } &&
48449 { ac_try='test -z "$ac_cxx_werror_flag"
48450 || test ! -s conftest.err'
48451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48452 (eval $ac_try) 2>&5
48453 ac_status=$?
48454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48455 (exit $ac_status); }; } &&
48456 { ac_try='test -s conftest.$ac_objext'
48457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48458 (eval $ac_try) 2>&5
48459 ac_status=$?
48460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48461 (exit $ac_status); }; }; then
48462 glibcxx_cv_func___builtin_fabsf_use=yes
48463 else
48464 echo "$as_me: failed program was:" >&5
48465 sed 's/^/| /' conftest.$ac_ext >&5
48467 glibcxx_cv_func___builtin_fabsf_use=no
48469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48470 ac_ext=c
48471 ac_cpp='$CPP $CPPFLAGS'
48472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48480 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
48481 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
48482 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
48483 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
48484 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
48485 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
48486 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
48487 echo $ECHO_N "(cached) $ECHO_C" >&6
48488 else
48490 if test x$gcc_no_link = xyes; then
48491 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48493 { (exit 1); exit 1; }; }
48495 cat >conftest.$ac_ext <<_ACEOF
48496 /* confdefs.h. */
48497 _ACEOF
48498 cat confdefs.h >>conftest.$ac_ext
48499 cat >>conftest.$ac_ext <<_ACEOF
48500 /* end confdefs.h. */
48501 #include <math.h>
48503 main ()
48505 __builtin_fabsf(0);
48507 return 0;
48509 _ACEOF
48510 rm -f conftest.$ac_objext conftest$ac_exeext
48511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48512 (eval $ac_link) 2>conftest.er1
48513 ac_status=$?
48514 grep -v '^ *+' conftest.er1 >conftest.err
48515 rm -f conftest.er1
48516 cat conftest.err >&5
48517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48518 (exit $ac_status); } &&
48519 { ac_try='test -z "$ac_c_werror_flag"
48520 || test ! -s conftest.err'
48521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48522 (eval $ac_try) 2>&5
48523 ac_status=$?
48524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48525 (exit $ac_status); }; } &&
48526 { ac_try='test -s conftest$ac_exeext'
48527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48528 (eval $ac_try) 2>&5
48529 ac_status=$?
48530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48531 (exit $ac_status); }; }; then
48532 glibcxx_cv_func___builtin_fabsf_link=yes
48533 else
48534 echo "$as_me: failed program was:" >&5
48535 sed 's/^/| /' conftest.$ac_ext >&5
48537 glibcxx_cv_func___builtin_fabsf_link=no
48539 rm -f conftest.err conftest.$ac_objext \
48540 conftest$ac_exeext conftest.$ac_ext
48545 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
48546 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
48547 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
48548 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48550 cat >>confdefs.h <<_ACEOF
48551 #define ${ac_tr_func} 1
48552 _ACEOF
48558 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
48559 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
48560 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
48561 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
48562 echo $ECHO_N "(cached) $ECHO_C" >&6
48563 else
48567 ac_ext=cc
48568 ac_cpp='$CXXCPP $CPPFLAGS'
48569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48573 cat >conftest.$ac_ext <<_ACEOF
48574 /* confdefs.h. */
48575 _ACEOF
48576 cat confdefs.h >>conftest.$ac_ext
48577 cat >>conftest.$ac_ext <<_ACEOF
48578 /* end confdefs.h. */
48579 #include <math.h>
48581 main ()
48583 __builtin_fabs(0);
48585 return 0;
48587 _ACEOF
48588 rm -f conftest.$ac_objext
48589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48590 (eval $ac_compile) 2>conftest.er1
48591 ac_status=$?
48592 grep -v '^ *+' conftest.er1 >conftest.err
48593 rm -f conftest.er1
48594 cat conftest.err >&5
48595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48596 (exit $ac_status); } &&
48597 { ac_try='test -z "$ac_cxx_werror_flag"
48598 || test ! -s conftest.err'
48599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48600 (eval $ac_try) 2>&5
48601 ac_status=$?
48602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48603 (exit $ac_status); }; } &&
48604 { ac_try='test -s conftest.$ac_objext'
48605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48606 (eval $ac_try) 2>&5
48607 ac_status=$?
48608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48609 (exit $ac_status); }; }; then
48610 glibcxx_cv_func___builtin_fabs_use=yes
48611 else
48612 echo "$as_me: failed program was:" >&5
48613 sed 's/^/| /' conftest.$ac_ext >&5
48615 glibcxx_cv_func___builtin_fabs_use=no
48617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48618 ac_ext=c
48619 ac_cpp='$CPP $CPPFLAGS'
48620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48628 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
48629 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
48630 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
48631 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
48632 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
48633 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
48634 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
48635 echo $ECHO_N "(cached) $ECHO_C" >&6
48636 else
48638 if test x$gcc_no_link = xyes; then
48639 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48640 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48641 { (exit 1); exit 1; }; }
48643 cat >conftest.$ac_ext <<_ACEOF
48644 /* confdefs.h. */
48645 _ACEOF
48646 cat confdefs.h >>conftest.$ac_ext
48647 cat >>conftest.$ac_ext <<_ACEOF
48648 /* end confdefs.h. */
48649 #include <math.h>
48651 main ()
48653 __builtin_fabs(0);
48655 return 0;
48657 _ACEOF
48658 rm -f conftest.$ac_objext conftest$ac_exeext
48659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48660 (eval $ac_link) 2>conftest.er1
48661 ac_status=$?
48662 grep -v '^ *+' conftest.er1 >conftest.err
48663 rm -f conftest.er1
48664 cat conftest.err >&5
48665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48666 (exit $ac_status); } &&
48667 { ac_try='test -z "$ac_c_werror_flag"
48668 || test ! -s conftest.err'
48669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48670 (eval $ac_try) 2>&5
48671 ac_status=$?
48672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48673 (exit $ac_status); }; } &&
48674 { ac_try='test -s conftest$ac_exeext'
48675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48676 (eval $ac_try) 2>&5
48677 ac_status=$?
48678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48679 (exit $ac_status); }; }; then
48680 glibcxx_cv_func___builtin_fabs_link=yes
48681 else
48682 echo "$as_me: failed program was:" >&5
48683 sed 's/^/| /' conftest.$ac_ext >&5
48685 glibcxx_cv_func___builtin_fabs_link=no
48687 rm -f conftest.err conftest.$ac_objext \
48688 conftest$ac_exeext conftest.$ac_ext
48693 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
48694 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
48695 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
48696 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48698 cat >>confdefs.h <<_ACEOF
48699 #define ${ac_tr_func} 1
48700 _ACEOF
48706 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
48707 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
48708 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
48709 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
48710 echo $ECHO_N "(cached) $ECHO_C" >&6
48711 else
48715 ac_ext=cc
48716 ac_cpp='$CXXCPP $CPPFLAGS'
48717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48721 cat >conftest.$ac_ext <<_ACEOF
48722 /* confdefs.h. */
48723 _ACEOF
48724 cat confdefs.h >>conftest.$ac_ext
48725 cat >>conftest.$ac_ext <<_ACEOF
48726 /* end confdefs.h. */
48727 #include <math.h>
48729 main ()
48731 __builtin_fabsl(0);
48733 return 0;
48735 _ACEOF
48736 rm -f conftest.$ac_objext
48737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48738 (eval $ac_compile) 2>conftest.er1
48739 ac_status=$?
48740 grep -v '^ *+' conftest.er1 >conftest.err
48741 rm -f conftest.er1
48742 cat conftest.err >&5
48743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48744 (exit $ac_status); } &&
48745 { ac_try='test -z "$ac_cxx_werror_flag"
48746 || test ! -s conftest.err'
48747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48748 (eval $ac_try) 2>&5
48749 ac_status=$?
48750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48751 (exit $ac_status); }; } &&
48752 { ac_try='test -s conftest.$ac_objext'
48753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48754 (eval $ac_try) 2>&5
48755 ac_status=$?
48756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48757 (exit $ac_status); }; }; then
48758 glibcxx_cv_func___builtin_fabsl_use=yes
48759 else
48760 echo "$as_me: failed program was:" >&5
48761 sed 's/^/| /' conftest.$ac_ext >&5
48763 glibcxx_cv_func___builtin_fabsl_use=no
48765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48766 ac_ext=c
48767 ac_cpp='$CPP $CPPFLAGS'
48768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48776 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
48777 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
48778 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
48779 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
48780 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
48781 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
48782 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
48783 echo $ECHO_N "(cached) $ECHO_C" >&6
48784 else
48786 if test x$gcc_no_link = xyes; then
48787 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48788 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48789 { (exit 1); exit 1; }; }
48791 cat >conftest.$ac_ext <<_ACEOF
48792 /* confdefs.h. */
48793 _ACEOF
48794 cat confdefs.h >>conftest.$ac_ext
48795 cat >>conftest.$ac_ext <<_ACEOF
48796 /* end confdefs.h. */
48797 #include <math.h>
48799 main ()
48801 __builtin_fabsl(0);
48803 return 0;
48805 _ACEOF
48806 rm -f conftest.$ac_objext conftest$ac_exeext
48807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48808 (eval $ac_link) 2>conftest.er1
48809 ac_status=$?
48810 grep -v '^ *+' conftest.er1 >conftest.err
48811 rm -f conftest.er1
48812 cat conftest.err >&5
48813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48814 (exit $ac_status); } &&
48815 { ac_try='test -z "$ac_c_werror_flag"
48816 || test ! -s conftest.err'
48817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48818 (eval $ac_try) 2>&5
48819 ac_status=$?
48820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48821 (exit $ac_status); }; } &&
48822 { ac_try='test -s conftest$ac_exeext'
48823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48824 (eval $ac_try) 2>&5
48825 ac_status=$?
48826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48827 (exit $ac_status); }; }; then
48828 glibcxx_cv_func___builtin_fabsl_link=yes
48829 else
48830 echo "$as_me: failed program was:" >&5
48831 sed 's/^/| /' conftest.$ac_ext >&5
48833 glibcxx_cv_func___builtin_fabsl_link=no
48835 rm -f conftest.err conftest.$ac_objext \
48836 conftest$ac_exeext conftest.$ac_ext
48841 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
48842 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
48843 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
48844 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48846 cat >>confdefs.h <<_ACEOF
48847 #define ${ac_tr_func} 1
48848 _ACEOF
48854 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
48855 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
48856 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
48857 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
48858 echo $ECHO_N "(cached) $ECHO_C" >&6
48859 else
48863 ac_ext=cc
48864 ac_cpp='$CXXCPP $CPPFLAGS'
48865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48869 cat >conftest.$ac_ext <<_ACEOF
48870 /* confdefs.h. */
48871 _ACEOF
48872 cat confdefs.h >>conftest.$ac_ext
48873 cat >>conftest.$ac_ext <<_ACEOF
48874 /* end confdefs.h. */
48875 #include <math.h>
48877 main ()
48879 __builtin_labs(0);
48881 return 0;
48883 _ACEOF
48884 rm -f conftest.$ac_objext
48885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48886 (eval $ac_compile) 2>conftest.er1
48887 ac_status=$?
48888 grep -v '^ *+' conftest.er1 >conftest.err
48889 rm -f conftest.er1
48890 cat conftest.err >&5
48891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48892 (exit $ac_status); } &&
48893 { ac_try='test -z "$ac_cxx_werror_flag"
48894 || test ! -s conftest.err'
48895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48896 (eval $ac_try) 2>&5
48897 ac_status=$?
48898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48899 (exit $ac_status); }; } &&
48900 { ac_try='test -s conftest.$ac_objext'
48901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48902 (eval $ac_try) 2>&5
48903 ac_status=$?
48904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48905 (exit $ac_status); }; }; then
48906 glibcxx_cv_func___builtin_labs_use=yes
48907 else
48908 echo "$as_me: failed program was:" >&5
48909 sed 's/^/| /' conftest.$ac_ext >&5
48911 glibcxx_cv_func___builtin_labs_use=no
48913 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48914 ac_ext=c
48915 ac_cpp='$CPP $CPPFLAGS'
48916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48924 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
48925 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
48926 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
48927 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
48928 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
48929 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
48930 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
48931 echo $ECHO_N "(cached) $ECHO_C" >&6
48932 else
48934 if test x$gcc_no_link = xyes; then
48935 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48936 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48937 { (exit 1); exit 1; }; }
48939 cat >conftest.$ac_ext <<_ACEOF
48940 /* confdefs.h. */
48941 _ACEOF
48942 cat confdefs.h >>conftest.$ac_ext
48943 cat >>conftest.$ac_ext <<_ACEOF
48944 /* end confdefs.h. */
48945 #include <math.h>
48947 main ()
48949 __builtin_labs(0);
48951 return 0;
48953 _ACEOF
48954 rm -f conftest.$ac_objext conftest$ac_exeext
48955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48956 (eval $ac_link) 2>conftest.er1
48957 ac_status=$?
48958 grep -v '^ *+' conftest.er1 >conftest.err
48959 rm -f conftest.er1
48960 cat conftest.err >&5
48961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48962 (exit $ac_status); } &&
48963 { ac_try='test -z "$ac_c_werror_flag"
48964 || test ! -s conftest.err'
48965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48966 (eval $ac_try) 2>&5
48967 ac_status=$?
48968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48969 (exit $ac_status); }; } &&
48970 { ac_try='test -s conftest$ac_exeext'
48971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48972 (eval $ac_try) 2>&5
48973 ac_status=$?
48974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48975 (exit $ac_status); }; }; then
48976 glibcxx_cv_func___builtin_labs_link=yes
48977 else
48978 echo "$as_me: failed program was:" >&5
48979 sed 's/^/| /' conftest.$ac_ext >&5
48981 glibcxx_cv_func___builtin_labs_link=no
48983 rm -f conftest.err conftest.$ac_objext \
48984 conftest$ac_exeext conftest.$ac_ext
48989 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
48990 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
48991 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
48992 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48994 cat >>confdefs.h <<_ACEOF
48995 #define ${ac_tr_func} 1
48996 _ACEOF
49003 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
49004 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
49005 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
49006 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
49007 echo $ECHO_N "(cached) $ECHO_C" >&6
49008 else
49012 ac_ext=cc
49013 ac_cpp='$CXXCPP $CPPFLAGS'
49014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49018 cat >conftest.$ac_ext <<_ACEOF
49019 /* confdefs.h. */
49020 _ACEOF
49021 cat confdefs.h >>conftest.$ac_ext
49022 cat >>conftest.$ac_ext <<_ACEOF
49023 /* end confdefs.h. */
49024 #include <math.h>
49026 main ()
49028 __builtin_sqrtf(0);
49030 return 0;
49032 _ACEOF
49033 rm -f conftest.$ac_objext
49034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49035 (eval $ac_compile) 2>conftest.er1
49036 ac_status=$?
49037 grep -v '^ *+' conftest.er1 >conftest.err
49038 rm -f conftest.er1
49039 cat conftest.err >&5
49040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49041 (exit $ac_status); } &&
49042 { ac_try='test -z "$ac_cxx_werror_flag"
49043 || test ! -s conftest.err'
49044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49045 (eval $ac_try) 2>&5
49046 ac_status=$?
49047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49048 (exit $ac_status); }; } &&
49049 { ac_try='test -s conftest.$ac_objext'
49050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49051 (eval $ac_try) 2>&5
49052 ac_status=$?
49053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49054 (exit $ac_status); }; }; then
49055 glibcxx_cv_func___builtin_sqrtf_use=yes
49056 else
49057 echo "$as_me: failed program was:" >&5
49058 sed 's/^/| /' conftest.$ac_ext >&5
49060 glibcxx_cv_func___builtin_sqrtf_use=no
49062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49063 ac_ext=c
49064 ac_cpp='$CPP $CPPFLAGS'
49065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49073 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
49074 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
49075 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
49076 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
49077 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
49078 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
49079 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
49080 echo $ECHO_N "(cached) $ECHO_C" >&6
49081 else
49083 if test x$gcc_no_link = xyes; then
49084 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49085 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49086 { (exit 1); exit 1; }; }
49088 cat >conftest.$ac_ext <<_ACEOF
49089 /* confdefs.h. */
49090 _ACEOF
49091 cat confdefs.h >>conftest.$ac_ext
49092 cat >>conftest.$ac_ext <<_ACEOF
49093 /* end confdefs.h. */
49094 #include <math.h>
49096 main ()
49098 __builtin_sqrtf(0);
49100 return 0;
49102 _ACEOF
49103 rm -f conftest.$ac_objext conftest$ac_exeext
49104 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49105 (eval $ac_link) 2>conftest.er1
49106 ac_status=$?
49107 grep -v '^ *+' conftest.er1 >conftest.err
49108 rm -f conftest.er1
49109 cat conftest.err >&5
49110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49111 (exit $ac_status); } &&
49112 { ac_try='test -z "$ac_c_werror_flag"
49113 || test ! -s conftest.err'
49114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49115 (eval $ac_try) 2>&5
49116 ac_status=$?
49117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49118 (exit $ac_status); }; } &&
49119 { ac_try='test -s conftest$ac_exeext'
49120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49121 (eval $ac_try) 2>&5
49122 ac_status=$?
49123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49124 (exit $ac_status); }; }; then
49125 glibcxx_cv_func___builtin_sqrtf_link=yes
49126 else
49127 echo "$as_me: failed program was:" >&5
49128 sed 's/^/| /' conftest.$ac_ext >&5
49130 glibcxx_cv_func___builtin_sqrtf_link=no
49132 rm -f conftest.err conftest.$ac_objext \
49133 conftest$ac_exeext conftest.$ac_ext
49138 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
49139 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
49140 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
49141 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49143 cat >>confdefs.h <<_ACEOF
49144 #define ${ac_tr_func} 1
49145 _ACEOF
49151 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
49152 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
49153 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
49154 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
49155 echo $ECHO_N "(cached) $ECHO_C" >&6
49156 else
49160 ac_ext=cc
49161 ac_cpp='$CXXCPP $CPPFLAGS'
49162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49166 cat >conftest.$ac_ext <<_ACEOF
49167 /* confdefs.h. */
49168 _ACEOF
49169 cat confdefs.h >>conftest.$ac_ext
49170 cat >>conftest.$ac_ext <<_ACEOF
49171 /* end confdefs.h. */
49172 #include <math.h>
49174 main ()
49176 __builtin_sqrt(0);
49178 return 0;
49180 _ACEOF
49181 rm -f conftest.$ac_objext
49182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49183 (eval $ac_compile) 2>conftest.er1
49184 ac_status=$?
49185 grep -v '^ *+' conftest.er1 >conftest.err
49186 rm -f conftest.er1
49187 cat conftest.err >&5
49188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49189 (exit $ac_status); } &&
49190 { ac_try='test -z "$ac_cxx_werror_flag"
49191 || test ! -s conftest.err'
49192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49193 (eval $ac_try) 2>&5
49194 ac_status=$?
49195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49196 (exit $ac_status); }; } &&
49197 { ac_try='test -s conftest.$ac_objext'
49198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49199 (eval $ac_try) 2>&5
49200 ac_status=$?
49201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49202 (exit $ac_status); }; }; then
49203 glibcxx_cv_func___builtin_sqrt_use=yes
49204 else
49205 echo "$as_me: failed program was:" >&5
49206 sed 's/^/| /' conftest.$ac_ext >&5
49208 glibcxx_cv_func___builtin_sqrt_use=no
49210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49211 ac_ext=c
49212 ac_cpp='$CPP $CPPFLAGS'
49213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49221 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
49222 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
49223 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
49224 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
49225 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
49226 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
49227 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
49228 echo $ECHO_N "(cached) $ECHO_C" >&6
49229 else
49231 if test x$gcc_no_link = xyes; then
49232 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49233 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49234 { (exit 1); exit 1; }; }
49236 cat >conftest.$ac_ext <<_ACEOF
49237 /* confdefs.h. */
49238 _ACEOF
49239 cat confdefs.h >>conftest.$ac_ext
49240 cat >>conftest.$ac_ext <<_ACEOF
49241 /* end confdefs.h. */
49242 #include <math.h>
49244 main ()
49246 __builtin_sqrt(0);
49248 return 0;
49250 _ACEOF
49251 rm -f conftest.$ac_objext conftest$ac_exeext
49252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49253 (eval $ac_link) 2>conftest.er1
49254 ac_status=$?
49255 grep -v '^ *+' conftest.er1 >conftest.err
49256 rm -f conftest.er1
49257 cat conftest.err >&5
49258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49259 (exit $ac_status); } &&
49260 { ac_try='test -z "$ac_c_werror_flag"
49261 || test ! -s conftest.err'
49262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49263 (eval $ac_try) 2>&5
49264 ac_status=$?
49265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49266 (exit $ac_status); }; } &&
49267 { ac_try='test -s conftest$ac_exeext'
49268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49269 (eval $ac_try) 2>&5
49270 ac_status=$?
49271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49272 (exit $ac_status); }; }; then
49273 glibcxx_cv_func___builtin_sqrt_link=yes
49274 else
49275 echo "$as_me: failed program was:" >&5
49276 sed 's/^/| /' conftest.$ac_ext >&5
49278 glibcxx_cv_func___builtin_sqrt_link=no
49280 rm -f conftest.err conftest.$ac_objext \
49281 conftest$ac_exeext conftest.$ac_ext
49286 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
49287 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
49288 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
49289 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49291 cat >>confdefs.h <<_ACEOF
49292 #define ${ac_tr_func} 1
49293 _ACEOF
49299 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
49300 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
49301 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
49302 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
49303 echo $ECHO_N "(cached) $ECHO_C" >&6
49304 else
49308 ac_ext=cc
49309 ac_cpp='$CXXCPP $CPPFLAGS'
49310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49314 cat >conftest.$ac_ext <<_ACEOF
49315 /* confdefs.h. */
49316 _ACEOF
49317 cat confdefs.h >>conftest.$ac_ext
49318 cat >>conftest.$ac_ext <<_ACEOF
49319 /* end confdefs.h. */
49320 #include <math.h>
49322 main ()
49324 __builtin_sqrtl(0);
49326 return 0;
49328 _ACEOF
49329 rm -f conftest.$ac_objext
49330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49331 (eval $ac_compile) 2>conftest.er1
49332 ac_status=$?
49333 grep -v '^ *+' conftest.er1 >conftest.err
49334 rm -f conftest.er1
49335 cat conftest.err >&5
49336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49337 (exit $ac_status); } &&
49338 { ac_try='test -z "$ac_cxx_werror_flag"
49339 || test ! -s conftest.err'
49340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49341 (eval $ac_try) 2>&5
49342 ac_status=$?
49343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49344 (exit $ac_status); }; } &&
49345 { ac_try='test -s conftest.$ac_objext'
49346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49347 (eval $ac_try) 2>&5
49348 ac_status=$?
49349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49350 (exit $ac_status); }; }; then
49351 glibcxx_cv_func___builtin_sqrtl_use=yes
49352 else
49353 echo "$as_me: failed program was:" >&5
49354 sed 's/^/| /' conftest.$ac_ext >&5
49356 glibcxx_cv_func___builtin_sqrtl_use=no
49358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49359 ac_ext=c
49360 ac_cpp='$CPP $CPPFLAGS'
49361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49369 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
49370 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
49371 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
49372 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
49373 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
49374 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
49375 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
49376 echo $ECHO_N "(cached) $ECHO_C" >&6
49377 else
49379 if test x$gcc_no_link = xyes; then
49380 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49381 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49382 { (exit 1); exit 1; }; }
49384 cat >conftest.$ac_ext <<_ACEOF
49385 /* confdefs.h. */
49386 _ACEOF
49387 cat confdefs.h >>conftest.$ac_ext
49388 cat >>conftest.$ac_ext <<_ACEOF
49389 /* end confdefs.h. */
49390 #include <math.h>
49392 main ()
49394 __builtin_sqrtl(0);
49396 return 0;
49398 _ACEOF
49399 rm -f conftest.$ac_objext conftest$ac_exeext
49400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49401 (eval $ac_link) 2>conftest.er1
49402 ac_status=$?
49403 grep -v '^ *+' conftest.er1 >conftest.err
49404 rm -f conftest.er1
49405 cat conftest.err >&5
49406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49407 (exit $ac_status); } &&
49408 { ac_try='test -z "$ac_c_werror_flag"
49409 || test ! -s conftest.err'
49410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49411 (eval $ac_try) 2>&5
49412 ac_status=$?
49413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49414 (exit $ac_status); }; } &&
49415 { ac_try='test -s conftest$ac_exeext'
49416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49417 (eval $ac_try) 2>&5
49418 ac_status=$?
49419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49420 (exit $ac_status); }; }; then
49421 glibcxx_cv_func___builtin_sqrtl_link=yes
49422 else
49423 echo "$as_me: failed program was:" >&5
49424 sed 's/^/| /' conftest.$ac_ext >&5
49426 glibcxx_cv_func___builtin_sqrtl_link=no
49428 rm -f conftest.err conftest.$ac_objext \
49429 conftest$ac_exeext conftest.$ac_ext
49434 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
49435 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
49436 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
49437 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49439 cat >>confdefs.h <<_ACEOF
49440 #define ${ac_tr_func} 1
49441 _ACEOF
49448 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
49449 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
49450 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
49451 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
49452 echo $ECHO_N "(cached) $ECHO_C" >&6
49453 else
49457 ac_ext=cc
49458 ac_cpp='$CXXCPP $CPPFLAGS'
49459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49463 cat >conftest.$ac_ext <<_ACEOF
49464 /* confdefs.h. */
49465 _ACEOF
49466 cat confdefs.h >>conftest.$ac_ext
49467 cat >>conftest.$ac_ext <<_ACEOF
49468 /* end confdefs.h. */
49469 #include <math.h>
49471 main ()
49473 __builtin_sinf(0);
49475 return 0;
49477 _ACEOF
49478 rm -f conftest.$ac_objext
49479 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49480 (eval $ac_compile) 2>conftest.er1
49481 ac_status=$?
49482 grep -v '^ *+' conftest.er1 >conftest.err
49483 rm -f conftest.er1
49484 cat conftest.err >&5
49485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49486 (exit $ac_status); } &&
49487 { ac_try='test -z "$ac_cxx_werror_flag"
49488 || test ! -s conftest.err'
49489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49490 (eval $ac_try) 2>&5
49491 ac_status=$?
49492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49493 (exit $ac_status); }; } &&
49494 { ac_try='test -s conftest.$ac_objext'
49495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49496 (eval $ac_try) 2>&5
49497 ac_status=$?
49498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49499 (exit $ac_status); }; }; then
49500 glibcxx_cv_func___builtin_sinf_use=yes
49501 else
49502 echo "$as_me: failed program was:" >&5
49503 sed 's/^/| /' conftest.$ac_ext >&5
49505 glibcxx_cv_func___builtin_sinf_use=no
49507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49508 ac_ext=c
49509 ac_cpp='$CPP $CPPFLAGS'
49510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49518 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
49519 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
49520 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
49521 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
49522 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
49523 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
49524 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
49525 echo $ECHO_N "(cached) $ECHO_C" >&6
49526 else
49528 if test x$gcc_no_link = xyes; then
49529 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49530 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49531 { (exit 1); exit 1; }; }
49533 cat >conftest.$ac_ext <<_ACEOF
49534 /* confdefs.h. */
49535 _ACEOF
49536 cat confdefs.h >>conftest.$ac_ext
49537 cat >>conftest.$ac_ext <<_ACEOF
49538 /* end confdefs.h. */
49539 #include <math.h>
49541 main ()
49543 __builtin_sinf(0);
49545 return 0;
49547 _ACEOF
49548 rm -f conftest.$ac_objext conftest$ac_exeext
49549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49550 (eval $ac_link) 2>conftest.er1
49551 ac_status=$?
49552 grep -v '^ *+' conftest.er1 >conftest.err
49553 rm -f conftest.er1
49554 cat conftest.err >&5
49555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49556 (exit $ac_status); } &&
49557 { ac_try='test -z "$ac_c_werror_flag"
49558 || test ! -s conftest.err'
49559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49560 (eval $ac_try) 2>&5
49561 ac_status=$?
49562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49563 (exit $ac_status); }; } &&
49564 { ac_try='test -s conftest$ac_exeext'
49565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49566 (eval $ac_try) 2>&5
49567 ac_status=$?
49568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49569 (exit $ac_status); }; }; then
49570 glibcxx_cv_func___builtin_sinf_link=yes
49571 else
49572 echo "$as_me: failed program was:" >&5
49573 sed 's/^/| /' conftest.$ac_ext >&5
49575 glibcxx_cv_func___builtin_sinf_link=no
49577 rm -f conftest.err conftest.$ac_objext \
49578 conftest$ac_exeext conftest.$ac_ext
49583 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
49584 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
49585 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
49586 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49588 cat >>confdefs.h <<_ACEOF
49589 #define ${ac_tr_func} 1
49590 _ACEOF
49596 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
49597 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
49598 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
49599 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
49600 echo $ECHO_N "(cached) $ECHO_C" >&6
49601 else
49605 ac_ext=cc
49606 ac_cpp='$CXXCPP $CPPFLAGS'
49607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49611 cat >conftest.$ac_ext <<_ACEOF
49612 /* confdefs.h. */
49613 _ACEOF
49614 cat confdefs.h >>conftest.$ac_ext
49615 cat >>conftest.$ac_ext <<_ACEOF
49616 /* end confdefs.h. */
49617 #include <math.h>
49619 main ()
49621 __builtin_sin(0);
49623 return 0;
49625 _ACEOF
49626 rm -f conftest.$ac_objext
49627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49628 (eval $ac_compile) 2>conftest.er1
49629 ac_status=$?
49630 grep -v '^ *+' conftest.er1 >conftest.err
49631 rm -f conftest.er1
49632 cat conftest.err >&5
49633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49634 (exit $ac_status); } &&
49635 { ac_try='test -z "$ac_cxx_werror_flag"
49636 || test ! -s conftest.err'
49637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49638 (eval $ac_try) 2>&5
49639 ac_status=$?
49640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49641 (exit $ac_status); }; } &&
49642 { ac_try='test -s conftest.$ac_objext'
49643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49644 (eval $ac_try) 2>&5
49645 ac_status=$?
49646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49647 (exit $ac_status); }; }; then
49648 glibcxx_cv_func___builtin_sin_use=yes
49649 else
49650 echo "$as_me: failed program was:" >&5
49651 sed 's/^/| /' conftest.$ac_ext >&5
49653 glibcxx_cv_func___builtin_sin_use=no
49655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49656 ac_ext=c
49657 ac_cpp='$CPP $CPPFLAGS'
49658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49666 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
49667 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
49668 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
49669 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
49670 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
49671 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
49672 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
49673 echo $ECHO_N "(cached) $ECHO_C" >&6
49674 else
49676 if test x$gcc_no_link = xyes; then
49677 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49678 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49679 { (exit 1); exit 1; }; }
49681 cat >conftest.$ac_ext <<_ACEOF
49682 /* confdefs.h. */
49683 _ACEOF
49684 cat confdefs.h >>conftest.$ac_ext
49685 cat >>conftest.$ac_ext <<_ACEOF
49686 /* end confdefs.h. */
49687 #include <math.h>
49689 main ()
49691 __builtin_sin(0);
49693 return 0;
49695 _ACEOF
49696 rm -f conftest.$ac_objext conftest$ac_exeext
49697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49698 (eval $ac_link) 2>conftest.er1
49699 ac_status=$?
49700 grep -v '^ *+' conftest.er1 >conftest.err
49701 rm -f conftest.er1
49702 cat conftest.err >&5
49703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49704 (exit $ac_status); } &&
49705 { ac_try='test -z "$ac_c_werror_flag"
49706 || test ! -s conftest.err'
49707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49708 (eval $ac_try) 2>&5
49709 ac_status=$?
49710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49711 (exit $ac_status); }; } &&
49712 { ac_try='test -s conftest$ac_exeext'
49713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49714 (eval $ac_try) 2>&5
49715 ac_status=$?
49716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49717 (exit $ac_status); }; }; then
49718 glibcxx_cv_func___builtin_sin_link=yes
49719 else
49720 echo "$as_me: failed program was:" >&5
49721 sed 's/^/| /' conftest.$ac_ext >&5
49723 glibcxx_cv_func___builtin_sin_link=no
49725 rm -f conftest.err conftest.$ac_objext \
49726 conftest$ac_exeext conftest.$ac_ext
49731 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
49732 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
49733 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
49734 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49736 cat >>confdefs.h <<_ACEOF
49737 #define ${ac_tr_func} 1
49738 _ACEOF
49744 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
49745 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
49746 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
49747 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
49748 echo $ECHO_N "(cached) $ECHO_C" >&6
49749 else
49753 ac_ext=cc
49754 ac_cpp='$CXXCPP $CPPFLAGS'
49755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49759 cat >conftest.$ac_ext <<_ACEOF
49760 /* confdefs.h. */
49761 _ACEOF
49762 cat confdefs.h >>conftest.$ac_ext
49763 cat >>conftest.$ac_ext <<_ACEOF
49764 /* end confdefs.h. */
49765 #include <math.h>
49767 main ()
49769 __builtin_sinl(0);
49771 return 0;
49773 _ACEOF
49774 rm -f conftest.$ac_objext
49775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49776 (eval $ac_compile) 2>conftest.er1
49777 ac_status=$?
49778 grep -v '^ *+' conftest.er1 >conftest.err
49779 rm -f conftest.er1
49780 cat conftest.err >&5
49781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49782 (exit $ac_status); } &&
49783 { ac_try='test -z "$ac_cxx_werror_flag"
49784 || test ! -s conftest.err'
49785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49786 (eval $ac_try) 2>&5
49787 ac_status=$?
49788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49789 (exit $ac_status); }; } &&
49790 { ac_try='test -s conftest.$ac_objext'
49791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49792 (eval $ac_try) 2>&5
49793 ac_status=$?
49794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49795 (exit $ac_status); }; }; then
49796 glibcxx_cv_func___builtin_sinl_use=yes
49797 else
49798 echo "$as_me: failed program was:" >&5
49799 sed 's/^/| /' conftest.$ac_ext >&5
49801 glibcxx_cv_func___builtin_sinl_use=no
49803 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49804 ac_ext=c
49805 ac_cpp='$CPP $CPPFLAGS'
49806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49814 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
49815 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
49816 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
49817 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
49818 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
49819 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
49820 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
49821 echo $ECHO_N "(cached) $ECHO_C" >&6
49822 else
49824 if test x$gcc_no_link = xyes; then
49825 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49826 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49827 { (exit 1); exit 1; }; }
49829 cat >conftest.$ac_ext <<_ACEOF
49830 /* confdefs.h. */
49831 _ACEOF
49832 cat confdefs.h >>conftest.$ac_ext
49833 cat >>conftest.$ac_ext <<_ACEOF
49834 /* end confdefs.h. */
49835 #include <math.h>
49837 main ()
49839 __builtin_sinl(0);
49841 return 0;
49843 _ACEOF
49844 rm -f conftest.$ac_objext conftest$ac_exeext
49845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49846 (eval $ac_link) 2>conftest.er1
49847 ac_status=$?
49848 grep -v '^ *+' conftest.er1 >conftest.err
49849 rm -f conftest.er1
49850 cat conftest.err >&5
49851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49852 (exit $ac_status); } &&
49853 { ac_try='test -z "$ac_c_werror_flag"
49854 || test ! -s conftest.err'
49855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49856 (eval $ac_try) 2>&5
49857 ac_status=$?
49858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49859 (exit $ac_status); }; } &&
49860 { ac_try='test -s conftest$ac_exeext'
49861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49862 (eval $ac_try) 2>&5
49863 ac_status=$?
49864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49865 (exit $ac_status); }; }; then
49866 glibcxx_cv_func___builtin_sinl_link=yes
49867 else
49868 echo "$as_me: failed program was:" >&5
49869 sed 's/^/| /' conftest.$ac_ext >&5
49871 glibcxx_cv_func___builtin_sinl_link=no
49873 rm -f conftest.err conftest.$ac_objext \
49874 conftest$ac_exeext conftest.$ac_ext
49879 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
49880 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
49881 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
49882 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49884 cat >>confdefs.h <<_ACEOF
49885 #define ${ac_tr_func} 1
49886 _ACEOF
49893 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
49894 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
49895 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
49896 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
49897 echo $ECHO_N "(cached) $ECHO_C" >&6
49898 else
49902 ac_ext=cc
49903 ac_cpp='$CXXCPP $CPPFLAGS'
49904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49908 cat >conftest.$ac_ext <<_ACEOF
49909 /* confdefs.h. */
49910 _ACEOF
49911 cat confdefs.h >>conftest.$ac_ext
49912 cat >>conftest.$ac_ext <<_ACEOF
49913 /* end confdefs.h. */
49914 #include <math.h>
49916 main ()
49918 __builtin_cosf(0);
49920 return 0;
49922 _ACEOF
49923 rm -f conftest.$ac_objext
49924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49925 (eval $ac_compile) 2>conftest.er1
49926 ac_status=$?
49927 grep -v '^ *+' conftest.er1 >conftest.err
49928 rm -f conftest.er1
49929 cat conftest.err >&5
49930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49931 (exit $ac_status); } &&
49932 { ac_try='test -z "$ac_cxx_werror_flag"
49933 || test ! -s conftest.err'
49934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49935 (eval $ac_try) 2>&5
49936 ac_status=$?
49937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49938 (exit $ac_status); }; } &&
49939 { ac_try='test -s conftest.$ac_objext'
49940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49941 (eval $ac_try) 2>&5
49942 ac_status=$?
49943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49944 (exit $ac_status); }; }; then
49945 glibcxx_cv_func___builtin_cosf_use=yes
49946 else
49947 echo "$as_me: failed program was:" >&5
49948 sed 's/^/| /' conftest.$ac_ext >&5
49950 glibcxx_cv_func___builtin_cosf_use=no
49952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49953 ac_ext=c
49954 ac_cpp='$CPP $CPPFLAGS'
49955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49963 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
49964 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
49965 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
49966 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
49967 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
49968 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
49969 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
49970 echo $ECHO_N "(cached) $ECHO_C" >&6
49971 else
49973 if test x$gcc_no_link = xyes; then
49974 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49976 { (exit 1); exit 1; }; }
49978 cat >conftest.$ac_ext <<_ACEOF
49979 /* confdefs.h. */
49980 _ACEOF
49981 cat confdefs.h >>conftest.$ac_ext
49982 cat >>conftest.$ac_ext <<_ACEOF
49983 /* end confdefs.h. */
49984 #include <math.h>
49986 main ()
49988 __builtin_cosf(0);
49990 return 0;
49992 _ACEOF
49993 rm -f conftest.$ac_objext conftest$ac_exeext
49994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49995 (eval $ac_link) 2>conftest.er1
49996 ac_status=$?
49997 grep -v '^ *+' conftest.er1 >conftest.err
49998 rm -f conftest.er1
49999 cat conftest.err >&5
50000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50001 (exit $ac_status); } &&
50002 { ac_try='test -z "$ac_c_werror_flag"
50003 || test ! -s conftest.err'
50004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50005 (eval $ac_try) 2>&5
50006 ac_status=$?
50007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50008 (exit $ac_status); }; } &&
50009 { ac_try='test -s conftest$ac_exeext'
50010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50011 (eval $ac_try) 2>&5
50012 ac_status=$?
50013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50014 (exit $ac_status); }; }; then
50015 glibcxx_cv_func___builtin_cosf_link=yes
50016 else
50017 echo "$as_me: failed program was:" >&5
50018 sed 's/^/| /' conftest.$ac_ext >&5
50020 glibcxx_cv_func___builtin_cosf_link=no
50022 rm -f conftest.err conftest.$ac_objext \
50023 conftest$ac_exeext conftest.$ac_ext
50028 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
50029 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
50030 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
50031 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
50033 cat >>confdefs.h <<_ACEOF
50034 #define ${ac_tr_func} 1
50035 _ACEOF
50041 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
50042 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
50043 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
50044 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
50045 echo $ECHO_N "(cached) $ECHO_C" >&6
50046 else
50050 ac_ext=cc
50051 ac_cpp='$CXXCPP $CPPFLAGS'
50052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50056 cat >conftest.$ac_ext <<_ACEOF
50057 /* confdefs.h. */
50058 _ACEOF
50059 cat confdefs.h >>conftest.$ac_ext
50060 cat >>conftest.$ac_ext <<_ACEOF
50061 /* end confdefs.h. */
50062 #include <math.h>
50064 main ()
50066 __builtin_cos(0);
50068 return 0;
50070 _ACEOF
50071 rm -f conftest.$ac_objext
50072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50073 (eval $ac_compile) 2>conftest.er1
50074 ac_status=$?
50075 grep -v '^ *+' conftest.er1 >conftest.err
50076 rm -f conftest.er1
50077 cat conftest.err >&5
50078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50079 (exit $ac_status); } &&
50080 { ac_try='test -z "$ac_cxx_werror_flag"
50081 || test ! -s conftest.err'
50082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50083 (eval $ac_try) 2>&5
50084 ac_status=$?
50085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50086 (exit $ac_status); }; } &&
50087 { ac_try='test -s conftest.$ac_objext'
50088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50089 (eval $ac_try) 2>&5
50090 ac_status=$?
50091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50092 (exit $ac_status); }; }; then
50093 glibcxx_cv_func___builtin_cos_use=yes
50094 else
50095 echo "$as_me: failed program was:" >&5
50096 sed 's/^/| /' conftest.$ac_ext >&5
50098 glibcxx_cv_func___builtin_cos_use=no
50100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50101 ac_ext=c
50102 ac_cpp='$CPP $CPPFLAGS'
50103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50111 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
50112 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
50113 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
50114 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
50115 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
50116 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
50117 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
50118 echo $ECHO_N "(cached) $ECHO_C" >&6
50119 else
50121 if test x$gcc_no_link = xyes; then
50122 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50123 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50124 { (exit 1); exit 1; }; }
50126 cat >conftest.$ac_ext <<_ACEOF
50127 /* confdefs.h. */
50128 _ACEOF
50129 cat confdefs.h >>conftest.$ac_ext
50130 cat >>conftest.$ac_ext <<_ACEOF
50131 /* end confdefs.h. */
50132 #include <math.h>
50134 main ()
50136 __builtin_cos(0);
50138 return 0;
50140 _ACEOF
50141 rm -f conftest.$ac_objext conftest$ac_exeext
50142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50143 (eval $ac_link) 2>conftest.er1
50144 ac_status=$?
50145 grep -v '^ *+' conftest.er1 >conftest.err
50146 rm -f conftest.er1
50147 cat conftest.err >&5
50148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50149 (exit $ac_status); } &&
50150 { ac_try='test -z "$ac_c_werror_flag"
50151 || test ! -s conftest.err'
50152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50153 (eval $ac_try) 2>&5
50154 ac_status=$?
50155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50156 (exit $ac_status); }; } &&
50157 { ac_try='test -s conftest$ac_exeext'
50158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50159 (eval $ac_try) 2>&5
50160 ac_status=$?
50161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50162 (exit $ac_status); }; }; then
50163 glibcxx_cv_func___builtin_cos_link=yes
50164 else
50165 echo "$as_me: failed program was:" >&5
50166 sed 's/^/| /' conftest.$ac_ext >&5
50168 glibcxx_cv_func___builtin_cos_link=no
50170 rm -f conftest.err conftest.$ac_objext \
50171 conftest$ac_exeext conftest.$ac_ext
50176 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
50177 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
50178 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
50179 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
50181 cat >>confdefs.h <<_ACEOF
50182 #define ${ac_tr_func} 1
50183 _ACEOF
50189 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
50190 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
50191 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
50192 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
50193 echo $ECHO_N "(cached) $ECHO_C" >&6
50194 else
50198 ac_ext=cc
50199 ac_cpp='$CXXCPP $CPPFLAGS'
50200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50204 cat >conftest.$ac_ext <<_ACEOF
50205 /* confdefs.h. */
50206 _ACEOF
50207 cat confdefs.h >>conftest.$ac_ext
50208 cat >>conftest.$ac_ext <<_ACEOF
50209 /* end confdefs.h. */
50210 #include <math.h>
50212 main ()
50214 __builtin_cosl(0);
50216 return 0;
50218 _ACEOF
50219 rm -f conftest.$ac_objext
50220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50221 (eval $ac_compile) 2>conftest.er1
50222 ac_status=$?
50223 grep -v '^ *+' conftest.er1 >conftest.err
50224 rm -f conftest.er1
50225 cat conftest.err >&5
50226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50227 (exit $ac_status); } &&
50228 { ac_try='test -z "$ac_cxx_werror_flag"
50229 || test ! -s conftest.err'
50230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50231 (eval $ac_try) 2>&5
50232 ac_status=$?
50233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50234 (exit $ac_status); }; } &&
50235 { ac_try='test -s conftest.$ac_objext'
50236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50237 (eval $ac_try) 2>&5
50238 ac_status=$?
50239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50240 (exit $ac_status); }; }; then
50241 glibcxx_cv_func___builtin_cosl_use=yes
50242 else
50243 echo "$as_me: failed program was:" >&5
50244 sed 's/^/| /' conftest.$ac_ext >&5
50246 glibcxx_cv_func___builtin_cosl_use=no
50248 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50249 ac_ext=c
50250 ac_cpp='$CPP $CPPFLAGS'
50251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50259 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
50260 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
50261 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
50262 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
50263 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
50264 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
50265 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
50266 echo $ECHO_N "(cached) $ECHO_C" >&6
50267 else
50269 if test x$gcc_no_link = xyes; then
50270 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50271 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50272 { (exit 1); exit 1; }; }
50274 cat >conftest.$ac_ext <<_ACEOF
50275 /* confdefs.h. */
50276 _ACEOF
50277 cat confdefs.h >>conftest.$ac_ext
50278 cat >>conftest.$ac_ext <<_ACEOF
50279 /* end confdefs.h. */
50280 #include <math.h>
50282 main ()
50284 __builtin_cosl(0);
50286 return 0;
50288 _ACEOF
50289 rm -f conftest.$ac_objext conftest$ac_exeext
50290 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50291 (eval $ac_link) 2>conftest.er1
50292 ac_status=$?
50293 grep -v '^ *+' conftest.er1 >conftest.err
50294 rm -f conftest.er1
50295 cat conftest.err >&5
50296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50297 (exit $ac_status); } &&
50298 { ac_try='test -z "$ac_c_werror_flag"
50299 || test ! -s conftest.err'
50300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50301 (eval $ac_try) 2>&5
50302 ac_status=$?
50303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50304 (exit $ac_status); }; } &&
50305 { ac_try='test -s conftest$ac_exeext'
50306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50307 (eval $ac_try) 2>&5
50308 ac_status=$?
50309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50310 (exit $ac_status); }; }; then
50311 glibcxx_cv_func___builtin_cosl_link=yes
50312 else
50313 echo "$as_me: failed program was:" >&5
50314 sed 's/^/| /' conftest.$ac_ext >&5
50316 glibcxx_cv_func___builtin_cosl_link=no
50318 rm -f conftest.err conftest.$ac_objext \
50319 conftest$ac_exeext conftest.$ac_ext
50324 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
50325 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
50326 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
50327 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
50329 cat >>confdefs.h <<_ACEOF
50330 #define ${ac_tr_func} 1
50331 _ACEOF
50339 echo "$as_me:$LINENO: checking for main in -lm" >&5
50340 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
50341 if test "${ac_cv_lib_m_main+set}" = set; then
50342 echo $ECHO_N "(cached) $ECHO_C" >&6
50343 else
50344 ac_check_lib_save_LIBS=$LIBS
50345 LIBS="-lm $LIBS"
50346 if test x$gcc_no_link = xyes; then
50347 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50348 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50349 { (exit 1); exit 1; }; }
50351 cat >conftest.$ac_ext <<_ACEOF
50352 /* confdefs.h. */
50353 _ACEOF
50354 cat confdefs.h >>conftest.$ac_ext
50355 cat >>conftest.$ac_ext <<_ACEOF
50356 /* end confdefs.h. */
50360 main ()
50362 main ();
50364 return 0;
50366 _ACEOF
50367 rm -f conftest.$ac_objext conftest$ac_exeext
50368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50369 (eval $ac_link) 2>conftest.er1
50370 ac_status=$?
50371 grep -v '^ *+' conftest.er1 >conftest.err
50372 rm -f conftest.er1
50373 cat conftest.err >&5
50374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50375 (exit $ac_status); } &&
50376 { ac_try='test -z "$ac_c_werror_flag"
50377 || test ! -s conftest.err'
50378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50379 (eval $ac_try) 2>&5
50380 ac_status=$?
50381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50382 (exit $ac_status); }; } &&
50383 { ac_try='test -s conftest$ac_exeext'
50384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50385 (eval $ac_try) 2>&5
50386 ac_status=$?
50387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50388 (exit $ac_status); }; }; then
50389 ac_cv_lib_m_main=yes
50390 else
50391 echo "$as_me: failed program was:" >&5
50392 sed 's/^/| /' conftest.$ac_ext >&5
50394 ac_cv_lib_m_main=no
50396 rm -f conftest.err conftest.$ac_objext \
50397 conftest$ac_exeext conftest.$ac_ext
50398 LIBS=$ac_check_lib_save_LIBS
50400 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
50401 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
50402 if test $ac_cv_lib_m_main = yes; then
50403 cat >>confdefs.h <<_ACEOF
50404 #define HAVE_LIBM 1
50405 _ACEOF
50407 LIBS="-lm $LIBS"
50412 for ac_func in copysignf
50414 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50415 echo "$as_me:$LINENO: checking for $ac_func" >&5
50416 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50417 if eval "test \"\${$as_ac_var+set}\" = set"; then
50418 echo $ECHO_N "(cached) $ECHO_C" >&6
50419 else
50420 if test x$gcc_no_link = xyes; then
50421 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50422 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50423 { (exit 1); exit 1; }; }
50425 cat >conftest.$ac_ext <<_ACEOF
50426 /* confdefs.h. */
50427 _ACEOF
50428 cat confdefs.h >>conftest.$ac_ext
50429 cat >>conftest.$ac_ext <<_ACEOF
50430 /* end confdefs.h. */
50431 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50432 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50433 #define $ac_func innocuous_$ac_func
50435 /* System header to define __stub macros and hopefully few prototypes,
50436 which can conflict with char $ac_func (); below.
50437 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50438 <limits.h> exists even on freestanding compilers. */
50440 #ifdef __STDC__
50441 # include <limits.h>
50442 #else
50443 # include <assert.h>
50444 #endif
50446 #undef $ac_func
50448 /* Override any gcc2 internal prototype to avoid an error. */
50449 #ifdef __cplusplus
50450 extern "C"
50452 #endif
50453 /* We use char because int might match the return type of a gcc2
50454 builtin and then its argument prototype would still apply. */
50455 char $ac_func ();
50456 /* The GNU C library defines this for functions which it implements
50457 to always fail with ENOSYS. Some functions are actually named
50458 something starting with __ and the normal name is an alias. */
50459 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50460 choke me
50461 #else
50462 char (*f) () = $ac_func;
50463 #endif
50464 #ifdef __cplusplus
50466 #endif
50469 main ()
50471 return f != $ac_func;
50473 return 0;
50475 _ACEOF
50476 rm -f conftest.$ac_objext conftest$ac_exeext
50477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50478 (eval $ac_link) 2>conftest.er1
50479 ac_status=$?
50480 grep -v '^ *+' conftest.er1 >conftest.err
50481 rm -f conftest.er1
50482 cat conftest.err >&5
50483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50484 (exit $ac_status); } &&
50485 { ac_try='test -z "$ac_c_werror_flag"
50486 || test ! -s conftest.err'
50487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50488 (eval $ac_try) 2>&5
50489 ac_status=$?
50490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50491 (exit $ac_status); }; } &&
50492 { ac_try='test -s conftest$ac_exeext'
50493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50494 (eval $ac_try) 2>&5
50495 ac_status=$?
50496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50497 (exit $ac_status); }; }; then
50498 eval "$as_ac_var=yes"
50499 else
50500 echo "$as_me: failed program was:" >&5
50501 sed 's/^/| /' conftest.$ac_ext >&5
50503 eval "$as_ac_var=no"
50505 rm -f conftest.err conftest.$ac_objext \
50506 conftest$ac_exeext conftest.$ac_ext
50508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50509 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50510 if test `eval echo '${'$as_ac_var'}'` = yes; then
50511 cat >>confdefs.h <<_ACEOF
50512 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50513 _ACEOF
50515 else
50516 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
50518 done
50522 for ac_func in __signbit
50524 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50525 echo "$as_me:$LINENO: checking for $ac_func" >&5
50526 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50527 if eval "test \"\${$as_ac_var+set}\" = set"; then
50528 echo $ECHO_N "(cached) $ECHO_C" >&6
50529 else
50530 if test x$gcc_no_link = xyes; then
50531 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50532 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50533 { (exit 1); exit 1; }; }
50535 cat >conftest.$ac_ext <<_ACEOF
50536 /* confdefs.h. */
50537 _ACEOF
50538 cat confdefs.h >>conftest.$ac_ext
50539 cat >>conftest.$ac_ext <<_ACEOF
50540 /* end confdefs.h. */
50541 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50542 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50543 #define $ac_func innocuous_$ac_func
50545 /* System header to define __stub macros and hopefully few prototypes,
50546 which can conflict with char $ac_func (); below.
50547 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50548 <limits.h> exists even on freestanding compilers. */
50550 #ifdef __STDC__
50551 # include <limits.h>
50552 #else
50553 # include <assert.h>
50554 #endif
50556 #undef $ac_func
50558 /* Override any gcc2 internal prototype to avoid an error. */
50559 #ifdef __cplusplus
50560 extern "C"
50562 #endif
50563 /* We use char because int might match the return type of a gcc2
50564 builtin and then its argument prototype would still apply. */
50565 char $ac_func ();
50566 /* The GNU C library defines this for functions which it implements
50567 to always fail with ENOSYS. Some functions are actually named
50568 something starting with __ and the normal name is an alias. */
50569 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50570 choke me
50571 #else
50572 char (*f) () = $ac_func;
50573 #endif
50574 #ifdef __cplusplus
50576 #endif
50579 main ()
50581 return f != $ac_func;
50583 return 0;
50585 _ACEOF
50586 rm -f conftest.$ac_objext conftest$ac_exeext
50587 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50588 (eval $ac_link) 2>conftest.er1
50589 ac_status=$?
50590 grep -v '^ *+' conftest.er1 >conftest.err
50591 rm -f conftest.er1
50592 cat conftest.err >&5
50593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50594 (exit $ac_status); } &&
50595 { ac_try='test -z "$ac_c_werror_flag"
50596 || test ! -s conftest.err'
50597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50598 (eval $ac_try) 2>&5
50599 ac_status=$?
50600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50601 (exit $ac_status); }; } &&
50602 { ac_try='test -s conftest$ac_exeext'
50603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50604 (eval $ac_try) 2>&5
50605 ac_status=$?
50606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50607 (exit $ac_status); }; }; then
50608 eval "$as_ac_var=yes"
50609 else
50610 echo "$as_me: failed program was:" >&5
50611 sed 's/^/| /' conftest.$ac_ext >&5
50613 eval "$as_ac_var=no"
50615 rm -f conftest.err conftest.$ac_objext \
50616 conftest$ac_exeext conftest.$ac_ext
50618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50619 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50620 if test `eval echo '${'$as_ac_var'}'` = yes; then
50621 cat >>confdefs.h <<_ACEOF
50622 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50623 _ACEOF
50625 else
50626 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
50628 done
50632 for ac_func in __signbitf
50634 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50635 echo "$as_me:$LINENO: checking for $ac_func" >&5
50636 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50637 if eval "test \"\${$as_ac_var+set}\" = set"; then
50638 echo $ECHO_N "(cached) $ECHO_C" >&6
50639 else
50640 if test x$gcc_no_link = xyes; then
50641 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50642 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50643 { (exit 1); exit 1; }; }
50645 cat >conftest.$ac_ext <<_ACEOF
50646 /* confdefs.h. */
50647 _ACEOF
50648 cat confdefs.h >>conftest.$ac_ext
50649 cat >>conftest.$ac_ext <<_ACEOF
50650 /* end confdefs.h. */
50651 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50652 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50653 #define $ac_func innocuous_$ac_func
50655 /* System header to define __stub macros and hopefully few prototypes,
50656 which can conflict with char $ac_func (); below.
50657 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50658 <limits.h> exists even on freestanding compilers. */
50660 #ifdef __STDC__
50661 # include <limits.h>
50662 #else
50663 # include <assert.h>
50664 #endif
50666 #undef $ac_func
50668 /* Override any gcc2 internal prototype to avoid an error. */
50669 #ifdef __cplusplus
50670 extern "C"
50672 #endif
50673 /* We use char because int might match the return type of a gcc2
50674 builtin and then its argument prototype would still apply. */
50675 char $ac_func ();
50676 /* The GNU C library defines this for functions which it implements
50677 to always fail with ENOSYS. Some functions are actually named
50678 something starting with __ and the normal name is an alias. */
50679 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50680 choke me
50681 #else
50682 char (*f) () = $ac_func;
50683 #endif
50684 #ifdef __cplusplus
50686 #endif
50689 main ()
50691 return f != $ac_func;
50693 return 0;
50695 _ACEOF
50696 rm -f conftest.$ac_objext conftest$ac_exeext
50697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50698 (eval $ac_link) 2>conftest.er1
50699 ac_status=$?
50700 grep -v '^ *+' conftest.er1 >conftest.err
50701 rm -f conftest.er1
50702 cat conftest.err >&5
50703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50704 (exit $ac_status); } &&
50705 { ac_try='test -z "$ac_c_werror_flag"
50706 || test ! -s conftest.err'
50707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50708 (eval $ac_try) 2>&5
50709 ac_status=$?
50710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50711 (exit $ac_status); }; } &&
50712 { ac_try='test -s conftest$ac_exeext'
50713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50714 (eval $ac_try) 2>&5
50715 ac_status=$?
50716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50717 (exit $ac_status); }; }; then
50718 eval "$as_ac_var=yes"
50719 else
50720 echo "$as_me: failed program was:" >&5
50721 sed 's/^/| /' conftest.$ac_ext >&5
50723 eval "$as_ac_var=no"
50725 rm -f conftest.err conftest.$ac_objext \
50726 conftest$ac_exeext conftest.$ac_ext
50728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50729 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50730 if test `eval echo '${'$as_ac_var'}'` = yes; then
50731 cat >>confdefs.h <<_ACEOF
50732 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50733 _ACEOF
50735 else
50736 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
50738 done
50741 if test x$ac_cv_func_copysignl = x"yes"; then
50743 for ac_func in __signbitl
50745 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50746 echo "$as_me:$LINENO: checking for $ac_func" >&5
50747 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50748 if eval "test \"\${$as_ac_var+set}\" = set"; then
50749 echo $ECHO_N "(cached) $ECHO_C" >&6
50750 else
50751 if test x$gcc_no_link = xyes; then
50752 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50753 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50754 { (exit 1); exit 1; }; }
50756 cat >conftest.$ac_ext <<_ACEOF
50757 /* confdefs.h. */
50758 _ACEOF
50759 cat confdefs.h >>conftest.$ac_ext
50760 cat >>conftest.$ac_ext <<_ACEOF
50761 /* end confdefs.h. */
50762 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50763 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50764 #define $ac_func innocuous_$ac_func
50766 /* System header to define __stub macros and hopefully few prototypes,
50767 which can conflict with char $ac_func (); below.
50768 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50769 <limits.h> exists even on freestanding compilers. */
50771 #ifdef __STDC__
50772 # include <limits.h>
50773 #else
50774 # include <assert.h>
50775 #endif
50777 #undef $ac_func
50779 /* Override any gcc2 internal prototype to avoid an error. */
50780 #ifdef __cplusplus
50781 extern "C"
50783 #endif
50784 /* We use char because int might match the return type of a gcc2
50785 builtin and then its argument prototype would still apply. */
50786 char $ac_func ();
50787 /* The GNU C library defines this for functions which it implements
50788 to always fail with ENOSYS. Some functions are actually named
50789 something starting with __ and the normal name is an alias. */
50790 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50791 choke me
50792 #else
50793 char (*f) () = $ac_func;
50794 #endif
50795 #ifdef __cplusplus
50797 #endif
50800 main ()
50802 return f != $ac_func;
50804 return 0;
50806 _ACEOF
50807 rm -f conftest.$ac_objext conftest$ac_exeext
50808 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50809 (eval $ac_link) 2>conftest.er1
50810 ac_status=$?
50811 grep -v '^ *+' conftest.er1 >conftest.err
50812 rm -f conftest.er1
50813 cat conftest.err >&5
50814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50815 (exit $ac_status); } &&
50816 { ac_try='test -z "$ac_c_werror_flag"
50817 || test ! -s conftest.err'
50818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50819 (eval $ac_try) 2>&5
50820 ac_status=$?
50821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50822 (exit $ac_status); }; } &&
50823 { ac_try='test -s conftest$ac_exeext'
50824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50825 (eval $ac_try) 2>&5
50826 ac_status=$?
50827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50828 (exit $ac_status); }; }; then
50829 eval "$as_ac_var=yes"
50830 else
50831 echo "$as_me: failed program was:" >&5
50832 sed 's/^/| /' conftest.$ac_ext >&5
50834 eval "$as_ac_var=no"
50836 rm -f conftest.err conftest.$ac_objext \
50837 conftest$ac_exeext conftest.$ac_ext
50839 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50840 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50841 if test `eval echo '${'$as_ac_var'}'` = yes; then
50842 cat >>confdefs.h <<_ACEOF
50843 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50844 _ACEOF
50846 else
50847 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
50849 done
50853 # Used in libmath/Makefile.am.
50854 if test -n "$LIBMATHOBJS"; then
50855 need_libmath=yes
50860 # Test wchar.h for mbstate_t, which is needed for char_traits and
50861 # others even if wchar_t support is not on.
50862 echo "$as_me:$LINENO: checking for mbstate_t" >&5
50863 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
50864 cat >conftest.$ac_ext <<_ACEOF
50865 /* confdefs.h. */
50866 _ACEOF
50867 cat confdefs.h >>conftest.$ac_ext
50868 cat >>conftest.$ac_ext <<_ACEOF
50869 /* end confdefs.h. */
50870 #include <wchar.h>
50872 main ()
50874 mbstate_t teststate;
50876 return 0;
50878 _ACEOF
50879 rm -f conftest.$ac_objext
50880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50881 (eval $ac_compile) 2>conftest.er1
50882 ac_status=$?
50883 grep -v '^ *+' conftest.er1 >conftest.err
50884 rm -f conftest.er1
50885 cat conftest.err >&5
50886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50887 (exit $ac_status); } &&
50888 { ac_try='test -z "$ac_c_werror_flag"
50889 || test ! -s conftest.err'
50890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50891 (eval $ac_try) 2>&5
50892 ac_status=$?
50893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50894 (exit $ac_status); }; } &&
50895 { ac_try='test -s conftest.$ac_objext'
50896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50897 (eval $ac_try) 2>&5
50898 ac_status=$?
50899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50900 (exit $ac_status); }; }; then
50901 have_mbstate_t=yes
50902 else
50903 echo "$as_me: failed program was:" >&5
50904 sed 's/^/| /' conftest.$ac_ext >&5
50906 have_mbstate_t=no
50908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50909 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
50910 echo "${ECHO_T}$have_mbstate_t" >&6
50911 if test x"$have_mbstate_t" = xyes; then
50912 cat >>confdefs.h <<\_ACEOF
50913 #define HAVE_MBSTATE_T 1
50914 _ACEOF
50918 # Sanity check for existence of ISO C99 headers for extended encoding.
50920 for ac_header in wchar.h
50922 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
50923 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50924 echo "$as_me:$LINENO: checking for $ac_header" >&5
50925 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
50926 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50927 echo $ECHO_N "(cached) $ECHO_C" >&6
50929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
50930 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
50931 else
50932 # Is the header compilable?
50933 echo "$as_me:$LINENO: checking $ac_header usability" >&5
50934 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
50935 cat >conftest.$ac_ext <<_ACEOF
50936 /* confdefs.h. */
50937 _ACEOF
50938 cat confdefs.h >>conftest.$ac_ext
50939 cat >>conftest.$ac_ext <<_ACEOF
50940 /* end confdefs.h. */
50941 $ac_includes_default
50942 #include <$ac_header>
50943 _ACEOF
50944 rm -f conftest.$ac_objext
50945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50946 (eval $ac_compile) 2>conftest.er1
50947 ac_status=$?
50948 grep -v '^ *+' conftest.er1 >conftest.err
50949 rm -f conftest.er1
50950 cat conftest.err >&5
50951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50952 (exit $ac_status); } &&
50953 { ac_try='test -z "$ac_c_werror_flag"
50954 || test ! -s conftest.err'
50955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50956 (eval $ac_try) 2>&5
50957 ac_status=$?
50958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50959 (exit $ac_status); }; } &&
50960 { ac_try='test -s conftest.$ac_objext'
50961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50962 (eval $ac_try) 2>&5
50963 ac_status=$?
50964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50965 (exit $ac_status); }; }; then
50966 ac_header_compiler=yes
50967 else
50968 echo "$as_me: failed program was:" >&5
50969 sed 's/^/| /' conftest.$ac_ext >&5
50971 ac_header_compiler=no
50973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50974 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
50975 echo "${ECHO_T}$ac_header_compiler" >&6
50977 # Is the header present?
50978 echo "$as_me:$LINENO: checking $ac_header presence" >&5
50979 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
50980 cat >conftest.$ac_ext <<_ACEOF
50981 /* confdefs.h. */
50982 _ACEOF
50983 cat confdefs.h >>conftest.$ac_ext
50984 cat >>conftest.$ac_ext <<_ACEOF
50985 /* end confdefs.h. */
50986 #include <$ac_header>
50987 _ACEOF
50988 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
50989 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
50990 ac_status=$?
50991 grep -v '^ *+' conftest.er1 >conftest.err
50992 rm -f conftest.er1
50993 cat conftest.err >&5
50994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50995 (exit $ac_status); } >/dev/null; then
50996 if test -s conftest.err; then
50997 ac_cpp_err=$ac_c_preproc_warn_flag
50998 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
50999 else
51000 ac_cpp_err=
51002 else
51003 ac_cpp_err=yes
51005 if test -z "$ac_cpp_err"; then
51006 ac_header_preproc=yes
51007 else
51008 echo "$as_me: failed program was:" >&5
51009 sed 's/^/| /' conftest.$ac_ext >&5
51011 ac_header_preproc=no
51013 rm -f conftest.err conftest.$ac_ext
51014 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51015 echo "${ECHO_T}$ac_header_preproc" >&6
51017 # So? What about this header?
51018 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51019 yes:no: )
51020 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
51021 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
51022 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
51023 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
51024 ac_header_preproc=yes
51026 no:yes:* )
51027 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
51028 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
51029 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
51030 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
51031 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
51032 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
51033 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
51034 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
51035 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51036 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51037 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
51038 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
51040 cat <<\_ASBOX
51041 ## ----------------------------------------- ##
51042 ## Report this to the package-unused lists. ##
51043 ## ----------------------------------------- ##
51044 _ASBOX
51046 sed "s/^/$as_me: WARNING: /" >&2
51048 esac
51049 echo "$as_me:$LINENO: checking for $ac_header" >&5
51050 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51051 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51052 echo $ECHO_N "(cached) $ECHO_C" >&6
51053 else
51054 eval "$as_ac_Header=\$ac_header_preproc"
51056 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51057 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51060 if test `eval echo '${'$as_ac_Header'}'` = yes; then
51061 cat >>confdefs.h <<_ACEOF
51062 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
51063 _ACEOF
51064 ac_has_wchar_h=yes
51065 else
51066 ac_has_wchar_h=no
51069 done
51072 for ac_header in wctype.h
51074 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
51075 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51076 echo "$as_me:$LINENO: checking for $ac_header" >&5
51077 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51078 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51079 echo $ECHO_N "(cached) $ECHO_C" >&6
51081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51082 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51083 else
51084 # Is the header compilable?
51085 echo "$as_me:$LINENO: checking $ac_header usability" >&5
51086 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
51087 cat >conftest.$ac_ext <<_ACEOF
51088 /* confdefs.h. */
51089 _ACEOF
51090 cat confdefs.h >>conftest.$ac_ext
51091 cat >>conftest.$ac_ext <<_ACEOF
51092 /* end confdefs.h. */
51093 $ac_includes_default
51094 #include <$ac_header>
51095 _ACEOF
51096 rm -f conftest.$ac_objext
51097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51098 (eval $ac_compile) 2>conftest.er1
51099 ac_status=$?
51100 grep -v '^ *+' conftest.er1 >conftest.err
51101 rm -f conftest.er1
51102 cat conftest.err >&5
51103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51104 (exit $ac_status); } &&
51105 { ac_try='test -z "$ac_c_werror_flag"
51106 || test ! -s conftest.err'
51107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51108 (eval $ac_try) 2>&5
51109 ac_status=$?
51110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51111 (exit $ac_status); }; } &&
51112 { ac_try='test -s conftest.$ac_objext'
51113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51114 (eval $ac_try) 2>&5
51115 ac_status=$?
51116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51117 (exit $ac_status); }; }; then
51118 ac_header_compiler=yes
51119 else
51120 echo "$as_me: failed program was:" >&5
51121 sed 's/^/| /' conftest.$ac_ext >&5
51123 ac_header_compiler=no
51125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51126 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51127 echo "${ECHO_T}$ac_header_compiler" >&6
51129 # Is the header present?
51130 echo "$as_me:$LINENO: checking $ac_header presence" >&5
51131 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
51132 cat >conftest.$ac_ext <<_ACEOF
51133 /* confdefs.h. */
51134 _ACEOF
51135 cat confdefs.h >>conftest.$ac_ext
51136 cat >>conftest.$ac_ext <<_ACEOF
51137 /* end confdefs.h. */
51138 #include <$ac_header>
51139 _ACEOF
51140 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51141 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51142 ac_status=$?
51143 grep -v '^ *+' conftest.er1 >conftest.err
51144 rm -f conftest.er1
51145 cat conftest.err >&5
51146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51147 (exit $ac_status); } >/dev/null; then
51148 if test -s conftest.err; then
51149 ac_cpp_err=$ac_c_preproc_warn_flag
51150 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51151 else
51152 ac_cpp_err=
51154 else
51155 ac_cpp_err=yes
51157 if test -z "$ac_cpp_err"; then
51158 ac_header_preproc=yes
51159 else
51160 echo "$as_me: failed program was:" >&5
51161 sed 's/^/| /' conftest.$ac_ext >&5
51163 ac_header_preproc=no
51165 rm -f conftest.err conftest.$ac_ext
51166 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51167 echo "${ECHO_T}$ac_header_preproc" >&6
51169 # So? What about this header?
51170 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51171 yes:no: )
51172 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
51173 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
51174 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
51175 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
51176 ac_header_preproc=yes
51178 no:yes:* )
51179 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
51180 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
51181 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
51182 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
51183 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
51184 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
51185 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
51186 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
51187 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51188 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51189 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
51190 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
51192 cat <<\_ASBOX
51193 ## ----------------------------------------- ##
51194 ## Report this to the package-unused lists. ##
51195 ## ----------------------------------------- ##
51196 _ASBOX
51198 sed "s/^/$as_me: WARNING: /" >&2
51200 esac
51201 echo "$as_me:$LINENO: checking for $ac_header" >&5
51202 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51203 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51204 echo $ECHO_N "(cached) $ECHO_C" >&6
51205 else
51206 eval "$as_ac_Header=\$ac_header_preproc"
51208 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51209 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51212 if test `eval echo '${'$as_ac_Header'}'` = yes; then
51213 cat >>confdefs.h <<_ACEOF
51214 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
51215 _ACEOF
51216 ac_has_wctype_h=yes
51217 else
51218 ac_has_wctype_h=no
51221 done
51224 # Only continue checking if the ISO C99 headers exist and support is on.
51225 if test x"$ac_has_wchar_h" = xyes &&
51226 test x"$ac_has_wctype_h" = xyes &&
51227 test x"$enable_c_mbchar" != xno; then
51229 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
51230 # numeric_limits can instantiate type_traits<wchar_t>
51231 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
51232 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
51233 cat >conftest.$ac_ext <<_ACEOF
51234 /* confdefs.h. */
51235 _ACEOF
51236 cat confdefs.h >>conftest.$ac_ext
51237 cat >>conftest.$ac_ext <<_ACEOF
51238 /* end confdefs.h. */
51239 #include <wchar.h>
51241 main ()
51243 int i = WCHAR_MIN; int j = WCHAR_MAX;
51245 return 0;
51247 _ACEOF
51248 rm -f conftest.$ac_objext
51249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51250 (eval $ac_compile) 2>conftest.er1
51251 ac_status=$?
51252 grep -v '^ *+' conftest.er1 >conftest.err
51253 rm -f conftest.er1
51254 cat conftest.err >&5
51255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51256 (exit $ac_status); } &&
51257 { ac_try='test -z "$ac_c_werror_flag"
51258 || test ! -s conftest.err'
51259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51260 (eval $ac_try) 2>&5
51261 ac_status=$?
51262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51263 (exit $ac_status); }; } &&
51264 { ac_try='test -s conftest.$ac_objext'
51265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51266 (eval $ac_try) 2>&5
51267 ac_status=$?
51268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51269 (exit $ac_status); }; }; then
51270 has_wchar_minmax=yes
51271 else
51272 echo "$as_me: failed program was:" >&5
51273 sed 's/^/| /' conftest.$ac_ext >&5
51275 has_wchar_minmax=no
51277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51278 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
51279 echo "${ECHO_T}$has_wchar_minmax" >&6
51281 # Test wchar.h for WEOF, which is what we use to determine whether
51282 # to specialize for char_traits<wchar_t> or not.
51283 echo "$as_me:$LINENO: checking for WEOF" >&5
51284 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
51285 cat >conftest.$ac_ext <<_ACEOF
51286 /* confdefs.h. */
51287 _ACEOF
51288 cat confdefs.h >>conftest.$ac_ext
51289 cat >>conftest.$ac_ext <<_ACEOF
51290 /* end confdefs.h. */
51292 #include <wchar.h>
51293 #include <stddef.h>
51295 main ()
51297 wint_t i = WEOF;
51299 return 0;
51301 _ACEOF
51302 rm -f conftest.$ac_objext
51303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51304 (eval $ac_compile) 2>conftest.er1
51305 ac_status=$?
51306 grep -v '^ *+' conftest.er1 >conftest.err
51307 rm -f conftest.er1
51308 cat conftest.err >&5
51309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51310 (exit $ac_status); } &&
51311 { ac_try='test -z "$ac_c_werror_flag"
51312 || test ! -s conftest.err'
51313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51314 (eval $ac_try) 2>&5
51315 ac_status=$?
51316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51317 (exit $ac_status); }; } &&
51318 { ac_try='test -s conftest.$ac_objext'
51319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51320 (eval $ac_try) 2>&5
51321 ac_status=$?
51322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51323 (exit $ac_status); }; }; then
51324 has_weof=yes
51325 else
51326 echo "$as_me: failed program was:" >&5
51327 sed 's/^/| /' conftest.$ac_ext >&5
51329 has_weof=no
51331 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51332 echo "$as_me:$LINENO: result: $has_weof" >&5
51333 echo "${ECHO_T}$has_weof" >&6
51335 # Tests for wide character functions used in char_traits<wchar_t>.
51336 ac_wfuncs=yes
51343 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
51345 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51346 echo "$as_me:$LINENO: checking for $ac_func" >&5
51347 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51348 if eval "test \"\${$as_ac_var+set}\" = set"; then
51349 echo $ECHO_N "(cached) $ECHO_C" >&6
51350 else
51351 if test x$gcc_no_link = xyes; then
51352 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51353 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51354 { (exit 1); exit 1; }; }
51356 cat >conftest.$ac_ext <<_ACEOF
51357 /* confdefs.h. */
51358 _ACEOF
51359 cat confdefs.h >>conftest.$ac_ext
51360 cat >>conftest.$ac_ext <<_ACEOF
51361 /* end confdefs.h. */
51362 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51363 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51364 #define $ac_func innocuous_$ac_func
51366 /* System header to define __stub macros and hopefully few prototypes,
51367 which can conflict with char $ac_func (); below.
51368 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51369 <limits.h> exists even on freestanding compilers. */
51371 #ifdef __STDC__
51372 # include <limits.h>
51373 #else
51374 # include <assert.h>
51375 #endif
51377 #undef $ac_func
51379 /* Override any gcc2 internal prototype to avoid an error. */
51380 #ifdef __cplusplus
51381 extern "C"
51383 #endif
51384 /* We use char because int might match the return type of a gcc2
51385 builtin and then its argument prototype would still apply. */
51386 char $ac_func ();
51387 /* The GNU C library defines this for functions which it implements
51388 to always fail with ENOSYS. Some functions are actually named
51389 something starting with __ and the normal name is an alias. */
51390 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51391 choke me
51392 #else
51393 char (*f) () = $ac_func;
51394 #endif
51395 #ifdef __cplusplus
51397 #endif
51400 main ()
51402 return f != $ac_func;
51404 return 0;
51406 _ACEOF
51407 rm -f conftest.$ac_objext conftest$ac_exeext
51408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51409 (eval $ac_link) 2>conftest.er1
51410 ac_status=$?
51411 grep -v '^ *+' conftest.er1 >conftest.err
51412 rm -f conftest.er1
51413 cat conftest.err >&5
51414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51415 (exit $ac_status); } &&
51416 { ac_try='test -z "$ac_c_werror_flag"
51417 || test ! -s conftest.err'
51418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51419 (eval $ac_try) 2>&5
51420 ac_status=$?
51421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51422 (exit $ac_status); }; } &&
51423 { ac_try='test -s conftest$ac_exeext'
51424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51425 (eval $ac_try) 2>&5
51426 ac_status=$?
51427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51428 (exit $ac_status); }; }; then
51429 eval "$as_ac_var=yes"
51430 else
51431 echo "$as_me: failed program was:" >&5
51432 sed 's/^/| /' conftest.$ac_ext >&5
51434 eval "$as_ac_var=no"
51436 rm -f conftest.err conftest.$ac_objext \
51437 conftest$ac_exeext conftest.$ac_ext
51439 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51440 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51441 if test `eval echo '${'$as_ac_var'}'` = yes; then
51442 cat >>confdefs.h <<_ACEOF
51443 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51444 _ACEOF
51446 else
51447 ac_wfuncs=no
51449 done
51452 # Checks for names injected into std:: by the c_std headers.
51499 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
51500 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
51501 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
51502 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
51503 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
51504 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
51506 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51507 echo "$as_me:$LINENO: checking for $ac_func" >&5
51508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51509 if eval "test \"\${$as_ac_var+set}\" = set"; then
51510 echo $ECHO_N "(cached) $ECHO_C" >&6
51511 else
51512 if test x$gcc_no_link = xyes; then
51513 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51515 { (exit 1); exit 1; }; }
51517 cat >conftest.$ac_ext <<_ACEOF
51518 /* confdefs.h. */
51519 _ACEOF
51520 cat confdefs.h >>conftest.$ac_ext
51521 cat >>conftest.$ac_ext <<_ACEOF
51522 /* end confdefs.h. */
51523 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51524 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51525 #define $ac_func innocuous_$ac_func
51527 /* System header to define __stub macros and hopefully few prototypes,
51528 which can conflict with char $ac_func (); below.
51529 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51530 <limits.h> exists even on freestanding compilers. */
51532 #ifdef __STDC__
51533 # include <limits.h>
51534 #else
51535 # include <assert.h>
51536 #endif
51538 #undef $ac_func
51540 /* Override any gcc2 internal prototype to avoid an error. */
51541 #ifdef __cplusplus
51542 extern "C"
51544 #endif
51545 /* We use char because int might match the return type of a gcc2
51546 builtin and then its argument prototype would still apply. */
51547 char $ac_func ();
51548 /* The GNU C library defines this for functions which it implements
51549 to always fail with ENOSYS. Some functions are actually named
51550 something starting with __ and the normal name is an alias. */
51551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51552 choke me
51553 #else
51554 char (*f) () = $ac_func;
51555 #endif
51556 #ifdef __cplusplus
51558 #endif
51561 main ()
51563 return f != $ac_func;
51565 return 0;
51567 _ACEOF
51568 rm -f conftest.$ac_objext conftest$ac_exeext
51569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51570 (eval $ac_link) 2>conftest.er1
51571 ac_status=$?
51572 grep -v '^ *+' conftest.er1 >conftest.err
51573 rm -f conftest.er1
51574 cat conftest.err >&5
51575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51576 (exit $ac_status); } &&
51577 { ac_try='test -z "$ac_c_werror_flag"
51578 || test ! -s conftest.err'
51579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51580 (eval $ac_try) 2>&5
51581 ac_status=$?
51582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51583 (exit $ac_status); }; } &&
51584 { ac_try='test -s conftest$ac_exeext'
51585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51586 (eval $ac_try) 2>&5
51587 ac_status=$?
51588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51589 (exit $ac_status); }; }; then
51590 eval "$as_ac_var=yes"
51591 else
51592 echo "$as_me: failed program was:" >&5
51593 sed 's/^/| /' conftest.$ac_ext >&5
51595 eval "$as_ac_var=no"
51597 rm -f conftest.err conftest.$ac_objext \
51598 conftest$ac_exeext conftest.$ac_ext
51600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51601 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51602 if test `eval echo '${'$as_ac_var'}'` = yes; then
51603 cat >>confdefs.h <<_ACEOF
51604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51605 _ACEOF
51607 else
51608 ac_wfuncs=no
51610 done
51613 # Checks for wide character functions that are not required
51614 # for basic wchar_t support. Don't disable support if they are missing.
51615 # Injection of these is wrapped with guard macros.
51621 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
51623 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51624 echo "$as_me:$LINENO: checking for $ac_func" >&5
51625 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51626 if eval "test \"\${$as_ac_var+set}\" = set"; then
51627 echo $ECHO_N "(cached) $ECHO_C" >&6
51628 else
51629 if test x$gcc_no_link = xyes; then
51630 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51631 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51632 { (exit 1); exit 1; }; }
51634 cat >conftest.$ac_ext <<_ACEOF
51635 /* confdefs.h. */
51636 _ACEOF
51637 cat confdefs.h >>conftest.$ac_ext
51638 cat >>conftest.$ac_ext <<_ACEOF
51639 /* end confdefs.h. */
51640 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51641 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51642 #define $ac_func innocuous_$ac_func
51644 /* System header to define __stub macros and hopefully few prototypes,
51645 which can conflict with char $ac_func (); below.
51646 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51647 <limits.h> exists even on freestanding compilers. */
51649 #ifdef __STDC__
51650 # include <limits.h>
51651 #else
51652 # include <assert.h>
51653 #endif
51655 #undef $ac_func
51657 /* Override any gcc2 internal prototype to avoid an error. */
51658 #ifdef __cplusplus
51659 extern "C"
51661 #endif
51662 /* We use char because int might match the return type of a gcc2
51663 builtin and then its argument prototype would still apply. */
51664 char $ac_func ();
51665 /* The GNU C library defines this for functions which it implements
51666 to always fail with ENOSYS. Some functions are actually named
51667 something starting with __ and the normal name is an alias. */
51668 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51669 choke me
51670 #else
51671 char (*f) () = $ac_func;
51672 #endif
51673 #ifdef __cplusplus
51675 #endif
51678 main ()
51680 return f != $ac_func;
51682 return 0;
51684 _ACEOF
51685 rm -f conftest.$ac_objext conftest$ac_exeext
51686 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51687 (eval $ac_link) 2>conftest.er1
51688 ac_status=$?
51689 grep -v '^ *+' conftest.er1 >conftest.err
51690 rm -f conftest.er1
51691 cat conftest.err >&5
51692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51693 (exit $ac_status); } &&
51694 { ac_try='test -z "$ac_c_werror_flag"
51695 || test ! -s conftest.err'
51696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51697 (eval $ac_try) 2>&5
51698 ac_status=$?
51699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51700 (exit $ac_status); }; } &&
51701 { ac_try='test -s conftest$ac_exeext'
51702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51703 (eval $ac_try) 2>&5
51704 ac_status=$?
51705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51706 (exit $ac_status); }; }; then
51707 eval "$as_ac_var=yes"
51708 else
51709 echo "$as_me: failed program was:" >&5
51710 sed 's/^/| /' conftest.$ac_ext >&5
51712 eval "$as_ac_var=no"
51714 rm -f conftest.err conftest.$ac_objext \
51715 conftest$ac_exeext conftest.$ac_ext
51717 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51718 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51719 if test `eval echo '${'$as_ac_var'}'` = yes; then
51720 cat >>confdefs.h <<_ACEOF
51721 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51722 _ACEOF
51725 done
51728 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
51729 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
51730 if test x"$has_weof" = xyes &&
51731 test x"$has_wchar_minmax" = xyes &&
51732 test x"$ac_wfuncs" = xyes;
51733 then
51734 ac_isoC99_wchar_t=yes
51735 else
51736 ac_isoC99_wchar_t=no
51738 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
51739 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
51741 # Use iconv for wchar_t to char conversions. As such, check for
51742 # X/Open Portability Guide, version 2 features (XPG2).
51743 if test "${ac_cv_header_iconv_h+set}" = set; then
51744 echo "$as_me:$LINENO: checking for iconv.h" >&5
51745 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
51746 if test "${ac_cv_header_iconv_h+set}" = set; then
51747 echo $ECHO_N "(cached) $ECHO_C" >&6
51749 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
51750 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
51751 else
51752 # Is the header compilable?
51753 echo "$as_me:$LINENO: checking iconv.h usability" >&5
51754 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
51755 cat >conftest.$ac_ext <<_ACEOF
51756 /* confdefs.h. */
51757 _ACEOF
51758 cat confdefs.h >>conftest.$ac_ext
51759 cat >>conftest.$ac_ext <<_ACEOF
51760 /* end confdefs.h. */
51761 $ac_includes_default
51762 #include <iconv.h>
51763 _ACEOF
51764 rm -f conftest.$ac_objext
51765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51766 (eval $ac_compile) 2>conftest.er1
51767 ac_status=$?
51768 grep -v '^ *+' conftest.er1 >conftest.err
51769 rm -f conftest.er1
51770 cat conftest.err >&5
51771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51772 (exit $ac_status); } &&
51773 { ac_try='test -z "$ac_c_werror_flag"
51774 || test ! -s conftest.err'
51775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51776 (eval $ac_try) 2>&5
51777 ac_status=$?
51778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51779 (exit $ac_status); }; } &&
51780 { ac_try='test -s conftest.$ac_objext'
51781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51782 (eval $ac_try) 2>&5
51783 ac_status=$?
51784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51785 (exit $ac_status); }; }; then
51786 ac_header_compiler=yes
51787 else
51788 echo "$as_me: failed program was:" >&5
51789 sed 's/^/| /' conftest.$ac_ext >&5
51791 ac_header_compiler=no
51793 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51794 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51795 echo "${ECHO_T}$ac_header_compiler" >&6
51797 # Is the header present?
51798 echo "$as_me:$LINENO: checking iconv.h presence" >&5
51799 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
51800 cat >conftest.$ac_ext <<_ACEOF
51801 /* confdefs.h. */
51802 _ACEOF
51803 cat confdefs.h >>conftest.$ac_ext
51804 cat >>conftest.$ac_ext <<_ACEOF
51805 /* end confdefs.h. */
51806 #include <iconv.h>
51807 _ACEOF
51808 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51809 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51810 ac_status=$?
51811 grep -v '^ *+' conftest.er1 >conftest.err
51812 rm -f conftest.er1
51813 cat conftest.err >&5
51814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51815 (exit $ac_status); } >/dev/null; then
51816 if test -s conftest.err; then
51817 ac_cpp_err=$ac_c_preproc_warn_flag
51818 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51819 else
51820 ac_cpp_err=
51822 else
51823 ac_cpp_err=yes
51825 if test -z "$ac_cpp_err"; then
51826 ac_header_preproc=yes
51827 else
51828 echo "$as_me: failed program was:" >&5
51829 sed 's/^/| /' conftest.$ac_ext >&5
51831 ac_header_preproc=no
51833 rm -f conftest.err conftest.$ac_ext
51834 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51835 echo "${ECHO_T}$ac_header_preproc" >&6
51837 # So? What about this header?
51838 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51839 yes:no: )
51840 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
51841 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
51842 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
51843 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
51844 ac_header_preproc=yes
51846 no:yes:* )
51847 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
51848 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
51849 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
51850 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
51851 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
51852 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
51853 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
51854 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
51855 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
51856 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
51857 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
51858 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
51860 cat <<\_ASBOX
51861 ## ----------------------------------------- ##
51862 ## Report this to the package-unused lists. ##
51863 ## ----------------------------------------- ##
51864 _ASBOX
51866 sed "s/^/$as_me: WARNING: /" >&2
51868 esac
51869 echo "$as_me:$LINENO: checking for iconv.h" >&5
51870 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
51871 if test "${ac_cv_header_iconv_h+set}" = set; then
51872 echo $ECHO_N "(cached) $ECHO_C" >&6
51873 else
51874 ac_cv_header_iconv_h=$ac_header_preproc
51876 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
51877 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
51880 if test $ac_cv_header_iconv_h = yes; then
51881 ac_has_iconv_h=yes
51882 else
51883 ac_has_iconv_h=no
51887 if test "${ac_cv_header_langinfo_h+set}" = set; then
51888 echo "$as_me:$LINENO: checking for langinfo.h" >&5
51889 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
51890 if test "${ac_cv_header_langinfo_h+set}" = set; then
51891 echo $ECHO_N "(cached) $ECHO_C" >&6
51893 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
51894 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
51895 else
51896 # Is the header compilable?
51897 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
51898 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
51899 cat >conftest.$ac_ext <<_ACEOF
51900 /* confdefs.h. */
51901 _ACEOF
51902 cat confdefs.h >>conftest.$ac_ext
51903 cat >>conftest.$ac_ext <<_ACEOF
51904 /* end confdefs.h. */
51905 $ac_includes_default
51906 #include <langinfo.h>
51907 _ACEOF
51908 rm -f conftest.$ac_objext
51909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51910 (eval $ac_compile) 2>conftest.er1
51911 ac_status=$?
51912 grep -v '^ *+' conftest.er1 >conftest.err
51913 rm -f conftest.er1
51914 cat conftest.err >&5
51915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51916 (exit $ac_status); } &&
51917 { ac_try='test -z "$ac_c_werror_flag"
51918 || test ! -s conftest.err'
51919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51920 (eval $ac_try) 2>&5
51921 ac_status=$?
51922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51923 (exit $ac_status); }; } &&
51924 { ac_try='test -s conftest.$ac_objext'
51925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51926 (eval $ac_try) 2>&5
51927 ac_status=$?
51928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51929 (exit $ac_status); }; }; then
51930 ac_header_compiler=yes
51931 else
51932 echo "$as_me: failed program was:" >&5
51933 sed 's/^/| /' conftest.$ac_ext >&5
51935 ac_header_compiler=no
51937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51938 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51939 echo "${ECHO_T}$ac_header_compiler" >&6
51941 # Is the header present?
51942 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
51943 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
51944 cat >conftest.$ac_ext <<_ACEOF
51945 /* confdefs.h. */
51946 _ACEOF
51947 cat confdefs.h >>conftest.$ac_ext
51948 cat >>conftest.$ac_ext <<_ACEOF
51949 /* end confdefs.h. */
51950 #include <langinfo.h>
51951 _ACEOF
51952 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51953 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51954 ac_status=$?
51955 grep -v '^ *+' conftest.er1 >conftest.err
51956 rm -f conftest.er1
51957 cat conftest.err >&5
51958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51959 (exit $ac_status); } >/dev/null; then
51960 if test -s conftest.err; then
51961 ac_cpp_err=$ac_c_preproc_warn_flag
51962 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51963 else
51964 ac_cpp_err=
51966 else
51967 ac_cpp_err=yes
51969 if test -z "$ac_cpp_err"; then
51970 ac_header_preproc=yes
51971 else
51972 echo "$as_me: failed program was:" >&5
51973 sed 's/^/| /' conftest.$ac_ext >&5
51975 ac_header_preproc=no
51977 rm -f conftest.err conftest.$ac_ext
51978 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51979 echo "${ECHO_T}$ac_header_preproc" >&6
51981 # So? What about this header?
51982 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51983 yes:no: )
51984 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
51985 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
51986 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
51987 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
51988 ac_header_preproc=yes
51990 no:yes:* )
51991 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
51992 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
51993 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
51994 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
51995 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
51996 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
51997 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
51998 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
51999 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
52000 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
52001 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
52002 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
52004 cat <<\_ASBOX
52005 ## ----------------------------------------- ##
52006 ## Report this to the package-unused lists. ##
52007 ## ----------------------------------------- ##
52008 _ASBOX
52010 sed "s/^/$as_me: WARNING: /" >&2
52012 esac
52013 echo "$as_me:$LINENO: checking for langinfo.h" >&5
52014 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
52015 if test "${ac_cv_header_langinfo_h+set}" = set; then
52016 echo $ECHO_N "(cached) $ECHO_C" >&6
52017 else
52018 ac_cv_header_langinfo_h=$ac_header_preproc
52020 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
52021 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
52024 if test $ac_cv_header_langinfo_h = yes; then
52025 ac_has_langinfo_h=yes
52026 else
52027 ac_has_langinfo_h=no
52032 # Check for existence of libiconv.a providing XPG2 wchar_t support.
52033 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
52034 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
52035 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
52036 echo $ECHO_N "(cached) $ECHO_C" >&6
52037 else
52038 ac_check_lib_save_LIBS=$LIBS
52039 LIBS="-liconv $LIBS"
52040 if test x$gcc_no_link = xyes; then
52041 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52042 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52043 { (exit 1); exit 1; }; }
52045 cat >conftest.$ac_ext <<_ACEOF
52046 /* confdefs.h. */
52047 _ACEOF
52048 cat confdefs.h >>conftest.$ac_ext
52049 cat >>conftest.$ac_ext <<_ACEOF
52050 /* end confdefs.h. */
52052 /* Override any gcc2 internal prototype to avoid an error. */
52053 #ifdef __cplusplus
52054 extern "C"
52055 #endif
52056 /* We use char because int might match the return type of a gcc2
52057 builtin and then its argument prototype would still apply. */
52058 char iconv ();
52060 main ()
52062 iconv ();
52064 return 0;
52066 _ACEOF
52067 rm -f conftest.$ac_objext conftest$ac_exeext
52068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52069 (eval $ac_link) 2>conftest.er1
52070 ac_status=$?
52071 grep -v '^ *+' conftest.er1 >conftest.err
52072 rm -f conftest.er1
52073 cat conftest.err >&5
52074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52075 (exit $ac_status); } &&
52076 { ac_try='test -z "$ac_c_werror_flag"
52077 || test ! -s conftest.err'
52078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52079 (eval $ac_try) 2>&5
52080 ac_status=$?
52081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52082 (exit $ac_status); }; } &&
52083 { ac_try='test -s conftest$ac_exeext'
52084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52085 (eval $ac_try) 2>&5
52086 ac_status=$?
52087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52088 (exit $ac_status); }; }; then
52089 ac_cv_lib_iconv_iconv=yes
52090 else
52091 echo "$as_me: failed program was:" >&5
52092 sed 's/^/| /' conftest.$ac_ext >&5
52094 ac_cv_lib_iconv_iconv=no
52096 rm -f conftest.err conftest.$ac_objext \
52097 conftest$ac_exeext conftest.$ac_ext
52098 LIBS=$ac_check_lib_save_LIBS
52100 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
52101 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
52102 if test $ac_cv_lib_iconv_iconv = yes; then
52103 LIBICONV="-liconv"
52106 ac_save_LIBS="$LIBS"
52107 LIBS="$LIBS $LIBICONV"
52114 for ac_func in iconv_open iconv_close iconv nl_langinfo
52116 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52117 echo "$as_me:$LINENO: checking for $ac_func" >&5
52118 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52119 if eval "test \"\${$as_ac_var+set}\" = set"; then
52120 echo $ECHO_N "(cached) $ECHO_C" >&6
52121 else
52122 if test x$gcc_no_link = xyes; then
52123 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52124 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52125 { (exit 1); exit 1; }; }
52127 cat >conftest.$ac_ext <<_ACEOF
52128 /* confdefs.h. */
52129 _ACEOF
52130 cat confdefs.h >>conftest.$ac_ext
52131 cat >>conftest.$ac_ext <<_ACEOF
52132 /* end confdefs.h. */
52133 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52135 #define $ac_func innocuous_$ac_func
52137 /* System header to define __stub macros and hopefully few prototypes,
52138 which can conflict with char $ac_func (); below.
52139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52140 <limits.h> exists even on freestanding compilers. */
52142 #ifdef __STDC__
52143 # include <limits.h>
52144 #else
52145 # include <assert.h>
52146 #endif
52148 #undef $ac_func
52150 /* Override any gcc2 internal prototype to avoid an error. */
52151 #ifdef __cplusplus
52152 extern "C"
52154 #endif
52155 /* We use char because int might match the return type of a gcc2
52156 builtin and then its argument prototype would still apply. */
52157 char $ac_func ();
52158 /* The GNU C library defines this for functions which it implements
52159 to always fail with ENOSYS. Some functions are actually named
52160 something starting with __ and the normal name is an alias. */
52161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52162 choke me
52163 #else
52164 char (*f) () = $ac_func;
52165 #endif
52166 #ifdef __cplusplus
52168 #endif
52171 main ()
52173 return f != $ac_func;
52175 return 0;
52177 _ACEOF
52178 rm -f conftest.$ac_objext conftest$ac_exeext
52179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52180 (eval $ac_link) 2>conftest.er1
52181 ac_status=$?
52182 grep -v '^ *+' conftest.er1 >conftest.err
52183 rm -f conftest.er1
52184 cat conftest.err >&5
52185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52186 (exit $ac_status); } &&
52187 { ac_try='test -z "$ac_c_werror_flag"
52188 || test ! -s conftest.err'
52189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52190 (eval $ac_try) 2>&5
52191 ac_status=$?
52192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52193 (exit $ac_status); }; } &&
52194 { ac_try='test -s conftest$ac_exeext'
52195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52196 (eval $ac_try) 2>&5
52197 ac_status=$?
52198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52199 (exit $ac_status); }; }; then
52200 eval "$as_ac_var=yes"
52201 else
52202 echo "$as_me: failed program was:" >&5
52203 sed 's/^/| /' conftest.$ac_ext >&5
52205 eval "$as_ac_var=no"
52207 rm -f conftest.err conftest.$ac_objext \
52208 conftest$ac_exeext conftest.$ac_ext
52210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52211 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52212 if test `eval echo '${'$as_ac_var'}'` = yes; then
52213 cat >>confdefs.h <<_ACEOF
52214 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52215 _ACEOF
52216 ac_XPG2funcs=yes
52217 else
52218 ac_XPG2funcs=no
52220 done
52223 LIBS="$ac_save_LIBS"
52225 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
52226 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
52227 if test x"$ac_has_iconv_h" = xyes &&
52228 test x"$ac_has_langinfo_h" = xyes &&
52229 test x"$ac_XPG2funcs" = xyes;
52230 then
52231 ac_XPG2_wchar_t=yes
52232 else
52233 ac_XPG2_wchar_t=no
52235 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
52236 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
52238 # At the moment, only enable wchar_t specializations if all the
52239 # above support is present.
52240 if test x"$ac_isoC99_wchar_t" = xyes &&
52241 test x"$ac_XPG2_wchar_t" = xyes;
52242 then
52243 cat >>confdefs.h <<\_ACEOF
52244 #define _GLIBCXX_USE_WCHAR_T 1
52245 _ACEOF
52247 enable_wchar_t=yes
52250 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
52251 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
52252 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
52253 echo "${ECHO_T}$enable_wchar_t" >&6
52256 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52257 ac_save_CXXFLAGS="$CXXFLAGS"
52258 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52261 echo "$as_me:$LINENO: checking for strtold declaration" >&5
52262 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
52263 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
52264 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
52265 echo $ECHO_N "(cached) $ECHO_C" >&6
52266 else
52270 ac_ext=cc
52271 ac_cpp='$CXXCPP $CPPFLAGS'
52272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52276 cat >conftest.$ac_ext <<_ACEOF
52277 /* confdefs.h. */
52278 _ACEOF
52279 cat confdefs.h >>conftest.$ac_ext
52280 cat >>conftest.$ac_ext <<_ACEOF
52281 /* end confdefs.h. */
52282 #include <stdlib.h>
52284 main ()
52286 strtold(0, 0);
52288 return 0;
52290 _ACEOF
52291 rm -f conftest.$ac_objext
52292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52293 (eval $ac_compile) 2>conftest.er1
52294 ac_status=$?
52295 grep -v '^ *+' conftest.er1 >conftest.err
52296 rm -f conftest.er1
52297 cat conftest.err >&5
52298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52299 (exit $ac_status); } &&
52300 { ac_try='test -z "$ac_cxx_werror_flag"
52301 || test ! -s conftest.err'
52302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52303 (eval $ac_try) 2>&5
52304 ac_status=$?
52305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52306 (exit $ac_status); }; } &&
52307 { ac_try='test -s conftest.$ac_objext'
52308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52309 (eval $ac_try) 2>&5
52310 ac_status=$?
52311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52312 (exit $ac_status); }; }; then
52313 glibcxx_cv_func_strtold_use=yes
52314 else
52315 echo "$as_me: failed program was:" >&5
52316 sed 's/^/| /' conftest.$ac_ext >&5
52318 glibcxx_cv_func_strtold_use=no
52320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52321 ac_ext=c
52322 ac_cpp='$CPP $CPPFLAGS'
52323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52331 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
52332 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
52333 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
52335 for ac_func in strtold
52337 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52338 echo "$as_me:$LINENO: checking for $ac_func" >&5
52339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52340 if eval "test \"\${$as_ac_var+set}\" = set"; then
52341 echo $ECHO_N "(cached) $ECHO_C" >&6
52342 else
52343 if test x$gcc_no_link = xyes; then
52344 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52345 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52346 { (exit 1); exit 1; }; }
52348 cat >conftest.$ac_ext <<_ACEOF
52349 /* confdefs.h. */
52350 _ACEOF
52351 cat confdefs.h >>conftest.$ac_ext
52352 cat >>conftest.$ac_ext <<_ACEOF
52353 /* end confdefs.h. */
52354 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52355 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52356 #define $ac_func innocuous_$ac_func
52358 /* System header to define __stub macros and hopefully few prototypes,
52359 which can conflict with char $ac_func (); below.
52360 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52361 <limits.h> exists even on freestanding compilers. */
52363 #ifdef __STDC__
52364 # include <limits.h>
52365 #else
52366 # include <assert.h>
52367 #endif
52369 #undef $ac_func
52371 /* Override any gcc2 internal prototype to avoid an error. */
52372 #ifdef __cplusplus
52373 extern "C"
52375 #endif
52376 /* We use char because int might match the return type of a gcc2
52377 builtin and then its argument prototype would still apply. */
52378 char $ac_func ();
52379 /* The GNU C library defines this for functions which it implements
52380 to always fail with ENOSYS. Some functions are actually named
52381 something starting with __ and the normal name is an alias. */
52382 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52383 choke me
52384 #else
52385 char (*f) () = $ac_func;
52386 #endif
52387 #ifdef __cplusplus
52389 #endif
52392 main ()
52394 return f != $ac_func;
52396 return 0;
52398 _ACEOF
52399 rm -f conftest.$ac_objext conftest$ac_exeext
52400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52401 (eval $ac_link) 2>conftest.er1
52402 ac_status=$?
52403 grep -v '^ *+' conftest.er1 >conftest.err
52404 rm -f conftest.er1
52405 cat conftest.err >&5
52406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52407 (exit $ac_status); } &&
52408 { ac_try='test -z "$ac_c_werror_flag"
52409 || test ! -s conftest.err'
52410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52411 (eval $ac_try) 2>&5
52412 ac_status=$?
52413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52414 (exit $ac_status); }; } &&
52415 { ac_try='test -s conftest$ac_exeext'
52416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52417 (eval $ac_try) 2>&5
52418 ac_status=$?
52419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52420 (exit $ac_status); }; }; then
52421 eval "$as_ac_var=yes"
52422 else
52423 echo "$as_me: failed program was:" >&5
52424 sed 's/^/| /' conftest.$ac_ext >&5
52426 eval "$as_ac_var=no"
52428 rm -f conftest.err conftest.$ac_objext \
52429 conftest$ac_exeext conftest.$ac_ext
52431 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52432 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52433 if test `eval echo '${'$as_ac_var'}'` = yes; then
52434 cat >>confdefs.h <<_ACEOF
52435 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52436 _ACEOF
52439 done
52444 echo "$as_me:$LINENO: checking for strtof declaration" >&5
52445 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
52446 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
52447 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
52448 echo $ECHO_N "(cached) $ECHO_C" >&6
52449 else
52453 ac_ext=cc
52454 ac_cpp='$CXXCPP $CPPFLAGS'
52455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52459 cat >conftest.$ac_ext <<_ACEOF
52460 /* confdefs.h. */
52461 _ACEOF
52462 cat confdefs.h >>conftest.$ac_ext
52463 cat >>conftest.$ac_ext <<_ACEOF
52464 /* end confdefs.h. */
52465 #include <stdlib.h>
52467 main ()
52469 strtof(0, 0);
52471 return 0;
52473 _ACEOF
52474 rm -f conftest.$ac_objext
52475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52476 (eval $ac_compile) 2>conftest.er1
52477 ac_status=$?
52478 grep -v '^ *+' conftest.er1 >conftest.err
52479 rm -f conftest.er1
52480 cat conftest.err >&5
52481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52482 (exit $ac_status); } &&
52483 { ac_try='test -z "$ac_cxx_werror_flag"
52484 || test ! -s conftest.err'
52485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52486 (eval $ac_try) 2>&5
52487 ac_status=$?
52488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52489 (exit $ac_status); }; } &&
52490 { ac_try='test -s conftest.$ac_objext'
52491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52492 (eval $ac_try) 2>&5
52493 ac_status=$?
52494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52495 (exit $ac_status); }; }; then
52496 glibcxx_cv_func_strtof_use=yes
52497 else
52498 echo "$as_me: failed program was:" >&5
52499 sed 's/^/| /' conftest.$ac_ext >&5
52501 glibcxx_cv_func_strtof_use=no
52503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52504 ac_ext=c
52505 ac_cpp='$CPP $CPPFLAGS'
52506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52514 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
52515 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
52516 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
52518 for ac_func in strtof
52520 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52521 echo "$as_me:$LINENO: checking for $ac_func" >&5
52522 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52523 if eval "test \"\${$as_ac_var+set}\" = set"; then
52524 echo $ECHO_N "(cached) $ECHO_C" >&6
52525 else
52526 if test x$gcc_no_link = xyes; then
52527 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52528 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52529 { (exit 1); exit 1; }; }
52531 cat >conftest.$ac_ext <<_ACEOF
52532 /* confdefs.h. */
52533 _ACEOF
52534 cat confdefs.h >>conftest.$ac_ext
52535 cat >>conftest.$ac_ext <<_ACEOF
52536 /* end confdefs.h. */
52537 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52538 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52539 #define $ac_func innocuous_$ac_func
52541 /* System header to define __stub macros and hopefully few prototypes,
52542 which can conflict with char $ac_func (); below.
52543 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52544 <limits.h> exists even on freestanding compilers. */
52546 #ifdef __STDC__
52547 # include <limits.h>
52548 #else
52549 # include <assert.h>
52550 #endif
52552 #undef $ac_func
52554 /* Override any gcc2 internal prototype to avoid an error. */
52555 #ifdef __cplusplus
52556 extern "C"
52558 #endif
52559 /* We use char because int might match the return type of a gcc2
52560 builtin and then its argument prototype would still apply. */
52561 char $ac_func ();
52562 /* The GNU C library defines this for functions which it implements
52563 to always fail with ENOSYS. Some functions are actually named
52564 something starting with __ and the normal name is an alias. */
52565 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52566 choke me
52567 #else
52568 char (*f) () = $ac_func;
52569 #endif
52570 #ifdef __cplusplus
52572 #endif
52575 main ()
52577 return f != $ac_func;
52579 return 0;
52581 _ACEOF
52582 rm -f conftest.$ac_objext conftest$ac_exeext
52583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52584 (eval $ac_link) 2>conftest.er1
52585 ac_status=$?
52586 grep -v '^ *+' conftest.er1 >conftest.err
52587 rm -f conftest.er1
52588 cat conftest.err >&5
52589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52590 (exit $ac_status); } &&
52591 { ac_try='test -z "$ac_c_werror_flag"
52592 || test ! -s conftest.err'
52593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52594 (eval $ac_try) 2>&5
52595 ac_status=$?
52596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52597 (exit $ac_status); }; } &&
52598 { ac_try='test -s conftest$ac_exeext'
52599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52600 (eval $ac_try) 2>&5
52601 ac_status=$?
52602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52603 (exit $ac_status); }; }; then
52604 eval "$as_ac_var=yes"
52605 else
52606 echo "$as_me: failed program was:" >&5
52607 sed 's/^/| /' conftest.$ac_ext >&5
52609 eval "$as_ac_var=no"
52611 rm -f conftest.err conftest.$ac_objext \
52612 conftest$ac_exeext conftest.$ac_ext
52614 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52615 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52616 if test `eval echo '${'$as_ac_var'}'` = yes; then
52617 cat >>confdefs.h <<_ACEOF
52618 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52619 _ACEOF
52622 done
52627 CXXFLAGS="$ac_save_CXXFLAGS"
52630 # For showmanyc_helper().
52633 for ac_header in sys/ioctl.h sys/filio.h
52635 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52636 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52637 echo "$as_me:$LINENO: checking for $ac_header" >&5
52638 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52639 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52640 echo $ECHO_N "(cached) $ECHO_C" >&6
52642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52643 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52644 else
52645 # Is the header compilable?
52646 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52647 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52648 cat >conftest.$ac_ext <<_ACEOF
52649 /* confdefs.h. */
52650 _ACEOF
52651 cat confdefs.h >>conftest.$ac_ext
52652 cat >>conftest.$ac_ext <<_ACEOF
52653 /* end confdefs.h. */
52654 $ac_includes_default
52655 #include <$ac_header>
52656 _ACEOF
52657 rm -f conftest.$ac_objext
52658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52659 (eval $ac_compile) 2>conftest.er1
52660 ac_status=$?
52661 grep -v '^ *+' conftest.er1 >conftest.err
52662 rm -f conftest.er1
52663 cat conftest.err >&5
52664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52665 (exit $ac_status); } &&
52666 { ac_try='test -z "$ac_c_werror_flag"
52667 || test ! -s conftest.err'
52668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52669 (eval $ac_try) 2>&5
52670 ac_status=$?
52671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52672 (exit $ac_status); }; } &&
52673 { ac_try='test -s conftest.$ac_objext'
52674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52675 (eval $ac_try) 2>&5
52676 ac_status=$?
52677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52678 (exit $ac_status); }; }; then
52679 ac_header_compiler=yes
52680 else
52681 echo "$as_me: failed program was:" >&5
52682 sed 's/^/| /' conftest.$ac_ext >&5
52684 ac_header_compiler=no
52686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52687 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52688 echo "${ECHO_T}$ac_header_compiler" >&6
52690 # Is the header present?
52691 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52692 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
52693 cat >conftest.$ac_ext <<_ACEOF
52694 /* confdefs.h. */
52695 _ACEOF
52696 cat confdefs.h >>conftest.$ac_ext
52697 cat >>conftest.$ac_ext <<_ACEOF
52698 /* end confdefs.h. */
52699 #include <$ac_header>
52700 _ACEOF
52701 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52702 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52703 ac_status=$?
52704 grep -v '^ *+' conftest.er1 >conftest.err
52705 rm -f conftest.er1
52706 cat conftest.err >&5
52707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52708 (exit $ac_status); } >/dev/null; then
52709 if test -s conftest.err; then
52710 ac_cpp_err=$ac_c_preproc_warn_flag
52711 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52712 else
52713 ac_cpp_err=
52715 else
52716 ac_cpp_err=yes
52718 if test -z "$ac_cpp_err"; then
52719 ac_header_preproc=yes
52720 else
52721 echo "$as_me: failed program was:" >&5
52722 sed 's/^/| /' conftest.$ac_ext >&5
52724 ac_header_preproc=no
52726 rm -f conftest.err conftest.$ac_ext
52727 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52728 echo "${ECHO_T}$ac_header_preproc" >&6
52730 # So? What about this header?
52731 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52732 yes:no: )
52733 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52734 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52735 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
52736 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
52737 ac_header_preproc=yes
52739 no:yes:* )
52740 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52741 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52742 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
52743 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
52744 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
52745 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
52746 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
52747 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
52748 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52749 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52750 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
52751 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
52753 cat <<\_ASBOX
52754 ## ----------------------------------------- ##
52755 ## Report this to the package-unused lists. ##
52756 ## ----------------------------------------- ##
52757 _ASBOX
52759 sed "s/^/$as_me: WARNING: /" >&2
52761 esac
52762 echo "$as_me:$LINENO: checking for $ac_header" >&5
52763 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52764 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52765 echo $ECHO_N "(cached) $ECHO_C" >&6
52766 else
52767 eval "$as_ac_Header=\$ac_header_preproc"
52769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52770 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52773 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52774 cat >>confdefs.h <<_ACEOF
52775 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52776 _ACEOF
52780 done
52783 if test "${glibcxx_cv_POLL+set}" = set; then
52784 echo $ECHO_N "(cached) $ECHO_C" >&6
52785 else
52787 if test x$gcc_no_link = xyes; then
52788 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52789 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52790 { (exit 1); exit 1; }; }
52792 cat >conftest.$ac_ext <<_ACEOF
52793 /* confdefs.h. */
52794 _ACEOF
52795 cat confdefs.h >>conftest.$ac_ext
52796 cat >>conftest.$ac_ext <<_ACEOF
52797 /* end confdefs.h. */
52798 #include <poll.h>
52800 main ()
52802 struct pollfd pfd[1];
52803 pfd[0].events = POLLIN;
52804 poll(pfd, 1, 0);
52806 return 0;
52808 _ACEOF
52809 rm -f conftest.$ac_objext conftest$ac_exeext
52810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52811 (eval $ac_link) 2>conftest.er1
52812 ac_status=$?
52813 grep -v '^ *+' conftest.er1 >conftest.err
52814 rm -f conftest.er1
52815 cat conftest.err >&5
52816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52817 (exit $ac_status); } &&
52818 { ac_try='test -z "$ac_c_werror_flag"
52819 || test ! -s conftest.err'
52820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52821 (eval $ac_try) 2>&5
52822 ac_status=$?
52823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52824 (exit $ac_status); }; } &&
52825 { ac_try='test -s conftest$ac_exeext'
52826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52827 (eval $ac_try) 2>&5
52828 ac_status=$?
52829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52830 (exit $ac_status); }; }; then
52831 glibcxx_cv_POLL=yes
52832 else
52833 echo "$as_me: failed program was:" >&5
52834 sed 's/^/| /' conftest.$ac_ext >&5
52836 glibcxx_cv_POLL=no
52838 rm -f conftest.err conftest.$ac_objext \
52839 conftest$ac_exeext conftest.$ac_ext
52843 if test $glibcxx_cv_POLL = yes; then
52844 cat >>confdefs.h <<\_ACEOF
52845 #define HAVE_POLL 1
52846 _ACEOF
52851 if test "${glibcxx_cv_S_ISREG+set}" = set; then
52852 echo $ECHO_N "(cached) $ECHO_C" >&6
52853 else
52855 if test x$gcc_no_link = xyes; then
52856 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52857 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52858 { (exit 1); exit 1; }; }
52860 cat >conftest.$ac_ext <<_ACEOF
52861 /* confdefs.h. */
52862 _ACEOF
52863 cat confdefs.h >>conftest.$ac_ext
52864 cat >>conftest.$ac_ext <<_ACEOF
52865 /* end confdefs.h. */
52866 #include <sys/stat.h>
52868 main ()
52870 struct stat buffer;
52871 fstat(0, &buffer);
52872 S_ISREG(buffer.st_mode);
52874 return 0;
52876 _ACEOF
52877 rm -f conftest.$ac_objext conftest$ac_exeext
52878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52879 (eval $ac_link) 2>conftest.er1
52880 ac_status=$?
52881 grep -v '^ *+' conftest.er1 >conftest.err
52882 rm -f conftest.er1
52883 cat conftest.err >&5
52884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52885 (exit $ac_status); } &&
52886 { ac_try='test -z "$ac_c_werror_flag"
52887 || test ! -s conftest.err'
52888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52889 (eval $ac_try) 2>&5
52890 ac_status=$?
52891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52892 (exit $ac_status); }; } &&
52893 { ac_try='test -s conftest$ac_exeext'
52894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52895 (eval $ac_try) 2>&5
52896 ac_status=$?
52897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52898 (exit $ac_status); }; }; then
52899 glibcxx_cv_S_ISREG=yes
52900 else
52901 echo "$as_me: failed program was:" >&5
52902 sed 's/^/| /' conftest.$ac_ext >&5
52904 glibcxx_cv_S_ISREG=no
52906 rm -f conftest.err conftest.$ac_objext \
52907 conftest$ac_exeext conftest.$ac_ext
52911 if test "${glibcxx_cv_S_IFREG+set}" = set; then
52912 echo $ECHO_N "(cached) $ECHO_C" >&6
52913 else
52915 if test x$gcc_no_link = xyes; then
52916 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52917 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52918 { (exit 1); exit 1; }; }
52920 cat >conftest.$ac_ext <<_ACEOF
52921 /* confdefs.h. */
52922 _ACEOF
52923 cat confdefs.h >>conftest.$ac_ext
52924 cat >>conftest.$ac_ext <<_ACEOF
52925 /* end confdefs.h. */
52926 #include <sys/stat.h>
52928 main ()
52930 struct stat buffer;
52931 fstat(0, &buffer);
52932 S_IFREG & buffer.st_mode;
52934 return 0;
52936 _ACEOF
52937 rm -f conftest.$ac_objext conftest$ac_exeext
52938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52939 (eval $ac_link) 2>conftest.er1
52940 ac_status=$?
52941 grep -v '^ *+' conftest.er1 >conftest.err
52942 rm -f conftest.er1
52943 cat conftest.err >&5
52944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52945 (exit $ac_status); } &&
52946 { ac_try='test -z "$ac_c_werror_flag"
52947 || test ! -s conftest.err'
52948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52949 (eval $ac_try) 2>&5
52950 ac_status=$?
52951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52952 (exit $ac_status); }; } &&
52953 { ac_try='test -s conftest$ac_exeext'
52954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52955 (eval $ac_try) 2>&5
52956 ac_status=$?
52957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52958 (exit $ac_status); }; }; then
52959 glibcxx_cv_S_IFREG=yes
52960 else
52961 echo "$as_me: failed program was:" >&5
52962 sed 's/^/| /' conftest.$ac_ext >&5
52964 glibcxx_cv_S_IFREG=no
52966 rm -f conftest.err conftest.$ac_objext \
52967 conftest$ac_exeext conftest.$ac_ext
52971 if test $glibcxx_cv_S_ISREG = yes; then
52972 cat >>confdefs.h <<\_ACEOF
52973 #define HAVE_S_ISREG 1
52974 _ACEOF
52976 elif test $glibcxx_cv_S_IFREG = yes; then
52977 cat >>confdefs.h <<\_ACEOF
52978 #define HAVE_S_IFREG 1
52979 _ACEOF
52984 # For xsputn_2().
52986 for ac_header in sys/uio.h
52988 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52989 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52990 echo "$as_me:$LINENO: checking for $ac_header" >&5
52991 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52992 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52993 echo $ECHO_N "(cached) $ECHO_C" >&6
52995 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52996 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52997 else
52998 # Is the header compilable?
52999 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53000 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53001 cat >conftest.$ac_ext <<_ACEOF
53002 /* confdefs.h. */
53003 _ACEOF
53004 cat confdefs.h >>conftest.$ac_ext
53005 cat >>conftest.$ac_ext <<_ACEOF
53006 /* end confdefs.h. */
53007 $ac_includes_default
53008 #include <$ac_header>
53009 _ACEOF
53010 rm -f conftest.$ac_objext
53011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53012 (eval $ac_compile) 2>conftest.er1
53013 ac_status=$?
53014 grep -v '^ *+' conftest.er1 >conftest.err
53015 rm -f conftest.er1
53016 cat conftest.err >&5
53017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53018 (exit $ac_status); } &&
53019 { ac_try='test -z "$ac_c_werror_flag"
53020 || test ! -s conftest.err'
53021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53022 (eval $ac_try) 2>&5
53023 ac_status=$?
53024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53025 (exit $ac_status); }; } &&
53026 { ac_try='test -s conftest.$ac_objext'
53027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53028 (eval $ac_try) 2>&5
53029 ac_status=$?
53030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53031 (exit $ac_status); }; }; then
53032 ac_header_compiler=yes
53033 else
53034 echo "$as_me: failed program was:" >&5
53035 sed 's/^/| /' conftest.$ac_ext >&5
53037 ac_header_compiler=no
53039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53040 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53041 echo "${ECHO_T}$ac_header_compiler" >&6
53043 # Is the header present?
53044 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53045 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53046 cat >conftest.$ac_ext <<_ACEOF
53047 /* confdefs.h. */
53048 _ACEOF
53049 cat confdefs.h >>conftest.$ac_ext
53050 cat >>conftest.$ac_ext <<_ACEOF
53051 /* end confdefs.h. */
53052 #include <$ac_header>
53053 _ACEOF
53054 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53055 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53056 ac_status=$?
53057 grep -v '^ *+' conftest.er1 >conftest.err
53058 rm -f conftest.er1
53059 cat conftest.err >&5
53060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53061 (exit $ac_status); } >/dev/null; then
53062 if test -s conftest.err; then
53063 ac_cpp_err=$ac_c_preproc_warn_flag
53064 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53065 else
53066 ac_cpp_err=
53068 else
53069 ac_cpp_err=yes
53071 if test -z "$ac_cpp_err"; then
53072 ac_header_preproc=yes
53073 else
53074 echo "$as_me: failed program was:" >&5
53075 sed 's/^/| /' conftest.$ac_ext >&5
53077 ac_header_preproc=no
53079 rm -f conftest.err conftest.$ac_ext
53080 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53081 echo "${ECHO_T}$ac_header_preproc" >&6
53083 # So? What about this header?
53084 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53085 yes:no: )
53086 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53087 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53088 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
53089 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
53090 ac_header_preproc=yes
53092 no:yes:* )
53093 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53094 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53095 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
53096 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
53097 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
53098 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
53099 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
53100 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
53101 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53102 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53103 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
53104 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
53106 cat <<\_ASBOX
53107 ## ----------------------------------------- ##
53108 ## Report this to the package-unused lists. ##
53109 ## ----------------------------------------- ##
53110 _ASBOX
53112 sed "s/^/$as_me: WARNING: /" >&2
53114 esac
53115 echo "$as_me:$LINENO: checking for $ac_header" >&5
53116 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53117 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53118 echo $ECHO_N "(cached) $ECHO_C" >&6
53119 else
53120 eval "$as_ac_Header=\$ac_header_preproc"
53122 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53123 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53126 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53127 cat >>confdefs.h <<_ACEOF
53128 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53129 _ACEOF
53133 done
53136 if test "${glibcxx_cv_WRITEV+set}" = set; then
53137 echo $ECHO_N "(cached) $ECHO_C" >&6
53138 else
53140 if test x$gcc_no_link = xyes; then
53141 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53142 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53143 { (exit 1); exit 1; }; }
53145 cat >conftest.$ac_ext <<_ACEOF
53146 /* confdefs.h. */
53147 _ACEOF
53148 cat confdefs.h >>conftest.$ac_ext
53149 cat >>conftest.$ac_ext <<_ACEOF
53150 /* end confdefs.h. */
53151 #include <sys/uio.h>
53153 main ()
53155 struct iovec iov[2];
53156 writev(0, iov, 0);
53158 return 0;
53160 _ACEOF
53161 rm -f conftest.$ac_objext conftest$ac_exeext
53162 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53163 (eval $ac_link) 2>conftest.er1
53164 ac_status=$?
53165 grep -v '^ *+' conftest.er1 >conftest.err
53166 rm -f conftest.er1
53167 cat conftest.err >&5
53168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53169 (exit $ac_status); } &&
53170 { ac_try='test -z "$ac_c_werror_flag"
53171 || test ! -s conftest.err'
53172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53173 (eval $ac_try) 2>&5
53174 ac_status=$?
53175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53176 (exit $ac_status); }; } &&
53177 { ac_try='test -s conftest$ac_exeext'
53178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53179 (eval $ac_try) 2>&5
53180 ac_status=$?
53181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53182 (exit $ac_status); }; }; then
53183 glibcxx_cv_WRITEV=yes
53184 else
53185 echo "$as_me: failed program was:" >&5
53186 sed 's/^/| /' conftest.$ac_ext >&5
53188 glibcxx_cv_WRITEV=no
53190 rm -f conftest.err conftest.$ac_objext \
53191 conftest$ac_exeext conftest.$ac_ext
53195 if test $glibcxx_cv_WRITEV = yes; then
53196 cat >>confdefs.h <<\_ACEOF
53197 #define HAVE_WRITEV 1
53198 _ACEOF
53203 cat >>confdefs.h <<\_ACEOF
53204 #define HAVE_LC_MESSAGES 1
53205 _ACEOF
53208 cat >conftest.$ac_ext <<_ACEOF
53209 /* confdefs.h. */
53210 _ACEOF
53211 cat confdefs.h >>conftest.$ac_ext
53212 cat >>conftest.$ac_ext <<_ACEOF
53213 /* end confdefs.h. */
53214 #include <setjmp.h>
53216 main ()
53218 sigjmp_buf env;
53219 while (! sigsetjmp (env, 1))
53220 siglongjmp (env, 1);
53223 return 0;
53225 _ACEOF
53226 rm -f conftest.$ac_objext
53227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53228 (eval $ac_compile) 2>conftest.er1
53229 ac_status=$?
53230 grep -v '^ *+' conftest.er1 >conftest.err
53231 rm -f conftest.er1
53232 cat conftest.err >&5
53233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53234 (exit $ac_status); } &&
53235 { ac_try='test -z "$ac_c_werror_flag"
53236 || test ! -s conftest.err'
53237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53238 (eval $ac_try) 2>&5
53239 ac_status=$?
53240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53241 (exit $ac_status); }; } &&
53242 { ac_try='test -s conftest.$ac_objext'
53243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53244 (eval $ac_try) 2>&5
53245 ac_status=$?
53246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53247 (exit $ac_status); }; }; then
53249 cat >>confdefs.h <<\_ACEOF
53250 #define HAVE_SIGSETJMP 1
53251 _ACEOF
53253 else
53254 echo "$as_me: failed program was:" >&5
53255 sed 's/^/| /' conftest.$ac_ext >&5
53258 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53260 cat >>confdefs.h <<\_ACEOF
53261 #define HAVE_MMAP 1
53262 _ACEOF
53266 *djgpp)
53287 for ac_header in float.h ieeefp.h inttypes.h locale.h \
53288 memory.h stdint.h stdlib.h strings.h string.h unistd.h \
53289 wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
53290 sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
53292 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53293 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53294 echo "$as_me:$LINENO: checking for $ac_header" >&5
53295 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53296 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53297 echo $ECHO_N "(cached) $ECHO_C" >&6
53299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53300 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53301 else
53302 # Is the header compilable?
53303 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53304 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53305 cat >conftest.$ac_ext <<_ACEOF
53306 /* confdefs.h. */
53307 _ACEOF
53308 cat confdefs.h >>conftest.$ac_ext
53309 cat >>conftest.$ac_ext <<_ACEOF
53310 /* end confdefs.h. */
53311 $ac_includes_default
53312 #include <$ac_header>
53313 _ACEOF
53314 rm -f conftest.$ac_objext
53315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53316 (eval $ac_compile) 2>conftest.er1
53317 ac_status=$?
53318 grep -v '^ *+' conftest.er1 >conftest.err
53319 rm -f conftest.er1
53320 cat conftest.err >&5
53321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53322 (exit $ac_status); } &&
53323 { ac_try='test -z "$ac_c_werror_flag"
53324 || test ! -s conftest.err'
53325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53326 (eval $ac_try) 2>&5
53327 ac_status=$?
53328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53329 (exit $ac_status); }; } &&
53330 { ac_try='test -s conftest.$ac_objext'
53331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53332 (eval $ac_try) 2>&5
53333 ac_status=$?
53334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53335 (exit $ac_status); }; }; then
53336 ac_header_compiler=yes
53337 else
53338 echo "$as_me: failed program was:" >&5
53339 sed 's/^/| /' conftest.$ac_ext >&5
53341 ac_header_compiler=no
53343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53344 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53345 echo "${ECHO_T}$ac_header_compiler" >&6
53347 # Is the header present?
53348 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53349 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
53350 cat >conftest.$ac_ext <<_ACEOF
53351 /* confdefs.h. */
53352 _ACEOF
53353 cat confdefs.h >>conftest.$ac_ext
53354 cat >>conftest.$ac_ext <<_ACEOF
53355 /* end confdefs.h. */
53356 #include <$ac_header>
53357 _ACEOF
53358 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53359 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53360 ac_status=$?
53361 grep -v '^ *+' conftest.er1 >conftest.err
53362 rm -f conftest.er1
53363 cat conftest.err >&5
53364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53365 (exit $ac_status); } >/dev/null; then
53366 if test -s conftest.err; then
53367 ac_cpp_err=$ac_c_preproc_warn_flag
53368 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53369 else
53370 ac_cpp_err=
53372 else
53373 ac_cpp_err=yes
53375 if test -z "$ac_cpp_err"; then
53376 ac_header_preproc=yes
53377 else
53378 echo "$as_me: failed program was:" >&5
53379 sed 's/^/| /' conftest.$ac_ext >&5
53381 ac_header_preproc=no
53383 rm -f conftest.err conftest.$ac_ext
53384 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53385 echo "${ECHO_T}$ac_header_preproc" >&6
53387 # So? What about this header?
53388 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53389 yes:no: )
53390 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53391 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53392 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
53393 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
53394 ac_header_preproc=yes
53396 no:yes:* )
53397 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53398 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53399 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
53400 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
53401 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
53402 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
53403 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
53404 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
53405 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53406 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53407 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
53408 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
53410 cat <<\_ASBOX
53411 ## ----------------------------------------- ##
53412 ## Report this to the package-unused lists. ##
53413 ## ----------------------------------------- ##
53414 _ASBOX
53416 sed "s/^/$as_me: WARNING: /" >&2
53418 esac
53419 echo "$as_me:$LINENO: checking for $ac_header" >&5
53420 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53421 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53422 echo $ECHO_N "(cached) $ECHO_C" >&6
53423 else
53424 eval "$as_ac_Header=\$ac_header_preproc"
53426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53427 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53430 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53431 cat >>confdefs.h <<_ACEOF
53432 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53433 _ACEOF
53437 done
53440 # All these tests are for C++; save the language and the compiler flags.
53441 # The CXXFLAGS thing is suspicious, but based on similar bits previously
53442 # found in GLIBCXX_CONFIGURE.
53445 ac_ext=cc
53446 ac_cpp='$CXXCPP $CPPFLAGS'
53447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53451 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53452 ac_save_CXXFLAGS="$CXXFLAGS"
53454 # Check for maintainer-mode bits.
53455 if test x"$USE_MAINTAINER_MODE" = xno; then
53456 WERROR=''
53457 else
53458 WERROR='-Werror'
53461 # Check for -ffunction-sections -fdata-sections
53462 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
53463 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
53464 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
53465 cat >conftest.$ac_ext <<_ACEOF
53466 /* confdefs.h. */
53467 _ACEOF
53468 cat confdefs.h >>conftest.$ac_ext
53469 cat >>conftest.$ac_ext <<_ACEOF
53470 /* end confdefs.h. */
53473 main ()
53475 int foo;
53477 return 0;
53479 _ACEOF
53480 rm -f conftest.$ac_objext
53481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53482 (eval $ac_compile) 2>conftest.er1
53483 ac_status=$?
53484 grep -v '^ *+' conftest.er1 >conftest.err
53485 rm -f conftest.er1
53486 cat conftest.err >&5
53487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53488 (exit $ac_status); } &&
53489 { ac_try='test -z "$ac_cxx_werror_flag"
53490 || test ! -s conftest.err'
53491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53492 (eval $ac_try) 2>&5
53493 ac_status=$?
53494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53495 (exit $ac_status); }; } &&
53496 { ac_try='test -s conftest.$ac_objext'
53497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53498 (eval $ac_try) 2>&5
53499 ac_status=$?
53500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53501 (exit $ac_status); }; }; then
53502 ac_fdsections=yes
53503 else
53504 echo "$as_me: failed program was:" >&5
53505 sed 's/^/| /' conftest.$ac_ext >&5
53507 ac_fdsections=no
53509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53510 if test "$ac_test_CXXFLAGS" = set; then
53511 CXXFLAGS="$ac_save_CXXFLAGS"
53512 else
53513 # this is the suspicious part
53514 CXXFLAGS=''
53516 if test x"$ac_fdsections" = x"yes"; then
53517 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53519 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
53520 echo "${ECHO_T}$ac_fdsections" >&6
53522 ac_ext=c
53523 ac_cpp='$CPP $CPPFLAGS'
53524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53532 # If we're not using GNU ld, then there's no point in even trying these
53533 # tests. Check for that first. We should have already tested for gld
53534 # by now (in libtool), but require it now just to be safe...
53535 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53536 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53540 # The name set by libtool depends on the version of libtool. Shame on us
53541 # for depending on an impl detail, but c'est la vie. Older versions used
53542 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53543 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53544 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53545 # set (hence we're using an older libtool), then set it.
53546 if test x${with_gnu_ld+set} != xset; then
53547 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53548 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53549 with_gnu_ld=no
53550 else
53551 with_gnu_ld=$ac_cv_prog_gnu_ld
53555 # Start by getting the version number. I think the libtool test already
53556 # does some of this, but throws away the result.
53558 ldver=`$LD --version 2>/dev/null | head -1 | \
53559 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
53561 glibcxx_gnu_ld_version=`echo $ldver | \
53562 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53564 # Set --gc-sections.
53565 if test "$with_gnu_ld" = "notbroken"; then
53566 # GNU ld it is! Joy and bunny rabbits!
53568 # All these tests are for C++; save the language and the compiler flags.
53569 # Need to do this so that g++ won't try to link in libstdc++
53570 ac_test_CFLAGS="${CFLAGS+set}"
53571 ac_save_CFLAGS="$CFLAGS"
53572 CFLAGS='-x c++ -Wl,--gc-sections'
53574 # Check for -Wl,--gc-sections
53575 # XXX This test is broken at the moment, as symbols required for linking
53576 # are now in libsupc++ (not built yet). In addition, this test has
53577 # cored on solaris in the past. In addition, --gc-sections doesn't
53578 # really work at the moment (keeps on discarding used sections, first
53579 # .eh_frame and now some of the glibc sections for iconv).
53580 # Bzzzzt. Thanks for playing, maybe next time.
53581 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
53582 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
53583 if test "$cross_compiling" = yes; then
53584 ac_sectionLDflags=yes
53585 else
53586 cat >conftest.$ac_ext <<_ACEOF
53587 /* confdefs.h. */
53588 _ACEOF
53589 cat confdefs.h >>conftest.$ac_ext
53590 cat >>conftest.$ac_ext <<_ACEOF
53591 /* end confdefs.h. */
53593 int main(void)
53595 try { throw 1; }
53596 catch (...) { };
53597 return 0;
53600 _ACEOF
53601 rm -f conftest$ac_exeext
53602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53603 (eval $ac_link) 2>&5
53604 ac_status=$?
53605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53606 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
53607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53608 (eval $ac_try) 2>&5
53609 ac_status=$?
53610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53611 (exit $ac_status); }; }; then
53612 ac_sectionLDflags=yes
53613 else
53614 echo "$as_me: program exited with status $ac_status" >&5
53615 echo "$as_me: failed program was:" >&5
53616 sed 's/^/| /' conftest.$ac_ext >&5
53618 ( exit $ac_status )
53619 ac_sectionLDflags=no
53621 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
53623 if test "$ac_test_CFLAGS" = set; then
53624 CFLAGS="$ac_save_CFLAGS"
53625 else
53626 # this is the suspicious part
53627 CFLAGS=''
53629 if test "$ac_sectionLDflags" = "yes"; then
53630 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53632 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
53633 echo "${ECHO_T}$ac_sectionLDflags" >&6
53636 # Set linker optimization flags.
53637 if test x"$with_gnu_ld" = x"yes"; then
53638 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53645 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53646 ac_save_CXXFLAGS="$CXXFLAGS"
53647 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53649 echo "$as_me:$LINENO: checking for sin in -lm" >&5
53650 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
53651 if test "${ac_cv_lib_m_sin+set}" = set; then
53652 echo $ECHO_N "(cached) $ECHO_C" >&6
53653 else
53654 ac_check_lib_save_LIBS=$LIBS
53655 LIBS="-lm $LIBS"
53656 if test x$gcc_no_link = xyes; then
53657 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53658 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53659 { (exit 1); exit 1; }; }
53661 cat >conftest.$ac_ext <<_ACEOF
53662 /* confdefs.h. */
53663 _ACEOF
53664 cat confdefs.h >>conftest.$ac_ext
53665 cat >>conftest.$ac_ext <<_ACEOF
53666 /* end confdefs.h. */
53668 /* Override any gcc2 internal prototype to avoid an error. */
53669 #ifdef __cplusplus
53670 extern "C"
53671 #endif
53672 /* We use char because int might match the return type of a gcc2
53673 builtin and then its argument prototype would still apply. */
53674 char sin ();
53676 main ()
53678 sin ();
53680 return 0;
53682 _ACEOF
53683 rm -f conftest.$ac_objext conftest$ac_exeext
53684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53685 (eval $ac_link) 2>conftest.er1
53686 ac_status=$?
53687 grep -v '^ *+' conftest.er1 >conftest.err
53688 rm -f conftest.er1
53689 cat conftest.err >&5
53690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53691 (exit $ac_status); } &&
53692 { ac_try='test -z "$ac_c_werror_flag"
53693 || test ! -s conftest.err'
53694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53695 (eval $ac_try) 2>&5
53696 ac_status=$?
53697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53698 (exit $ac_status); }; } &&
53699 { ac_try='test -s conftest$ac_exeext'
53700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53701 (eval $ac_try) 2>&5
53702 ac_status=$?
53703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53704 (exit $ac_status); }; }; then
53705 ac_cv_lib_m_sin=yes
53706 else
53707 echo "$as_me: failed program was:" >&5
53708 sed 's/^/| /' conftest.$ac_ext >&5
53710 ac_cv_lib_m_sin=no
53712 rm -f conftest.err conftest.$ac_objext \
53713 conftest$ac_exeext conftest.$ac_ext
53714 LIBS=$ac_check_lib_save_LIBS
53716 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
53717 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
53718 if test $ac_cv_lib_m_sin = yes; then
53719 libm="-lm"
53722 ac_save_LIBS="$LIBS"
53723 LIBS="$LIBS $libm"
53727 echo "$as_me:$LINENO: checking for isinf declaration" >&5
53728 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
53729 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
53730 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
53731 echo $ECHO_N "(cached) $ECHO_C" >&6
53732 else
53736 ac_ext=cc
53737 ac_cpp='$CXXCPP $CPPFLAGS'
53738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53742 cat >conftest.$ac_ext <<_ACEOF
53743 /* confdefs.h. */
53744 _ACEOF
53745 cat confdefs.h >>conftest.$ac_ext
53746 cat >>conftest.$ac_ext <<_ACEOF
53747 /* end confdefs.h. */
53748 #include <math.h>
53749 #ifdef HAVE_IEEEFP_H
53750 #include <ieeefp.h>
53751 #endif
53754 main ()
53756 isinf(0);
53758 return 0;
53760 _ACEOF
53761 rm -f conftest.$ac_objext
53762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53763 (eval $ac_compile) 2>conftest.er1
53764 ac_status=$?
53765 grep -v '^ *+' conftest.er1 >conftest.err
53766 rm -f conftest.er1
53767 cat conftest.err >&5
53768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53769 (exit $ac_status); } &&
53770 { ac_try='test -z "$ac_cxx_werror_flag"
53771 || test ! -s conftest.err'
53772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53773 (eval $ac_try) 2>&5
53774 ac_status=$?
53775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53776 (exit $ac_status); }; } &&
53777 { ac_try='test -s conftest.$ac_objext'
53778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53779 (eval $ac_try) 2>&5
53780 ac_status=$?
53781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53782 (exit $ac_status); }; }; then
53783 glibcxx_cv_func_isinf_use=yes
53784 else
53785 echo "$as_me: failed program was:" >&5
53786 sed 's/^/| /' conftest.$ac_ext >&5
53788 glibcxx_cv_func_isinf_use=no
53790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53791 ac_ext=c
53792 ac_cpp='$CPP $CPPFLAGS'
53793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53801 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
53802 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
53804 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
53806 for ac_func in isinf
53808 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53809 echo "$as_me:$LINENO: checking for $ac_func" >&5
53810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53811 if eval "test \"\${$as_ac_var+set}\" = set"; then
53812 echo $ECHO_N "(cached) $ECHO_C" >&6
53813 else
53814 if test x$gcc_no_link = xyes; then
53815 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53816 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53817 { (exit 1); exit 1; }; }
53819 cat >conftest.$ac_ext <<_ACEOF
53820 /* confdefs.h. */
53821 _ACEOF
53822 cat confdefs.h >>conftest.$ac_ext
53823 cat >>conftest.$ac_ext <<_ACEOF
53824 /* end confdefs.h. */
53825 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53826 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53827 #define $ac_func innocuous_$ac_func
53829 /* System header to define __stub macros and hopefully few prototypes,
53830 which can conflict with char $ac_func (); below.
53831 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53832 <limits.h> exists even on freestanding compilers. */
53834 #ifdef __STDC__
53835 # include <limits.h>
53836 #else
53837 # include <assert.h>
53838 #endif
53840 #undef $ac_func
53842 /* Override any gcc2 internal prototype to avoid an error. */
53843 #ifdef __cplusplus
53844 extern "C"
53846 #endif
53847 /* We use char because int might match the return type of a gcc2
53848 builtin and then its argument prototype would still apply. */
53849 char $ac_func ();
53850 /* The GNU C library defines this for functions which it implements
53851 to always fail with ENOSYS. Some functions are actually named
53852 something starting with __ and the normal name is an alias. */
53853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53854 choke me
53855 #else
53856 char (*f) () = $ac_func;
53857 #endif
53858 #ifdef __cplusplus
53860 #endif
53863 main ()
53865 return f != $ac_func;
53867 return 0;
53869 _ACEOF
53870 rm -f conftest.$ac_objext conftest$ac_exeext
53871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53872 (eval $ac_link) 2>conftest.er1
53873 ac_status=$?
53874 grep -v '^ *+' conftest.er1 >conftest.err
53875 rm -f conftest.er1
53876 cat conftest.err >&5
53877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53878 (exit $ac_status); } &&
53879 { ac_try='test -z "$ac_c_werror_flag"
53880 || test ! -s conftest.err'
53881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53882 (eval $ac_try) 2>&5
53883 ac_status=$?
53884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53885 (exit $ac_status); }; } &&
53886 { ac_try='test -s conftest$ac_exeext'
53887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53888 (eval $ac_try) 2>&5
53889 ac_status=$?
53890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53891 (exit $ac_status); }; }; then
53892 eval "$as_ac_var=yes"
53893 else
53894 echo "$as_me: failed program was:" >&5
53895 sed 's/^/| /' conftest.$ac_ext >&5
53897 eval "$as_ac_var=no"
53899 rm -f conftest.err conftest.$ac_objext \
53900 conftest$ac_exeext conftest.$ac_ext
53902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53903 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53904 if test `eval echo '${'$as_ac_var'}'` = yes; then
53905 cat >>confdefs.h <<_ACEOF
53906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53907 _ACEOF
53910 done
53912 else
53914 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
53915 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
53916 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
53917 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
53918 echo $ECHO_N "(cached) $ECHO_C" >&6
53919 else
53923 ac_ext=cc
53924 ac_cpp='$CXXCPP $CPPFLAGS'
53925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53929 cat >conftest.$ac_ext <<_ACEOF
53930 /* confdefs.h. */
53931 _ACEOF
53932 cat confdefs.h >>conftest.$ac_ext
53933 cat >>conftest.$ac_ext <<_ACEOF
53934 /* end confdefs.h. */
53935 #include <math.h>
53936 #ifdef HAVE_IEEEFP_H
53937 #include <ieeefp.h>
53938 #endif
53941 main ()
53943 _isinf(0);
53945 return 0;
53947 _ACEOF
53948 rm -f conftest.$ac_objext
53949 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53950 (eval $ac_compile) 2>conftest.er1
53951 ac_status=$?
53952 grep -v '^ *+' conftest.er1 >conftest.err
53953 rm -f conftest.er1
53954 cat conftest.err >&5
53955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53956 (exit $ac_status); } &&
53957 { ac_try='test -z "$ac_cxx_werror_flag"
53958 || test ! -s conftest.err'
53959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53960 (eval $ac_try) 2>&5
53961 ac_status=$?
53962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53963 (exit $ac_status); }; } &&
53964 { ac_try='test -s conftest.$ac_objext'
53965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53966 (eval $ac_try) 2>&5
53967 ac_status=$?
53968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53969 (exit $ac_status); }; }; then
53970 glibcxx_cv_func__isinf_use=yes
53971 else
53972 echo "$as_me: failed program was:" >&5
53973 sed 's/^/| /' conftest.$ac_ext >&5
53975 glibcxx_cv_func__isinf_use=no
53977 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53978 ac_ext=c
53979 ac_cpp='$CPP $CPPFLAGS'
53980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53988 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
53989 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
53991 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
53993 for ac_func in _isinf
53995 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53996 echo "$as_me:$LINENO: checking for $ac_func" >&5
53997 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53998 if eval "test \"\${$as_ac_var+set}\" = set"; then
53999 echo $ECHO_N "(cached) $ECHO_C" >&6
54000 else
54001 if test x$gcc_no_link = xyes; then
54002 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54003 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54004 { (exit 1); exit 1; }; }
54006 cat >conftest.$ac_ext <<_ACEOF
54007 /* confdefs.h. */
54008 _ACEOF
54009 cat confdefs.h >>conftest.$ac_ext
54010 cat >>conftest.$ac_ext <<_ACEOF
54011 /* end confdefs.h. */
54012 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54013 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54014 #define $ac_func innocuous_$ac_func
54016 /* System header to define __stub macros and hopefully few prototypes,
54017 which can conflict with char $ac_func (); below.
54018 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54019 <limits.h> exists even on freestanding compilers. */
54021 #ifdef __STDC__
54022 # include <limits.h>
54023 #else
54024 # include <assert.h>
54025 #endif
54027 #undef $ac_func
54029 /* Override any gcc2 internal prototype to avoid an error. */
54030 #ifdef __cplusplus
54031 extern "C"
54033 #endif
54034 /* We use char because int might match the return type of a gcc2
54035 builtin and then its argument prototype would still apply. */
54036 char $ac_func ();
54037 /* The GNU C library defines this for functions which it implements
54038 to always fail with ENOSYS. Some functions are actually named
54039 something starting with __ and the normal name is an alias. */
54040 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54041 choke me
54042 #else
54043 char (*f) () = $ac_func;
54044 #endif
54045 #ifdef __cplusplus
54047 #endif
54050 main ()
54052 return f != $ac_func;
54054 return 0;
54056 _ACEOF
54057 rm -f conftest.$ac_objext conftest$ac_exeext
54058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54059 (eval $ac_link) 2>conftest.er1
54060 ac_status=$?
54061 grep -v '^ *+' conftest.er1 >conftest.err
54062 rm -f conftest.er1
54063 cat conftest.err >&5
54064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54065 (exit $ac_status); } &&
54066 { ac_try='test -z "$ac_c_werror_flag"
54067 || test ! -s conftest.err'
54068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54069 (eval $ac_try) 2>&5
54070 ac_status=$?
54071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54072 (exit $ac_status); }; } &&
54073 { ac_try='test -s conftest$ac_exeext'
54074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54075 (eval $ac_try) 2>&5
54076 ac_status=$?
54077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54078 (exit $ac_status); }; }; then
54079 eval "$as_ac_var=yes"
54080 else
54081 echo "$as_me: failed program was:" >&5
54082 sed 's/^/| /' conftest.$ac_ext >&5
54084 eval "$as_ac_var=no"
54086 rm -f conftest.err conftest.$ac_objext \
54087 conftest$ac_exeext conftest.$ac_ext
54089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54090 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54091 if test `eval echo '${'$as_ac_var'}'` = yes; then
54092 cat >>confdefs.h <<_ACEOF
54093 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54094 _ACEOF
54097 done
54104 echo "$as_me:$LINENO: checking for isnan declaration" >&5
54105 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
54106 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
54107 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
54108 echo $ECHO_N "(cached) $ECHO_C" >&6
54109 else
54113 ac_ext=cc
54114 ac_cpp='$CXXCPP $CPPFLAGS'
54115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54119 cat >conftest.$ac_ext <<_ACEOF
54120 /* confdefs.h. */
54121 _ACEOF
54122 cat confdefs.h >>conftest.$ac_ext
54123 cat >>conftest.$ac_ext <<_ACEOF
54124 /* end confdefs.h. */
54125 #include <math.h>
54126 #ifdef HAVE_IEEEFP_H
54127 #include <ieeefp.h>
54128 #endif
54131 main ()
54133 isnan(0);
54135 return 0;
54137 _ACEOF
54138 rm -f conftest.$ac_objext
54139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54140 (eval $ac_compile) 2>conftest.er1
54141 ac_status=$?
54142 grep -v '^ *+' conftest.er1 >conftest.err
54143 rm -f conftest.er1
54144 cat conftest.err >&5
54145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54146 (exit $ac_status); } &&
54147 { ac_try='test -z "$ac_cxx_werror_flag"
54148 || test ! -s conftest.err'
54149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54150 (eval $ac_try) 2>&5
54151 ac_status=$?
54152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54153 (exit $ac_status); }; } &&
54154 { ac_try='test -s conftest.$ac_objext'
54155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54156 (eval $ac_try) 2>&5
54157 ac_status=$?
54158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54159 (exit $ac_status); }; }; then
54160 glibcxx_cv_func_isnan_use=yes
54161 else
54162 echo "$as_me: failed program was:" >&5
54163 sed 's/^/| /' conftest.$ac_ext >&5
54165 glibcxx_cv_func_isnan_use=no
54167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54168 ac_ext=c
54169 ac_cpp='$CPP $CPPFLAGS'
54170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54178 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
54179 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
54181 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
54183 for ac_func in isnan
54185 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54186 echo "$as_me:$LINENO: checking for $ac_func" >&5
54187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54188 if eval "test \"\${$as_ac_var+set}\" = set"; then
54189 echo $ECHO_N "(cached) $ECHO_C" >&6
54190 else
54191 if test x$gcc_no_link = xyes; then
54192 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54193 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54194 { (exit 1); exit 1; }; }
54196 cat >conftest.$ac_ext <<_ACEOF
54197 /* confdefs.h. */
54198 _ACEOF
54199 cat confdefs.h >>conftest.$ac_ext
54200 cat >>conftest.$ac_ext <<_ACEOF
54201 /* end confdefs.h. */
54202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54204 #define $ac_func innocuous_$ac_func
54206 /* System header to define __stub macros and hopefully few prototypes,
54207 which can conflict with char $ac_func (); below.
54208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54209 <limits.h> exists even on freestanding compilers. */
54211 #ifdef __STDC__
54212 # include <limits.h>
54213 #else
54214 # include <assert.h>
54215 #endif
54217 #undef $ac_func
54219 /* Override any gcc2 internal prototype to avoid an error. */
54220 #ifdef __cplusplus
54221 extern "C"
54223 #endif
54224 /* We use char because int might match the return type of a gcc2
54225 builtin and then its argument prototype would still apply. */
54226 char $ac_func ();
54227 /* The GNU C library defines this for functions which it implements
54228 to always fail with ENOSYS. Some functions are actually named
54229 something starting with __ and the normal name is an alias. */
54230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54231 choke me
54232 #else
54233 char (*f) () = $ac_func;
54234 #endif
54235 #ifdef __cplusplus
54237 #endif
54240 main ()
54242 return f != $ac_func;
54244 return 0;
54246 _ACEOF
54247 rm -f conftest.$ac_objext conftest$ac_exeext
54248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54249 (eval $ac_link) 2>conftest.er1
54250 ac_status=$?
54251 grep -v '^ *+' conftest.er1 >conftest.err
54252 rm -f conftest.er1
54253 cat conftest.err >&5
54254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54255 (exit $ac_status); } &&
54256 { ac_try='test -z "$ac_c_werror_flag"
54257 || test ! -s conftest.err'
54258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54259 (eval $ac_try) 2>&5
54260 ac_status=$?
54261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54262 (exit $ac_status); }; } &&
54263 { ac_try='test -s conftest$ac_exeext'
54264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54265 (eval $ac_try) 2>&5
54266 ac_status=$?
54267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54268 (exit $ac_status); }; }; then
54269 eval "$as_ac_var=yes"
54270 else
54271 echo "$as_me: failed program was:" >&5
54272 sed 's/^/| /' conftest.$ac_ext >&5
54274 eval "$as_ac_var=no"
54276 rm -f conftest.err conftest.$ac_objext \
54277 conftest$ac_exeext conftest.$ac_ext
54279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54280 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54281 if test `eval echo '${'$as_ac_var'}'` = yes; then
54282 cat >>confdefs.h <<_ACEOF
54283 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54284 _ACEOF
54287 done
54289 else
54291 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
54292 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
54293 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
54294 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
54295 echo $ECHO_N "(cached) $ECHO_C" >&6
54296 else
54300 ac_ext=cc
54301 ac_cpp='$CXXCPP $CPPFLAGS'
54302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54306 cat >conftest.$ac_ext <<_ACEOF
54307 /* confdefs.h. */
54308 _ACEOF
54309 cat confdefs.h >>conftest.$ac_ext
54310 cat >>conftest.$ac_ext <<_ACEOF
54311 /* end confdefs.h. */
54312 #include <math.h>
54313 #ifdef HAVE_IEEEFP_H
54314 #include <ieeefp.h>
54315 #endif
54318 main ()
54320 _isnan(0);
54322 return 0;
54324 _ACEOF
54325 rm -f conftest.$ac_objext
54326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54327 (eval $ac_compile) 2>conftest.er1
54328 ac_status=$?
54329 grep -v '^ *+' conftest.er1 >conftest.err
54330 rm -f conftest.er1
54331 cat conftest.err >&5
54332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54333 (exit $ac_status); } &&
54334 { ac_try='test -z "$ac_cxx_werror_flag"
54335 || test ! -s conftest.err'
54336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54337 (eval $ac_try) 2>&5
54338 ac_status=$?
54339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54340 (exit $ac_status); }; } &&
54341 { ac_try='test -s conftest.$ac_objext'
54342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54343 (eval $ac_try) 2>&5
54344 ac_status=$?
54345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54346 (exit $ac_status); }; }; then
54347 glibcxx_cv_func__isnan_use=yes
54348 else
54349 echo "$as_me: failed program was:" >&5
54350 sed 's/^/| /' conftest.$ac_ext >&5
54352 glibcxx_cv_func__isnan_use=no
54354 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54355 ac_ext=c
54356 ac_cpp='$CPP $CPPFLAGS'
54357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54365 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
54366 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
54368 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
54370 for ac_func in _isnan
54372 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54373 echo "$as_me:$LINENO: checking for $ac_func" >&5
54374 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54375 if eval "test \"\${$as_ac_var+set}\" = set"; then
54376 echo $ECHO_N "(cached) $ECHO_C" >&6
54377 else
54378 if test x$gcc_no_link = xyes; then
54379 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54380 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54381 { (exit 1); exit 1; }; }
54383 cat >conftest.$ac_ext <<_ACEOF
54384 /* confdefs.h. */
54385 _ACEOF
54386 cat confdefs.h >>conftest.$ac_ext
54387 cat >>conftest.$ac_ext <<_ACEOF
54388 /* end confdefs.h. */
54389 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54390 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54391 #define $ac_func innocuous_$ac_func
54393 /* System header to define __stub macros and hopefully few prototypes,
54394 which can conflict with char $ac_func (); below.
54395 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54396 <limits.h> exists even on freestanding compilers. */
54398 #ifdef __STDC__
54399 # include <limits.h>
54400 #else
54401 # include <assert.h>
54402 #endif
54404 #undef $ac_func
54406 /* Override any gcc2 internal prototype to avoid an error. */
54407 #ifdef __cplusplus
54408 extern "C"
54410 #endif
54411 /* We use char because int might match the return type of a gcc2
54412 builtin and then its argument prototype would still apply. */
54413 char $ac_func ();
54414 /* The GNU C library defines this for functions which it implements
54415 to always fail with ENOSYS. Some functions are actually named
54416 something starting with __ and the normal name is an alias. */
54417 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54418 choke me
54419 #else
54420 char (*f) () = $ac_func;
54421 #endif
54422 #ifdef __cplusplus
54424 #endif
54427 main ()
54429 return f != $ac_func;
54431 return 0;
54433 _ACEOF
54434 rm -f conftest.$ac_objext conftest$ac_exeext
54435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54436 (eval $ac_link) 2>conftest.er1
54437 ac_status=$?
54438 grep -v '^ *+' conftest.er1 >conftest.err
54439 rm -f conftest.er1
54440 cat conftest.err >&5
54441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54442 (exit $ac_status); } &&
54443 { ac_try='test -z "$ac_c_werror_flag"
54444 || test ! -s conftest.err'
54445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54446 (eval $ac_try) 2>&5
54447 ac_status=$?
54448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54449 (exit $ac_status); }; } &&
54450 { ac_try='test -s conftest$ac_exeext'
54451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54452 (eval $ac_try) 2>&5
54453 ac_status=$?
54454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54455 (exit $ac_status); }; }; then
54456 eval "$as_ac_var=yes"
54457 else
54458 echo "$as_me: failed program was:" >&5
54459 sed 's/^/| /' conftest.$ac_ext >&5
54461 eval "$as_ac_var=no"
54463 rm -f conftest.err conftest.$ac_objext \
54464 conftest$ac_exeext conftest.$ac_ext
54466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54467 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54468 if test `eval echo '${'$as_ac_var'}'` = yes; then
54469 cat >>confdefs.h <<_ACEOF
54470 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54471 _ACEOF
54474 done
54481 echo "$as_me:$LINENO: checking for finite declaration" >&5
54482 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
54483 if test x${glibcxx_cv_func_finite_use+set} != xset; then
54484 if test "${glibcxx_cv_func_finite_use+set}" = set; then
54485 echo $ECHO_N "(cached) $ECHO_C" >&6
54486 else
54490 ac_ext=cc
54491 ac_cpp='$CXXCPP $CPPFLAGS'
54492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54496 cat >conftest.$ac_ext <<_ACEOF
54497 /* confdefs.h. */
54498 _ACEOF
54499 cat confdefs.h >>conftest.$ac_ext
54500 cat >>conftest.$ac_ext <<_ACEOF
54501 /* end confdefs.h. */
54502 #include <math.h>
54503 #ifdef HAVE_IEEEFP_H
54504 #include <ieeefp.h>
54505 #endif
54508 main ()
54510 finite(0);
54512 return 0;
54514 _ACEOF
54515 rm -f conftest.$ac_objext
54516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54517 (eval $ac_compile) 2>conftest.er1
54518 ac_status=$?
54519 grep -v '^ *+' conftest.er1 >conftest.err
54520 rm -f conftest.er1
54521 cat conftest.err >&5
54522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54523 (exit $ac_status); } &&
54524 { ac_try='test -z "$ac_cxx_werror_flag"
54525 || test ! -s conftest.err'
54526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54527 (eval $ac_try) 2>&5
54528 ac_status=$?
54529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54530 (exit $ac_status); }; } &&
54531 { ac_try='test -s conftest.$ac_objext'
54532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54533 (eval $ac_try) 2>&5
54534 ac_status=$?
54535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54536 (exit $ac_status); }; }; then
54537 glibcxx_cv_func_finite_use=yes
54538 else
54539 echo "$as_me: failed program was:" >&5
54540 sed 's/^/| /' conftest.$ac_ext >&5
54542 glibcxx_cv_func_finite_use=no
54544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54545 ac_ext=c
54546 ac_cpp='$CPP $CPPFLAGS'
54547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54555 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
54556 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
54558 if test x$glibcxx_cv_func_finite_use = x"yes"; then
54560 for ac_func in finite
54562 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54563 echo "$as_me:$LINENO: checking for $ac_func" >&5
54564 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54565 if eval "test \"\${$as_ac_var+set}\" = set"; then
54566 echo $ECHO_N "(cached) $ECHO_C" >&6
54567 else
54568 if test x$gcc_no_link = xyes; then
54569 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54570 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54571 { (exit 1); exit 1; }; }
54573 cat >conftest.$ac_ext <<_ACEOF
54574 /* confdefs.h. */
54575 _ACEOF
54576 cat confdefs.h >>conftest.$ac_ext
54577 cat >>conftest.$ac_ext <<_ACEOF
54578 /* end confdefs.h. */
54579 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54580 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54581 #define $ac_func innocuous_$ac_func
54583 /* System header to define __stub macros and hopefully few prototypes,
54584 which can conflict with char $ac_func (); below.
54585 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54586 <limits.h> exists even on freestanding compilers. */
54588 #ifdef __STDC__
54589 # include <limits.h>
54590 #else
54591 # include <assert.h>
54592 #endif
54594 #undef $ac_func
54596 /* Override any gcc2 internal prototype to avoid an error. */
54597 #ifdef __cplusplus
54598 extern "C"
54600 #endif
54601 /* We use char because int might match the return type of a gcc2
54602 builtin and then its argument prototype would still apply. */
54603 char $ac_func ();
54604 /* The GNU C library defines this for functions which it implements
54605 to always fail with ENOSYS. Some functions are actually named
54606 something starting with __ and the normal name is an alias. */
54607 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54608 choke me
54609 #else
54610 char (*f) () = $ac_func;
54611 #endif
54612 #ifdef __cplusplus
54614 #endif
54617 main ()
54619 return f != $ac_func;
54621 return 0;
54623 _ACEOF
54624 rm -f conftest.$ac_objext conftest$ac_exeext
54625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54626 (eval $ac_link) 2>conftest.er1
54627 ac_status=$?
54628 grep -v '^ *+' conftest.er1 >conftest.err
54629 rm -f conftest.er1
54630 cat conftest.err >&5
54631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54632 (exit $ac_status); } &&
54633 { ac_try='test -z "$ac_c_werror_flag"
54634 || test ! -s conftest.err'
54635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54636 (eval $ac_try) 2>&5
54637 ac_status=$?
54638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54639 (exit $ac_status); }; } &&
54640 { ac_try='test -s conftest$ac_exeext'
54641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54642 (eval $ac_try) 2>&5
54643 ac_status=$?
54644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54645 (exit $ac_status); }; }; then
54646 eval "$as_ac_var=yes"
54647 else
54648 echo "$as_me: failed program was:" >&5
54649 sed 's/^/| /' conftest.$ac_ext >&5
54651 eval "$as_ac_var=no"
54653 rm -f conftest.err conftest.$ac_objext \
54654 conftest$ac_exeext conftest.$ac_ext
54656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54657 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54658 if test `eval echo '${'$as_ac_var'}'` = yes; then
54659 cat >>confdefs.h <<_ACEOF
54660 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54661 _ACEOF
54664 done
54666 else
54668 echo "$as_me:$LINENO: checking for _finite declaration" >&5
54669 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
54670 if test x${glibcxx_cv_func__finite_use+set} != xset; then
54671 if test "${glibcxx_cv_func__finite_use+set}" = set; then
54672 echo $ECHO_N "(cached) $ECHO_C" >&6
54673 else
54677 ac_ext=cc
54678 ac_cpp='$CXXCPP $CPPFLAGS'
54679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54683 cat >conftest.$ac_ext <<_ACEOF
54684 /* confdefs.h. */
54685 _ACEOF
54686 cat confdefs.h >>conftest.$ac_ext
54687 cat >>conftest.$ac_ext <<_ACEOF
54688 /* end confdefs.h. */
54689 #include <math.h>
54690 #ifdef HAVE_IEEEFP_H
54691 #include <ieeefp.h>
54692 #endif
54695 main ()
54697 _finite(0);
54699 return 0;
54701 _ACEOF
54702 rm -f conftest.$ac_objext
54703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54704 (eval $ac_compile) 2>conftest.er1
54705 ac_status=$?
54706 grep -v '^ *+' conftest.er1 >conftest.err
54707 rm -f conftest.er1
54708 cat conftest.err >&5
54709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54710 (exit $ac_status); } &&
54711 { ac_try='test -z "$ac_cxx_werror_flag"
54712 || test ! -s conftest.err'
54713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54714 (eval $ac_try) 2>&5
54715 ac_status=$?
54716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54717 (exit $ac_status); }; } &&
54718 { ac_try='test -s conftest.$ac_objext'
54719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54720 (eval $ac_try) 2>&5
54721 ac_status=$?
54722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54723 (exit $ac_status); }; }; then
54724 glibcxx_cv_func__finite_use=yes
54725 else
54726 echo "$as_me: failed program was:" >&5
54727 sed 's/^/| /' conftest.$ac_ext >&5
54729 glibcxx_cv_func__finite_use=no
54731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54732 ac_ext=c
54733 ac_cpp='$CPP $CPPFLAGS'
54734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54742 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
54743 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
54745 if test x$glibcxx_cv_func__finite_use = x"yes"; then
54747 for ac_func in _finite
54749 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54750 echo "$as_me:$LINENO: checking for $ac_func" >&5
54751 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54752 if eval "test \"\${$as_ac_var+set}\" = set"; then
54753 echo $ECHO_N "(cached) $ECHO_C" >&6
54754 else
54755 if test x$gcc_no_link = xyes; then
54756 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54757 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54758 { (exit 1); exit 1; }; }
54760 cat >conftest.$ac_ext <<_ACEOF
54761 /* confdefs.h. */
54762 _ACEOF
54763 cat confdefs.h >>conftest.$ac_ext
54764 cat >>conftest.$ac_ext <<_ACEOF
54765 /* end confdefs.h. */
54766 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54767 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54768 #define $ac_func innocuous_$ac_func
54770 /* System header to define __stub macros and hopefully few prototypes,
54771 which can conflict with char $ac_func (); below.
54772 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54773 <limits.h> exists even on freestanding compilers. */
54775 #ifdef __STDC__
54776 # include <limits.h>
54777 #else
54778 # include <assert.h>
54779 #endif
54781 #undef $ac_func
54783 /* Override any gcc2 internal prototype to avoid an error. */
54784 #ifdef __cplusplus
54785 extern "C"
54787 #endif
54788 /* We use char because int might match the return type of a gcc2
54789 builtin and then its argument prototype would still apply. */
54790 char $ac_func ();
54791 /* The GNU C library defines this for functions which it implements
54792 to always fail with ENOSYS. Some functions are actually named
54793 something starting with __ and the normal name is an alias. */
54794 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54795 choke me
54796 #else
54797 char (*f) () = $ac_func;
54798 #endif
54799 #ifdef __cplusplus
54801 #endif
54804 main ()
54806 return f != $ac_func;
54808 return 0;
54810 _ACEOF
54811 rm -f conftest.$ac_objext conftest$ac_exeext
54812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54813 (eval $ac_link) 2>conftest.er1
54814 ac_status=$?
54815 grep -v '^ *+' conftest.er1 >conftest.err
54816 rm -f conftest.er1
54817 cat conftest.err >&5
54818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54819 (exit $ac_status); } &&
54820 { ac_try='test -z "$ac_c_werror_flag"
54821 || test ! -s conftest.err'
54822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54823 (eval $ac_try) 2>&5
54824 ac_status=$?
54825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54826 (exit $ac_status); }; } &&
54827 { ac_try='test -s conftest$ac_exeext'
54828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54829 (eval $ac_try) 2>&5
54830 ac_status=$?
54831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54832 (exit $ac_status); }; }; then
54833 eval "$as_ac_var=yes"
54834 else
54835 echo "$as_me: failed program was:" >&5
54836 sed 's/^/| /' conftest.$ac_ext >&5
54838 eval "$as_ac_var=no"
54840 rm -f conftest.err conftest.$ac_objext \
54841 conftest$ac_exeext conftest.$ac_ext
54843 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54844 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54845 if test `eval echo '${'$as_ac_var'}'` = yes; then
54846 cat >>confdefs.h <<_ACEOF
54847 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54848 _ACEOF
54851 done
54858 echo "$as_me:$LINENO: checking for copysign declaration" >&5
54859 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
54860 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
54861 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
54862 echo $ECHO_N "(cached) $ECHO_C" >&6
54863 else
54867 ac_ext=cc
54868 ac_cpp='$CXXCPP $CPPFLAGS'
54869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54873 cat >conftest.$ac_ext <<_ACEOF
54874 /* confdefs.h. */
54875 _ACEOF
54876 cat confdefs.h >>conftest.$ac_ext
54877 cat >>conftest.$ac_ext <<_ACEOF
54878 /* end confdefs.h. */
54879 #include <math.h>
54881 main ()
54883 copysign(0, 0);
54885 return 0;
54887 _ACEOF
54888 rm -f conftest.$ac_objext
54889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54890 (eval $ac_compile) 2>conftest.er1
54891 ac_status=$?
54892 grep -v '^ *+' conftest.er1 >conftest.err
54893 rm -f conftest.er1
54894 cat conftest.err >&5
54895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54896 (exit $ac_status); } &&
54897 { ac_try='test -z "$ac_cxx_werror_flag"
54898 || test ! -s conftest.err'
54899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54900 (eval $ac_try) 2>&5
54901 ac_status=$?
54902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54903 (exit $ac_status); }; } &&
54904 { ac_try='test -s conftest.$ac_objext'
54905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54906 (eval $ac_try) 2>&5
54907 ac_status=$?
54908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54909 (exit $ac_status); }; }; then
54910 glibcxx_cv_func_copysign_use=yes
54911 else
54912 echo "$as_me: failed program was:" >&5
54913 sed 's/^/| /' conftest.$ac_ext >&5
54915 glibcxx_cv_func_copysign_use=no
54917 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54918 ac_ext=c
54919 ac_cpp='$CPP $CPPFLAGS'
54920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54928 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
54929 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
54931 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
54933 for ac_func in copysign
54935 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54936 echo "$as_me:$LINENO: checking for $ac_func" >&5
54937 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54938 if eval "test \"\${$as_ac_var+set}\" = set"; then
54939 echo $ECHO_N "(cached) $ECHO_C" >&6
54940 else
54941 if test x$gcc_no_link = xyes; then
54942 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54943 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54944 { (exit 1); exit 1; }; }
54946 cat >conftest.$ac_ext <<_ACEOF
54947 /* confdefs.h. */
54948 _ACEOF
54949 cat confdefs.h >>conftest.$ac_ext
54950 cat >>conftest.$ac_ext <<_ACEOF
54951 /* end confdefs.h. */
54952 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54953 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54954 #define $ac_func innocuous_$ac_func
54956 /* System header to define __stub macros and hopefully few prototypes,
54957 which can conflict with char $ac_func (); below.
54958 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54959 <limits.h> exists even on freestanding compilers. */
54961 #ifdef __STDC__
54962 # include <limits.h>
54963 #else
54964 # include <assert.h>
54965 #endif
54967 #undef $ac_func
54969 /* Override any gcc2 internal prototype to avoid an error. */
54970 #ifdef __cplusplus
54971 extern "C"
54973 #endif
54974 /* We use char because int might match the return type of a gcc2
54975 builtin and then its argument prototype would still apply. */
54976 char $ac_func ();
54977 /* The GNU C library defines this for functions which it implements
54978 to always fail with ENOSYS. Some functions are actually named
54979 something starting with __ and the normal name is an alias. */
54980 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54981 choke me
54982 #else
54983 char (*f) () = $ac_func;
54984 #endif
54985 #ifdef __cplusplus
54987 #endif
54990 main ()
54992 return f != $ac_func;
54994 return 0;
54996 _ACEOF
54997 rm -f conftest.$ac_objext conftest$ac_exeext
54998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54999 (eval $ac_link) 2>conftest.er1
55000 ac_status=$?
55001 grep -v '^ *+' conftest.er1 >conftest.err
55002 rm -f conftest.er1
55003 cat conftest.err >&5
55004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55005 (exit $ac_status); } &&
55006 { ac_try='test -z "$ac_c_werror_flag"
55007 || test ! -s conftest.err'
55008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55009 (eval $ac_try) 2>&5
55010 ac_status=$?
55011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55012 (exit $ac_status); }; } &&
55013 { ac_try='test -s conftest$ac_exeext'
55014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55015 (eval $ac_try) 2>&5
55016 ac_status=$?
55017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55018 (exit $ac_status); }; }; then
55019 eval "$as_ac_var=yes"
55020 else
55021 echo "$as_me: failed program was:" >&5
55022 sed 's/^/| /' conftest.$ac_ext >&5
55024 eval "$as_ac_var=no"
55026 rm -f conftest.err conftest.$ac_objext \
55027 conftest$ac_exeext conftest.$ac_ext
55029 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55030 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55031 if test `eval echo '${'$as_ac_var'}'` = yes; then
55032 cat >>confdefs.h <<_ACEOF
55033 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55034 _ACEOF
55037 done
55039 else
55041 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
55042 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
55043 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
55044 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
55045 echo $ECHO_N "(cached) $ECHO_C" >&6
55046 else
55050 ac_ext=cc
55051 ac_cpp='$CXXCPP $CPPFLAGS'
55052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55056 cat >conftest.$ac_ext <<_ACEOF
55057 /* confdefs.h. */
55058 _ACEOF
55059 cat confdefs.h >>conftest.$ac_ext
55060 cat >>conftest.$ac_ext <<_ACEOF
55061 /* end confdefs.h. */
55062 #include <math.h>
55064 main ()
55066 _copysign(0, 0);
55068 return 0;
55070 _ACEOF
55071 rm -f conftest.$ac_objext
55072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55073 (eval $ac_compile) 2>conftest.er1
55074 ac_status=$?
55075 grep -v '^ *+' conftest.er1 >conftest.err
55076 rm -f conftest.er1
55077 cat conftest.err >&5
55078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55079 (exit $ac_status); } &&
55080 { ac_try='test -z "$ac_cxx_werror_flag"
55081 || test ! -s conftest.err'
55082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55083 (eval $ac_try) 2>&5
55084 ac_status=$?
55085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55086 (exit $ac_status); }; } &&
55087 { ac_try='test -s conftest.$ac_objext'
55088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55089 (eval $ac_try) 2>&5
55090 ac_status=$?
55091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55092 (exit $ac_status); }; }; then
55093 glibcxx_cv_func__copysign_use=yes
55094 else
55095 echo "$as_me: failed program was:" >&5
55096 sed 's/^/| /' conftest.$ac_ext >&5
55098 glibcxx_cv_func__copysign_use=no
55100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55101 ac_ext=c
55102 ac_cpp='$CPP $CPPFLAGS'
55103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55111 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
55112 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
55114 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
55116 for ac_func in _copysign
55118 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55119 echo "$as_me:$LINENO: checking for $ac_func" >&5
55120 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55121 if eval "test \"\${$as_ac_var+set}\" = set"; then
55122 echo $ECHO_N "(cached) $ECHO_C" >&6
55123 else
55124 if test x$gcc_no_link = xyes; then
55125 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55126 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55127 { (exit 1); exit 1; }; }
55129 cat >conftest.$ac_ext <<_ACEOF
55130 /* confdefs.h. */
55131 _ACEOF
55132 cat confdefs.h >>conftest.$ac_ext
55133 cat >>conftest.$ac_ext <<_ACEOF
55134 /* end confdefs.h. */
55135 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55137 #define $ac_func innocuous_$ac_func
55139 /* System header to define __stub macros and hopefully few prototypes,
55140 which can conflict with char $ac_func (); below.
55141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55142 <limits.h> exists even on freestanding compilers. */
55144 #ifdef __STDC__
55145 # include <limits.h>
55146 #else
55147 # include <assert.h>
55148 #endif
55150 #undef $ac_func
55152 /* Override any gcc2 internal prototype to avoid an error. */
55153 #ifdef __cplusplus
55154 extern "C"
55156 #endif
55157 /* We use char because int might match the return type of a gcc2
55158 builtin and then its argument prototype would still apply. */
55159 char $ac_func ();
55160 /* The GNU C library defines this for functions which it implements
55161 to always fail with ENOSYS. Some functions are actually named
55162 something starting with __ and the normal name is an alias. */
55163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55164 choke me
55165 #else
55166 char (*f) () = $ac_func;
55167 #endif
55168 #ifdef __cplusplus
55170 #endif
55173 main ()
55175 return f != $ac_func;
55177 return 0;
55179 _ACEOF
55180 rm -f conftest.$ac_objext conftest$ac_exeext
55181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55182 (eval $ac_link) 2>conftest.er1
55183 ac_status=$?
55184 grep -v '^ *+' conftest.er1 >conftest.err
55185 rm -f conftest.er1
55186 cat conftest.err >&5
55187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55188 (exit $ac_status); } &&
55189 { ac_try='test -z "$ac_c_werror_flag"
55190 || test ! -s conftest.err'
55191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55192 (eval $ac_try) 2>&5
55193 ac_status=$?
55194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55195 (exit $ac_status); }; } &&
55196 { ac_try='test -s conftest$ac_exeext'
55197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55198 (eval $ac_try) 2>&5
55199 ac_status=$?
55200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55201 (exit $ac_status); }; }; then
55202 eval "$as_ac_var=yes"
55203 else
55204 echo "$as_me: failed program was:" >&5
55205 sed 's/^/| /' conftest.$ac_ext >&5
55207 eval "$as_ac_var=no"
55209 rm -f conftest.err conftest.$ac_objext \
55210 conftest$ac_exeext conftest.$ac_ext
55212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55213 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55214 if test `eval echo '${'$as_ac_var'}'` = yes; then
55215 cat >>confdefs.h <<_ACEOF
55216 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55217 _ACEOF
55220 done
55227 echo "$as_me:$LINENO: checking for sincos declaration" >&5
55228 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
55229 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
55230 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
55231 echo $ECHO_N "(cached) $ECHO_C" >&6
55232 else
55236 ac_ext=cc
55237 ac_cpp='$CXXCPP $CPPFLAGS'
55238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55242 cat >conftest.$ac_ext <<_ACEOF
55243 /* confdefs.h. */
55244 _ACEOF
55245 cat confdefs.h >>conftest.$ac_ext
55246 cat >>conftest.$ac_ext <<_ACEOF
55247 /* end confdefs.h. */
55248 #include <math.h>
55250 main ()
55252 sincos(0, 0, 0);
55254 return 0;
55256 _ACEOF
55257 rm -f conftest.$ac_objext
55258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55259 (eval $ac_compile) 2>conftest.er1
55260 ac_status=$?
55261 grep -v '^ *+' conftest.er1 >conftest.err
55262 rm -f conftest.er1
55263 cat conftest.err >&5
55264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55265 (exit $ac_status); } &&
55266 { ac_try='test -z "$ac_cxx_werror_flag"
55267 || test ! -s conftest.err'
55268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55269 (eval $ac_try) 2>&5
55270 ac_status=$?
55271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55272 (exit $ac_status); }; } &&
55273 { ac_try='test -s conftest.$ac_objext'
55274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55275 (eval $ac_try) 2>&5
55276 ac_status=$?
55277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55278 (exit $ac_status); }; }; then
55279 glibcxx_cv_func_sincos_use=yes
55280 else
55281 echo "$as_me: failed program was:" >&5
55282 sed 's/^/| /' conftest.$ac_ext >&5
55284 glibcxx_cv_func_sincos_use=no
55286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55287 ac_ext=c
55288 ac_cpp='$CPP $CPPFLAGS'
55289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55297 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
55298 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
55300 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
55302 for ac_func in sincos
55304 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55305 echo "$as_me:$LINENO: checking for $ac_func" >&5
55306 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55307 if eval "test \"\${$as_ac_var+set}\" = set"; then
55308 echo $ECHO_N "(cached) $ECHO_C" >&6
55309 else
55310 if test x$gcc_no_link = xyes; then
55311 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55312 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55313 { (exit 1); exit 1; }; }
55315 cat >conftest.$ac_ext <<_ACEOF
55316 /* confdefs.h. */
55317 _ACEOF
55318 cat confdefs.h >>conftest.$ac_ext
55319 cat >>conftest.$ac_ext <<_ACEOF
55320 /* end confdefs.h. */
55321 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55322 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55323 #define $ac_func innocuous_$ac_func
55325 /* System header to define __stub macros and hopefully few prototypes,
55326 which can conflict with char $ac_func (); below.
55327 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55328 <limits.h> exists even on freestanding compilers. */
55330 #ifdef __STDC__
55331 # include <limits.h>
55332 #else
55333 # include <assert.h>
55334 #endif
55336 #undef $ac_func
55338 /* Override any gcc2 internal prototype to avoid an error. */
55339 #ifdef __cplusplus
55340 extern "C"
55342 #endif
55343 /* We use char because int might match the return type of a gcc2
55344 builtin and then its argument prototype would still apply. */
55345 char $ac_func ();
55346 /* The GNU C library defines this for functions which it implements
55347 to always fail with ENOSYS. Some functions are actually named
55348 something starting with __ and the normal name is an alias. */
55349 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55350 choke me
55351 #else
55352 char (*f) () = $ac_func;
55353 #endif
55354 #ifdef __cplusplus
55356 #endif
55359 main ()
55361 return f != $ac_func;
55363 return 0;
55365 _ACEOF
55366 rm -f conftest.$ac_objext conftest$ac_exeext
55367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55368 (eval $ac_link) 2>conftest.er1
55369 ac_status=$?
55370 grep -v '^ *+' conftest.er1 >conftest.err
55371 rm -f conftest.er1
55372 cat conftest.err >&5
55373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55374 (exit $ac_status); } &&
55375 { ac_try='test -z "$ac_c_werror_flag"
55376 || test ! -s conftest.err'
55377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55378 (eval $ac_try) 2>&5
55379 ac_status=$?
55380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55381 (exit $ac_status); }; } &&
55382 { ac_try='test -s conftest$ac_exeext'
55383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55384 (eval $ac_try) 2>&5
55385 ac_status=$?
55386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55387 (exit $ac_status); }; }; then
55388 eval "$as_ac_var=yes"
55389 else
55390 echo "$as_me: failed program was:" >&5
55391 sed 's/^/| /' conftest.$ac_ext >&5
55393 eval "$as_ac_var=no"
55395 rm -f conftest.err conftest.$ac_objext \
55396 conftest$ac_exeext conftest.$ac_ext
55398 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55399 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55400 if test `eval echo '${'$as_ac_var'}'` = yes; then
55401 cat >>confdefs.h <<_ACEOF
55402 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55403 _ACEOF
55406 done
55408 else
55410 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
55411 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
55412 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
55413 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
55414 echo $ECHO_N "(cached) $ECHO_C" >&6
55415 else
55419 ac_ext=cc
55420 ac_cpp='$CXXCPP $CPPFLAGS'
55421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55425 cat >conftest.$ac_ext <<_ACEOF
55426 /* confdefs.h. */
55427 _ACEOF
55428 cat confdefs.h >>conftest.$ac_ext
55429 cat >>conftest.$ac_ext <<_ACEOF
55430 /* end confdefs.h. */
55431 #include <math.h>
55433 main ()
55435 _sincos(0, 0, 0);
55437 return 0;
55439 _ACEOF
55440 rm -f conftest.$ac_objext
55441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55442 (eval $ac_compile) 2>conftest.er1
55443 ac_status=$?
55444 grep -v '^ *+' conftest.er1 >conftest.err
55445 rm -f conftest.er1
55446 cat conftest.err >&5
55447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55448 (exit $ac_status); } &&
55449 { ac_try='test -z "$ac_cxx_werror_flag"
55450 || test ! -s conftest.err'
55451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55452 (eval $ac_try) 2>&5
55453 ac_status=$?
55454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55455 (exit $ac_status); }; } &&
55456 { ac_try='test -s conftest.$ac_objext'
55457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55458 (eval $ac_try) 2>&5
55459 ac_status=$?
55460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55461 (exit $ac_status); }; }; then
55462 glibcxx_cv_func__sincos_use=yes
55463 else
55464 echo "$as_me: failed program was:" >&5
55465 sed 's/^/| /' conftest.$ac_ext >&5
55467 glibcxx_cv_func__sincos_use=no
55469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55470 ac_ext=c
55471 ac_cpp='$CPP $CPPFLAGS'
55472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55480 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
55481 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
55483 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
55485 for ac_func in _sincos
55487 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55488 echo "$as_me:$LINENO: checking for $ac_func" >&5
55489 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55490 if eval "test \"\${$as_ac_var+set}\" = set"; then
55491 echo $ECHO_N "(cached) $ECHO_C" >&6
55492 else
55493 if test x$gcc_no_link = xyes; then
55494 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55495 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55496 { (exit 1); exit 1; }; }
55498 cat >conftest.$ac_ext <<_ACEOF
55499 /* confdefs.h. */
55500 _ACEOF
55501 cat confdefs.h >>conftest.$ac_ext
55502 cat >>conftest.$ac_ext <<_ACEOF
55503 /* end confdefs.h. */
55504 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55505 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55506 #define $ac_func innocuous_$ac_func
55508 /* System header to define __stub macros and hopefully few prototypes,
55509 which can conflict with char $ac_func (); below.
55510 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55511 <limits.h> exists even on freestanding compilers. */
55513 #ifdef __STDC__
55514 # include <limits.h>
55515 #else
55516 # include <assert.h>
55517 #endif
55519 #undef $ac_func
55521 /* Override any gcc2 internal prototype to avoid an error. */
55522 #ifdef __cplusplus
55523 extern "C"
55525 #endif
55526 /* We use char because int might match the return type of a gcc2
55527 builtin and then its argument prototype would still apply. */
55528 char $ac_func ();
55529 /* The GNU C library defines this for functions which it implements
55530 to always fail with ENOSYS. Some functions are actually named
55531 something starting with __ and the normal name is an alias. */
55532 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55533 choke me
55534 #else
55535 char (*f) () = $ac_func;
55536 #endif
55537 #ifdef __cplusplus
55539 #endif
55542 main ()
55544 return f != $ac_func;
55546 return 0;
55548 _ACEOF
55549 rm -f conftest.$ac_objext conftest$ac_exeext
55550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55551 (eval $ac_link) 2>conftest.er1
55552 ac_status=$?
55553 grep -v '^ *+' conftest.er1 >conftest.err
55554 rm -f conftest.er1
55555 cat conftest.err >&5
55556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55557 (exit $ac_status); } &&
55558 { ac_try='test -z "$ac_c_werror_flag"
55559 || test ! -s conftest.err'
55560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55561 (eval $ac_try) 2>&5
55562 ac_status=$?
55563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55564 (exit $ac_status); }; } &&
55565 { ac_try='test -s conftest$ac_exeext'
55566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55567 (eval $ac_try) 2>&5
55568 ac_status=$?
55569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55570 (exit $ac_status); }; }; then
55571 eval "$as_ac_var=yes"
55572 else
55573 echo "$as_me: failed program was:" >&5
55574 sed 's/^/| /' conftest.$ac_ext >&5
55576 eval "$as_ac_var=no"
55578 rm -f conftest.err conftest.$ac_objext \
55579 conftest$ac_exeext conftest.$ac_ext
55581 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55582 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55583 if test `eval echo '${'$as_ac_var'}'` = yes; then
55584 cat >>confdefs.h <<_ACEOF
55585 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55586 _ACEOF
55589 done
55596 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
55597 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
55598 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
55599 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
55600 echo $ECHO_N "(cached) $ECHO_C" >&6
55601 else
55605 ac_ext=cc
55606 ac_cpp='$CXXCPP $CPPFLAGS'
55607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55611 cat >conftest.$ac_ext <<_ACEOF
55612 /* confdefs.h. */
55613 _ACEOF
55614 cat confdefs.h >>conftest.$ac_ext
55615 cat >>conftest.$ac_ext <<_ACEOF
55616 /* end confdefs.h. */
55617 #include <math.h>
55618 #ifdef HAVE_IEEEFP_H
55619 #include <ieeefp.h>
55620 #endif
55623 main ()
55625 fpclass(0);
55627 return 0;
55629 _ACEOF
55630 rm -f conftest.$ac_objext
55631 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55632 (eval $ac_compile) 2>conftest.er1
55633 ac_status=$?
55634 grep -v '^ *+' conftest.er1 >conftest.err
55635 rm -f conftest.er1
55636 cat conftest.err >&5
55637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55638 (exit $ac_status); } &&
55639 { ac_try='test -z "$ac_cxx_werror_flag"
55640 || test ! -s conftest.err'
55641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55642 (eval $ac_try) 2>&5
55643 ac_status=$?
55644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55645 (exit $ac_status); }; } &&
55646 { ac_try='test -s conftest.$ac_objext'
55647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55648 (eval $ac_try) 2>&5
55649 ac_status=$?
55650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55651 (exit $ac_status); }; }; then
55652 glibcxx_cv_func_fpclass_use=yes
55653 else
55654 echo "$as_me: failed program was:" >&5
55655 sed 's/^/| /' conftest.$ac_ext >&5
55657 glibcxx_cv_func_fpclass_use=no
55659 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55660 ac_ext=c
55661 ac_cpp='$CPP $CPPFLAGS'
55662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55670 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
55671 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
55673 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
55675 for ac_func in fpclass
55677 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55678 echo "$as_me:$LINENO: checking for $ac_func" >&5
55679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55680 if eval "test \"\${$as_ac_var+set}\" = set"; then
55681 echo $ECHO_N "(cached) $ECHO_C" >&6
55682 else
55683 if test x$gcc_no_link = xyes; then
55684 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55685 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55686 { (exit 1); exit 1; }; }
55688 cat >conftest.$ac_ext <<_ACEOF
55689 /* confdefs.h. */
55690 _ACEOF
55691 cat confdefs.h >>conftest.$ac_ext
55692 cat >>conftest.$ac_ext <<_ACEOF
55693 /* end confdefs.h. */
55694 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55695 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55696 #define $ac_func innocuous_$ac_func
55698 /* System header to define __stub macros and hopefully few prototypes,
55699 which can conflict with char $ac_func (); below.
55700 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55701 <limits.h> exists even on freestanding compilers. */
55703 #ifdef __STDC__
55704 # include <limits.h>
55705 #else
55706 # include <assert.h>
55707 #endif
55709 #undef $ac_func
55711 /* Override any gcc2 internal prototype to avoid an error. */
55712 #ifdef __cplusplus
55713 extern "C"
55715 #endif
55716 /* We use char because int might match the return type of a gcc2
55717 builtin and then its argument prototype would still apply. */
55718 char $ac_func ();
55719 /* The GNU C library defines this for functions which it implements
55720 to always fail with ENOSYS. Some functions are actually named
55721 something starting with __ and the normal name is an alias. */
55722 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55723 choke me
55724 #else
55725 char (*f) () = $ac_func;
55726 #endif
55727 #ifdef __cplusplus
55729 #endif
55732 main ()
55734 return f != $ac_func;
55736 return 0;
55738 _ACEOF
55739 rm -f conftest.$ac_objext conftest$ac_exeext
55740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55741 (eval $ac_link) 2>conftest.er1
55742 ac_status=$?
55743 grep -v '^ *+' conftest.er1 >conftest.err
55744 rm -f conftest.er1
55745 cat conftest.err >&5
55746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55747 (exit $ac_status); } &&
55748 { ac_try='test -z "$ac_c_werror_flag"
55749 || test ! -s conftest.err'
55750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55751 (eval $ac_try) 2>&5
55752 ac_status=$?
55753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55754 (exit $ac_status); }; } &&
55755 { ac_try='test -s conftest$ac_exeext'
55756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55757 (eval $ac_try) 2>&5
55758 ac_status=$?
55759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55760 (exit $ac_status); }; }; then
55761 eval "$as_ac_var=yes"
55762 else
55763 echo "$as_me: failed program was:" >&5
55764 sed 's/^/| /' conftest.$ac_ext >&5
55766 eval "$as_ac_var=no"
55768 rm -f conftest.err conftest.$ac_objext \
55769 conftest$ac_exeext conftest.$ac_ext
55771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55772 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55773 if test `eval echo '${'$as_ac_var'}'` = yes; then
55774 cat >>confdefs.h <<_ACEOF
55775 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55776 _ACEOF
55779 done
55781 else
55783 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
55784 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
55785 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
55786 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
55787 echo $ECHO_N "(cached) $ECHO_C" >&6
55788 else
55792 ac_ext=cc
55793 ac_cpp='$CXXCPP $CPPFLAGS'
55794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55798 cat >conftest.$ac_ext <<_ACEOF
55799 /* confdefs.h. */
55800 _ACEOF
55801 cat confdefs.h >>conftest.$ac_ext
55802 cat >>conftest.$ac_ext <<_ACEOF
55803 /* end confdefs.h. */
55804 #include <math.h>
55805 #ifdef HAVE_IEEEFP_H
55806 #include <ieeefp.h>
55807 #endif
55810 main ()
55812 _fpclass(0);
55814 return 0;
55816 _ACEOF
55817 rm -f conftest.$ac_objext
55818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55819 (eval $ac_compile) 2>conftest.er1
55820 ac_status=$?
55821 grep -v '^ *+' conftest.er1 >conftest.err
55822 rm -f conftest.er1
55823 cat conftest.err >&5
55824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55825 (exit $ac_status); } &&
55826 { ac_try='test -z "$ac_cxx_werror_flag"
55827 || test ! -s conftest.err'
55828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55829 (eval $ac_try) 2>&5
55830 ac_status=$?
55831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55832 (exit $ac_status); }; } &&
55833 { ac_try='test -s conftest.$ac_objext'
55834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55835 (eval $ac_try) 2>&5
55836 ac_status=$?
55837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55838 (exit $ac_status); }; }; then
55839 glibcxx_cv_func__fpclass_use=yes
55840 else
55841 echo "$as_me: failed program was:" >&5
55842 sed 's/^/| /' conftest.$ac_ext >&5
55844 glibcxx_cv_func__fpclass_use=no
55846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55847 ac_ext=c
55848 ac_cpp='$CPP $CPPFLAGS'
55849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55857 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
55858 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
55860 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
55862 for ac_func in _fpclass
55864 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55865 echo "$as_me:$LINENO: checking for $ac_func" >&5
55866 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55867 if eval "test \"\${$as_ac_var+set}\" = set"; then
55868 echo $ECHO_N "(cached) $ECHO_C" >&6
55869 else
55870 if test x$gcc_no_link = xyes; then
55871 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55872 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55873 { (exit 1); exit 1; }; }
55875 cat >conftest.$ac_ext <<_ACEOF
55876 /* confdefs.h. */
55877 _ACEOF
55878 cat confdefs.h >>conftest.$ac_ext
55879 cat >>conftest.$ac_ext <<_ACEOF
55880 /* end confdefs.h. */
55881 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55882 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55883 #define $ac_func innocuous_$ac_func
55885 /* System header to define __stub macros and hopefully few prototypes,
55886 which can conflict with char $ac_func (); below.
55887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55888 <limits.h> exists even on freestanding compilers. */
55890 #ifdef __STDC__
55891 # include <limits.h>
55892 #else
55893 # include <assert.h>
55894 #endif
55896 #undef $ac_func
55898 /* Override any gcc2 internal prototype to avoid an error. */
55899 #ifdef __cplusplus
55900 extern "C"
55902 #endif
55903 /* We use char because int might match the return type of a gcc2
55904 builtin and then its argument prototype would still apply. */
55905 char $ac_func ();
55906 /* The GNU C library defines this for functions which it implements
55907 to always fail with ENOSYS. Some functions are actually named
55908 something starting with __ and the normal name is an alias. */
55909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55910 choke me
55911 #else
55912 char (*f) () = $ac_func;
55913 #endif
55914 #ifdef __cplusplus
55916 #endif
55919 main ()
55921 return f != $ac_func;
55923 return 0;
55925 _ACEOF
55926 rm -f conftest.$ac_objext conftest$ac_exeext
55927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55928 (eval $ac_link) 2>conftest.er1
55929 ac_status=$?
55930 grep -v '^ *+' conftest.er1 >conftest.err
55931 rm -f conftest.er1
55932 cat conftest.err >&5
55933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55934 (exit $ac_status); } &&
55935 { ac_try='test -z "$ac_c_werror_flag"
55936 || test ! -s conftest.err'
55937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55938 (eval $ac_try) 2>&5
55939 ac_status=$?
55940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55941 (exit $ac_status); }; } &&
55942 { ac_try='test -s conftest$ac_exeext'
55943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55944 (eval $ac_try) 2>&5
55945 ac_status=$?
55946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55947 (exit $ac_status); }; }; then
55948 eval "$as_ac_var=yes"
55949 else
55950 echo "$as_me: failed program was:" >&5
55951 sed 's/^/| /' conftest.$ac_ext >&5
55953 eval "$as_ac_var=no"
55955 rm -f conftest.err conftest.$ac_objext \
55956 conftest$ac_exeext conftest.$ac_ext
55958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55959 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55960 if test `eval echo '${'$as_ac_var'}'` = yes; then
55961 cat >>confdefs.h <<_ACEOF
55962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55963 _ACEOF
55966 done
55973 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
55974 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
55975 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
55976 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
55977 echo $ECHO_N "(cached) $ECHO_C" >&6
55978 else
55982 ac_ext=cc
55983 ac_cpp='$CXXCPP $CPPFLAGS'
55984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55988 cat >conftest.$ac_ext <<_ACEOF
55989 /* confdefs.h. */
55990 _ACEOF
55991 cat confdefs.h >>conftest.$ac_ext
55992 cat >>conftest.$ac_ext <<_ACEOF
55993 /* end confdefs.h. */
55994 #include <math.h>
55995 #ifdef HAVE_IEEEFP_H
55996 #include <ieeefp.h>
55997 #endif
56000 main ()
56002 qfpclass(0);
56004 return 0;
56006 _ACEOF
56007 rm -f conftest.$ac_objext
56008 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56009 (eval $ac_compile) 2>conftest.er1
56010 ac_status=$?
56011 grep -v '^ *+' conftest.er1 >conftest.err
56012 rm -f conftest.er1
56013 cat conftest.err >&5
56014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56015 (exit $ac_status); } &&
56016 { ac_try='test -z "$ac_cxx_werror_flag"
56017 || test ! -s conftest.err'
56018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56019 (eval $ac_try) 2>&5
56020 ac_status=$?
56021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56022 (exit $ac_status); }; } &&
56023 { ac_try='test -s conftest.$ac_objext'
56024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56025 (eval $ac_try) 2>&5
56026 ac_status=$?
56027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56028 (exit $ac_status); }; }; then
56029 glibcxx_cv_func_qfpclass_use=yes
56030 else
56031 echo "$as_me: failed program was:" >&5
56032 sed 's/^/| /' conftest.$ac_ext >&5
56034 glibcxx_cv_func_qfpclass_use=no
56036 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56037 ac_ext=c
56038 ac_cpp='$CPP $CPPFLAGS'
56039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56047 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
56048 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
56050 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
56052 for ac_func in qfpclass
56054 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56055 echo "$as_me:$LINENO: checking for $ac_func" >&5
56056 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56057 if eval "test \"\${$as_ac_var+set}\" = set"; then
56058 echo $ECHO_N "(cached) $ECHO_C" >&6
56059 else
56060 if test x$gcc_no_link = xyes; then
56061 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56062 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56063 { (exit 1); exit 1; }; }
56065 cat >conftest.$ac_ext <<_ACEOF
56066 /* confdefs.h. */
56067 _ACEOF
56068 cat confdefs.h >>conftest.$ac_ext
56069 cat >>conftest.$ac_ext <<_ACEOF
56070 /* end confdefs.h. */
56071 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56072 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56073 #define $ac_func innocuous_$ac_func
56075 /* System header to define __stub macros and hopefully few prototypes,
56076 which can conflict with char $ac_func (); below.
56077 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56078 <limits.h> exists even on freestanding compilers. */
56080 #ifdef __STDC__
56081 # include <limits.h>
56082 #else
56083 # include <assert.h>
56084 #endif
56086 #undef $ac_func
56088 /* Override any gcc2 internal prototype to avoid an error. */
56089 #ifdef __cplusplus
56090 extern "C"
56092 #endif
56093 /* We use char because int might match the return type of a gcc2
56094 builtin and then its argument prototype would still apply. */
56095 char $ac_func ();
56096 /* The GNU C library defines this for functions which it implements
56097 to always fail with ENOSYS. Some functions are actually named
56098 something starting with __ and the normal name is an alias. */
56099 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56100 choke me
56101 #else
56102 char (*f) () = $ac_func;
56103 #endif
56104 #ifdef __cplusplus
56106 #endif
56109 main ()
56111 return f != $ac_func;
56113 return 0;
56115 _ACEOF
56116 rm -f conftest.$ac_objext conftest$ac_exeext
56117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56118 (eval $ac_link) 2>conftest.er1
56119 ac_status=$?
56120 grep -v '^ *+' conftest.er1 >conftest.err
56121 rm -f conftest.er1
56122 cat conftest.err >&5
56123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56124 (exit $ac_status); } &&
56125 { ac_try='test -z "$ac_c_werror_flag"
56126 || test ! -s conftest.err'
56127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56128 (eval $ac_try) 2>&5
56129 ac_status=$?
56130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56131 (exit $ac_status); }; } &&
56132 { ac_try='test -s conftest$ac_exeext'
56133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56134 (eval $ac_try) 2>&5
56135 ac_status=$?
56136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56137 (exit $ac_status); }; }; then
56138 eval "$as_ac_var=yes"
56139 else
56140 echo "$as_me: failed program was:" >&5
56141 sed 's/^/| /' conftest.$ac_ext >&5
56143 eval "$as_ac_var=no"
56145 rm -f conftest.err conftest.$ac_objext \
56146 conftest$ac_exeext conftest.$ac_ext
56148 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56149 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56150 if test `eval echo '${'$as_ac_var'}'` = yes; then
56151 cat >>confdefs.h <<_ACEOF
56152 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56153 _ACEOF
56156 done
56158 else
56160 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
56161 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
56162 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
56163 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
56164 echo $ECHO_N "(cached) $ECHO_C" >&6
56165 else
56169 ac_ext=cc
56170 ac_cpp='$CXXCPP $CPPFLAGS'
56171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56175 cat >conftest.$ac_ext <<_ACEOF
56176 /* confdefs.h. */
56177 _ACEOF
56178 cat confdefs.h >>conftest.$ac_ext
56179 cat >>conftest.$ac_ext <<_ACEOF
56180 /* end confdefs.h. */
56181 #include <math.h>
56182 #ifdef HAVE_IEEEFP_H
56183 #include <ieeefp.h>
56184 #endif
56187 main ()
56189 _qfpclass(0);
56191 return 0;
56193 _ACEOF
56194 rm -f conftest.$ac_objext
56195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56196 (eval $ac_compile) 2>conftest.er1
56197 ac_status=$?
56198 grep -v '^ *+' conftest.er1 >conftest.err
56199 rm -f conftest.er1
56200 cat conftest.err >&5
56201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56202 (exit $ac_status); } &&
56203 { ac_try='test -z "$ac_cxx_werror_flag"
56204 || test ! -s conftest.err'
56205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56206 (eval $ac_try) 2>&5
56207 ac_status=$?
56208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56209 (exit $ac_status); }; } &&
56210 { ac_try='test -s conftest.$ac_objext'
56211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56212 (eval $ac_try) 2>&5
56213 ac_status=$?
56214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56215 (exit $ac_status); }; }; then
56216 glibcxx_cv_func__qfpclass_use=yes
56217 else
56218 echo "$as_me: failed program was:" >&5
56219 sed 's/^/| /' conftest.$ac_ext >&5
56221 glibcxx_cv_func__qfpclass_use=no
56223 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56224 ac_ext=c
56225 ac_cpp='$CPP $CPPFLAGS'
56226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56234 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
56235 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
56237 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
56239 for ac_func in _qfpclass
56241 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56242 echo "$as_me:$LINENO: checking for $ac_func" >&5
56243 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56244 if eval "test \"\${$as_ac_var+set}\" = set"; then
56245 echo $ECHO_N "(cached) $ECHO_C" >&6
56246 else
56247 if test x$gcc_no_link = xyes; then
56248 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56249 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56250 { (exit 1); exit 1; }; }
56252 cat >conftest.$ac_ext <<_ACEOF
56253 /* confdefs.h. */
56254 _ACEOF
56255 cat confdefs.h >>conftest.$ac_ext
56256 cat >>conftest.$ac_ext <<_ACEOF
56257 /* end confdefs.h. */
56258 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56259 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56260 #define $ac_func innocuous_$ac_func
56262 /* System header to define __stub macros and hopefully few prototypes,
56263 which can conflict with char $ac_func (); below.
56264 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56265 <limits.h> exists even on freestanding compilers. */
56267 #ifdef __STDC__
56268 # include <limits.h>
56269 #else
56270 # include <assert.h>
56271 #endif
56273 #undef $ac_func
56275 /* Override any gcc2 internal prototype to avoid an error. */
56276 #ifdef __cplusplus
56277 extern "C"
56279 #endif
56280 /* We use char because int might match the return type of a gcc2
56281 builtin and then its argument prototype would still apply. */
56282 char $ac_func ();
56283 /* The GNU C library defines this for functions which it implements
56284 to always fail with ENOSYS. Some functions are actually named
56285 something starting with __ and the normal name is an alias. */
56286 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56287 choke me
56288 #else
56289 char (*f) () = $ac_func;
56290 #endif
56291 #ifdef __cplusplus
56293 #endif
56296 main ()
56298 return f != $ac_func;
56300 return 0;
56302 _ACEOF
56303 rm -f conftest.$ac_objext conftest$ac_exeext
56304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56305 (eval $ac_link) 2>conftest.er1
56306 ac_status=$?
56307 grep -v '^ *+' conftest.er1 >conftest.err
56308 rm -f conftest.er1
56309 cat conftest.err >&5
56310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56311 (exit $ac_status); } &&
56312 { ac_try='test -z "$ac_c_werror_flag"
56313 || test ! -s conftest.err'
56314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56315 (eval $ac_try) 2>&5
56316 ac_status=$?
56317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56318 (exit $ac_status); }; } &&
56319 { ac_try='test -s conftest$ac_exeext'
56320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56321 (eval $ac_try) 2>&5
56322 ac_status=$?
56323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56324 (exit $ac_status); }; }; then
56325 eval "$as_ac_var=yes"
56326 else
56327 echo "$as_me: failed program was:" >&5
56328 sed 's/^/| /' conftest.$ac_ext >&5
56330 eval "$as_ac_var=no"
56332 rm -f conftest.err conftest.$ac_objext \
56333 conftest$ac_exeext conftest.$ac_ext
56335 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56336 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56337 if test `eval echo '${'$as_ac_var'}'` = yes; then
56338 cat >>confdefs.h <<_ACEOF
56339 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56340 _ACEOF
56343 done
56350 echo "$as_me:$LINENO: checking for hypot declaration" >&5
56351 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
56352 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
56353 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
56354 echo $ECHO_N "(cached) $ECHO_C" >&6
56355 else
56359 ac_ext=cc
56360 ac_cpp='$CXXCPP $CPPFLAGS'
56361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56365 cat >conftest.$ac_ext <<_ACEOF
56366 /* confdefs.h. */
56367 _ACEOF
56368 cat confdefs.h >>conftest.$ac_ext
56369 cat >>conftest.$ac_ext <<_ACEOF
56370 /* end confdefs.h. */
56371 #include <math.h>
56373 main ()
56375 hypot(0, 0);
56377 return 0;
56379 _ACEOF
56380 rm -f conftest.$ac_objext
56381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56382 (eval $ac_compile) 2>conftest.er1
56383 ac_status=$?
56384 grep -v '^ *+' conftest.er1 >conftest.err
56385 rm -f conftest.er1
56386 cat conftest.err >&5
56387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56388 (exit $ac_status); } &&
56389 { ac_try='test -z "$ac_cxx_werror_flag"
56390 || test ! -s conftest.err'
56391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56392 (eval $ac_try) 2>&5
56393 ac_status=$?
56394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56395 (exit $ac_status); }; } &&
56396 { ac_try='test -s conftest.$ac_objext'
56397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56398 (eval $ac_try) 2>&5
56399 ac_status=$?
56400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56401 (exit $ac_status); }; }; then
56402 glibcxx_cv_func_hypot_use=yes
56403 else
56404 echo "$as_me: failed program was:" >&5
56405 sed 's/^/| /' conftest.$ac_ext >&5
56407 glibcxx_cv_func_hypot_use=no
56409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56410 ac_ext=c
56411 ac_cpp='$CPP $CPPFLAGS'
56412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56420 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
56421 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
56423 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
56425 for ac_func in hypot
56427 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56428 echo "$as_me:$LINENO: checking for $ac_func" >&5
56429 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56430 if eval "test \"\${$as_ac_var+set}\" = set"; then
56431 echo $ECHO_N "(cached) $ECHO_C" >&6
56432 else
56433 if test x$gcc_no_link = xyes; then
56434 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56435 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56436 { (exit 1); exit 1; }; }
56438 cat >conftest.$ac_ext <<_ACEOF
56439 /* confdefs.h. */
56440 _ACEOF
56441 cat confdefs.h >>conftest.$ac_ext
56442 cat >>conftest.$ac_ext <<_ACEOF
56443 /* end confdefs.h. */
56444 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56445 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56446 #define $ac_func innocuous_$ac_func
56448 /* System header to define __stub macros and hopefully few prototypes,
56449 which can conflict with char $ac_func (); below.
56450 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56451 <limits.h> exists even on freestanding compilers. */
56453 #ifdef __STDC__
56454 # include <limits.h>
56455 #else
56456 # include <assert.h>
56457 #endif
56459 #undef $ac_func
56461 /* Override any gcc2 internal prototype to avoid an error. */
56462 #ifdef __cplusplus
56463 extern "C"
56465 #endif
56466 /* We use char because int might match the return type of a gcc2
56467 builtin and then its argument prototype would still apply. */
56468 char $ac_func ();
56469 /* The GNU C library defines this for functions which it implements
56470 to always fail with ENOSYS. Some functions are actually named
56471 something starting with __ and the normal name is an alias. */
56472 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56473 choke me
56474 #else
56475 char (*f) () = $ac_func;
56476 #endif
56477 #ifdef __cplusplus
56479 #endif
56482 main ()
56484 return f != $ac_func;
56486 return 0;
56488 _ACEOF
56489 rm -f conftest.$ac_objext conftest$ac_exeext
56490 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56491 (eval $ac_link) 2>conftest.er1
56492 ac_status=$?
56493 grep -v '^ *+' conftest.er1 >conftest.err
56494 rm -f conftest.er1
56495 cat conftest.err >&5
56496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56497 (exit $ac_status); } &&
56498 { ac_try='test -z "$ac_c_werror_flag"
56499 || test ! -s conftest.err'
56500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56501 (eval $ac_try) 2>&5
56502 ac_status=$?
56503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56504 (exit $ac_status); }; } &&
56505 { ac_try='test -s conftest$ac_exeext'
56506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56507 (eval $ac_try) 2>&5
56508 ac_status=$?
56509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56510 (exit $ac_status); }; }; then
56511 eval "$as_ac_var=yes"
56512 else
56513 echo "$as_me: failed program was:" >&5
56514 sed 's/^/| /' conftest.$ac_ext >&5
56516 eval "$as_ac_var=no"
56518 rm -f conftest.err conftest.$ac_objext \
56519 conftest$ac_exeext conftest.$ac_ext
56521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56522 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56523 if test `eval echo '${'$as_ac_var'}'` = yes; then
56524 cat >>confdefs.h <<_ACEOF
56525 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56526 _ACEOF
56529 done
56531 else
56533 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
56534 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
56535 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
56536 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
56537 echo $ECHO_N "(cached) $ECHO_C" >&6
56538 else
56542 ac_ext=cc
56543 ac_cpp='$CXXCPP $CPPFLAGS'
56544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56548 cat >conftest.$ac_ext <<_ACEOF
56549 /* confdefs.h. */
56550 _ACEOF
56551 cat confdefs.h >>conftest.$ac_ext
56552 cat >>conftest.$ac_ext <<_ACEOF
56553 /* end confdefs.h. */
56554 #include <math.h>
56556 main ()
56558 _hypot(0, 0);
56560 return 0;
56562 _ACEOF
56563 rm -f conftest.$ac_objext
56564 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56565 (eval $ac_compile) 2>conftest.er1
56566 ac_status=$?
56567 grep -v '^ *+' conftest.er1 >conftest.err
56568 rm -f conftest.er1
56569 cat conftest.err >&5
56570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56571 (exit $ac_status); } &&
56572 { ac_try='test -z "$ac_cxx_werror_flag"
56573 || test ! -s conftest.err'
56574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56575 (eval $ac_try) 2>&5
56576 ac_status=$?
56577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56578 (exit $ac_status); }; } &&
56579 { ac_try='test -s conftest.$ac_objext'
56580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56581 (eval $ac_try) 2>&5
56582 ac_status=$?
56583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56584 (exit $ac_status); }; }; then
56585 glibcxx_cv_func__hypot_use=yes
56586 else
56587 echo "$as_me: failed program was:" >&5
56588 sed 's/^/| /' conftest.$ac_ext >&5
56590 glibcxx_cv_func__hypot_use=no
56592 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56593 ac_ext=c
56594 ac_cpp='$CPP $CPPFLAGS'
56595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56603 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
56604 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
56606 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
56608 for ac_func in _hypot
56610 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56611 echo "$as_me:$LINENO: checking for $ac_func" >&5
56612 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56613 if eval "test \"\${$as_ac_var+set}\" = set"; then
56614 echo $ECHO_N "(cached) $ECHO_C" >&6
56615 else
56616 if test x$gcc_no_link = xyes; then
56617 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56618 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56619 { (exit 1); exit 1; }; }
56621 cat >conftest.$ac_ext <<_ACEOF
56622 /* confdefs.h. */
56623 _ACEOF
56624 cat confdefs.h >>conftest.$ac_ext
56625 cat >>conftest.$ac_ext <<_ACEOF
56626 /* end confdefs.h. */
56627 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56628 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56629 #define $ac_func innocuous_$ac_func
56631 /* System header to define __stub macros and hopefully few prototypes,
56632 which can conflict with char $ac_func (); below.
56633 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56634 <limits.h> exists even on freestanding compilers. */
56636 #ifdef __STDC__
56637 # include <limits.h>
56638 #else
56639 # include <assert.h>
56640 #endif
56642 #undef $ac_func
56644 /* Override any gcc2 internal prototype to avoid an error. */
56645 #ifdef __cplusplus
56646 extern "C"
56648 #endif
56649 /* We use char because int might match the return type of a gcc2
56650 builtin and then its argument prototype would still apply. */
56651 char $ac_func ();
56652 /* The GNU C library defines this for functions which it implements
56653 to always fail with ENOSYS. Some functions are actually named
56654 something starting with __ and the normal name is an alias. */
56655 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56656 choke me
56657 #else
56658 char (*f) () = $ac_func;
56659 #endif
56660 #ifdef __cplusplus
56662 #endif
56665 main ()
56667 return f != $ac_func;
56669 return 0;
56671 _ACEOF
56672 rm -f conftest.$ac_objext conftest$ac_exeext
56673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56674 (eval $ac_link) 2>conftest.er1
56675 ac_status=$?
56676 grep -v '^ *+' conftest.er1 >conftest.err
56677 rm -f conftest.er1
56678 cat conftest.err >&5
56679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56680 (exit $ac_status); } &&
56681 { ac_try='test -z "$ac_c_werror_flag"
56682 || test ! -s conftest.err'
56683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56684 (eval $ac_try) 2>&5
56685 ac_status=$?
56686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56687 (exit $ac_status); }; } &&
56688 { ac_try='test -s conftest$ac_exeext'
56689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56690 (eval $ac_try) 2>&5
56691 ac_status=$?
56692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56693 (exit $ac_status); }; }; then
56694 eval "$as_ac_var=yes"
56695 else
56696 echo "$as_me: failed program was:" >&5
56697 sed 's/^/| /' conftest.$ac_ext >&5
56699 eval "$as_ac_var=no"
56701 rm -f conftest.err conftest.$ac_objext \
56702 conftest$ac_exeext conftest.$ac_ext
56704 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56705 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56706 if test `eval echo '${'$as_ac_var'}'` = yes; then
56707 cat >>confdefs.h <<_ACEOF
56708 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56709 _ACEOF
56712 done
56719 echo "$as_me:$LINENO: checking for float trig functions" >&5
56720 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
56721 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
56722 echo $ECHO_N "(cached) $ECHO_C" >&6
56723 else
56727 ac_ext=cc
56728 ac_cpp='$CXXCPP $CPPFLAGS'
56729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56733 cat >conftest.$ac_ext <<_ACEOF
56734 /* confdefs.h. */
56735 _ACEOF
56736 cat confdefs.h >>conftest.$ac_ext
56737 cat >>conftest.$ac_ext <<_ACEOF
56738 /* end confdefs.h. */
56739 #include <math.h>
56741 main ()
56743 `for x in acosf asinf atanf \
56744 cosf sinf tanf \
56745 coshf sinhf tanhf; do echo "$x (0);"; done`
56747 return 0;
56749 _ACEOF
56750 rm -f conftest.$ac_objext
56751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56752 (eval $ac_compile) 2>conftest.er1
56753 ac_status=$?
56754 grep -v '^ *+' conftest.er1 >conftest.err
56755 rm -f conftest.er1
56756 cat conftest.err >&5
56757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56758 (exit $ac_status); } &&
56759 { ac_try='test -z "$ac_cxx_werror_flag"
56760 || test ! -s conftest.err'
56761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56762 (eval $ac_try) 2>&5
56763 ac_status=$?
56764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56765 (exit $ac_status); }; } &&
56766 { ac_try='test -s conftest.$ac_objext'
56767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56768 (eval $ac_try) 2>&5
56769 ac_status=$?
56770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56771 (exit $ac_status); }; }; then
56772 glibcxx_cv_func_float_trig_use=yes
56773 else
56774 echo "$as_me: failed program was:" >&5
56775 sed 's/^/| /' conftest.$ac_ext >&5
56777 glibcxx_cv_func_float_trig_use=no
56779 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56780 ac_ext=c
56781 ac_cpp='$CPP $CPPFLAGS'
56782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56788 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
56789 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
56790 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
56800 for ac_func in acosf asinf atanf \
56801 cosf sinf tanf \
56802 coshf sinhf tanhf
56804 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56805 echo "$as_me:$LINENO: checking for $ac_func" >&5
56806 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56807 if eval "test \"\${$as_ac_var+set}\" = set"; then
56808 echo $ECHO_N "(cached) $ECHO_C" >&6
56809 else
56810 if test x$gcc_no_link = xyes; then
56811 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56812 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56813 { (exit 1); exit 1; }; }
56815 cat >conftest.$ac_ext <<_ACEOF
56816 /* confdefs.h. */
56817 _ACEOF
56818 cat confdefs.h >>conftest.$ac_ext
56819 cat >>conftest.$ac_ext <<_ACEOF
56820 /* end confdefs.h. */
56821 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56822 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56823 #define $ac_func innocuous_$ac_func
56825 /* System header to define __stub macros and hopefully few prototypes,
56826 which can conflict with char $ac_func (); below.
56827 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56828 <limits.h> exists even on freestanding compilers. */
56830 #ifdef __STDC__
56831 # include <limits.h>
56832 #else
56833 # include <assert.h>
56834 #endif
56836 #undef $ac_func
56838 /* Override any gcc2 internal prototype to avoid an error. */
56839 #ifdef __cplusplus
56840 extern "C"
56842 #endif
56843 /* We use char because int might match the return type of a gcc2
56844 builtin and then its argument prototype would still apply. */
56845 char $ac_func ();
56846 /* The GNU C library defines this for functions which it implements
56847 to always fail with ENOSYS. Some functions are actually named
56848 something starting with __ and the normal name is an alias. */
56849 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56850 choke me
56851 #else
56852 char (*f) () = $ac_func;
56853 #endif
56854 #ifdef __cplusplus
56856 #endif
56859 main ()
56861 return f != $ac_func;
56863 return 0;
56865 _ACEOF
56866 rm -f conftest.$ac_objext conftest$ac_exeext
56867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56868 (eval $ac_link) 2>conftest.er1
56869 ac_status=$?
56870 grep -v '^ *+' conftest.er1 >conftest.err
56871 rm -f conftest.er1
56872 cat conftest.err >&5
56873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56874 (exit $ac_status); } &&
56875 { ac_try='test -z "$ac_c_werror_flag"
56876 || test ! -s conftest.err'
56877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56878 (eval $ac_try) 2>&5
56879 ac_status=$?
56880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56881 (exit $ac_status); }; } &&
56882 { ac_try='test -s conftest$ac_exeext'
56883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56884 (eval $ac_try) 2>&5
56885 ac_status=$?
56886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56887 (exit $ac_status); }; }; then
56888 eval "$as_ac_var=yes"
56889 else
56890 echo "$as_me: failed program was:" >&5
56891 sed 's/^/| /' conftest.$ac_ext >&5
56893 eval "$as_ac_var=no"
56895 rm -f conftest.err conftest.$ac_objext \
56896 conftest$ac_exeext conftest.$ac_ext
56898 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56899 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56900 if test `eval echo '${'$as_ac_var'}'` = yes; then
56901 cat >>confdefs.h <<_ACEOF
56902 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56903 _ACEOF
56906 done
56911 echo "$as_me:$LINENO: checking for float round functions" >&5
56912 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
56913 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
56914 echo $ECHO_N "(cached) $ECHO_C" >&6
56915 else
56919 ac_ext=cc
56920 ac_cpp='$CXXCPP $CPPFLAGS'
56921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56925 cat >conftest.$ac_ext <<_ACEOF
56926 /* confdefs.h. */
56927 _ACEOF
56928 cat confdefs.h >>conftest.$ac_ext
56929 cat >>conftest.$ac_ext <<_ACEOF
56930 /* end confdefs.h. */
56931 #include <math.h>
56933 main ()
56935 `for x in ceilf floorf; do echo "$x (0);"; done`
56937 return 0;
56939 _ACEOF
56940 rm -f conftest.$ac_objext
56941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56942 (eval $ac_compile) 2>conftest.er1
56943 ac_status=$?
56944 grep -v '^ *+' conftest.er1 >conftest.err
56945 rm -f conftest.er1
56946 cat conftest.err >&5
56947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56948 (exit $ac_status); } &&
56949 { ac_try='test -z "$ac_cxx_werror_flag"
56950 || test ! -s conftest.err'
56951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56952 (eval $ac_try) 2>&5
56953 ac_status=$?
56954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56955 (exit $ac_status); }; } &&
56956 { ac_try='test -s conftest.$ac_objext'
56957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56958 (eval $ac_try) 2>&5
56959 ac_status=$?
56960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56961 (exit $ac_status); }; }; then
56962 glibcxx_cv_func_float_round_use=yes
56963 else
56964 echo "$as_me: failed program was:" >&5
56965 sed 's/^/| /' conftest.$ac_ext >&5
56967 glibcxx_cv_func_float_round_use=no
56969 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56970 ac_ext=c
56971 ac_cpp='$CPP $CPPFLAGS'
56972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56978 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
56979 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
56980 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
56983 for ac_func in ceilf floorf
56985 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56986 echo "$as_me:$LINENO: checking for $ac_func" >&5
56987 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56988 if eval "test \"\${$as_ac_var+set}\" = set"; then
56989 echo $ECHO_N "(cached) $ECHO_C" >&6
56990 else
56991 if test x$gcc_no_link = xyes; then
56992 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56993 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56994 { (exit 1); exit 1; }; }
56996 cat >conftest.$ac_ext <<_ACEOF
56997 /* confdefs.h. */
56998 _ACEOF
56999 cat confdefs.h >>conftest.$ac_ext
57000 cat >>conftest.$ac_ext <<_ACEOF
57001 /* end confdefs.h. */
57002 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57003 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57004 #define $ac_func innocuous_$ac_func
57006 /* System header to define __stub macros and hopefully few prototypes,
57007 which can conflict with char $ac_func (); below.
57008 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57009 <limits.h> exists even on freestanding compilers. */
57011 #ifdef __STDC__
57012 # include <limits.h>
57013 #else
57014 # include <assert.h>
57015 #endif
57017 #undef $ac_func
57019 /* Override any gcc2 internal prototype to avoid an error. */
57020 #ifdef __cplusplus
57021 extern "C"
57023 #endif
57024 /* We use char because int might match the return type of a gcc2
57025 builtin and then its argument prototype would still apply. */
57026 char $ac_func ();
57027 /* The GNU C library defines this for functions which it implements
57028 to always fail with ENOSYS. Some functions are actually named
57029 something starting with __ and the normal name is an alias. */
57030 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57031 choke me
57032 #else
57033 char (*f) () = $ac_func;
57034 #endif
57035 #ifdef __cplusplus
57037 #endif
57040 main ()
57042 return f != $ac_func;
57044 return 0;
57046 _ACEOF
57047 rm -f conftest.$ac_objext conftest$ac_exeext
57048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57049 (eval $ac_link) 2>conftest.er1
57050 ac_status=$?
57051 grep -v '^ *+' conftest.er1 >conftest.err
57052 rm -f conftest.er1
57053 cat conftest.err >&5
57054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57055 (exit $ac_status); } &&
57056 { ac_try='test -z "$ac_c_werror_flag"
57057 || test ! -s conftest.err'
57058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57059 (eval $ac_try) 2>&5
57060 ac_status=$?
57061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57062 (exit $ac_status); }; } &&
57063 { ac_try='test -s conftest$ac_exeext'
57064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57065 (eval $ac_try) 2>&5
57066 ac_status=$?
57067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57068 (exit $ac_status); }; }; then
57069 eval "$as_ac_var=yes"
57070 else
57071 echo "$as_me: failed program was:" >&5
57072 sed 's/^/| /' conftest.$ac_ext >&5
57074 eval "$as_ac_var=no"
57076 rm -f conftest.err conftest.$ac_objext \
57077 conftest$ac_exeext conftest.$ac_ext
57079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57080 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57081 if test `eval echo '${'$as_ac_var'}'` = yes; then
57082 cat >>confdefs.h <<_ACEOF
57083 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57084 _ACEOF
57087 done
57093 echo "$as_me:$LINENO: checking for expf declaration" >&5
57094 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
57095 if test x${glibcxx_cv_func_expf_use+set} != xset; then
57096 if test "${glibcxx_cv_func_expf_use+set}" = set; then
57097 echo $ECHO_N "(cached) $ECHO_C" >&6
57098 else
57102 ac_ext=cc
57103 ac_cpp='$CXXCPP $CPPFLAGS'
57104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57108 cat >conftest.$ac_ext <<_ACEOF
57109 /* confdefs.h. */
57110 _ACEOF
57111 cat confdefs.h >>conftest.$ac_ext
57112 cat >>conftest.$ac_ext <<_ACEOF
57113 /* end confdefs.h. */
57114 #include <math.h>
57115 #ifdef HAVE_IEEEFP_H
57116 #include <ieeefp.h>
57117 #endif
57120 main ()
57122 expf(0);
57124 return 0;
57126 _ACEOF
57127 rm -f conftest.$ac_objext
57128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57129 (eval $ac_compile) 2>conftest.er1
57130 ac_status=$?
57131 grep -v '^ *+' conftest.er1 >conftest.err
57132 rm -f conftest.er1
57133 cat conftest.err >&5
57134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57135 (exit $ac_status); } &&
57136 { ac_try='test -z "$ac_cxx_werror_flag"
57137 || test ! -s conftest.err'
57138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57139 (eval $ac_try) 2>&5
57140 ac_status=$?
57141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57142 (exit $ac_status); }; } &&
57143 { ac_try='test -s conftest.$ac_objext'
57144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57145 (eval $ac_try) 2>&5
57146 ac_status=$?
57147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57148 (exit $ac_status); }; }; then
57149 glibcxx_cv_func_expf_use=yes
57150 else
57151 echo "$as_me: failed program was:" >&5
57152 sed 's/^/| /' conftest.$ac_ext >&5
57154 glibcxx_cv_func_expf_use=no
57156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57157 ac_ext=c
57158 ac_cpp='$CPP $CPPFLAGS'
57159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57167 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
57168 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
57170 if test x$glibcxx_cv_func_expf_use = x"yes"; then
57172 for ac_func in expf
57174 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57175 echo "$as_me:$LINENO: checking for $ac_func" >&5
57176 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57177 if eval "test \"\${$as_ac_var+set}\" = set"; then
57178 echo $ECHO_N "(cached) $ECHO_C" >&6
57179 else
57180 if test x$gcc_no_link = xyes; then
57181 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57182 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57183 { (exit 1); exit 1; }; }
57185 cat >conftest.$ac_ext <<_ACEOF
57186 /* confdefs.h. */
57187 _ACEOF
57188 cat confdefs.h >>conftest.$ac_ext
57189 cat >>conftest.$ac_ext <<_ACEOF
57190 /* end confdefs.h. */
57191 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57192 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57193 #define $ac_func innocuous_$ac_func
57195 /* System header to define __stub macros and hopefully few prototypes,
57196 which can conflict with char $ac_func (); below.
57197 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57198 <limits.h> exists even on freestanding compilers. */
57200 #ifdef __STDC__
57201 # include <limits.h>
57202 #else
57203 # include <assert.h>
57204 #endif
57206 #undef $ac_func
57208 /* Override any gcc2 internal prototype to avoid an error. */
57209 #ifdef __cplusplus
57210 extern "C"
57212 #endif
57213 /* We use char because int might match the return type of a gcc2
57214 builtin and then its argument prototype would still apply. */
57215 char $ac_func ();
57216 /* The GNU C library defines this for functions which it implements
57217 to always fail with ENOSYS. Some functions are actually named
57218 something starting with __ and the normal name is an alias. */
57219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57220 choke me
57221 #else
57222 char (*f) () = $ac_func;
57223 #endif
57224 #ifdef __cplusplus
57226 #endif
57229 main ()
57231 return f != $ac_func;
57233 return 0;
57235 _ACEOF
57236 rm -f conftest.$ac_objext conftest$ac_exeext
57237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57238 (eval $ac_link) 2>conftest.er1
57239 ac_status=$?
57240 grep -v '^ *+' conftest.er1 >conftest.err
57241 rm -f conftest.er1
57242 cat conftest.err >&5
57243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57244 (exit $ac_status); } &&
57245 { ac_try='test -z "$ac_c_werror_flag"
57246 || test ! -s conftest.err'
57247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57248 (eval $ac_try) 2>&5
57249 ac_status=$?
57250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57251 (exit $ac_status); }; } &&
57252 { ac_try='test -s conftest$ac_exeext'
57253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57254 (eval $ac_try) 2>&5
57255 ac_status=$?
57256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57257 (exit $ac_status); }; }; then
57258 eval "$as_ac_var=yes"
57259 else
57260 echo "$as_me: failed program was:" >&5
57261 sed 's/^/| /' conftest.$ac_ext >&5
57263 eval "$as_ac_var=no"
57265 rm -f conftest.err conftest.$ac_objext \
57266 conftest$ac_exeext conftest.$ac_ext
57268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57269 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57270 if test `eval echo '${'$as_ac_var'}'` = yes; then
57271 cat >>confdefs.h <<_ACEOF
57272 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57273 _ACEOF
57276 done
57278 else
57280 echo "$as_me:$LINENO: checking for _expf declaration" >&5
57281 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
57282 if test x${glibcxx_cv_func__expf_use+set} != xset; then
57283 if test "${glibcxx_cv_func__expf_use+set}" = set; then
57284 echo $ECHO_N "(cached) $ECHO_C" >&6
57285 else
57289 ac_ext=cc
57290 ac_cpp='$CXXCPP $CPPFLAGS'
57291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57295 cat >conftest.$ac_ext <<_ACEOF
57296 /* confdefs.h. */
57297 _ACEOF
57298 cat confdefs.h >>conftest.$ac_ext
57299 cat >>conftest.$ac_ext <<_ACEOF
57300 /* end confdefs.h. */
57301 #include <math.h>
57302 #ifdef HAVE_IEEEFP_H
57303 #include <ieeefp.h>
57304 #endif
57307 main ()
57309 _expf(0);
57311 return 0;
57313 _ACEOF
57314 rm -f conftest.$ac_objext
57315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57316 (eval $ac_compile) 2>conftest.er1
57317 ac_status=$?
57318 grep -v '^ *+' conftest.er1 >conftest.err
57319 rm -f conftest.er1
57320 cat conftest.err >&5
57321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57322 (exit $ac_status); } &&
57323 { ac_try='test -z "$ac_cxx_werror_flag"
57324 || test ! -s conftest.err'
57325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57326 (eval $ac_try) 2>&5
57327 ac_status=$?
57328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57329 (exit $ac_status); }; } &&
57330 { ac_try='test -s conftest.$ac_objext'
57331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57332 (eval $ac_try) 2>&5
57333 ac_status=$?
57334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57335 (exit $ac_status); }; }; then
57336 glibcxx_cv_func__expf_use=yes
57337 else
57338 echo "$as_me: failed program was:" >&5
57339 sed 's/^/| /' conftest.$ac_ext >&5
57341 glibcxx_cv_func__expf_use=no
57343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57344 ac_ext=c
57345 ac_cpp='$CPP $CPPFLAGS'
57346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57354 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
57355 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
57357 if test x$glibcxx_cv_func__expf_use = x"yes"; then
57359 for ac_func in _expf
57361 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57362 echo "$as_me:$LINENO: checking for $ac_func" >&5
57363 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57364 if eval "test \"\${$as_ac_var+set}\" = set"; then
57365 echo $ECHO_N "(cached) $ECHO_C" >&6
57366 else
57367 if test x$gcc_no_link = xyes; then
57368 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57369 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57370 { (exit 1); exit 1; }; }
57372 cat >conftest.$ac_ext <<_ACEOF
57373 /* confdefs.h. */
57374 _ACEOF
57375 cat confdefs.h >>conftest.$ac_ext
57376 cat >>conftest.$ac_ext <<_ACEOF
57377 /* end confdefs.h. */
57378 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57379 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57380 #define $ac_func innocuous_$ac_func
57382 /* System header to define __stub macros and hopefully few prototypes,
57383 which can conflict with char $ac_func (); below.
57384 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57385 <limits.h> exists even on freestanding compilers. */
57387 #ifdef __STDC__
57388 # include <limits.h>
57389 #else
57390 # include <assert.h>
57391 #endif
57393 #undef $ac_func
57395 /* Override any gcc2 internal prototype to avoid an error. */
57396 #ifdef __cplusplus
57397 extern "C"
57399 #endif
57400 /* We use char because int might match the return type of a gcc2
57401 builtin and then its argument prototype would still apply. */
57402 char $ac_func ();
57403 /* The GNU C library defines this for functions which it implements
57404 to always fail with ENOSYS. Some functions are actually named
57405 something starting with __ and the normal name is an alias. */
57406 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57407 choke me
57408 #else
57409 char (*f) () = $ac_func;
57410 #endif
57411 #ifdef __cplusplus
57413 #endif
57416 main ()
57418 return f != $ac_func;
57420 return 0;
57422 _ACEOF
57423 rm -f conftest.$ac_objext conftest$ac_exeext
57424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57425 (eval $ac_link) 2>conftest.er1
57426 ac_status=$?
57427 grep -v '^ *+' conftest.er1 >conftest.err
57428 rm -f conftest.er1
57429 cat conftest.err >&5
57430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57431 (exit $ac_status); } &&
57432 { ac_try='test -z "$ac_c_werror_flag"
57433 || test ! -s conftest.err'
57434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57435 (eval $ac_try) 2>&5
57436 ac_status=$?
57437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57438 (exit $ac_status); }; } &&
57439 { ac_try='test -s conftest$ac_exeext'
57440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57441 (eval $ac_try) 2>&5
57442 ac_status=$?
57443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57444 (exit $ac_status); }; }; then
57445 eval "$as_ac_var=yes"
57446 else
57447 echo "$as_me: failed program was:" >&5
57448 sed 's/^/| /' conftest.$ac_ext >&5
57450 eval "$as_ac_var=no"
57452 rm -f conftest.err conftest.$ac_objext \
57453 conftest$ac_exeext conftest.$ac_ext
57455 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57456 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57457 if test `eval echo '${'$as_ac_var'}'` = yes; then
57458 cat >>confdefs.h <<_ACEOF
57459 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57460 _ACEOF
57463 done
57470 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
57471 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
57472 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
57473 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
57474 echo $ECHO_N "(cached) $ECHO_C" >&6
57475 else
57479 ac_ext=cc
57480 ac_cpp='$CXXCPP $CPPFLAGS'
57481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57485 cat >conftest.$ac_ext <<_ACEOF
57486 /* confdefs.h. */
57487 _ACEOF
57488 cat confdefs.h >>conftest.$ac_ext
57489 cat >>conftest.$ac_ext <<_ACEOF
57490 /* end confdefs.h. */
57491 #include <math.h>
57492 #ifdef HAVE_IEEEFP_H
57493 #include <ieeefp.h>
57494 #endif
57497 main ()
57499 isnanf(0);
57501 return 0;
57503 _ACEOF
57504 rm -f conftest.$ac_objext
57505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57506 (eval $ac_compile) 2>conftest.er1
57507 ac_status=$?
57508 grep -v '^ *+' conftest.er1 >conftest.err
57509 rm -f conftest.er1
57510 cat conftest.err >&5
57511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57512 (exit $ac_status); } &&
57513 { ac_try='test -z "$ac_cxx_werror_flag"
57514 || test ! -s conftest.err'
57515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57516 (eval $ac_try) 2>&5
57517 ac_status=$?
57518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57519 (exit $ac_status); }; } &&
57520 { ac_try='test -s conftest.$ac_objext'
57521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57522 (eval $ac_try) 2>&5
57523 ac_status=$?
57524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57525 (exit $ac_status); }; }; then
57526 glibcxx_cv_func_isnanf_use=yes
57527 else
57528 echo "$as_me: failed program was:" >&5
57529 sed 's/^/| /' conftest.$ac_ext >&5
57531 glibcxx_cv_func_isnanf_use=no
57533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57534 ac_ext=c
57535 ac_cpp='$CPP $CPPFLAGS'
57536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57544 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
57545 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
57547 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
57549 for ac_func in isnanf
57551 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57552 echo "$as_me:$LINENO: checking for $ac_func" >&5
57553 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57554 if eval "test \"\${$as_ac_var+set}\" = set"; then
57555 echo $ECHO_N "(cached) $ECHO_C" >&6
57556 else
57557 if test x$gcc_no_link = xyes; then
57558 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57559 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57560 { (exit 1); exit 1; }; }
57562 cat >conftest.$ac_ext <<_ACEOF
57563 /* confdefs.h. */
57564 _ACEOF
57565 cat confdefs.h >>conftest.$ac_ext
57566 cat >>conftest.$ac_ext <<_ACEOF
57567 /* end confdefs.h. */
57568 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57569 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57570 #define $ac_func innocuous_$ac_func
57572 /* System header to define __stub macros and hopefully few prototypes,
57573 which can conflict with char $ac_func (); below.
57574 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57575 <limits.h> exists even on freestanding compilers. */
57577 #ifdef __STDC__
57578 # include <limits.h>
57579 #else
57580 # include <assert.h>
57581 #endif
57583 #undef $ac_func
57585 /* Override any gcc2 internal prototype to avoid an error. */
57586 #ifdef __cplusplus
57587 extern "C"
57589 #endif
57590 /* We use char because int might match the return type of a gcc2
57591 builtin and then its argument prototype would still apply. */
57592 char $ac_func ();
57593 /* The GNU C library defines this for functions which it implements
57594 to always fail with ENOSYS. Some functions are actually named
57595 something starting with __ and the normal name is an alias. */
57596 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57597 choke me
57598 #else
57599 char (*f) () = $ac_func;
57600 #endif
57601 #ifdef __cplusplus
57603 #endif
57606 main ()
57608 return f != $ac_func;
57610 return 0;
57612 _ACEOF
57613 rm -f conftest.$ac_objext conftest$ac_exeext
57614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57615 (eval $ac_link) 2>conftest.er1
57616 ac_status=$?
57617 grep -v '^ *+' conftest.er1 >conftest.err
57618 rm -f conftest.er1
57619 cat conftest.err >&5
57620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57621 (exit $ac_status); } &&
57622 { ac_try='test -z "$ac_c_werror_flag"
57623 || test ! -s conftest.err'
57624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57625 (eval $ac_try) 2>&5
57626 ac_status=$?
57627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57628 (exit $ac_status); }; } &&
57629 { ac_try='test -s conftest$ac_exeext'
57630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57631 (eval $ac_try) 2>&5
57632 ac_status=$?
57633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57634 (exit $ac_status); }; }; then
57635 eval "$as_ac_var=yes"
57636 else
57637 echo "$as_me: failed program was:" >&5
57638 sed 's/^/| /' conftest.$ac_ext >&5
57640 eval "$as_ac_var=no"
57642 rm -f conftest.err conftest.$ac_objext \
57643 conftest$ac_exeext conftest.$ac_ext
57645 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57646 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57647 if test `eval echo '${'$as_ac_var'}'` = yes; then
57648 cat >>confdefs.h <<_ACEOF
57649 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57650 _ACEOF
57653 done
57655 else
57657 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
57658 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
57659 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
57660 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
57661 echo $ECHO_N "(cached) $ECHO_C" >&6
57662 else
57666 ac_ext=cc
57667 ac_cpp='$CXXCPP $CPPFLAGS'
57668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57672 cat >conftest.$ac_ext <<_ACEOF
57673 /* confdefs.h. */
57674 _ACEOF
57675 cat confdefs.h >>conftest.$ac_ext
57676 cat >>conftest.$ac_ext <<_ACEOF
57677 /* end confdefs.h. */
57678 #include <math.h>
57679 #ifdef HAVE_IEEEFP_H
57680 #include <ieeefp.h>
57681 #endif
57684 main ()
57686 _isnanf(0);
57688 return 0;
57690 _ACEOF
57691 rm -f conftest.$ac_objext
57692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57693 (eval $ac_compile) 2>conftest.er1
57694 ac_status=$?
57695 grep -v '^ *+' conftest.er1 >conftest.err
57696 rm -f conftest.er1
57697 cat conftest.err >&5
57698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57699 (exit $ac_status); } &&
57700 { ac_try='test -z "$ac_cxx_werror_flag"
57701 || test ! -s conftest.err'
57702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57703 (eval $ac_try) 2>&5
57704 ac_status=$?
57705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57706 (exit $ac_status); }; } &&
57707 { ac_try='test -s conftest.$ac_objext'
57708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57709 (eval $ac_try) 2>&5
57710 ac_status=$?
57711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57712 (exit $ac_status); }; }; then
57713 glibcxx_cv_func__isnanf_use=yes
57714 else
57715 echo "$as_me: failed program was:" >&5
57716 sed 's/^/| /' conftest.$ac_ext >&5
57718 glibcxx_cv_func__isnanf_use=no
57720 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57721 ac_ext=c
57722 ac_cpp='$CPP $CPPFLAGS'
57723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57731 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
57732 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
57734 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
57736 for ac_func in _isnanf
57738 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57739 echo "$as_me:$LINENO: checking for $ac_func" >&5
57740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57741 if eval "test \"\${$as_ac_var+set}\" = set"; then
57742 echo $ECHO_N "(cached) $ECHO_C" >&6
57743 else
57744 if test x$gcc_no_link = xyes; then
57745 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57746 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57747 { (exit 1); exit 1; }; }
57749 cat >conftest.$ac_ext <<_ACEOF
57750 /* confdefs.h. */
57751 _ACEOF
57752 cat confdefs.h >>conftest.$ac_ext
57753 cat >>conftest.$ac_ext <<_ACEOF
57754 /* end confdefs.h. */
57755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57757 #define $ac_func innocuous_$ac_func
57759 /* System header to define __stub macros and hopefully few prototypes,
57760 which can conflict with char $ac_func (); below.
57761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57762 <limits.h> exists even on freestanding compilers. */
57764 #ifdef __STDC__
57765 # include <limits.h>
57766 #else
57767 # include <assert.h>
57768 #endif
57770 #undef $ac_func
57772 /* Override any gcc2 internal prototype to avoid an error. */
57773 #ifdef __cplusplus
57774 extern "C"
57776 #endif
57777 /* We use char because int might match the return type of a gcc2
57778 builtin and then its argument prototype would still apply. */
57779 char $ac_func ();
57780 /* The GNU C library defines this for functions which it implements
57781 to always fail with ENOSYS. Some functions are actually named
57782 something starting with __ and the normal name is an alias. */
57783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57784 choke me
57785 #else
57786 char (*f) () = $ac_func;
57787 #endif
57788 #ifdef __cplusplus
57790 #endif
57793 main ()
57795 return f != $ac_func;
57797 return 0;
57799 _ACEOF
57800 rm -f conftest.$ac_objext conftest$ac_exeext
57801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57802 (eval $ac_link) 2>conftest.er1
57803 ac_status=$?
57804 grep -v '^ *+' conftest.er1 >conftest.err
57805 rm -f conftest.er1
57806 cat conftest.err >&5
57807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57808 (exit $ac_status); } &&
57809 { ac_try='test -z "$ac_c_werror_flag"
57810 || test ! -s conftest.err'
57811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57812 (eval $ac_try) 2>&5
57813 ac_status=$?
57814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57815 (exit $ac_status); }; } &&
57816 { ac_try='test -s conftest$ac_exeext'
57817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57818 (eval $ac_try) 2>&5
57819 ac_status=$?
57820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57821 (exit $ac_status); }; }; then
57822 eval "$as_ac_var=yes"
57823 else
57824 echo "$as_me: failed program was:" >&5
57825 sed 's/^/| /' conftest.$ac_ext >&5
57827 eval "$as_ac_var=no"
57829 rm -f conftest.err conftest.$ac_objext \
57830 conftest$ac_exeext conftest.$ac_ext
57832 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57833 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57834 if test `eval echo '${'$as_ac_var'}'` = yes; then
57835 cat >>confdefs.h <<_ACEOF
57836 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57837 _ACEOF
57840 done
57847 echo "$as_me:$LINENO: checking for isinff declaration" >&5
57848 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
57849 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
57850 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
57851 echo $ECHO_N "(cached) $ECHO_C" >&6
57852 else
57856 ac_ext=cc
57857 ac_cpp='$CXXCPP $CPPFLAGS'
57858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57862 cat >conftest.$ac_ext <<_ACEOF
57863 /* confdefs.h. */
57864 _ACEOF
57865 cat confdefs.h >>conftest.$ac_ext
57866 cat >>conftest.$ac_ext <<_ACEOF
57867 /* end confdefs.h. */
57868 #include <math.h>
57869 #ifdef HAVE_IEEEFP_H
57870 #include <ieeefp.h>
57871 #endif
57874 main ()
57876 isinff(0);
57878 return 0;
57880 _ACEOF
57881 rm -f conftest.$ac_objext
57882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57883 (eval $ac_compile) 2>conftest.er1
57884 ac_status=$?
57885 grep -v '^ *+' conftest.er1 >conftest.err
57886 rm -f conftest.er1
57887 cat conftest.err >&5
57888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57889 (exit $ac_status); } &&
57890 { ac_try='test -z "$ac_cxx_werror_flag"
57891 || test ! -s conftest.err'
57892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57893 (eval $ac_try) 2>&5
57894 ac_status=$?
57895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57896 (exit $ac_status); }; } &&
57897 { ac_try='test -s conftest.$ac_objext'
57898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57899 (eval $ac_try) 2>&5
57900 ac_status=$?
57901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57902 (exit $ac_status); }; }; then
57903 glibcxx_cv_func_isinff_use=yes
57904 else
57905 echo "$as_me: failed program was:" >&5
57906 sed 's/^/| /' conftest.$ac_ext >&5
57908 glibcxx_cv_func_isinff_use=no
57910 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57911 ac_ext=c
57912 ac_cpp='$CPP $CPPFLAGS'
57913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57921 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
57922 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
57924 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
57926 for ac_func in isinff
57928 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57929 echo "$as_me:$LINENO: checking for $ac_func" >&5
57930 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57931 if eval "test \"\${$as_ac_var+set}\" = set"; then
57932 echo $ECHO_N "(cached) $ECHO_C" >&6
57933 else
57934 if test x$gcc_no_link = xyes; then
57935 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57936 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57937 { (exit 1); exit 1; }; }
57939 cat >conftest.$ac_ext <<_ACEOF
57940 /* confdefs.h. */
57941 _ACEOF
57942 cat confdefs.h >>conftest.$ac_ext
57943 cat >>conftest.$ac_ext <<_ACEOF
57944 /* end confdefs.h. */
57945 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57946 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57947 #define $ac_func innocuous_$ac_func
57949 /* System header to define __stub macros and hopefully few prototypes,
57950 which can conflict with char $ac_func (); below.
57951 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57952 <limits.h> exists even on freestanding compilers. */
57954 #ifdef __STDC__
57955 # include <limits.h>
57956 #else
57957 # include <assert.h>
57958 #endif
57960 #undef $ac_func
57962 /* Override any gcc2 internal prototype to avoid an error. */
57963 #ifdef __cplusplus
57964 extern "C"
57966 #endif
57967 /* We use char because int might match the return type of a gcc2
57968 builtin and then its argument prototype would still apply. */
57969 char $ac_func ();
57970 /* The GNU C library defines this for functions which it implements
57971 to always fail with ENOSYS. Some functions are actually named
57972 something starting with __ and the normal name is an alias. */
57973 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57974 choke me
57975 #else
57976 char (*f) () = $ac_func;
57977 #endif
57978 #ifdef __cplusplus
57980 #endif
57983 main ()
57985 return f != $ac_func;
57987 return 0;
57989 _ACEOF
57990 rm -f conftest.$ac_objext conftest$ac_exeext
57991 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57992 (eval $ac_link) 2>conftest.er1
57993 ac_status=$?
57994 grep -v '^ *+' conftest.er1 >conftest.err
57995 rm -f conftest.er1
57996 cat conftest.err >&5
57997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57998 (exit $ac_status); } &&
57999 { ac_try='test -z "$ac_c_werror_flag"
58000 || test ! -s conftest.err'
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); }; } &&
58006 { ac_try='test -s conftest$ac_exeext'
58007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58008 (eval $ac_try) 2>&5
58009 ac_status=$?
58010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58011 (exit $ac_status); }; }; then
58012 eval "$as_ac_var=yes"
58013 else
58014 echo "$as_me: failed program was:" >&5
58015 sed 's/^/| /' conftest.$ac_ext >&5
58017 eval "$as_ac_var=no"
58019 rm -f conftest.err conftest.$ac_objext \
58020 conftest$ac_exeext conftest.$ac_ext
58022 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58023 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58024 if test `eval echo '${'$as_ac_var'}'` = yes; then
58025 cat >>confdefs.h <<_ACEOF
58026 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58027 _ACEOF
58030 done
58032 else
58034 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
58035 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
58036 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
58037 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
58038 echo $ECHO_N "(cached) $ECHO_C" >&6
58039 else
58043 ac_ext=cc
58044 ac_cpp='$CXXCPP $CPPFLAGS'
58045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58049 cat >conftest.$ac_ext <<_ACEOF
58050 /* confdefs.h. */
58051 _ACEOF
58052 cat confdefs.h >>conftest.$ac_ext
58053 cat >>conftest.$ac_ext <<_ACEOF
58054 /* end confdefs.h. */
58055 #include <math.h>
58056 #ifdef HAVE_IEEEFP_H
58057 #include <ieeefp.h>
58058 #endif
58061 main ()
58063 _isinff(0);
58065 return 0;
58067 _ACEOF
58068 rm -f conftest.$ac_objext
58069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58070 (eval $ac_compile) 2>conftest.er1
58071 ac_status=$?
58072 grep -v '^ *+' conftest.er1 >conftest.err
58073 rm -f conftest.er1
58074 cat conftest.err >&5
58075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58076 (exit $ac_status); } &&
58077 { ac_try='test -z "$ac_cxx_werror_flag"
58078 || test ! -s conftest.err'
58079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58080 (eval $ac_try) 2>&5
58081 ac_status=$?
58082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58083 (exit $ac_status); }; } &&
58084 { ac_try='test -s conftest.$ac_objext'
58085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58086 (eval $ac_try) 2>&5
58087 ac_status=$?
58088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58089 (exit $ac_status); }; }; then
58090 glibcxx_cv_func__isinff_use=yes
58091 else
58092 echo "$as_me: failed program was:" >&5
58093 sed 's/^/| /' conftest.$ac_ext >&5
58095 glibcxx_cv_func__isinff_use=no
58097 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58098 ac_ext=c
58099 ac_cpp='$CPP $CPPFLAGS'
58100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58108 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
58109 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
58111 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
58113 for ac_func in _isinff
58115 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58116 echo "$as_me:$LINENO: checking for $ac_func" >&5
58117 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58118 if eval "test \"\${$as_ac_var+set}\" = set"; then
58119 echo $ECHO_N "(cached) $ECHO_C" >&6
58120 else
58121 if test x$gcc_no_link = xyes; then
58122 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58123 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58124 { (exit 1); exit 1; }; }
58126 cat >conftest.$ac_ext <<_ACEOF
58127 /* confdefs.h. */
58128 _ACEOF
58129 cat confdefs.h >>conftest.$ac_ext
58130 cat >>conftest.$ac_ext <<_ACEOF
58131 /* end confdefs.h. */
58132 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58133 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58134 #define $ac_func innocuous_$ac_func
58136 /* System header to define __stub macros and hopefully few prototypes,
58137 which can conflict with char $ac_func (); below.
58138 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58139 <limits.h> exists even on freestanding compilers. */
58141 #ifdef __STDC__
58142 # include <limits.h>
58143 #else
58144 # include <assert.h>
58145 #endif
58147 #undef $ac_func
58149 /* Override any gcc2 internal prototype to avoid an error. */
58150 #ifdef __cplusplus
58151 extern "C"
58153 #endif
58154 /* We use char because int might match the return type of a gcc2
58155 builtin and then its argument prototype would still apply. */
58156 char $ac_func ();
58157 /* The GNU C library defines this for functions which it implements
58158 to always fail with ENOSYS. Some functions are actually named
58159 something starting with __ and the normal name is an alias. */
58160 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58161 choke me
58162 #else
58163 char (*f) () = $ac_func;
58164 #endif
58165 #ifdef __cplusplus
58167 #endif
58170 main ()
58172 return f != $ac_func;
58174 return 0;
58176 _ACEOF
58177 rm -f conftest.$ac_objext conftest$ac_exeext
58178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58179 (eval $ac_link) 2>conftest.er1
58180 ac_status=$?
58181 grep -v '^ *+' conftest.er1 >conftest.err
58182 rm -f conftest.er1
58183 cat conftest.err >&5
58184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58185 (exit $ac_status); } &&
58186 { ac_try='test -z "$ac_c_werror_flag"
58187 || test ! -s conftest.err'
58188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58189 (eval $ac_try) 2>&5
58190 ac_status=$?
58191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58192 (exit $ac_status); }; } &&
58193 { ac_try='test -s conftest$ac_exeext'
58194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58195 (eval $ac_try) 2>&5
58196 ac_status=$?
58197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58198 (exit $ac_status); }; }; then
58199 eval "$as_ac_var=yes"
58200 else
58201 echo "$as_me: failed program was:" >&5
58202 sed 's/^/| /' conftest.$ac_ext >&5
58204 eval "$as_ac_var=no"
58206 rm -f conftest.err conftest.$ac_objext \
58207 conftest$ac_exeext conftest.$ac_ext
58209 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58210 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58211 if test `eval echo '${'$as_ac_var'}'` = yes; then
58212 cat >>confdefs.h <<_ACEOF
58213 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58214 _ACEOF
58217 done
58224 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
58225 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
58226 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
58227 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
58228 echo $ECHO_N "(cached) $ECHO_C" >&6
58229 else
58233 ac_ext=cc
58234 ac_cpp='$CXXCPP $CPPFLAGS'
58235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58239 cat >conftest.$ac_ext <<_ACEOF
58240 /* confdefs.h. */
58241 _ACEOF
58242 cat confdefs.h >>conftest.$ac_ext
58243 cat >>conftest.$ac_ext <<_ACEOF
58244 /* end confdefs.h. */
58245 #include <math.h>
58247 main ()
58249 atan2f(0, 0);
58251 return 0;
58253 _ACEOF
58254 rm -f conftest.$ac_objext
58255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58256 (eval $ac_compile) 2>conftest.er1
58257 ac_status=$?
58258 grep -v '^ *+' conftest.er1 >conftest.err
58259 rm -f conftest.er1
58260 cat conftest.err >&5
58261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58262 (exit $ac_status); } &&
58263 { ac_try='test -z "$ac_cxx_werror_flag"
58264 || test ! -s conftest.err'
58265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58266 (eval $ac_try) 2>&5
58267 ac_status=$?
58268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58269 (exit $ac_status); }; } &&
58270 { ac_try='test -s conftest.$ac_objext'
58271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58272 (eval $ac_try) 2>&5
58273 ac_status=$?
58274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58275 (exit $ac_status); }; }; then
58276 glibcxx_cv_func_atan2f_use=yes
58277 else
58278 echo "$as_me: failed program was:" >&5
58279 sed 's/^/| /' conftest.$ac_ext >&5
58281 glibcxx_cv_func_atan2f_use=no
58283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58284 ac_ext=c
58285 ac_cpp='$CPP $CPPFLAGS'
58286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58294 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
58295 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
58297 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
58299 for ac_func in atan2f
58301 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58302 echo "$as_me:$LINENO: checking for $ac_func" >&5
58303 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58304 if eval "test \"\${$as_ac_var+set}\" = set"; then
58305 echo $ECHO_N "(cached) $ECHO_C" >&6
58306 else
58307 if test x$gcc_no_link = xyes; then
58308 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58309 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58310 { (exit 1); exit 1; }; }
58312 cat >conftest.$ac_ext <<_ACEOF
58313 /* confdefs.h. */
58314 _ACEOF
58315 cat confdefs.h >>conftest.$ac_ext
58316 cat >>conftest.$ac_ext <<_ACEOF
58317 /* end confdefs.h. */
58318 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58319 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58320 #define $ac_func innocuous_$ac_func
58322 /* System header to define __stub macros and hopefully few prototypes,
58323 which can conflict with char $ac_func (); below.
58324 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58325 <limits.h> exists even on freestanding compilers. */
58327 #ifdef __STDC__
58328 # include <limits.h>
58329 #else
58330 # include <assert.h>
58331 #endif
58333 #undef $ac_func
58335 /* Override any gcc2 internal prototype to avoid an error. */
58336 #ifdef __cplusplus
58337 extern "C"
58339 #endif
58340 /* We use char because int might match the return type of a gcc2
58341 builtin and then its argument prototype would still apply. */
58342 char $ac_func ();
58343 /* The GNU C library defines this for functions which it implements
58344 to always fail with ENOSYS. Some functions are actually named
58345 something starting with __ and the normal name is an alias. */
58346 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58347 choke me
58348 #else
58349 char (*f) () = $ac_func;
58350 #endif
58351 #ifdef __cplusplus
58353 #endif
58356 main ()
58358 return f != $ac_func;
58360 return 0;
58362 _ACEOF
58363 rm -f conftest.$ac_objext conftest$ac_exeext
58364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58365 (eval $ac_link) 2>conftest.er1
58366 ac_status=$?
58367 grep -v '^ *+' conftest.er1 >conftest.err
58368 rm -f conftest.er1
58369 cat conftest.err >&5
58370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58371 (exit $ac_status); } &&
58372 { ac_try='test -z "$ac_c_werror_flag"
58373 || test ! -s conftest.err'
58374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58375 (eval $ac_try) 2>&5
58376 ac_status=$?
58377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58378 (exit $ac_status); }; } &&
58379 { ac_try='test -s conftest$ac_exeext'
58380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58381 (eval $ac_try) 2>&5
58382 ac_status=$?
58383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58384 (exit $ac_status); }; }; then
58385 eval "$as_ac_var=yes"
58386 else
58387 echo "$as_me: failed program was:" >&5
58388 sed 's/^/| /' conftest.$ac_ext >&5
58390 eval "$as_ac_var=no"
58392 rm -f conftest.err conftest.$ac_objext \
58393 conftest$ac_exeext conftest.$ac_ext
58395 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58396 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58397 if test `eval echo '${'$as_ac_var'}'` = yes; then
58398 cat >>confdefs.h <<_ACEOF
58399 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58400 _ACEOF
58403 done
58405 else
58407 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
58408 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
58409 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
58410 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
58411 echo $ECHO_N "(cached) $ECHO_C" >&6
58412 else
58416 ac_ext=cc
58417 ac_cpp='$CXXCPP $CPPFLAGS'
58418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58422 cat >conftest.$ac_ext <<_ACEOF
58423 /* confdefs.h. */
58424 _ACEOF
58425 cat confdefs.h >>conftest.$ac_ext
58426 cat >>conftest.$ac_ext <<_ACEOF
58427 /* end confdefs.h. */
58428 #include <math.h>
58430 main ()
58432 _atan2f(0, 0);
58434 return 0;
58436 _ACEOF
58437 rm -f conftest.$ac_objext
58438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58439 (eval $ac_compile) 2>conftest.er1
58440 ac_status=$?
58441 grep -v '^ *+' conftest.er1 >conftest.err
58442 rm -f conftest.er1
58443 cat conftest.err >&5
58444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58445 (exit $ac_status); } &&
58446 { ac_try='test -z "$ac_cxx_werror_flag"
58447 || test ! -s conftest.err'
58448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58449 (eval $ac_try) 2>&5
58450 ac_status=$?
58451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58452 (exit $ac_status); }; } &&
58453 { ac_try='test -s conftest.$ac_objext'
58454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58455 (eval $ac_try) 2>&5
58456 ac_status=$?
58457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58458 (exit $ac_status); }; }; then
58459 glibcxx_cv_func__atan2f_use=yes
58460 else
58461 echo "$as_me: failed program was:" >&5
58462 sed 's/^/| /' conftest.$ac_ext >&5
58464 glibcxx_cv_func__atan2f_use=no
58466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58467 ac_ext=c
58468 ac_cpp='$CPP $CPPFLAGS'
58469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58477 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
58478 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
58480 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
58482 for ac_func in _atan2f
58484 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58485 echo "$as_me:$LINENO: checking for $ac_func" >&5
58486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58487 if eval "test \"\${$as_ac_var+set}\" = set"; then
58488 echo $ECHO_N "(cached) $ECHO_C" >&6
58489 else
58490 if test x$gcc_no_link = xyes; then
58491 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58493 { (exit 1); exit 1; }; }
58495 cat >conftest.$ac_ext <<_ACEOF
58496 /* confdefs.h. */
58497 _ACEOF
58498 cat confdefs.h >>conftest.$ac_ext
58499 cat >>conftest.$ac_ext <<_ACEOF
58500 /* end confdefs.h. */
58501 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58502 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58503 #define $ac_func innocuous_$ac_func
58505 /* System header to define __stub macros and hopefully few prototypes,
58506 which can conflict with char $ac_func (); below.
58507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58508 <limits.h> exists even on freestanding compilers. */
58510 #ifdef __STDC__
58511 # include <limits.h>
58512 #else
58513 # include <assert.h>
58514 #endif
58516 #undef $ac_func
58518 /* Override any gcc2 internal prototype to avoid an error. */
58519 #ifdef __cplusplus
58520 extern "C"
58522 #endif
58523 /* We use char because int might match the return type of a gcc2
58524 builtin and then its argument prototype would still apply. */
58525 char $ac_func ();
58526 /* The GNU C library defines this for functions which it implements
58527 to always fail with ENOSYS. Some functions are actually named
58528 something starting with __ and the normal name is an alias. */
58529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58530 choke me
58531 #else
58532 char (*f) () = $ac_func;
58533 #endif
58534 #ifdef __cplusplus
58536 #endif
58539 main ()
58541 return f != $ac_func;
58543 return 0;
58545 _ACEOF
58546 rm -f conftest.$ac_objext conftest$ac_exeext
58547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58548 (eval $ac_link) 2>conftest.er1
58549 ac_status=$?
58550 grep -v '^ *+' conftest.er1 >conftest.err
58551 rm -f conftest.er1
58552 cat conftest.err >&5
58553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58554 (exit $ac_status); } &&
58555 { ac_try='test -z "$ac_c_werror_flag"
58556 || test ! -s conftest.err'
58557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58558 (eval $ac_try) 2>&5
58559 ac_status=$?
58560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58561 (exit $ac_status); }; } &&
58562 { ac_try='test -s conftest$ac_exeext'
58563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58564 (eval $ac_try) 2>&5
58565 ac_status=$?
58566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58567 (exit $ac_status); }; }; then
58568 eval "$as_ac_var=yes"
58569 else
58570 echo "$as_me: failed program was:" >&5
58571 sed 's/^/| /' conftest.$ac_ext >&5
58573 eval "$as_ac_var=no"
58575 rm -f conftest.err conftest.$ac_objext \
58576 conftest$ac_exeext conftest.$ac_ext
58578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58579 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58580 if test `eval echo '${'$as_ac_var'}'` = yes; then
58581 cat >>confdefs.h <<_ACEOF
58582 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58583 _ACEOF
58586 done
58593 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
58594 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
58595 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
58596 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
58597 echo $ECHO_N "(cached) $ECHO_C" >&6
58598 else
58602 ac_ext=cc
58603 ac_cpp='$CXXCPP $CPPFLAGS'
58604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58608 cat >conftest.$ac_ext <<_ACEOF
58609 /* confdefs.h. */
58610 _ACEOF
58611 cat confdefs.h >>conftest.$ac_ext
58612 cat >>conftest.$ac_ext <<_ACEOF
58613 /* end confdefs.h. */
58614 #include <math.h>
58615 #ifdef HAVE_IEEEFP_H
58616 #include <ieeefp.h>
58617 #endif
58620 main ()
58622 fabsf(0);
58624 return 0;
58626 _ACEOF
58627 rm -f conftest.$ac_objext
58628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58629 (eval $ac_compile) 2>conftest.er1
58630 ac_status=$?
58631 grep -v '^ *+' conftest.er1 >conftest.err
58632 rm -f conftest.er1
58633 cat conftest.err >&5
58634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58635 (exit $ac_status); } &&
58636 { ac_try='test -z "$ac_cxx_werror_flag"
58637 || test ! -s conftest.err'
58638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58639 (eval $ac_try) 2>&5
58640 ac_status=$?
58641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58642 (exit $ac_status); }; } &&
58643 { ac_try='test -s conftest.$ac_objext'
58644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58645 (eval $ac_try) 2>&5
58646 ac_status=$?
58647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58648 (exit $ac_status); }; }; then
58649 glibcxx_cv_func_fabsf_use=yes
58650 else
58651 echo "$as_me: failed program was:" >&5
58652 sed 's/^/| /' conftest.$ac_ext >&5
58654 glibcxx_cv_func_fabsf_use=no
58656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58657 ac_ext=c
58658 ac_cpp='$CPP $CPPFLAGS'
58659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58667 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
58668 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
58670 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
58672 for ac_func in fabsf
58674 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58675 echo "$as_me:$LINENO: checking for $ac_func" >&5
58676 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58677 if eval "test \"\${$as_ac_var+set}\" = set"; then
58678 echo $ECHO_N "(cached) $ECHO_C" >&6
58679 else
58680 if test x$gcc_no_link = xyes; then
58681 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58682 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58683 { (exit 1); exit 1; }; }
58685 cat >conftest.$ac_ext <<_ACEOF
58686 /* confdefs.h. */
58687 _ACEOF
58688 cat confdefs.h >>conftest.$ac_ext
58689 cat >>conftest.$ac_ext <<_ACEOF
58690 /* end confdefs.h. */
58691 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58692 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58693 #define $ac_func innocuous_$ac_func
58695 /* System header to define __stub macros and hopefully few prototypes,
58696 which can conflict with char $ac_func (); below.
58697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58698 <limits.h> exists even on freestanding compilers. */
58700 #ifdef __STDC__
58701 # include <limits.h>
58702 #else
58703 # include <assert.h>
58704 #endif
58706 #undef $ac_func
58708 /* Override any gcc2 internal prototype to avoid an error. */
58709 #ifdef __cplusplus
58710 extern "C"
58712 #endif
58713 /* We use char because int might match the return type of a gcc2
58714 builtin and then its argument prototype would still apply. */
58715 char $ac_func ();
58716 /* The GNU C library defines this for functions which it implements
58717 to always fail with ENOSYS. Some functions are actually named
58718 something starting with __ and the normal name is an alias. */
58719 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58720 choke me
58721 #else
58722 char (*f) () = $ac_func;
58723 #endif
58724 #ifdef __cplusplus
58726 #endif
58729 main ()
58731 return f != $ac_func;
58733 return 0;
58735 _ACEOF
58736 rm -f conftest.$ac_objext conftest$ac_exeext
58737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58738 (eval $ac_link) 2>conftest.er1
58739 ac_status=$?
58740 grep -v '^ *+' conftest.er1 >conftest.err
58741 rm -f conftest.er1
58742 cat conftest.err >&5
58743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58744 (exit $ac_status); } &&
58745 { ac_try='test -z "$ac_c_werror_flag"
58746 || test ! -s conftest.err'
58747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58748 (eval $ac_try) 2>&5
58749 ac_status=$?
58750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58751 (exit $ac_status); }; } &&
58752 { ac_try='test -s conftest$ac_exeext'
58753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58754 (eval $ac_try) 2>&5
58755 ac_status=$?
58756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58757 (exit $ac_status); }; }; then
58758 eval "$as_ac_var=yes"
58759 else
58760 echo "$as_me: failed program was:" >&5
58761 sed 's/^/| /' conftest.$ac_ext >&5
58763 eval "$as_ac_var=no"
58765 rm -f conftest.err conftest.$ac_objext \
58766 conftest$ac_exeext conftest.$ac_ext
58768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58769 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58770 if test `eval echo '${'$as_ac_var'}'` = yes; then
58771 cat >>confdefs.h <<_ACEOF
58772 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58773 _ACEOF
58776 done
58778 else
58780 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
58781 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
58782 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
58783 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
58784 echo $ECHO_N "(cached) $ECHO_C" >&6
58785 else
58789 ac_ext=cc
58790 ac_cpp='$CXXCPP $CPPFLAGS'
58791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58795 cat >conftest.$ac_ext <<_ACEOF
58796 /* confdefs.h. */
58797 _ACEOF
58798 cat confdefs.h >>conftest.$ac_ext
58799 cat >>conftest.$ac_ext <<_ACEOF
58800 /* end confdefs.h. */
58801 #include <math.h>
58802 #ifdef HAVE_IEEEFP_H
58803 #include <ieeefp.h>
58804 #endif
58807 main ()
58809 _fabsf(0);
58811 return 0;
58813 _ACEOF
58814 rm -f conftest.$ac_objext
58815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58816 (eval $ac_compile) 2>conftest.er1
58817 ac_status=$?
58818 grep -v '^ *+' conftest.er1 >conftest.err
58819 rm -f conftest.er1
58820 cat conftest.err >&5
58821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58822 (exit $ac_status); } &&
58823 { ac_try='test -z "$ac_cxx_werror_flag"
58824 || test ! -s conftest.err'
58825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58826 (eval $ac_try) 2>&5
58827 ac_status=$?
58828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58829 (exit $ac_status); }; } &&
58830 { ac_try='test -s conftest.$ac_objext'
58831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58832 (eval $ac_try) 2>&5
58833 ac_status=$?
58834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58835 (exit $ac_status); }; }; then
58836 glibcxx_cv_func__fabsf_use=yes
58837 else
58838 echo "$as_me: failed program was:" >&5
58839 sed 's/^/| /' conftest.$ac_ext >&5
58841 glibcxx_cv_func__fabsf_use=no
58843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58844 ac_ext=c
58845 ac_cpp='$CPP $CPPFLAGS'
58846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58854 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
58855 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
58857 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
58859 for ac_func in _fabsf
58861 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58862 echo "$as_me:$LINENO: checking for $ac_func" >&5
58863 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58864 if eval "test \"\${$as_ac_var+set}\" = set"; then
58865 echo $ECHO_N "(cached) $ECHO_C" >&6
58866 else
58867 if test x$gcc_no_link = xyes; then
58868 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58869 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58870 { (exit 1); exit 1; }; }
58872 cat >conftest.$ac_ext <<_ACEOF
58873 /* confdefs.h. */
58874 _ACEOF
58875 cat confdefs.h >>conftest.$ac_ext
58876 cat >>conftest.$ac_ext <<_ACEOF
58877 /* end confdefs.h. */
58878 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58879 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58880 #define $ac_func innocuous_$ac_func
58882 /* System header to define __stub macros and hopefully few prototypes,
58883 which can conflict with char $ac_func (); below.
58884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58885 <limits.h> exists even on freestanding compilers. */
58887 #ifdef __STDC__
58888 # include <limits.h>
58889 #else
58890 # include <assert.h>
58891 #endif
58893 #undef $ac_func
58895 /* Override any gcc2 internal prototype to avoid an error. */
58896 #ifdef __cplusplus
58897 extern "C"
58899 #endif
58900 /* We use char because int might match the return type of a gcc2
58901 builtin and then its argument prototype would still apply. */
58902 char $ac_func ();
58903 /* The GNU C library defines this for functions which it implements
58904 to always fail with ENOSYS. Some functions are actually named
58905 something starting with __ and the normal name is an alias. */
58906 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58907 choke me
58908 #else
58909 char (*f) () = $ac_func;
58910 #endif
58911 #ifdef __cplusplus
58913 #endif
58916 main ()
58918 return f != $ac_func;
58920 return 0;
58922 _ACEOF
58923 rm -f conftest.$ac_objext conftest$ac_exeext
58924 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58925 (eval $ac_link) 2>conftest.er1
58926 ac_status=$?
58927 grep -v '^ *+' conftest.er1 >conftest.err
58928 rm -f conftest.er1
58929 cat conftest.err >&5
58930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58931 (exit $ac_status); } &&
58932 { ac_try='test -z "$ac_c_werror_flag"
58933 || test ! -s conftest.err'
58934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58935 (eval $ac_try) 2>&5
58936 ac_status=$?
58937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58938 (exit $ac_status); }; } &&
58939 { ac_try='test -s conftest$ac_exeext'
58940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58941 (eval $ac_try) 2>&5
58942 ac_status=$?
58943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58944 (exit $ac_status); }; }; then
58945 eval "$as_ac_var=yes"
58946 else
58947 echo "$as_me: failed program was:" >&5
58948 sed 's/^/| /' conftest.$ac_ext >&5
58950 eval "$as_ac_var=no"
58952 rm -f conftest.err conftest.$ac_objext \
58953 conftest$ac_exeext conftest.$ac_ext
58955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58956 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58957 if test `eval echo '${'$as_ac_var'}'` = yes; then
58958 cat >>confdefs.h <<_ACEOF
58959 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58960 _ACEOF
58963 done
58970 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
58971 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
58972 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
58973 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
58974 echo $ECHO_N "(cached) $ECHO_C" >&6
58975 else
58979 ac_ext=cc
58980 ac_cpp='$CXXCPP $CPPFLAGS'
58981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58985 cat >conftest.$ac_ext <<_ACEOF
58986 /* confdefs.h. */
58987 _ACEOF
58988 cat confdefs.h >>conftest.$ac_ext
58989 cat >>conftest.$ac_ext <<_ACEOF
58990 /* end confdefs.h. */
58991 #include <math.h>
58993 main ()
58995 fmodf(0, 0);
58997 return 0;
58999 _ACEOF
59000 rm -f conftest.$ac_objext
59001 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59002 (eval $ac_compile) 2>conftest.er1
59003 ac_status=$?
59004 grep -v '^ *+' conftest.er1 >conftest.err
59005 rm -f conftest.er1
59006 cat conftest.err >&5
59007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59008 (exit $ac_status); } &&
59009 { ac_try='test -z "$ac_cxx_werror_flag"
59010 || test ! -s conftest.err'
59011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59012 (eval $ac_try) 2>&5
59013 ac_status=$?
59014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59015 (exit $ac_status); }; } &&
59016 { ac_try='test -s conftest.$ac_objext'
59017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59018 (eval $ac_try) 2>&5
59019 ac_status=$?
59020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59021 (exit $ac_status); }; }; then
59022 glibcxx_cv_func_fmodf_use=yes
59023 else
59024 echo "$as_me: failed program was:" >&5
59025 sed 's/^/| /' conftest.$ac_ext >&5
59027 glibcxx_cv_func_fmodf_use=no
59029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59030 ac_ext=c
59031 ac_cpp='$CPP $CPPFLAGS'
59032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59040 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
59041 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
59043 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
59045 for ac_func in fmodf
59047 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59048 echo "$as_me:$LINENO: checking for $ac_func" >&5
59049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59050 if eval "test \"\${$as_ac_var+set}\" = set"; then
59051 echo $ECHO_N "(cached) $ECHO_C" >&6
59052 else
59053 if test x$gcc_no_link = xyes; then
59054 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59056 { (exit 1); exit 1; }; }
59058 cat >conftest.$ac_ext <<_ACEOF
59059 /* confdefs.h. */
59060 _ACEOF
59061 cat confdefs.h >>conftest.$ac_ext
59062 cat >>conftest.$ac_ext <<_ACEOF
59063 /* end confdefs.h. */
59064 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59065 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59066 #define $ac_func innocuous_$ac_func
59068 /* System header to define __stub macros and hopefully few prototypes,
59069 which can conflict with char $ac_func (); below.
59070 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59071 <limits.h> exists even on freestanding compilers. */
59073 #ifdef __STDC__
59074 # include <limits.h>
59075 #else
59076 # include <assert.h>
59077 #endif
59079 #undef $ac_func
59081 /* Override any gcc2 internal prototype to avoid an error. */
59082 #ifdef __cplusplus
59083 extern "C"
59085 #endif
59086 /* We use char because int might match the return type of a gcc2
59087 builtin and then its argument prototype would still apply. */
59088 char $ac_func ();
59089 /* The GNU C library defines this for functions which it implements
59090 to always fail with ENOSYS. Some functions are actually named
59091 something starting with __ and the normal name is an alias. */
59092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59093 choke me
59094 #else
59095 char (*f) () = $ac_func;
59096 #endif
59097 #ifdef __cplusplus
59099 #endif
59102 main ()
59104 return f != $ac_func;
59106 return 0;
59108 _ACEOF
59109 rm -f conftest.$ac_objext conftest$ac_exeext
59110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59111 (eval $ac_link) 2>conftest.er1
59112 ac_status=$?
59113 grep -v '^ *+' conftest.er1 >conftest.err
59114 rm -f conftest.er1
59115 cat conftest.err >&5
59116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59117 (exit $ac_status); } &&
59118 { ac_try='test -z "$ac_c_werror_flag"
59119 || test ! -s conftest.err'
59120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59121 (eval $ac_try) 2>&5
59122 ac_status=$?
59123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59124 (exit $ac_status); }; } &&
59125 { ac_try='test -s conftest$ac_exeext'
59126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59127 (eval $ac_try) 2>&5
59128 ac_status=$?
59129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59130 (exit $ac_status); }; }; then
59131 eval "$as_ac_var=yes"
59132 else
59133 echo "$as_me: failed program was:" >&5
59134 sed 's/^/| /' conftest.$ac_ext >&5
59136 eval "$as_ac_var=no"
59138 rm -f conftest.err conftest.$ac_objext \
59139 conftest$ac_exeext conftest.$ac_ext
59141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59143 if test `eval echo '${'$as_ac_var'}'` = yes; then
59144 cat >>confdefs.h <<_ACEOF
59145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59146 _ACEOF
59149 done
59151 else
59153 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
59154 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
59155 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
59156 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
59157 echo $ECHO_N "(cached) $ECHO_C" >&6
59158 else
59162 ac_ext=cc
59163 ac_cpp='$CXXCPP $CPPFLAGS'
59164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59168 cat >conftest.$ac_ext <<_ACEOF
59169 /* confdefs.h. */
59170 _ACEOF
59171 cat confdefs.h >>conftest.$ac_ext
59172 cat >>conftest.$ac_ext <<_ACEOF
59173 /* end confdefs.h. */
59174 #include <math.h>
59176 main ()
59178 _fmodf(0, 0);
59180 return 0;
59182 _ACEOF
59183 rm -f conftest.$ac_objext
59184 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59185 (eval $ac_compile) 2>conftest.er1
59186 ac_status=$?
59187 grep -v '^ *+' conftest.er1 >conftest.err
59188 rm -f conftest.er1
59189 cat conftest.err >&5
59190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59191 (exit $ac_status); } &&
59192 { ac_try='test -z "$ac_cxx_werror_flag"
59193 || test ! -s conftest.err'
59194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59195 (eval $ac_try) 2>&5
59196 ac_status=$?
59197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59198 (exit $ac_status); }; } &&
59199 { ac_try='test -s conftest.$ac_objext'
59200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59201 (eval $ac_try) 2>&5
59202 ac_status=$?
59203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59204 (exit $ac_status); }; }; then
59205 glibcxx_cv_func__fmodf_use=yes
59206 else
59207 echo "$as_me: failed program was:" >&5
59208 sed 's/^/| /' conftest.$ac_ext >&5
59210 glibcxx_cv_func__fmodf_use=no
59212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59213 ac_ext=c
59214 ac_cpp='$CPP $CPPFLAGS'
59215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59223 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
59224 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
59226 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
59228 for ac_func in _fmodf
59230 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59231 echo "$as_me:$LINENO: checking for $ac_func" >&5
59232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59233 if eval "test \"\${$as_ac_var+set}\" = set"; then
59234 echo $ECHO_N "(cached) $ECHO_C" >&6
59235 else
59236 if test x$gcc_no_link = xyes; then
59237 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59239 { (exit 1); exit 1; }; }
59241 cat >conftest.$ac_ext <<_ACEOF
59242 /* confdefs.h. */
59243 _ACEOF
59244 cat confdefs.h >>conftest.$ac_ext
59245 cat >>conftest.$ac_ext <<_ACEOF
59246 /* end confdefs.h. */
59247 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59248 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59249 #define $ac_func innocuous_$ac_func
59251 /* System header to define __stub macros and hopefully few prototypes,
59252 which can conflict with char $ac_func (); below.
59253 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59254 <limits.h> exists even on freestanding compilers. */
59256 #ifdef __STDC__
59257 # include <limits.h>
59258 #else
59259 # include <assert.h>
59260 #endif
59262 #undef $ac_func
59264 /* Override any gcc2 internal prototype to avoid an error. */
59265 #ifdef __cplusplus
59266 extern "C"
59268 #endif
59269 /* We use char because int might match the return type of a gcc2
59270 builtin and then its argument prototype would still apply. */
59271 char $ac_func ();
59272 /* The GNU C library defines this for functions which it implements
59273 to always fail with ENOSYS. Some functions are actually named
59274 something starting with __ and the normal name is an alias. */
59275 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59276 choke me
59277 #else
59278 char (*f) () = $ac_func;
59279 #endif
59280 #ifdef __cplusplus
59282 #endif
59285 main ()
59287 return f != $ac_func;
59289 return 0;
59291 _ACEOF
59292 rm -f conftest.$ac_objext conftest$ac_exeext
59293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59294 (eval $ac_link) 2>conftest.er1
59295 ac_status=$?
59296 grep -v '^ *+' conftest.er1 >conftest.err
59297 rm -f conftest.er1
59298 cat conftest.err >&5
59299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59300 (exit $ac_status); } &&
59301 { ac_try='test -z "$ac_c_werror_flag"
59302 || test ! -s conftest.err'
59303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59304 (eval $ac_try) 2>&5
59305 ac_status=$?
59306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59307 (exit $ac_status); }; } &&
59308 { ac_try='test -s conftest$ac_exeext'
59309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59310 (eval $ac_try) 2>&5
59311 ac_status=$?
59312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59313 (exit $ac_status); }; }; then
59314 eval "$as_ac_var=yes"
59315 else
59316 echo "$as_me: failed program was:" >&5
59317 sed 's/^/| /' conftest.$ac_ext >&5
59319 eval "$as_ac_var=no"
59321 rm -f conftest.err conftest.$ac_objext \
59322 conftest$ac_exeext conftest.$ac_ext
59324 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59325 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59326 if test `eval echo '${'$as_ac_var'}'` = yes; then
59327 cat >>confdefs.h <<_ACEOF
59328 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59329 _ACEOF
59332 done
59339 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
59340 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
59341 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
59342 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
59343 echo $ECHO_N "(cached) $ECHO_C" >&6
59344 else
59348 ac_ext=cc
59349 ac_cpp='$CXXCPP $CPPFLAGS'
59350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59354 cat >conftest.$ac_ext <<_ACEOF
59355 /* confdefs.h. */
59356 _ACEOF
59357 cat confdefs.h >>conftest.$ac_ext
59358 cat >>conftest.$ac_ext <<_ACEOF
59359 /* end confdefs.h. */
59360 #include <math.h>
59362 main ()
59364 frexpf(0, 0);
59366 return 0;
59368 _ACEOF
59369 rm -f conftest.$ac_objext
59370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59371 (eval $ac_compile) 2>conftest.er1
59372 ac_status=$?
59373 grep -v '^ *+' conftest.er1 >conftest.err
59374 rm -f conftest.er1
59375 cat conftest.err >&5
59376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59377 (exit $ac_status); } &&
59378 { ac_try='test -z "$ac_cxx_werror_flag"
59379 || test ! -s conftest.err'
59380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59381 (eval $ac_try) 2>&5
59382 ac_status=$?
59383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59384 (exit $ac_status); }; } &&
59385 { ac_try='test -s conftest.$ac_objext'
59386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59387 (eval $ac_try) 2>&5
59388 ac_status=$?
59389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59390 (exit $ac_status); }; }; then
59391 glibcxx_cv_func_frexpf_use=yes
59392 else
59393 echo "$as_me: failed program was:" >&5
59394 sed 's/^/| /' conftest.$ac_ext >&5
59396 glibcxx_cv_func_frexpf_use=no
59398 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59399 ac_ext=c
59400 ac_cpp='$CPP $CPPFLAGS'
59401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59409 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
59410 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
59412 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
59414 for ac_func in frexpf
59416 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59417 echo "$as_me:$LINENO: checking for $ac_func" >&5
59418 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59419 if eval "test \"\${$as_ac_var+set}\" = set"; then
59420 echo $ECHO_N "(cached) $ECHO_C" >&6
59421 else
59422 if test x$gcc_no_link = xyes; then
59423 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59424 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59425 { (exit 1); exit 1; }; }
59427 cat >conftest.$ac_ext <<_ACEOF
59428 /* confdefs.h. */
59429 _ACEOF
59430 cat confdefs.h >>conftest.$ac_ext
59431 cat >>conftest.$ac_ext <<_ACEOF
59432 /* end confdefs.h. */
59433 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59434 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59435 #define $ac_func innocuous_$ac_func
59437 /* System header to define __stub macros and hopefully few prototypes,
59438 which can conflict with char $ac_func (); below.
59439 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59440 <limits.h> exists even on freestanding compilers. */
59442 #ifdef __STDC__
59443 # include <limits.h>
59444 #else
59445 # include <assert.h>
59446 #endif
59448 #undef $ac_func
59450 /* Override any gcc2 internal prototype to avoid an error. */
59451 #ifdef __cplusplus
59452 extern "C"
59454 #endif
59455 /* We use char because int might match the return type of a gcc2
59456 builtin and then its argument prototype would still apply. */
59457 char $ac_func ();
59458 /* The GNU C library defines this for functions which it implements
59459 to always fail with ENOSYS. Some functions are actually named
59460 something starting with __ and the normal name is an alias. */
59461 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59462 choke me
59463 #else
59464 char (*f) () = $ac_func;
59465 #endif
59466 #ifdef __cplusplus
59468 #endif
59471 main ()
59473 return f != $ac_func;
59475 return 0;
59477 _ACEOF
59478 rm -f conftest.$ac_objext conftest$ac_exeext
59479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59480 (eval $ac_link) 2>conftest.er1
59481 ac_status=$?
59482 grep -v '^ *+' conftest.er1 >conftest.err
59483 rm -f conftest.er1
59484 cat conftest.err >&5
59485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59486 (exit $ac_status); } &&
59487 { ac_try='test -z "$ac_c_werror_flag"
59488 || test ! -s conftest.err'
59489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59490 (eval $ac_try) 2>&5
59491 ac_status=$?
59492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59493 (exit $ac_status); }; } &&
59494 { ac_try='test -s conftest$ac_exeext'
59495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59496 (eval $ac_try) 2>&5
59497 ac_status=$?
59498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59499 (exit $ac_status); }; }; then
59500 eval "$as_ac_var=yes"
59501 else
59502 echo "$as_me: failed program was:" >&5
59503 sed 's/^/| /' conftest.$ac_ext >&5
59505 eval "$as_ac_var=no"
59507 rm -f conftest.err conftest.$ac_objext \
59508 conftest$ac_exeext conftest.$ac_ext
59510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59511 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59512 if test `eval echo '${'$as_ac_var'}'` = yes; then
59513 cat >>confdefs.h <<_ACEOF
59514 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59515 _ACEOF
59518 done
59520 else
59522 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
59523 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
59524 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
59525 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
59526 echo $ECHO_N "(cached) $ECHO_C" >&6
59527 else
59531 ac_ext=cc
59532 ac_cpp='$CXXCPP $CPPFLAGS'
59533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59537 cat >conftest.$ac_ext <<_ACEOF
59538 /* confdefs.h. */
59539 _ACEOF
59540 cat confdefs.h >>conftest.$ac_ext
59541 cat >>conftest.$ac_ext <<_ACEOF
59542 /* end confdefs.h. */
59543 #include <math.h>
59545 main ()
59547 _frexpf(0, 0);
59549 return 0;
59551 _ACEOF
59552 rm -f conftest.$ac_objext
59553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59554 (eval $ac_compile) 2>conftest.er1
59555 ac_status=$?
59556 grep -v '^ *+' conftest.er1 >conftest.err
59557 rm -f conftest.er1
59558 cat conftest.err >&5
59559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59560 (exit $ac_status); } &&
59561 { ac_try='test -z "$ac_cxx_werror_flag"
59562 || test ! -s conftest.err'
59563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59564 (eval $ac_try) 2>&5
59565 ac_status=$?
59566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59567 (exit $ac_status); }; } &&
59568 { ac_try='test -s conftest.$ac_objext'
59569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59570 (eval $ac_try) 2>&5
59571 ac_status=$?
59572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59573 (exit $ac_status); }; }; then
59574 glibcxx_cv_func__frexpf_use=yes
59575 else
59576 echo "$as_me: failed program was:" >&5
59577 sed 's/^/| /' conftest.$ac_ext >&5
59579 glibcxx_cv_func__frexpf_use=no
59581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59582 ac_ext=c
59583 ac_cpp='$CPP $CPPFLAGS'
59584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59592 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
59593 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
59595 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
59597 for ac_func in _frexpf
59599 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59600 echo "$as_me:$LINENO: checking for $ac_func" >&5
59601 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59602 if eval "test \"\${$as_ac_var+set}\" = set"; then
59603 echo $ECHO_N "(cached) $ECHO_C" >&6
59604 else
59605 if test x$gcc_no_link = xyes; then
59606 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59607 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59608 { (exit 1); exit 1; }; }
59610 cat >conftest.$ac_ext <<_ACEOF
59611 /* confdefs.h. */
59612 _ACEOF
59613 cat confdefs.h >>conftest.$ac_ext
59614 cat >>conftest.$ac_ext <<_ACEOF
59615 /* end confdefs.h. */
59616 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59617 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59618 #define $ac_func innocuous_$ac_func
59620 /* System header to define __stub macros and hopefully few prototypes,
59621 which can conflict with char $ac_func (); below.
59622 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59623 <limits.h> exists even on freestanding compilers. */
59625 #ifdef __STDC__
59626 # include <limits.h>
59627 #else
59628 # include <assert.h>
59629 #endif
59631 #undef $ac_func
59633 /* Override any gcc2 internal prototype to avoid an error. */
59634 #ifdef __cplusplus
59635 extern "C"
59637 #endif
59638 /* We use char because int might match the return type of a gcc2
59639 builtin and then its argument prototype would still apply. */
59640 char $ac_func ();
59641 /* The GNU C library defines this for functions which it implements
59642 to always fail with ENOSYS. Some functions are actually named
59643 something starting with __ and the normal name is an alias. */
59644 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59645 choke me
59646 #else
59647 char (*f) () = $ac_func;
59648 #endif
59649 #ifdef __cplusplus
59651 #endif
59654 main ()
59656 return f != $ac_func;
59658 return 0;
59660 _ACEOF
59661 rm -f conftest.$ac_objext conftest$ac_exeext
59662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59663 (eval $ac_link) 2>conftest.er1
59664 ac_status=$?
59665 grep -v '^ *+' conftest.er1 >conftest.err
59666 rm -f conftest.er1
59667 cat conftest.err >&5
59668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59669 (exit $ac_status); } &&
59670 { ac_try='test -z "$ac_c_werror_flag"
59671 || test ! -s conftest.err'
59672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59673 (eval $ac_try) 2>&5
59674 ac_status=$?
59675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59676 (exit $ac_status); }; } &&
59677 { ac_try='test -s conftest$ac_exeext'
59678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59679 (eval $ac_try) 2>&5
59680 ac_status=$?
59681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59682 (exit $ac_status); }; }; then
59683 eval "$as_ac_var=yes"
59684 else
59685 echo "$as_me: failed program was:" >&5
59686 sed 's/^/| /' conftest.$ac_ext >&5
59688 eval "$as_ac_var=no"
59690 rm -f conftest.err conftest.$ac_objext \
59691 conftest$ac_exeext conftest.$ac_ext
59693 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59694 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59695 if test `eval echo '${'$as_ac_var'}'` = yes; then
59696 cat >>confdefs.h <<_ACEOF
59697 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59698 _ACEOF
59701 done
59708 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
59709 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
59710 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
59711 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
59712 echo $ECHO_N "(cached) $ECHO_C" >&6
59713 else
59717 ac_ext=cc
59718 ac_cpp='$CXXCPP $CPPFLAGS'
59719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59723 cat >conftest.$ac_ext <<_ACEOF
59724 /* confdefs.h. */
59725 _ACEOF
59726 cat confdefs.h >>conftest.$ac_ext
59727 cat >>conftest.$ac_ext <<_ACEOF
59728 /* end confdefs.h. */
59729 #include <math.h>
59731 main ()
59733 hypotf(0, 0);
59735 return 0;
59737 _ACEOF
59738 rm -f conftest.$ac_objext
59739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59740 (eval $ac_compile) 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_cxx_werror_flag"
59748 || test ! -s conftest.err'
59749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59750 (eval $ac_try) 2>&5
59751 ac_status=$?
59752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59753 (exit $ac_status); }; } &&
59754 { ac_try='test -s conftest.$ac_objext'
59755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59756 (eval $ac_try) 2>&5
59757 ac_status=$?
59758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59759 (exit $ac_status); }; }; then
59760 glibcxx_cv_func_hypotf_use=yes
59761 else
59762 echo "$as_me: failed program was:" >&5
59763 sed 's/^/| /' conftest.$ac_ext >&5
59765 glibcxx_cv_func_hypotf_use=no
59767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59768 ac_ext=c
59769 ac_cpp='$CPP $CPPFLAGS'
59770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59778 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
59779 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
59781 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
59783 for ac_func in hypotf
59785 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59786 echo "$as_me:$LINENO: checking for $ac_func" >&5
59787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59788 if eval "test \"\${$as_ac_var+set}\" = set"; then
59789 echo $ECHO_N "(cached) $ECHO_C" >&6
59790 else
59791 if test x$gcc_no_link = xyes; then
59792 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59793 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59794 { (exit 1); exit 1; }; }
59796 cat >conftest.$ac_ext <<_ACEOF
59797 /* confdefs.h. */
59798 _ACEOF
59799 cat confdefs.h >>conftest.$ac_ext
59800 cat >>conftest.$ac_ext <<_ACEOF
59801 /* end confdefs.h. */
59802 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59803 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59804 #define $ac_func innocuous_$ac_func
59806 /* System header to define __stub macros and hopefully few prototypes,
59807 which can conflict with char $ac_func (); below.
59808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59809 <limits.h> exists even on freestanding compilers. */
59811 #ifdef __STDC__
59812 # include <limits.h>
59813 #else
59814 # include <assert.h>
59815 #endif
59817 #undef $ac_func
59819 /* Override any gcc2 internal prototype to avoid an error. */
59820 #ifdef __cplusplus
59821 extern "C"
59823 #endif
59824 /* We use char because int might match the return type of a gcc2
59825 builtin and then its argument prototype would still apply. */
59826 char $ac_func ();
59827 /* The GNU C library defines this for functions which it implements
59828 to always fail with ENOSYS. Some functions are actually named
59829 something starting with __ and the normal name is an alias. */
59830 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59831 choke me
59832 #else
59833 char (*f) () = $ac_func;
59834 #endif
59835 #ifdef __cplusplus
59837 #endif
59840 main ()
59842 return f != $ac_func;
59844 return 0;
59846 _ACEOF
59847 rm -f conftest.$ac_objext conftest$ac_exeext
59848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59849 (eval $ac_link) 2>conftest.er1
59850 ac_status=$?
59851 grep -v '^ *+' conftest.er1 >conftest.err
59852 rm -f conftest.er1
59853 cat conftest.err >&5
59854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59855 (exit $ac_status); } &&
59856 { ac_try='test -z "$ac_c_werror_flag"
59857 || test ! -s conftest.err'
59858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59859 (eval $ac_try) 2>&5
59860 ac_status=$?
59861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59862 (exit $ac_status); }; } &&
59863 { ac_try='test -s conftest$ac_exeext'
59864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59865 (eval $ac_try) 2>&5
59866 ac_status=$?
59867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59868 (exit $ac_status); }; }; then
59869 eval "$as_ac_var=yes"
59870 else
59871 echo "$as_me: failed program was:" >&5
59872 sed 's/^/| /' conftest.$ac_ext >&5
59874 eval "$as_ac_var=no"
59876 rm -f conftest.err conftest.$ac_objext \
59877 conftest$ac_exeext conftest.$ac_ext
59879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59880 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59881 if test `eval echo '${'$as_ac_var'}'` = yes; then
59882 cat >>confdefs.h <<_ACEOF
59883 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59884 _ACEOF
59887 done
59889 else
59891 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
59892 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
59893 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
59894 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
59895 echo $ECHO_N "(cached) $ECHO_C" >&6
59896 else
59900 ac_ext=cc
59901 ac_cpp='$CXXCPP $CPPFLAGS'
59902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59906 cat >conftest.$ac_ext <<_ACEOF
59907 /* confdefs.h. */
59908 _ACEOF
59909 cat confdefs.h >>conftest.$ac_ext
59910 cat >>conftest.$ac_ext <<_ACEOF
59911 /* end confdefs.h. */
59912 #include <math.h>
59914 main ()
59916 _hypotf(0, 0);
59918 return 0;
59920 _ACEOF
59921 rm -f conftest.$ac_objext
59922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59923 (eval $ac_compile) 2>conftest.er1
59924 ac_status=$?
59925 grep -v '^ *+' conftest.er1 >conftest.err
59926 rm -f conftest.er1
59927 cat conftest.err >&5
59928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59929 (exit $ac_status); } &&
59930 { ac_try='test -z "$ac_cxx_werror_flag"
59931 || test ! -s conftest.err'
59932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59933 (eval $ac_try) 2>&5
59934 ac_status=$?
59935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59936 (exit $ac_status); }; } &&
59937 { ac_try='test -s conftest.$ac_objext'
59938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59939 (eval $ac_try) 2>&5
59940 ac_status=$?
59941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59942 (exit $ac_status); }; }; then
59943 glibcxx_cv_func__hypotf_use=yes
59944 else
59945 echo "$as_me: failed program was:" >&5
59946 sed 's/^/| /' conftest.$ac_ext >&5
59948 glibcxx_cv_func__hypotf_use=no
59950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59951 ac_ext=c
59952 ac_cpp='$CPP $CPPFLAGS'
59953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59961 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
59962 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
59964 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
59966 for ac_func in _hypotf
59968 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59969 echo "$as_me:$LINENO: checking for $ac_func" >&5
59970 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59971 if eval "test \"\${$as_ac_var+set}\" = set"; then
59972 echo $ECHO_N "(cached) $ECHO_C" >&6
59973 else
59974 if test x$gcc_no_link = xyes; then
59975 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59976 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59977 { (exit 1); exit 1; }; }
59979 cat >conftest.$ac_ext <<_ACEOF
59980 /* confdefs.h. */
59981 _ACEOF
59982 cat confdefs.h >>conftest.$ac_ext
59983 cat >>conftest.$ac_ext <<_ACEOF
59984 /* end confdefs.h. */
59985 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59986 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59987 #define $ac_func innocuous_$ac_func
59989 /* System header to define __stub macros and hopefully few prototypes,
59990 which can conflict with char $ac_func (); below.
59991 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59992 <limits.h> exists even on freestanding compilers. */
59994 #ifdef __STDC__
59995 # include <limits.h>
59996 #else
59997 # include <assert.h>
59998 #endif
60000 #undef $ac_func
60002 /* Override any gcc2 internal prototype to avoid an error. */
60003 #ifdef __cplusplus
60004 extern "C"
60006 #endif
60007 /* We use char because int might match the return type of a gcc2
60008 builtin and then its argument prototype would still apply. */
60009 char $ac_func ();
60010 /* The GNU C library defines this for functions which it implements
60011 to always fail with ENOSYS. Some functions are actually named
60012 something starting with __ and the normal name is an alias. */
60013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60014 choke me
60015 #else
60016 char (*f) () = $ac_func;
60017 #endif
60018 #ifdef __cplusplus
60020 #endif
60023 main ()
60025 return f != $ac_func;
60027 return 0;
60029 _ACEOF
60030 rm -f conftest.$ac_objext conftest$ac_exeext
60031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60032 (eval $ac_link) 2>conftest.er1
60033 ac_status=$?
60034 grep -v '^ *+' conftest.er1 >conftest.err
60035 rm -f conftest.er1
60036 cat conftest.err >&5
60037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60038 (exit $ac_status); } &&
60039 { ac_try='test -z "$ac_c_werror_flag"
60040 || test ! -s conftest.err'
60041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60042 (eval $ac_try) 2>&5
60043 ac_status=$?
60044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60045 (exit $ac_status); }; } &&
60046 { ac_try='test -s conftest$ac_exeext'
60047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60048 (eval $ac_try) 2>&5
60049 ac_status=$?
60050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60051 (exit $ac_status); }; }; then
60052 eval "$as_ac_var=yes"
60053 else
60054 echo "$as_me: failed program was:" >&5
60055 sed 's/^/| /' conftest.$ac_ext >&5
60057 eval "$as_ac_var=no"
60059 rm -f conftest.err conftest.$ac_objext \
60060 conftest$ac_exeext conftest.$ac_ext
60062 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60063 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60064 if test `eval echo '${'$as_ac_var'}'` = yes; then
60065 cat >>confdefs.h <<_ACEOF
60066 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60067 _ACEOF
60070 done
60077 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
60078 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
60079 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
60080 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
60081 echo $ECHO_N "(cached) $ECHO_C" >&6
60082 else
60086 ac_ext=cc
60087 ac_cpp='$CXXCPP $CPPFLAGS'
60088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60092 cat >conftest.$ac_ext <<_ACEOF
60093 /* confdefs.h. */
60094 _ACEOF
60095 cat confdefs.h >>conftest.$ac_ext
60096 cat >>conftest.$ac_ext <<_ACEOF
60097 /* end confdefs.h. */
60098 #include <math.h>
60100 main ()
60102 ldexpf(0, 0);
60104 return 0;
60106 _ACEOF
60107 rm -f conftest.$ac_objext
60108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60109 (eval $ac_compile) 2>conftest.er1
60110 ac_status=$?
60111 grep -v '^ *+' conftest.er1 >conftest.err
60112 rm -f conftest.er1
60113 cat conftest.err >&5
60114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60115 (exit $ac_status); } &&
60116 { ac_try='test -z "$ac_cxx_werror_flag"
60117 || test ! -s conftest.err'
60118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60119 (eval $ac_try) 2>&5
60120 ac_status=$?
60121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60122 (exit $ac_status); }; } &&
60123 { ac_try='test -s conftest.$ac_objext'
60124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60125 (eval $ac_try) 2>&5
60126 ac_status=$?
60127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60128 (exit $ac_status); }; }; then
60129 glibcxx_cv_func_ldexpf_use=yes
60130 else
60131 echo "$as_me: failed program was:" >&5
60132 sed 's/^/| /' conftest.$ac_ext >&5
60134 glibcxx_cv_func_ldexpf_use=no
60136 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60137 ac_ext=c
60138 ac_cpp='$CPP $CPPFLAGS'
60139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60147 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
60148 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
60150 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
60152 for ac_func in ldexpf
60154 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60155 echo "$as_me:$LINENO: checking for $ac_func" >&5
60156 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60157 if eval "test \"\${$as_ac_var+set}\" = set"; then
60158 echo $ECHO_N "(cached) $ECHO_C" >&6
60159 else
60160 if test x$gcc_no_link = xyes; then
60161 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60162 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60163 { (exit 1); exit 1; }; }
60165 cat >conftest.$ac_ext <<_ACEOF
60166 /* confdefs.h. */
60167 _ACEOF
60168 cat confdefs.h >>conftest.$ac_ext
60169 cat >>conftest.$ac_ext <<_ACEOF
60170 /* end confdefs.h. */
60171 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60172 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60173 #define $ac_func innocuous_$ac_func
60175 /* System header to define __stub macros and hopefully few prototypes,
60176 which can conflict with char $ac_func (); below.
60177 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60178 <limits.h> exists even on freestanding compilers. */
60180 #ifdef __STDC__
60181 # include <limits.h>
60182 #else
60183 # include <assert.h>
60184 #endif
60186 #undef $ac_func
60188 /* Override any gcc2 internal prototype to avoid an error. */
60189 #ifdef __cplusplus
60190 extern "C"
60192 #endif
60193 /* We use char because int might match the return type of a gcc2
60194 builtin and then its argument prototype would still apply. */
60195 char $ac_func ();
60196 /* The GNU C library defines this for functions which it implements
60197 to always fail with ENOSYS. Some functions are actually named
60198 something starting with __ and the normal name is an alias. */
60199 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60200 choke me
60201 #else
60202 char (*f) () = $ac_func;
60203 #endif
60204 #ifdef __cplusplus
60206 #endif
60209 main ()
60211 return f != $ac_func;
60213 return 0;
60215 _ACEOF
60216 rm -f conftest.$ac_objext conftest$ac_exeext
60217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60218 (eval $ac_link) 2>conftest.er1
60219 ac_status=$?
60220 grep -v '^ *+' conftest.er1 >conftest.err
60221 rm -f conftest.er1
60222 cat conftest.err >&5
60223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60224 (exit $ac_status); } &&
60225 { ac_try='test -z "$ac_c_werror_flag"
60226 || test ! -s conftest.err'
60227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60228 (eval $ac_try) 2>&5
60229 ac_status=$?
60230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60231 (exit $ac_status); }; } &&
60232 { ac_try='test -s conftest$ac_exeext'
60233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60234 (eval $ac_try) 2>&5
60235 ac_status=$?
60236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60237 (exit $ac_status); }; }; then
60238 eval "$as_ac_var=yes"
60239 else
60240 echo "$as_me: failed program was:" >&5
60241 sed 's/^/| /' conftest.$ac_ext >&5
60243 eval "$as_ac_var=no"
60245 rm -f conftest.err conftest.$ac_objext \
60246 conftest$ac_exeext conftest.$ac_ext
60248 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60249 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60250 if test `eval echo '${'$as_ac_var'}'` = yes; then
60251 cat >>confdefs.h <<_ACEOF
60252 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60253 _ACEOF
60256 done
60258 else
60260 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
60261 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
60262 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
60263 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
60264 echo $ECHO_N "(cached) $ECHO_C" >&6
60265 else
60269 ac_ext=cc
60270 ac_cpp='$CXXCPP $CPPFLAGS'
60271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60275 cat >conftest.$ac_ext <<_ACEOF
60276 /* confdefs.h. */
60277 _ACEOF
60278 cat confdefs.h >>conftest.$ac_ext
60279 cat >>conftest.$ac_ext <<_ACEOF
60280 /* end confdefs.h. */
60281 #include <math.h>
60283 main ()
60285 _ldexpf(0, 0);
60287 return 0;
60289 _ACEOF
60290 rm -f conftest.$ac_objext
60291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60292 (eval $ac_compile) 2>conftest.er1
60293 ac_status=$?
60294 grep -v '^ *+' conftest.er1 >conftest.err
60295 rm -f conftest.er1
60296 cat conftest.err >&5
60297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60298 (exit $ac_status); } &&
60299 { ac_try='test -z "$ac_cxx_werror_flag"
60300 || test ! -s conftest.err'
60301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60302 (eval $ac_try) 2>&5
60303 ac_status=$?
60304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60305 (exit $ac_status); }; } &&
60306 { ac_try='test -s conftest.$ac_objext'
60307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60308 (eval $ac_try) 2>&5
60309 ac_status=$?
60310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60311 (exit $ac_status); }; }; then
60312 glibcxx_cv_func__ldexpf_use=yes
60313 else
60314 echo "$as_me: failed program was:" >&5
60315 sed 's/^/| /' conftest.$ac_ext >&5
60317 glibcxx_cv_func__ldexpf_use=no
60319 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60320 ac_ext=c
60321 ac_cpp='$CPP $CPPFLAGS'
60322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60330 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
60331 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
60333 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
60335 for ac_func in _ldexpf
60337 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60338 echo "$as_me:$LINENO: checking for $ac_func" >&5
60339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60340 if eval "test \"\${$as_ac_var+set}\" = set"; then
60341 echo $ECHO_N "(cached) $ECHO_C" >&6
60342 else
60343 if test x$gcc_no_link = xyes; then
60344 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60345 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60346 { (exit 1); exit 1; }; }
60348 cat >conftest.$ac_ext <<_ACEOF
60349 /* confdefs.h. */
60350 _ACEOF
60351 cat confdefs.h >>conftest.$ac_ext
60352 cat >>conftest.$ac_ext <<_ACEOF
60353 /* end confdefs.h. */
60354 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60355 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60356 #define $ac_func innocuous_$ac_func
60358 /* System header to define __stub macros and hopefully few prototypes,
60359 which can conflict with char $ac_func (); below.
60360 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60361 <limits.h> exists even on freestanding compilers. */
60363 #ifdef __STDC__
60364 # include <limits.h>
60365 #else
60366 # include <assert.h>
60367 #endif
60369 #undef $ac_func
60371 /* Override any gcc2 internal prototype to avoid an error. */
60372 #ifdef __cplusplus
60373 extern "C"
60375 #endif
60376 /* We use char because int might match the return type of a gcc2
60377 builtin and then its argument prototype would still apply. */
60378 char $ac_func ();
60379 /* The GNU C library defines this for functions which it implements
60380 to always fail with ENOSYS. Some functions are actually named
60381 something starting with __ and the normal name is an alias. */
60382 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60383 choke me
60384 #else
60385 char (*f) () = $ac_func;
60386 #endif
60387 #ifdef __cplusplus
60389 #endif
60392 main ()
60394 return f != $ac_func;
60396 return 0;
60398 _ACEOF
60399 rm -f conftest.$ac_objext conftest$ac_exeext
60400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60401 (eval $ac_link) 2>conftest.er1
60402 ac_status=$?
60403 grep -v '^ *+' conftest.er1 >conftest.err
60404 rm -f conftest.er1
60405 cat conftest.err >&5
60406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60407 (exit $ac_status); } &&
60408 { ac_try='test -z "$ac_c_werror_flag"
60409 || test ! -s conftest.err'
60410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60411 (eval $ac_try) 2>&5
60412 ac_status=$?
60413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60414 (exit $ac_status); }; } &&
60415 { ac_try='test -s conftest$ac_exeext'
60416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60417 (eval $ac_try) 2>&5
60418 ac_status=$?
60419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60420 (exit $ac_status); }; }; then
60421 eval "$as_ac_var=yes"
60422 else
60423 echo "$as_me: failed program was:" >&5
60424 sed 's/^/| /' conftest.$ac_ext >&5
60426 eval "$as_ac_var=no"
60428 rm -f conftest.err conftest.$ac_objext \
60429 conftest$ac_exeext conftest.$ac_ext
60431 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60432 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60433 if test `eval echo '${'$as_ac_var'}'` = yes; then
60434 cat >>confdefs.h <<_ACEOF
60435 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60436 _ACEOF
60439 done
60446 echo "$as_me:$LINENO: checking for logf declaration" >&5
60447 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
60448 if test x${glibcxx_cv_func_logf_use+set} != xset; then
60449 if test "${glibcxx_cv_func_logf_use+set}" = set; then
60450 echo $ECHO_N "(cached) $ECHO_C" >&6
60451 else
60455 ac_ext=cc
60456 ac_cpp='$CXXCPP $CPPFLAGS'
60457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60461 cat >conftest.$ac_ext <<_ACEOF
60462 /* confdefs.h. */
60463 _ACEOF
60464 cat confdefs.h >>conftest.$ac_ext
60465 cat >>conftest.$ac_ext <<_ACEOF
60466 /* end confdefs.h. */
60467 #include <math.h>
60468 #ifdef HAVE_IEEEFP_H
60469 #include <ieeefp.h>
60470 #endif
60473 main ()
60475 logf(0);
60477 return 0;
60479 _ACEOF
60480 rm -f conftest.$ac_objext
60481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60482 (eval $ac_compile) 2>conftest.er1
60483 ac_status=$?
60484 grep -v '^ *+' conftest.er1 >conftest.err
60485 rm -f conftest.er1
60486 cat conftest.err >&5
60487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60488 (exit $ac_status); } &&
60489 { ac_try='test -z "$ac_cxx_werror_flag"
60490 || test ! -s conftest.err'
60491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60492 (eval $ac_try) 2>&5
60493 ac_status=$?
60494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60495 (exit $ac_status); }; } &&
60496 { ac_try='test -s conftest.$ac_objext'
60497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60498 (eval $ac_try) 2>&5
60499 ac_status=$?
60500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60501 (exit $ac_status); }; }; then
60502 glibcxx_cv_func_logf_use=yes
60503 else
60504 echo "$as_me: failed program was:" >&5
60505 sed 's/^/| /' conftest.$ac_ext >&5
60507 glibcxx_cv_func_logf_use=no
60509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60510 ac_ext=c
60511 ac_cpp='$CPP $CPPFLAGS'
60512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60520 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
60521 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
60523 if test x$glibcxx_cv_func_logf_use = x"yes"; then
60525 for ac_func in logf
60527 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60528 echo "$as_me:$LINENO: checking for $ac_func" >&5
60529 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60530 if eval "test \"\${$as_ac_var+set}\" = set"; then
60531 echo $ECHO_N "(cached) $ECHO_C" >&6
60532 else
60533 if test x$gcc_no_link = xyes; then
60534 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60535 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60536 { (exit 1); exit 1; }; }
60538 cat >conftest.$ac_ext <<_ACEOF
60539 /* confdefs.h. */
60540 _ACEOF
60541 cat confdefs.h >>conftest.$ac_ext
60542 cat >>conftest.$ac_ext <<_ACEOF
60543 /* end confdefs.h. */
60544 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60545 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60546 #define $ac_func innocuous_$ac_func
60548 /* System header to define __stub macros and hopefully few prototypes,
60549 which can conflict with char $ac_func (); below.
60550 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60551 <limits.h> exists even on freestanding compilers. */
60553 #ifdef __STDC__
60554 # include <limits.h>
60555 #else
60556 # include <assert.h>
60557 #endif
60559 #undef $ac_func
60561 /* Override any gcc2 internal prototype to avoid an error. */
60562 #ifdef __cplusplus
60563 extern "C"
60565 #endif
60566 /* We use char because int might match the return type of a gcc2
60567 builtin and then its argument prototype would still apply. */
60568 char $ac_func ();
60569 /* The GNU C library defines this for functions which it implements
60570 to always fail with ENOSYS. Some functions are actually named
60571 something starting with __ and the normal name is an alias. */
60572 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60573 choke me
60574 #else
60575 char (*f) () = $ac_func;
60576 #endif
60577 #ifdef __cplusplus
60579 #endif
60582 main ()
60584 return f != $ac_func;
60586 return 0;
60588 _ACEOF
60589 rm -f conftest.$ac_objext conftest$ac_exeext
60590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60591 (eval $ac_link) 2>conftest.er1
60592 ac_status=$?
60593 grep -v '^ *+' conftest.er1 >conftest.err
60594 rm -f conftest.er1
60595 cat conftest.err >&5
60596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60597 (exit $ac_status); } &&
60598 { ac_try='test -z "$ac_c_werror_flag"
60599 || test ! -s conftest.err'
60600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60601 (eval $ac_try) 2>&5
60602 ac_status=$?
60603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60604 (exit $ac_status); }; } &&
60605 { ac_try='test -s conftest$ac_exeext'
60606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60607 (eval $ac_try) 2>&5
60608 ac_status=$?
60609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60610 (exit $ac_status); }; }; then
60611 eval "$as_ac_var=yes"
60612 else
60613 echo "$as_me: failed program was:" >&5
60614 sed 's/^/| /' conftest.$ac_ext >&5
60616 eval "$as_ac_var=no"
60618 rm -f conftest.err conftest.$ac_objext \
60619 conftest$ac_exeext conftest.$ac_ext
60621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60622 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60623 if test `eval echo '${'$as_ac_var'}'` = yes; then
60624 cat >>confdefs.h <<_ACEOF
60625 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60626 _ACEOF
60629 done
60631 else
60633 echo "$as_me:$LINENO: checking for _logf declaration" >&5
60634 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
60635 if test x${glibcxx_cv_func__logf_use+set} != xset; then
60636 if test "${glibcxx_cv_func__logf_use+set}" = set; then
60637 echo $ECHO_N "(cached) $ECHO_C" >&6
60638 else
60642 ac_ext=cc
60643 ac_cpp='$CXXCPP $CPPFLAGS'
60644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60648 cat >conftest.$ac_ext <<_ACEOF
60649 /* confdefs.h. */
60650 _ACEOF
60651 cat confdefs.h >>conftest.$ac_ext
60652 cat >>conftest.$ac_ext <<_ACEOF
60653 /* end confdefs.h. */
60654 #include <math.h>
60655 #ifdef HAVE_IEEEFP_H
60656 #include <ieeefp.h>
60657 #endif
60660 main ()
60662 _logf(0);
60664 return 0;
60666 _ACEOF
60667 rm -f conftest.$ac_objext
60668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60669 (eval $ac_compile) 2>conftest.er1
60670 ac_status=$?
60671 grep -v '^ *+' conftest.er1 >conftest.err
60672 rm -f conftest.er1
60673 cat conftest.err >&5
60674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60675 (exit $ac_status); } &&
60676 { ac_try='test -z "$ac_cxx_werror_flag"
60677 || 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_objext'
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 glibcxx_cv_func__logf_use=yes
60690 else
60691 echo "$as_me: failed program was:" >&5
60692 sed 's/^/| /' conftest.$ac_ext >&5
60694 glibcxx_cv_func__logf_use=no
60696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60697 ac_ext=c
60698 ac_cpp='$CPP $CPPFLAGS'
60699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60707 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
60708 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
60710 if test x$glibcxx_cv_func__logf_use = x"yes"; then
60712 for ac_func in _logf
60714 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60715 echo "$as_me:$LINENO: checking for $ac_func" >&5
60716 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60717 if eval "test \"\${$as_ac_var+set}\" = set"; then
60718 echo $ECHO_N "(cached) $ECHO_C" >&6
60719 else
60720 if test x$gcc_no_link = xyes; then
60721 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60722 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60723 { (exit 1); exit 1; }; }
60725 cat >conftest.$ac_ext <<_ACEOF
60726 /* confdefs.h. */
60727 _ACEOF
60728 cat confdefs.h >>conftest.$ac_ext
60729 cat >>conftest.$ac_ext <<_ACEOF
60730 /* end confdefs.h. */
60731 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60732 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60733 #define $ac_func innocuous_$ac_func
60735 /* System header to define __stub macros and hopefully few prototypes,
60736 which can conflict with char $ac_func (); below.
60737 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60738 <limits.h> exists even on freestanding compilers. */
60740 #ifdef __STDC__
60741 # include <limits.h>
60742 #else
60743 # include <assert.h>
60744 #endif
60746 #undef $ac_func
60748 /* Override any gcc2 internal prototype to avoid an error. */
60749 #ifdef __cplusplus
60750 extern "C"
60752 #endif
60753 /* We use char because int might match the return type of a gcc2
60754 builtin and then its argument prototype would still apply. */
60755 char $ac_func ();
60756 /* The GNU C library defines this for functions which it implements
60757 to always fail with ENOSYS. Some functions are actually named
60758 something starting with __ and the normal name is an alias. */
60759 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60760 choke me
60761 #else
60762 char (*f) () = $ac_func;
60763 #endif
60764 #ifdef __cplusplus
60766 #endif
60769 main ()
60771 return f != $ac_func;
60773 return 0;
60775 _ACEOF
60776 rm -f conftest.$ac_objext conftest$ac_exeext
60777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60778 (eval $ac_link) 2>conftest.er1
60779 ac_status=$?
60780 grep -v '^ *+' conftest.er1 >conftest.err
60781 rm -f conftest.er1
60782 cat conftest.err >&5
60783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60784 (exit $ac_status); } &&
60785 { ac_try='test -z "$ac_c_werror_flag"
60786 || test ! -s conftest.err'
60787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60788 (eval $ac_try) 2>&5
60789 ac_status=$?
60790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60791 (exit $ac_status); }; } &&
60792 { ac_try='test -s conftest$ac_exeext'
60793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60794 (eval $ac_try) 2>&5
60795 ac_status=$?
60796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60797 (exit $ac_status); }; }; then
60798 eval "$as_ac_var=yes"
60799 else
60800 echo "$as_me: failed program was:" >&5
60801 sed 's/^/| /' conftest.$ac_ext >&5
60803 eval "$as_ac_var=no"
60805 rm -f conftest.err conftest.$ac_objext \
60806 conftest$ac_exeext conftest.$ac_ext
60808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60809 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60810 if test `eval echo '${'$as_ac_var'}'` = yes; then
60811 cat >>confdefs.h <<_ACEOF
60812 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60813 _ACEOF
60816 done
60823 echo "$as_me:$LINENO: checking for log10f declaration" >&5
60824 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
60825 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
60826 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
60827 echo $ECHO_N "(cached) $ECHO_C" >&6
60828 else
60832 ac_ext=cc
60833 ac_cpp='$CXXCPP $CPPFLAGS'
60834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60838 cat >conftest.$ac_ext <<_ACEOF
60839 /* confdefs.h. */
60840 _ACEOF
60841 cat confdefs.h >>conftest.$ac_ext
60842 cat >>conftest.$ac_ext <<_ACEOF
60843 /* end confdefs.h. */
60844 #include <math.h>
60845 #ifdef HAVE_IEEEFP_H
60846 #include <ieeefp.h>
60847 #endif
60850 main ()
60852 log10f(0);
60854 return 0;
60856 _ACEOF
60857 rm -f conftest.$ac_objext
60858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60859 (eval $ac_compile) 2>conftest.er1
60860 ac_status=$?
60861 grep -v '^ *+' conftest.er1 >conftest.err
60862 rm -f conftest.er1
60863 cat conftest.err >&5
60864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60865 (exit $ac_status); } &&
60866 { ac_try='test -z "$ac_cxx_werror_flag"
60867 || test ! -s conftest.err'
60868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60869 (eval $ac_try) 2>&5
60870 ac_status=$?
60871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60872 (exit $ac_status); }; } &&
60873 { ac_try='test -s conftest.$ac_objext'
60874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60875 (eval $ac_try) 2>&5
60876 ac_status=$?
60877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60878 (exit $ac_status); }; }; then
60879 glibcxx_cv_func_log10f_use=yes
60880 else
60881 echo "$as_me: failed program was:" >&5
60882 sed 's/^/| /' conftest.$ac_ext >&5
60884 glibcxx_cv_func_log10f_use=no
60886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60887 ac_ext=c
60888 ac_cpp='$CPP $CPPFLAGS'
60889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60897 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
60898 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
60900 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
60902 for ac_func in log10f
60904 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60905 echo "$as_me:$LINENO: checking for $ac_func" >&5
60906 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60907 if eval "test \"\${$as_ac_var+set}\" = set"; then
60908 echo $ECHO_N "(cached) $ECHO_C" >&6
60909 else
60910 if test x$gcc_no_link = xyes; then
60911 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60912 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60913 { (exit 1); exit 1; }; }
60915 cat >conftest.$ac_ext <<_ACEOF
60916 /* confdefs.h. */
60917 _ACEOF
60918 cat confdefs.h >>conftest.$ac_ext
60919 cat >>conftest.$ac_ext <<_ACEOF
60920 /* end confdefs.h. */
60921 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60922 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60923 #define $ac_func innocuous_$ac_func
60925 /* System header to define __stub macros and hopefully few prototypes,
60926 which can conflict with char $ac_func (); below.
60927 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60928 <limits.h> exists even on freestanding compilers. */
60930 #ifdef __STDC__
60931 # include <limits.h>
60932 #else
60933 # include <assert.h>
60934 #endif
60936 #undef $ac_func
60938 /* Override any gcc2 internal prototype to avoid an error. */
60939 #ifdef __cplusplus
60940 extern "C"
60942 #endif
60943 /* We use char because int might match the return type of a gcc2
60944 builtin and then its argument prototype would still apply. */
60945 char $ac_func ();
60946 /* The GNU C library defines this for functions which it implements
60947 to always fail with ENOSYS. Some functions are actually named
60948 something starting with __ and the normal name is an alias. */
60949 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60950 choke me
60951 #else
60952 char (*f) () = $ac_func;
60953 #endif
60954 #ifdef __cplusplus
60956 #endif
60959 main ()
60961 return f != $ac_func;
60963 return 0;
60965 _ACEOF
60966 rm -f conftest.$ac_objext conftest$ac_exeext
60967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60968 (eval $ac_link) 2>conftest.er1
60969 ac_status=$?
60970 grep -v '^ *+' conftest.er1 >conftest.err
60971 rm -f conftest.er1
60972 cat conftest.err >&5
60973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60974 (exit $ac_status); } &&
60975 { ac_try='test -z "$ac_c_werror_flag"
60976 || test ! -s conftest.err'
60977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60978 (eval $ac_try) 2>&5
60979 ac_status=$?
60980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60981 (exit $ac_status); }; } &&
60982 { ac_try='test -s conftest$ac_exeext'
60983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60984 (eval $ac_try) 2>&5
60985 ac_status=$?
60986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60987 (exit $ac_status); }; }; then
60988 eval "$as_ac_var=yes"
60989 else
60990 echo "$as_me: failed program was:" >&5
60991 sed 's/^/| /' conftest.$ac_ext >&5
60993 eval "$as_ac_var=no"
60995 rm -f conftest.err conftest.$ac_objext \
60996 conftest$ac_exeext conftest.$ac_ext
60998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60999 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61000 if test `eval echo '${'$as_ac_var'}'` = yes; then
61001 cat >>confdefs.h <<_ACEOF
61002 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61003 _ACEOF
61006 done
61008 else
61010 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
61011 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
61012 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
61013 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
61014 echo $ECHO_N "(cached) $ECHO_C" >&6
61015 else
61019 ac_ext=cc
61020 ac_cpp='$CXXCPP $CPPFLAGS'
61021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61025 cat >conftest.$ac_ext <<_ACEOF
61026 /* confdefs.h. */
61027 _ACEOF
61028 cat confdefs.h >>conftest.$ac_ext
61029 cat >>conftest.$ac_ext <<_ACEOF
61030 /* end confdefs.h. */
61031 #include <math.h>
61032 #ifdef HAVE_IEEEFP_H
61033 #include <ieeefp.h>
61034 #endif
61037 main ()
61039 _log10f(0);
61041 return 0;
61043 _ACEOF
61044 rm -f conftest.$ac_objext
61045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61046 (eval $ac_compile) 2>conftest.er1
61047 ac_status=$?
61048 grep -v '^ *+' conftest.er1 >conftest.err
61049 rm -f conftest.er1
61050 cat conftest.err >&5
61051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61052 (exit $ac_status); } &&
61053 { ac_try='test -z "$ac_cxx_werror_flag"
61054 || test ! -s conftest.err'
61055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61056 (eval $ac_try) 2>&5
61057 ac_status=$?
61058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61059 (exit $ac_status); }; } &&
61060 { ac_try='test -s conftest.$ac_objext'
61061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61062 (eval $ac_try) 2>&5
61063 ac_status=$?
61064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61065 (exit $ac_status); }; }; then
61066 glibcxx_cv_func__log10f_use=yes
61067 else
61068 echo "$as_me: failed program was:" >&5
61069 sed 's/^/| /' conftest.$ac_ext >&5
61071 glibcxx_cv_func__log10f_use=no
61073 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61074 ac_ext=c
61075 ac_cpp='$CPP $CPPFLAGS'
61076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61084 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
61085 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
61087 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
61089 for ac_func in _log10f
61091 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61092 echo "$as_me:$LINENO: checking for $ac_func" >&5
61093 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61094 if eval "test \"\${$as_ac_var+set}\" = set"; then
61095 echo $ECHO_N "(cached) $ECHO_C" >&6
61096 else
61097 if test x$gcc_no_link = xyes; then
61098 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61099 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61100 { (exit 1); exit 1; }; }
61102 cat >conftest.$ac_ext <<_ACEOF
61103 /* confdefs.h. */
61104 _ACEOF
61105 cat confdefs.h >>conftest.$ac_ext
61106 cat >>conftest.$ac_ext <<_ACEOF
61107 /* end confdefs.h. */
61108 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61109 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61110 #define $ac_func innocuous_$ac_func
61112 /* System header to define __stub macros and hopefully few prototypes,
61113 which can conflict with char $ac_func (); below.
61114 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61115 <limits.h> exists even on freestanding compilers. */
61117 #ifdef __STDC__
61118 # include <limits.h>
61119 #else
61120 # include <assert.h>
61121 #endif
61123 #undef $ac_func
61125 /* Override any gcc2 internal prototype to avoid an error. */
61126 #ifdef __cplusplus
61127 extern "C"
61129 #endif
61130 /* We use char because int might match the return type of a gcc2
61131 builtin and then its argument prototype would still apply. */
61132 char $ac_func ();
61133 /* The GNU C library defines this for functions which it implements
61134 to always fail with ENOSYS. Some functions are actually named
61135 something starting with __ and the normal name is an alias. */
61136 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61137 choke me
61138 #else
61139 char (*f) () = $ac_func;
61140 #endif
61141 #ifdef __cplusplus
61143 #endif
61146 main ()
61148 return f != $ac_func;
61150 return 0;
61152 _ACEOF
61153 rm -f conftest.$ac_objext conftest$ac_exeext
61154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61155 (eval $ac_link) 2>conftest.er1
61156 ac_status=$?
61157 grep -v '^ *+' conftest.er1 >conftest.err
61158 rm -f conftest.er1
61159 cat conftest.err >&5
61160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61161 (exit $ac_status); } &&
61162 { ac_try='test -z "$ac_c_werror_flag"
61163 || test ! -s conftest.err'
61164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61165 (eval $ac_try) 2>&5
61166 ac_status=$?
61167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61168 (exit $ac_status); }; } &&
61169 { ac_try='test -s conftest$ac_exeext'
61170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61171 (eval $ac_try) 2>&5
61172 ac_status=$?
61173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61174 (exit $ac_status); }; }; then
61175 eval "$as_ac_var=yes"
61176 else
61177 echo "$as_me: failed program was:" >&5
61178 sed 's/^/| /' conftest.$ac_ext >&5
61180 eval "$as_ac_var=no"
61182 rm -f conftest.err conftest.$ac_objext \
61183 conftest$ac_exeext conftest.$ac_ext
61185 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61186 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61187 if test `eval echo '${'$as_ac_var'}'` = yes; then
61188 cat >>confdefs.h <<_ACEOF
61189 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61190 _ACEOF
61193 done
61200 echo "$as_me:$LINENO: checking for modff declaration" >&5
61201 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
61202 if test x${glibcxx_cv_func_modff_use+set} != xset; then
61203 if test "${glibcxx_cv_func_modff_use+set}" = set; then
61204 echo $ECHO_N "(cached) $ECHO_C" >&6
61205 else
61209 ac_ext=cc
61210 ac_cpp='$CXXCPP $CPPFLAGS'
61211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61215 cat >conftest.$ac_ext <<_ACEOF
61216 /* confdefs.h. */
61217 _ACEOF
61218 cat confdefs.h >>conftest.$ac_ext
61219 cat >>conftest.$ac_ext <<_ACEOF
61220 /* end confdefs.h. */
61221 #include <math.h>
61223 main ()
61225 modff(0, 0);
61227 return 0;
61229 _ACEOF
61230 rm -f conftest.$ac_objext
61231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61232 (eval $ac_compile) 2>conftest.er1
61233 ac_status=$?
61234 grep -v '^ *+' conftest.er1 >conftest.err
61235 rm -f conftest.er1
61236 cat conftest.err >&5
61237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61238 (exit $ac_status); } &&
61239 { ac_try='test -z "$ac_cxx_werror_flag"
61240 || test ! -s conftest.err'
61241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61242 (eval $ac_try) 2>&5
61243 ac_status=$?
61244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61245 (exit $ac_status); }; } &&
61246 { ac_try='test -s conftest.$ac_objext'
61247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61248 (eval $ac_try) 2>&5
61249 ac_status=$?
61250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61251 (exit $ac_status); }; }; then
61252 glibcxx_cv_func_modff_use=yes
61253 else
61254 echo "$as_me: failed program was:" >&5
61255 sed 's/^/| /' conftest.$ac_ext >&5
61257 glibcxx_cv_func_modff_use=no
61259 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61260 ac_ext=c
61261 ac_cpp='$CPP $CPPFLAGS'
61262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61270 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
61271 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
61273 if test x$glibcxx_cv_func_modff_use = x"yes"; then
61275 for ac_func in modff
61277 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61278 echo "$as_me:$LINENO: checking for $ac_func" >&5
61279 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61280 if eval "test \"\${$as_ac_var+set}\" = set"; then
61281 echo $ECHO_N "(cached) $ECHO_C" >&6
61282 else
61283 if test x$gcc_no_link = xyes; then
61284 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61285 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61286 { (exit 1); exit 1; }; }
61288 cat >conftest.$ac_ext <<_ACEOF
61289 /* confdefs.h. */
61290 _ACEOF
61291 cat confdefs.h >>conftest.$ac_ext
61292 cat >>conftest.$ac_ext <<_ACEOF
61293 /* end confdefs.h. */
61294 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61295 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61296 #define $ac_func innocuous_$ac_func
61298 /* System header to define __stub macros and hopefully few prototypes,
61299 which can conflict with char $ac_func (); below.
61300 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61301 <limits.h> exists even on freestanding compilers. */
61303 #ifdef __STDC__
61304 # include <limits.h>
61305 #else
61306 # include <assert.h>
61307 #endif
61309 #undef $ac_func
61311 /* Override any gcc2 internal prototype to avoid an error. */
61312 #ifdef __cplusplus
61313 extern "C"
61315 #endif
61316 /* We use char because int might match the return type of a gcc2
61317 builtin and then its argument prototype would still apply. */
61318 char $ac_func ();
61319 /* The GNU C library defines this for functions which it implements
61320 to always fail with ENOSYS. Some functions are actually named
61321 something starting with __ and the normal name is an alias. */
61322 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61323 choke me
61324 #else
61325 char (*f) () = $ac_func;
61326 #endif
61327 #ifdef __cplusplus
61329 #endif
61332 main ()
61334 return f != $ac_func;
61336 return 0;
61338 _ACEOF
61339 rm -f conftest.$ac_objext conftest$ac_exeext
61340 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61341 (eval $ac_link) 2>conftest.er1
61342 ac_status=$?
61343 grep -v '^ *+' conftest.er1 >conftest.err
61344 rm -f conftest.er1
61345 cat conftest.err >&5
61346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61347 (exit $ac_status); } &&
61348 { ac_try='test -z "$ac_c_werror_flag"
61349 || test ! -s conftest.err'
61350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61351 (eval $ac_try) 2>&5
61352 ac_status=$?
61353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61354 (exit $ac_status); }; } &&
61355 { ac_try='test -s conftest$ac_exeext'
61356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61357 (eval $ac_try) 2>&5
61358 ac_status=$?
61359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61360 (exit $ac_status); }; }; then
61361 eval "$as_ac_var=yes"
61362 else
61363 echo "$as_me: failed program was:" >&5
61364 sed 's/^/| /' conftest.$ac_ext >&5
61366 eval "$as_ac_var=no"
61368 rm -f conftest.err conftest.$ac_objext \
61369 conftest$ac_exeext conftest.$ac_ext
61371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61372 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61373 if test `eval echo '${'$as_ac_var'}'` = yes; then
61374 cat >>confdefs.h <<_ACEOF
61375 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61376 _ACEOF
61379 done
61381 else
61383 echo "$as_me:$LINENO: checking for _modff declaration" >&5
61384 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
61385 if test x${glibcxx_cv_func__modff_use+set} != xset; then
61386 if test "${glibcxx_cv_func__modff_use+set}" = set; then
61387 echo $ECHO_N "(cached) $ECHO_C" >&6
61388 else
61392 ac_ext=cc
61393 ac_cpp='$CXXCPP $CPPFLAGS'
61394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61398 cat >conftest.$ac_ext <<_ACEOF
61399 /* confdefs.h. */
61400 _ACEOF
61401 cat confdefs.h >>conftest.$ac_ext
61402 cat >>conftest.$ac_ext <<_ACEOF
61403 /* end confdefs.h. */
61404 #include <math.h>
61406 main ()
61408 _modff(0, 0);
61410 return 0;
61412 _ACEOF
61413 rm -f conftest.$ac_objext
61414 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61415 (eval $ac_compile) 2>conftest.er1
61416 ac_status=$?
61417 grep -v '^ *+' conftest.er1 >conftest.err
61418 rm -f conftest.er1
61419 cat conftest.err >&5
61420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61421 (exit $ac_status); } &&
61422 { ac_try='test -z "$ac_cxx_werror_flag"
61423 || test ! -s conftest.err'
61424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61425 (eval $ac_try) 2>&5
61426 ac_status=$?
61427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61428 (exit $ac_status); }; } &&
61429 { ac_try='test -s conftest.$ac_objext'
61430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61431 (eval $ac_try) 2>&5
61432 ac_status=$?
61433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61434 (exit $ac_status); }; }; then
61435 glibcxx_cv_func__modff_use=yes
61436 else
61437 echo "$as_me: failed program was:" >&5
61438 sed 's/^/| /' conftest.$ac_ext >&5
61440 glibcxx_cv_func__modff_use=no
61442 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61443 ac_ext=c
61444 ac_cpp='$CPP $CPPFLAGS'
61445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61453 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
61454 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
61456 if test x$glibcxx_cv_func__modff_use = x"yes"; then
61458 for ac_func in _modff
61460 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61461 echo "$as_me:$LINENO: checking for $ac_func" >&5
61462 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61463 if eval "test \"\${$as_ac_var+set}\" = set"; then
61464 echo $ECHO_N "(cached) $ECHO_C" >&6
61465 else
61466 if test x$gcc_no_link = xyes; then
61467 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61468 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61469 { (exit 1); exit 1; }; }
61471 cat >conftest.$ac_ext <<_ACEOF
61472 /* confdefs.h. */
61473 _ACEOF
61474 cat confdefs.h >>conftest.$ac_ext
61475 cat >>conftest.$ac_ext <<_ACEOF
61476 /* end confdefs.h. */
61477 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61478 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61479 #define $ac_func innocuous_$ac_func
61481 /* System header to define __stub macros and hopefully few prototypes,
61482 which can conflict with char $ac_func (); below.
61483 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61484 <limits.h> exists even on freestanding compilers. */
61486 #ifdef __STDC__
61487 # include <limits.h>
61488 #else
61489 # include <assert.h>
61490 #endif
61492 #undef $ac_func
61494 /* Override any gcc2 internal prototype to avoid an error. */
61495 #ifdef __cplusplus
61496 extern "C"
61498 #endif
61499 /* We use char because int might match the return type of a gcc2
61500 builtin and then its argument prototype would still apply. */
61501 char $ac_func ();
61502 /* The GNU C library defines this for functions which it implements
61503 to always fail with ENOSYS. Some functions are actually named
61504 something starting with __ and the normal name is an alias. */
61505 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61506 choke me
61507 #else
61508 char (*f) () = $ac_func;
61509 #endif
61510 #ifdef __cplusplus
61512 #endif
61515 main ()
61517 return f != $ac_func;
61519 return 0;
61521 _ACEOF
61522 rm -f conftest.$ac_objext conftest$ac_exeext
61523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61524 (eval $ac_link) 2>conftest.er1
61525 ac_status=$?
61526 grep -v '^ *+' conftest.er1 >conftest.err
61527 rm -f conftest.er1
61528 cat conftest.err >&5
61529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61530 (exit $ac_status); } &&
61531 { ac_try='test -z "$ac_c_werror_flag"
61532 || test ! -s conftest.err'
61533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61534 (eval $ac_try) 2>&5
61535 ac_status=$?
61536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61537 (exit $ac_status); }; } &&
61538 { ac_try='test -s conftest$ac_exeext'
61539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61540 (eval $ac_try) 2>&5
61541 ac_status=$?
61542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61543 (exit $ac_status); }; }; then
61544 eval "$as_ac_var=yes"
61545 else
61546 echo "$as_me: failed program was:" >&5
61547 sed 's/^/| /' conftest.$ac_ext >&5
61549 eval "$as_ac_var=no"
61551 rm -f conftest.err conftest.$ac_objext \
61552 conftest$ac_exeext conftest.$ac_ext
61554 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61555 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61556 if test `eval echo '${'$as_ac_var'}'` = yes; then
61557 cat >>confdefs.h <<_ACEOF
61558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61559 _ACEOF
61562 done
61569 echo "$as_me:$LINENO: checking for powf declaration" >&5
61570 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
61571 if test x${glibcxx_cv_func_powf_use+set} != xset; then
61572 if test "${glibcxx_cv_func_powf_use+set}" = set; then
61573 echo $ECHO_N "(cached) $ECHO_C" >&6
61574 else
61578 ac_ext=cc
61579 ac_cpp='$CXXCPP $CPPFLAGS'
61580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61584 cat >conftest.$ac_ext <<_ACEOF
61585 /* confdefs.h. */
61586 _ACEOF
61587 cat confdefs.h >>conftest.$ac_ext
61588 cat >>conftest.$ac_ext <<_ACEOF
61589 /* end confdefs.h. */
61590 #include <math.h>
61592 main ()
61594 powf(0, 0);
61596 return 0;
61598 _ACEOF
61599 rm -f conftest.$ac_objext
61600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61601 (eval $ac_compile) 2>conftest.er1
61602 ac_status=$?
61603 grep -v '^ *+' conftest.er1 >conftest.err
61604 rm -f conftest.er1
61605 cat conftest.err >&5
61606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61607 (exit $ac_status); } &&
61608 { ac_try='test -z "$ac_cxx_werror_flag"
61609 || test ! -s conftest.err'
61610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61611 (eval $ac_try) 2>&5
61612 ac_status=$?
61613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61614 (exit $ac_status); }; } &&
61615 { ac_try='test -s conftest.$ac_objext'
61616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61617 (eval $ac_try) 2>&5
61618 ac_status=$?
61619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61620 (exit $ac_status); }; }; then
61621 glibcxx_cv_func_powf_use=yes
61622 else
61623 echo "$as_me: failed program was:" >&5
61624 sed 's/^/| /' conftest.$ac_ext >&5
61626 glibcxx_cv_func_powf_use=no
61628 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61629 ac_ext=c
61630 ac_cpp='$CPP $CPPFLAGS'
61631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61639 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
61640 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
61642 if test x$glibcxx_cv_func_powf_use = x"yes"; then
61644 for ac_func in powf
61646 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61647 echo "$as_me:$LINENO: checking for $ac_func" >&5
61648 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61649 if eval "test \"\${$as_ac_var+set}\" = set"; then
61650 echo $ECHO_N "(cached) $ECHO_C" >&6
61651 else
61652 if test x$gcc_no_link = xyes; then
61653 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61654 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61655 { (exit 1); exit 1; }; }
61657 cat >conftest.$ac_ext <<_ACEOF
61658 /* confdefs.h. */
61659 _ACEOF
61660 cat confdefs.h >>conftest.$ac_ext
61661 cat >>conftest.$ac_ext <<_ACEOF
61662 /* end confdefs.h. */
61663 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61664 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61665 #define $ac_func innocuous_$ac_func
61667 /* System header to define __stub macros and hopefully few prototypes,
61668 which can conflict with char $ac_func (); below.
61669 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61670 <limits.h> exists even on freestanding compilers. */
61672 #ifdef __STDC__
61673 # include <limits.h>
61674 #else
61675 # include <assert.h>
61676 #endif
61678 #undef $ac_func
61680 /* Override any gcc2 internal prototype to avoid an error. */
61681 #ifdef __cplusplus
61682 extern "C"
61684 #endif
61685 /* We use char because int might match the return type of a gcc2
61686 builtin and then its argument prototype would still apply. */
61687 char $ac_func ();
61688 /* The GNU C library defines this for functions which it implements
61689 to always fail with ENOSYS. Some functions are actually named
61690 something starting with __ and the normal name is an alias. */
61691 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61692 choke me
61693 #else
61694 char (*f) () = $ac_func;
61695 #endif
61696 #ifdef __cplusplus
61698 #endif
61701 main ()
61703 return f != $ac_func;
61705 return 0;
61707 _ACEOF
61708 rm -f conftest.$ac_objext conftest$ac_exeext
61709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61710 (eval $ac_link) 2>conftest.er1
61711 ac_status=$?
61712 grep -v '^ *+' conftest.er1 >conftest.err
61713 rm -f conftest.er1
61714 cat conftest.err >&5
61715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61716 (exit $ac_status); } &&
61717 { ac_try='test -z "$ac_c_werror_flag"
61718 || test ! -s conftest.err'
61719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61720 (eval $ac_try) 2>&5
61721 ac_status=$?
61722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61723 (exit $ac_status); }; } &&
61724 { ac_try='test -s conftest$ac_exeext'
61725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61726 (eval $ac_try) 2>&5
61727 ac_status=$?
61728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61729 (exit $ac_status); }; }; then
61730 eval "$as_ac_var=yes"
61731 else
61732 echo "$as_me: failed program was:" >&5
61733 sed 's/^/| /' conftest.$ac_ext >&5
61735 eval "$as_ac_var=no"
61737 rm -f conftest.err conftest.$ac_objext \
61738 conftest$ac_exeext conftest.$ac_ext
61740 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61741 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61742 if test `eval echo '${'$as_ac_var'}'` = yes; then
61743 cat >>confdefs.h <<_ACEOF
61744 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61745 _ACEOF
61748 done
61750 else
61752 echo "$as_me:$LINENO: checking for _powf declaration" >&5
61753 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
61754 if test x${glibcxx_cv_func__powf_use+set} != xset; then
61755 if test "${glibcxx_cv_func__powf_use+set}" = set; then
61756 echo $ECHO_N "(cached) $ECHO_C" >&6
61757 else
61761 ac_ext=cc
61762 ac_cpp='$CXXCPP $CPPFLAGS'
61763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61767 cat >conftest.$ac_ext <<_ACEOF
61768 /* confdefs.h. */
61769 _ACEOF
61770 cat confdefs.h >>conftest.$ac_ext
61771 cat >>conftest.$ac_ext <<_ACEOF
61772 /* end confdefs.h. */
61773 #include <math.h>
61775 main ()
61777 _powf(0, 0);
61779 return 0;
61781 _ACEOF
61782 rm -f conftest.$ac_objext
61783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61784 (eval $ac_compile) 2>conftest.er1
61785 ac_status=$?
61786 grep -v '^ *+' conftest.er1 >conftest.err
61787 rm -f conftest.er1
61788 cat conftest.err >&5
61789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61790 (exit $ac_status); } &&
61791 { ac_try='test -z "$ac_cxx_werror_flag"
61792 || test ! -s conftest.err'
61793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61794 (eval $ac_try) 2>&5
61795 ac_status=$?
61796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61797 (exit $ac_status); }; } &&
61798 { ac_try='test -s conftest.$ac_objext'
61799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61800 (eval $ac_try) 2>&5
61801 ac_status=$?
61802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61803 (exit $ac_status); }; }; then
61804 glibcxx_cv_func__powf_use=yes
61805 else
61806 echo "$as_me: failed program was:" >&5
61807 sed 's/^/| /' conftest.$ac_ext >&5
61809 glibcxx_cv_func__powf_use=no
61811 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61812 ac_ext=c
61813 ac_cpp='$CPP $CPPFLAGS'
61814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61822 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
61823 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
61825 if test x$glibcxx_cv_func__powf_use = x"yes"; then
61827 for ac_func in _powf
61829 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61830 echo "$as_me:$LINENO: checking for $ac_func" >&5
61831 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61832 if eval "test \"\${$as_ac_var+set}\" = set"; then
61833 echo $ECHO_N "(cached) $ECHO_C" >&6
61834 else
61835 if test x$gcc_no_link = xyes; then
61836 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61837 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61838 { (exit 1); exit 1; }; }
61840 cat >conftest.$ac_ext <<_ACEOF
61841 /* confdefs.h. */
61842 _ACEOF
61843 cat confdefs.h >>conftest.$ac_ext
61844 cat >>conftest.$ac_ext <<_ACEOF
61845 /* end confdefs.h. */
61846 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61847 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61848 #define $ac_func innocuous_$ac_func
61850 /* System header to define __stub macros and hopefully few prototypes,
61851 which can conflict with char $ac_func (); below.
61852 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61853 <limits.h> exists even on freestanding compilers. */
61855 #ifdef __STDC__
61856 # include <limits.h>
61857 #else
61858 # include <assert.h>
61859 #endif
61861 #undef $ac_func
61863 /* Override any gcc2 internal prototype to avoid an error. */
61864 #ifdef __cplusplus
61865 extern "C"
61867 #endif
61868 /* We use char because int might match the return type of a gcc2
61869 builtin and then its argument prototype would still apply. */
61870 char $ac_func ();
61871 /* The GNU C library defines this for functions which it implements
61872 to always fail with ENOSYS. Some functions are actually named
61873 something starting with __ and the normal name is an alias. */
61874 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61875 choke me
61876 #else
61877 char (*f) () = $ac_func;
61878 #endif
61879 #ifdef __cplusplus
61881 #endif
61884 main ()
61886 return f != $ac_func;
61888 return 0;
61890 _ACEOF
61891 rm -f conftest.$ac_objext conftest$ac_exeext
61892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61893 (eval $ac_link) 2>conftest.er1
61894 ac_status=$?
61895 grep -v '^ *+' conftest.er1 >conftest.err
61896 rm -f conftest.er1
61897 cat conftest.err >&5
61898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61899 (exit $ac_status); } &&
61900 { ac_try='test -z "$ac_c_werror_flag"
61901 || test ! -s conftest.err'
61902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61903 (eval $ac_try) 2>&5
61904 ac_status=$?
61905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61906 (exit $ac_status); }; } &&
61907 { ac_try='test -s conftest$ac_exeext'
61908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61909 (eval $ac_try) 2>&5
61910 ac_status=$?
61911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61912 (exit $ac_status); }; }; then
61913 eval "$as_ac_var=yes"
61914 else
61915 echo "$as_me: failed program was:" >&5
61916 sed 's/^/| /' conftest.$ac_ext >&5
61918 eval "$as_ac_var=no"
61920 rm -f conftest.err conftest.$ac_objext \
61921 conftest$ac_exeext conftest.$ac_ext
61923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61924 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61925 if test `eval echo '${'$as_ac_var'}'` = yes; then
61926 cat >>confdefs.h <<_ACEOF
61927 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61928 _ACEOF
61931 done
61938 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
61939 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
61940 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
61941 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
61942 echo $ECHO_N "(cached) $ECHO_C" >&6
61943 else
61947 ac_ext=cc
61948 ac_cpp='$CXXCPP $CPPFLAGS'
61949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61953 cat >conftest.$ac_ext <<_ACEOF
61954 /* confdefs.h. */
61955 _ACEOF
61956 cat confdefs.h >>conftest.$ac_ext
61957 cat >>conftest.$ac_ext <<_ACEOF
61958 /* end confdefs.h. */
61959 #include <math.h>
61960 #ifdef HAVE_IEEEFP_H
61961 #include <ieeefp.h>
61962 #endif
61965 main ()
61967 sqrtf(0);
61969 return 0;
61971 _ACEOF
61972 rm -f conftest.$ac_objext
61973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61974 (eval $ac_compile) 2>conftest.er1
61975 ac_status=$?
61976 grep -v '^ *+' conftest.er1 >conftest.err
61977 rm -f conftest.er1
61978 cat conftest.err >&5
61979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61980 (exit $ac_status); } &&
61981 { ac_try='test -z "$ac_cxx_werror_flag"
61982 || test ! -s conftest.err'
61983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61984 (eval $ac_try) 2>&5
61985 ac_status=$?
61986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61987 (exit $ac_status); }; } &&
61988 { ac_try='test -s conftest.$ac_objext'
61989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61990 (eval $ac_try) 2>&5
61991 ac_status=$?
61992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61993 (exit $ac_status); }; }; then
61994 glibcxx_cv_func_sqrtf_use=yes
61995 else
61996 echo "$as_me: failed program was:" >&5
61997 sed 's/^/| /' conftest.$ac_ext >&5
61999 glibcxx_cv_func_sqrtf_use=no
62001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62002 ac_ext=c
62003 ac_cpp='$CPP $CPPFLAGS'
62004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62012 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
62013 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
62015 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
62017 for ac_func in sqrtf
62019 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62020 echo "$as_me:$LINENO: checking for $ac_func" >&5
62021 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62022 if eval "test \"\${$as_ac_var+set}\" = set"; then
62023 echo $ECHO_N "(cached) $ECHO_C" >&6
62024 else
62025 if test x$gcc_no_link = xyes; then
62026 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62027 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62028 { (exit 1); exit 1; }; }
62030 cat >conftest.$ac_ext <<_ACEOF
62031 /* confdefs.h. */
62032 _ACEOF
62033 cat confdefs.h >>conftest.$ac_ext
62034 cat >>conftest.$ac_ext <<_ACEOF
62035 /* end confdefs.h. */
62036 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62037 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62038 #define $ac_func innocuous_$ac_func
62040 /* System header to define __stub macros and hopefully few prototypes,
62041 which can conflict with char $ac_func (); below.
62042 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62043 <limits.h> exists even on freestanding compilers. */
62045 #ifdef __STDC__
62046 # include <limits.h>
62047 #else
62048 # include <assert.h>
62049 #endif
62051 #undef $ac_func
62053 /* Override any gcc2 internal prototype to avoid an error. */
62054 #ifdef __cplusplus
62055 extern "C"
62057 #endif
62058 /* We use char because int might match the return type of a gcc2
62059 builtin and then its argument prototype would still apply. */
62060 char $ac_func ();
62061 /* The GNU C library defines this for functions which it implements
62062 to always fail with ENOSYS. Some functions are actually named
62063 something starting with __ and the normal name is an alias. */
62064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62065 choke me
62066 #else
62067 char (*f) () = $ac_func;
62068 #endif
62069 #ifdef __cplusplus
62071 #endif
62074 main ()
62076 return f != $ac_func;
62078 return 0;
62080 _ACEOF
62081 rm -f conftest.$ac_objext conftest$ac_exeext
62082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62083 (eval $ac_link) 2>conftest.er1
62084 ac_status=$?
62085 grep -v '^ *+' conftest.er1 >conftest.err
62086 rm -f conftest.er1
62087 cat conftest.err >&5
62088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62089 (exit $ac_status); } &&
62090 { ac_try='test -z "$ac_c_werror_flag"
62091 || test ! -s conftest.err'
62092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62093 (eval $ac_try) 2>&5
62094 ac_status=$?
62095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62096 (exit $ac_status); }; } &&
62097 { ac_try='test -s conftest$ac_exeext'
62098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62099 (eval $ac_try) 2>&5
62100 ac_status=$?
62101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62102 (exit $ac_status); }; }; then
62103 eval "$as_ac_var=yes"
62104 else
62105 echo "$as_me: failed program was:" >&5
62106 sed 's/^/| /' conftest.$ac_ext >&5
62108 eval "$as_ac_var=no"
62110 rm -f conftest.err conftest.$ac_objext \
62111 conftest$ac_exeext conftest.$ac_ext
62113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62114 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62115 if test `eval echo '${'$as_ac_var'}'` = yes; then
62116 cat >>confdefs.h <<_ACEOF
62117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62118 _ACEOF
62121 done
62123 else
62125 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
62126 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
62127 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
62128 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
62129 echo $ECHO_N "(cached) $ECHO_C" >&6
62130 else
62134 ac_ext=cc
62135 ac_cpp='$CXXCPP $CPPFLAGS'
62136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62140 cat >conftest.$ac_ext <<_ACEOF
62141 /* confdefs.h. */
62142 _ACEOF
62143 cat confdefs.h >>conftest.$ac_ext
62144 cat >>conftest.$ac_ext <<_ACEOF
62145 /* end confdefs.h. */
62146 #include <math.h>
62147 #ifdef HAVE_IEEEFP_H
62148 #include <ieeefp.h>
62149 #endif
62152 main ()
62154 _sqrtf(0);
62156 return 0;
62158 _ACEOF
62159 rm -f conftest.$ac_objext
62160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62161 (eval $ac_compile) 2>conftest.er1
62162 ac_status=$?
62163 grep -v '^ *+' conftest.er1 >conftest.err
62164 rm -f conftest.er1
62165 cat conftest.err >&5
62166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62167 (exit $ac_status); } &&
62168 { ac_try='test -z "$ac_cxx_werror_flag"
62169 || test ! -s conftest.err'
62170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62171 (eval $ac_try) 2>&5
62172 ac_status=$?
62173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62174 (exit $ac_status); }; } &&
62175 { ac_try='test -s conftest.$ac_objext'
62176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62177 (eval $ac_try) 2>&5
62178 ac_status=$?
62179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62180 (exit $ac_status); }; }; then
62181 glibcxx_cv_func__sqrtf_use=yes
62182 else
62183 echo "$as_me: failed program was:" >&5
62184 sed 's/^/| /' conftest.$ac_ext >&5
62186 glibcxx_cv_func__sqrtf_use=no
62188 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62189 ac_ext=c
62190 ac_cpp='$CPP $CPPFLAGS'
62191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62199 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
62200 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
62202 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
62204 for ac_func in _sqrtf
62206 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62207 echo "$as_me:$LINENO: checking for $ac_func" >&5
62208 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62209 if eval "test \"\${$as_ac_var+set}\" = set"; then
62210 echo $ECHO_N "(cached) $ECHO_C" >&6
62211 else
62212 if test x$gcc_no_link = xyes; then
62213 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62214 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62215 { (exit 1); exit 1; }; }
62217 cat >conftest.$ac_ext <<_ACEOF
62218 /* confdefs.h. */
62219 _ACEOF
62220 cat confdefs.h >>conftest.$ac_ext
62221 cat >>conftest.$ac_ext <<_ACEOF
62222 /* end confdefs.h. */
62223 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62224 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62225 #define $ac_func innocuous_$ac_func
62227 /* System header to define __stub macros and hopefully few prototypes,
62228 which can conflict with char $ac_func (); below.
62229 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62230 <limits.h> exists even on freestanding compilers. */
62232 #ifdef __STDC__
62233 # include <limits.h>
62234 #else
62235 # include <assert.h>
62236 #endif
62238 #undef $ac_func
62240 /* Override any gcc2 internal prototype to avoid an error. */
62241 #ifdef __cplusplus
62242 extern "C"
62244 #endif
62245 /* We use char because int might match the return type of a gcc2
62246 builtin and then its argument prototype would still apply. */
62247 char $ac_func ();
62248 /* The GNU C library defines this for functions which it implements
62249 to always fail with ENOSYS. Some functions are actually named
62250 something starting with __ and the normal name is an alias. */
62251 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62252 choke me
62253 #else
62254 char (*f) () = $ac_func;
62255 #endif
62256 #ifdef __cplusplus
62258 #endif
62261 main ()
62263 return f != $ac_func;
62265 return 0;
62267 _ACEOF
62268 rm -f conftest.$ac_objext conftest$ac_exeext
62269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62270 (eval $ac_link) 2>conftest.er1
62271 ac_status=$?
62272 grep -v '^ *+' conftest.er1 >conftest.err
62273 rm -f conftest.er1
62274 cat conftest.err >&5
62275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62276 (exit $ac_status); } &&
62277 { ac_try='test -z "$ac_c_werror_flag"
62278 || test ! -s conftest.err'
62279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62280 (eval $ac_try) 2>&5
62281 ac_status=$?
62282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62283 (exit $ac_status); }; } &&
62284 { ac_try='test -s conftest$ac_exeext'
62285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62286 (eval $ac_try) 2>&5
62287 ac_status=$?
62288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62289 (exit $ac_status); }; }; then
62290 eval "$as_ac_var=yes"
62291 else
62292 echo "$as_me: failed program was:" >&5
62293 sed 's/^/| /' conftest.$ac_ext >&5
62295 eval "$as_ac_var=no"
62297 rm -f conftest.err conftest.$ac_objext \
62298 conftest$ac_exeext conftest.$ac_ext
62300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62301 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62302 if test `eval echo '${'$as_ac_var'}'` = yes; then
62303 cat >>confdefs.h <<_ACEOF
62304 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62305 _ACEOF
62308 done
62315 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
62316 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
62317 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
62318 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
62319 echo $ECHO_N "(cached) $ECHO_C" >&6
62320 else
62324 ac_ext=cc
62325 ac_cpp='$CXXCPP $CPPFLAGS'
62326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62330 cat >conftest.$ac_ext <<_ACEOF
62331 /* confdefs.h. */
62332 _ACEOF
62333 cat confdefs.h >>conftest.$ac_ext
62334 cat >>conftest.$ac_ext <<_ACEOF
62335 /* end confdefs.h. */
62336 #include <math.h>
62338 main ()
62340 sincosf(0, 0, 0);
62342 return 0;
62344 _ACEOF
62345 rm -f conftest.$ac_objext
62346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62347 (eval $ac_compile) 2>conftest.er1
62348 ac_status=$?
62349 grep -v '^ *+' conftest.er1 >conftest.err
62350 rm -f conftest.er1
62351 cat conftest.err >&5
62352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62353 (exit $ac_status); } &&
62354 { ac_try='test -z "$ac_cxx_werror_flag"
62355 || test ! -s conftest.err'
62356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62357 (eval $ac_try) 2>&5
62358 ac_status=$?
62359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62360 (exit $ac_status); }; } &&
62361 { ac_try='test -s conftest.$ac_objext'
62362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62363 (eval $ac_try) 2>&5
62364 ac_status=$?
62365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62366 (exit $ac_status); }; }; then
62367 glibcxx_cv_func_sincosf_use=yes
62368 else
62369 echo "$as_me: failed program was:" >&5
62370 sed 's/^/| /' conftest.$ac_ext >&5
62372 glibcxx_cv_func_sincosf_use=no
62374 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62375 ac_ext=c
62376 ac_cpp='$CPP $CPPFLAGS'
62377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62385 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
62386 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
62388 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
62390 for ac_func in sincosf
62392 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62393 echo "$as_me:$LINENO: checking for $ac_func" >&5
62394 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62395 if eval "test \"\${$as_ac_var+set}\" = set"; then
62396 echo $ECHO_N "(cached) $ECHO_C" >&6
62397 else
62398 if test x$gcc_no_link = xyes; then
62399 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62400 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62401 { (exit 1); exit 1; }; }
62403 cat >conftest.$ac_ext <<_ACEOF
62404 /* confdefs.h. */
62405 _ACEOF
62406 cat confdefs.h >>conftest.$ac_ext
62407 cat >>conftest.$ac_ext <<_ACEOF
62408 /* end confdefs.h. */
62409 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62410 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62411 #define $ac_func innocuous_$ac_func
62413 /* System header to define __stub macros and hopefully few prototypes,
62414 which can conflict with char $ac_func (); below.
62415 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62416 <limits.h> exists even on freestanding compilers. */
62418 #ifdef __STDC__
62419 # include <limits.h>
62420 #else
62421 # include <assert.h>
62422 #endif
62424 #undef $ac_func
62426 /* Override any gcc2 internal prototype to avoid an error. */
62427 #ifdef __cplusplus
62428 extern "C"
62430 #endif
62431 /* We use char because int might match the return type of a gcc2
62432 builtin and then its argument prototype would still apply. */
62433 char $ac_func ();
62434 /* The GNU C library defines this for functions which it implements
62435 to always fail with ENOSYS. Some functions are actually named
62436 something starting with __ and the normal name is an alias. */
62437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62438 choke me
62439 #else
62440 char (*f) () = $ac_func;
62441 #endif
62442 #ifdef __cplusplus
62444 #endif
62447 main ()
62449 return f != $ac_func;
62451 return 0;
62453 _ACEOF
62454 rm -f conftest.$ac_objext conftest$ac_exeext
62455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62456 (eval $ac_link) 2>conftest.er1
62457 ac_status=$?
62458 grep -v '^ *+' conftest.er1 >conftest.err
62459 rm -f conftest.er1
62460 cat conftest.err >&5
62461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62462 (exit $ac_status); } &&
62463 { ac_try='test -z "$ac_c_werror_flag"
62464 || test ! -s conftest.err'
62465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62466 (eval $ac_try) 2>&5
62467 ac_status=$?
62468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62469 (exit $ac_status); }; } &&
62470 { ac_try='test -s conftest$ac_exeext'
62471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62472 (eval $ac_try) 2>&5
62473 ac_status=$?
62474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62475 (exit $ac_status); }; }; then
62476 eval "$as_ac_var=yes"
62477 else
62478 echo "$as_me: failed program was:" >&5
62479 sed 's/^/| /' conftest.$ac_ext >&5
62481 eval "$as_ac_var=no"
62483 rm -f conftest.err conftest.$ac_objext \
62484 conftest$ac_exeext conftest.$ac_ext
62486 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62487 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62488 if test `eval echo '${'$as_ac_var'}'` = yes; then
62489 cat >>confdefs.h <<_ACEOF
62490 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62491 _ACEOF
62494 done
62496 else
62498 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
62499 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
62500 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
62501 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
62502 echo $ECHO_N "(cached) $ECHO_C" >&6
62503 else
62507 ac_ext=cc
62508 ac_cpp='$CXXCPP $CPPFLAGS'
62509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62513 cat >conftest.$ac_ext <<_ACEOF
62514 /* confdefs.h. */
62515 _ACEOF
62516 cat confdefs.h >>conftest.$ac_ext
62517 cat >>conftest.$ac_ext <<_ACEOF
62518 /* end confdefs.h. */
62519 #include <math.h>
62521 main ()
62523 _sincosf(0, 0, 0);
62525 return 0;
62527 _ACEOF
62528 rm -f conftest.$ac_objext
62529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62530 (eval $ac_compile) 2>conftest.er1
62531 ac_status=$?
62532 grep -v '^ *+' conftest.er1 >conftest.err
62533 rm -f conftest.er1
62534 cat conftest.err >&5
62535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62536 (exit $ac_status); } &&
62537 { ac_try='test -z "$ac_cxx_werror_flag"
62538 || test ! -s conftest.err'
62539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62540 (eval $ac_try) 2>&5
62541 ac_status=$?
62542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62543 (exit $ac_status); }; } &&
62544 { ac_try='test -s conftest.$ac_objext'
62545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62546 (eval $ac_try) 2>&5
62547 ac_status=$?
62548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62549 (exit $ac_status); }; }; then
62550 glibcxx_cv_func__sincosf_use=yes
62551 else
62552 echo "$as_me: failed program was:" >&5
62553 sed 's/^/| /' conftest.$ac_ext >&5
62555 glibcxx_cv_func__sincosf_use=no
62557 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62558 ac_ext=c
62559 ac_cpp='$CPP $CPPFLAGS'
62560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62568 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
62569 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
62571 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
62573 for ac_func in _sincosf
62575 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62576 echo "$as_me:$LINENO: checking for $ac_func" >&5
62577 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62578 if eval "test \"\${$as_ac_var+set}\" = set"; then
62579 echo $ECHO_N "(cached) $ECHO_C" >&6
62580 else
62581 if test x$gcc_no_link = xyes; then
62582 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62583 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62584 { (exit 1); exit 1; }; }
62586 cat >conftest.$ac_ext <<_ACEOF
62587 /* confdefs.h. */
62588 _ACEOF
62589 cat confdefs.h >>conftest.$ac_ext
62590 cat >>conftest.$ac_ext <<_ACEOF
62591 /* end confdefs.h. */
62592 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62593 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62594 #define $ac_func innocuous_$ac_func
62596 /* System header to define __stub macros and hopefully few prototypes,
62597 which can conflict with char $ac_func (); below.
62598 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62599 <limits.h> exists even on freestanding compilers. */
62601 #ifdef __STDC__
62602 # include <limits.h>
62603 #else
62604 # include <assert.h>
62605 #endif
62607 #undef $ac_func
62609 /* Override any gcc2 internal prototype to avoid an error. */
62610 #ifdef __cplusplus
62611 extern "C"
62613 #endif
62614 /* We use char because int might match the return type of a gcc2
62615 builtin and then its argument prototype would still apply. */
62616 char $ac_func ();
62617 /* The GNU C library defines this for functions which it implements
62618 to always fail with ENOSYS. Some functions are actually named
62619 something starting with __ and the normal name is an alias. */
62620 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62621 choke me
62622 #else
62623 char (*f) () = $ac_func;
62624 #endif
62625 #ifdef __cplusplus
62627 #endif
62630 main ()
62632 return f != $ac_func;
62634 return 0;
62636 _ACEOF
62637 rm -f conftest.$ac_objext conftest$ac_exeext
62638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62639 (eval $ac_link) 2>conftest.er1
62640 ac_status=$?
62641 grep -v '^ *+' conftest.er1 >conftest.err
62642 rm -f conftest.er1
62643 cat conftest.err >&5
62644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62645 (exit $ac_status); } &&
62646 { ac_try='test -z "$ac_c_werror_flag"
62647 || test ! -s conftest.err'
62648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62649 (eval $ac_try) 2>&5
62650 ac_status=$?
62651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62652 (exit $ac_status); }; } &&
62653 { ac_try='test -s conftest$ac_exeext'
62654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62655 (eval $ac_try) 2>&5
62656 ac_status=$?
62657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62658 (exit $ac_status); }; }; then
62659 eval "$as_ac_var=yes"
62660 else
62661 echo "$as_me: failed program was:" >&5
62662 sed 's/^/| /' conftest.$ac_ext >&5
62664 eval "$as_ac_var=no"
62666 rm -f conftest.err conftest.$ac_objext \
62667 conftest$ac_exeext conftest.$ac_ext
62669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62670 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62671 if test `eval echo '${'$as_ac_var'}'` = yes; then
62672 cat >>confdefs.h <<_ACEOF
62673 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62674 _ACEOF
62677 done
62684 echo "$as_me:$LINENO: checking for finitef declaration" >&5
62685 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
62686 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
62687 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
62688 echo $ECHO_N "(cached) $ECHO_C" >&6
62689 else
62693 ac_ext=cc
62694 ac_cpp='$CXXCPP $CPPFLAGS'
62695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62699 cat >conftest.$ac_ext <<_ACEOF
62700 /* confdefs.h. */
62701 _ACEOF
62702 cat confdefs.h >>conftest.$ac_ext
62703 cat >>conftest.$ac_ext <<_ACEOF
62704 /* end confdefs.h. */
62705 #include <math.h>
62706 #ifdef HAVE_IEEEFP_H
62707 #include <ieeefp.h>
62708 #endif
62711 main ()
62713 finitef(0);
62715 return 0;
62717 _ACEOF
62718 rm -f conftest.$ac_objext
62719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62720 (eval $ac_compile) 2>conftest.er1
62721 ac_status=$?
62722 grep -v '^ *+' conftest.er1 >conftest.err
62723 rm -f conftest.er1
62724 cat conftest.err >&5
62725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62726 (exit $ac_status); } &&
62727 { ac_try='test -z "$ac_cxx_werror_flag"
62728 || test ! -s conftest.err'
62729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62730 (eval $ac_try) 2>&5
62731 ac_status=$?
62732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62733 (exit $ac_status); }; } &&
62734 { ac_try='test -s conftest.$ac_objext'
62735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62736 (eval $ac_try) 2>&5
62737 ac_status=$?
62738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62739 (exit $ac_status); }; }; then
62740 glibcxx_cv_func_finitef_use=yes
62741 else
62742 echo "$as_me: failed program was:" >&5
62743 sed 's/^/| /' conftest.$ac_ext >&5
62745 glibcxx_cv_func_finitef_use=no
62747 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62748 ac_ext=c
62749 ac_cpp='$CPP $CPPFLAGS'
62750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62758 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
62759 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
62761 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
62763 for ac_func in finitef
62765 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62766 echo "$as_me:$LINENO: checking for $ac_func" >&5
62767 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62768 if eval "test \"\${$as_ac_var+set}\" = set"; then
62769 echo $ECHO_N "(cached) $ECHO_C" >&6
62770 else
62771 if test x$gcc_no_link = xyes; then
62772 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62773 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62774 { (exit 1); exit 1; }; }
62776 cat >conftest.$ac_ext <<_ACEOF
62777 /* confdefs.h. */
62778 _ACEOF
62779 cat confdefs.h >>conftest.$ac_ext
62780 cat >>conftest.$ac_ext <<_ACEOF
62781 /* end confdefs.h. */
62782 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62783 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62784 #define $ac_func innocuous_$ac_func
62786 /* System header to define __stub macros and hopefully few prototypes,
62787 which can conflict with char $ac_func (); below.
62788 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62789 <limits.h> exists even on freestanding compilers. */
62791 #ifdef __STDC__
62792 # include <limits.h>
62793 #else
62794 # include <assert.h>
62795 #endif
62797 #undef $ac_func
62799 /* Override any gcc2 internal prototype to avoid an error. */
62800 #ifdef __cplusplus
62801 extern "C"
62803 #endif
62804 /* We use char because int might match the return type of a gcc2
62805 builtin and then its argument prototype would still apply. */
62806 char $ac_func ();
62807 /* The GNU C library defines this for functions which it implements
62808 to always fail with ENOSYS. Some functions are actually named
62809 something starting with __ and the normal name is an alias. */
62810 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62811 choke me
62812 #else
62813 char (*f) () = $ac_func;
62814 #endif
62815 #ifdef __cplusplus
62817 #endif
62820 main ()
62822 return f != $ac_func;
62824 return 0;
62826 _ACEOF
62827 rm -f conftest.$ac_objext conftest$ac_exeext
62828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62829 (eval $ac_link) 2>conftest.er1
62830 ac_status=$?
62831 grep -v '^ *+' conftest.er1 >conftest.err
62832 rm -f conftest.er1
62833 cat conftest.err >&5
62834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62835 (exit $ac_status); } &&
62836 { ac_try='test -z "$ac_c_werror_flag"
62837 || test ! -s conftest.err'
62838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62839 (eval $ac_try) 2>&5
62840 ac_status=$?
62841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62842 (exit $ac_status); }; } &&
62843 { ac_try='test -s conftest$ac_exeext'
62844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62845 (eval $ac_try) 2>&5
62846 ac_status=$?
62847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62848 (exit $ac_status); }; }; then
62849 eval "$as_ac_var=yes"
62850 else
62851 echo "$as_me: failed program was:" >&5
62852 sed 's/^/| /' conftest.$ac_ext >&5
62854 eval "$as_ac_var=no"
62856 rm -f conftest.err conftest.$ac_objext \
62857 conftest$ac_exeext conftest.$ac_ext
62859 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62860 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62861 if test `eval echo '${'$as_ac_var'}'` = yes; then
62862 cat >>confdefs.h <<_ACEOF
62863 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62864 _ACEOF
62867 done
62869 else
62871 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
62872 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
62873 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
62874 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
62875 echo $ECHO_N "(cached) $ECHO_C" >&6
62876 else
62880 ac_ext=cc
62881 ac_cpp='$CXXCPP $CPPFLAGS'
62882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62886 cat >conftest.$ac_ext <<_ACEOF
62887 /* confdefs.h. */
62888 _ACEOF
62889 cat confdefs.h >>conftest.$ac_ext
62890 cat >>conftest.$ac_ext <<_ACEOF
62891 /* end confdefs.h. */
62892 #include <math.h>
62893 #ifdef HAVE_IEEEFP_H
62894 #include <ieeefp.h>
62895 #endif
62898 main ()
62900 _finitef(0);
62902 return 0;
62904 _ACEOF
62905 rm -f conftest.$ac_objext
62906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62907 (eval $ac_compile) 2>conftest.er1
62908 ac_status=$?
62909 grep -v '^ *+' conftest.er1 >conftest.err
62910 rm -f conftest.er1
62911 cat conftest.err >&5
62912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62913 (exit $ac_status); } &&
62914 { ac_try='test -z "$ac_cxx_werror_flag"
62915 || test ! -s conftest.err'
62916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62917 (eval $ac_try) 2>&5
62918 ac_status=$?
62919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62920 (exit $ac_status); }; } &&
62921 { ac_try='test -s conftest.$ac_objext'
62922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62923 (eval $ac_try) 2>&5
62924 ac_status=$?
62925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62926 (exit $ac_status); }; }; then
62927 glibcxx_cv_func__finitef_use=yes
62928 else
62929 echo "$as_me: failed program was:" >&5
62930 sed 's/^/| /' conftest.$ac_ext >&5
62932 glibcxx_cv_func__finitef_use=no
62934 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62935 ac_ext=c
62936 ac_cpp='$CPP $CPPFLAGS'
62937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62945 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
62946 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
62948 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
62950 for ac_func in _finitef
62952 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62953 echo "$as_me:$LINENO: checking for $ac_func" >&5
62954 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62955 if eval "test \"\${$as_ac_var+set}\" = set"; then
62956 echo $ECHO_N "(cached) $ECHO_C" >&6
62957 else
62958 if test x$gcc_no_link = xyes; then
62959 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62960 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62961 { (exit 1); exit 1; }; }
62963 cat >conftest.$ac_ext <<_ACEOF
62964 /* confdefs.h. */
62965 _ACEOF
62966 cat confdefs.h >>conftest.$ac_ext
62967 cat >>conftest.$ac_ext <<_ACEOF
62968 /* end confdefs.h. */
62969 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62970 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62971 #define $ac_func innocuous_$ac_func
62973 /* System header to define __stub macros and hopefully few prototypes,
62974 which can conflict with char $ac_func (); below.
62975 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62976 <limits.h> exists even on freestanding compilers. */
62978 #ifdef __STDC__
62979 # include <limits.h>
62980 #else
62981 # include <assert.h>
62982 #endif
62984 #undef $ac_func
62986 /* Override any gcc2 internal prototype to avoid an error. */
62987 #ifdef __cplusplus
62988 extern "C"
62990 #endif
62991 /* We use char because int might match the return type of a gcc2
62992 builtin and then its argument prototype would still apply. */
62993 char $ac_func ();
62994 /* The GNU C library defines this for functions which it implements
62995 to always fail with ENOSYS. Some functions are actually named
62996 something starting with __ and the normal name is an alias. */
62997 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62998 choke me
62999 #else
63000 char (*f) () = $ac_func;
63001 #endif
63002 #ifdef __cplusplus
63004 #endif
63007 main ()
63009 return f != $ac_func;
63011 return 0;
63013 _ACEOF
63014 rm -f conftest.$ac_objext conftest$ac_exeext
63015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63016 (eval $ac_link) 2>conftest.er1
63017 ac_status=$?
63018 grep -v '^ *+' conftest.er1 >conftest.err
63019 rm -f conftest.er1
63020 cat conftest.err >&5
63021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63022 (exit $ac_status); } &&
63023 { ac_try='test -z "$ac_c_werror_flag"
63024 || test ! -s conftest.err'
63025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63026 (eval $ac_try) 2>&5
63027 ac_status=$?
63028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63029 (exit $ac_status); }; } &&
63030 { ac_try='test -s conftest$ac_exeext'
63031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63032 (eval $ac_try) 2>&5
63033 ac_status=$?
63034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63035 (exit $ac_status); }; }; then
63036 eval "$as_ac_var=yes"
63037 else
63038 echo "$as_me: failed program was:" >&5
63039 sed 's/^/| /' conftest.$ac_ext >&5
63041 eval "$as_ac_var=no"
63043 rm -f conftest.err conftest.$ac_objext \
63044 conftest$ac_exeext conftest.$ac_ext
63046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63047 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63048 if test `eval echo '${'$as_ac_var'}'` = yes; then
63049 cat >>confdefs.h <<_ACEOF
63050 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63051 _ACEOF
63054 done
63061 echo "$as_me:$LINENO: checking for long double trig functions" >&5
63062 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
63063 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
63064 echo $ECHO_N "(cached) $ECHO_C" >&6
63065 else
63069 ac_ext=cc
63070 ac_cpp='$CXXCPP $CPPFLAGS'
63071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63075 cat >conftest.$ac_ext <<_ACEOF
63076 /* confdefs.h. */
63077 _ACEOF
63078 cat confdefs.h >>conftest.$ac_ext
63079 cat >>conftest.$ac_ext <<_ACEOF
63080 /* end confdefs.h. */
63081 #include <math.h>
63083 main ()
63085 `for x in acosl asinl atanl \
63086 cosl sinl tanl \
63087 coshl sinhl tanhl; do echo "$x (0);"; done`
63089 return 0;
63091 _ACEOF
63092 rm -f conftest.$ac_objext
63093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63094 (eval $ac_compile) 2>conftest.er1
63095 ac_status=$?
63096 grep -v '^ *+' conftest.er1 >conftest.err
63097 rm -f conftest.er1
63098 cat conftest.err >&5
63099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63100 (exit $ac_status); } &&
63101 { ac_try='test -z "$ac_cxx_werror_flag"
63102 || test ! -s conftest.err'
63103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63104 (eval $ac_try) 2>&5
63105 ac_status=$?
63106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63107 (exit $ac_status); }; } &&
63108 { ac_try='test -s conftest.$ac_objext'
63109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63110 (eval $ac_try) 2>&5
63111 ac_status=$?
63112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63113 (exit $ac_status); }; }; then
63114 glibcxx_cv_func_long_double_trig_use=yes
63115 else
63116 echo "$as_me: failed program was:" >&5
63117 sed 's/^/| /' conftest.$ac_ext >&5
63119 glibcxx_cv_func_long_double_trig_use=no
63121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63122 ac_ext=c
63123 ac_cpp='$CPP $CPPFLAGS'
63124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63130 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
63131 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
63132 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
63142 for ac_func in acosl asinl atanl \
63143 cosl sinl tanl \
63144 coshl sinhl tanhl
63146 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63147 echo "$as_me:$LINENO: checking for $ac_func" >&5
63148 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63149 if eval "test \"\${$as_ac_var+set}\" = set"; then
63150 echo $ECHO_N "(cached) $ECHO_C" >&6
63151 else
63152 if test x$gcc_no_link = xyes; then
63153 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63154 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63155 { (exit 1); exit 1; }; }
63157 cat >conftest.$ac_ext <<_ACEOF
63158 /* confdefs.h. */
63159 _ACEOF
63160 cat confdefs.h >>conftest.$ac_ext
63161 cat >>conftest.$ac_ext <<_ACEOF
63162 /* end confdefs.h. */
63163 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63164 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63165 #define $ac_func innocuous_$ac_func
63167 /* System header to define __stub macros and hopefully few prototypes,
63168 which can conflict with char $ac_func (); below.
63169 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63170 <limits.h> exists even on freestanding compilers. */
63172 #ifdef __STDC__
63173 # include <limits.h>
63174 #else
63175 # include <assert.h>
63176 #endif
63178 #undef $ac_func
63180 /* Override any gcc2 internal prototype to avoid an error. */
63181 #ifdef __cplusplus
63182 extern "C"
63184 #endif
63185 /* We use char because int might match the return type of a gcc2
63186 builtin and then its argument prototype would still apply. */
63187 char $ac_func ();
63188 /* The GNU C library defines this for functions which it implements
63189 to always fail with ENOSYS. Some functions are actually named
63190 something starting with __ and the normal name is an alias. */
63191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63192 choke me
63193 #else
63194 char (*f) () = $ac_func;
63195 #endif
63196 #ifdef __cplusplus
63198 #endif
63201 main ()
63203 return f != $ac_func;
63205 return 0;
63207 _ACEOF
63208 rm -f conftest.$ac_objext conftest$ac_exeext
63209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63210 (eval $ac_link) 2>conftest.er1
63211 ac_status=$?
63212 grep -v '^ *+' conftest.er1 >conftest.err
63213 rm -f conftest.er1
63214 cat conftest.err >&5
63215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63216 (exit $ac_status); } &&
63217 { ac_try='test -z "$ac_c_werror_flag"
63218 || test ! -s conftest.err'
63219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63220 (eval $ac_try) 2>&5
63221 ac_status=$?
63222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63223 (exit $ac_status); }; } &&
63224 { ac_try='test -s conftest$ac_exeext'
63225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63226 (eval $ac_try) 2>&5
63227 ac_status=$?
63228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63229 (exit $ac_status); }; }; then
63230 eval "$as_ac_var=yes"
63231 else
63232 echo "$as_me: failed program was:" >&5
63233 sed 's/^/| /' conftest.$ac_ext >&5
63235 eval "$as_ac_var=no"
63237 rm -f conftest.err conftest.$ac_objext \
63238 conftest$ac_exeext conftest.$ac_ext
63240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63241 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63242 if test `eval echo '${'$as_ac_var'}'` = yes; then
63243 cat >>confdefs.h <<_ACEOF
63244 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63245 _ACEOF
63248 done
63253 echo "$as_me:$LINENO: checking for long double round functions" >&5
63254 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
63255 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
63256 echo $ECHO_N "(cached) $ECHO_C" >&6
63257 else
63261 ac_ext=cc
63262 ac_cpp='$CXXCPP $CPPFLAGS'
63263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63267 cat >conftest.$ac_ext <<_ACEOF
63268 /* confdefs.h. */
63269 _ACEOF
63270 cat confdefs.h >>conftest.$ac_ext
63271 cat >>conftest.$ac_ext <<_ACEOF
63272 /* end confdefs.h. */
63273 #include <math.h>
63275 main ()
63277 `for x in ceill floorl; do echo "$x (0);"; done`
63279 return 0;
63281 _ACEOF
63282 rm -f conftest.$ac_objext
63283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63284 (eval $ac_compile) 2>conftest.er1
63285 ac_status=$?
63286 grep -v '^ *+' conftest.er1 >conftest.err
63287 rm -f conftest.er1
63288 cat conftest.err >&5
63289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63290 (exit $ac_status); } &&
63291 { ac_try='test -z "$ac_cxx_werror_flag"
63292 || test ! -s conftest.err'
63293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63294 (eval $ac_try) 2>&5
63295 ac_status=$?
63296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63297 (exit $ac_status); }; } &&
63298 { ac_try='test -s conftest.$ac_objext'
63299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63300 (eval $ac_try) 2>&5
63301 ac_status=$?
63302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63303 (exit $ac_status); }; }; then
63304 glibcxx_cv_func_long_double_round_use=yes
63305 else
63306 echo "$as_me: failed program was:" >&5
63307 sed 's/^/| /' conftest.$ac_ext >&5
63309 glibcxx_cv_func_long_double_round_use=no
63311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63312 ac_ext=c
63313 ac_cpp='$CPP $CPPFLAGS'
63314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63320 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
63321 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
63322 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
63325 for ac_func in ceill floorl
63327 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63328 echo "$as_me:$LINENO: checking for $ac_func" >&5
63329 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63330 if eval "test \"\${$as_ac_var+set}\" = set"; then
63331 echo $ECHO_N "(cached) $ECHO_C" >&6
63332 else
63333 if test x$gcc_no_link = xyes; then
63334 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63335 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63336 { (exit 1); exit 1; }; }
63338 cat >conftest.$ac_ext <<_ACEOF
63339 /* confdefs.h. */
63340 _ACEOF
63341 cat confdefs.h >>conftest.$ac_ext
63342 cat >>conftest.$ac_ext <<_ACEOF
63343 /* end confdefs.h. */
63344 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63345 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63346 #define $ac_func innocuous_$ac_func
63348 /* System header to define __stub macros and hopefully few prototypes,
63349 which can conflict with char $ac_func (); below.
63350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63351 <limits.h> exists even on freestanding compilers. */
63353 #ifdef __STDC__
63354 # include <limits.h>
63355 #else
63356 # include <assert.h>
63357 #endif
63359 #undef $ac_func
63361 /* Override any gcc2 internal prototype to avoid an error. */
63362 #ifdef __cplusplus
63363 extern "C"
63365 #endif
63366 /* We use char because int might match the return type of a gcc2
63367 builtin and then its argument prototype would still apply. */
63368 char $ac_func ();
63369 /* The GNU C library defines this for functions which it implements
63370 to always fail with ENOSYS. Some functions are actually named
63371 something starting with __ and the normal name is an alias. */
63372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63373 choke me
63374 #else
63375 char (*f) () = $ac_func;
63376 #endif
63377 #ifdef __cplusplus
63379 #endif
63382 main ()
63384 return f != $ac_func;
63386 return 0;
63388 _ACEOF
63389 rm -f conftest.$ac_objext conftest$ac_exeext
63390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63391 (eval $ac_link) 2>conftest.er1
63392 ac_status=$?
63393 grep -v '^ *+' conftest.er1 >conftest.err
63394 rm -f conftest.er1
63395 cat conftest.err >&5
63396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63397 (exit $ac_status); } &&
63398 { ac_try='test -z "$ac_c_werror_flag"
63399 || test ! -s conftest.err'
63400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63401 (eval $ac_try) 2>&5
63402 ac_status=$?
63403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63404 (exit $ac_status); }; } &&
63405 { ac_try='test -s conftest$ac_exeext'
63406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63407 (eval $ac_try) 2>&5
63408 ac_status=$?
63409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63410 (exit $ac_status); }; }; then
63411 eval "$as_ac_var=yes"
63412 else
63413 echo "$as_me: failed program was:" >&5
63414 sed 's/^/| /' conftest.$ac_ext >&5
63416 eval "$as_ac_var=no"
63418 rm -f conftest.err conftest.$ac_objext \
63419 conftest$ac_exeext conftest.$ac_ext
63421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63422 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63423 if test `eval echo '${'$as_ac_var'}'` = yes; then
63424 cat >>confdefs.h <<_ACEOF
63425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63426 _ACEOF
63429 done
63435 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
63436 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
63437 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
63438 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
63439 echo $ECHO_N "(cached) $ECHO_C" >&6
63440 else
63444 ac_ext=cc
63445 ac_cpp='$CXXCPP $CPPFLAGS'
63446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63450 cat >conftest.$ac_ext <<_ACEOF
63451 /* confdefs.h. */
63452 _ACEOF
63453 cat confdefs.h >>conftest.$ac_ext
63454 cat >>conftest.$ac_ext <<_ACEOF
63455 /* end confdefs.h. */
63456 #include <math.h>
63457 #ifdef HAVE_IEEEFP_H
63458 #include <ieeefp.h>
63459 #endif
63462 main ()
63464 isnanl(0);
63466 return 0;
63468 _ACEOF
63469 rm -f conftest.$ac_objext
63470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63471 (eval $ac_compile) 2>conftest.er1
63472 ac_status=$?
63473 grep -v '^ *+' conftest.er1 >conftest.err
63474 rm -f conftest.er1
63475 cat conftest.err >&5
63476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63477 (exit $ac_status); } &&
63478 { ac_try='test -z "$ac_cxx_werror_flag"
63479 || test ! -s conftest.err'
63480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63481 (eval $ac_try) 2>&5
63482 ac_status=$?
63483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63484 (exit $ac_status); }; } &&
63485 { ac_try='test -s conftest.$ac_objext'
63486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63487 (eval $ac_try) 2>&5
63488 ac_status=$?
63489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63490 (exit $ac_status); }; }; then
63491 glibcxx_cv_func_isnanl_use=yes
63492 else
63493 echo "$as_me: failed program was:" >&5
63494 sed 's/^/| /' conftest.$ac_ext >&5
63496 glibcxx_cv_func_isnanl_use=no
63498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63499 ac_ext=c
63500 ac_cpp='$CPP $CPPFLAGS'
63501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63509 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
63510 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
63512 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
63514 for ac_func in isnanl
63516 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63517 echo "$as_me:$LINENO: checking for $ac_func" >&5
63518 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63519 if eval "test \"\${$as_ac_var+set}\" = set"; then
63520 echo $ECHO_N "(cached) $ECHO_C" >&6
63521 else
63522 if test x$gcc_no_link = xyes; then
63523 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63524 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63525 { (exit 1); exit 1; }; }
63527 cat >conftest.$ac_ext <<_ACEOF
63528 /* confdefs.h. */
63529 _ACEOF
63530 cat confdefs.h >>conftest.$ac_ext
63531 cat >>conftest.$ac_ext <<_ACEOF
63532 /* end confdefs.h. */
63533 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63534 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63535 #define $ac_func innocuous_$ac_func
63537 /* System header to define __stub macros and hopefully few prototypes,
63538 which can conflict with char $ac_func (); below.
63539 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63540 <limits.h> exists even on freestanding compilers. */
63542 #ifdef __STDC__
63543 # include <limits.h>
63544 #else
63545 # include <assert.h>
63546 #endif
63548 #undef $ac_func
63550 /* Override any gcc2 internal prototype to avoid an error. */
63551 #ifdef __cplusplus
63552 extern "C"
63554 #endif
63555 /* We use char because int might match the return type of a gcc2
63556 builtin and then its argument prototype would still apply. */
63557 char $ac_func ();
63558 /* The GNU C library defines this for functions which it implements
63559 to always fail with ENOSYS. Some functions are actually named
63560 something starting with __ and the normal name is an alias. */
63561 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63562 choke me
63563 #else
63564 char (*f) () = $ac_func;
63565 #endif
63566 #ifdef __cplusplus
63568 #endif
63571 main ()
63573 return f != $ac_func;
63575 return 0;
63577 _ACEOF
63578 rm -f conftest.$ac_objext conftest$ac_exeext
63579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63580 (eval $ac_link) 2>conftest.er1
63581 ac_status=$?
63582 grep -v '^ *+' conftest.er1 >conftest.err
63583 rm -f conftest.er1
63584 cat conftest.err >&5
63585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63586 (exit $ac_status); } &&
63587 { ac_try='test -z "$ac_c_werror_flag"
63588 || test ! -s conftest.err'
63589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63590 (eval $ac_try) 2>&5
63591 ac_status=$?
63592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63593 (exit $ac_status); }; } &&
63594 { ac_try='test -s conftest$ac_exeext'
63595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63596 (eval $ac_try) 2>&5
63597 ac_status=$?
63598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63599 (exit $ac_status); }; }; then
63600 eval "$as_ac_var=yes"
63601 else
63602 echo "$as_me: failed program was:" >&5
63603 sed 's/^/| /' conftest.$ac_ext >&5
63605 eval "$as_ac_var=no"
63607 rm -f conftest.err conftest.$ac_objext \
63608 conftest$ac_exeext conftest.$ac_ext
63610 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63611 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63612 if test `eval echo '${'$as_ac_var'}'` = yes; then
63613 cat >>confdefs.h <<_ACEOF
63614 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63615 _ACEOF
63618 done
63620 else
63622 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
63623 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
63624 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
63625 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
63626 echo $ECHO_N "(cached) $ECHO_C" >&6
63627 else
63631 ac_ext=cc
63632 ac_cpp='$CXXCPP $CPPFLAGS'
63633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63637 cat >conftest.$ac_ext <<_ACEOF
63638 /* confdefs.h. */
63639 _ACEOF
63640 cat confdefs.h >>conftest.$ac_ext
63641 cat >>conftest.$ac_ext <<_ACEOF
63642 /* end confdefs.h. */
63643 #include <math.h>
63644 #ifdef HAVE_IEEEFP_H
63645 #include <ieeefp.h>
63646 #endif
63649 main ()
63651 _isnanl(0);
63653 return 0;
63655 _ACEOF
63656 rm -f conftest.$ac_objext
63657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63658 (eval $ac_compile) 2>conftest.er1
63659 ac_status=$?
63660 grep -v '^ *+' conftest.er1 >conftest.err
63661 rm -f conftest.er1
63662 cat conftest.err >&5
63663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63664 (exit $ac_status); } &&
63665 { ac_try='test -z "$ac_cxx_werror_flag"
63666 || test ! -s conftest.err'
63667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63668 (eval $ac_try) 2>&5
63669 ac_status=$?
63670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63671 (exit $ac_status); }; } &&
63672 { ac_try='test -s conftest.$ac_objext'
63673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63674 (eval $ac_try) 2>&5
63675 ac_status=$?
63676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63677 (exit $ac_status); }; }; then
63678 glibcxx_cv_func__isnanl_use=yes
63679 else
63680 echo "$as_me: failed program was:" >&5
63681 sed 's/^/| /' conftest.$ac_ext >&5
63683 glibcxx_cv_func__isnanl_use=no
63685 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63686 ac_ext=c
63687 ac_cpp='$CPP $CPPFLAGS'
63688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63696 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
63697 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
63699 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
63701 for ac_func in _isnanl
63703 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63704 echo "$as_me:$LINENO: checking for $ac_func" >&5
63705 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63706 if eval "test \"\${$as_ac_var+set}\" = set"; then
63707 echo $ECHO_N "(cached) $ECHO_C" >&6
63708 else
63709 if test x$gcc_no_link = xyes; then
63710 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63711 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63712 { (exit 1); exit 1; }; }
63714 cat >conftest.$ac_ext <<_ACEOF
63715 /* confdefs.h. */
63716 _ACEOF
63717 cat confdefs.h >>conftest.$ac_ext
63718 cat >>conftest.$ac_ext <<_ACEOF
63719 /* end confdefs.h. */
63720 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63721 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63722 #define $ac_func innocuous_$ac_func
63724 /* System header to define __stub macros and hopefully few prototypes,
63725 which can conflict with char $ac_func (); below.
63726 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63727 <limits.h> exists even on freestanding compilers. */
63729 #ifdef __STDC__
63730 # include <limits.h>
63731 #else
63732 # include <assert.h>
63733 #endif
63735 #undef $ac_func
63737 /* Override any gcc2 internal prototype to avoid an error. */
63738 #ifdef __cplusplus
63739 extern "C"
63741 #endif
63742 /* We use char because int might match the return type of a gcc2
63743 builtin and then its argument prototype would still apply. */
63744 char $ac_func ();
63745 /* The GNU C library defines this for functions which it implements
63746 to always fail with ENOSYS. Some functions are actually named
63747 something starting with __ and the normal name is an alias. */
63748 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63749 choke me
63750 #else
63751 char (*f) () = $ac_func;
63752 #endif
63753 #ifdef __cplusplus
63755 #endif
63758 main ()
63760 return f != $ac_func;
63762 return 0;
63764 _ACEOF
63765 rm -f conftest.$ac_objext conftest$ac_exeext
63766 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63767 (eval $ac_link) 2>conftest.er1
63768 ac_status=$?
63769 grep -v '^ *+' conftest.er1 >conftest.err
63770 rm -f conftest.er1
63771 cat conftest.err >&5
63772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63773 (exit $ac_status); } &&
63774 { ac_try='test -z "$ac_c_werror_flag"
63775 || test ! -s conftest.err'
63776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63777 (eval $ac_try) 2>&5
63778 ac_status=$?
63779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63780 (exit $ac_status); }; } &&
63781 { ac_try='test -s conftest$ac_exeext'
63782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63783 (eval $ac_try) 2>&5
63784 ac_status=$?
63785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63786 (exit $ac_status); }; }; then
63787 eval "$as_ac_var=yes"
63788 else
63789 echo "$as_me: failed program was:" >&5
63790 sed 's/^/| /' conftest.$ac_ext >&5
63792 eval "$as_ac_var=no"
63794 rm -f conftest.err conftest.$ac_objext \
63795 conftest$ac_exeext conftest.$ac_ext
63797 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63798 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63799 if test `eval echo '${'$as_ac_var'}'` = yes; then
63800 cat >>confdefs.h <<_ACEOF
63801 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63802 _ACEOF
63805 done
63812 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
63813 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
63814 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
63815 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
63816 echo $ECHO_N "(cached) $ECHO_C" >&6
63817 else
63821 ac_ext=cc
63822 ac_cpp='$CXXCPP $CPPFLAGS'
63823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63827 cat >conftest.$ac_ext <<_ACEOF
63828 /* confdefs.h. */
63829 _ACEOF
63830 cat confdefs.h >>conftest.$ac_ext
63831 cat >>conftest.$ac_ext <<_ACEOF
63832 /* end confdefs.h. */
63833 #include <math.h>
63834 #ifdef HAVE_IEEEFP_H
63835 #include <ieeefp.h>
63836 #endif
63839 main ()
63841 isinfl(0);
63843 return 0;
63845 _ACEOF
63846 rm -f conftest.$ac_objext
63847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63848 (eval $ac_compile) 2>conftest.er1
63849 ac_status=$?
63850 grep -v '^ *+' conftest.er1 >conftest.err
63851 rm -f conftest.er1
63852 cat conftest.err >&5
63853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63854 (exit $ac_status); } &&
63855 { ac_try='test -z "$ac_cxx_werror_flag"
63856 || test ! -s conftest.err'
63857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63858 (eval $ac_try) 2>&5
63859 ac_status=$?
63860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63861 (exit $ac_status); }; } &&
63862 { ac_try='test -s conftest.$ac_objext'
63863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63864 (eval $ac_try) 2>&5
63865 ac_status=$?
63866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63867 (exit $ac_status); }; }; then
63868 glibcxx_cv_func_isinfl_use=yes
63869 else
63870 echo "$as_me: failed program was:" >&5
63871 sed 's/^/| /' conftest.$ac_ext >&5
63873 glibcxx_cv_func_isinfl_use=no
63875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63876 ac_ext=c
63877 ac_cpp='$CPP $CPPFLAGS'
63878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63886 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
63887 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
63889 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
63891 for ac_func in isinfl
63893 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63894 echo "$as_me:$LINENO: checking for $ac_func" >&5
63895 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63896 if eval "test \"\${$as_ac_var+set}\" = set"; then
63897 echo $ECHO_N "(cached) $ECHO_C" >&6
63898 else
63899 if test x$gcc_no_link = xyes; then
63900 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63901 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63902 { (exit 1); exit 1; }; }
63904 cat >conftest.$ac_ext <<_ACEOF
63905 /* confdefs.h. */
63906 _ACEOF
63907 cat confdefs.h >>conftest.$ac_ext
63908 cat >>conftest.$ac_ext <<_ACEOF
63909 /* end confdefs.h. */
63910 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63911 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63912 #define $ac_func innocuous_$ac_func
63914 /* System header to define __stub macros and hopefully few prototypes,
63915 which can conflict with char $ac_func (); below.
63916 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63917 <limits.h> exists even on freestanding compilers. */
63919 #ifdef __STDC__
63920 # include <limits.h>
63921 #else
63922 # include <assert.h>
63923 #endif
63925 #undef $ac_func
63927 /* Override any gcc2 internal prototype to avoid an error. */
63928 #ifdef __cplusplus
63929 extern "C"
63931 #endif
63932 /* We use char because int might match the return type of a gcc2
63933 builtin and then its argument prototype would still apply. */
63934 char $ac_func ();
63935 /* The GNU C library defines this for functions which it implements
63936 to always fail with ENOSYS. Some functions are actually named
63937 something starting with __ and the normal name is an alias. */
63938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63939 choke me
63940 #else
63941 char (*f) () = $ac_func;
63942 #endif
63943 #ifdef __cplusplus
63945 #endif
63948 main ()
63950 return f != $ac_func;
63952 return 0;
63954 _ACEOF
63955 rm -f conftest.$ac_objext conftest$ac_exeext
63956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63957 (eval $ac_link) 2>conftest.er1
63958 ac_status=$?
63959 grep -v '^ *+' conftest.er1 >conftest.err
63960 rm -f conftest.er1
63961 cat conftest.err >&5
63962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63963 (exit $ac_status); } &&
63964 { ac_try='test -z "$ac_c_werror_flag"
63965 || test ! -s conftest.err'
63966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63967 (eval $ac_try) 2>&5
63968 ac_status=$?
63969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63970 (exit $ac_status); }; } &&
63971 { ac_try='test -s conftest$ac_exeext'
63972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63973 (eval $ac_try) 2>&5
63974 ac_status=$?
63975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63976 (exit $ac_status); }; }; then
63977 eval "$as_ac_var=yes"
63978 else
63979 echo "$as_me: failed program was:" >&5
63980 sed 's/^/| /' conftest.$ac_ext >&5
63982 eval "$as_ac_var=no"
63984 rm -f conftest.err conftest.$ac_objext \
63985 conftest$ac_exeext conftest.$ac_ext
63987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63988 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63989 if test `eval echo '${'$as_ac_var'}'` = yes; then
63990 cat >>confdefs.h <<_ACEOF
63991 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63992 _ACEOF
63995 done
63997 else
63999 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
64000 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
64001 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
64002 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
64003 echo $ECHO_N "(cached) $ECHO_C" >&6
64004 else
64008 ac_ext=cc
64009 ac_cpp='$CXXCPP $CPPFLAGS'
64010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64014 cat >conftest.$ac_ext <<_ACEOF
64015 /* confdefs.h. */
64016 _ACEOF
64017 cat confdefs.h >>conftest.$ac_ext
64018 cat >>conftest.$ac_ext <<_ACEOF
64019 /* end confdefs.h. */
64020 #include <math.h>
64021 #ifdef HAVE_IEEEFP_H
64022 #include <ieeefp.h>
64023 #endif
64026 main ()
64028 _isinfl(0);
64030 return 0;
64032 _ACEOF
64033 rm -f conftest.$ac_objext
64034 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64035 (eval $ac_compile) 2>conftest.er1
64036 ac_status=$?
64037 grep -v '^ *+' conftest.er1 >conftest.err
64038 rm -f conftest.er1
64039 cat conftest.err >&5
64040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64041 (exit $ac_status); } &&
64042 { ac_try='test -z "$ac_cxx_werror_flag"
64043 || test ! -s conftest.err'
64044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64045 (eval $ac_try) 2>&5
64046 ac_status=$?
64047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64048 (exit $ac_status); }; } &&
64049 { ac_try='test -s conftest.$ac_objext'
64050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64051 (eval $ac_try) 2>&5
64052 ac_status=$?
64053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64054 (exit $ac_status); }; }; then
64055 glibcxx_cv_func__isinfl_use=yes
64056 else
64057 echo "$as_me: failed program was:" >&5
64058 sed 's/^/| /' conftest.$ac_ext >&5
64060 glibcxx_cv_func__isinfl_use=no
64062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64063 ac_ext=c
64064 ac_cpp='$CPP $CPPFLAGS'
64065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64073 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
64074 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
64076 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
64078 for ac_func in _isinfl
64080 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64081 echo "$as_me:$LINENO: checking for $ac_func" >&5
64082 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64083 if eval "test \"\${$as_ac_var+set}\" = set"; then
64084 echo $ECHO_N "(cached) $ECHO_C" >&6
64085 else
64086 if test x$gcc_no_link = xyes; then
64087 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64089 { (exit 1); exit 1; }; }
64091 cat >conftest.$ac_ext <<_ACEOF
64092 /* confdefs.h. */
64093 _ACEOF
64094 cat confdefs.h >>conftest.$ac_ext
64095 cat >>conftest.$ac_ext <<_ACEOF
64096 /* end confdefs.h. */
64097 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64098 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64099 #define $ac_func innocuous_$ac_func
64101 /* System header to define __stub macros and hopefully few prototypes,
64102 which can conflict with char $ac_func (); below.
64103 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64104 <limits.h> exists even on freestanding compilers. */
64106 #ifdef __STDC__
64107 # include <limits.h>
64108 #else
64109 # include <assert.h>
64110 #endif
64112 #undef $ac_func
64114 /* Override any gcc2 internal prototype to avoid an error. */
64115 #ifdef __cplusplus
64116 extern "C"
64118 #endif
64119 /* We use char because int might match the return type of a gcc2
64120 builtin and then its argument prototype would still apply. */
64121 char $ac_func ();
64122 /* The GNU C library defines this for functions which it implements
64123 to always fail with ENOSYS. Some functions are actually named
64124 something starting with __ and the normal name is an alias. */
64125 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64126 choke me
64127 #else
64128 char (*f) () = $ac_func;
64129 #endif
64130 #ifdef __cplusplus
64132 #endif
64135 main ()
64137 return f != $ac_func;
64139 return 0;
64141 _ACEOF
64142 rm -f conftest.$ac_objext conftest$ac_exeext
64143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64144 (eval $ac_link) 2>conftest.er1
64145 ac_status=$?
64146 grep -v '^ *+' conftest.er1 >conftest.err
64147 rm -f conftest.er1
64148 cat conftest.err >&5
64149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64150 (exit $ac_status); } &&
64151 { ac_try='test -z "$ac_c_werror_flag"
64152 || test ! -s conftest.err'
64153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64154 (eval $ac_try) 2>&5
64155 ac_status=$?
64156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64157 (exit $ac_status); }; } &&
64158 { ac_try='test -s conftest$ac_exeext'
64159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64160 (eval $ac_try) 2>&5
64161 ac_status=$?
64162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64163 (exit $ac_status); }; }; then
64164 eval "$as_ac_var=yes"
64165 else
64166 echo "$as_me: failed program was:" >&5
64167 sed 's/^/| /' conftest.$ac_ext >&5
64169 eval "$as_ac_var=no"
64171 rm -f conftest.err conftest.$ac_objext \
64172 conftest$ac_exeext conftest.$ac_ext
64174 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64175 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64176 if test `eval echo '${'$as_ac_var'}'` = yes; then
64177 cat >>confdefs.h <<_ACEOF
64178 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64179 _ACEOF
64182 done
64189 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
64190 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
64191 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
64192 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
64193 echo $ECHO_N "(cached) $ECHO_C" >&6
64194 else
64198 ac_ext=cc
64199 ac_cpp='$CXXCPP $CPPFLAGS'
64200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64204 cat >conftest.$ac_ext <<_ACEOF
64205 /* confdefs.h. */
64206 _ACEOF
64207 cat confdefs.h >>conftest.$ac_ext
64208 cat >>conftest.$ac_ext <<_ACEOF
64209 /* end confdefs.h. */
64210 #include <math.h>
64212 main ()
64214 copysignl(0, 0);
64216 return 0;
64218 _ACEOF
64219 rm -f conftest.$ac_objext
64220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64221 (eval $ac_compile) 2>conftest.er1
64222 ac_status=$?
64223 grep -v '^ *+' conftest.er1 >conftest.err
64224 rm -f conftest.er1
64225 cat conftest.err >&5
64226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64227 (exit $ac_status); } &&
64228 { ac_try='test -z "$ac_cxx_werror_flag"
64229 || test ! -s conftest.err'
64230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64231 (eval $ac_try) 2>&5
64232 ac_status=$?
64233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64234 (exit $ac_status); }; } &&
64235 { ac_try='test -s conftest.$ac_objext'
64236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64237 (eval $ac_try) 2>&5
64238 ac_status=$?
64239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64240 (exit $ac_status); }; }; then
64241 glibcxx_cv_func_copysignl_use=yes
64242 else
64243 echo "$as_me: failed program was:" >&5
64244 sed 's/^/| /' conftest.$ac_ext >&5
64246 glibcxx_cv_func_copysignl_use=no
64248 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64249 ac_ext=c
64250 ac_cpp='$CPP $CPPFLAGS'
64251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64259 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
64260 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
64262 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
64264 for ac_func in copysignl
64266 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64267 echo "$as_me:$LINENO: checking for $ac_func" >&5
64268 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64269 if eval "test \"\${$as_ac_var+set}\" = set"; then
64270 echo $ECHO_N "(cached) $ECHO_C" >&6
64271 else
64272 if test x$gcc_no_link = xyes; then
64273 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64274 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64275 { (exit 1); exit 1; }; }
64277 cat >conftest.$ac_ext <<_ACEOF
64278 /* confdefs.h. */
64279 _ACEOF
64280 cat confdefs.h >>conftest.$ac_ext
64281 cat >>conftest.$ac_ext <<_ACEOF
64282 /* end confdefs.h. */
64283 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64284 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64285 #define $ac_func innocuous_$ac_func
64287 /* System header to define __stub macros and hopefully few prototypes,
64288 which can conflict with char $ac_func (); below.
64289 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64290 <limits.h> exists even on freestanding compilers. */
64292 #ifdef __STDC__
64293 # include <limits.h>
64294 #else
64295 # include <assert.h>
64296 #endif
64298 #undef $ac_func
64300 /* Override any gcc2 internal prototype to avoid an error. */
64301 #ifdef __cplusplus
64302 extern "C"
64304 #endif
64305 /* We use char because int might match the return type of a gcc2
64306 builtin and then its argument prototype would still apply. */
64307 char $ac_func ();
64308 /* The GNU C library defines this for functions which it implements
64309 to always fail with ENOSYS. Some functions are actually named
64310 something starting with __ and the normal name is an alias. */
64311 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64312 choke me
64313 #else
64314 char (*f) () = $ac_func;
64315 #endif
64316 #ifdef __cplusplus
64318 #endif
64321 main ()
64323 return f != $ac_func;
64325 return 0;
64327 _ACEOF
64328 rm -f conftest.$ac_objext conftest$ac_exeext
64329 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64330 (eval $ac_link) 2>conftest.er1
64331 ac_status=$?
64332 grep -v '^ *+' conftest.er1 >conftest.err
64333 rm -f conftest.er1
64334 cat conftest.err >&5
64335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64336 (exit $ac_status); } &&
64337 { ac_try='test -z "$ac_c_werror_flag"
64338 || test ! -s conftest.err'
64339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64340 (eval $ac_try) 2>&5
64341 ac_status=$?
64342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64343 (exit $ac_status); }; } &&
64344 { ac_try='test -s conftest$ac_exeext'
64345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64346 (eval $ac_try) 2>&5
64347 ac_status=$?
64348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64349 (exit $ac_status); }; }; then
64350 eval "$as_ac_var=yes"
64351 else
64352 echo "$as_me: failed program was:" >&5
64353 sed 's/^/| /' conftest.$ac_ext >&5
64355 eval "$as_ac_var=no"
64357 rm -f conftest.err conftest.$ac_objext \
64358 conftest$ac_exeext conftest.$ac_ext
64360 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64361 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64362 if test `eval echo '${'$as_ac_var'}'` = yes; then
64363 cat >>confdefs.h <<_ACEOF
64364 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64365 _ACEOF
64368 done
64370 else
64372 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
64373 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
64374 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
64375 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
64376 echo $ECHO_N "(cached) $ECHO_C" >&6
64377 else
64381 ac_ext=cc
64382 ac_cpp='$CXXCPP $CPPFLAGS'
64383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64387 cat >conftest.$ac_ext <<_ACEOF
64388 /* confdefs.h. */
64389 _ACEOF
64390 cat confdefs.h >>conftest.$ac_ext
64391 cat >>conftest.$ac_ext <<_ACEOF
64392 /* end confdefs.h. */
64393 #include <math.h>
64395 main ()
64397 _copysignl(0, 0);
64399 return 0;
64401 _ACEOF
64402 rm -f conftest.$ac_objext
64403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64404 (eval $ac_compile) 2>conftest.er1
64405 ac_status=$?
64406 grep -v '^ *+' conftest.er1 >conftest.err
64407 rm -f conftest.er1
64408 cat conftest.err >&5
64409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64410 (exit $ac_status); } &&
64411 { ac_try='test -z "$ac_cxx_werror_flag"
64412 || test ! -s conftest.err'
64413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64414 (eval $ac_try) 2>&5
64415 ac_status=$?
64416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64417 (exit $ac_status); }; } &&
64418 { ac_try='test -s conftest.$ac_objext'
64419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64420 (eval $ac_try) 2>&5
64421 ac_status=$?
64422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64423 (exit $ac_status); }; }; then
64424 glibcxx_cv_func__copysignl_use=yes
64425 else
64426 echo "$as_me: failed program was:" >&5
64427 sed 's/^/| /' conftest.$ac_ext >&5
64429 glibcxx_cv_func__copysignl_use=no
64431 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64432 ac_ext=c
64433 ac_cpp='$CPP $CPPFLAGS'
64434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64442 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
64443 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
64445 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
64447 for ac_func in _copysignl
64449 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64450 echo "$as_me:$LINENO: checking for $ac_func" >&5
64451 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64452 if eval "test \"\${$as_ac_var+set}\" = set"; then
64453 echo $ECHO_N "(cached) $ECHO_C" >&6
64454 else
64455 if test x$gcc_no_link = xyes; then
64456 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64457 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64458 { (exit 1); exit 1; }; }
64460 cat >conftest.$ac_ext <<_ACEOF
64461 /* confdefs.h. */
64462 _ACEOF
64463 cat confdefs.h >>conftest.$ac_ext
64464 cat >>conftest.$ac_ext <<_ACEOF
64465 /* end confdefs.h. */
64466 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64467 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64468 #define $ac_func innocuous_$ac_func
64470 /* System header to define __stub macros and hopefully few prototypes,
64471 which can conflict with char $ac_func (); below.
64472 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64473 <limits.h> exists even on freestanding compilers. */
64475 #ifdef __STDC__
64476 # include <limits.h>
64477 #else
64478 # include <assert.h>
64479 #endif
64481 #undef $ac_func
64483 /* Override any gcc2 internal prototype to avoid an error. */
64484 #ifdef __cplusplus
64485 extern "C"
64487 #endif
64488 /* We use char because int might match the return type of a gcc2
64489 builtin and then its argument prototype would still apply. */
64490 char $ac_func ();
64491 /* The GNU C library defines this for functions which it implements
64492 to always fail with ENOSYS. Some functions are actually named
64493 something starting with __ and the normal name is an alias. */
64494 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64495 choke me
64496 #else
64497 char (*f) () = $ac_func;
64498 #endif
64499 #ifdef __cplusplus
64501 #endif
64504 main ()
64506 return f != $ac_func;
64508 return 0;
64510 _ACEOF
64511 rm -f conftest.$ac_objext conftest$ac_exeext
64512 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64513 (eval $ac_link) 2>conftest.er1
64514 ac_status=$?
64515 grep -v '^ *+' conftest.er1 >conftest.err
64516 rm -f conftest.er1
64517 cat conftest.err >&5
64518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64519 (exit $ac_status); } &&
64520 { ac_try='test -z "$ac_c_werror_flag"
64521 || test ! -s conftest.err'
64522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64523 (eval $ac_try) 2>&5
64524 ac_status=$?
64525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64526 (exit $ac_status); }; } &&
64527 { ac_try='test -s conftest$ac_exeext'
64528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64529 (eval $ac_try) 2>&5
64530 ac_status=$?
64531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64532 (exit $ac_status); }; }; then
64533 eval "$as_ac_var=yes"
64534 else
64535 echo "$as_me: failed program was:" >&5
64536 sed 's/^/| /' conftest.$ac_ext >&5
64538 eval "$as_ac_var=no"
64540 rm -f conftest.err conftest.$ac_objext \
64541 conftest$ac_exeext conftest.$ac_ext
64543 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64544 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64545 if test `eval echo '${'$as_ac_var'}'` = yes; then
64546 cat >>confdefs.h <<_ACEOF
64547 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64548 _ACEOF
64551 done
64558 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
64559 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
64560 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
64561 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
64562 echo $ECHO_N "(cached) $ECHO_C" >&6
64563 else
64567 ac_ext=cc
64568 ac_cpp='$CXXCPP $CPPFLAGS'
64569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64573 cat >conftest.$ac_ext <<_ACEOF
64574 /* confdefs.h. */
64575 _ACEOF
64576 cat confdefs.h >>conftest.$ac_ext
64577 cat >>conftest.$ac_ext <<_ACEOF
64578 /* end confdefs.h. */
64579 #include <math.h>
64581 main ()
64583 atan2l(0, 0);
64585 return 0;
64587 _ACEOF
64588 rm -f conftest.$ac_objext
64589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64590 (eval $ac_compile) 2>conftest.er1
64591 ac_status=$?
64592 grep -v '^ *+' conftest.er1 >conftest.err
64593 rm -f conftest.er1
64594 cat conftest.err >&5
64595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64596 (exit $ac_status); } &&
64597 { ac_try='test -z "$ac_cxx_werror_flag"
64598 || test ! -s conftest.err'
64599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64600 (eval $ac_try) 2>&5
64601 ac_status=$?
64602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64603 (exit $ac_status); }; } &&
64604 { ac_try='test -s conftest.$ac_objext'
64605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64606 (eval $ac_try) 2>&5
64607 ac_status=$?
64608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64609 (exit $ac_status); }; }; then
64610 glibcxx_cv_func_atan2l_use=yes
64611 else
64612 echo "$as_me: failed program was:" >&5
64613 sed 's/^/| /' conftest.$ac_ext >&5
64615 glibcxx_cv_func_atan2l_use=no
64617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64618 ac_ext=c
64619 ac_cpp='$CPP $CPPFLAGS'
64620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64628 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
64629 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
64631 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
64633 for ac_func in atan2l
64635 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64636 echo "$as_me:$LINENO: checking for $ac_func" >&5
64637 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64638 if eval "test \"\${$as_ac_var+set}\" = set"; then
64639 echo $ECHO_N "(cached) $ECHO_C" >&6
64640 else
64641 if test x$gcc_no_link = xyes; then
64642 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64643 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64644 { (exit 1); exit 1; }; }
64646 cat >conftest.$ac_ext <<_ACEOF
64647 /* confdefs.h. */
64648 _ACEOF
64649 cat confdefs.h >>conftest.$ac_ext
64650 cat >>conftest.$ac_ext <<_ACEOF
64651 /* end confdefs.h. */
64652 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64653 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64654 #define $ac_func innocuous_$ac_func
64656 /* System header to define __stub macros and hopefully few prototypes,
64657 which can conflict with char $ac_func (); below.
64658 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64659 <limits.h> exists even on freestanding compilers. */
64661 #ifdef __STDC__
64662 # include <limits.h>
64663 #else
64664 # include <assert.h>
64665 #endif
64667 #undef $ac_func
64669 /* Override any gcc2 internal prototype to avoid an error. */
64670 #ifdef __cplusplus
64671 extern "C"
64673 #endif
64674 /* We use char because int might match the return type of a gcc2
64675 builtin and then its argument prototype would still apply. */
64676 char $ac_func ();
64677 /* The GNU C library defines this for functions which it implements
64678 to always fail with ENOSYS. Some functions are actually named
64679 something starting with __ and the normal name is an alias. */
64680 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64681 choke me
64682 #else
64683 char (*f) () = $ac_func;
64684 #endif
64685 #ifdef __cplusplus
64687 #endif
64690 main ()
64692 return f != $ac_func;
64694 return 0;
64696 _ACEOF
64697 rm -f conftest.$ac_objext conftest$ac_exeext
64698 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64699 (eval $ac_link) 2>conftest.er1
64700 ac_status=$?
64701 grep -v '^ *+' conftest.er1 >conftest.err
64702 rm -f conftest.er1
64703 cat conftest.err >&5
64704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64705 (exit $ac_status); } &&
64706 { ac_try='test -z "$ac_c_werror_flag"
64707 || test ! -s conftest.err'
64708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64709 (eval $ac_try) 2>&5
64710 ac_status=$?
64711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64712 (exit $ac_status); }; } &&
64713 { ac_try='test -s conftest$ac_exeext'
64714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64715 (eval $ac_try) 2>&5
64716 ac_status=$?
64717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64718 (exit $ac_status); }; }; then
64719 eval "$as_ac_var=yes"
64720 else
64721 echo "$as_me: failed program was:" >&5
64722 sed 's/^/| /' conftest.$ac_ext >&5
64724 eval "$as_ac_var=no"
64726 rm -f conftest.err conftest.$ac_objext \
64727 conftest$ac_exeext conftest.$ac_ext
64729 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64730 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64731 if test `eval echo '${'$as_ac_var'}'` = yes; then
64732 cat >>confdefs.h <<_ACEOF
64733 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64734 _ACEOF
64737 done
64739 else
64741 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
64742 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
64743 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
64744 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
64745 echo $ECHO_N "(cached) $ECHO_C" >&6
64746 else
64750 ac_ext=cc
64751 ac_cpp='$CXXCPP $CPPFLAGS'
64752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64756 cat >conftest.$ac_ext <<_ACEOF
64757 /* confdefs.h. */
64758 _ACEOF
64759 cat confdefs.h >>conftest.$ac_ext
64760 cat >>conftest.$ac_ext <<_ACEOF
64761 /* end confdefs.h. */
64762 #include <math.h>
64764 main ()
64766 _atan2l(0, 0);
64768 return 0;
64770 _ACEOF
64771 rm -f conftest.$ac_objext
64772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64773 (eval $ac_compile) 2>conftest.er1
64774 ac_status=$?
64775 grep -v '^ *+' conftest.er1 >conftest.err
64776 rm -f conftest.er1
64777 cat conftest.err >&5
64778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64779 (exit $ac_status); } &&
64780 { ac_try='test -z "$ac_cxx_werror_flag"
64781 || test ! -s conftest.err'
64782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64783 (eval $ac_try) 2>&5
64784 ac_status=$?
64785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64786 (exit $ac_status); }; } &&
64787 { ac_try='test -s conftest.$ac_objext'
64788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64789 (eval $ac_try) 2>&5
64790 ac_status=$?
64791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64792 (exit $ac_status); }; }; then
64793 glibcxx_cv_func__atan2l_use=yes
64794 else
64795 echo "$as_me: failed program was:" >&5
64796 sed 's/^/| /' conftest.$ac_ext >&5
64798 glibcxx_cv_func__atan2l_use=no
64800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64801 ac_ext=c
64802 ac_cpp='$CPP $CPPFLAGS'
64803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64811 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
64812 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
64814 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
64816 for ac_func in _atan2l
64818 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64819 echo "$as_me:$LINENO: checking for $ac_func" >&5
64820 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64821 if eval "test \"\${$as_ac_var+set}\" = set"; then
64822 echo $ECHO_N "(cached) $ECHO_C" >&6
64823 else
64824 if test x$gcc_no_link = xyes; then
64825 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64826 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64827 { (exit 1); exit 1; }; }
64829 cat >conftest.$ac_ext <<_ACEOF
64830 /* confdefs.h. */
64831 _ACEOF
64832 cat confdefs.h >>conftest.$ac_ext
64833 cat >>conftest.$ac_ext <<_ACEOF
64834 /* end confdefs.h. */
64835 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64836 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64837 #define $ac_func innocuous_$ac_func
64839 /* System header to define __stub macros and hopefully few prototypes,
64840 which can conflict with char $ac_func (); below.
64841 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64842 <limits.h> exists even on freestanding compilers. */
64844 #ifdef __STDC__
64845 # include <limits.h>
64846 #else
64847 # include <assert.h>
64848 #endif
64850 #undef $ac_func
64852 /* Override any gcc2 internal prototype to avoid an error. */
64853 #ifdef __cplusplus
64854 extern "C"
64856 #endif
64857 /* We use char because int might match the return type of a gcc2
64858 builtin and then its argument prototype would still apply. */
64859 char $ac_func ();
64860 /* The GNU C library defines this for functions which it implements
64861 to always fail with ENOSYS. Some functions are actually named
64862 something starting with __ and the normal name is an alias. */
64863 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64864 choke me
64865 #else
64866 char (*f) () = $ac_func;
64867 #endif
64868 #ifdef __cplusplus
64870 #endif
64873 main ()
64875 return f != $ac_func;
64877 return 0;
64879 _ACEOF
64880 rm -f conftest.$ac_objext conftest$ac_exeext
64881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64882 (eval $ac_link) 2>conftest.er1
64883 ac_status=$?
64884 grep -v '^ *+' conftest.er1 >conftest.err
64885 rm -f conftest.er1
64886 cat conftest.err >&5
64887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64888 (exit $ac_status); } &&
64889 { ac_try='test -z "$ac_c_werror_flag"
64890 || test ! -s conftest.err'
64891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64892 (eval $ac_try) 2>&5
64893 ac_status=$?
64894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64895 (exit $ac_status); }; } &&
64896 { ac_try='test -s conftest$ac_exeext'
64897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64898 (eval $ac_try) 2>&5
64899 ac_status=$?
64900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64901 (exit $ac_status); }; }; then
64902 eval "$as_ac_var=yes"
64903 else
64904 echo "$as_me: failed program was:" >&5
64905 sed 's/^/| /' conftest.$ac_ext >&5
64907 eval "$as_ac_var=no"
64909 rm -f conftest.err conftest.$ac_objext \
64910 conftest$ac_exeext conftest.$ac_ext
64912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64913 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64914 if test `eval echo '${'$as_ac_var'}'` = yes; then
64915 cat >>confdefs.h <<_ACEOF
64916 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64917 _ACEOF
64920 done
64927 echo "$as_me:$LINENO: checking for expl declaration" >&5
64928 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
64929 if test x${glibcxx_cv_func_expl_use+set} != xset; then
64930 if test "${glibcxx_cv_func_expl_use+set}" = set; then
64931 echo $ECHO_N "(cached) $ECHO_C" >&6
64932 else
64936 ac_ext=cc
64937 ac_cpp='$CXXCPP $CPPFLAGS'
64938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64942 cat >conftest.$ac_ext <<_ACEOF
64943 /* confdefs.h. */
64944 _ACEOF
64945 cat confdefs.h >>conftest.$ac_ext
64946 cat >>conftest.$ac_ext <<_ACEOF
64947 /* end confdefs.h. */
64948 #include <math.h>
64949 #ifdef HAVE_IEEEFP_H
64950 #include <ieeefp.h>
64951 #endif
64954 main ()
64956 expl(0);
64958 return 0;
64960 _ACEOF
64961 rm -f conftest.$ac_objext
64962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64963 (eval $ac_compile) 2>conftest.er1
64964 ac_status=$?
64965 grep -v '^ *+' conftest.er1 >conftest.err
64966 rm -f conftest.er1
64967 cat conftest.err >&5
64968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64969 (exit $ac_status); } &&
64970 { ac_try='test -z "$ac_cxx_werror_flag"
64971 || test ! -s conftest.err'
64972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64973 (eval $ac_try) 2>&5
64974 ac_status=$?
64975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64976 (exit $ac_status); }; } &&
64977 { ac_try='test -s conftest.$ac_objext'
64978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64979 (eval $ac_try) 2>&5
64980 ac_status=$?
64981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64982 (exit $ac_status); }; }; then
64983 glibcxx_cv_func_expl_use=yes
64984 else
64985 echo "$as_me: failed program was:" >&5
64986 sed 's/^/| /' conftest.$ac_ext >&5
64988 glibcxx_cv_func_expl_use=no
64990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64991 ac_ext=c
64992 ac_cpp='$CPP $CPPFLAGS'
64993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65001 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
65002 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
65004 if test x$glibcxx_cv_func_expl_use = x"yes"; then
65006 for ac_func in expl
65008 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65009 echo "$as_me:$LINENO: checking for $ac_func" >&5
65010 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65011 if eval "test \"\${$as_ac_var+set}\" = set"; then
65012 echo $ECHO_N "(cached) $ECHO_C" >&6
65013 else
65014 if test x$gcc_no_link = xyes; then
65015 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65016 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65017 { (exit 1); exit 1; }; }
65019 cat >conftest.$ac_ext <<_ACEOF
65020 /* confdefs.h. */
65021 _ACEOF
65022 cat confdefs.h >>conftest.$ac_ext
65023 cat >>conftest.$ac_ext <<_ACEOF
65024 /* end confdefs.h. */
65025 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65026 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65027 #define $ac_func innocuous_$ac_func
65029 /* System header to define __stub macros and hopefully few prototypes,
65030 which can conflict with char $ac_func (); below.
65031 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65032 <limits.h> exists even on freestanding compilers. */
65034 #ifdef __STDC__
65035 # include <limits.h>
65036 #else
65037 # include <assert.h>
65038 #endif
65040 #undef $ac_func
65042 /* Override any gcc2 internal prototype to avoid an error. */
65043 #ifdef __cplusplus
65044 extern "C"
65046 #endif
65047 /* We use char because int might match the return type of a gcc2
65048 builtin and then its argument prototype would still apply. */
65049 char $ac_func ();
65050 /* The GNU C library defines this for functions which it implements
65051 to always fail with ENOSYS. Some functions are actually named
65052 something starting with __ and the normal name is an alias. */
65053 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65054 choke me
65055 #else
65056 char (*f) () = $ac_func;
65057 #endif
65058 #ifdef __cplusplus
65060 #endif
65063 main ()
65065 return f != $ac_func;
65067 return 0;
65069 _ACEOF
65070 rm -f conftest.$ac_objext conftest$ac_exeext
65071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65072 (eval $ac_link) 2>conftest.er1
65073 ac_status=$?
65074 grep -v '^ *+' conftest.er1 >conftest.err
65075 rm -f conftest.er1
65076 cat conftest.err >&5
65077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65078 (exit $ac_status); } &&
65079 { ac_try='test -z "$ac_c_werror_flag"
65080 || test ! -s conftest.err'
65081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65082 (eval $ac_try) 2>&5
65083 ac_status=$?
65084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65085 (exit $ac_status); }; } &&
65086 { ac_try='test -s conftest$ac_exeext'
65087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65088 (eval $ac_try) 2>&5
65089 ac_status=$?
65090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65091 (exit $ac_status); }; }; then
65092 eval "$as_ac_var=yes"
65093 else
65094 echo "$as_me: failed program was:" >&5
65095 sed 's/^/| /' conftest.$ac_ext >&5
65097 eval "$as_ac_var=no"
65099 rm -f conftest.err conftest.$ac_objext \
65100 conftest$ac_exeext conftest.$ac_ext
65102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65103 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65104 if test `eval echo '${'$as_ac_var'}'` = yes; then
65105 cat >>confdefs.h <<_ACEOF
65106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65107 _ACEOF
65110 done
65112 else
65114 echo "$as_me:$LINENO: checking for _expl declaration" >&5
65115 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
65116 if test x${glibcxx_cv_func__expl_use+set} != xset; then
65117 if test "${glibcxx_cv_func__expl_use+set}" = set; then
65118 echo $ECHO_N "(cached) $ECHO_C" >&6
65119 else
65123 ac_ext=cc
65124 ac_cpp='$CXXCPP $CPPFLAGS'
65125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65129 cat >conftest.$ac_ext <<_ACEOF
65130 /* confdefs.h. */
65131 _ACEOF
65132 cat confdefs.h >>conftest.$ac_ext
65133 cat >>conftest.$ac_ext <<_ACEOF
65134 /* end confdefs.h. */
65135 #include <math.h>
65136 #ifdef HAVE_IEEEFP_H
65137 #include <ieeefp.h>
65138 #endif
65141 main ()
65143 _expl(0);
65145 return 0;
65147 _ACEOF
65148 rm -f conftest.$ac_objext
65149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65150 (eval $ac_compile) 2>conftest.er1
65151 ac_status=$?
65152 grep -v '^ *+' conftest.er1 >conftest.err
65153 rm -f conftest.er1
65154 cat conftest.err >&5
65155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65156 (exit $ac_status); } &&
65157 { ac_try='test -z "$ac_cxx_werror_flag"
65158 || test ! -s conftest.err'
65159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65160 (eval $ac_try) 2>&5
65161 ac_status=$?
65162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65163 (exit $ac_status); }; } &&
65164 { ac_try='test -s conftest.$ac_objext'
65165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65166 (eval $ac_try) 2>&5
65167 ac_status=$?
65168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65169 (exit $ac_status); }; }; then
65170 glibcxx_cv_func__expl_use=yes
65171 else
65172 echo "$as_me: failed program was:" >&5
65173 sed 's/^/| /' conftest.$ac_ext >&5
65175 glibcxx_cv_func__expl_use=no
65177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65178 ac_ext=c
65179 ac_cpp='$CPP $CPPFLAGS'
65180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65188 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
65189 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
65191 if test x$glibcxx_cv_func__expl_use = x"yes"; then
65193 for ac_func in _expl
65195 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65196 echo "$as_me:$LINENO: checking for $ac_func" >&5
65197 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65198 if eval "test \"\${$as_ac_var+set}\" = set"; then
65199 echo $ECHO_N "(cached) $ECHO_C" >&6
65200 else
65201 if test x$gcc_no_link = xyes; then
65202 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65203 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65204 { (exit 1); exit 1; }; }
65206 cat >conftest.$ac_ext <<_ACEOF
65207 /* confdefs.h. */
65208 _ACEOF
65209 cat confdefs.h >>conftest.$ac_ext
65210 cat >>conftest.$ac_ext <<_ACEOF
65211 /* end confdefs.h. */
65212 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65213 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65214 #define $ac_func innocuous_$ac_func
65216 /* System header to define __stub macros and hopefully few prototypes,
65217 which can conflict with char $ac_func (); below.
65218 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65219 <limits.h> exists even on freestanding compilers. */
65221 #ifdef __STDC__
65222 # include <limits.h>
65223 #else
65224 # include <assert.h>
65225 #endif
65227 #undef $ac_func
65229 /* Override any gcc2 internal prototype to avoid an error. */
65230 #ifdef __cplusplus
65231 extern "C"
65233 #endif
65234 /* We use char because int might match the return type of a gcc2
65235 builtin and then its argument prototype would still apply. */
65236 char $ac_func ();
65237 /* The GNU C library defines this for functions which it implements
65238 to always fail with ENOSYS. Some functions are actually named
65239 something starting with __ and the normal name is an alias. */
65240 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65241 choke me
65242 #else
65243 char (*f) () = $ac_func;
65244 #endif
65245 #ifdef __cplusplus
65247 #endif
65250 main ()
65252 return f != $ac_func;
65254 return 0;
65256 _ACEOF
65257 rm -f conftest.$ac_objext conftest$ac_exeext
65258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65259 (eval $ac_link) 2>conftest.er1
65260 ac_status=$?
65261 grep -v '^ *+' conftest.er1 >conftest.err
65262 rm -f conftest.er1
65263 cat conftest.err >&5
65264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65265 (exit $ac_status); } &&
65266 { ac_try='test -z "$ac_c_werror_flag"
65267 || test ! -s conftest.err'
65268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65269 (eval $ac_try) 2>&5
65270 ac_status=$?
65271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65272 (exit $ac_status); }; } &&
65273 { ac_try='test -s conftest$ac_exeext'
65274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65275 (eval $ac_try) 2>&5
65276 ac_status=$?
65277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65278 (exit $ac_status); }; }; then
65279 eval "$as_ac_var=yes"
65280 else
65281 echo "$as_me: failed program was:" >&5
65282 sed 's/^/| /' conftest.$ac_ext >&5
65284 eval "$as_ac_var=no"
65286 rm -f conftest.err conftest.$ac_objext \
65287 conftest$ac_exeext conftest.$ac_ext
65289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65290 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65291 if test `eval echo '${'$as_ac_var'}'` = yes; then
65292 cat >>confdefs.h <<_ACEOF
65293 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65294 _ACEOF
65297 done
65304 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
65305 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
65306 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
65307 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
65308 echo $ECHO_N "(cached) $ECHO_C" >&6
65309 else
65313 ac_ext=cc
65314 ac_cpp='$CXXCPP $CPPFLAGS'
65315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65319 cat >conftest.$ac_ext <<_ACEOF
65320 /* confdefs.h. */
65321 _ACEOF
65322 cat confdefs.h >>conftest.$ac_ext
65323 cat >>conftest.$ac_ext <<_ACEOF
65324 /* end confdefs.h. */
65325 #include <math.h>
65326 #ifdef HAVE_IEEEFP_H
65327 #include <ieeefp.h>
65328 #endif
65331 main ()
65333 fabsl(0);
65335 return 0;
65337 _ACEOF
65338 rm -f conftest.$ac_objext
65339 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65340 (eval $ac_compile) 2>conftest.er1
65341 ac_status=$?
65342 grep -v '^ *+' conftest.er1 >conftest.err
65343 rm -f conftest.er1
65344 cat conftest.err >&5
65345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65346 (exit $ac_status); } &&
65347 { ac_try='test -z "$ac_cxx_werror_flag"
65348 || test ! -s conftest.err'
65349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65350 (eval $ac_try) 2>&5
65351 ac_status=$?
65352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65353 (exit $ac_status); }; } &&
65354 { ac_try='test -s conftest.$ac_objext'
65355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65356 (eval $ac_try) 2>&5
65357 ac_status=$?
65358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65359 (exit $ac_status); }; }; then
65360 glibcxx_cv_func_fabsl_use=yes
65361 else
65362 echo "$as_me: failed program was:" >&5
65363 sed 's/^/| /' conftest.$ac_ext >&5
65365 glibcxx_cv_func_fabsl_use=no
65367 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65368 ac_ext=c
65369 ac_cpp='$CPP $CPPFLAGS'
65370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65378 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
65379 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
65381 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
65383 for ac_func in fabsl
65385 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65386 echo "$as_me:$LINENO: checking for $ac_func" >&5
65387 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65388 if eval "test \"\${$as_ac_var+set}\" = set"; then
65389 echo $ECHO_N "(cached) $ECHO_C" >&6
65390 else
65391 if test x$gcc_no_link = xyes; then
65392 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65393 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65394 { (exit 1); exit 1; }; }
65396 cat >conftest.$ac_ext <<_ACEOF
65397 /* confdefs.h. */
65398 _ACEOF
65399 cat confdefs.h >>conftest.$ac_ext
65400 cat >>conftest.$ac_ext <<_ACEOF
65401 /* end confdefs.h. */
65402 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65403 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65404 #define $ac_func innocuous_$ac_func
65406 /* System header to define __stub macros and hopefully few prototypes,
65407 which can conflict with char $ac_func (); below.
65408 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65409 <limits.h> exists even on freestanding compilers. */
65411 #ifdef __STDC__
65412 # include <limits.h>
65413 #else
65414 # include <assert.h>
65415 #endif
65417 #undef $ac_func
65419 /* Override any gcc2 internal prototype to avoid an error. */
65420 #ifdef __cplusplus
65421 extern "C"
65423 #endif
65424 /* We use char because int might match the return type of a gcc2
65425 builtin and then its argument prototype would still apply. */
65426 char $ac_func ();
65427 /* The GNU C library defines this for functions which it implements
65428 to always fail with ENOSYS. Some functions are actually named
65429 something starting with __ and the normal name is an alias. */
65430 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65431 choke me
65432 #else
65433 char (*f) () = $ac_func;
65434 #endif
65435 #ifdef __cplusplus
65437 #endif
65440 main ()
65442 return f != $ac_func;
65444 return 0;
65446 _ACEOF
65447 rm -f conftest.$ac_objext conftest$ac_exeext
65448 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65449 (eval $ac_link) 2>conftest.er1
65450 ac_status=$?
65451 grep -v '^ *+' conftest.er1 >conftest.err
65452 rm -f conftest.er1
65453 cat conftest.err >&5
65454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65455 (exit $ac_status); } &&
65456 { ac_try='test -z "$ac_c_werror_flag"
65457 || test ! -s conftest.err'
65458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65459 (eval $ac_try) 2>&5
65460 ac_status=$?
65461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65462 (exit $ac_status); }; } &&
65463 { ac_try='test -s conftest$ac_exeext'
65464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65465 (eval $ac_try) 2>&5
65466 ac_status=$?
65467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65468 (exit $ac_status); }; }; then
65469 eval "$as_ac_var=yes"
65470 else
65471 echo "$as_me: failed program was:" >&5
65472 sed 's/^/| /' conftest.$ac_ext >&5
65474 eval "$as_ac_var=no"
65476 rm -f conftest.err conftest.$ac_objext \
65477 conftest$ac_exeext conftest.$ac_ext
65479 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65480 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65481 if test `eval echo '${'$as_ac_var'}'` = yes; then
65482 cat >>confdefs.h <<_ACEOF
65483 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65484 _ACEOF
65487 done
65489 else
65491 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
65492 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
65493 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
65494 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
65495 echo $ECHO_N "(cached) $ECHO_C" >&6
65496 else
65500 ac_ext=cc
65501 ac_cpp='$CXXCPP $CPPFLAGS'
65502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65506 cat >conftest.$ac_ext <<_ACEOF
65507 /* confdefs.h. */
65508 _ACEOF
65509 cat confdefs.h >>conftest.$ac_ext
65510 cat >>conftest.$ac_ext <<_ACEOF
65511 /* end confdefs.h. */
65512 #include <math.h>
65513 #ifdef HAVE_IEEEFP_H
65514 #include <ieeefp.h>
65515 #endif
65518 main ()
65520 _fabsl(0);
65522 return 0;
65524 _ACEOF
65525 rm -f conftest.$ac_objext
65526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65527 (eval $ac_compile) 2>conftest.er1
65528 ac_status=$?
65529 grep -v '^ *+' conftest.er1 >conftest.err
65530 rm -f conftest.er1
65531 cat conftest.err >&5
65532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65533 (exit $ac_status); } &&
65534 { ac_try='test -z "$ac_cxx_werror_flag"
65535 || test ! -s conftest.err'
65536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65537 (eval $ac_try) 2>&5
65538 ac_status=$?
65539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65540 (exit $ac_status); }; } &&
65541 { ac_try='test -s conftest.$ac_objext'
65542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65543 (eval $ac_try) 2>&5
65544 ac_status=$?
65545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65546 (exit $ac_status); }; }; then
65547 glibcxx_cv_func__fabsl_use=yes
65548 else
65549 echo "$as_me: failed program was:" >&5
65550 sed 's/^/| /' conftest.$ac_ext >&5
65552 glibcxx_cv_func__fabsl_use=no
65554 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65555 ac_ext=c
65556 ac_cpp='$CPP $CPPFLAGS'
65557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65565 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
65566 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
65568 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
65570 for ac_func in _fabsl
65572 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65573 echo "$as_me:$LINENO: checking for $ac_func" >&5
65574 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65575 if eval "test \"\${$as_ac_var+set}\" = set"; then
65576 echo $ECHO_N "(cached) $ECHO_C" >&6
65577 else
65578 if test x$gcc_no_link = xyes; then
65579 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65580 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65581 { (exit 1); exit 1; }; }
65583 cat >conftest.$ac_ext <<_ACEOF
65584 /* confdefs.h. */
65585 _ACEOF
65586 cat confdefs.h >>conftest.$ac_ext
65587 cat >>conftest.$ac_ext <<_ACEOF
65588 /* end confdefs.h. */
65589 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65590 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65591 #define $ac_func innocuous_$ac_func
65593 /* System header to define __stub macros and hopefully few prototypes,
65594 which can conflict with char $ac_func (); below.
65595 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65596 <limits.h> exists even on freestanding compilers. */
65598 #ifdef __STDC__
65599 # include <limits.h>
65600 #else
65601 # include <assert.h>
65602 #endif
65604 #undef $ac_func
65606 /* Override any gcc2 internal prototype to avoid an error. */
65607 #ifdef __cplusplus
65608 extern "C"
65610 #endif
65611 /* We use char because int might match the return type of a gcc2
65612 builtin and then its argument prototype would still apply. */
65613 char $ac_func ();
65614 /* The GNU C library defines this for functions which it implements
65615 to always fail with ENOSYS. Some functions are actually named
65616 something starting with __ and the normal name is an alias. */
65617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65618 choke me
65619 #else
65620 char (*f) () = $ac_func;
65621 #endif
65622 #ifdef __cplusplus
65624 #endif
65627 main ()
65629 return f != $ac_func;
65631 return 0;
65633 _ACEOF
65634 rm -f conftest.$ac_objext conftest$ac_exeext
65635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65636 (eval $ac_link) 2>conftest.er1
65637 ac_status=$?
65638 grep -v '^ *+' conftest.er1 >conftest.err
65639 rm -f conftest.er1
65640 cat conftest.err >&5
65641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65642 (exit $ac_status); } &&
65643 { ac_try='test -z "$ac_c_werror_flag"
65644 || test ! -s conftest.err'
65645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65646 (eval $ac_try) 2>&5
65647 ac_status=$?
65648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65649 (exit $ac_status); }; } &&
65650 { ac_try='test -s conftest$ac_exeext'
65651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65652 (eval $ac_try) 2>&5
65653 ac_status=$?
65654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65655 (exit $ac_status); }; }; then
65656 eval "$as_ac_var=yes"
65657 else
65658 echo "$as_me: failed program was:" >&5
65659 sed 's/^/| /' conftest.$ac_ext >&5
65661 eval "$as_ac_var=no"
65663 rm -f conftest.err conftest.$ac_objext \
65664 conftest$ac_exeext conftest.$ac_ext
65666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65667 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65668 if test `eval echo '${'$as_ac_var'}'` = yes; then
65669 cat >>confdefs.h <<_ACEOF
65670 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65671 _ACEOF
65674 done
65681 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
65682 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
65683 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
65684 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
65685 echo $ECHO_N "(cached) $ECHO_C" >&6
65686 else
65690 ac_ext=cc
65691 ac_cpp='$CXXCPP $CPPFLAGS'
65692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65696 cat >conftest.$ac_ext <<_ACEOF
65697 /* confdefs.h. */
65698 _ACEOF
65699 cat confdefs.h >>conftest.$ac_ext
65700 cat >>conftest.$ac_ext <<_ACEOF
65701 /* end confdefs.h. */
65702 #include <math.h>
65704 main ()
65706 fmodl(0, 0);
65708 return 0;
65710 _ACEOF
65711 rm -f conftest.$ac_objext
65712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65713 (eval $ac_compile) 2>conftest.er1
65714 ac_status=$?
65715 grep -v '^ *+' conftest.er1 >conftest.err
65716 rm -f conftest.er1
65717 cat conftest.err >&5
65718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65719 (exit $ac_status); } &&
65720 { ac_try='test -z "$ac_cxx_werror_flag"
65721 || test ! -s conftest.err'
65722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65723 (eval $ac_try) 2>&5
65724 ac_status=$?
65725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65726 (exit $ac_status); }; } &&
65727 { ac_try='test -s conftest.$ac_objext'
65728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65729 (eval $ac_try) 2>&5
65730 ac_status=$?
65731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65732 (exit $ac_status); }; }; then
65733 glibcxx_cv_func_fmodl_use=yes
65734 else
65735 echo "$as_me: failed program was:" >&5
65736 sed 's/^/| /' conftest.$ac_ext >&5
65738 glibcxx_cv_func_fmodl_use=no
65740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65741 ac_ext=c
65742 ac_cpp='$CPP $CPPFLAGS'
65743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65751 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
65752 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
65754 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
65756 for ac_func in fmodl
65758 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65759 echo "$as_me:$LINENO: checking for $ac_func" >&5
65760 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65761 if eval "test \"\${$as_ac_var+set}\" = set"; then
65762 echo $ECHO_N "(cached) $ECHO_C" >&6
65763 else
65764 if test x$gcc_no_link = xyes; then
65765 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65766 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65767 { (exit 1); exit 1; }; }
65769 cat >conftest.$ac_ext <<_ACEOF
65770 /* confdefs.h. */
65771 _ACEOF
65772 cat confdefs.h >>conftest.$ac_ext
65773 cat >>conftest.$ac_ext <<_ACEOF
65774 /* end confdefs.h. */
65775 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65776 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65777 #define $ac_func innocuous_$ac_func
65779 /* System header to define __stub macros and hopefully few prototypes,
65780 which can conflict with char $ac_func (); below.
65781 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65782 <limits.h> exists even on freestanding compilers. */
65784 #ifdef __STDC__
65785 # include <limits.h>
65786 #else
65787 # include <assert.h>
65788 #endif
65790 #undef $ac_func
65792 /* Override any gcc2 internal prototype to avoid an error. */
65793 #ifdef __cplusplus
65794 extern "C"
65796 #endif
65797 /* We use char because int might match the return type of a gcc2
65798 builtin and then its argument prototype would still apply. */
65799 char $ac_func ();
65800 /* The GNU C library defines this for functions which it implements
65801 to always fail with ENOSYS. Some functions are actually named
65802 something starting with __ and the normal name is an alias. */
65803 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65804 choke me
65805 #else
65806 char (*f) () = $ac_func;
65807 #endif
65808 #ifdef __cplusplus
65810 #endif
65813 main ()
65815 return f != $ac_func;
65817 return 0;
65819 _ACEOF
65820 rm -f conftest.$ac_objext conftest$ac_exeext
65821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65822 (eval $ac_link) 2>conftest.er1
65823 ac_status=$?
65824 grep -v '^ *+' conftest.er1 >conftest.err
65825 rm -f conftest.er1
65826 cat conftest.err >&5
65827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65828 (exit $ac_status); } &&
65829 { ac_try='test -z "$ac_c_werror_flag"
65830 || test ! -s conftest.err'
65831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65832 (eval $ac_try) 2>&5
65833 ac_status=$?
65834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65835 (exit $ac_status); }; } &&
65836 { ac_try='test -s conftest$ac_exeext'
65837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65838 (eval $ac_try) 2>&5
65839 ac_status=$?
65840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65841 (exit $ac_status); }; }; then
65842 eval "$as_ac_var=yes"
65843 else
65844 echo "$as_me: failed program was:" >&5
65845 sed 's/^/| /' conftest.$ac_ext >&5
65847 eval "$as_ac_var=no"
65849 rm -f conftest.err conftest.$ac_objext \
65850 conftest$ac_exeext conftest.$ac_ext
65852 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65853 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65854 if test `eval echo '${'$as_ac_var'}'` = yes; then
65855 cat >>confdefs.h <<_ACEOF
65856 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65857 _ACEOF
65860 done
65862 else
65864 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
65865 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
65866 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
65867 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
65868 echo $ECHO_N "(cached) $ECHO_C" >&6
65869 else
65873 ac_ext=cc
65874 ac_cpp='$CXXCPP $CPPFLAGS'
65875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65879 cat >conftest.$ac_ext <<_ACEOF
65880 /* confdefs.h. */
65881 _ACEOF
65882 cat confdefs.h >>conftest.$ac_ext
65883 cat >>conftest.$ac_ext <<_ACEOF
65884 /* end confdefs.h. */
65885 #include <math.h>
65887 main ()
65889 _fmodl(0, 0);
65891 return 0;
65893 _ACEOF
65894 rm -f conftest.$ac_objext
65895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65896 (eval $ac_compile) 2>conftest.er1
65897 ac_status=$?
65898 grep -v '^ *+' conftest.er1 >conftest.err
65899 rm -f conftest.er1
65900 cat conftest.err >&5
65901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65902 (exit $ac_status); } &&
65903 { ac_try='test -z "$ac_cxx_werror_flag"
65904 || test ! -s conftest.err'
65905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65906 (eval $ac_try) 2>&5
65907 ac_status=$?
65908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65909 (exit $ac_status); }; } &&
65910 { ac_try='test -s conftest.$ac_objext'
65911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65912 (eval $ac_try) 2>&5
65913 ac_status=$?
65914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65915 (exit $ac_status); }; }; then
65916 glibcxx_cv_func__fmodl_use=yes
65917 else
65918 echo "$as_me: failed program was:" >&5
65919 sed 's/^/| /' conftest.$ac_ext >&5
65921 glibcxx_cv_func__fmodl_use=no
65923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65924 ac_ext=c
65925 ac_cpp='$CPP $CPPFLAGS'
65926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65934 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
65935 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
65937 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
65939 for ac_func in _fmodl
65941 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65942 echo "$as_me:$LINENO: checking for $ac_func" >&5
65943 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65944 if eval "test \"\${$as_ac_var+set}\" = set"; then
65945 echo $ECHO_N "(cached) $ECHO_C" >&6
65946 else
65947 if test x$gcc_no_link = xyes; then
65948 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65949 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65950 { (exit 1); exit 1; }; }
65952 cat >conftest.$ac_ext <<_ACEOF
65953 /* confdefs.h. */
65954 _ACEOF
65955 cat confdefs.h >>conftest.$ac_ext
65956 cat >>conftest.$ac_ext <<_ACEOF
65957 /* end confdefs.h. */
65958 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65959 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65960 #define $ac_func innocuous_$ac_func
65962 /* System header to define __stub macros and hopefully few prototypes,
65963 which can conflict with char $ac_func (); below.
65964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65965 <limits.h> exists even on freestanding compilers. */
65967 #ifdef __STDC__
65968 # include <limits.h>
65969 #else
65970 # include <assert.h>
65971 #endif
65973 #undef $ac_func
65975 /* Override any gcc2 internal prototype to avoid an error. */
65976 #ifdef __cplusplus
65977 extern "C"
65979 #endif
65980 /* We use char because int might match the return type of a gcc2
65981 builtin and then its argument prototype would still apply. */
65982 char $ac_func ();
65983 /* The GNU C library defines this for functions which it implements
65984 to always fail with ENOSYS. Some functions are actually named
65985 something starting with __ and the normal name is an alias. */
65986 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65987 choke me
65988 #else
65989 char (*f) () = $ac_func;
65990 #endif
65991 #ifdef __cplusplus
65993 #endif
65996 main ()
65998 return f != $ac_func;
66000 return 0;
66002 _ACEOF
66003 rm -f conftest.$ac_objext conftest$ac_exeext
66004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66005 (eval $ac_link) 2>conftest.er1
66006 ac_status=$?
66007 grep -v '^ *+' conftest.er1 >conftest.err
66008 rm -f conftest.er1
66009 cat conftest.err >&5
66010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66011 (exit $ac_status); } &&
66012 { ac_try='test -z "$ac_c_werror_flag"
66013 || test ! -s conftest.err'
66014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66015 (eval $ac_try) 2>&5
66016 ac_status=$?
66017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66018 (exit $ac_status); }; } &&
66019 { ac_try='test -s conftest$ac_exeext'
66020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66021 (eval $ac_try) 2>&5
66022 ac_status=$?
66023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66024 (exit $ac_status); }; }; then
66025 eval "$as_ac_var=yes"
66026 else
66027 echo "$as_me: failed program was:" >&5
66028 sed 's/^/| /' conftest.$ac_ext >&5
66030 eval "$as_ac_var=no"
66032 rm -f conftest.err conftest.$ac_objext \
66033 conftest$ac_exeext conftest.$ac_ext
66035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66036 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66037 if test `eval echo '${'$as_ac_var'}'` = yes; then
66038 cat >>confdefs.h <<_ACEOF
66039 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66040 _ACEOF
66043 done
66050 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
66051 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
66052 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
66053 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
66054 echo $ECHO_N "(cached) $ECHO_C" >&6
66055 else
66059 ac_ext=cc
66060 ac_cpp='$CXXCPP $CPPFLAGS'
66061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66065 cat >conftest.$ac_ext <<_ACEOF
66066 /* confdefs.h. */
66067 _ACEOF
66068 cat confdefs.h >>conftest.$ac_ext
66069 cat >>conftest.$ac_ext <<_ACEOF
66070 /* end confdefs.h. */
66071 #include <math.h>
66073 main ()
66075 frexpl(0, 0);
66077 return 0;
66079 _ACEOF
66080 rm -f conftest.$ac_objext
66081 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66082 (eval $ac_compile) 2>conftest.er1
66083 ac_status=$?
66084 grep -v '^ *+' conftest.er1 >conftest.err
66085 rm -f conftest.er1
66086 cat conftest.err >&5
66087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66088 (exit $ac_status); } &&
66089 { ac_try='test -z "$ac_cxx_werror_flag"
66090 || test ! -s conftest.err'
66091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66092 (eval $ac_try) 2>&5
66093 ac_status=$?
66094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66095 (exit $ac_status); }; } &&
66096 { ac_try='test -s conftest.$ac_objext'
66097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66098 (eval $ac_try) 2>&5
66099 ac_status=$?
66100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66101 (exit $ac_status); }; }; then
66102 glibcxx_cv_func_frexpl_use=yes
66103 else
66104 echo "$as_me: failed program was:" >&5
66105 sed 's/^/| /' conftest.$ac_ext >&5
66107 glibcxx_cv_func_frexpl_use=no
66109 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66110 ac_ext=c
66111 ac_cpp='$CPP $CPPFLAGS'
66112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66120 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
66121 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
66123 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
66125 for ac_func in frexpl
66127 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66128 echo "$as_me:$LINENO: checking for $ac_func" >&5
66129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66130 if eval "test \"\${$as_ac_var+set}\" = set"; then
66131 echo $ECHO_N "(cached) $ECHO_C" >&6
66132 else
66133 if test x$gcc_no_link = xyes; then
66134 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66135 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66136 { (exit 1); exit 1; }; }
66138 cat >conftest.$ac_ext <<_ACEOF
66139 /* confdefs.h. */
66140 _ACEOF
66141 cat confdefs.h >>conftest.$ac_ext
66142 cat >>conftest.$ac_ext <<_ACEOF
66143 /* end confdefs.h. */
66144 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66145 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66146 #define $ac_func innocuous_$ac_func
66148 /* System header to define __stub macros and hopefully few prototypes,
66149 which can conflict with char $ac_func (); below.
66150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66151 <limits.h> exists even on freestanding compilers. */
66153 #ifdef __STDC__
66154 # include <limits.h>
66155 #else
66156 # include <assert.h>
66157 #endif
66159 #undef $ac_func
66161 /* Override any gcc2 internal prototype to avoid an error. */
66162 #ifdef __cplusplus
66163 extern "C"
66165 #endif
66166 /* We use char because int might match the return type of a gcc2
66167 builtin and then its argument prototype would still apply. */
66168 char $ac_func ();
66169 /* The GNU C library defines this for functions which it implements
66170 to always fail with ENOSYS. Some functions are actually named
66171 something starting with __ and the normal name is an alias. */
66172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66173 choke me
66174 #else
66175 char (*f) () = $ac_func;
66176 #endif
66177 #ifdef __cplusplus
66179 #endif
66182 main ()
66184 return f != $ac_func;
66186 return 0;
66188 _ACEOF
66189 rm -f conftest.$ac_objext conftest$ac_exeext
66190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66191 (eval $ac_link) 2>conftest.er1
66192 ac_status=$?
66193 grep -v '^ *+' conftest.er1 >conftest.err
66194 rm -f conftest.er1
66195 cat conftest.err >&5
66196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66197 (exit $ac_status); } &&
66198 { ac_try='test -z "$ac_c_werror_flag"
66199 || test ! -s conftest.err'
66200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66201 (eval $ac_try) 2>&5
66202 ac_status=$?
66203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66204 (exit $ac_status); }; } &&
66205 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
66211 eval "$as_ac_var=yes"
66212 else
66213 echo "$as_me: failed program was:" >&5
66214 sed 's/^/| /' conftest.$ac_ext >&5
66216 eval "$as_ac_var=no"
66218 rm -f conftest.err conftest.$ac_objext \
66219 conftest$ac_exeext conftest.$ac_ext
66221 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66222 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66223 if test `eval echo '${'$as_ac_var'}'` = yes; then
66224 cat >>confdefs.h <<_ACEOF
66225 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66226 _ACEOF
66229 done
66231 else
66233 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
66234 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
66235 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
66236 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
66237 echo $ECHO_N "(cached) $ECHO_C" >&6
66238 else
66242 ac_ext=cc
66243 ac_cpp='$CXXCPP $CPPFLAGS'
66244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66248 cat >conftest.$ac_ext <<_ACEOF
66249 /* confdefs.h. */
66250 _ACEOF
66251 cat confdefs.h >>conftest.$ac_ext
66252 cat >>conftest.$ac_ext <<_ACEOF
66253 /* end confdefs.h. */
66254 #include <math.h>
66256 main ()
66258 _frexpl(0, 0);
66260 return 0;
66262 _ACEOF
66263 rm -f conftest.$ac_objext
66264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66265 (eval $ac_compile) 2>conftest.er1
66266 ac_status=$?
66267 grep -v '^ *+' conftest.er1 >conftest.err
66268 rm -f conftest.er1
66269 cat conftest.err >&5
66270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66271 (exit $ac_status); } &&
66272 { ac_try='test -z "$ac_cxx_werror_flag"
66273 || test ! -s conftest.err'
66274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66275 (eval $ac_try) 2>&5
66276 ac_status=$?
66277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66278 (exit $ac_status); }; } &&
66279 { ac_try='test -s conftest.$ac_objext'
66280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66281 (eval $ac_try) 2>&5
66282 ac_status=$?
66283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66284 (exit $ac_status); }; }; then
66285 glibcxx_cv_func__frexpl_use=yes
66286 else
66287 echo "$as_me: failed program was:" >&5
66288 sed 's/^/| /' conftest.$ac_ext >&5
66290 glibcxx_cv_func__frexpl_use=no
66292 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66293 ac_ext=c
66294 ac_cpp='$CPP $CPPFLAGS'
66295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66303 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
66304 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
66306 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
66308 for ac_func in _frexpl
66310 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66311 echo "$as_me:$LINENO: checking for $ac_func" >&5
66312 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66313 if eval "test \"\${$as_ac_var+set}\" = set"; then
66314 echo $ECHO_N "(cached) $ECHO_C" >&6
66315 else
66316 if test x$gcc_no_link = xyes; then
66317 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66318 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66319 { (exit 1); exit 1; }; }
66321 cat >conftest.$ac_ext <<_ACEOF
66322 /* confdefs.h. */
66323 _ACEOF
66324 cat confdefs.h >>conftest.$ac_ext
66325 cat >>conftest.$ac_ext <<_ACEOF
66326 /* end confdefs.h. */
66327 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66328 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66329 #define $ac_func innocuous_$ac_func
66331 /* System header to define __stub macros and hopefully few prototypes,
66332 which can conflict with char $ac_func (); below.
66333 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66334 <limits.h> exists even on freestanding compilers. */
66336 #ifdef __STDC__
66337 # include <limits.h>
66338 #else
66339 # include <assert.h>
66340 #endif
66342 #undef $ac_func
66344 /* Override any gcc2 internal prototype to avoid an error. */
66345 #ifdef __cplusplus
66346 extern "C"
66348 #endif
66349 /* We use char because int might match the return type of a gcc2
66350 builtin and then its argument prototype would still apply. */
66351 char $ac_func ();
66352 /* The GNU C library defines this for functions which it implements
66353 to always fail with ENOSYS. Some functions are actually named
66354 something starting with __ and the normal name is an alias. */
66355 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66356 choke me
66357 #else
66358 char (*f) () = $ac_func;
66359 #endif
66360 #ifdef __cplusplus
66362 #endif
66365 main ()
66367 return f != $ac_func;
66369 return 0;
66371 _ACEOF
66372 rm -f conftest.$ac_objext conftest$ac_exeext
66373 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66374 (eval $ac_link) 2>conftest.er1
66375 ac_status=$?
66376 grep -v '^ *+' conftest.er1 >conftest.err
66377 rm -f conftest.er1
66378 cat conftest.err >&5
66379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66380 (exit $ac_status); } &&
66381 { ac_try='test -z "$ac_c_werror_flag"
66382 || test ! -s conftest.err'
66383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66384 (eval $ac_try) 2>&5
66385 ac_status=$?
66386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66387 (exit $ac_status); }; } &&
66388 { ac_try='test -s conftest$ac_exeext'
66389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66390 (eval $ac_try) 2>&5
66391 ac_status=$?
66392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66393 (exit $ac_status); }; }; then
66394 eval "$as_ac_var=yes"
66395 else
66396 echo "$as_me: failed program was:" >&5
66397 sed 's/^/| /' conftest.$ac_ext >&5
66399 eval "$as_ac_var=no"
66401 rm -f conftest.err conftest.$ac_objext \
66402 conftest$ac_exeext conftest.$ac_ext
66404 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66405 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66406 if test `eval echo '${'$as_ac_var'}'` = yes; then
66407 cat >>confdefs.h <<_ACEOF
66408 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66409 _ACEOF
66412 done
66419 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
66420 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
66421 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
66422 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
66423 echo $ECHO_N "(cached) $ECHO_C" >&6
66424 else
66428 ac_ext=cc
66429 ac_cpp='$CXXCPP $CPPFLAGS'
66430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66434 cat >conftest.$ac_ext <<_ACEOF
66435 /* confdefs.h. */
66436 _ACEOF
66437 cat confdefs.h >>conftest.$ac_ext
66438 cat >>conftest.$ac_ext <<_ACEOF
66439 /* end confdefs.h. */
66440 #include <math.h>
66442 main ()
66444 hypotl(0, 0);
66446 return 0;
66448 _ACEOF
66449 rm -f conftest.$ac_objext
66450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66451 (eval $ac_compile) 2>conftest.er1
66452 ac_status=$?
66453 grep -v '^ *+' conftest.er1 >conftest.err
66454 rm -f conftest.er1
66455 cat conftest.err >&5
66456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66457 (exit $ac_status); } &&
66458 { ac_try='test -z "$ac_cxx_werror_flag"
66459 || test ! -s conftest.err'
66460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66461 (eval $ac_try) 2>&5
66462 ac_status=$?
66463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66464 (exit $ac_status); }; } &&
66465 { ac_try='test -s conftest.$ac_objext'
66466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66467 (eval $ac_try) 2>&5
66468 ac_status=$?
66469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66470 (exit $ac_status); }; }; then
66471 glibcxx_cv_func_hypotl_use=yes
66472 else
66473 echo "$as_me: failed program was:" >&5
66474 sed 's/^/| /' conftest.$ac_ext >&5
66476 glibcxx_cv_func_hypotl_use=no
66478 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66479 ac_ext=c
66480 ac_cpp='$CPP $CPPFLAGS'
66481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66489 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
66490 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
66492 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
66494 for ac_func in hypotl
66496 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66497 echo "$as_me:$LINENO: checking for $ac_func" >&5
66498 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66499 if eval "test \"\${$as_ac_var+set}\" = set"; then
66500 echo $ECHO_N "(cached) $ECHO_C" >&6
66501 else
66502 if test x$gcc_no_link = xyes; then
66503 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66504 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66505 { (exit 1); exit 1; }; }
66507 cat >conftest.$ac_ext <<_ACEOF
66508 /* confdefs.h. */
66509 _ACEOF
66510 cat confdefs.h >>conftest.$ac_ext
66511 cat >>conftest.$ac_ext <<_ACEOF
66512 /* end confdefs.h. */
66513 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66514 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66515 #define $ac_func innocuous_$ac_func
66517 /* System header to define __stub macros and hopefully few prototypes,
66518 which can conflict with char $ac_func (); below.
66519 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66520 <limits.h> exists even on freestanding compilers. */
66522 #ifdef __STDC__
66523 # include <limits.h>
66524 #else
66525 # include <assert.h>
66526 #endif
66528 #undef $ac_func
66530 /* Override any gcc2 internal prototype to avoid an error. */
66531 #ifdef __cplusplus
66532 extern "C"
66534 #endif
66535 /* We use char because int might match the return type of a gcc2
66536 builtin and then its argument prototype would still apply. */
66537 char $ac_func ();
66538 /* The GNU C library defines this for functions which it implements
66539 to always fail with ENOSYS. Some functions are actually named
66540 something starting with __ and the normal name is an alias. */
66541 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66542 choke me
66543 #else
66544 char (*f) () = $ac_func;
66545 #endif
66546 #ifdef __cplusplus
66548 #endif
66551 main ()
66553 return f != $ac_func;
66555 return 0;
66557 _ACEOF
66558 rm -f conftest.$ac_objext conftest$ac_exeext
66559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66560 (eval $ac_link) 2>conftest.er1
66561 ac_status=$?
66562 grep -v '^ *+' conftest.er1 >conftest.err
66563 rm -f conftest.er1
66564 cat conftest.err >&5
66565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66566 (exit $ac_status); } &&
66567 { ac_try='test -z "$ac_c_werror_flag"
66568 || test ! -s conftest.err'
66569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66570 (eval $ac_try) 2>&5
66571 ac_status=$?
66572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66573 (exit $ac_status); }; } &&
66574 { ac_try='test -s conftest$ac_exeext'
66575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66576 (eval $ac_try) 2>&5
66577 ac_status=$?
66578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66579 (exit $ac_status); }; }; then
66580 eval "$as_ac_var=yes"
66581 else
66582 echo "$as_me: failed program was:" >&5
66583 sed 's/^/| /' conftest.$ac_ext >&5
66585 eval "$as_ac_var=no"
66587 rm -f conftest.err conftest.$ac_objext \
66588 conftest$ac_exeext conftest.$ac_ext
66590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66591 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66592 if test `eval echo '${'$as_ac_var'}'` = yes; then
66593 cat >>confdefs.h <<_ACEOF
66594 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66595 _ACEOF
66598 done
66600 else
66602 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
66603 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
66604 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
66605 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
66606 echo $ECHO_N "(cached) $ECHO_C" >&6
66607 else
66611 ac_ext=cc
66612 ac_cpp='$CXXCPP $CPPFLAGS'
66613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66617 cat >conftest.$ac_ext <<_ACEOF
66618 /* confdefs.h. */
66619 _ACEOF
66620 cat confdefs.h >>conftest.$ac_ext
66621 cat >>conftest.$ac_ext <<_ACEOF
66622 /* end confdefs.h. */
66623 #include <math.h>
66625 main ()
66627 _hypotl(0, 0);
66629 return 0;
66631 _ACEOF
66632 rm -f conftest.$ac_objext
66633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66634 (eval $ac_compile) 2>conftest.er1
66635 ac_status=$?
66636 grep -v '^ *+' conftest.er1 >conftest.err
66637 rm -f conftest.er1
66638 cat conftest.err >&5
66639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66640 (exit $ac_status); } &&
66641 { ac_try='test -z "$ac_cxx_werror_flag"
66642 || test ! -s conftest.err'
66643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66644 (eval $ac_try) 2>&5
66645 ac_status=$?
66646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66647 (exit $ac_status); }; } &&
66648 { ac_try='test -s conftest.$ac_objext'
66649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66650 (eval $ac_try) 2>&5
66651 ac_status=$?
66652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66653 (exit $ac_status); }; }; then
66654 glibcxx_cv_func__hypotl_use=yes
66655 else
66656 echo "$as_me: failed program was:" >&5
66657 sed 's/^/| /' conftest.$ac_ext >&5
66659 glibcxx_cv_func__hypotl_use=no
66661 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66662 ac_ext=c
66663 ac_cpp='$CPP $CPPFLAGS'
66664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66672 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
66673 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
66675 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
66677 for ac_func in _hypotl
66679 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66680 echo "$as_me:$LINENO: checking for $ac_func" >&5
66681 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66682 if eval "test \"\${$as_ac_var+set}\" = set"; then
66683 echo $ECHO_N "(cached) $ECHO_C" >&6
66684 else
66685 if test x$gcc_no_link = xyes; then
66686 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66687 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66688 { (exit 1); exit 1; }; }
66690 cat >conftest.$ac_ext <<_ACEOF
66691 /* confdefs.h. */
66692 _ACEOF
66693 cat confdefs.h >>conftest.$ac_ext
66694 cat >>conftest.$ac_ext <<_ACEOF
66695 /* end confdefs.h. */
66696 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66697 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66698 #define $ac_func innocuous_$ac_func
66700 /* System header to define __stub macros and hopefully few prototypes,
66701 which can conflict with char $ac_func (); below.
66702 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66703 <limits.h> exists even on freestanding compilers. */
66705 #ifdef __STDC__
66706 # include <limits.h>
66707 #else
66708 # include <assert.h>
66709 #endif
66711 #undef $ac_func
66713 /* Override any gcc2 internal prototype to avoid an error. */
66714 #ifdef __cplusplus
66715 extern "C"
66717 #endif
66718 /* We use char because int might match the return type of a gcc2
66719 builtin and then its argument prototype would still apply. */
66720 char $ac_func ();
66721 /* The GNU C library defines this for functions which it implements
66722 to always fail with ENOSYS. Some functions are actually named
66723 something starting with __ and the normal name is an alias. */
66724 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66725 choke me
66726 #else
66727 char (*f) () = $ac_func;
66728 #endif
66729 #ifdef __cplusplus
66731 #endif
66734 main ()
66736 return f != $ac_func;
66738 return 0;
66740 _ACEOF
66741 rm -f conftest.$ac_objext conftest$ac_exeext
66742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66743 (eval $ac_link) 2>conftest.er1
66744 ac_status=$?
66745 grep -v '^ *+' conftest.er1 >conftest.err
66746 rm -f conftest.er1
66747 cat conftest.err >&5
66748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66749 (exit $ac_status); } &&
66750 { ac_try='test -z "$ac_c_werror_flag"
66751 || test ! -s conftest.err'
66752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66753 (eval $ac_try) 2>&5
66754 ac_status=$?
66755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66756 (exit $ac_status); }; } &&
66757 { ac_try='test -s conftest$ac_exeext'
66758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66759 (eval $ac_try) 2>&5
66760 ac_status=$?
66761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66762 (exit $ac_status); }; }; then
66763 eval "$as_ac_var=yes"
66764 else
66765 echo "$as_me: failed program was:" >&5
66766 sed 's/^/| /' conftest.$ac_ext >&5
66768 eval "$as_ac_var=no"
66770 rm -f conftest.err conftest.$ac_objext \
66771 conftest$ac_exeext conftest.$ac_ext
66773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66774 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66775 if test `eval echo '${'$as_ac_var'}'` = yes; then
66776 cat >>confdefs.h <<_ACEOF
66777 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66778 _ACEOF
66781 done
66788 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
66789 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
66790 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
66791 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
66792 echo $ECHO_N "(cached) $ECHO_C" >&6
66793 else
66797 ac_ext=cc
66798 ac_cpp='$CXXCPP $CPPFLAGS'
66799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66803 cat >conftest.$ac_ext <<_ACEOF
66804 /* confdefs.h. */
66805 _ACEOF
66806 cat confdefs.h >>conftest.$ac_ext
66807 cat >>conftest.$ac_ext <<_ACEOF
66808 /* end confdefs.h. */
66809 #include <math.h>
66811 main ()
66813 ldexpl(0, 0);
66815 return 0;
66817 _ACEOF
66818 rm -f conftest.$ac_objext
66819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66820 (eval $ac_compile) 2>conftest.er1
66821 ac_status=$?
66822 grep -v '^ *+' conftest.er1 >conftest.err
66823 rm -f conftest.er1
66824 cat conftest.err >&5
66825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66826 (exit $ac_status); } &&
66827 { ac_try='test -z "$ac_cxx_werror_flag"
66828 || test ! -s conftest.err'
66829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66830 (eval $ac_try) 2>&5
66831 ac_status=$?
66832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66833 (exit $ac_status); }; } &&
66834 { ac_try='test -s conftest.$ac_objext'
66835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66836 (eval $ac_try) 2>&5
66837 ac_status=$?
66838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66839 (exit $ac_status); }; }; then
66840 glibcxx_cv_func_ldexpl_use=yes
66841 else
66842 echo "$as_me: failed program was:" >&5
66843 sed 's/^/| /' conftest.$ac_ext >&5
66845 glibcxx_cv_func_ldexpl_use=no
66847 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66848 ac_ext=c
66849 ac_cpp='$CPP $CPPFLAGS'
66850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66858 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
66859 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
66861 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
66863 for ac_func in ldexpl
66865 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66866 echo "$as_me:$LINENO: checking for $ac_func" >&5
66867 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66868 if eval "test \"\${$as_ac_var+set}\" = set"; then
66869 echo $ECHO_N "(cached) $ECHO_C" >&6
66870 else
66871 if test x$gcc_no_link = xyes; then
66872 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66873 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66874 { (exit 1); exit 1; }; }
66876 cat >conftest.$ac_ext <<_ACEOF
66877 /* confdefs.h. */
66878 _ACEOF
66879 cat confdefs.h >>conftest.$ac_ext
66880 cat >>conftest.$ac_ext <<_ACEOF
66881 /* end confdefs.h. */
66882 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66883 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66884 #define $ac_func innocuous_$ac_func
66886 /* System header to define __stub macros and hopefully few prototypes,
66887 which can conflict with char $ac_func (); below.
66888 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66889 <limits.h> exists even on freestanding compilers. */
66891 #ifdef __STDC__
66892 # include <limits.h>
66893 #else
66894 # include <assert.h>
66895 #endif
66897 #undef $ac_func
66899 /* Override any gcc2 internal prototype to avoid an error. */
66900 #ifdef __cplusplus
66901 extern "C"
66903 #endif
66904 /* We use char because int might match the return type of a gcc2
66905 builtin and then its argument prototype would still apply. */
66906 char $ac_func ();
66907 /* The GNU C library defines this for functions which it implements
66908 to always fail with ENOSYS. Some functions are actually named
66909 something starting with __ and the normal name is an alias. */
66910 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66911 choke me
66912 #else
66913 char (*f) () = $ac_func;
66914 #endif
66915 #ifdef __cplusplus
66917 #endif
66920 main ()
66922 return f != $ac_func;
66924 return 0;
66926 _ACEOF
66927 rm -f conftest.$ac_objext conftest$ac_exeext
66928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66929 (eval $ac_link) 2>conftest.er1
66930 ac_status=$?
66931 grep -v '^ *+' conftest.er1 >conftest.err
66932 rm -f conftest.er1
66933 cat conftest.err >&5
66934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66935 (exit $ac_status); } &&
66936 { ac_try='test -z "$ac_c_werror_flag"
66937 || test ! -s conftest.err'
66938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66939 (eval $ac_try) 2>&5
66940 ac_status=$?
66941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66942 (exit $ac_status); }; } &&
66943 { ac_try='test -s conftest$ac_exeext'
66944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66945 (eval $ac_try) 2>&5
66946 ac_status=$?
66947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66948 (exit $ac_status); }; }; then
66949 eval "$as_ac_var=yes"
66950 else
66951 echo "$as_me: failed program was:" >&5
66952 sed 's/^/| /' conftest.$ac_ext >&5
66954 eval "$as_ac_var=no"
66956 rm -f conftest.err conftest.$ac_objext \
66957 conftest$ac_exeext conftest.$ac_ext
66959 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66960 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66961 if test `eval echo '${'$as_ac_var'}'` = yes; then
66962 cat >>confdefs.h <<_ACEOF
66963 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66964 _ACEOF
66967 done
66969 else
66971 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
66972 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
66973 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
66974 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
66975 echo $ECHO_N "(cached) $ECHO_C" >&6
66976 else
66980 ac_ext=cc
66981 ac_cpp='$CXXCPP $CPPFLAGS'
66982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66986 cat >conftest.$ac_ext <<_ACEOF
66987 /* confdefs.h. */
66988 _ACEOF
66989 cat confdefs.h >>conftest.$ac_ext
66990 cat >>conftest.$ac_ext <<_ACEOF
66991 /* end confdefs.h. */
66992 #include <math.h>
66994 main ()
66996 _ldexpl(0, 0);
66998 return 0;
67000 _ACEOF
67001 rm -f conftest.$ac_objext
67002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67003 (eval $ac_compile) 2>conftest.er1
67004 ac_status=$?
67005 grep -v '^ *+' conftest.er1 >conftest.err
67006 rm -f conftest.er1
67007 cat conftest.err >&5
67008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67009 (exit $ac_status); } &&
67010 { ac_try='test -z "$ac_cxx_werror_flag"
67011 || test ! -s conftest.err'
67012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67013 (eval $ac_try) 2>&5
67014 ac_status=$?
67015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67016 (exit $ac_status); }; } &&
67017 { ac_try='test -s conftest.$ac_objext'
67018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67019 (eval $ac_try) 2>&5
67020 ac_status=$?
67021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67022 (exit $ac_status); }; }; then
67023 glibcxx_cv_func__ldexpl_use=yes
67024 else
67025 echo "$as_me: failed program was:" >&5
67026 sed 's/^/| /' conftest.$ac_ext >&5
67028 glibcxx_cv_func__ldexpl_use=no
67030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67031 ac_ext=c
67032 ac_cpp='$CPP $CPPFLAGS'
67033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67041 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
67042 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
67044 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
67046 for ac_func in _ldexpl
67048 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67049 echo "$as_me:$LINENO: checking for $ac_func" >&5
67050 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67051 if eval "test \"\${$as_ac_var+set}\" = set"; then
67052 echo $ECHO_N "(cached) $ECHO_C" >&6
67053 else
67054 if test x$gcc_no_link = xyes; then
67055 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67056 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67057 { (exit 1); exit 1; }; }
67059 cat >conftest.$ac_ext <<_ACEOF
67060 /* confdefs.h. */
67061 _ACEOF
67062 cat confdefs.h >>conftest.$ac_ext
67063 cat >>conftest.$ac_ext <<_ACEOF
67064 /* end confdefs.h. */
67065 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67066 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67067 #define $ac_func innocuous_$ac_func
67069 /* System header to define __stub macros and hopefully few prototypes,
67070 which can conflict with char $ac_func (); below.
67071 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67072 <limits.h> exists even on freestanding compilers. */
67074 #ifdef __STDC__
67075 # include <limits.h>
67076 #else
67077 # include <assert.h>
67078 #endif
67080 #undef $ac_func
67082 /* Override any gcc2 internal prototype to avoid an error. */
67083 #ifdef __cplusplus
67084 extern "C"
67086 #endif
67087 /* We use char because int might match the return type of a gcc2
67088 builtin and then its argument prototype would still apply. */
67089 char $ac_func ();
67090 /* The GNU C library defines this for functions which it implements
67091 to always fail with ENOSYS. Some functions are actually named
67092 something starting with __ and the normal name is an alias. */
67093 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67094 choke me
67095 #else
67096 char (*f) () = $ac_func;
67097 #endif
67098 #ifdef __cplusplus
67100 #endif
67103 main ()
67105 return f != $ac_func;
67107 return 0;
67109 _ACEOF
67110 rm -f conftest.$ac_objext conftest$ac_exeext
67111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67112 (eval $ac_link) 2>conftest.er1
67113 ac_status=$?
67114 grep -v '^ *+' conftest.er1 >conftest.err
67115 rm -f conftest.er1
67116 cat conftest.err >&5
67117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67118 (exit $ac_status); } &&
67119 { ac_try='test -z "$ac_c_werror_flag"
67120 || test ! -s conftest.err'
67121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67122 (eval $ac_try) 2>&5
67123 ac_status=$?
67124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67125 (exit $ac_status); }; } &&
67126 { ac_try='test -s conftest$ac_exeext'
67127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67128 (eval $ac_try) 2>&5
67129 ac_status=$?
67130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67131 (exit $ac_status); }; }; then
67132 eval "$as_ac_var=yes"
67133 else
67134 echo "$as_me: failed program was:" >&5
67135 sed 's/^/| /' conftest.$ac_ext >&5
67137 eval "$as_ac_var=no"
67139 rm -f conftest.err conftest.$ac_objext \
67140 conftest$ac_exeext conftest.$ac_ext
67142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67143 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67144 if test `eval echo '${'$as_ac_var'}'` = yes; then
67145 cat >>confdefs.h <<_ACEOF
67146 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67147 _ACEOF
67150 done
67157 echo "$as_me:$LINENO: checking for logl declaration" >&5
67158 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
67159 if test x${glibcxx_cv_func_logl_use+set} != xset; then
67160 if test "${glibcxx_cv_func_logl_use+set}" = set; then
67161 echo $ECHO_N "(cached) $ECHO_C" >&6
67162 else
67166 ac_ext=cc
67167 ac_cpp='$CXXCPP $CPPFLAGS'
67168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67172 cat >conftest.$ac_ext <<_ACEOF
67173 /* confdefs.h. */
67174 _ACEOF
67175 cat confdefs.h >>conftest.$ac_ext
67176 cat >>conftest.$ac_ext <<_ACEOF
67177 /* end confdefs.h. */
67178 #include <math.h>
67179 #ifdef HAVE_IEEEFP_H
67180 #include <ieeefp.h>
67181 #endif
67184 main ()
67186 logl(0);
67188 return 0;
67190 _ACEOF
67191 rm -f conftest.$ac_objext
67192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67193 (eval $ac_compile) 2>conftest.er1
67194 ac_status=$?
67195 grep -v '^ *+' conftest.er1 >conftest.err
67196 rm -f conftest.er1
67197 cat conftest.err >&5
67198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67199 (exit $ac_status); } &&
67200 { ac_try='test -z "$ac_cxx_werror_flag"
67201 || test ! -s conftest.err'
67202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67203 (eval $ac_try) 2>&5
67204 ac_status=$?
67205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67206 (exit $ac_status); }; } &&
67207 { ac_try='test -s conftest.$ac_objext'
67208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67209 (eval $ac_try) 2>&5
67210 ac_status=$?
67211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67212 (exit $ac_status); }; }; then
67213 glibcxx_cv_func_logl_use=yes
67214 else
67215 echo "$as_me: failed program was:" >&5
67216 sed 's/^/| /' conftest.$ac_ext >&5
67218 glibcxx_cv_func_logl_use=no
67220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67221 ac_ext=c
67222 ac_cpp='$CPP $CPPFLAGS'
67223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67231 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
67232 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
67234 if test x$glibcxx_cv_func_logl_use = x"yes"; then
67236 for ac_func in logl
67238 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67239 echo "$as_me:$LINENO: checking for $ac_func" >&5
67240 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67241 if eval "test \"\${$as_ac_var+set}\" = set"; then
67242 echo $ECHO_N "(cached) $ECHO_C" >&6
67243 else
67244 if test x$gcc_no_link = xyes; then
67245 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67246 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67247 { (exit 1); exit 1; }; }
67249 cat >conftest.$ac_ext <<_ACEOF
67250 /* confdefs.h. */
67251 _ACEOF
67252 cat confdefs.h >>conftest.$ac_ext
67253 cat >>conftest.$ac_ext <<_ACEOF
67254 /* end confdefs.h. */
67255 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67256 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67257 #define $ac_func innocuous_$ac_func
67259 /* System header to define __stub macros and hopefully few prototypes,
67260 which can conflict with char $ac_func (); below.
67261 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67262 <limits.h> exists even on freestanding compilers. */
67264 #ifdef __STDC__
67265 # include <limits.h>
67266 #else
67267 # include <assert.h>
67268 #endif
67270 #undef $ac_func
67272 /* Override any gcc2 internal prototype to avoid an error. */
67273 #ifdef __cplusplus
67274 extern "C"
67276 #endif
67277 /* We use char because int might match the return type of a gcc2
67278 builtin and then its argument prototype would still apply. */
67279 char $ac_func ();
67280 /* The GNU C library defines this for functions which it implements
67281 to always fail with ENOSYS. Some functions are actually named
67282 something starting with __ and the normal name is an alias. */
67283 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67284 choke me
67285 #else
67286 char (*f) () = $ac_func;
67287 #endif
67288 #ifdef __cplusplus
67290 #endif
67293 main ()
67295 return f != $ac_func;
67297 return 0;
67299 _ACEOF
67300 rm -f conftest.$ac_objext conftest$ac_exeext
67301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67302 (eval $ac_link) 2>conftest.er1
67303 ac_status=$?
67304 grep -v '^ *+' conftest.er1 >conftest.err
67305 rm -f conftest.er1
67306 cat conftest.err >&5
67307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67308 (exit $ac_status); } &&
67309 { ac_try='test -z "$ac_c_werror_flag"
67310 || test ! -s conftest.err'
67311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67312 (eval $ac_try) 2>&5
67313 ac_status=$?
67314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67315 (exit $ac_status); }; } &&
67316 { ac_try='test -s conftest$ac_exeext'
67317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67318 (eval $ac_try) 2>&5
67319 ac_status=$?
67320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67321 (exit $ac_status); }; }; then
67322 eval "$as_ac_var=yes"
67323 else
67324 echo "$as_me: failed program was:" >&5
67325 sed 's/^/| /' conftest.$ac_ext >&5
67327 eval "$as_ac_var=no"
67329 rm -f conftest.err conftest.$ac_objext \
67330 conftest$ac_exeext conftest.$ac_ext
67332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67333 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67334 if test `eval echo '${'$as_ac_var'}'` = yes; then
67335 cat >>confdefs.h <<_ACEOF
67336 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67337 _ACEOF
67340 done
67342 else
67344 echo "$as_me:$LINENO: checking for _logl declaration" >&5
67345 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
67346 if test x${glibcxx_cv_func__logl_use+set} != xset; then
67347 if test "${glibcxx_cv_func__logl_use+set}" = set; then
67348 echo $ECHO_N "(cached) $ECHO_C" >&6
67349 else
67353 ac_ext=cc
67354 ac_cpp='$CXXCPP $CPPFLAGS'
67355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67359 cat >conftest.$ac_ext <<_ACEOF
67360 /* confdefs.h. */
67361 _ACEOF
67362 cat confdefs.h >>conftest.$ac_ext
67363 cat >>conftest.$ac_ext <<_ACEOF
67364 /* end confdefs.h. */
67365 #include <math.h>
67366 #ifdef HAVE_IEEEFP_H
67367 #include <ieeefp.h>
67368 #endif
67371 main ()
67373 _logl(0);
67375 return 0;
67377 _ACEOF
67378 rm -f conftest.$ac_objext
67379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67380 (eval $ac_compile) 2>conftest.er1
67381 ac_status=$?
67382 grep -v '^ *+' conftest.er1 >conftest.err
67383 rm -f conftest.er1
67384 cat conftest.err >&5
67385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67386 (exit $ac_status); } &&
67387 { ac_try='test -z "$ac_cxx_werror_flag"
67388 || test ! -s conftest.err'
67389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67390 (eval $ac_try) 2>&5
67391 ac_status=$?
67392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67393 (exit $ac_status); }; } &&
67394 { ac_try='test -s conftest.$ac_objext'
67395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67396 (eval $ac_try) 2>&5
67397 ac_status=$?
67398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67399 (exit $ac_status); }; }; then
67400 glibcxx_cv_func__logl_use=yes
67401 else
67402 echo "$as_me: failed program was:" >&5
67403 sed 's/^/| /' conftest.$ac_ext >&5
67405 glibcxx_cv_func__logl_use=no
67407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67408 ac_ext=c
67409 ac_cpp='$CPP $CPPFLAGS'
67410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67418 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
67419 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
67421 if test x$glibcxx_cv_func__logl_use = x"yes"; then
67423 for ac_func in _logl
67425 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67426 echo "$as_me:$LINENO: checking for $ac_func" >&5
67427 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67428 if eval "test \"\${$as_ac_var+set}\" = set"; then
67429 echo $ECHO_N "(cached) $ECHO_C" >&6
67430 else
67431 if test x$gcc_no_link = xyes; then
67432 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67433 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67434 { (exit 1); exit 1; }; }
67436 cat >conftest.$ac_ext <<_ACEOF
67437 /* confdefs.h. */
67438 _ACEOF
67439 cat confdefs.h >>conftest.$ac_ext
67440 cat >>conftest.$ac_ext <<_ACEOF
67441 /* end confdefs.h. */
67442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67444 #define $ac_func innocuous_$ac_func
67446 /* System header to define __stub macros and hopefully few prototypes,
67447 which can conflict with char $ac_func (); below.
67448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67449 <limits.h> exists even on freestanding compilers. */
67451 #ifdef __STDC__
67452 # include <limits.h>
67453 #else
67454 # include <assert.h>
67455 #endif
67457 #undef $ac_func
67459 /* Override any gcc2 internal prototype to avoid an error. */
67460 #ifdef __cplusplus
67461 extern "C"
67463 #endif
67464 /* We use char because int might match the return type of a gcc2
67465 builtin and then its argument prototype would still apply. */
67466 char $ac_func ();
67467 /* The GNU C library defines this for functions which it implements
67468 to always fail with ENOSYS. Some functions are actually named
67469 something starting with __ and the normal name is an alias. */
67470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67471 choke me
67472 #else
67473 char (*f) () = $ac_func;
67474 #endif
67475 #ifdef __cplusplus
67477 #endif
67480 main ()
67482 return f != $ac_func;
67484 return 0;
67486 _ACEOF
67487 rm -f conftest.$ac_objext conftest$ac_exeext
67488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67489 (eval $ac_link) 2>conftest.er1
67490 ac_status=$?
67491 grep -v '^ *+' conftest.er1 >conftest.err
67492 rm -f conftest.er1
67493 cat conftest.err >&5
67494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67495 (exit $ac_status); } &&
67496 { ac_try='test -z "$ac_c_werror_flag"
67497 || 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 log10l declaration" >&5
67535 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
67536 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
67537 if test "${glibcxx_cv_func_log10l_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>
67556 #ifdef HAVE_IEEEFP_H
67557 #include <ieeefp.h>
67558 #endif
67561 main ()
67563 log10l(0);
67565 return 0;
67567 _ACEOF
67568 rm -f conftest.$ac_objext
67569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67570 (eval $ac_compile) 2>conftest.er1
67571 ac_status=$?
67572 grep -v '^ *+' conftest.er1 >conftest.err
67573 rm -f conftest.er1
67574 cat conftest.err >&5
67575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67576 (exit $ac_status); } &&
67577 { ac_try='test -z "$ac_cxx_werror_flag"
67578 || test ! -s conftest.err'
67579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67580 (eval $ac_try) 2>&5
67581 ac_status=$?
67582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67583 (exit $ac_status); }; } &&
67584 { ac_try='test -s conftest.$ac_objext'
67585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67586 (eval $ac_try) 2>&5
67587 ac_status=$?
67588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67589 (exit $ac_status); }; }; then
67590 glibcxx_cv_func_log10l_use=yes
67591 else
67592 echo "$as_me: failed program was:" >&5
67593 sed 's/^/| /' conftest.$ac_ext >&5
67595 glibcxx_cv_func_log10l_use=no
67597 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67598 ac_ext=c
67599 ac_cpp='$CPP $CPPFLAGS'
67600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67608 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
67609 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
67611 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
67613 for ac_func in log10l
67615 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67616 echo "$as_me:$LINENO: checking for $ac_func" >&5
67617 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67618 if eval "test \"\${$as_ac_var+set}\" = set"; then
67619 echo $ECHO_N "(cached) $ECHO_C" >&6
67620 else
67621 if test x$gcc_no_link = xyes; then
67622 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67623 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67624 { (exit 1); exit 1; }; }
67626 cat >conftest.$ac_ext <<_ACEOF
67627 /* confdefs.h. */
67628 _ACEOF
67629 cat confdefs.h >>conftest.$ac_ext
67630 cat >>conftest.$ac_ext <<_ACEOF
67631 /* end confdefs.h. */
67632 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67633 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67634 #define $ac_func innocuous_$ac_func
67636 /* System header to define __stub macros and hopefully few prototypes,
67637 which can conflict with char $ac_func (); below.
67638 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67639 <limits.h> exists even on freestanding compilers. */
67641 #ifdef __STDC__
67642 # include <limits.h>
67643 #else
67644 # include <assert.h>
67645 #endif
67647 #undef $ac_func
67649 /* Override any gcc2 internal prototype to avoid an error. */
67650 #ifdef __cplusplus
67651 extern "C"
67653 #endif
67654 /* We use char because int might match the return type of a gcc2
67655 builtin and then its argument prototype would still apply. */
67656 char $ac_func ();
67657 /* The GNU C library defines this for functions which it implements
67658 to always fail with ENOSYS. Some functions are actually named
67659 something starting with __ and the normal name is an alias. */
67660 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67661 choke me
67662 #else
67663 char (*f) () = $ac_func;
67664 #endif
67665 #ifdef __cplusplus
67667 #endif
67670 main ()
67672 return f != $ac_func;
67674 return 0;
67676 _ACEOF
67677 rm -f conftest.$ac_objext conftest$ac_exeext
67678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67679 (eval $ac_link) 2>conftest.er1
67680 ac_status=$?
67681 grep -v '^ *+' conftest.er1 >conftest.err
67682 rm -f conftest.er1
67683 cat conftest.err >&5
67684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67685 (exit $ac_status); } &&
67686 { ac_try='test -z "$ac_c_werror_flag"
67687 || test ! -s conftest.err'
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); }; } &&
67693 { ac_try='test -s conftest$ac_exeext'
67694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67695 (eval $ac_try) 2>&5
67696 ac_status=$?
67697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67698 (exit $ac_status); }; }; then
67699 eval "$as_ac_var=yes"
67700 else
67701 echo "$as_me: failed program was:" >&5
67702 sed 's/^/| /' conftest.$ac_ext >&5
67704 eval "$as_ac_var=no"
67706 rm -f conftest.err conftest.$ac_objext \
67707 conftest$ac_exeext conftest.$ac_ext
67709 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67710 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67711 if test `eval echo '${'$as_ac_var'}'` = yes; then
67712 cat >>confdefs.h <<_ACEOF
67713 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67714 _ACEOF
67717 done
67719 else
67721 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
67722 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
67723 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
67724 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
67725 echo $ECHO_N "(cached) $ECHO_C" >&6
67726 else
67730 ac_ext=cc
67731 ac_cpp='$CXXCPP $CPPFLAGS'
67732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67736 cat >conftest.$ac_ext <<_ACEOF
67737 /* confdefs.h. */
67738 _ACEOF
67739 cat confdefs.h >>conftest.$ac_ext
67740 cat >>conftest.$ac_ext <<_ACEOF
67741 /* end confdefs.h. */
67742 #include <math.h>
67743 #ifdef HAVE_IEEEFP_H
67744 #include <ieeefp.h>
67745 #endif
67748 main ()
67750 _log10l(0);
67752 return 0;
67754 _ACEOF
67755 rm -f conftest.$ac_objext
67756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67757 (eval $ac_compile) 2>conftest.er1
67758 ac_status=$?
67759 grep -v '^ *+' conftest.er1 >conftest.err
67760 rm -f conftest.er1
67761 cat conftest.err >&5
67762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67763 (exit $ac_status); } &&
67764 { ac_try='test -z "$ac_cxx_werror_flag"
67765 || test ! -s conftest.err'
67766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67767 (eval $ac_try) 2>&5
67768 ac_status=$?
67769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67770 (exit $ac_status); }; } &&
67771 { ac_try='test -s conftest.$ac_objext'
67772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67773 (eval $ac_try) 2>&5
67774 ac_status=$?
67775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67776 (exit $ac_status); }; }; then
67777 glibcxx_cv_func__log10l_use=yes
67778 else
67779 echo "$as_me: failed program was:" >&5
67780 sed 's/^/| /' conftest.$ac_ext >&5
67782 glibcxx_cv_func__log10l_use=no
67784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67785 ac_ext=c
67786 ac_cpp='$CPP $CPPFLAGS'
67787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67795 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
67796 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
67798 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
67800 for ac_func in _log10l
67802 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67803 echo "$as_me:$LINENO: checking for $ac_func" >&5
67804 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67805 if eval "test \"\${$as_ac_var+set}\" = set"; then
67806 echo $ECHO_N "(cached) $ECHO_C" >&6
67807 else
67808 if test x$gcc_no_link = xyes; then
67809 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67810 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67811 { (exit 1); exit 1; }; }
67813 cat >conftest.$ac_ext <<_ACEOF
67814 /* confdefs.h. */
67815 _ACEOF
67816 cat confdefs.h >>conftest.$ac_ext
67817 cat >>conftest.$ac_ext <<_ACEOF
67818 /* end confdefs.h. */
67819 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67820 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67821 #define $ac_func innocuous_$ac_func
67823 /* System header to define __stub macros and hopefully few prototypes,
67824 which can conflict with char $ac_func (); below.
67825 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67826 <limits.h> exists even on freestanding compilers. */
67828 #ifdef __STDC__
67829 # include <limits.h>
67830 #else
67831 # include <assert.h>
67832 #endif
67834 #undef $ac_func
67836 /* Override any gcc2 internal prototype to avoid an error. */
67837 #ifdef __cplusplus
67838 extern "C"
67840 #endif
67841 /* We use char because int might match the return type of a gcc2
67842 builtin and then its argument prototype would still apply. */
67843 char $ac_func ();
67844 /* The GNU C library defines this for functions which it implements
67845 to always fail with ENOSYS. Some functions are actually named
67846 something starting with __ and the normal name is an alias. */
67847 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67848 choke me
67849 #else
67850 char (*f) () = $ac_func;
67851 #endif
67852 #ifdef __cplusplus
67854 #endif
67857 main ()
67859 return f != $ac_func;
67861 return 0;
67863 _ACEOF
67864 rm -f conftest.$ac_objext conftest$ac_exeext
67865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67866 (eval $ac_link) 2>conftest.er1
67867 ac_status=$?
67868 grep -v '^ *+' conftest.er1 >conftest.err
67869 rm -f conftest.er1
67870 cat conftest.err >&5
67871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67872 (exit $ac_status); } &&
67873 { ac_try='test -z "$ac_c_werror_flag"
67874 || test ! -s conftest.err'
67875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67876 (eval $ac_try) 2>&5
67877 ac_status=$?
67878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67879 (exit $ac_status); }; } &&
67880 { ac_try='test -s conftest$ac_exeext'
67881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67882 (eval $ac_try) 2>&5
67883 ac_status=$?
67884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67885 (exit $ac_status); }; }; then
67886 eval "$as_ac_var=yes"
67887 else
67888 echo "$as_me: failed program was:" >&5
67889 sed 's/^/| /' conftest.$ac_ext >&5
67891 eval "$as_ac_var=no"
67893 rm -f conftest.err conftest.$ac_objext \
67894 conftest$ac_exeext conftest.$ac_ext
67896 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67897 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67898 if test `eval echo '${'$as_ac_var'}'` = yes; then
67899 cat >>confdefs.h <<_ACEOF
67900 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67901 _ACEOF
67904 done
67911 echo "$as_me:$LINENO: checking for modfl declaration" >&5
67912 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
67913 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
67914 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
67915 echo $ECHO_N "(cached) $ECHO_C" >&6
67916 else
67920 ac_ext=cc
67921 ac_cpp='$CXXCPP $CPPFLAGS'
67922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67926 cat >conftest.$ac_ext <<_ACEOF
67927 /* confdefs.h. */
67928 _ACEOF
67929 cat confdefs.h >>conftest.$ac_ext
67930 cat >>conftest.$ac_ext <<_ACEOF
67931 /* end confdefs.h. */
67932 #include <math.h>
67934 main ()
67936 modfl(0, 0);
67938 return 0;
67940 _ACEOF
67941 rm -f conftest.$ac_objext
67942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67943 (eval $ac_compile) 2>conftest.er1
67944 ac_status=$?
67945 grep -v '^ *+' conftest.er1 >conftest.err
67946 rm -f conftest.er1
67947 cat conftest.err >&5
67948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67949 (exit $ac_status); } &&
67950 { ac_try='test -z "$ac_cxx_werror_flag"
67951 || test ! -s conftest.err'
67952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67953 (eval $ac_try) 2>&5
67954 ac_status=$?
67955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67956 (exit $ac_status); }; } &&
67957 { ac_try='test -s conftest.$ac_objext'
67958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67959 (eval $ac_try) 2>&5
67960 ac_status=$?
67961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67962 (exit $ac_status); }; }; then
67963 glibcxx_cv_func_modfl_use=yes
67964 else
67965 echo "$as_me: failed program was:" >&5
67966 sed 's/^/| /' conftest.$ac_ext >&5
67968 glibcxx_cv_func_modfl_use=no
67970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67971 ac_ext=c
67972 ac_cpp='$CPP $CPPFLAGS'
67973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67981 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
67982 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
67984 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
67986 for ac_func in modfl
67988 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67989 echo "$as_me:$LINENO: checking for $ac_func" >&5
67990 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67991 if eval "test \"\${$as_ac_var+set}\" = set"; then
67992 echo $ECHO_N "(cached) $ECHO_C" >&6
67993 else
67994 if test x$gcc_no_link = xyes; then
67995 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67996 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67997 { (exit 1); exit 1; }; }
67999 cat >conftest.$ac_ext <<_ACEOF
68000 /* confdefs.h. */
68001 _ACEOF
68002 cat confdefs.h >>conftest.$ac_ext
68003 cat >>conftest.$ac_ext <<_ACEOF
68004 /* end confdefs.h. */
68005 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68006 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68007 #define $ac_func innocuous_$ac_func
68009 /* System header to define __stub macros and hopefully few prototypes,
68010 which can conflict with char $ac_func (); below.
68011 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68012 <limits.h> exists even on freestanding compilers. */
68014 #ifdef __STDC__
68015 # include <limits.h>
68016 #else
68017 # include <assert.h>
68018 #endif
68020 #undef $ac_func
68022 /* Override any gcc2 internal prototype to avoid an error. */
68023 #ifdef __cplusplus
68024 extern "C"
68026 #endif
68027 /* We use char because int might match the return type of a gcc2
68028 builtin and then its argument prototype would still apply. */
68029 char $ac_func ();
68030 /* The GNU C library defines this for functions which it implements
68031 to always fail with ENOSYS. Some functions are actually named
68032 something starting with __ and the normal name is an alias. */
68033 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68034 choke me
68035 #else
68036 char (*f) () = $ac_func;
68037 #endif
68038 #ifdef __cplusplus
68040 #endif
68043 main ()
68045 return f != $ac_func;
68047 return 0;
68049 _ACEOF
68050 rm -f conftest.$ac_objext conftest$ac_exeext
68051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68052 (eval $ac_link) 2>conftest.er1
68053 ac_status=$?
68054 grep -v '^ *+' conftest.er1 >conftest.err
68055 rm -f conftest.er1
68056 cat conftest.err >&5
68057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68058 (exit $ac_status); } &&
68059 { ac_try='test -z "$ac_c_werror_flag"
68060 || test ! -s conftest.err'
68061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68062 (eval $ac_try) 2>&5
68063 ac_status=$?
68064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68065 (exit $ac_status); }; } &&
68066 { ac_try='test -s conftest$ac_exeext'
68067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68068 (eval $ac_try) 2>&5
68069 ac_status=$?
68070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68071 (exit $ac_status); }; }; then
68072 eval "$as_ac_var=yes"
68073 else
68074 echo "$as_me: failed program was:" >&5
68075 sed 's/^/| /' conftest.$ac_ext >&5
68077 eval "$as_ac_var=no"
68079 rm -f conftest.err conftest.$ac_objext \
68080 conftest$ac_exeext conftest.$ac_ext
68082 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68083 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68084 if test `eval echo '${'$as_ac_var'}'` = yes; then
68085 cat >>confdefs.h <<_ACEOF
68086 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68087 _ACEOF
68090 done
68092 else
68094 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
68095 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
68096 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
68097 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
68098 echo $ECHO_N "(cached) $ECHO_C" >&6
68099 else
68103 ac_ext=cc
68104 ac_cpp='$CXXCPP $CPPFLAGS'
68105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68109 cat >conftest.$ac_ext <<_ACEOF
68110 /* confdefs.h. */
68111 _ACEOF
68112 cat confdefs.h >>conftest.$ac_ext
68113 cat >>conftest.$ac_ext <<_ACEOF
68114 /* end confdefs.h. */
68115 #include <math.h>
68117 main ()
68119 _modfl(0, 0);
68121 return 0;
68123 _ACEOF
68124 rm -f conftest.$ac_objext
68125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68126 (eval $ac_compile) 2>conftest.er1
68127 ac_status=$?
68128 grep -v '^ *+' conftest.er1 >conftest.err
68129 rm -f conftest.er1
68130 cat conftest.err >&5
68131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68132 (exit $ac_status); } &&
68133 { ac_try='test -z "$ac_cxx_werror_flag"
68134 || test ! -s conftest.err'
68135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68136 (eval $ac_try) 2>&5
68137 ac_status=$?
68138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68139 (exit $ac_status); }; } &&
68140 { ac_try='test -s conftest.$ac_objext'
68141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68142 (eval $ac_try) 2>&5
68143 ac_status=$?
68144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68145 (exit $ac_status); }; }; then
68146 glibcxx_cv_func__modfl_use=yes
68147 else
68148 echo "$as_me: failed program was:" >&5
68149 sed 's/^/| /' conftest.$ac_ext >&5
68151 glibcxx_cv_func__modfl_use=no
68153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68154 ac_ext=c
68155 ac_cpp='$CPP $CPPFLAGS'
68156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68164 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
68165 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
68167 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
68169 for ac_func in _modfl
68171 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68172 echo "$as_me:$LINENO: checking for $ac_func" >&5
68173 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68174 if eval "test \"\${$as_ac_var+set}\" = set"; then
68175 echo $ECHO_N "(cached) $ECHO_C" >&6
68176 else
68177 if test x$gcc_no_link = xyes; then
68178 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68180 { (exit 1); exit 1; }; }
68182 cat >conftest.$ac_ext <<_ACEOF
68183 /* confdefs.h. */
68184 _ACEOF
68185 cat confdefs.h >>conftest.$ac_ext
68186 cat >>conftest.$ac_ext <<_ACEOF
68187 /* end confdefs.h. */
68188 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68189 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68190 #define $ac_func innocuous_$ac_func
68192 /* System header to define __stub macros and hopefully few prototypes,
68193 which can conflict with char $ac_func (); below.
68194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68195 <limits.h> exists even on freestanding compilers. */
68197 #ifdef __STDC__
68198 # include <limits.h>
68199 #else
68200 # include <assert.h>
68201 #endif
68203 #undef $ac_func
68205 /* Override any gcc2 internal prototype to avoid an error. */
68206 #ifdef __cplusplus
68207 extern "C"
68209 #endif
68210 /* We use char because int might match the return type of a gcc2
68211 builtin and then its argument prototype would still apply. */
68212 char $ac_func ();
68213 /* The GNU C library defines this for functions which it implements
68214 to always fail with ENOSYS. Some functions are actually named
68215 something starting with __ and the normal name is an alias. */
68216 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68217 choke me
68218 #else
68219 char (*f) () = $ac_func;
68220 #endif
68221 #ifdef __cplusplus
68223 #endif
68226 main ()
68228 return f != $ac_func;
68230 return 0;
68232 _ACEOF
68233 rm -f conftest.$ac_objext conftest$ac_exeext
68234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68235 (eval $ac_link) 2>conftest.er1
68236 ac_status=$?
68237 grep -v '^ *+' conftest.er1 >conftest.err
68238 rm -f conftest.er1
68239 cat conftest.err >&5
68240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68241 (exit $ac_status); } &&
68242 { ac_try='test -z "$ac_c_werror_flag"
68243 || test ! -s conftest.err'
68244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68245 (eval $ac_try) 2>&5
68246 ac_status=$?
68247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68248 (exit $ac_status); }; } &&
68249 { ac_try='test -s conftest$ac_exeext'
68250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68251 (eval $ac_try) 2>&5
68252 ac_status=$?
68253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68254 (exit $ac_status); }; }; then
68255 eval "$as_ac_var=yes"
68256 else
68257 echo "$as_me: failed program was:" >&5
68258 sed 's/^/| /' conftest.$ac_ext >&5
68260 eval "$as_ac_var=no"
68262 rm -f conftest.err conftest.$ac_objext \
68263 conftest$ac_exeext conftest.$ac_ext
68265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68266 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68267 if test `eval echo '${'$as_ac_var'}'` = yes; then
68268 cat >>confdefs.h <<_ACEOF
68269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68270 _ACEOF
68273 done
68280 echo "$as_me:$LINENO: checking for powl declaration" >&5
68281 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
68282 if test x${glibcxx_cv_func_powl_use+set} != xset; then
68283 if test "${glibcxx_cv_func_powl_use+set}" = set; then
68284 echo $ECHO_N "(cached) $ECHO_C" >&6
68285 else
68289 ac_ext=cc
68290 ac_cpp='$CXXCPP $CPPFLAGS'
68291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68295 cat >conftest.$ac_ext <<_ACEOF
68296 /* confdefs.h. */
68297 _ACEOF
68298 cat confdefs.h >>conftest.$ac_ext
68299 cat >>conftest.$ac_ext <<_ACEOF
68300 /* end confdefs.h. */
68301 #include <math.h>
68303 main ()
68305 powl(0, 0);
68307 return 0;
68309 _ACEOF
68310 rm -f conftest.$ac_objext
68311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68312 (eval $ac_compile) 2>conftest.er1
68313 ac_status=$?
68314 grep -v '^ *+' conftest.er1 >conftest.err
68315 rm -f conftest.er1
68316 cat conftest.err >&5
68317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68318 (exit $ac_status); } &&
68319 { ac_try='test -z "$ac_cxx_werror_flag"
68320 || test ! -s conftest.err'
68321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68322 (eval $ac_try) 2>&5
68323 ac_status=$?
68324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68325 (exit $ac_status); }; } &&
68326 { ac_try='test -s conftest.$ac_objext'
68327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68328 (eval $ac_try) 2>&5
68329 ac_status=$?
68330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68331 (exit $ac_status); }; }; then
68332 glibcxx_cv_func_powl_use=yes
68333 else
68334 echo "$as_me: failed program was:" >&5
68335 sed 's/^/| /' conftest.$ac_ext >&5
68337 glibcxx_cv_func_powl_use=no
68339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68340 ac_ext=c
68341 ac_cpp='$CPP $CPPFLAGS'
68342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68350 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
68351 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
68353 if test x$glibcxx_cv_func_powl_use = x"yes"; then
68355 for ac_func in powl
68357 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68358 echo "$as_me:$LINENO: checking for $ac_func" >&5
68359 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68360 if eval "test \"\${$as_ac_var+set}\" = set"; then
68361 echo $ECHO_N "(cached) $ECHO_C" >&6
68362 else
68363 if test x$gcc_no_link = xyes; then
68364 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68365 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68366 { (exit 1); exit 1; }; }
68368 cat >conftest.$ac_ext <<_ACEOF
68369 /* confdefs.h. */
68370 _ACEOF
68371 cat confdefs.h >>conftest.$ac_ext
68372 cat >>conftest.$ac_ext <<_ACEOF
68373 /* end confdefs.h. */
68374 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68375 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68376 #define $ac_func innocuous_$ac_func
68378 /* System header to define __stub macros and hopefully few prototypes,
68379 which can conflict with char $ac_func (); below.
68380 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68381 <limits.h> exists even on freestanding compilers. */
68383 #ifdef __STDC__
68384 # include <limits.h>
68385 #else
68386 # include <assert.h>
68387 #endif
68389 #undef $ac_func
68391 /* Override any gcc2 internal prototype to avoid an error. */
68392 #ifdef __cplusplus
68393 extern "C"
68395 #endif
68396 /* We use char because int might match the return type of a gcc2
68397 builtin and then its argument prototype would still apply. */
68398 char $ac_func ();
68399 /* The GNU C library defines this for functions which it implements
68400 to always fail with ENOSYS. Some functions are actually named
68401 something starting with __ and the normal name is an alias. */
68402 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68403 choke me
68404 #else
68405 char (*f) () = $ac_func;
68406 #endif
68407 #ifdef __cplusplus
68409 #endif
68412 main ()
68414 return f != $ac_func;
68416 return 0;
68418 _ACEOF
68419 rm -f conftest.$ac_objext conftest$ac_exeext
68420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68421 (eval $ac_link) 2>conftest.er1
68422 ac_status=$?
68423 grep -v '^ *+' conftest.er1 >conftest.err
68424 rm -f conftest.er1
68425 cat conftest.err >&5
68426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68427 (exit $ac_status); } &&
68428 { ac_try='test -z "$ac_c_werror_flag"
68429 || test ! -s conftest.err'
68430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68431 (eval $ac_try) 2>&5
68432 ac_status=$?
68433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68434 (exit $ac_status); }; } &&
68435 { ac_try='test -s conftest$ac_exeext'
68436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68437 (eval $ac_try) 2>&5
68438 ac_status=$?
68439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68440 (exit $ac_status); }; }; then
68441 eval "$as_ac_var=yes"
68442 else
68443 echo "$as_me: failed program was:" >&5
68444 sed 's/^/| /' conftest.$ac_ext >&5
68446 eval "$as_ac_var=no"
68448 rm -f conftest.err conftest.$ac_objext \
68449 conftest$ac_exeext conftest.$ac_ext
68451 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68452 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68453 if test `eval echo '${'$as_ac_var'}'` = yes; then
68454 cat >>confdefs.h <<_ACEOF
68455 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68456 _ACEOF
68459 done
68461 else
68463 echo "$as_me:$LINENO: checking for _powl declaration" >&5
68464 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
68465 if test x${glibcxx_cv_func__powl_use+set} != xset; then
68466 if test "${glibcxx_cv_func__powl_use+set}" = set; then
68467 echo $ECHO_N "(cached) $ECHO_C" >&6
68468 else
68472 ac_ext=cc
68473 ac_cpp='$CXXCPP $CPPFLAGS'
68474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68478 cat >conftest.$ac_ext <<_ACEOF
68479 /* confdefs.h. */
68480 _ACEOF
68481 cat confdefs.h >>conftest.$ac_ext
68482 cat >>conftest.$ac_ext <<_ACEOF
68483 /* end confdefs.h. */
68484 #include <math.h>
68486 main ()
68488 _powl(0, 0);
68490 return 0;
68492 _ACEOF
68493 rm -f conftest.$ac_objext
68494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68495 (eval $ac_compile) 2>conftest.er1
68496 ac_status=$?
68497 grep -v '^ *+' conftest.er1 >conftest.err
68498 rm -f conftest.er1
68499 cat conftest.err >&5
68500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68501 (exit $ac_status); } &&
68502 { ac_try='test -z "$ac_cxx_werror_flag"
68503 || test ! -s conftest.err'
68504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68505 (eval $ac_try) 2>&5
68506 ac_status=$?
68507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68508 (exit $ac_status); }; } &&
68509 { ac_try='test -s conftest.$ac_objext'
68510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68511 (eval $ac_try) 2>&5
68512 ac_status=$?
68513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68514 (exit $ac_status); }; }; then
68515 glibcxx_cv_func__powl_use=yes
68516 else
68517 echo "$as_me: failed program was:" >&5
68518 sed 's/^/| /' conftest.$ac_ext >&5
68520 glibcxx_cv_func__powl_use=no
68522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68523 ac_ext=c
68524 ac_cpp='$CPP $CPPFLAGS'
68525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68533 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
68534 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
68536 if test x$glibcxx_cv_func__powl_use = x"yes"; then
68538 for ac_func in _powl
68540 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68541 echo "$as_me:$LINENO: checking for $ac_func" >&5
68542 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68543 if eval "test \"\${$as_ac_var+set}\" = set"; then
68544 echo $ECHO_N "(cached) $ECHO_C" >&6
68545 else
68546 if test x$gcc_no_link = xyes; then
68547 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68548 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68549 { (exit 1); exit 1; }; }
68551 cat >conftest.$ac_ext <<_ACEOF
68552 /* confdefs.h. */
68553 _ACEOF
68554 cat confdefs.h >>conftest.$ac_ext
68555 cat >>conftest.$ac_ext <<_ACEOF
68556 /* end confdefs.h. */
68557 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68558 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68559 #define $ac_func innocuous_$ac_func
68561 /* System header to define __stub macros and hopefully few prototypes,
68562 which can conflict with char $ac_func (); below.
68563 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68564 <limits.h> exists even on freestanding compilers. */
68566 #ifdef __STDC__
68567 # include <limits.h>
68568 #else
68569 # include <assert.h>
68570 #endif
68572 #undef $ac_func
68574 /* Override any gcc2 internal prototype to avoid an error. */
68575 #ifdef __cplusplus
68576 extern "C"
68578 #endif
68579 /* We use char because int might match the return type of a gcc2
68580 builtin and then its argument prototype would still apply. */
68581 char $ac_func ();
68582 /* The GNU C library defines this for functions which it implements
68583 to always fail with ENOSYS. Some functions are actually named
68584 something starting with __ and the normal name is an alias. */
68585 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68586 choke me
68587 #else
68588 char (*f) () = $ac_func;
68589 #endif
68590 #ifdef __cplusplus
68592 #endif
68595 main ()
68597 return f != $ac_func;
68599 return 0;
68601 _ACEOF
68602 rm -f conftest.$ac_objext conftest$ac_exeext
68603 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68604 (eval $ac_link) 2>conftest.er1
68605 ac_status=$?
68606 grep -v '^ *+' conftest.er1 >conftest.err
68607 rm -f conftest.er1
68608 cat conftest.err >&5
68609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68610 (exit $ac_status); } &&
68611 { ac_try='test -z "$ac_c_werror_flag"
68612 || test ! -s conftest.err'
68613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68614 (eval $ac_try) 2>&5
68615 ac_status=$?
68616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68617 (exit $ac_status); }; } &&
68618 { ac_try='test -s conftest$ac_exeext'
68619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68620 (eval $ac_try) 2>&5
68621 ac_status=$?
68622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68623 (exit $ac_status); }; }; then
68624 eval "$as_ac_var=yes"
68625 else
68626 echo "$as_me: failed program was:" >&5
68627 sed 's/^/| /' conftest.$ac_ext >&5
68629 eval "$as_ac_var=no"
68631 rm -f conftest.err conftest.$ac_objext \
68632 conftest$ac_exeext conftest.$ac_ext
68634 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68635 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68636 if test `eval echo '${'$as_ac_var'}'` = yes; then
68637 cat >>confdefs.h <<_ACEOF
68638 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68639 _ACEOF
68642 done
68649 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
68650 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
68651 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
68652 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
68653 echo $ECHO_N "(cached) $ECHO_C" >&6
68654 else
68658 ac_ext=cc
68659 ac_cpp='$CXXCPP $CPPFLAGS'
68660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68664 cat >conftest.$ac_ext <<_ACEOF
68665 /* confdefs.h. */
68666 _ACEOF
68667 cat confdefs.h >>conftest.$ac_ext
68668 cat >>conftest.$ac_ext <<_ACEOF
68669 /* end confdefs.h. */
68670 #include <math.h>
68671 #ifdef HAVE_IEEEFP_H
68672 #include <ieeefp.h>
68673 #endif
68676 main ()
68678 sqrtl(0);
68680 return 0;
68682 _ACEOF
68683 rm -f conftest.$ac_objext
68684 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68685 (eval $ac_compile) 2>conftest.er1
68686 ac_status=$?
68687 grep -v '^ *+' conftest.er1 >conftest.err
68688 rm -f conftest.er1
68689 cat conftest.err >&5
68690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68691 (exit $ac_status); } &&
68692 { ac_try='test -z "$ac_cxx_werror_flag"
68693 || test ! -s conftest.err'
68694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68695 (eval $ac_try) 2>&5
68696 ac_status=$?
68697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68698 (exit $ac_status); }; } &&
68699 { ac_try='test -s conftest.$ac_objext'
68700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68701 (eval $ac_try) 2>&5
68702 ac_status=$?
68703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68704 (exit $ac_status); }; }; then
68705 glibcxx_cv_func_sqrtl_use=yes
68706 else
68707 echo "$as_me: failed program was:" >&5
68708 sed 's/^/| /' conftest.$ac_ext >&5
68710 glibcxx_cv_func_sqrtl_use=no
68712 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68713 ac_ext=c
68714 ac_cpp='$CPP $CPPFLAGS'
68715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68723 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
68724 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
68726 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
68728 for ac_func in sqrtl
68730 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68731 echo "$as_me:$LINENO: checking for $ac_func" >&5
68732 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68733 if eval "test \"\${$as_ac_var+set}\" = set"; then
68734 echo $ECHO_N "(cached) $ECHO_C" >&6
68735 else
68736 if test x$gcc_no_link = xyes; then
68737 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68738 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68739 { (exit 1); exit 1; }; }
68741 cat >conftest.$ac_ext <<_ACEOF
68742 /* confdefs.h. */
68743 _ACEOF
68744 cat confdefs.h >>conftest.$ac_ext
68745 cat >>conftest.$ac_ext <<_ACEOF
68746 /* end confdefs.h. */
68747 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68748 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68749 #define $ac_func innocuous_$ac_func
68751 /* System header to define __stub macros and hopefully few prototypes,
68752 which can conflict with char $ac_func (); below.
68753 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68754 <limits.h> exists even on freestanding compilers. */
68756 #ifdef __STDC__
68757 # include <limits.h>
68758 #else
68759 # include <assert.h>
68760 #endif
68762 #undef $ac_func
68764 /* Override any gcc2 internal prototype to avoid an error. */
68765 #ifdef __cplusplus
68766 extern "C"
68768 #endif
68769 /* We use char because int might match the return type of a gcc2
68770 builtin and then its argument prototype would still apply. */
68771 char $ac_func ();
68772 /* The GNU C library defines this for functions which it implements
68773 to always fail with ENOSYS. Some functions are actually named
68774 something starting with __ and the normal name is an alias. */
68775 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68776 choke me
68777 #else
68778 char (*f) () = $ac_func;
68779 #endif
68780 #ifdef __cplusplus
68782 #endif
68785 main ()
68787 return f != $ac_func;
68789 return 0;
68791 _ACEOF
68792 rm -f conftest.$ac_objext conftest$ac_exeext
68793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68794 (eval $ac_link) 2>conftest.er1
68795 ac_status=$?
68796 grep -v '^ *+' conftest.er1 >conftest.err
68797 rm -f conftest.er1
68798 cat conftest.err >&5
68799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68800 (exit $ac_status); } &&
68801 { ac_try='test -z "$ac_c_werror_flag"
68802 || test ! -s conftest.err'
68803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68804 (eval $ac_try) 2>&5
68805 ac_status=$?
68806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68807 (exit $ac_status); }; } &&
68808 { ac_try='test -s conftest$ac_exeext'
68809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68810 (eval $ac_try) 2>&5
68811 ac_status=$?
68812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68813 (exit $ac_status); }; }; then
68814 eval "$as_ac_var=yes"
68815 else
68816 echo "$as_me: failed program was:" >&5
68817 sed 's/^/| /' conftest.$ac_ext >&5
68819 eval "$as_ac_var=no"
68821 rm -f conftest.err conftest.$ac_objext \
68822 conftest$ac_exeext conftest.$ac_ext
68824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68825 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68826 if test `eval echo '${'$as_ac_var'}'` = yes; then
68827 cat >>confdefs.h <<_ACEOF
68828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68829 _ACEOF
68832 done
68834 else
68836 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
68837 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
68838 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
68839 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
68840 echo $ECHO_N "(cached) $ECHO_C" >&6
68841 else
68845 ac_ext=cc
68846 ac_cpp='$CXXCPP $CPPFLAGS'
68847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68851 cat >conftest.$ac_ext <<_ACEOF
68852 /* confdefs.h. */
68853 _ACEOF
68854 cat confdefs.h >>conftest.$ac_ext
68855 cat >>conftest.$ac_ext <<_ACEOF
68856 /* end confdefs.h. */
68857 #include <math.h>
68858 #ifdef HAVE_IEEEFP_H
68859 #include <ieeefp.h>
68860 #endif
68863 main ()
68865 _sqrtl(0);
68867 return 0;
68869 _ACEOF
68870 rm -f conftest.$ac_objext
68871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68872 (eval $ac_compile) 2>conftest.er1
68873 ac_status=$?
68874 grep -v '^ *+' conftest.er1 >conftest.err
68875 rm -f conftest.er1
68876 cat conftest.err >&5
68877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68878 (exit $ac_status); } &&
68879 { ac_try='test -z "$ac_cxx_werror_flag"
68880 || test ! -s conftest.err'
68881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68882 (eval $ac_try) 2>&5
68883 ac_status=$?
68884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68885 (exit $ac_status); }; } &&
68886 { ac_try='test -s conftest.$ac_objext'
68887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68888 (eval $ac_try) 2>&5
68889 ac_status=$?
68890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68891 (exit $ac_status); }; }; then
68892 glibcxx_cv_func__sqrtl_use=yes
68893 else
68894 echo "$as_me: failed program was:" >&5
68895 sed 's/^/| /' conftest.$ac_ext >&5
68897 glibcxx_cv_func__sqrtl_use=no
68899 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68900 ac_ext=c
68901 ac_cpp='$CPP $CPPFLAGS'
68902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68910 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
68911 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
68913 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
68915 for ac_func in _sqrtl
68917 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68918 echo "$as_me:$LINENO: checking for $ac_func" >&5
68919 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68920 if eval "test \"\${$as_ac_var+set}\" = set"; then
68921 echo $ECHO_N "(cached) $ECHO_C" >&6
68922 else
68923 if test x$gcc_no_link = xyes; then
68924 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68925 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68926 { (exit 1); exit 1; }; }
68928 cat >conftest.$ac_ext <<_ACEOF
68929 /* confdefs.h. */
68930 _ACEOF
68931 cat confdefs.h >>conftest.$ac_ext
68932 cat >>conftest.$ac_ext <<_ACEOF
68933 /* end confdefs.h. */
68934 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68935 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68936 #define $ac_func innocuous_$ac_func
68938 /* System header to define __stub macros and hopefully few prototypes,
68939 which can conflict with char $ac_func (); below.
68940 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68941 <limits.h> exists even on freestanding compilers. */
68943 #ifdef __STDC__
68944 # include <limits.h>
68945 #else
68946 # include <assert.h>
68947 #endif
68949 #undef $ac_func
68951 /* Override any gcc2 internal prototype to avoid an error. */
68952 #ifdef __cplusplus
68953 extern "C"
68955 #endif
68956 /* We use char because int might match the return type of a gcc2
68957 builtin and then its argument prototype would still apply. */
68958 char $ac_func ();
68959 /* The GNU C library defines this for functions which it implements
68960 to always fail with ENOSYS. Some functions are actually named
68961 something starting with __ and the normal name is an alias. */
68962 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68963 choke me
68964 #else
68965 char (*f) () = $ac_func;
68966 #endif
68967 #ifdef __cplusplus
68969 #endif
68972 main ()
68974 return f != $ac_func;
68976 return 0;
68978 _ACEOF
68979 rm -f conftest.$ac_objext conftest$ac_exeext
68980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68981 (eval $ac_link) 2>conftest.er1
68982 ac_status=$?
68983 grep -v '^ *+' conftest.er1 >conftest.err
68984 rm -f conftest.er1
68985 cat conftest.err >&5
68986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68987 (exit $ac_status); } &&
68988 { ac_try='test -z "$ac_c_werror_flag"
68989 || test ! -s conftest.err'
68990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68991 (eval $ac_try) 2>&5
68992 ac_status=$?
68993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68994 (exit $ac_status); }; } &&
68995 { ac_try='test -s conftest$ac_exeext'
68996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68997 (eval $ac_try) 2>&5
68998 ac_status=$?
68999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69000 (exit $ac_status); }; }; then
69001 eval "$as_ac_var=yes"
69002 else
69003 echo "$as_me: failed program was:" >&5
69004 sed 's/^/| /' conftest.$ac_ext >&5
69006 eval "$as_ac_var=no"
69008 rm -f conftest.err conftest.$ac_objext \
69009 conftest$ac_exeext conftest.$ac_ext
69011 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69012 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69013 if test `eval echo '${'$as_ac_var'}'` = yes; then
69014 cat >>confdefs.h <<_ACEOF
69015 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69016 _ACEOF
69019 done
69026 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
69027 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
69028 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
69029 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
69030 echo $ECHO_N "(cached) $ECHO_C" >&6
69031 else
69035 ac_ext=cc
69036 ac_cpp='$CXXCPP $CPPFLAGS'
69037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69041 cat >conftest.$ac_ext <<_ACEOF
69042 /* confdefs.h. */
69043 _ACEOF
69044 cat confdefs.h >>conftest.$ac_ext
69045 cat >>conftest.$ac_ext <<_ACEOF
69046 /* end confdefs.h. */
69047 #include <math.h>
69049 main ()
69051 sincosl(0, 0, 0);
69053 return 0;
69055 _ACEOF
69056 rm -f conftest.$ac_objext
69057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69058 (eval $ac_compile) 2>conftest.er1
69059 ac_status=$?
69060 grep -v '^ *+' conftest.er1 >conftest.err
69061 rm -f conftest.er1
69062 cat conftest.err >&5
69063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69064 (exit $ac_status); } &&
69065 { ac_try='test -z "$ac_cxx_werror_flag"
69066 || test ! -s conftest.err'
69067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69068 (eval $ac_try) 2>&5
69069 ac_status=$?
69070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69071 (exit $ac_status); }; } &&
69072 { ac_try='test -s conftest.$ac_objext'
69073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69074 (eval $ac_try) 2>&5
69075 ac_status=$?
69076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69077 (exit $ac_status); }; }; then
69078 glibcxx_cv_func_sincosl_use=yes
69079 else
69080 echo "$as_me: failed program was:" >&5
69081 sed 's/^/| /' conftest.$ac_ext >&5
69083 glibcxx_cv_func_sincosl_use=no
69085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69086 ac_ext=c
69087 ac_cpp='$CPP $CPPFLAGS'
69088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69096 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
69097 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
69099 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
69101 for ac_func in sincosl
69103 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69104 echo "$as_me:$LINENO: checking for $ac_func" >&5
69105 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69106 if eval "test \"\${$as_ac_var+set}\" = set"; then
69107 echo $ECHO_N "(cached) $ECHO_C" >&6
69108 else
69109 if test x$gcc_no_link = xyes; then
69110 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69111 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69112 { (exit 1); exit 1; }; }
69114 cat >conftest.$ac_ext <<_ACEOF
69115 /* confdefs.h. */
69116 _ACEOF
69117 cat confdefs.h >>conftest.$ac_ext
69118 cat >>conftest.$ac_ext <<_ACEOF
69119 /* end confdefs.h. */
69120 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69121 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69122 #define $ac_func innocuous_$ac_func
69124 /* System header to define __stub macros and hopefully few prototypes,
69125 which can conflict with char $ac_func (); below.
69126 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69127 <limits.h> exists even on freestanding compilers. */
69129 #ifdef __STDC__
69130 # include <limits.h>
69131 #else
69132 # include <assert.h>
69133 #endif
69135 #undef $ac_func
69137 /* Override any gcc2 internal prototype to avoid an error. */
69138 #ifdef __cplusplus
69139 extern "C"
69141 #endif
69142 /* We use char because int might match the return type of a gcc2
69143 builtin and then its argument prototype would still apply. */
69144 char $ac_func ();
69145 /* The GNU C library defines this for functions which it implements
69146 to always fail with ENOSYS. Some functions are actually named
69147 something starting with __ and the normal name is an alias. */
69148 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69149 choke me
69150 #else
69151 char (*f) () = $ac_func;
69152 #endif
69153 #ifdef __cplusplus
69155 #endif
69158 main ()
69160 return f != $ac_func;
69162 return 0;
69164 _ACEOF
69165 rm -f conftest.$ac_objext conftest$ac_exeext
69166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69167 (eval $ac_link) 2>conftest.er1
69168 ac_status=$?
69169 grep -v '^ *+' conftest.er1 >conftest.err
69170 rm -f conftest.er1
69171 cat conftest.err >&5
69172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69173 (exit $ac_status); } &&
69174 { ac_try='test -z "$ac_c_werror_flag"
69175 || test ! -s conftest.err'
69176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69177 (eval $ac_try) 2>&5
69178 ac_status=$?
69179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69180 (exit $ac_status); }; } &&
69181 { ac_try='test -s conftest$ac_exeext'
69182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69183 (eval $ac_try) 2>&5
69184 ac_status=$?
69185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69186 (exit $ac_status); }; }; then
69187 eval "$as_ac_var=yes"
69188 else
69189 echo "$as_me: failed program was:" >&5
69190 sed 's/^/| /' conftest.$ac_ext >&5
69192 eval "$as_ac_var=no"
69194 rm -f conftest.err conftest.$ac_objext \
69195 conftest$ac_exeext conftest.$ac_ext
69197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69198 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69199 if test `eval echo '${'$as_ac_var'}'` = yes; then
69200 cat >>confdefs.h <<_ACEOF
69201 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69202 _ACEOF
69205 done
69207 else
69209 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
69210 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
69211 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
69212 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
69213 echo $ECHO_N "(cached) $ECHO_C" >&6
69214 else
69218 ac_ext=cc
69219 ac_cpp='$CXXCPP $CPPFLAGS'
69220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69224 cat >conftest.$ac_ext <<_ACEOF
69225 /* confdefs.h. */
69226 _ACEOF
69227 cat confdefs.h >>conftest.$ac_ext
69228 cat >>conftest.$ac_ext <<_ACEOF
69229 /* end confdefs.h. */
69230 #include <math.h>
69232 main ()
69234 _sincosl(0, 0, 0);
69236 return 0;
69238 _ACEOF
69239 rm -f conftest.$ac_objext
69240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69241 (eval $ac_compile) 2>conftest.er1
69242 ac_status=$?
69243 grep -v '^ *+' conftest.er1 >conftest.err
69244 rm -f conftest.er1
69245 cat conftest.err >&5
69246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69247 (exit $ac_status); } &&
69248 { ac_try='test -z "$ac_cxx_werror_flag"
69249 || test ! -s conftest.err'
69250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69251 (eval $ac_try) 2>&5
69252 ac_status=$?
69253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69254 (exit $ac_status); }; } &&
69255 { ac_try='test -s conftest.$ac_objext'
69256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69257 (eval $ac_try) 2>&5
69258 ac_status=$?
69259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69260 (exit $ac_status); }; }; then
69261 glibcxx_cv_func__sincosl_use=yes
69262 else
69263 echo "$as_me: failed program was:" >&5
69264 sed 's/^/| /' conftest.$ac_ext >&5
69266 glibcxx_cv_func__sincosl_use=no
69268 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69269 ac_ext=c
69270 ac_cpp='$CPP $CPPFLAGS'
69271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69279 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
69280 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
69282 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
69284 for ac_func in _sincosl
69286 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69287 echo "$as_me:$LINENO: checking for $ac_func" >&5
69288 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69289 if eval "test \"\${$as_ac_var+set}\" = set"; then
69290 echo $ECHO_N "(cached) $ECHO_C" >&6
69291 else
69292 if test x$gcc_no_link = xyes; then
69293 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69294 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69295 { (exit 1); exit 1; }; }
69297 cat >conftest.$ac_ext <<_ACEOF
69298 /* confdefs.h. */
69299 _ACEOF
69300 cat confdefs.h >>conftest.$ac_ext
69301 cat >>conftest.$ac_ext <<_ACEOF
69302 /* end confdefs.h. */
69303 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69304 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69305 #define $ac_func innocuous_$ac_func
69307 /* System header to define __stub macros and hopefully few prototypes,
69308 which can conflict with char $ac_func (); below.
69309 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69310 <limits.h> exists even on freestanding compilers. */
69312 #ifdef __STDC__
69313 # include <limits.h>
69314 #else
69315 # include <assert.h>
69316 #endif
69318 #undef $ac_func
69320 /* Override any gcc2 internal prototype to avoid an error. */
69321 #ifdef __cplusplus
69322 extern "C"
69324 #endif
69325 /* We use char because int might match the return type of a gcc2
69326 builtin and then its argument prototype would still apply. */
69327 char $ac_func ();
69328 /* The GNU C library defines this for functions which it implements
69329 to always fail with ENOSYS. Some functions are actually named
69330 something starting with __ and the normal name is an alias. */
69331 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69332 choke me
69333 #else
69334 char (*f) () = $ac_func;
69335 #endif
69336 #ifdef __cplusplus
69338 #endif
69341 main ()
69343 return f != $ac_func;
69345 return 0;
69347 _ACEOF
69348 rm -f conftest.$ac_objext conftest$ac_exeext
69349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69350 (eval $ac_link) 2>conftest.er1
69351 ac_status=$?
69352 grep -v '^ *+' conftest.er1 >conftest.err
69353 rm -f conftest.er1
69354 cat conftest.err >&5
69355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69356 (exit $ac_status); } &&
69357 { ac_try='test -z "$ac_c_werror_flag"
69358 || test ! -s conftest.err'
69359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69360 (eval $ac_try) 2>&5
69361 ac_status=$?
69362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69363 (exit $ac_status); }; } &&
69364 { ac_try='test -s conftest$ac_exeext'
69365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69366 (eval $ac_try) 2>&5
69367 ac_status=$?
69368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69369 (exit $ac_status); }; }; then
69370 eval "$as_ac_var=yes"
69371 else
69372 echo "$as_me: failed program was:" >&5
69373 sed 's/^/| /' conftest.$ac_ext >&5
69375 eval "$as_ac_var=no"
69377 rm -f conftest.err conftest.$ac_objext \
69378 conftest$ac_exeext conftest.$ac_ext
69380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69381 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69382 if test `eval echo '${'$as_ac_var'}'` = yes; then
69383 cat >>confdefs.h <<_ACEOF
69384 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69385 _ACEOF
69388 done
69395 echo "$as_me:$LINENO: checking for finitel declaration" >&5
69396 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
69397 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
69398 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
69399 echo $ECHO_N "(cached) $ECHO_C" >&6
69400 else
69404 ac_ext=cc
69405 ac_cpp='$CXXCPP $CPPFLAGS'
69406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69410 cat >conftest.$ac_ext <<_ACEOF
69411 /* confdefs.h. */
69412 _ACEOF
69413 cat confdefs.h >>conftest.$ac_ext
69414 cat >>conftest.$ac_ext <<_ACEOF
69415 /* end confdefs.h. */
69416 #include <math.h>
69417 #ifdef HAVE_IEEEFP_H
69418 #include <ieeefp.h>
69419 #endif
69422 main ()
69424 finitel(0);
69426 return 0;
69428 _ACEOF
69429 rm -f conftest.$ac_objext
69430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69431 (eval $ac_compile) 2>conftest.er1
69432 ac_status=$?
69433 grep -v '^ *+' conftest.er1 >conftest.err
69434 rm -f conftest.er1
69435 cat conftest.err >&5
69436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69437 (exit $ac_status); } &&
69438 { ac_try='test -z "$ac_cxx_werror_flag"
69439 || test ! -s conftest.err'
69440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69441 (eval $ac_try) 2>&5
69442 ac_status=$?
69443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69444 (exit $ac_status); }; } &&
69445 { ac_try='test -s conftest.$ac_objext'
69446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69447 (eval $ac_try) 2>&5
69448 ac_status=$?
69449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69450 (exit $ac_status); }; }; then
69451 glibcxx_cv_func_finitel_use=yes
69452 else
69453 echo "$as_me: failed program was:" >&5
69454 sed 's/^/| /' conftest.$ac_ext >&5
69456 glibcxx_cv_func_finitel_use=no
69458 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69459 ac_ext=c
69460 ac_cpp='$CPP $CPPFLAGS'
69461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69469 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
69470 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
69472 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
69474 for ac_func in finitel
69476 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69477 echo "$as_me:$LINENO: checking for $ac_func" >&5
69478 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69479 if eval "test \"\${$as_ac_var+set}\" = set"; then
69480 echo $ECHO_N "(cached) $ECHO_C" >&6
69481 else
69482 if test x$gcc_no_link = xyes; then
69483 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69484 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69485 { (exit 1); exit 1; }; }
69487 cat >conftest.$ac_ext <<_ACEOF
69488 /* confdefs.h. */
69489 _ACEOF
69490 cat confdefs.h >>conftest.$ac_ext
69491 cat >>conftest.$ac_ext <<_ACEOF
69492 /* end confdefs.h. */
69493 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69494 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69495 #define $ac_func innocuous_$ac_func
69497 /* System header to define __stub macros and hopefully few prototypes,
69498 which can conflict with char $ac_func (); below.
69499 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69500 <limits.h> exists even on freestanding compilers. */
69502 #ifdef __STDC__
69503 # include <limits.h>
69504 #else
69505 # include <assert.h>
69506 #endif
69508 #undef $ac_func
69510 /* Override any gcc2 internal prototype to avoid an error. */
69511 #ifdef __cplusplus
69512 extern "C"
69514 #endif
69515 /* We use char because int might match the return type of a gcc2
69516 builtin and then its argument prototype would still apply. */
69517 char $ac_func ();
69518 /* The GNU C library defines this for functions which it implements
69519 to always fail with ENOSYS. Some functions are actually named
69520 something starting with __ and the normal name is an alias. */
69521 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69522 choke me
69523 #else
69524 char (*f) () = $ac_func;
69525 #endif
69526 #ifdef __cplusplus
69528 #endif
69531 main ()
69533 return f != $ac_func;
69535 return 0;
69537 _ACEOF
69538 rm -f conftest.$ac_objext conftest$ac_exeext
69539 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69540 (eval $ac_link) 2>conftest.er1
69541 ac_status=$?
69542 grep -v '^ *+' conftest.er1 >conftest.err
69543 rm -f conftest.er1
69544 cat conftest.err >&5
69545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69546 (exit $ac_status); } &&
69547 { ac_try='test -z "$ac_c_werror_flag"
69548 || test ! -s conftest.err'
69549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69550 (eval $ac_try) 2>&5
69551 ac_status=$?
69552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69553 (exit $ac_status); }; } &&
69554 { ac_try='test -s conftest$ac_exeext'
69555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69556 (eval $ac_try) 2>&5
69557 ac_status=$?
69558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69559 (exit $ac_status); }; }; then
69560 eval "$as_ac_var=yes"
69561 else
69562 echo "$as_me: failed program was:" >&5
69563 sed 's/^/| /' conftest.$ac_ext >&5
69565 eval "$as_ac_var=no"
69567 rm -f conftest.err conftest.$ac_objext \
69568 conftest$ac_exeext conftest.$ac_ext
69570 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69571 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69572 if test `eval echo '${'$as_ac_var'}'` = yes; then
69573 cat >>confdefs.h <<_ACEOF
69574 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69575 _ACEOF
69578 done
69580 else
69582 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
69583 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
69584 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
69585 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
69586 echo $ECHO_N "(cached) $ECHO_C" >&6
69587 else
69591 ac_ext=cc
69592 ac_cpp='$CXXCPP $CPPFLAGS'
69593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69597 cat >conftest.$ac_ext <<_ACEOF
69598 /* confdefs.h. */
69599 _ACEOF
69600 cat confdefs.h >>conftest.$ac_ext
69601 cat >>conftest.$ac_ext <<_ACEOF
69602 /* end confdefs.h. */
69603 #include <math.h>
69604 #ifdef HAVE_IEEEFP_H
69605 #include <ieeefp.h>
69606 #endif
69609 main ()
69611 _finitel(0);
69613 return 0;
69615 _ACEOF
69616 rm -f conftest.$ac_objext
69617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69618 (eval $ac_compile) 2>conftest.er1
69619 ac_status=$?
69620 grep -v '^ *+' conftest.er1 >conftest.err
69621 rm -f conftest.er1
69622 cat conftest.err >&5
69623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69624 (exit $ac_status); } &&
69625 { ac_try='test -z "$ac_cxx_werror_flag"
69626 || test ! -s conftest.err'
69627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69628 (eval $ac_try) 2>&5
69629 ac_status=$?
69630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69631 (exit $ac_status); }; } &&
69632 { ac_try='test -s conftest.$ac_objext'
69633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69634 (eval $ac_try) 2>&5
69635 ac_status=$?
69636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69637 (exit $ac_status); }; }; then
69638 glibcxx_cv_func__finitel_use=yes
69639 else
69640 echo "$as_me: failed program was:" >&5
69641 sed 's/^/| /' conftest.$ac_ext >&5
69643 glibcxx_cv_func__finitel_use=no
69645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69646 ac_ext=c
69647 ac_cpp='$CPP $CPPFLAGS'
69648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69656 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
69657 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
69659 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
69661 for ac_func in _finitel
69663 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69664 echo "$as_me:$LINENO: checking for $ac_func" >&5
69665 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69666 if eval "test \"\${$as_ac_var+set}\" = set"; then
69667 echo $ECHO_N "(cached) $ECHO_C" >&6
69668 else
69669 if test x$gcc_no_link = xyes; then
69670 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69671 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69672 { (exit 1); exit 1; }; }
69674 cat >conftest.$ac_ext <<_ACEOF
69675 /* confdefs.h. */
69676 _ACEOF
69677 cat confdefs.h >>conftest.$ac_ext
69678 cat >>conftest.$ac_ext <<_ACEOF
69679 /* end confdefs.h. */
69680 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69681 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69682 #define $ac_func innocuous_$ac_func
69684 /* System header to define __stub macros and hopefully few prototypes,
69685 which can conflict with char $ac_func (); below.
69686 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69687 <limits.h> exists even on freestanding compilers. */
69689 #ifdef __STDC__
69690 # include <limits.h>
69691 #else
69692 # include <assert.h>
69693 #endif
69695 #undef $ac_func
69697 /* Override any gcc2 internal prototype to avoid an error. */
69698 #ifdef __cplusplus
69699 extern "C"
69701 #endif
69702 /* We use char because int might match the return type of a gcc2
69703 builtin and then its argument prototype would still apply. */
69704 char $ac_func ();
69705 /* The GNU C library defines this for functions which it implements
69706 to always fail with ENOSYS. Some functions are actually named
69707 something starting with __ and the normal name is an alias. */
69708 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69709 choke me
69710 #else
69711 char (*f) () = $ac_func;
69712 #endif
69713 #ifdef __cplusplus
69715 #endif
69718 main ()
69720 return f != $ac_func;
69722 return 0;
69724 _ACEOF
69725 rm -f conftest.$ac_objext conftest$ac_exeext
69726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69727 (eval $ac_link) 2>conftest.er1
69728 ac_status=$?
69729 grep -v '^ *+' conftest.er1 >conftest.err
69730 rm -f conftest.er1
69731 cat conftest.err >&5
69732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69733 (exit $ac_status); } &&
69734 { ac_try='test -z "$ac_c_werror_flag"
69735 || test ! -s conftest.err'
69736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69737 (eval $ac_try) 2>&5
69738 ac_status=$?
69739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69740 (exit $ac_status); }; } &&
69741 { ac_try='test -s conftest$ac_exeext'
69742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69743 (eval $ac_try) 2>&5
69744 ac_status=$?
69745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69746 (exit $ac_status); }; }; then
69747 eval "$as_ac_var=yes"
69748 else
69749 echo "$as_me: failed program was:" >&5
69750 sed 's/^/| /' conftest.$ac_ext >&5
69752 eval "$as_ac_var=no"
69754 rm -f conftest.err conftest.$ac_objext \
69755 conftest$ac_exeext conftest.$ac_ext
69757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69758 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69759 if test `eval echo '${'$as_ac_var'}'` = yes; then
69760 cat >>confdefs.h <<_ACEOF
69761 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69762 _ACEOF
69765 done
69773 echo "$as_me:$LINENO: checking for _float trig functions" >&5
69774 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
69775 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
69776 echo $ECHO_N "(cached) $ECHO_C" >&6
69777 else
69781 ac_ext=cc
69782 ac_cpp='$CXXCPP $CPPFLAGS'
69783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69787 cat >conftest.$ac_ext <<_ACEOF
69788 /* confdefs.h. */
69789 _ACEOF
69790 cat confdefs.h >>conftest.$ac_ext
69791 cat >>conftest.$ac_ext <<_ACEOF
69792 /* end confdefs.h. */
69793 #include <math.h>
69795 main ()
69797 `for x in _acosf _asinf _atanf \
69798 _cosf _sinf _tanf \
69799 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
69801 return 0;
69803 _ACEOF
69804 rm -f conftest.$ac_objext
69805 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69806 (eval $ac_compile) 2>conftest.er1
69807 ac_status=$?
69808 grep -v '^ *+' conftest.er1 >conftest.err
69809 rm -f conftest.er1
69810 cat conftest.err >&5
69811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69812 (exit $ac_status); } &&
69813 { ac_try='test -z "$ac_cxx_werror_flag"
69814 || test ! -s conftest.err'
69815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69816 (eval $ac_try) 2>&5
69817 ac_status=$?
69818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69819 (exit $ac_status); }; } &&
69820 { ac_try='test -s conftest.$ac_objext'
69821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69822 (eval $ac_try) 2>&5
69823 ac_status=$?
69824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69825 (exit $ac_status); }; }; then
69826 glibcxx_cv_func__float_trig_use=yes
69827 else
69828 echo "$as_me: failed program was:" >&5
69829 sed 's/^/| /' conftest.$ac_ext >&5
69831 glibcxx_cv_func__float_trig_use=no
69833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69834 ac_ext=c
69835 ac_cpp='$CPP $CPPFLAGS'
69836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69842 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
69843 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
69844 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
69854 for ac_func in _acosf _asinf _atanf \
69855 _cosf _sinf _tanf \
69856 _coshf _sinhf _tanhf
69858 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69859 echo "$as_me:$LINENO: checking for $ac_func" >&5
69860 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69861 if eval "test \"\${$as_ac_var+set}\" = set"; then
69862 echo $ECHO_N "(cached) $ECHO_C" >&6
69863 else
69864 if test x$gcc_no_link = xyes; then
69865 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69866 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69867 { (exit 1); exit 1; }; }
69869 cat >conftest.$ac_ext <<_ACEOF
69870 /* confdefs.h. */
69871 _ACEOF
69872 cat confdefs.h >>conftest.$ac_ext
69873 cat >>conftest.$ac_ext <<_ACEOF
69874 /* end confdefs.h. */
69875 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69876 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69877 #define $ac_func innocuous_$ac_func
69879 /* System header to define __stub macros and hopefully few prototypes,
69880 which can conflict with char $ac_func (); below.
69881 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69882 <limits.h> exists even on freestanding compilers. */
69884 #ifdef __STDC__
69885 # include <limits.h>
69886 #else
69887 # include <assert.h>
69888 #endif
69890 #undef $ac_func
69892 /* Override any gcc2 internal prototype to avoid an error. */
69893 #ifdef __cplusplus
69894 extern "C"
69896 #endif
69897 /* We use char because int might match the return type of a gcc2
69898 builtin and then its argument prototype would still apply. */
69899 char $ac_func ();
69900 /* The GNU C library defines this for functions which it implements
69901 to always fail with ENOSYS. Some functions are actually named
69902 something starting with __ and the normal name is an alias. */
69903 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69904 choke me
69905 #else
69906 char (*f) () = $ac_func;
69907 #endif
69908 #ifdef __cplusplus
69910 #endif
69913 main ()
69915 return f != $ac_func;
69917 return 0;
69919 _ACEOF
69920 rm -f conftest.$ac_objext conftest$ac_exeext
69921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69922 (eval $ac_link) 2>conftest.er1
69923 ac_status=$?
69924 grep -v '^ *+' conftest.er1 >conftest.err
69925 rm -f conftest.er1
69926 cat conftest.err >&5
69927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69928 (exit $ac_status); } &&
69929 { ac_try='test -z "$ac_c_werror_flag"
69930 || test ! -s conftest.err'
69931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69932 (eval $ac_try) 2>&5
69933 ac_status=$?
69934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69935 (exit $ac_status); }; } &&
69936 { ac_try='test -s conftest$ac_exeext'
69937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69938 (eval $ac_try) 2>&5
69939 ac_status=$?
69940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69941 (exit $ac_status); }; }; then
69942 eval "$as_ac_var=yes"
69943 else
69944 echo "$as_me: failed program was:" >&5
69945 sed 's/^/| /' conftest.$ac_ext >&5
69947 eval "$as_ac_var=no"
69949 rm -f conftest.err conftest.$ac_objext \
69950 conftest$ac_exeext conftest.$ac_ext
69952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69953 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69954 if test `eval echo '${'$as_ac_var'}'` = yes; then
69955 cat >>confdefs.h <<_ACEOF
69956 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69957 _ACEOF
69960 done
69965 echo "$as_me:$LINENO: checking for _float round functions" >&5
69966 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
69967 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
69968 echo $ECHO_N "(cached) $ECHO_C" >&6
69969 else
69973 ac_ext=cc
69974 ac_cpp='$CXXCPP $CPPFLAGS'
69975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69979 cat >conftest.$ac_ext <<_ACEOF
69980 /* confdefs.h. */
69981 _ACEOF
69982 cat confdefs.h >>conftest.$ac_ext
69983 cat >>conftest.$ac_ext <<_ACEOF
69984 /* end confdefs.h. */
69985 #include <math.h>
69987 main ()
69989 `for x in _ceilf _floorf; do echo "$x (0);"; done`
69991 return 0;
69993 _ACEOF
69994 rm -f conftest.$ac_objext
69995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69996 (eval $ac_compile) 2>conftest.er1
69997 ac_status=$?
69998 grep -v '^ *+' conftest.er1 >conftest.err
69999 rm -f conftest.er1
70000 cat conftest.err >&5
70001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70002 (exit $ac_status); } &&
70003 { ac_try='test -z "$ac_cxx_werror_flag"
70004 || test ! -s conftest.err'
70005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70006 (eval $ac_try) 2>&5
70007 ac_status=$?
70008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70009 (exit $ac_status); }; } &&
70010 { ac_try='test -s conftest.$ac_objext'
70011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70012 (eval $ac_try) 2>&5
70013 ac_status=$?
70014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70015 (exit $ac_status); }; }; then
70016 glibcxx_cv_func__float_round_use=yes
70017 else
70018 echo "$as_me: failed program was:" >&5
70019 sed 's/^/| /' conftest.$ac_ext >&5
70021 glibcxx_cv_func__float_round_use=no
70023 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70024 ac_ext=c
70025 ac_cpp='$CPP $CPPFLAGS'
70026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70032 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
70033 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
70034 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
70037 for ac_func in _ceilf _floorf
70039 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70040 echo "$as_me:$LINENO: checking for $ac_func" >&5
70041 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70042 if eval "test \"\${$as_ac_var+set}\" = set"; then
70043 echo $ECHO_N "(cached) $ECHO_C" >&6
70044 else
70045 if test x$gcc_no_link = xyes; then
70046 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70047 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70048 { (exit 1); exit 1; }; }
70050 cat >conftest.$ac_ext <<_ACEOF
70051 /* confdefs.h. */
70052 _ACEOF
70053 cat confdefs.h >>conftest.$ac_ext
70054 cat >>conftest.$ac_ext <<_ACEOF
70055 /* end confdefs.h. */
70056 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70057 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70058 #define $ac_func innocuous_$ac_func
70060 /* System header to define __stub macros and hopefully few prototypes,
70061 which can conflict with char $ac_func (); below.
70062 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70063 <limits.h> exists even on freestanding compilers. */
70065 #ifdef __STDC__
70066 # include <limits.h>
70067 #else
70068 # include <assert.h>
70069 #endif
70071 #undef $ac_func
70073 /* Override any gcc2 internal prototype to avoid an error. */
70074 #ifdef __cplusplus
70075 extern "C"
70077 #endif
70078 /* We use char because int might match the return type of a gcc2
70079 builtin and then its argument prototype would still apply. */
70080 char $ac_func ();
70081 /* The GNU C library defines this for functions which it implements
70082 to always fail with ENOSYS. Some functions are actually named
70083 something starting with __ and the normal name is an alias. */
70084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70085 choke me
70086 #else
70087 char (*f) () = $ac_func;
70088 #endif
70089 #ifdef __cplusplus
70091 #endif
70094 main ()
70096 return f != $ac_func;
70098 return 0;
70100 _ACEOF
70101 rm -f conftest.$ac_objext conftest$ac_exeext
70102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70103 (eval $ac_link) 2>conftest.er1
70104 ac_status=$?
70105 grep -v '^ *+' conftest.er1 >conftest.err
70106 rm -f conftest.er1
70107 cat conftest.err >&5
70108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70109 (exit $ac_status); } &&
70110 { ac_try='test -z "$ac_c_werror_flag"
70111 || test ! -s conftest.err'
70112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70113 (eval $ac_try) 2>&5
70114 ac_status=$?
70115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70116 (exit $ac_status); }; } &&
70117 { ac_try='test -s conftest$ac_exeext'
70118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70119 (eval $ac_try) 2>&5
70120 ac_status=$?
70121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70122 (exit $ac_status); }; }; then
70123 eval "$as_ac_var=yes"
70124 else
70125 echo "$as_me: failed program was:" >&5
70126 sed 's/^/| /' conftest.$ac_ext >&5
70128 eval "$as_ac_var=no"
70130 rm -f conftest.err conftest.$ac_objext \
70131 conftest$ac_exeext conftest.$ac_ext
70133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70134 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70135 if test `eval echo '${'$as_ac_var'}'` = yes; then
70136 cat >>confdefs.h <<_ACEOF
70137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70138 _ACEOF
70141 done
70147 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
70148 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
70149 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
70150 echo $ECHO_N "(cached) $ECHO_C" >&6
70151 else
70155 ac_ext=cc
70156 ac_cpp='$CXXCPP $CPPFLAGS'
70157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70161 cat >conftest.$ac_ext <<_ACEOF
70162 /* confdefs.h. */
70163 _ACEOF
70164 cat confdefs.h >>conftest.$ac_ext
70165 cat >>conftest.$ac_ext <<_ACEOF
70166 /* end confdefs.h. */
70167 #include <math.h>
70169 main ()
70171 `for x in _acosl _asinl _atanl \
70172 _cosl _sinl _tanl \
70173 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
70175 return 0;
70177 _ACEOF
70178 rm -f conftest.$ac_objext
70179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70180 (eval $ac_compile) 2>conftest.er1
70181 ac_status=$?
70182 grep -v '^ *+' conftest.er1 >conftest.err
70183 rm -f conftest.er1
70184 cat conftest.err >&5
70185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70186 (exit $ac_status); } &&
70187 { ac_try='test -z "$ac_cxx_werror_flag"
70188 || test ! -s conftest.err'
70189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70190 (eval $ac_try) 2>&5
70191 ac_status=$?
70192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70193 (exit $ac_status); }; } &&
70194 { ac_try='test -s conftest.$ac_objext'
70195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70196 (eval $ac_try) 2>&5
70197 ac_status=$?
70198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70199 (exit $ac_status); }; }; then
70200 glibcxx_cv_func__long_double_trig_use=yes
70201 else
70202 echo "$as_me: failed program was:" >&5
70203 sed 's/^/| /' conftest.$ac_ext >&5
70205 glibcxx_cv_func__long_double_trig_use=no
70207 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70208 ac_ext=c
70209 ac_cpp='$CPP $CPPFLAGS'
70210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70216 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
70217 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
70218 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
70228 for ac_func in _acosl _asinl _atanl \
70229 _cosl _sinl _tanl \
70230 _coshl _sinhl _tanhl
70232 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70233 echo "$as_me:$LINENO: checking for $ac_func" >&5
70234 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70235 if eval "test \"\${$as_ac_var+set}\" = set"; then
70236 echo $ECHO_N "(cached) $ECHO_C" >&6
70237 else
70238 if test x$gcc_no_link = xyes; then
70239 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70240 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70241 { (exit 1); exit 1; }; }
70243 cat >conftest.$ac_ext <<_ACEOF
70244 /* confdefs.h. */
70245 _ACEOF
70246 cat confdefs.h >>conftest.$ac_ext
70247 cat >>conftest.$ac_ext <<_ACEOF
70248 /* end confdefs.h. */
70249 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70250 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70251 #define $ac_func innocuous_$ac_func
70253 /* System header to define __stub macros and hopefully few prototypes,
70254 which can conflict with char $ac_func (); below.
70255 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70256 <limits.h> exists even on freestanding compilers. */
70258 #ifdef __STDC__
70259 # include <limits.h>
70260 #else
70261 # include <assert.h>
70262 #endif
70264 #undef $ac_func
70266 /* Override any gcc2 internal prototype to avoid an error. */
70267 #ifdef __cplusplus
70268 extern "C"
70270 #endif
70271 /* We use char because int might match the return type of a gcc2
70272 builtin and then its argument prototype would still apply. */
70273 char $ac_func ();
70274 /* The GNU C library defines this for functions which it implements
70275 to always fail with ENOSYS. Some functions are actually named
70276 something starting with __ and the normal name is an alias. */
70277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70278 choke me
70279 #else
70280 char (*f) () = $ac_func;
70281 #endif
70282 #ifdef __cplusplus
70284 #endif
70287 main ()
70289 return f != $ac_func;
70291 return 0;
70293 _ACEOF
70294 rm -f conftest.$ac_objext conftest$ac_exeext
70295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70296 (eval $ac_link) 2>conftest.er1
70297 ac_status=$?
70298 grep -v '^ *+' conftest.er1 >conftest.err
70299 rm -f conftest.er1
70300 cat conftest.err >&5
70301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70302 (exit $ac_status); } &&
70303 { ac_try='test -z "$ac_c_werror_flag"
70304 || test ! -s conftest.err'
70305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70306 (eval $ac_try) 2>&5
70307 ac_status=$?
70308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70309 (exit $ac_status); }; } &&
70310 { ac_try='test -s conftest$ac_exeext'
70311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70312 (eval $ac_try) 2>&5
70313 ac_status=$?
70314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70315 (exit $ac_status); }; }; then
70316 eval "$as_ac_var=yes"
70317 else
70318 echo "$as_me: failed program was:" >&5
70319 sed 's/^/| /' conftest.$ac_ext >&5
70321 eval "$as_ac_var=no"
70323 rm -f conftest.err conftest.$ac_objext \
70324 conftest$ac_exeext conftest.$ac_ext
70326 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70327 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70328 if test `eval echo '${'$as_ac_var'}'` = yes; then
70329 cat >>confdefs.h <<_ACEOF
70330 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70331 _ACEOF
70334 done
70339 echo "$as_me:$LINENO: checking for _long double round functions" >&5
70340 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
70341 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
70342 echo $ECHO_N "(cached) $ECHO_C" >&6
70343 else
70347 ac_ext=cc
70348 ac_cpp='$CXXCPP $CPPFLAGS'
70349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70353 cat >conftest.$ac_ext <<_ACEOF
70354 /* confdefs.h. */
70355 _ACEOF
70356 cat confdefs.h >>conftest.$ac_ext
70357 cat >>conftest.$ac_ext <<_ACEOF
70358 /* end confdefs.h. */
70359 #include <math.h>
70361 main ()
70363 `for x in _ceill _floorl; do echo "$x (0);"; done`
70365 return 0;
70367 _ACEOF
70368 rm -f conftest.$ac_objext
70369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70370 (eval $ac_compile) 2>conftest.er1
70371 ac_status=$?
70372 grep -v '^ *+' conftest.er1 >conftest.err
70373 rm -f conftest.er1
70374 cat conftest.err >&5
70375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70376 (exit $ac_status); } &&
70377 { ac_try='test -z "$ac_cxx_werror_flag"
70378 || 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__long_double_round_use=yes
70391 else
70392 echo "$as_me: failed program was:" >&5
70393 sed 's/^/| /' conftest.$ac_ext >&5
70395 glibcxx_cv_func__long_double_round_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
70406 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
70407 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
70408 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
70411 for ac_func in _ceill _floorl
70413 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70414 echo "$as_me:$LINENO: checking for $ac_func" >&5
70415 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70416 if eval "test \"\${$as_ac_var+set}\" = set"; then
70417 echo $ECHO_N "(cached) $ECHO_C" >&6
70418 else
70419 if test x$gcc_no_link = xyes; then
70420 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70421 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70422 { (exit 1); exit 1; }; }
70424 cat >conftest.$ac_ext <<_ACEOF
70425 /* confdefs.h. */
70426 _ACEOF
70427 cat confdefs.h >>conftest.$ac_ext
70428 cat >>conftest.$ac_ext <<_ACEOF
70429 /* end confdefs.h. */
70430 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70431 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70432 #define $ac_func innocuous_$ac_func
70434 /* System header to define __stub macros and hopefully few prototypes,
70435 which can conflict with char $ac_func (); below.
70436 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70437 <limits.h> exists even on freestanding compilers. */
70439 #ifdef __STDC__
70440 # include <limits.h>
70441 #else
70442 # include <assert.h>
70443 #endif
70445 #undef $ac_func
70447 /* Override any gcc2 internal prototype to avoid an error. */
70448 #ifdef __cplusplus
70449 extern "C"
70451 #endif
70452 /* We use char because int might match the return type of a gcc2
70453 builtin and then its argument prototype would still apply. */
70454 char $ac_func ();
70455 /* The GNU C library defines this for functions which it implements
70456 to always fail with ENOSYS. Some functions are actually named
70457 something starting with __ and the normal name is an alias. */
70458 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70459 choke me
70460 #else
70461 char (*f) () = $ac_func;
70462 #endif
70463 #ifdef __cplusplus
70465 #endif
70468 main ()
70470 return f != $ac_func;
70472 return 0;
70474 _ACEOF
70475 rm -f conftest.$ac_objext conftest$ac_exeext
70476 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70477 (eval $ac_link) 2>conftest.er1
70478 ac_status=$?
70479 grep -v '^ *+' conftest.er1 >conftest.err
70480 rm -f conftest.er1
70481 cat conftest.err >&5
70482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70483 (exit $ac_status); } &&
70484 { ac_try='test -z "$ac_c_werror_flag"
70485 || test ! -s conftest.err'
70486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70487 (eval $ac_try) 2>&5
70488 ac_status=$?
70489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70490 (exit $ac_status); }; } &&
70491 { ac_try='test -s conftest$ac_exeext'
70492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70493 (eval $ac_try) 2>&5
70494 ac_status=$?
70495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70496 (exit $ac_status); }; }; then
70497 eval "$as_ac_var=yes"
70498 else
70499 echo "$as_me: failed program was:" >&5
70500 sed 's/^/| /' conftest.$ac_ext >&5
70502 eval "$as_ac_var=no"
70504 rm -f conftest.err conftest.$ac_objext \
70505 conftest$ac_exeext conftest.$ac_ext
70507 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70508 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70509 if test `eval echo '${'$as_ac_var'}'` = yes; then
70510 cat >>confdefs.h <<_ACEOF
70511 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70512 _ACEOF
70515 done
70520 LIBS="$ac_save_LIBS"
70521 CXXFLAGS="$ac_save_CXXFLAGS"
70525 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
70526 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
70527 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
70528 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
70529 echo $ECHO_N "(cached) $ECHO_C" >&6
70530 else
70534 ac_ext=cc
70535 ac_cpp='$CXXCPP $CPPFLAGS'
70536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70540 cat >conftest.$ac_ext <<_ACEOF
70541 /* confdefs.h. */
70542 _ACEOF
70543 cat confdefs.h >>conftest.$ac_ext
70544 cat >>conftest.$ac_ext <<_ACEOF
70545 /* end confdefs.h. */
70546 #include <math.h>
70548 main ()
70550 __builtin_abs(0);
70552 return 0;
70554 _ACEOF
70555 rm -f conftest.$ac_objext
70556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70557 (eval $ac_compile) 2>conftest.er1
70558 ac_status=$?
70559 grep -v '^ *+' conftest.er1 >conftest.err
70560 rm -f conftest.er1
70561 cat conftest.err >&5
70562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70563 (exit $ac_status); } &&
70564 { ac_try='test -z "$ac_cxx_werror_flag"
70565 || test ! -s conftest.err'
70566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70567 (eval $ac_try) 2>&5
70568 ac_status=$?
70569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70570 (exit $ac_status); }; } &&
70571 { ac_try='test -s conftest.$ac_objext'
70572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70573 (eval $ac_try) 2>&5
70574 ac_status=$?
70575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70576 (exit $ac_status); }; }; then
70577 glibcxx_cv_func___builtin_abs_use=yes
70578 else
70579 echo "$as_me: failed program was:" >&5
70580 sed 's/^/| /' conftest.$ac_ext >&5
70582 glibcxx_cv_func___builtin_abs_use=no
70584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70585 ac_ext=c
70586 ac_cpp='$CPP $CPPFLAGS'
70587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70595 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
70596 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
70597 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
70598 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
70599 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
70600 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
70601 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
70602 echo $ECHO_N "(cached) $ECHO_C" >&6
70603 else
70605 if test x$gcc_no_link = xyes; then
70606 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70607 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70608 { (exit 1); exit 1; }; }
70610 cat >conftest.$ac_ext <<_ACEOF
70611 /* confdefs.h. */
70612 _ACEOF
70613 cat confdefs.h >>conftest.$ac_ext
70614 cat >>conftest.$ac_ext <<_ACEOF
70615 /* end confdefs.h. */
70616 #include <math.h>
70618 main ()
70620 __builtin_abs(0);
70622 return 0;
70624 _ACEOF
70625 rm -f conftest.$ac_objext conftest$ac_exeext
70626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70627 (eval $ac_link) 2>conftest.er1
70628 ac_status=$?
70629 grep -v '^ *+' conftest.er1 >conftest.err
70630 rm -f conftest.er1
70631 cat conftest.err >&5
70632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70633 (exit $ac_status); } &&
70634 { ac_try='test -z "$ac_c_werror_flag"
70635 || test ! -s conftest.err'
70636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70637 (eval $ac_try) 2>&5
70638 ac_status=$?
70639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70640 (exit $ac_status); }; } &&
70641 { ac_try='test -s conftest$ac_exeext'
70642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70643 (eval $ac_try) 2>&5
70644 ac_status=$?
70645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70646 (exit $ac_status); }; }; then
70647 glibcxx_cv_func___builtin_abs_link=yes
70648 else
70649 echo "$as_me: failed program was:" >&5
70650 sed 's/^/| /' conftest.$ac_ext >&5
70652 glibcxx_cv_func___builtin_abs_link=no
70654 rm -f conftest.err conftest.$ac_objext \
70655 conftest$ac_exeext conftest.$ac_ext
70660 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
70661 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
70662 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
70663 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
70665 cat >>confdefs.h <<_ACEOF
70666 #define ${ac_tr_func} 1
70667 _ACEOF
70673 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
70674 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
70675 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
70676 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
70677 echo $ECHO_N "(cached) $ECHO_C" >&6
70678 else
70682 ac_ext=cc
70683 ac_cpp='$CXXCPP $CPPFLAGS'
70684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70688 cat >conftest.$ac_ext <<_ACEOF
70689 /* confdefs.h. */
70690 _ACEOF
70691 cat confdefs.h >>conftest.$ac_ext
70692 cat >>conftest.$ac_ext <<_ACEOF
70693 /* end confdefs.h. */
70694 #include <math.h>
70696 main ()
70698 __builtin_fabsf(0);
70700 return 0;
70702 _ACEOF
70703 rm -f conftest.$ac_objext
70704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70705 (eval $ac_compile) 2>conftest.er1
70706 ac_status=$?
70707 grep -v '^ *+' conftest.er1 >conftest.err
70708 rm -f conftest.er1
70709 cat conftest.err >&5
70710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70711 (exit $ac_status); } &&
70712 { ac_try='test -z "$ac_cxx_werror_flag"
70713 || test ! -s conftest.err'
70714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70715 (eval $ac_try) 2>&5
70716 ac_status=$?
70717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70718 (exit $ac_status); }; } &&
70719 { ac_try='test -s conftest.$ac_objext'
70720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70721 (eval $ac_try) 2>&5
70722 ac_status=$?
70723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70724 (exit $ac_status); }; }; then
70725 glibcxx_cv_func___builtin_fabsf_use=yes
70726 else
70727 echo "$as_me: failed program was:" >&5
70728 sed 's/^/| /' conftest.$ac_ext >&5
70730 glibcxx_cv_func___builtin_fabsf_use=no
70732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70733 ac_ext=c
70734 ac_cpp='$CPP $CPPFLAGS'
70735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70743 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
70744 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
70745 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
70746 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
70747 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
70748 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
70749 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
70750 echo $ECHO_N "(cached) $ECHO_C" >&6
70751 else
70753 if test x$gcc_no_link = xyes; then
70754 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70755 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70756 { (exit 1); exit 1; }; }
70758 cat >conftest.$ac_ext <<_ACEOF
70759 /* confdefs.h. */
70760 _ACEOF
70761 cat confdefs.h >>conftest.$ac_ext
70762 cat >>conftest.$ac_ext <<_ACEOF
70763 /* end confdefs.h. */
70764 #include <math.h>
70766 main ()
70768 __builtin_fabsf(0);
70770 return 0;
70772 _ACEOF
70773 rm -f conftest.$ac_objext conftest$ac_exeext
70774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70775 (eval $ac_link) 2>conftest.er1
70776 ac_status=$?
70777 grep -v '^ *+' conftest.er1 >conftest.err
70778 rm -f conftest.er1
70779 cat conftest.err >&5
70780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70781 (exit $ac_status); } &&
70782 { ac_try='test -z "$ac_c_werror_flag"
70783 || test ! -s conftest.err'
70784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70785 (eval $ac_try) 2>&5
70786 ac_status=$?
70787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70788 (exit $ac_status); }; } &&
70789 { ac_try='test -s conftest$ac_exeext'
70790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70791 (eval $ac_try) 2>&5
70792 ac_status=$?
70793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70794 (exit $ac_status); }; }; then
70795 glibcxx_cv_func___builtin_fabsf_link=yes
70796 else
70797 echo "$as_me: failed program was:" >&5
70798 sed 's/^/| /' conftest.$ac_ext >&5
70800 glibcxx_cv_func___builtin_fabsf_link=no
70802 rm -f conftest.err conftest.$ac_objext \
70803 conftest$ac_exeext conftest.$ac_ext
70808 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
70809 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
70810 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
70811 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
70813 cat >>confdefs.h <<_ACEOF
70814 #define ${ac_tr_func} 1
70815 _ACEOF
70821 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
70822 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
70823 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
70824 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
70825 echo $ECHO_N "(cached) $ECHO_C" >&6
70826 else
70830 ac_ext=cc
70831 ac_cpp='$CXXCPP $CPPFLAGS'
70832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70836 cat >conftest.$ac_ext <<_ACEOF
70837 /* confdefs.h. */
70838 _ACEOF
70839 cat confdefs.h >>conftest.$ac_ext
70840 cat >>conftest.$ac_ext <<_ACEOF
70841 /* end confdefs.h. */
70842 #include <math.h>
70844 main ()
70846 __builtin_fabs(0);
70848 return 0;
70850 _ACEOF
70851 rm -f conftest.$ac_objext
70852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70853 (eval $ac_compile) 2>conftest.er1
70854 ac_status=$?
70855 grep -v '^ *+' conftest.er1 >conftest.err
70856 rm -f conftest.er1
70857 cat conftest.err >&5
70858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70859 (exit $ac_status); } &&
70860 { ac_try='test -z "$ac_cxx_werror_flag"
70861 || test ! -s conftest.err'
70862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70863 (eval $ac_try) 2>&5
70864 ac_status=$?
70865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70866 (exit $ac_status); }; } &&
70867 { ac_try='test -s conftest.$ac_objext'
70868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70869 (eval $ac_try) 2>&5
70870 ac_status=$?
70871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70872 (exit $ac_status); }; }; then
70873 glibcxx_cv_func___builtin_fabs_use=yes
70874 else
70875 echo "$as_me: failed program was:" >&5
70876 sed 's/^/| /' conftest.$ac_ext >&5
70878 glibcxx_cv_func___builtin_fabs_use=no
70880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70881 ac_ext=c
70882 ac_cpp='$CPP $CPPFLAGS'
70883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70891 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
70892 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
70893 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
70894 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
70895 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
70896 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
70897 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
70898 echo $ECHO_N "(cached) $ECHO_C" >&6
70899 else
70901 if test x$gcc_no_link = xyes; then
70902 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70903 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70904 { (exit 1); exit 1; }; }
70906 cat >conftest.$ac_ext <<_ACEOF
70907 /* confdefs.h. */
70908 _ACEOF
70909 cat confdefs.h >>conftest.$ac_ext
70910 cat >>conftest.$ac_ext <<_ACEOF
70911 /* end confdefs.h. */
70912 #include <math.h>
70914 main ()
70916 __builtin_fabs(0);
70918 return 0;
70920 _ACEOF
70921 rm -f conftest.$ac_objext conftest$ac_exeext
70922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70923 (eval $ac_link) 2>conftest.er1
70924 ac_status=$?
70925 grep -v '^ *+' conftest.er1 >conftest.err
70926 rm -f conftest.er1
70927 cat conftest.err >&5
70928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70929 (exit $ac_status); } &&
70930 { ac_try='test -z "$ac_c_werror_flag"
70931 || test ! -s conftest.err'
70932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70933 (eval $ac_try) 2>&5
70934 ac_status=$?
70935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70936 (exit $ac_status); }; } &&
70937 { ac_try='test -s conftest$ac_exeext'
70938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70939 (eval $ac_try) 2>&5
70940 ac_status=$?
70941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70942 (exit $ac_status); }; }; then
70943 glibcxx_cv_func___builtin_fabs_link=yes
70944 else
70945 echo "$as_me: failed program was:" >&5
70946 sed 's/^/| /' conftest.$ac_ext >&5
70948 glibcxx_cv_func___builtin_fabs_link=no
70950 rm -f conftest.err conftest.$ac_objext \
70951 conftest$ac_exeext conftest.$ac_ext
70956 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
70957 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
70958 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
70959 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
70961 cat >>confdefs.h <<_ACEOF
70962 #define ${ac_tr_func} 1
70963 _ACEOF
70969 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
70970 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
70971 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
70972 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
70973 echo $ECHO_N "(cached) $ECHO_C" >&6
70974 else
70978 ac_ext=cc
70979 ac_cpp='$CXXCPP $CPPFLAGS'
70980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70984 cat >conftest.$ac_ext <<_ACEOF
70985 /* confdefs.h. */
70986 _ACEOF
70987 cat confdefs.h >>conftest.$ac_ext
70988 cat >>conftest.$ac_ext <<_ACEOF
70989 /* end confdefs.h. */
70990 #include <math.h>
70992 main ()
70994 __builtin_fabsl(0);
70996 return 0;
70998 _ACEOF
70999 rm -f conftest.$ac_objext
71000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71001 (eval $ac_compile) 2>conftest.er1
71002 ac_status=$?
71003 grep -v '^ *+' conftest.er1 >conftest.err
71004 rm -f conftest.er1
71005 cat conftest.err >&5
71006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71007 (exit $ac_status); } &&
71008 { ac_try='test -z "$ac_cxx_werror_flag"
71009 || test ! -s conftest.err'
71010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71011 (eval $ac_try) 2>&5
71012 ac_status=$?
71013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71014 (exit $ac_status); }; } &&
71015 { ac_try='test -s conftest.$ac_objext'
71016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71017 (eval $ac_try) 2>&5
71018 ac_status=$?
71019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71020 (exit $ac_status); }; }; then
71021 glibcxx_cv_func___builtin_fabsl_use=yes
71022 else
71023 echo "$as_me: failed program was:" >&5
71024 sed 's/^/| /' conftest.$ac_ext >&5
71026 glibcxx_cv_func___builtin_fabsl_use=no
71028 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71029 ac_ext=c
71030 ac_cpp='$CPP $CPPFLAGS'
71031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71039 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
71040 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
71041 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
71042 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
71043 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
71044 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
71045 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
71046 echo $ECHO_N "(cached) $ECHO_C" >&6
71047 else
71049 if test x$gcc_no_link = xyes; then
71050 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71051 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71052 { (exit 1); exit 1; }; }
71054 cat >conftest.$ac_ext <<_ACEOF
71055 /* confdefs.h. */
71056 _ACEOF
71057 cat confdefs.h >>conftest.$ac_ext
71058 cat >>conftest.$ac_ext <<_ACEOF
71059 /* end confdefs.h. */
71060 #include <math.h>
71062 main ()
71064 __builtin_fabsl(0);
71066 return 0;
71068 _ACEOF
71069 rm -f conftest.$ac_objext conftest$ac_exeext
71070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71071 (eval $ac_link) 2>conftest.er1
71072 ac_status=$?
71073 grep -v '^ *+' conftest.er1 >conftest.err
71074 rm -f conftest.er1
71075 cat conftest.err >&5
71076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71077 (exit $ac_status); } &&
71078 { ac_try='test -z "$ac_c_werror_flag"
71079 || test ! -s conftest.err'
71080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71081 (eval $ac_try) 2>&5
71082 ac_status=$?
71083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71084 (exit $ac_status); }; } &&
71085 { ac_try='test -s conftest$ac_exeext'
71086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71087 (eval $ac_try) 2>&5
71088 ac_status=$?
71089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71090 (exit $ac_status); }; }; then
71091 glibcxx_cv_func___builtin_fabsl_link=yes
71092 else
71093 echo "$as_me: failed program was:" >&5
71094 sed 's/^/| /' conftest.$ac_ext >&5
71096 glibcxx_cv_func___builtin_fabsl_link=no
71098 rm -f conftest.err conftest.$ac_objext \
71099 conftest$ac_exeext conftest.$ac_ext
71104 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
71105 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
71106 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
71107 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71109 cat >>confdefs.h <<_ACEOF
71110 #define ${ac_tr_func} 1
71111 _ACEOF
71117 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
71118 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
71119 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
71120 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
71121 echo $ECHO_N "(cached) $ECHO_C" >&6
71122 else
71126 ac_ext=cc
71127 ac_cpp='$CXXCPP $CPPFLAGS'
71128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71132 cat >conftest.$ac_ext <<_ACEOF
71133 /* confdefs.h. */
71134 _ACEOF
71135 cat confdefs.h >>conftest.$ac_ext
71136 cat >>conftest.$ac_ext <<_ACEOF
71137 /* end confdefs.h. */
71138 #include <math.h>
71140 main ()
71142 __builtin_labs(0);
71144 return 0;
71146 _ACEOF
71147 rm -f conftest.$ac_objext
71148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71149 (eval $ac_compile) 2>conftest.er1
71150 ac_status=$?
71151 grep -v '^ *+' conftest.er1 >conftest.err
71152 rm -f conftest.er1
71153 cat conftest.err >&5
71154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71155 (exit $ac_status); } &&
71156 { ac_try='test -z "$ac_cxx_werror_flag"
71157 || test ! -s conftest.err'
71158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71159 (eval $ac_try) 2>&5
71160 ac_status=$?
71161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71162 (exit $ac_status); }; } &&
71163 { ac_try='test -s conftest.$ac_objext'
71164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71165 (eval $ac_try) 2>&5
71166 ac_status=$?
71167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71168 (exit $ac_status); }; }; then
71169 glibcxx_cv_func___builtin_labs_use=yes
71170 else
71171 echo "$as_me: failed program was:" >&5
71172 sed 's/^/| /' conftest.$ac_ext >&5
71174 glibcxx_cv_func___builtin_labs_use=no
71176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71177 ac_ext=c
71178 ac_cpp='$CPP $CPPFLAGS'
71179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71187 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
71188 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
71189 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
71190 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
71191 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
71192 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
71193 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
71194 echo $ECHO_N "(cached) $ECHO_C" >&6
71195 else
71197 if test x$gcc_no_link = xyes; then
71198 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71199 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71200 { (exit 1); exit 1; }; }
71202 cat >conftest.$ac_ext <<_ACEOF
71203 /* confdefs.h. */
71204 _ACEOF
71205 cat confdefs.h >>conftest.$ac_ext
71206 cat >>conftest.$ac_ext <<_ACEOF
71207 /* end confdefs.h. */
71208 #include <math.h>
71210 main ()
71212 __builtin_labs(0);
71214 return 0;
71216 _ACEOF
71217 rm -f conftest.$ac_objext conftest$ac_exeext
71218 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71219 (eval $ac_link) 2>conftest.er1
71220 ac_status=$?
71221 grep -v '^ *+' conftest.er1 >conftest.err
71222 rm -f conftest.er1
71223 cat conftest.err >&5
71224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71225 (exit $ac_status); } &&
71226 { ac_try='test -z "$ac_c_werror_flag"
71227 || test ! -s conftest.err'
71228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71229 (eval $ac_try) 2>&5
71230 ac_status=$?
71231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71232 (exit $ac_status); }; } &&
71233 { ac_try='test -s conftest$ac_exeext'
71234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71235 (eval $ac_try) 2>&5
71236 ac_status=$?
71237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71238 (exit $ac_status); }; }; then
71239 glibcxx_cv_func___builtin_labs_link=yes
71240 else
71241 echo "$as_me: failed program was:" >&5
71242 sed 's/^/| /' conftest.$ac_ext >&5
71244 glibcxx_cv_func___builtin_labs_link=no
71246 rm -f conftest.err conftest.$ac_objext \
71247 conftest$ac_exeext conftest.$ac_ext
71252 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
71253 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
71254 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
71255 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71257 cat >>confdefs.h <<_ACEOF
71258 #define ${ac_tr_func} 1
71259 _ACEOF
71266 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
71267 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
71268 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
71269 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
71270 echo $ECHO_N "(cached) $ECHO_C" >&6
71271 else
71275 ac_ext=cc
71276 ac_cpp='$CXXCPP $CPPFLAGS'
71277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71281 cat >conftest.$ac_ext <<_ACEOF
71282 /* confdefs.h. */
71283 _ACEOF
71284 cat confdefs.h >>conftest.$ac_ext
71285 cat >>conftest.$ac_ext <<_ACEOF
71286 /* end confdefs.h. */
71287 #include <math.h>
71289 main ()
71291 __builtin_sqrtf(0);
71293 return 0;
71295 _ACEOF
71296 rm -f conftest.$ac_objext
71297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71298 (eval $ac_compile) 2>conftest.er1
71299 ac_status=$?
71300 grep -v '^ *+' conftest.er1 >conftest.err
71301 rm -f conftest.er1
71302 cat conftest.err >&5
71303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71304 (exit $ac_status); } &&
71305 { ac_try='test -z "$ac_cxx_werror_flag"
71306 || test ! -s conftest.err'
71307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71308 (eval $ac_try) 2>&5
71309 ac_status=$?
71310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71311 (exit $ac_status); }; } &&
71312 { ac_try='test -s conftest.$ac_objext'
71313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71314 (eval $ac_try) 2>&5
71315 ac_status=$?
71316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71317 (exit $ac_status); }; }; then
71318 glibcxx_cv_func___builtin_sqrtf_use=yes
71319 else
71320 echo "$as_me: failed program was:" >&5
71321 sed 's/^/| /' conftest.$ac_ext >&5
71323 glibcxx_cv_func___builtin_sqrtf_use=no
71325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71326 ac_ext=c
71327 ac_cpp='$CPP $CPPFLAGS'
71328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71336 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
71337 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
71338 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
71339 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
71340 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
71341 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
71342 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
71343 echo $ECHO_N "(cached) $ECHO_C" >&6
71344 else
71346 if test x$gcc_no_link = xyes; then
71347 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71348 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71349 { (exit 1); exit 1; }; }
71351 cat >conftest.$ac_ext <<_ACEOF
71352 /* confdefs.h. */
71353 _ACEOF
71354 cat confdefs.h >>conftest.$ac_ext
71355 cat >>conftest.$ac_ext <<_ACEOF
71356 /* end confdefs.h. */
71357 #include <math.h>
71359 main ()
71361 __builtin_sqrtf(0);
71363 return 0;
71365 _ACEOF
71366 rm -f conftest.$ac_objext conftest$ac_exeext
71367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71368 (eval $ac_link) 2>conftest.er1
71369 ac_status=$?
71370 grep -v '^ *+' conftest.er1 >conftest.err
71371 rm -f conftest.er1
71372 cat conftest.err >&5
71373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71374 (exit $ac_status); } &&
71375 { ac_try='test -z "$ac_c_werror_flag"
71376 || test ! -s conftest.err'
71377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71378 (eval $ac_try) 2>&5
71379 ac_status=$?
71380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71381 (exit $ac_status); }; } &&
71382 { ac_try='test -s conftest$ac_exeext'
71383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71384 (eval $ac_try) 2>&5
71385 ac_status=$?
71386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71387 (exit $ac_status); }; }; then
71388 glibcxx_cv_func___builtin_sqrtf_link=yes
71389 else
71390 echo "$as_me: failed program was:" >&5
71391 sed 's/^/| /' conftest.$ac_ext >&5
71393 glibcxx_cv_func___builtin_sqrtf_link=no
71395 rm -f conftest.err conftest.$ac_objext \
71396 conftest$ac_exeext conftest.$ac_ext
71401 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
71402 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
71403 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
71404 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71406 cat >>confdefs.h <<_ACEOF
71407 #define ${ac_tr_func} 1
71408 _ACEOF
71414 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
71415 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
71416 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
71417 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
71418 echo $ECHO_N "(cached) $ECHO_C" >&6
71419 else
71423 ac_ext=cc
71424 ac_cpp='$CXXCPP $CPPFLAGS'
71425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71429 cat >conftest.$ac_ext <<_ACEOF
71430 /* confdefs.h. */
71431 _ACEOF
71432 cat confdefs.h >>conftest.$ac_ext
71433 cat >>conftest.$ac_ext <<_ACEOF
71434 /* end confdefs.h. */
71435 #include <math.h>
71437 main ()
71439 __builtin_sqrt(0);
71441 return 0;
71443 _ACEOF
71444 rm -f conftest.$ac_objext
71445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71446 (eval $ac_compile) 2>conftest.er1
71447 ac_status=$?
71448 grep -v '^ *+' conftest.er1 >conftest.err
71449 rm -f conftest.er1
71450 cat conftest.err >&5
71451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71452 (exit $ac_status); } &&
71453 { ac_try='test -z "$ac_cxx_werror_flag"
71454 || test ! -s conftest.err'
71455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71456 (eval $ac_try) 2>&5
71457 ac_status=$?
71458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71459 (exit $ac_status); }; } &&
71460 { ac_try='test -s conftest.$ac_objext'
71461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71462 (eval $ac_try) 2>&5
71463 ac_status=$?
71464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71465 (exit $ac_status); }; }; then
71466 glibcxx_cv_func___builtin_sqrt_use=yes
71467 else
71468 echo "$as_me: failed program was:" >&5
71469 sed 's/^/| /' conftest.$ac_ext >&5
71471 glibcxx_cv_func___builtin_sqrt_use=no
71473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71474 ac_ext=c
71475 ac_cpp='$CPP $CPPFLAGS'
71476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71484 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
71485 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
71486 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
71487 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
71488 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
71489 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
71490 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
71491 echo $ECHO_N "(cached) $ECHO_C" >&6
71492 else
71494 if test x$gcc_no_link = xyes; then
71495 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71496 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71497 { (exit 1); exit 1; }; }
71499 cat >conftest.$ac_ext <<_ACEOF
71500 /* confdefs.h. */
71501 _ACEOF
71502 cat confdefs.h >>conftest.$ac_ext
71503 cat >>conftest.$ac_ext <<_ACEOF
71504 /* end confdefs.h. */
71505 #include <math.h>
71507 main ()
71509 __builtin_sqrt(0);
71511 return 0;
71513 _ACEOF
71514 rm -f conftest.$ac_objext conftest$ac_exeext
71515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71516 (eval $ac_link) 2>conftest.er1
71517 ac_status=$?
71518 grep -v '^ *+' conftest.er1 >conftest.err
71519 rm -f conftest.er1
71520 cat conftest.err >&5
71521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71522 (exit $ac_status); } &&
71523 { ac_try='test -z "$ac_c_werror_flag"
71524 || test ! -s conftest.err'
71525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71526 (eval $ac_try) 2>&5
71527 ac_status=$?
71528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71529 (exit $ac_status); }; } &&
71530 { ac_try='test -s conftest$ac_exeext'
71531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71532 (eval $ac_try) 2>&5
71533 ac_status=$?
71534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71535 (exit $ac_status); }; }; then
71536 glibcxx_cv_func___builtin_sqrt_link=yes
71537 else
71538 echo "$as_me: failed program was:" >&5
71539 sed 's/^/| /' conftest.$ac_ext >&5
71541 glibcxx_cv_func___builtin_sqrt_link=no
71543 rm -f conftest.err conftest.$ac_objext \
71544 conftest$ac_exeext conftest.$ac_ext
71549 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
71550 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
71551 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
71552 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71554 cat >>confdefs.h <<_ACEOF
71555 #define ${ac_tr_func} 1
71556 _ACEOF
71562 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
71563 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
71564 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
71565 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
71566 echo $ECHO_N "(cached) $ECHO_C" >&6
71567 else
71571 ac_ext=cc
71572 ac_cpp='$CXXCPP $CPPFLAGS'
71573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71577 cat >conftest.$ac_ext <<_ACEOF
71578 /* confdefs.h. */
71579 _ACEOF
71580 cat confdefs.h >>conftest.$ac_ext
71581 cat >>conftest.$ac_ext <<_ACEOF
71582 /* end confdefs.h. */
71583 #include <math.h>
71585 main ()
71587 __builtin_sqrtl(0);
71589 return 0;
71591 _ACEOF
71592 rm -f conftest.$ac_objext
71593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71594 (eval $ac_compile) 2>conftest.er1
71595 ac_status=$?
71596 grep -v '^ *+' conftest.er1 >conftest.err
71597 rm -f conftest.er1
71598 cat conftest.err >&5
71599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71600 (exit $ac_status); } &&
71601 { ac_try='test -z "$ac_cxx_werror_flag"
71602 || test ! -s conftest.err'
71603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71604 (eval $ac_try) 2>&5
71605 ac_status=$?
71606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71607 (exit $ac_status); }; } &&
71608 { ac_try='test -s conftest.$ac_objext'
71609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71610 (eval $ac_try) 2>&5
71611 ac_status=$?
71612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71613 (exit $ac_status); }; }; then
71614 glibcxx_cv_func___builtin_sqrtl_use=yes
71615 else
71616 echo "$as_me: failed program was:" >&5
71617 sed 's/^/| /' conftest.$ac_ext >&5
71619 glibcxx_cv_func___builtin_sqrtl_use=no
71621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71622 ac_ext=c
71623 ac_cpp='$CPP $CPPFLAGS'
71624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71632 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
71633 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
71634 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
71635 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
71636 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
71637 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
71638 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
71639 echo $ECHO_N "(cached) $ECHO_C" >&6
71640 else
71642 if test x$gcc_no_link = xyes; then
71643 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71644 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71645 { (exit 1); exit 1; }; }
71647 cat >conftest.$ac_ext <<_ACEOF
71648 /* confdefs.h. */
71649 _ACEOF
71650 cat confdefs.h >>conftest.$ac_ext
71651 cat >>conftest.$ac_ext <<_ACEOF
71652 /* end confdefs.h. */
71653 #include <math.h>
71655 main ()
71657 __builtin_sqrtl(0);
71659 return 0;
71661 _ACEOF
71662 rm -f conftest.$ac_objext conftest$ac_exeext
71663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71664 (eval $ac_link) 2>conftest.er1
71665 ac_status=$?
71666 grep -v '^ *+' conftest.er1 >conftest.err
71667 rm -f conftest.er1
71668 cat conftest.err >&5
71669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71670 (exit $ac_status); } &&
71671 { ac_try='test -z "$ac_c_werror_flag"
71672 || test ! -s conftest.err'
71673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71674 (eval $ac_try) 2>&5
71675 ac_status=$?
71676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71677 (exit $ac_status); }; } &&
71678 { ac_try='test -s conftest$ac_exeext'
71679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71680 (eval $ac_try) 2>&5
71681 ac_status=$?
71682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71683 (exit $ac_status); }; }; then
71684 glibcxx_cv_func___builtin_sqrtl_link=yes
71685 else
71686 echo "$as_me: failed program was:" >&5
71687 sed 's/^/| /' conftest.$ac_ext >&5
71689 glibcxx_cv_func___builtin_sqrtl_link=no
71691 rm -f conftest.err conftest.$ac_objext \
71692 conftest$ac_exeext conftest.$ac_ext
71697 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
71698 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
71699 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
71700 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71702 cat >>confdefs.h <<_ACEOF
71703 #define ${ac_tr_func} 1
71704 _ACEOF
71711 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
71712 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
71713 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
71714 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
71715 echo $ECHO_N "(cached) $ECHO_C" >&6
71716 else
71720 ac_ext=cc
71721 ac_cpp='$CXXCPP $CPPFLAGS'
71722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71726 cat >conftest.$ac_ext <<_ACEOF
71727 /* confdefs.h. */
71728 _ACEOF
71729 cat confdefs.h >>conftest.$ac_ext
71730 cat >>conftest.$ac_ext <<_ACEOF
71731 /* end confdefs.h. */
71732 #include <math.h>
71734 main ()
71736 __builtin_sinf(0);
71738 return 0;
71740 _ACEOF
71741 rm -f conftest.$ac_objext
71742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71743 (eval $ac_compile) 2>conftest.er1
71744 ac_status=$?
71745 grep -v '^ *+' conftest.er1 >conftest.err
71746 rm -f conftest.er1
71747 cat conftest.err >&5
71748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71749 (exit $ac_status); } &&
71750 { ac_try='test -z "$ac_cxx_werror_flag"
71751 || test ! -s conftest.err'
71752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71753 (eval $ac_try) 2>&5
71754 ac_status=$?
71755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71756 (exit $ac_status); }; } &&
71757 { ac_try='test -s conftest.$ac_objext'
71758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71759 (eval $ac_try) 2>&5
71760 ac_status=$?
71761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71762 (exit $ac_status); }; }; then
71763 glibcxx_cv_func___builtin_sinf_use=yes
71764 else
71765 echo "$as_me: failed program was:" >&5
71766 sed 's/^/| /' conftest.$ac_ext >&5
71768 glibcxx_cv_func___builtin_sinf_use=no
71770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71771 ac_ext=c
71772 ac_cpp='$CPP $CPPFLAGS'
71773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71781 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
71782 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
71783 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
71784 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
71785 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
71786 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
71787 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
71788 echo $ECHO_N "(cached) $ECHO_C" >&6
71789 else
71791 if test x$gcc_no_link = xyes; then
71792 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71793 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71794 { (exit 1); exit 1; }; }
71796 cat >conftest.$ac_ext <<_ACEOF
71797 /* confdefs.h. */
71798 _ACEOF
71799 cat confdefs.h >>conftest.$ac_ext
71800 cat >>conftest.$ac_ext <<_ACEOF
71801 /* end confdefs.h. */
71802 #include <math.h>
71804 main ()
71806 __builtin_sinf(0);
71808 return 0;
71810 _ACEOF
71811 rm -f conftest.$ac_objext conftest$ac_exeext
71812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71813 (eval $ac_link) 2>conftest.er1
71814 ac_status=$?
71815 grep -v '^ *+' conftest.er1 >conftest.err
71816 rm -f conftest.er1
71817 cat conftest.err >&5
71818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71819 (exit $ac_status); } &&
71820 { ac_try='test -z "$ac_c_werror_flag"
71821 || test ! -s conftest.err'
71822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71823 (eval $ac_try) 2>&5
71824 ac_status=$?
71825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71826 (exit $ac_status); }; } &&
71827 { ac_try='test -s conftest$ac_exeext'
71828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71829 (eval $ac_try) 2>&5
71830 ac_status=$?
71831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71832 (exit $ac_status); }; }; then
71833 glibcxx_cv_func___builtin_sinf_link=yes
71834 else
71835 echo "$as_me: failed program was:" >&5
71836 sed 's/^/| /' conftest.$ac_ext >&5
71838 glibcxx_cv_func___builtin_sinf_link=no
71840 rm -f conftest.err conftest.$ac_objext \
71841 conftest$ac_exeext conftest.$ac_ext
71846 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
71847 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
71848 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
71849 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71851 cat >>confdefs.h <<_ACEOF
71852 #define ${ac_tr_func} 1
71853 _ACEOF
71859 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
71860 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
71861 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
71862 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
71863 echo $ECHO_N "(cached) $ECHO_C" >&6
71864 else
71868 ac_ext=cc
71869 ac_cpp='$CXXCPP $CPPFLAGS'
71870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71874 cat >conftest.$ac_ext <<_ACEOF
71875 /* confdefs.h. */
71876 _ACEOF
71877 cat confdefs.h >>conftest.$ac_ext
71878 cat >>conftest.$ac_ext <<_ACEOF
71879 /* end confdefs.h. */
71880 #include <math.h>
71882 main ()
71884 __builtin_sin(0);
71886 return 0;
71888 _ACEOF
71889 rm -f conftest.$ac_objext
71890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71891 (eval $ac_compile) 2>conftest.er1
71892 ac_status=$?
71893 grep -v '^ *+' conftest.er1 >conftest.err
71894 rm -f conftest.er1
71895 cat conftest.err >&5
71896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71897 (exit $ac_status); } &&
71898 { ac_try='test -z "$ac_cxx_werror_flag"
71899 || test ! -s conftest.err'
71900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71901 (eval $ac_try) 2>&5
71902 ac_status=$?
71903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71904 (exit $ac_status); }; } &&
71905 { ac_try='test -s conftest.$ac_objext'
71906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71907 (eval $ac_try) 2>&5
71908 ac_status=$?
71909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71910 (exit $ac_status); }; }; then
71911 glibcxx_cv_func___builtin_sin_use=yes
71912 else
71913 echo "$as_me: failed program was:" >&5
71914 sed 's/^/| /' conftest.$ac_ext >&5
71916 glibcxx_cv_func___builtin_sin_use=no
71918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71919 ac_ext=c
71920 ac_cpp='$CPP $CPPFLAGS'
71921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71929 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
71930 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
71931 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
71932 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
71933 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
71934 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
71935 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
71936 echo $ECHO_N "(cached) $ECHO_C" >&6
71937 else
71939 if test x$gcc_no_link = xyes; then
71940 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71941 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71942 { (exit 1); exit 1; }; }
71944 cat >conftest.$ac_ext <<_ACEOF
71945 /* confdefs.h. */
71946 _ACEOF
71947 cat confdefs.h >>conftest.$ac_ext
71948 cat >>conftest.$ac_ext <<_ACEOF
71949 /* end confdefs.h. */
71950 #include <math.h>
71952 main ()
71954 __builtin_sin(0);
71956 return 0;
71958 _ACEOF
71959 rm -f conftest.$ac_objext conftest$ac_exeext
71960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71961 (eval $ac_link) 2>conftest.er1
71962 ac_status=$?
71963 grep -v '^ *+' conftest.er1 >conftest.err
71964 rm -f conftest.er1
71965 cat conftest.err >&5
71966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71967 (exit $ac_status); } &&
71968 { ac_try='test -z "$ac_c_werror_flag"
71969 || test ! -s conftest.err'
71970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71971 (eval $ac_try) 2>&5
71972 ac_status=$?
71973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71974 (exit $ac_status); }; } &&
71975 { ac_try='test -s conftest$ac_exeext'
71976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71977 (eval $ac_try) 2>&5
71978 ac_status=$?
71979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71980 (exit $ac_status); }; }; then
71981 glibcxx_cv_func___builtin_sin_link=yes
71982 else
71983 echo "$as_me: failed program was:" >&5
71984 sed 's/^/| /' conftest.$ac_ext >&5
71986 glibcxx_cv_func___builtin_sin_link=no
71988 rm -f conftest.err conftest.$ac_objext \
71989 conftest$ac_exeext conftest.$ac_ext
71994 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
71995 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
71996 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
71997 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71999 cat >>confdefs.h <<_ACEOF
72000 #define ${ac_tr_func} 1
72001 _ACEOF
72007 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
72008 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
72009 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
72010 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
72011 echo $ECHO_N "(cached) $ECHO_C" >&6
72012 else
72016 ac_ext=cc
72017 ac_cpp='$CXXCPP $CPPFLAGS'
72018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72022 cat >conftest.$ac_ext <<_ACEOF
72023 /* confdefs.h. */
72024 _ACEOF
72025 cat confdefs.h >>conftest.$ac_ext
72026 cat >>conftest.$ac_ext <<_ACEOF
72027 /* end confdefs.h. */
72028 #include <math.h>
72030 main ()
72032 __builtin_sinl(0);
72034 return 0;
72036 _ACEOF
72037 rm -f conftest.$ac_objext
72038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72039 (eval $ac_compile) 2>conftest.er1
72040 ac_status=$?
72041 grep -v '^ *+' conftest.er1 >conftest.err
72042 rm -f conftest.er1
72043 cat conftest.err >&5
72044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72045 (exit $ac_status); } &&
72046 { ac_try='test -z "$ac_cxx_werror_flag"
72047 || test ! -s conftest.err'
72048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72049 (eval $ac_try) 2>&5
72050 ac_status=$?
72051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72052 (exit $ac_status); }; } &&
72053 { ac_try='test -s conftest.$ac_objext'
72054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72055 (eval $ac_try) 2>&5
72056 ac_status=$?
72057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72058 (exit $ac_status); }; }; then
72059 glibcxx_cv_func___builtin_sinl_use=yes
72060 else
72061 echo "$as_me: failed program was:" >&5
72062 sed 's/^/| /' conftest.$ac_ext >&5
72064 glibcxx_cv_func___builtin_sinl_use=no
72066 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72067 ac_ext=c
72068 ac_cpp='$CPP $CPPFLAGS'
72069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72077 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
72078 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
72079 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
72080 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
72081 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
72082 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
72083 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
72084 echo $ECHO_N "(cached) $ECHO_C" >&6
72085 else
72087 if test x$gcc_no_link = xyes; then
72088 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72090 { (exit 1); exit 1; }; }
72092 cat >conftest.$ac_ext <<_ACEOF
72093 /* confdefs.h. */
72094 _ACEOF
72095 cat confdefs.h >>conftest.$ac_ext
72096 cat >>conftest.$ac_ext <<_ACEOF
72097 /* end confdefs.h. */
72098 #include <math.h>
72100 main ()
72102 __builtin_sinl(0);
72104 return 0;
72106 _ACEOF
72107 rm -f conftest.$ac_objext conftest$ac_exeext
72108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72109 (eval $ac_link) 2>conftest.er1
72110 ac_status=$?
72111 grep -v '^ *+' conftest.er1 >conftest.err
72112 rm -f conftest.er1
72113 cat conftest.err >&5
72114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72115 (exit $ac_status); } &&
72116 { ac_try='test -z "$ac_c_werror_flag"
72117 || test ! -s conftest.err'
72118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72119 (eval $ac_try) 2>&5
72120 ac_status=$?
72121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72122 (exit $ac_status); }; } &&
72123 { ac_try='test -s conftest$ac_exeext'
72124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72125 (eval $ac_try) 2>&5
72126 ac_status=$?
72127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72128 (exit $ac_status); }; }; then
72129 glibcxx_cv_func___builtin_sinl_link=yes
72130 else
72131 echo "$as_me: failed program was:" >&5
72132 sed 's/^/| /' conftest.$ac_ext >&5
72134 glibcxx_cv_func___builtin_sinl_link=no
72136 rm -f conftest.err conftest.$ac_objext \
72137 conftest$ac_exeext conftest.$ac_ext
72142 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
72143 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
72144 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
72145 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
72147 cat >>confdefs.h <<_ACEOF
72148 #define ${ac_tr_func} 1
72149 _ACEOF
72156 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
72157 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
72158 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
72159 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
72160 echo $ECHO_N "(cached) $ECHO_C" >&6
72161 else
72165 ac_ext=cc
72166 ac_cpp='$CXXCPP $CPPFLAGS'
72167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72171 cat >conftest.$ac_ext <<_ACEOF
72172 /* confdefs.h. */
72173 _ACEOF
72174 cat confdefs.h >>conftest.$ac_ext
72175 cat >>conftest.$ac_ext <<_ACEOF
72176 /* end confdefs.h. */
72177 #include <math.h>
72179 main ()
72181 __builtin_cosf(0);
72183 return 0;
72185 _ACEOF
72186 rm -f conftest.$ac_objext
72187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72188 (eval $ac_compile) 2>conftest.er1
72189 ac_status=$?
72190 grep -v '^ *+' conftest.er1 >conftest.err
72191 rm -f conftest.er1
72192 cat conftest.err >&5
72193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72194 (exit $ac_status); } &&
72195 { ac_try='test -z "$ac_cxx_werror_flag"
72196 || test ! -s conftest.err'
72197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72198 (eval $ac_try) 2>&5
72199 ac_status=$?
72200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72201 (exit $ac_status); }; } &&
72202 { ac_try='test -s conftest.$ac_objext'
72203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72204 (eval $ac_try) 2>&5
72205 ac_status=$?
72206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72207 (exit $ac_status); }; }; then
72208 glibcxx_cv_func___builtin_cosf_use=yes
72209 else
72210 echo "$as_me: failed program was:" >&5
72211 sed 's/^/| /' conftest.$ac_ext >&5
72213 glibcxx_cv_func___builtin_cosf_use=no
72215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72216 ac_ext=c
72217 ac_cpp='$CPP $CPPFLAGS'
72218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72226 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
72227 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
72228 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
72229 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
72230 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
72231 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
72232 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
72233 echo $ECHO_N "(cached) $ECHO_C" >&6
72234 else
72236 if test x$gcc_no_link = xyes; then
72237 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72238 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72239 { (exit 1); exit 1; }; }
72241 cat >conftest.$ac_ext <<_ACEOF
72242 /* confdefs.h. */
72243 _ACEOF
72244 cat confdefs.h >>conftest.$ac_ext
72245 cat >>conftest.$ac_ext <<_ACEOF
72246 /* end confdefs.h. */
72247 #include <math.h>
72249 main ()
72251 __builtin_cosf(0);
72253 return 0;
72255 _ACEOF
72256 rm -f conftest.$ac_objext conftest$ac_exeext
72257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72258 (eval $ac_link) 2>conftest.er1
72259 ac_status=$?
72260 grep -v '^ *+' conftest.er1 >conftest.err
72261 rm -f conftest.er1
72262 cat conftest.err >&5
72263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72264 (exit $ac_status); } &&
72265 { ac_try='test -z "$ac_c_werror_flag"
72266 || test ! -s conftest.err'
72267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72268 (eval $ac_try) 2>&5
72269 ac_status=$?
72270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72271 (exit $ac_status); }; } &&
72272 { ac_try='test -s conftest$ac_exeext'
72273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72274 (eval $ac_try) 2>&5
72275 ac_status=$?
72276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72277 (exit $ac_status); }; }; then
72278 glibcxx_cv_func___builtin_cosf_link=yes
72279 else
72280 echo "$as_me: failed program was:" >&5
72281 sed 's/^/| /' conftest.$ac_ext >&5
72283 glibcxx_cv_func___builtin_cosf_link=no
72285 rm -f conftest.err conftest.$ac_objext \
72286 conftest$ac_exeext conftest.$ac_ext
72291 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
72292 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
72293 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
72294 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
72296 cat >>confdefs.h <<_ACEOF
72297 #define ${ac_tr_func} 1
72298 _ACEOF
72304 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
72305 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
72306 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
72307 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
72308 echo $ECHO_N "(cached) $ECHO_C" >&6
72309 else
72313 ac_ext=cc
72314 ac_cpp='$CXXCPP $CPPFLAGS'
72315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72319 cat >conftest.$ac_ext <<_ACEOF
72320 /* confdefs.h. */
72321 _ACEOF
72322 cat confdefs.h >>conftest.$ac_ext
72323 cat >>conftest.$ac_ext <<_ACEOF
72324 /* end confdefs.h. */
72325 #include <math.h>
72327 main ()
72329 __builtin_cos(0);
72331 return 0;
72333 _ACEOF
72334 rm -f conftest.$ac_objext
72335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72336 (eval $ac_compile) 2>conftest.er1
72337 ac_status=$?
72338 grep -v '^ *+' conftest.er1 >conftest.err
72339 rm -f conftest.er1
72340 cat conftest.err >&5
72341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72342 (exit $ac_status); } &&
72343 { ac_try='test -z "$ac_cxx_werror_flag"
72344 || test ! -s conftest.err'
72345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72346 (eval $ac_try) 2>&5
72347 ac_status=$?
72348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72349 (exit $ac_status); }; } &&
72350 { ac_try='test -s conftest.$ac_objext'
72351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72352 (eval $ac_try) 2>&5
72353 ac_status=$?
72354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72355 (exit $ac_status); }; }; then
72356 glibcxx_cv_func___builtin_cos_use=yes
72357 else
72358 echo "$as_me: failed program was:" >&5
72359 sed 's/^/| /' conftest.$ac_ext >&5
72361 glibcxx_cv_func___builtin_cos_use=no
72363 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72364 ac_ext=c
72365 ac_cpp='$CPP $CPPFLAGS'
72366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72374 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
72375 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
72376 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
72377 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
72378 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
72379 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
72380 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
72381 echo $ECHO_N "(cached) $ECHO_C" >&6
72382 else
72384 if test x$gcc_no_link = xyes; then
72385 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72386 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72387 { (exit 1); exit 1; }; }
72389 cat >conftest.$ac_ext <<_ACEOF
72390 /* confdefs.h. */
72391 _ACEOF
72392 cat confdefs.h >>conftest.$ac_ext
72393 cat >>conftest.$ac_ext <<_ACEOF
72394 /* end confdefs.h. */
72395 #include <math.h>
72397 main ()
72399 __builtin_cos(0);
72401 return 0;
72403 _ACEOF
72404 rm -f conftest.$ac_objext conftest$ac_exeext
72405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72406 (eval $ac_link) 2>conftest.er1
72407 ac_status=$?
72408 grep -v '^ *+' conftest.er1 >conftest.err
72409 rm -f conftest.er1
72410 cat conftest.err >&5
72411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72412 (exit $ac_status); } &&
72413 { ac_try='test -z "$ac_c_werror_flag"
72414 || test ! -s conftest.err'
72415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72416 (eval $ac_try) 2>&5
72417 ac_status=$?
72418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72419 (exit $ac_status); }; } &&
72420 { ac_try='test -s conftest$ac_exeext'
72421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72422 (eval $ac_try) 2>&5
72423 ac_status=$?
72424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72425 (exit $ac_status); }; }; then
72426 glibcxx_cv_func___builtin_cos_link=yes
72427 else
72428 echo "$as_me: failed program was:" >&5
72429 sed 's/^/| /' conftest.$ac_ext >&5
72431 glibcxx_cv_func___builtin_cos_link=no
72433 rm -f conftest.err conftest.$ac_objext \
72434 conftest$ac_exeext conftest.$ac_ext
72439 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
72440 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
72441 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
72442 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
72444 cat >>confdefs.h <<_ACEOF
72445 #define ${ac_tr_func} 1
72446 _ACEOF
72452 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
72453 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
72454 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
72455 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
72456 echo $ECHO_N "(cached) $ECHO_C" >&6
72457 else
72461 ac_ext=cc
72462 ac_cpp='$CXXCPP $CPPFLAGS'
72463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72467 cat >conftest.$ac_ext <<_ACEOF
72468 /* confdefs.h. */
72469 _ACEOF
72470 cat confdefs.h >>conftest.$ac_ext
72471 cat >>conftest.$ac_ext <<_ACEOF
72472 /* end confdefs.h. */
72473 #include <math.h>
72475 main ()
72477 __builtin_cosl(0);
72479 return 0;
72481 _ACEOF
72482 rm -f conftest.$ac_objext
72483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72484 (eval $ac_compile) 2>conftest.er1
72485 ac_status=$?
72486 grep -v '^ *+' conftest.er1 >conftest.err
72487 rm -f conftest.er1
72488 cat conftest.err >&5
72489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72490 (exit $ac_status); } &&
72491 { ac_try='test -z "$ac_cxx_werror_flag"
72492 || test ! -s conftest.err'
72493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72494 (eval $ac_try) 2>&5
72495 ac_status=$?
72496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72497 (exit $ac_status); }; } &&
72498 { ac_try='test -s conftest.$ac_objext'
72499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72500 (eval $ac_try) 2>&5
72501 ac_status=$?
72502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72503 (exit $ac_status); }; }; then
72504 glibcxx_cv_func___builtin_cosl_use=yes
72505 else
72506 echo "$as_me: failed program was:" >&5
72507 sed 's/^/| /' conftest.$ac_ext >&5
72509 glibcxx_cv_func___builtin_cosl_use=no
72511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72512 ac_ext=c
72513 ac_cpp='$CPP $CPPFLAGS'
72514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72522 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
72523 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
72524 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
72525 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
72526 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
72527 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
72528 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
72529 echo $ECHO_N "(cached) $ECHO_C" >&6
72530 else
72532 if test x$gcc_no_link = xyes; then
72533 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72534 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72535 { (exit 1); exit 1; }; }
72537 cat >conftest.$ac_ext <<_ACEOF
72538 /* confdefs.h. */
72539 _ACEOF
72540 cat confdefs.h >>conftest.$ac_ext
72541 cat >>conftest.$ac_ext <<_ACEOF
72542 /* end confdefs.h. */
72543 #include <math.h>
72545 main ()
72547 __builtin_cosl(0);
72549 return 0;
72551 _ACEOF
72552 rm -f conftest.$ac_objext conftest$ac_exeext
72553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72554 (eval $ac_link) 2>conftest.er1
72555 ac_status=$?
72556 grep -v '^ *+' conftest.er1 >conftest.err
72557 rm -f conftest.er1
72558 cat conftest.err >&5
72559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72560 (exit $ac_status); } &&
72561 { ac_try='test -z "$ac_c_werror_flag"
72562 || test ! -s conftest.err'
72563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72564 (eval $ac_try) 2>&5
72565 ac_status=$?
72566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72567 (exit $ac_status); }; } &&
72568 { ac_try='test -s conftest$ac_exeext'
72569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72570 (eval $ac_try) 2>&5
72571 ac_status=$?
72572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72573 (exit $ac_status); }; }; then
72574 glibcxx_cv_func___builtin_cosl_link=yes
72575 else
72576 echo "$as_me: failed program was:" >&5
72577 sed 's/^/| /' conftest.$ac_ext >&5
72579 glibcxx_cv_func___builtin_cosl_link=no
72581 rm -f conftest.err conftest.$ac_objext \
72582 conftest$ac_exeext conftest.$ac_ext
72587 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
72588 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
72589 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
72590 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
72592 cat >>confdefs.h <<_ACEOF
72593 #define ${ac_tr_func} 1
72594 _ACEOF
72602 echo "$as_me:$LINENO: checking for main in -lm" >&5
72603 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
72604 if test "${ac_cv_lib_m_main+set}" = set; then
72605 echo $ECHO_N "(cached) $ECHO_C" >&6
72606 else
72607 ac_check_lib_save_LIBS=$LIBS
72608 LIBS="-lm $LIBS"
72609 if test x$gcc_no_link = xyes; then
72610 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72611 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72612 { (exit 1); exit 1; }; }
72614 cat >conftest.$ac_ext <<_ACEOF
72615 /* confdefs.h. */
72616 _ACEOF
72617 cat confdefs.h >>conftest.$ac_ext
72618 cat >>conftest.$ac_ext <<_ACEOF
72619 /* end confdefs.h. */
72623 main ()
72625 main ();
72627 return 0;
72629 _ACEOF
72630 rm -f conftest.$ac_objext conftest$ac_exeext
72631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72632 (eval $ac_link) 2>conftest.er1
72633 ac_status=$?
72634 grep -v '^ *+' conftest.er1 >conftest.err
72635 rm -f conftest.er1
72636 cat conftest.err >&5
72637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72638 (exit $ac_status); } &&
72639 { ac_try='test -z "$ac_c_werror_flag"
72640 || test ! -s conftest.err'
72641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72642 (eval $ac_try) 2>&5
72643 ac_status=$?
72644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72645 (exit $ac_status); }; } &&
72646 { ac_try='test -s conftest$ac_exeext'
72647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72648 (eval $ac_try) 2>&5
72649 ac_status=$?
72650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72651 (exit $ac_status); }; }; then
72652 ac_cv_lib_m_main=yes
72653 else
72654 echo "$as_me: failed program was:" >&5
72655 sed 's/^/| /' conftest.$ac_ext >&5
72657 ac_cv_lib_m_main=no
72659 rm -f conftest.err conftest.$ac_objext \
72660 conftest$ac_exeext conftest.$ac_ext
72661 LIBS=$ac_check_lib_save_LIBS
72663 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
72664 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
72665 if test $ac_cv_lib_m_main = yes; then
72666 cat >>confdefs.h <<_ACEOF
72667 #define HAVE_LIBM 1
72668 _ACEOF
72670 LIBS="-lm $LIBS"
72675 for ac_func in copysignf
72677 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72678 echo "$as_me:$LINENO: checking for $ac_func" >&5
72679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72680 if eval "test \"\${$as_ac_var+set}\" = set"; then
72681 echo $ECHO_N "(cached) $ECHO_C" >&6
72682 else
72683 if test x$gcc_no_link = xyes; then
72684 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72685 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72686 { (exit 1); exit 1; }; }
72688 cat >conftest.$ac_ext <<_ACEOF
72689 /* confdefs.h. */
72690 _ACEOF
72691 cat confdefs.h >>conftest.$ac_ext
72692 cat >>conftest.$ac_ext <<_ACEOF
72693 /* end confdefs.h. */
72694 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72695 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72696 #define $ac_func innocuous_$ac_func
72698 /* System header to define __stub macros and hopefully few prototypes,
72699 which can conflict with char $ac_func (); below.
72700 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72701 <limits.h> exists even on freestanding compilers. */
72703 #ifdef __STDC__
72704 # include <limits.h>
72705 #else
72706 # include <assert.h>
72707 #endif
72709 #undef $ac_func
72711 /* Override any gcc2 internal prototype to avoid an error. */
72712 #ifdef __cplusplus
72713 extern "C"
72715 #endif
72716 /* We use char because int might match the return type of a gcc2
72717 builtin and then its argument prototype would still apply. */
72718 char $ac_func ();
72719 /* The GNU C library defines this for functions which it implements
72720 to always fail with ENOSYS. Some functions are actually named
72721 something starting with __ and the normal name is an alias. */
72722 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72723 choke me
72724 #else
72725 char (*f) () = $ac_func;
72726 #endif
72727 #ifdef __cplusplus
72729 #endif
72732 main ()
72734 return f != $ac_func;
72736 return 0;
72738 _ACEOF
72739 rm -f conftest.$ac_objext conftest$ac_exeext
72740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72741 (eval $ac_link) 2>conftest.er1
72742 ac_status=$?
72743 grep -v '^ *+' conftest.er1 >conftest.err
72744 rm -f conftest.er1
72745 cat conftest.err >&5
72746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72747 (exit $ac_status); } &&
72748 { ac_try='test -z "$ac_c_werror_flag"
72749 || test ! -s conftest.err'
72750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72751 (eval $ac_try) 2>&5
72752 ac_status=$?
72753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72754 (exit $ac_status); }; } &&
72755 { ac_try='test -s conftest$ac_exeext'
72756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72757 (eval $ac_try) 2>&5
72758 ac_status=$?
72759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72760 (exit $ac_status); }; }; then
72761 eval "$as_ac_var=yes"
72762 else
72763 echo "$as_me: failed program was:" >&5
72764 sed 's/^/| /' conftest.$ac_ext >&5
72766 eval "$as_ac_var=no"
72768 rm -f conftest.err conftest.$ac_objext \
72769 conftest$ac_exeext conftest.$ac_ext
72771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72772 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72773 if test `eval echo '${'$as_ac_var'}'` = yes; then
72774 cat >>confdefs.h <<_ACEOF
72775 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72776 _ACEOF
72778 else
72779 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
72781 done
72785 for ac_func in __signbit
72787 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72788 echo "$as_me:$LINENO: checking for $ac_func" >&5
72789 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72790 if eval "test \"\${$as_ac_var+set}\" = set"; then
72791 echo $ECHO_N "(cached) $ECHO_C" >&6
72792 else
72793 if test x$gcc_no_link = xyes; then
72794 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72795 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72796 { (exit 1); exit 1; }; }
72798 cat >conftest.$ac_ext <<_ACEOF
72799 /* confdefs.h. */
72800 _ACEOF
72801 cat confdefs.h >>conftest.$ac_ext
72802 cat >>conftest.$ac_ext <<_ACEOF
72803 /* end confdefs.h. */
72804 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72805 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72806 #define $ac_func innocuous_$ac_func
72808 /* System header to define __stub macros and hopefully few prototypes,
72809 which can conflict with char $ac_func (); below.
72810 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72811 <limits.h> exists even on freestanding compilers. */
72813 #ifdef __STDC__
72814 # include <limits.h>
72815 #else
72816 # include <assert.h>
72817 #endif
72819 #undef $ac_func
72821 /* Override any gcc2 internal prototype to avoid an error. */
72822 #ifdef __cplusplus
72823 extern "C"
72825 #endif
72826 /* We use char because int might match the return type of a gcc2
72827 builtin and then its argument prototype would still apply. */
72828 char $ac_func ();
72829 /* The GNU C library defines this for functions which it implements
72830 to always fail with ENOSYS. Some functions are actually named
72831 something starting with __ and the normal name is an alias. */
72832 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72833 choke me
72834 #else
72835 char (*f) () = $ac_func;
72836 #endif
72837 #ifdef __cplusplus
72839 #endif
72842 main ()
72844 return f != $ac_func;
72846 return 0;
72848 _ACEOF
72849 rm -f conftest.$ac_objext conftest$ac_exeext
72850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72851 (eval $ac_link) 2>conftest.er1
72852 ac_status=$?
72853 grep -v '^ *+' conftest.er1 >conftest.err
72854 rm -f conftest.er1
72855 cat conftest.err >&5
72856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72857 (exit $ac_status); } &&
72858 { ac_try='test -z "$ac_c_werror_flag"
72859 || test ! -s conftest.err'
72860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72861 (eval $ac_try) 2>&5
72862 ac_status=$?
72863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72864 (exit $ac_status); }; } &&
72865 { ac_try='test -s conftest$ac_exeext'
72866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72867 (eval $ac_try) 2>&5
72868 ac_status=$?
72869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72870 (exit $ac_status); }; }; then
72871 eval "$as_ac_var=yes"
72872 else
72873 echo "$as_me: failed program was:" >&5
72874 sed 's/^/| /' conftest.$ac_ext >&5
72876 eval "$as_ac_var=no"
72878 rm -f conftest.err conftest.$ac_objext \
72879 conftest$ac_exeext conftest.$ac_ext
72881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72882 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72883 if test `eval echo '${'$as_ac_var'}'` = yes; then
72884 cat >>confdefs.h <<_ACEOF
72885 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72886 _ACEOF
72888 else
72889 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
72891 done
72895 for ac_func in __signbitf
72897 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72898 echo "$as_me:$LINENO: checking for $ac_func" >&5
72899 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72900 if eval "test \"\${$as_ac_var+set}\" = set"; then
72901 echo $ECHO_N "(cached) $ECHO_C" >&6
72902 else
72903 if test x$gcc_no_link = xyes; then
72904 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72905 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72906 { (exit 1); exit 1; }; }
72908 cat >conftest.$ac_ext <<_ACEOF
72909 /* confdefs.h. */
72910 _ACEOF
72911 cat confdefs.h >>conftest.$ac_ext
72912 cat >>conftest.$ac_ext <<_ACEOF
72913 /* end confdefs.h. */
72914 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72915 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72916 #define $ac_func innocuous_$ac_func
72918 /* System header to define __stub macros and hopefully few prototypes,
72919 which can conflict with char $ac_func (); below.
72920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72921 <limits.h> exists even on freestanding compilers. */
72923 #ifdef __STDC__
72924 # include <limits.h>
72925 #else
72926 # include <assert.h>
72927 #endif
72929 #undef $ac_func
72931 /* Override any gcc2 internal prototype to avoid an error. */
72932 #ifdef __cplusplus
72933 extern "C"
72935 #endif
72936 /* We use char because int might match the return type of a gcc2
72937 builtin and then its argument prototype would still apply. */
72938 char $ac_func ();
72939 /* The GNU C library defines this for functions which it implements
72940 to always fail with ENOSYS. Some functions are actually named
72941 something starting with __ and the normal name is an alias. */
72942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72943 choke me
72944 #else
72945 char (*f) () = $ac_func;
72946 #endif
72947 #ifdef __cplusplus
72949 #endif
72952 main ()
72954 return f != $ac_func;
72956 return 0;
72958 _ACEOF
72959 rm -f conftest.$ac_objext conftest$ac_exeext
72960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72961 (eval $ac_link) 2>conftest.er1
72962 ac_status=$?
72963 grep -v '^ *+' conftest.er1 >conftest.err
72964 rm -f conftest.er1
72965 cat conftest.err >&5
72966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72967 (exit $ac_status); } &&
72968 { ac_try='test -z "$ac_c_werror_flag"
72969 || test ! -s conftest.err'
72970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72971 (eval $ac_try) 2>&5
72972 ac_status=$?
72973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72974 (exit $ac_status); }; } &&
72975 { ac_try='test -s conftest$ac_exeext'
72976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72977 (eval $ac_try) 2>&5
72978 ac_status=$?
72979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72980 (exit $ac_status); }; }; then
72981 eval "$as_ac_var=yes"
72982 else
72983 echo "$as_me: failed program was:" >&5
72984 sed 's/^/| /' conftest.$ac_ext >&5
72986 eval "$as_ac_var=no"
72988 rm -f conftest.err conftest.$ac_objext \
72989 conftest$ac_exeext conftest.$ac_ext
72991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72992 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72993 if test `eval echo '${'$as_ac_var'}'` = yes; then
72994 cat >>confdefs.h <<_ACEOF
72995 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72996 _ACEOF
72998 else
72999 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
73001 done
73004 if test x$ac_cv_func_copysignl = x"yes"; then
73006 for ac_func in __signbitl
73008 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73009 echo "$as_me:$LINENO: checking for $ac_func" >&5
73010 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73011 if eval "test \"\${$as_ac_var+set}\" = set"; then
73012 echo $ECHO_N "(cached) $ECHO_C" >&6
73013 else
73014 if test x$gcc_no_link = xyes; then
73015 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73016 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73017 { (exit 1); exit 1; }; }
73019 cat >conftest.$ac_ext <<_ACEOF
73020 /* confdefs.h. */
73021 _ACEOF
73022 cat confdefs.h >>conftest.$ac_ext
73023 cat >>conftest.$ac_ext <<_ACEOF
73024 /* end confdefs.h. */
73025 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73026 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73027 #define $ac_func innocuous_$ac_func
73029 /* System header to define __stub macros and hopefully few prototypes,
73030 which can conflict with char $ac_func (); below.
73031 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73032 <limits.h> exists even on freestanding compilers. */
73034 #ifdef __STDC__
73035 # include <limits.h>
73036 #else
73037 # include <assert.h>
73038 #endif
73040 #undef $ac_func
73042 /* Override any gcc2 internal prototype to avoid an error. */
73043 #ifdef __cplusplus
73044 extern "C"
73046 #endif
73047 /* We use char because int might match the return type of a gcc2
73048 builtin and then its argument prototype would still apply. */
73049 char $ac_func ();
73050 /* The GNU C library defines this for functions which it implements
73051 to always fail with ENOSYS. Some functions are actually named
73052 something starting with __ and the normal name is an alias. */
73053 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73054 choke me
73055 #else
73056 char (*f) () = $ac_func;
73057 #endif
73058 #ifdef __cplusplus
73060 #endif
73063 main ()
73065 return f != $ac_func;
73067 return 0;
73069 _ACEOF
73070 rm -f conftest.$ac_objext conftest$ac_exeext
73071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73072 (eval $ac_link) 2>conftest.er1
73073 ac_status=$?
73074 grep -v '^ *+' conftest.er1 >conftest.err
73075 rm -f conftest.er1
73076 cat conftest.err >&5
73077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73078 (exit $ac_status); } &&
73079 { ac_try='test -z "$ac_c_werror_flag"
73080 || test ! -s conftest.err'
73081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73082 (eval $ac_try) 2>&5
73083 ac_status=$?
73084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73085 (exit $ac_status); }; } &&
73086 { ac_try='test -s conftest$ac_exeext'
73087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73088 (eval $ac_try) 2>&5
73089 ac_status=$?
73090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73091 (exit $ac_status); }; }; then
73092 eval "$as_ac_var=yes"
73093 else
73094 echo "$as_me: failed program was:" >&5
73095 sed 's/^/| /' conftest.$ac_ext >&5
73097 eval "$as_ac_var=no"
73099 rm -f conftest.err conftest.$ac_objext \
73100 conftest$ac_exeext conftest.$ac_ext
73102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73103 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73104 if test `eval echo '${'$as_ac_var'}'` = yes; then
73105 cat >>confdefs.h <<_ACEOF
73106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73107 _ACEOF
73109 else
73110 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
73112 done
73116 # Used in libmath/Makefile.am.
73117 if test -n "$LIBMATHOBJS"; then
73118 need_libmath=yes
73123 # Test wchar.h for mbstate_t, which is needed for char_traits and
73124 # others even if wchar_t support is not on.
73125 echo "$as_me:$LINENO: checking for mbstate_t" >&5
73126 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
73127 cat >conftest.$ac_ext <<_ACEOF
73128 /* confdefs.h. */
73129 _ACEOF
73130 cat confdefs.h >>conftest.$ac_ext
73131 cat >>conftest.$ac_ext <<_ACEOF
73132 /* end confdefs.h. */
73133 #include <wchar.h>
73135 main ()
73137 mbstate_t teststate;
73139 return 0;
73141 _ACEOF
73142 rm -f conftest.$ac_objext
73143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73144 (eval $ac_compile) 2>conftest.er1
73145 ac_status=$?
73146 grep -v '^ *+' conftest.er1 >conftest.err
73147 rm -f conftest.er1
73148 cat conftest.err >&5
73149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73150 (exit $ac_status); } &&
73151 { ac_try='test -z "$ac_c_werror_flag"
73152 || test ! -s conftest.err'
73153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73154 (eval $ac_try) 2>&5
73155 ac_status=$?
73156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73157 (exit $ac_status); }; } &&
73158 { ac_try='test -s conftest.$ac_objext'
73159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73160 (eval $ac_try) 2>&5
73161 ac_status=$?
73162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73163 (exit $ac_status); }; }; then
73164 have_mbstate_t=yes
73165 else
73166 echo "$as_me: failed program was:" >&5
73167 sed 's/^/| /' conftest.$ac_ext >&5
73169 have_mbstate_t=no
73171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73172 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
73173 echo "${ECHO_T}$have_mbstate_t" >&6
73174 if test x"$have_mbstate_t" = xyes; then
73175 cat >>confdefs.h <<\_ACEOF
73176 #define HAVE_MBSTATE_T 1
73177 _ACEOF
73181 # Sanity check for existence of ISO C99 headers for extended encoding.
73183 for ac_header in wchar.h
73185 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
73186 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73187 echo "$as_me:$LINENO: checking for $ac_header" >&5
73188 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73189 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73190 echo $ECHO_N "(cached) $ECHO_C" >&6
73192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73193 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73194 else
73195 # Is the header compilable?
73196 echo "$as_me:$LINENO: checking $ac_header usability" >&5
73197 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
73198 cat >conftest.$ac_ext <<_ACEOF
73199 /* confdefs.h. */
73200 _ACEOF
73201 cat confdefs.h >>conftest.$ac_ext
73202 cat >>conftest.$ac_ext <<_ACEOF
73203 /* end confdefs.h. */
73204 $ac_includes_default
73205 #include <$ac_header>
73206 _ACEOF
73207 rm -f conftest.$ac_objext
73208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73209 (eval $ac_compile) 2>conftest.er1
73210 ac_status=$?
73211 grep -v '^ *+' conftest.er1 >conftest.err
73212 rm -f conftest.er1
73213 cat conftest.err >&5
73214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73215 (exit $ac_status); } &&
73216 { ac_try='test -z "$ac_c_werror_flag"
73217 || test ! -s conftest.err'
73218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73219 (eval $ac_try) 2>&5
73220 ac_status=$?
73221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73222 (exit $ac_status); }; } &&
73223 { ac_try='test -s conftest.$ac_objext'
73224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73225 (eval $ac_try) 2>&5
73226 ac_status=$?
73227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73228 (exit $ac_status); }; }; then
73229 ac_header_compiler=yes
73230 else
73231 echo "$as_me: failed program was:" >&5
73232 sed 's/^/| /' conftest.$ac_ext >&5
73234 ac_header_compiler=no
73236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73237 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73238 echo "${ECHO_T}$ac_header_compiler" >&6
73240 # Is the header present?
73241 echo "$as_me:$LINENO: checking $ac_header presence" >&5
73242 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
73243 cat >conftest.$ac_ext <<_ACEOF
73244 /* confdefs.h. */
73245 _ACEOF
73246 cat confdefs.h >>conftest.$ac_ext
73247 cat >>conftest.$ac_ext <<_ACEOF
73248 /* end confdefs.h. */
73249 #include <$ac_header>
73250 _ACEOF
73251 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73252 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73253 ac_status=$?
73254 grep -v '^ *+' conftest.er1 >conftest.err
73255 rm -f conftest.er1
73256 cat conftest.err >&5
73257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73258 (exit $ac_status); } >/dev/null; then
73259 if test -s conftest.err; then
73260 ac_cpp_err=$ac_c_preproc_warn_flag
73261 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
73262 else
73263 ac_cpp_err=
73265 else
73266 ac_cpp_err=yes
73268 if test -z "$ac_cpp_err"; then
73269 ac_header_preproc=yes
73270 else
73271 echo "$as_me: failed program was:" >&5
73272 sed 's/^/| /' conftest.$ac_ext >&5
73274 ac_header_preproc=no
73276 rm -f conftest.err conftest.$ac_ext
73277 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73278 echo "${ECHO_T}$ac_header_preproc" >&6
73280 # So? What about this header?
73281 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
73282 yes:no: )
73283 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
73284 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
73285 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
73286 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
73287 ac_header_preproc=yes
73289 no:yes:* )
73290 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
73291 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
73292 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
73293 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
73294 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
73295 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
73296 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
73297 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
73298 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
73299 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
73300 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
73301 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
73303 cat <<\_ASBOX
73304 ## ----------------------------------------- ##
73305 ## Report this to the package-unused lists. ##
73306 ## ----------------------------------------- ##
73307 _ASBOX
73309 sed "s/^/$as_me: WARNING: /" >&2
73311 esac
73312 echo "$as_me:$LINENO: checking for $ac_header" >&5
73313 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73314 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73315 echo $ECHO_N "(cached) $ECHO_C" >&6
73316 else
73317 eval "$as_ac_Header=\$ac_header_preproc"
73319 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73320 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73323 if test `eval echo '${'$as_ac_Header'}'` = yes; then
73324 cat >>confdefs.h <<_ACEOF
73325 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
73326 _ACEOF
73327 ac_has_wchar_h=yes
73328 else
73329 ac_has_wchar_h=no
73332 done
73335 for ac_header in wctype.h
73337 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
73338 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73339 echo "$as_me:$LINENO: checking for $ac_header" >&5
73340 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73341 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73342 echo $ECHO_N "(cached) $ECHO_C" >&6
73344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73345 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73346 else
73347 # Is the header compilable?
73348 echo "$as_me:$LINENO: checking $ac_header usability" >&5
73349 echo $ECHO_N "checking $ac_header 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 <$ac_header>
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"
73369 || test ! -s conftest.err'
73370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73371 (eval $ac_try) 2>&5
73372 ac_status=$?
73373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73374 (exit $ac_status); }; } &&
73375 { ac_try='test -s conftest.$ac_objext'
73376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73377 (eval $ac_try) 2>&5
73378 ac_status=$?
73379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73380 (exit $ac_status); }; }; then
73381 ac_header_compiler=yes
73382 else
73383 echo "$as_me: failed program was:" >&5
73384 sed 's/^/| /' conftest.$ac_ext >&5
73386 ac_header_compiler=no
73388 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73389 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73390 echo "${ECHO_T}$ac_header_compiler" >&6
73392 # Is the header present?
73393 echo "$as_me:$LINENO: checking $ac_header presence" >&5
73394 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
73395 cat >conftest.$ac_ext <<_ACEOF
73396 /* confdefs.h. */
73397 _ACEOF
73398 cat confdefs.h >>conftest.$ac_ext
73399 cat >>conftest.$ac_ext <<_ACEOF
73400 /* end confdefs.h. */
73401 #include <$ac_header>
73402 _ACEOF
73403 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73404 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73405 ac_status=$?
73406 grep -v '^ *+' conftest.er1 >conftest.err
73407 rm -f conftest.er1
73408 cat conftest.err >&5
73409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73410 (exit $ac_status); } >/dev/null; then
73411 if test -s conftest.err; then
73412 ac_cpp_err=$ac_c_preproc_warn_flag
73413 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
73414 else
73415 ac_cpp_err=
73417 else
73418 ac_cpp_err=yes
73420 if test -z "$ac_cpp_err"; then
73421 ac_header_preproc=yes
73422 else
73423 echo "$as_me: failed program was:" >&5
73424 sed 's/^/| /' conftest.$ac_ext >&5
73426 ac_header_preproc=no
73428 rm -f conftest.err conftest.$ac_ext
73429 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73430 echo "${ECHO_T}$ac_header_preproc" >&6
73432 # So? What about this header?
73433 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
73434 yes:no: )
73435 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
73436 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
73437 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
73438 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
73439 ac_header_preproc=yes
73441 no:yes:* )
73442 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
73443 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
73444 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
73445 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
73446 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
73447 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
73448 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
73449 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
73450 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
73451 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
73452 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
73453 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
73455 cat <<\_ASBOX
73456 ## ----------------------------------------- ##
73457 ## Report this to the package-unused lists. ##
73458 ## ----------------------------------------- ##
73459 _ASBOX
73461 sed "s/^/$as_me: WARNING: /" >&2
73463 esac
73464 echo "$as_me:$LINENO: checking for $ac_header" >&5
73465 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73466 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73467 echo $ECHO_N "(cached) $ECHO_C" >&6
73468 else
73469 eval "$as_ac_Header=\$ac_header_preproc"
73471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73472 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73475 if test `eval echo '${'$as_ac_Header'}'` = yes; then
73476 cat >>confdefs.h <<_ACEOF
73477 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
73478 _ACEOF
73479 ac_has_wctype_h=yes
73480 else
73481 ac_has_wctype_h=no
73484 done
73487 # Only continue checking if the ISO C99 headers exist and support is on.
73488 if test x"$ac_has_wchar_h" = xyes &&
73489 test x"$ac_has_wctype_h" = xyes &&
73490 test x"$enable_c_mbchar" != xno; then
73492 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
73493 # numeric_limits can instantiate type_traits<wchar_t>
73494 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
73495 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
73496 cat >conftest.$ac_ext <<_ACEOF
73497 /* confdefs.h. */
73498 _ACEOF
73499 cat confdefs.h >>conftest.$ac_ext
73500 cat >>conftest.$ac_ext <<_ACEOF
73501 /* end confdefs.h. */
73502 #include <wchar.h>
73504 main ()
73506 int i = WCHAR_MIN; int j = WCHAR_MAX;
73508 return 0;
73510 _ACEOF
73511 rm -f conftest.$ac_objext
73512 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73513 (eval $ac_compile) 2>conftest.er1
73514 ac_status=$?
73515 grep -v '^ *+' conftest.er1 >conftest.err
73516 rm -f conftest.er1
73517 cat conftest.err >&5
73518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73519 (exit $ac_status); } &&
73520 { ac_try='test -z "$ac_c_werror_flag"
73521 || test ! -s conftest.err'
73522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73523 (eval $ac_try) 2>&5
73524 ac_status=$?
73525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73526 (exit $ac_status); }; } &&
73527 { ac_try='test -s conftest.$ac_objext'
73528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73529 (eval $ac_try) 2>&5
73530 ac_status=$?
73531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73532 (exit $ac_status); }; }; then
73533 has_wchar_minmax=yes
73534 else
73535 echo "$as_me: failed program was:" >&5
73536 sed 's/^/| /' conftest.$ac_ext >&5
73538 has_wchar_minmax=no
73540 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73541 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
73542 echo "${ECHO_T}$has_wchar_minmax" >&6
73544 # Test wchar.h for WEOF, which is what we use to determine whether
73545 # to specialize for char_traits<wchar_t> or not.
73546 echo "$as_me:$LINENO: checking for WEOF" >&5
73547 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
73548 cat >conftest.$ac_ext <<_ACEOF
73549 /* confdefs.h. */
73550 _ACEOF
73551 cat confdefs.h >>conftest.$ac_ext
73552 cat >>conftest.$ac_ext <<_ACEOF
73553 /* end confdefs.h. */
73555 #include <wchar.h>
73556 #include <stddef.h>
73558 main ()
73560 wint_t i = WEOF;
73562 return 0;
73564 _ACEOF
73565 rm -f conftest.$ac_objext
73566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73567 (eval $ac_compile) 2>conftest.er1
73568 ac_status=$?
73569 grep -v '^ *+' conftest.er1 >conftest.err
73570 rm -f conftest.er1
73571 cat conftest.err >&5
73572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73573 (exit $ac_status); } &&
73574 { ac_try='test -z "$ac_c_werror_flag"
73575 || test ! -s conftest.err'
73576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73577 (eval $ac_try) 2>&5
73578 ac_status=$?
73579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73580 (exit $ac_status); }; } &&
73581 { ac_try='test -s conftest.$ac_objext'
73582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73583 (eval $ac_try) 2>&5
73584 ac_status=$?
73585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73586 (exit $ac_status); }; }; then
73587 has_weof=yes
73588 else
73589 echo "$as_me: failed program was:" >&5
73590 sed 's/^/| /' conftest.$ac_ext >&5
73592 has_weof=no
73594 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73595 echo "$as_me:$LINENO: result: $has_weof" >&5
73596 echo "${ECHO_T}$has_weof" >&6
73598 # Tests for wide character functions used in char_traits<wchar_t>.
73599 ac_wfuncs=yes
73606 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
73608 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73609 echo "$as_me:$LINENO: checking for $ac_func" >&5
73610 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73611 if eval "test \"\${$as_ac_var+set}\" = set"; then
73612 echo $ECHO_N "(cached) $ECHO_C" >&6
73613 else
73614 if test x$gcc_no_link = xyes; then
73615 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73616 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73617 { (exit 1); exit 1; }; }
73619 cat >conftest.$ac_ext <<_ACEOF
73620 /* confdefs.h. */
73621 _ACEOF
73622 cat confdefs.h >>conftest.$ac_ext
73623 cat >>conftest.$ac_ext <<_ACEOF
73624 /* end confdefs.h. */
73625 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73626 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73627 #define $ac_func innocuous_$ac_func
73629 /* System header to define __stub macros and hopefully few prototypes,
73630 which can conflict with char $ac_func (); below.
73631 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73632 <limits.h> exists even on freestanding compilers. */
73634 #ifdef __STDC__
73635 # include <limits.h>
73636 #else
73637 # include <assert.h>
73638 #endif
73640 #undef $ac_func
73642 /* Override any gcc2 internal prototype to avoid an error. */
73643 #ifdef __cplusplus
73644 extern "C"
73646 #endif
73647 /* We use char because int might match the return type of a gcc2
73648 builtin and then its argument prototype would still apply. */
73649 char $ac_func ();
73650 /* The GNU C library defines this for functions which it implements
73651 to always fail with ENOSYS. Some functions are actually named
73652 something starting with __ and the normal name is an alias. */
73653 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73654 choke me
73655 #else
73656 char (*f) () = $ac_func;
73657 #endif
73658 #ifdef __cplusplus
73660 #endif
73663 main ()
73665 return f != $ac_func;
73667 return 0;
73669 _ACEOF
73670 rm -f conftest.$ac_objext conftest$ac_exeext
73671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73672 (eval $ac_link) 2>conftest.er1
73673 ac_status=$?
73674 grep -v '^ *+' conftest.er1 >conftest.err
73675 rm -f conftest.er1
73676 cat conftest.err >&5
73677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73678 (exit $ac_status); } &&
73679 { ac_try='test -z "$ac_c_werror_flag"
73680 || test ! -s conftest.err'
73681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73682 (eval $ac_try) 2>&5
73683 ac_status=$?
73684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73685 (exit $ac_status); }; } &&
73686 { ac_try='test -s conftest$ac_exeext'
73687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73688 (eval $ac_try) 2>&5
73689 ac_status=$?
73690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73691 (exit $ac_status); }; }; then
73692 eval "$as_ac_var=yes"
73693 else
73694 echo "$as_me: failed program was:" >&5
73695 sed 's/^/| /' conftest.$ac_ext >&5
73697 eval "$as_ac_var=no"
73699 rm -f conftest.err conftest.$ac_objext \
73700 conftest$ac_exeext conftest.$ac_ext
73702 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73703 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73704 if test `eval echo '${'$as_ac_var'}'` = yes; then
73705 cat >>confdefs.h <<_ACEOF
73706 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73707 _ACEOF
73709 else
73710 ac_wfuncs=no
73712 done
73715 # Checks for names injected into std:: by the c_std headers.
73762 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
73763 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
73764 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
73765 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
73766 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
73767 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
73769 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73770 echo "$as_me:$LINENO: checking for $ac_func" >&5
73771 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73772 if eval "test \"\${$as_ac_var+set}\" = set"; then
73773 echo $ECHO_N "(cached) $ECHO_C" >&6
73774 else
73775 if test x$gcc_no_link = xyes; then
73776 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73777 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73778 { (exit 1); exit 1; }; }
73780 cat >conftest.$ac_ext <<_ACEOF
73781 /* confdefs.h. */
73782 _ACEOF
73783 cat confdefs.h >>conftest.$ac_ext
73784 cat >>conftest.$ac_ext <<_ACEOF
73785 /* end confdefs.h. */
73786 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73787 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73788 #define $ac_func innocuous_$ac_func
73790 /* System header to define __stub macros and hopefully few prototypes,
73791 which can conflict with char $ac_func (); below.
73792 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73793 <limits.h> exists even on freestanding compilers. */
73795 #ifdef __STDC__
73796 # include <limits.h>
73797 #else
73798 # include <assert.h>
73799 #endif
73801 #undef $ac_func
73803 /* Override any gcc2 internal prototype to avoid an error. */
73804 #ifdef __cplusplus
73805 extern "C"
73807 #endif
73808 /* We use char because int might match the return type of a gcc2
73809 builtin and then its argument prototype would still apply. */
73810 char $ac_func ();
73811 /* The GNU C library defines this for functions which it implements
73812 to always fail with ENOSYS. Some functions are actually named
73813 something starting with __ and the normal name is an alias. */
73814 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73815 choke me
73816 #else
73817 char (*f) () = $ac_func;
73818 #endif
73819 #ifdef __cplusplus
73821 #endif
73824 main ()
73826 return f != $ac_func;
73828 return 0;
73830 _ACEOF
73831 rm -f conftest.$ac_objext conftest$ac_exeext
73832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73833 (eval $ac_link) 2>conftest.er1
73834 ac_status=$?
73835 grep -v '^ *+' conftest.er1 >conftest.err
73836 rm -f conftest.er1
73837 cat conftest.err >&5
73838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73839 (exit $ac_status); } &&
73840 { ac_try='test -z "$ac_c_werror_flag"
73841 || test ! -s conftest.err'
73842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73843 (eval $ac_try) 2>&5
73844 ac_status=$?
73845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73846 (exit $ac_status); }; } &&
73847 { ac_try='test -s conftest$ac_exeext'
73848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73849 (eval $ac_try) 2>&5
73850 ac_status=$?
73851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73852 (exit $ac_status); }; }; then
73853 eval "$as_ac_var=yes"
73854 else
73855 echo "$as_me: failed program was:" >&5
73856 sed 's/^/| /' conftest.$ac_ext >&5
73858 eval "$as_ac_var=no"
73860 rm -f conftest.err conftest.$ac_objext \
73861 conftest$ac_exeext conftest.$ac_ext
73863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73864 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73865 if test `eval echo '${'$as_ac_var'}'` = yes; then
73866 cat >>confdefs.h <<_ACEOF
73867 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73868 _ACEOF
73870 else
73871 ac_wfuncs=no
73873 done
73876 # Checks for wide character functions that are not required
73877 # for basic wchar_t support. Don't disable support if they are missing.
73878 # Injection of these is wrapped with guard macros.
73884 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
73886 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73887 echo "$as_me:$LINENO: checking for $ac_func" >&5
73888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73889 if eval "test \"\${$as_ac_var+set}\" = set"; then
73890 echo $ECHO_N "(cached) $ECHO_C" >&6
73891 else
73892 if test x$gcc_no_link = xyes; then
73893 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73894 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73895 { (exit 1); exit 1; }; }
73897 cat >conftest.$ac_ext <<_ACEOF
73898 /* confdefs.h. */
73899 _ACEOF
73900 cat confdefs.h >>conftest.$ac_ext
73901 cat >>conftest.$ac_ext <<_ACEOF
73902 /* end confdefs.h. */
73903 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73904 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73905 #define $ac_func innocuous_$ac_func
73907 /* System header to define __stub macros and hopefully few prototypes,
73908 which can conflict with char $ac_func (); below.
73909 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73910 <limits.h> exists even on freestanding compilers. */
73912 #ifdef __STDC__
73913 # include <limits.h>
73914 #else
73915 # include <assert.h>
73916 #endif
73918 #undef $ac_func
73920 /* Override any gcc2 internal prototype to avoid an error. */
73921 #ifdef __cplusplus
73922 extern "C"
73924 #endif
73925 /* We use char because int might match the return type of a gcc2
73926 builtin and then its argument prototype would still apply. */
73927 char $ac_func ();
73928 /* The GNU C library defines this for functions which it implements
73929 to always fail with ENOSYS. Some functions are actually named
73930 something starting with __ and the normal name is an alias. */
73931 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73932 choke me
73933 #else
73934 char (*f) () = $ac_func;
73935 #endif
73936 #ifdef __cplusplus
73938 #endif
73941 main ()
73943 return f != $ac_func;
73945 return 0;
73947 _ACEOF
73948 rm -f conftest.$ac_objext conftest$ac_exeext
73949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73950 (eval $ac_link) 2>conftest.er1
73951 ac_status=$?
73952 grep -v '^ *+' conftest.er1 >conftest.err
73953 rm -f conftest.er1
73954 cat conftest.err >&5
73955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73956 (exit $ac_status); } &&
73957 { ac_try='test -z "$ac_c_werror_flag"
73958 || test ! -s conftest.err'
73959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73960 (eval $ac_try) 2>&5
73961 ac_status=$?
73962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73963 (exit $ac_status); }; } &&
73964 { ac_try='test -s conftest$ac_exeext'
73965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73966 (eval $ac_try) 2>&5
73967 ac_status=$?
73968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73969 (exit $ac_status); }; }; then
73970 eval "$as_ac_var=yes"
73971 else
73972 echo "$as_me: failed program was:" >&5
73973 sed 's/^/| /' conftest.$ac_ext >&5
73975 eval "$as_ac_var=no"
73977 rm -f conftest.err conftest.$ac_objext \
73978 conftest$ac_exeext conftest.$ac_ext
73980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73981 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73982 if test `eval echo '${'$as_ac_var'}'` = yes; then
73983 cat >>confdefs.h <<_ACEOF
73984 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73985 _ACEOF
73988 done
73991 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
73992 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
73993 if test x"$has_weof" = xyes &&
73994 test x"$has_wchar_minmax" = xyes &&
73995 test x"$ac_wfuncs" = xyes;
73996 then
73997 ac_isoC99_wchar_t=yes
73998 else
73999 ac_isoC99_wchar_t=no
74001 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
74002 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
74004 # Use iconv for wchar_t to char conversions. As such, check for
74005 # X/Open Portability Guide, version 2 features (XPG2).
74006 if test "${ac_cv_header_iconv_h+set}" = set; then
74007 echo "$as_me:$LINENO: checking for iconv.h" >&5
74008 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
74009 if test "${ac_cv_header_iconv_h+set}" = set; then
74010 echo $ECHO_N "(cached) $ECHO_C" >&6
74012 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
74013 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
74014 else
74015 # Is the header compilable?
74016 echo "$as_me:$LINENO: checking iconv.h usability" >&5
74017 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
74018 cat >conftest.$ac_ext <<_ACEOF
74019 /* confdefs.h. */
74020 _ACEOF
74021 cat confdefs.h >>conftest.$ac_ext
74022 cat >>conftest.$ac_ext <<_ACEOF
74023 /* end confdefs.h. */
74024 $ac_includes_default
74025 #include <iconv.h>
74026 _ACEOF
74027 rm -f conftest.$ac_objext
74028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74029 (eval $ac_compile) 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"
74037 || test ! -s conftest.err'
74038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74039 (eval $ac_try) 2>&5
74040 ac_status=$?
74041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74042 (exit $ac_status); }; } &&
74043 { ac_try='test -s conftest.$ac_objext'
74044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74045 (eval $ac_try) 2>&5
74046 ac_status=$?
74047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74048 (exit $ac_status); }; }; then
74049 ac_header_compiler=yes
74050 else
74051 echo "$as_me: failed program was:" >&5
74052 sed 's/^/| /' conftest.$ac_ext >&5
74054 ac_header_compiler=no
74056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74057 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74058 echo "${ECHO_T}$ac_header_compiler" >&6
74060 # Is the header present?
74061 echo "$as_me:$LINENO: checking iconv.h presence" >&5
74062 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
74063 cat >conftest.$ac_ext <<_ACEOF
74064 /* confdefs.h. */
74065 _ACEOF
74066 cat confdefs.h >>conftest.$ac_ext
74067 cat >>conftest.$ac_ext <<_ACEOF
74068 /* end confdefs.h. */
74069 #include <iconv.h>
74070 _ACEOF
74071 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74072 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74073 ac_status=$?
74074 grep -v '^ *+' conftest.er1 >conftest.err
74075 rm -f conftest.er1
74076 cat conftest.err >&5
74077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74078 (exit $ac_status); } >/dev/null; then
74079 if test -s conftest.err; then
74080 ac_cpp_err=$ac_c_preproc_warn_flag
74081 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74082 else
74083 ac_cpp_err=
74085 else
74086 ac_cpp_err=yes
74088 if test -z "$ac_cpp_err"; then
74089 ac_header_preproc=yes
74090 else
74091 echo "$as_me: failed program was:" >&5
74092 sed 's/^/| /' conftest.$ac_ext >&5
74094 ac_header_preproc=no
74096 rm -f conftest.err conftest.$ac_ext
74097 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74098 echo "${ECHO_T}$ac_header_preproc" >&6
74100 # So? What about this header?
74101 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74102 yes:no: )
74103 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
74104 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
74105 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
74106 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
74107 ac_header_preproc=yes
74109 no:yes:* )
74110 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
74111 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
74112 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
74113 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
74114 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
74115 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
74116 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
74117 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
74118 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
74119 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
74120 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
74121 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
74123 cat <<\_ASBOX
74124 ## ----------------------------------------- ##
74125 ## Report this to the package-unused lists. ##
74126 ## ----------------------------------------- ##
74127 _ASBOX
74129 sed "s/^/$as_me: WARNING: /" >&2
74131 esac
74132 echo "$as_me:$LINENO: checking for iconv.h" >&5
74133 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
74134 if test "${ac_cv_header_iconv_h+set}" = set; then
74135 echo $ECHO_N "(cached) $ECHO_C" >&6
74136 else
74137 ac_cv_header_iconv_h=$ac_header_preproc
74139 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
74140 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
74143 if test $ac_cv_header_iconv_h = yes; then
74144 ac_has_iconv_h=yes
74145 else
74146 ac_has_iconv_h=no
74150 if test "${ac_cv_header_langinfo_h+set}" = set; then
74151 echo "$as_me:$LINENO: checking for langinfo.h" >&5
74152 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
74153 if test "${ac_cv_header_langinfo_h+set}" = set; then
74154 echo $ECHO_N "(cached) $ECHO_C" >&6
74156 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
74157 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
74158 else
74159 # Is the header compilable?
74160 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
74161 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
74162 cat >conftest.$ac_ext <<_ACEOF
74163 /* confdefs.h. */
74164 _ACEOF
74165 cat confdefs.h >>conftest.$ac_ext
74166 cat >>conftest.$ac_ext <<_ACEOF
74167 /* end confdefs.h. */
74168 $ac_includes_default
74169 #include <langinfo.h>
74170 _ACEOF
74171 rm -f conftest.$ac_objext
74172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74173 (eval $ac_compile) 2>conftest.er1
74174 ac_status=$?
74175 grep -v '^ *+' conftest.er1 >conftest.err
74176 rm -f conftest.er1
74177 cat conftest.err >&5
74178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74179 (exit $ac_status); } &&
74180 { ac_try='test -z "$ac_c_werror_flag"
74181 || test ! -s conftest.err'
74182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74183 (eval $ac_try) 2>&5
74184 ac_status=$?
74185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74186 (exit $ac_status); }; } &&
74187 { ac_try='test -s conftest.$ac_objext'
74188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74189 (eval $ac_try) 2>&5
74190 ac_status=$?
74191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74192 (exit $ac_status); }; }; then
74193 ac_header_compiler=yes
74194 else
74195 echo "$as_me: failed program was:" >&5
74196 sed 's/^/| /' conftest.$ac_ext >&5
74198 ac_header_compiler=no
74200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74201 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74202 echo "${ECHO_T}$ac_header_compiler" >&6
74204 # Is the header present?
74205 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
74206 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
74207 cat >conftest.$ac_ext <<_ACEOF
74208 /* confdefs.h. */
74209 _ACEOF
74210 cat confdefs.h >>conftest.$ac_ext
74211 cat >>conftest.$ac_ext <<_ACEOF
74212 /* end confdefs.h. */
74213 #include <langinfo.h>
74214 _ACEOF
74215 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74216 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74217 ac_status=$?
74218 grep -v '^ *+' conftest.er1 >conftest.err
74219 rm -f conftest.er1
74220 cat conftest.err >&5
74221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74222 (exit $ac_status); } >/dev/null; then
74223 if test -s conftest.err; then
74224 ac_cpp_err=$ac_c_preproc_warn_flag
74225 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74226 else
74227 ac_cpp_err=
74229 else
74230 ac_cpp_err=yes
74232 if test -z "$ac_cpp_err"; then
74233 ac_header_preproc=yes
74234 else
74235 echo "$as_me: failed program was:" >&5
74236 sed 's/^/| /' conftest.$ac_ext >&5
74238 ac_header_preproc=no
74240 rm -f conftest.err conftest.$ac_ext
74241 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74242 echo "${ECHO_T}$ac_header_preproc" >&6
74244 # So? What about this header?
74245 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74246 yes:no: )
74247 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
74248 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
74249 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
74250 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
74251 ac_header_preproc=yes
74253 no:yes:* )
74254 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
74255 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
74256 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
74257 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
74258 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
74259 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
74260 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
74261 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
74262 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
74263 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
74264 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
74265 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
74267 cat <<\_ASBOX
74268 ## ----------------------------------------- ##
74269 ## Report this to the package-unused lists. ##
74270 ## ----------------------------------------- ##
74271 _ASBOX
74273 sed "s/^/$as_me: WARNING: /" >&2
74275 esac
74276 echo "$as_me:$LINENO: checking for langinfo.h" >&5
74277 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
74278 if test "${ac_cv_header_langinfo_h+set}" = set; then
74279 echo $ECHO_N "(cached) $ECHO_C" >&6
74280 else
74281 ac_cv_header_langinfo_h=$ac_header_preproc
74283 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
74284 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
74287 if test $ac_cv_header_langinfo_h = yes; then
74288 ac_has_langinfo_h=yes
74289 else
74290 ac_has_langinfo_h=no
74295 # Check for existence of libiconv.a providing XPG2 wchar_t support.
74296 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
74297 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
74298 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
74299 echo $ECHO_N "(cached) $ECHO_C" >&6
74300 else
74301 ac_check_lib_save_LIBS=$LIBS
74302 LIBS="-liconv $LIBS"
74303 if test x$gcc_no_link = xyes; then
74304 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74305 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74306 { (exit 1); exit 1; }; }
74308 cat >conftest.$ac_ext <<_ACEOF
74309 /* confdefs.h. */
74310 _ACEOF
74311 cat confdefs.h >>conftest.$ac_ext
74312 cat >>conftest.$ac_ext <<_ACEOF
74313 /* end confdefs.h. */
74315 /* Override any gcc2 internal prototype to avoid an error. */
74316 #ifdef __cplusplus
74317 extern "C"
74318 #endif
74319 /* We use char because int might match the return type of a gcc2
74320 builtin and then its argument prototype would still apply. */
74321 char iconv ();
74323 main ()
74325 iconv ();
74327 return 0;
74329 _ACEOF
74330 rm -f conftest.$ac_objext conftest$ac_exeext
74331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74332 (eval $ac_link) 2>conftest.er1
74333 ac_status=$?
74334 grep -v '^ *+' conftest.er1 >conftest.err
74335 rm -f conftest.er1
74336 cat conftest.err >&5
74337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74338 (exit $ac_status); } &&
74339 { ac_try='test -z "$ac_c_werror_flag"
74340 || test ! -s conftest.err'
74341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74342 (eval $ac_try) 2>&5
74343 ac_status=$?
74344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74345 (exit $ac_status); }; } &&
74346 { ac_try='test -s conftest$ac_exeext'
74347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74348 (eval $ac_try) 2>&5
74349 ac_status=$?
74350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74351 (exit $ac_status); }; }; then
74352 ac_cv_lib_iconv_iconv=yes
74353 else
74354 echo "$as_me: failed program was:" >&5
74355 sed 's/^/| /' conftest.$ac_ext >&5
74357 ac_cv_lib_iconv_iconv=no
74359 rm -f conftest.err conftest.$ac_objext \
74360 conftest$ac_exeext conftest.$ac_ext
74361 LIBS=$ac_check_lib_save_LIBS
74363 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
74364 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
74365 if test $ac_cv_lib_iconv_iconv = yes; then
74366 LIBICONV="-liconv"
74369 ac_save_LIBS="$LIBS"
74370 LIBS="$LIBS $LIBICONV"
74377 for ac_func in iconv_open iconv_close iconv nl_langinfo
74379 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74380 echo "$as_me:$LINENO: checking for $ac_func" >&5
74381 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74382 if eval "test \"\${$as_ac_var+set}\" = set"; then
74383 echo $ECHO_N "(cached) $ECHO_C" >&6
74384 else
74385 if test x$gcc_no_link = xyes; then
74386 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74387 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74388 { (exit 1); exit 1; }; }
74390 cat >conftest.$ac_ext <<_ACEOF
74391 /* confdefs.h. */
74392 _ACEOF
74393 cat confdefs.h >>conftest.$ac_ext
74394 cat >>conftest.$ac_ext <<_ACEOF
74395 /* end confdefs.h. */
74396 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74397 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74398 #define $ac_func innocuous_$ac_func
74400 /* System header to define __stub macros and hopefully few prototypes,
74401 which can conflict with char $ac_func (); below.
74402 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74403 <limits.h> exists even on freestanding compilers. */
74405 #ifdef __STDC__
74406 # include <limits.h>
74407 #else
74408 # include <assert.h>
74409 #endif
74411 #undef $ac_func
74413 /* Override any gcc2 internal prototype to avoid an error. */
74414 #ifdef __cplusplus
74415 extern "C"
74417 #endif
74418 /* We use char because int might match the return type of a gcc2
74419 builtin and then its argument prototype would still apply. */
74420 char $ac_func ();
74421 /* The GNU C library defines this for functions which it implements
74422 to always fail with ENOSYS. Some functions are actually named
74423 something starting with __ and the normal name is an alias. */
74424 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74425 choke me
74426 #else
74427 char (*f) () = $ac_func;
74428 #endif
74429 #ifdef __cplusplus
74431 #endif
74434 main ()
74436 return f != $ac_func;
74438 return 0;
74440 _ACEOF
74441 rm -f conftest.$ac_objext conftest$ac_exeext
74442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74443 (eval $ac_link) 2>conftest.er1
74444 ac_status=$?
74445 grep -v '^ *+' conftest.er1 >conftest.err
74446 rm -f conftest.er1
74447 cat conftest.err >&5
74448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74449 (exit $ac_status); } &&
74450 { ac_try='test -z "$ac_c_werror_flag"
74451 || test ! -s conftest.err'
74452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74453 (eval $ac_try) 2>&5
74454 ac_status=$?
74455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74456 (exit $ac_status); }; } &&
74457 { ac_try='test -s conftest$ac_exeext'
74458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74459 (eval $ac_try) 2>&5
74460 ac_status=$?
74461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74462 (exit $ac_status); }; }; then
74463 eval "$as_ac_var=yes"
74464 else
74465 echo "$as_me: failed program was:" >&5
74466 sed 's/^/| /' conftest.$ac_ext >&5
74468 eval "$as_ac_var=no"
74470 rm -f conftest.err conftest.$ac_objext \
74471 conftest$ac_exeext conftest.$ac_ext
74473 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74474 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74475 if test `eval echo '${'$as_ac_var'}'` = yes; then
74476 cat >>confdefs.h <<_ACEOF
74477 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74478 _ACEOF
74479 ac_XPG2funcs=yes
74480 else
74481 ac_XPG2funcs=no
74483 done
74486 LIBS="$ac_save_LIBS"
74488 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
74489 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
74490 if test x"$ac_has_iconv_h" = xyes &&
74491 test x"$ac_has_langinfo_h" = xyes &&
74492 test x"$ac_XPG2funcs" = xyes;
74493 then
74494 ac_XPG2_wchar_t=yes
74495 else
74496 ac_XPG2_wchar_t=no
74498 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
74499 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
74501 # At the moment, only enable wchar_t specializations if all the
74502 # above support is present.
74503 if test x"$ac_isoC99_wchar_t" = xyes &&
74504 test x"$ac_XPG2_wchar_t" = xyes;
74505 then
74506 cat >>confdefs.h <<\_ACEOF
74507 #define _GLIBCXX_USE_WCHAR_T 1
74508 _ACEOF
74510 enable_wchar_t=yes
74513 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
74514 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
74515 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
74516 echo "${ECHO_T}$enable_wchar_t" >&6
74519 ac_test_CXXFLAGS="${CXXFLAGS+set}"
74520 ac_save_CXXFLAGS="$CXXFLAGS"
74521 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
74524 echo "$as_me:$LINENO: checking for strtold declaration" >&5
74525 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
74526 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
74527 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
74528 echo $ECHO_N "(cached) $ECHO_C" >&6
74529 else
74533 ac_ext=cc
74534 ac_cpp='$CXXCPP $CPPFLAGS'
74535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74539 cat >conftest.$ac_ext <<_ACEOF
74540 /* confdefs.h. */
74541 _ACEOF
74542 cat confdefs.h >>conftest.$ac_ext
74543 cat >>conftest.$ac_ext <<_ACEOF
74544 /* end confdefs.h. */
74545 #include <stdlib.h>
74547 main ()
74549 strtold(0, 0);
74551 return 0;
74553 _ACEOF
74554 rm -f conftest.$ac_objext
74555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74556 (eval $ac_compile) 2>conftest.er1
74557 ac_status=$?
74558 grep -v '^ *+' conftest.er1 >conftest.err
74559 rm -f conftest.er1
74560 cat conftest.err >&5
74561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74562 (exit $ac_status); } &&
74563 { ac_try='test -z "$ac_cxx_werror_flag"
74564 || test ! -s conftest.err'
74565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74566 (eval $ac_try) 2>&5
74567 ac_status=$?
74568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74569 (exit $ac_status); }; } &&
74570 { ac_try='test -s conftest.$ac_objext'
74571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74572 (eval $ac_try) 2>&5
74573 ac_status=$?
74574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74575 (exit $ac_status); }; }; then
74576 glibcxx_cv_func_strtold_use=yes
74577 else
74578 echo "$as_me: failed program was:" >&5
74579 sed 's/^/| /' conftest.$ac_ext >&5
74581 glibcxx_cv_func_strtold_use=no
74583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74584 ac_ext=c
74585 ac_cpp='$CPP $CPPFLAGS'
74586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74594 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
74595 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
74596 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
74598 for ac_func in strtold
74600 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74601 echo "$as_me:$LINENO: checking for $ac_func" >&5
74602 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74603 if eval "test \"\${$as_ac_var+set}\" = set"; then
74604 echo $ECHO_N "(cached) $ECHO_C" >&6
74605 else
74606 if test x$gcc_no_link = xyes; then
74607 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74608 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74609 { (exit 1); exit 1; }; }
74611 cat >conftest.$ac_ext <<_ACEOF
74612 /* confdefs.h. */
74613 _ACEOF
74614 cat confdefs.h >>conftest.$ac_ext
74615 cat >>conftest.$ac_ext <<_ACEOF
74616 /* end confdefs.h. */
74617 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74618 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74619 #define $ac_func innocuous_$ac_func
74621 /* System header to define __stub macros and hopefully few prototypes,
74622 which can conflict with char $ac_func (); below.
74623 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74624 <limits.h> exists even on freestanding compilers. */
74626 #ifdef __STDC__
74627 # include <limits.h>
74628 #else
74629 # include <assert.h>
74630 #endif
74632 #undef $ac_func
74634 /* Override any gcc2 internal prototype to avoid an error. */
74635 #ifdef __cplusplus
74636 extern "C"
74638 #endif
74639 /* We use char because int might match the return type of a gcc2
74640 builtin and then its argument prototype would still apply. */
74641 char $ac_func ();
74642 /* The GNU C library defines this for functions which it implements
74643 to always fail with ENOSYS. Some functions are actually named
74644 something starting with __ and the normal name is an alias. */
74645 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74646 choke me
74647 #else
74648 char (*f) () = $ac_func;
74649 #endif
74650 #ifdef __cplusplus
74652 #endif
74655 main ()
74657 return f != $ac_func;
74659 return 0;
74661 _ACEOF
74662 rm -f conftest.$ac_objext conftest$ac_exeext
74663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74664 (eval $ac_link) 2>conftest.er1
74665 ac_status=$?
74666 grep -v '^ *+' conftest.er1 >conftest.err
74667 rm -f conftest.er1
74668 cat conftest.err >&5
74669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74670 (exit $ac_status); } &&
74671 { ac_try='test -z "$ac_c_werror_flag"
74672 || test ! -s conftest.err'
74673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74674 (eval $ac_try) 2>&5
74675 ac_status=$?
74676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74677 (exit $ac_status); }; } &&
74678 { ac_try='test -s conftest$ac_exeext'
74679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74680 (eval $ac_try) 2>&5
74681 ac_status=$?
74682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74683 (exit $ac_status); }; }; then
74684 eval "$as_ac_var=yes"
74685 else
74686 echo "$as_me: failed program was:" >&5
74687 sed 's/^/| /' conftest.$ac_ext >&5
74689 eval "$as_ac_var=no"
74691 rm -f conftest.err conftest.$ac_objext \
74692 conftest$ac_exeext conftest.$ac_ext
74694 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74695 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74696 if test `eval echo '${'$as_ac_var'}'` = yes; then
74697 cat >>confdefs.h <<_ACEOF
74698 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74699 _ACEOF
74702 done
74707 echo "$as_me:$LINENO: checking for strtof declaration" >&5
74708 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
74709 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
74710 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
74711 echo $ECHO_N "(cached) $ECHO_C" >&6
74712 else
74716 ac_ext=cc
74717 ac_cpp='$CXXCPP $CPPFLAGS'
74718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74722 cat >conftest.$ac_ext <<_ACEOF
74723 /* confdefs.h. */
74724 _ACEOF
74725 cat confdefs.h >>conftest.$ac_ext
74726 cat >>conftest.$ac_ext <<_ACEOF
74727 /* end confdefs.h. */
74728 #include <stdlib.h>
74730 main ()
74732 strtof(0, 0);
74734 return 0;
74736 _ACEOF
74737 rm -f conftest.$ac_objext
74738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74739 (eval $ac_compile) 2>conftest.er1
74740 ac_status=$?
74741 grep -v '^ *+' conftest.er1 >conftest.err
74742 rm -f conftest.er1
74743 cat conftest.err >&5
74744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74745 (exit $ac_status); } &&
74746 { ac_try='test -z "$ac_cxx_werror_flag"
74747 || test ! -s conftest.err'
74748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74749 (eval $ac_try) 2>&5
74750 ac_status=$?
74751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74752 (exit $ac_status); }; } &&
74753 { ac_try='test -s conftest.$ac_objext'
74754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74755 (eval $ac_try) 2>&5
74756 ac_status=$?
74757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74758 (exit $ac_status); }; }; then
74759 glibcxx_cv_func_strtof_use=yes
74760 else
74761 echo "$as_me: failed program was:" >&5
74762 sed 's/^/| /' conftest.$ac_ext >&5
74764 glibcxx_cv_func_strtof_use=no
74766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74767 ac_ext=c
74768 ac_cpp='$CPP $CPPFLAGS'
74769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74777 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
74778 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
74779 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
74781 for ac_func in strtof
74783 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74784 echo "$as_me:$LINENO: checking for $ac_func" >&5
74785 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74786 if eval "test \"\${$as_ac_var+set}\" = set"; then
74787 echo $ECHO_N "(cached) $ECHO_C" >&6
74788 else
74789 if test x$gcc_no_link = xyes; then
74790 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74791 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74792 { (exit 1); exit 1; }; }
74794 cat >conftest.$ac_ext <<_ACEOF
74795 /* confdefs.h. */
74796 _ACEOF
74797 cat confdefs.h >>conftest.$ac_ext
74798 cat >>conftest.$ac_ext <<_ACEOF
74799 /* end confdefs.h. */
74800 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74801 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74802 #define $ac_func innocuous_$ac_func
74804 /* System header to define __stub macros and hopefully few prototypes,
74805 which can conflict with char $ac_func (); below.
74806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74807 <limits.h> exists even on freestanding compilers. */
74809 #ifdef __STDC__
74810 # include <limits.h>
74811 #else
74812 # include <assert.h>
74813 #endif
74815 #undef $ac_func
74817 /* Override any gcc2 internal prototype to avoid an error. */
74818 #ifdef __cplusplus
74819 extern "C"
74821 #endif
74822 /* We use char because int might match the return type of a gcc2
74823 builtin and then its argument prototype would still apply. */
74824 char $ac_func ();
74825 /* The GNU C library defines this for functions which it implements
74826 to always fail with ENOSYS. Some functions are actually named
74827 something starting with __ and the normal name is an alias. */
74828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74829 choke me
74830 #else
74831 char (*f) () = $ac_func;
74832 #endif
74833 #ifdef __cplusplus
74835 #endif
74838 main ()
74840 return f != $ac_func;
74842 return 0;
74844 _ACEOF
74845 rm -f conftest.$ac_objext conftest$ac_exeext
74846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74847 (eval $ac_link) 2>conftest.er1
74848 ac_status=$?
74849 grep -v '^ *+' conftest.er1 >conftest.err
74850 rm -f conftest.er1
74851 cat conftest.err >&5
74852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74853 (exit $ac_status); } &&
74854 { ac_try='test -z "$ac_c_werror_flag"
74855 || test ! -s conftest.err'
74856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74857 (eval $ac_try) 2>&5
74858 ac_status=$?
74859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74860 (exit $ac_status); }; } &&
74861 { ac_try='test -s conftest$ac_exeext'
74862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74863 (eval $ac_try) 2>&5
74864 ac_status=$?
74865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74866 (exit $ac_status); }; }; then
74867 eval "$as_ac_var=yes"
74868 else
74869 echo "$as_me: failed program was:" >&5
74870 sed 's/^/| /' conftest.$ac_ext >&5
74872 eval "$as_ac_var=no"
74874 rm -f conftest.err conftest.$ac_objext \
74875 conftest$ac_exeext conftest.$ac_ext
74877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74878 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74879 if test `eval echo '${'$as_ac_var'}'` = yes; then
74880 cat >>confdefs.h <<_ACEOF
74881 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74882 _ACEOF
74885 done
74890 CXXFLAGS="$ac_save_CXXFLAGS"
74893 if test "${glibcxx_cv_S_ISREG+set}" = set; then
74894 echo $ECHO_N "(cached) $ECHO_C" >&6
74895 else
74897 if test x$gcc_no_link = xyes; then
74898 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74899 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74900 { (exit 1); exit 1; }; }
74902 cat >conftest.$ac_ext <<_ACEOF
74903 /* confdefs.h. */
74904 _ACEOF
74905 cat confdefs.h >>conftest.$ac_ext
74906 cat >>conftest.$ac_ext <<_ACEOF
74907 /* end confdefs.h. */
74908 #include <sys/stat.h>
74910 main ()
74912 struct stat buffer;
74913 fstat(0, &buffer);
74914 S_ISREG(buffer.st_mode);
74916 return 0;
74918 _ACEOF
74919 rm -f conftest.$ac_objext conftest$ac_exeext
74920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74921 (eval $ac_link) 2>conftest.er1
74922 ac_status=$?
74923 grep -v '^ *+' conftest.er1 >conftest.err
74924 rm -f conftest.er1
74925 cat conftest.err >&5
74926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74927 (exit $ac_status); } &&
74928 { ac_try='test -z "$ac_c_werror_flag"
74929 || test ! -s conftest.err'
74930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74931 (eval $ac_try) 2>&5
74932 ac_status=$?
74933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74934 (exit $ac_status); }; } &&
74935 { ac_try='test -s conftest$ac_exeext'
74936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74937 (eval $ac_try) 2>&5
74938 ac_status=$?
74939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74940 (exit $ac_status); }; }; then
74941 glibcxx_cv_S_ISREG=yes
74942 else
74943 echo "$as_me: failed program was:" >&5
74944 sed 's/^/| /' conftest.$ac_ext >&5
74946 glibcxx_cv_S_ISREG=no
74948 rm -f conftest.err conftest.$ac_objext \
74949 conftest$ac_exeext conftest.$ac_ext
74953 if test "${glibcxx_cv_S_IFREG+set}" = set; then
74954 echo $ECHO_N "(cached) $ECHO_C" >&6
74955 else
74957 if test x$gcc_no_link = xyes; then
74958 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74959 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74960 { (exit 1); exit 1; }; }
74962 cat >conftest.$ac_ext <<_ACEOF
74963 /* confdefs.h. */
74964 _ACEOF
74965 cat confdefs.h >>conftest.$ac_ext
74966 cat >>conftest.$ac_ext <<_ACEOF
74967 /* end confdefs.h. */
74968 #include <sys/stat.h>
74970 main ()
74972 struct stat buffer;
74973 fstat(0, &buffer);
74974 S_IFREG & buffer.st_mode;
74976 return 0;
74978 _ACEOF
74979 rm -f conftest.$ac_objext conftest$ac_exeext
74980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74981 (eval $ac_link) 2>conftest.er1
74982 ac_status=$?
74983 grep -v '^ *+' conftest.er1 >conftest.err
74984 rm -f conftest.er1
74985 cat conftest.err >&5
74986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74987 (exit $ac_status); } &&
74988 { ac_try='test -z "$ac_c_werror_flag"
74989 || test ! -s conftest.err'
74990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74991 (eval $ac_try) 2>&5
74992 ac_status=$?
74993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74994 (exit $ac_status); }; } &&
74995 { ac_try='test -s conftest$ac_exeext'
74996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74997 (eval $ac_try) 2>&5
74998 ac_status=$?
74999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75000 (exit $ac_status); }; }; then
75001 glibcxx_cv_S_IFREG=yes
75002 else
75003 echo "$as_me: failed program was:" >&5
75004 sed 's/^/| /' conftest.$ac_ext >&5
75006 glibcxx_cv_S_IFREG=no
75008 rm -f conftest.err conftest.$ac_objext \
75009 conftest$ac_exeext conftest.$ac_ext
75013 if test $glibcxx_cv_S_ISREG = yes; then
75014 cat >>confdefs.h <<\_ACEOF
75015 #define HAVE_S_ISREG 1
75016 _ACEOF
75018 elif test $glibcxx_cv_S_IFREG = yes; then
75019 cat >>confdefs.h <<\_ACEOF
75020 #define HAVE_S_IFREG 1
75021 _ACEOF
75025 cat >>confdefs.h <<\_ACEOF
75026 #define HAVE_WRITEV 1
75027 _ACEOF
75031 *-freebsd*)
75048 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
75049 machine/endian.h machine/param.h sys/machine.h sys/types.h \
75050 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
75051 sys/time.h unistd.h
75053 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
75054 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75055 echo "$as_me:$LINENO: checking for $ac_header" >&5
75056 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75057 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75058 echo $ECHO_N "(cached) $ECHO_C" >&6
75060 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75061 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75062 else
75063 # Is the header compilable?
75064 echo "$as_me:$LINENO: checking $ac_header usability" >&5
75065 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
75066 cat >conftest.$ac_ext <<_ACEOF
75067 /* confdefs.h. */
75068 _ACEOF
75069 cat confdefs.h >>conftest.$ac_ext
75070 cat >>conftest.$ac_ext <<_ACEOF
75071 /* end confdefs.h. */
75072 $ac_includes_default
75073 #include <$ac_header>
75074 _ACEOF
75075 rm -f conftest.$ac_objext
75076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75077 (eval $ac_compile) 2>conftest.er1
75078 ac_status=$?
75079 grep -v '^ *+' conftest.er1 >conftest.err
75080 rm -f conftest.er1
75081 cat conftest.err >&5
75082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75083 (exit $ac_status); } &&
75084 { ac_try='test -z "$ac_c_werror_flag"
75085 || test ! -s conftest.err'
75086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75087 (eval $ac_try) 2>&5
75088 ac_status=$?
75089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75090 (exit $ac_status); }; } &&
75091 { ac_try='test -s conftest.$ac_objext'
75092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75093 (eval $ac_try) 2>&5
75094 ac_status=$?
75095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75096 (exit $ac_status); }; }; then
75097 ac_header_compiler=yes
75098 else
75099 echo "$as_me: failed program was:" >&5
75100 sed 's/^/| /' conftest.$ac_ext >&5
75102 ac_header_compiler=no
75104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75105 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75106 echo "${ECHO_T}$ac_header_compiler" >&6
75108 # Is the header present?
75109 echo "$as_me:$LINENO: checking $ac_header presence" >&5
75110 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
75111 cat >conftest.$ac_ext <<_ACEOF
75112 /* confdefs.h. */
75113 _ACEOF
75114 cat confdefs.h >>conftest.$ac_ext
75115 cat >>conftest.$ac_ext <<_ACEOF
75116 /* end confdefs.h. */
75117 #include <$ac_header>
75118 _ACEOF
75119 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75120 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75121 ac_status=$?
75122 grep -v '^ *+' conftest.er1 >conftest.err
75123 rm -f conftest.er1
75124 cat conftest.err >&5
75125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75126 (exit $ac_status); } >/dev/null; then
75127 if test -s conftest.err; then
75128 ac_cpp_err=$ac_c_preproc_warn_flag
75129 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75130 else
75131 ac_cpp_err=
75133 else
75134 ac_cpp_err=yes
75136 if test -z "$ac_cpp_err"; then
75137 ac_header_preproc=yes
75138 else
75139 echo "$as_me: failed program was:" >&5
75140 sed 's/^/| /' conftest.$ac_ext >&5
75142 ac_header_preproc=no
75144 rm -f conftest.err conftest.$ac_ext
75145 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75146 echo "${ECHO_T}$ac_header_preproc" >&6
75148 # So? What about this header?
75149 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75150 yes:no: )
75151 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
75152 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
75153 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
75154 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
75155 ac_header_preproc=yes
75157 no:yes:* )
75158 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
75159 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
75160 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
75161 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
75162 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
75163 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
75164 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
75165 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
75166 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
75167 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
75168 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
75169 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
75171 cat <<\_ASBOX
75172 ## ----------------------------------------- ##
75173 ## Report this to the package-unused lists. ##
75174 ## ----------------------------------------- ##
75175 _ASBOX
75177 sed "s/^/$as_me: WARNING: /" >&2
75179 esac
75180 echo "$as_me:$LINENO: checking for $ac_header" >&5
75181 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75182 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75183 echo $ECHO_N "(cached) $ECHO_C" >&6
75184 else
75185 eval "$as_ac_Header=\$ac_header_preproc"
75187 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75188 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75191 if test `eval echo '${'$as_ac_Header'}'` = yes; then
75192 cat >>confdefs.h <<_ACEOF
75193 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
75194 _ACEOF
75198 done
75200 SECTION_FLAGS='-ffunction-sections -fdata-sections'
75203 # If we're not using GNU ld, then there's no point in even trying these
75204 # tests. Check for that first. We should have already tested for gld
75205 # by now (in libtool), but require it now just to be safe...
75206 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
75207 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
75211 # The name set by libtool depends on the version of libtool. Shame on us
75212 # for depending on an impl detail, but c'est la vie. Older versions used
75213 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
75214 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
75215 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
75216 # set (hence we're using an older libtool), then set it.
75217 if test x${with_gnu_ld+set} != xset; then
75218 if test x${ac_cv_prog_gnu_ld+set} != xset; then
75219 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
75220 with_gnu_ld=no
75221 else
75222 with_gnu_ld=$ac_cv_prog_gnu_ld
75226 # Start by getting the version number. I think the libtool test already
75227 # does some of this, but throws away the result.
75229 ldver=`$LD --version 2>/dev/null | head -1 | \
75230 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
75232 glibcxx_gnu_ld_version=`echo $ldver | \
75233 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
75235 # Set --gc-sections.
75236 if test "$with_gnu_ld" = "notbroken"; then
75237 # GNU ld it is! Joy and bunny rabbits!
75239 # All these tests are for C++; save the language and the compiler flags.
75240 # Need to do this so that g++ won't try to link in libstdc++
75241 ac_test_CFLAGS="${CFLAGS+set}"
75242 ac_save_CFLAGS="$CFLAGS"
75243 CFLAGS='-x c++ -Wl,--gc-sections'
75245 # Check for -Wl,--gc-sections
75246 # XXX This test is broken at the moment, as symbols required for linking
75247 # are now in libsupc++ (not built yet). In addition, this test has
75248 # cored on solaris in the past. In addition, --gc-sections doesn't
75249 # really work at the moment (keeps on discarding used sections, first
75250 # .eh_frame and now some of the glibc sections for iconv).
75251 # Bzzzzt. Thanks for playing, maybe next time.
75252 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
75253 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
75254 if test "$cross_compiling" = yes; then
75255 ac_sectionLDflags=yes
75256 else
75257 cat >conftest.$ac_ext <<_ACEOF
75258 /* confdefs.h. */
75259 _ACEOF
75260 cat confdefs.h >>conftest.$ac_ext
75261 cat >>conftest.$ac_ext <<_ACEOF
75262 /* end confdefs.h. */
75264 int main(void)
75266 try { throw 1; }
75267 catch (...) { };
75268 return 0;
75271 _ACEOF
75272 rm -f conftest$ac_exeext
75273 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75274 (eval $ac_link) 2>&5
75275 ac_status=$?
75276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75277 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
75278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75279 (eval $ac_try) 2>&5
75280 ac_status=$?
75281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75282 (exit $ac_status); }; }; then
75283 ac_sectionLDflags=yes
75284 else
75285 echo "$as_me: program exited with status $ac_status" >&5
75286 echo "$as_me: failed program was:" >&5
75287 sed 's/^/| /' conftest.$ac_ext >&5
75289 ( exit $ac_status )
75290 ac_sectionLDflags=no
75292 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
75294 if test "$ac_test_CFLAGS" = set; then
75295 CFLAGS="$ac_save_CFLAGS"
75296 else
75297 # this is the suspicious part
75298 CFLAGS=''
75300 if test "$ac_sectionLDflags" = "yes"; then
75301 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
75303 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
75304 echo "${ECHO_T}$ac_sectionLDflags" >&6
75307 # Set linker optimization flags.
75308 if test x"$with_gnu_ld" = x"yes"; then
75309 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
75317 echo "$as_me:$LINENO: checking for main in -lm" >&5
75318 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
75319 if test "${ac_cv_lib_m_main+set}" = set; then
75320 echo $ECHO_N "(cached) $ECHO_C" >&6
75321 else
75322 ac_check_lib_save_LIBS=$LIBS
75323 LIBS="-lm $LIBS"
75324 if test x$gcc_no_link = xyes; then
75325 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75326 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75327 { (exit 1); exit 1; }; }
75329 cat >conftest.$ac_ext <<_ACEOF
75330 /* confdefs.h. */
75331 _ACEOF
75332 cat confdefs.h >>conftest.$ac_ext
75333 cat >>conftest.$ac_ext <<_ACEOF
75334 /* end confdefs.h. */
75338 main ()
75340 main ();
75342 return 0;
75344 _ACEOF
75345 rm -f conftest.$ac_objext conftest$ac_exeext
75346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75347 (eval $ac_link) 2>conftest.er1
75348 ac_status=$?
75349 grep -v '^ *+' conftest.er1 >conftest.err
75350 rm -f conftest.er1
75351 cat conftest.err >&5
75352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75353 (exit $ac_status); } &&
75354 { ac_try='test -z "$ac_c_werror_flag"
75355 || test ! -s conftest.err'
75356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75357 (eval $ac_try) 2>&5
75358 ac_status=$?
75359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75360 (exit $ac_status); }; } &&
75361 { ac_try='test -s conftest$ac_exeext'
75362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75363 (eval $ac_try) 2>&5
75364 ac_status=$?
75365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75366 (exit $ac_status); }; }; then
75367 ac_cv_lib_m_main=yes
75368 else
75369 echo "$as_me: failed program was:" >&5
75370 sed 's/^/| /' conftest.$ac_ext >&5
75372 ac_cv_lib_m_main=no
75374 rm -f conftest.err conftest.$ac_objext \
75375 conftest$ac_exeext conftest.$ac_ext
75376 LIBS=$ac_check_lib_save_LIBS
75378 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
75379 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
75380 if test $ac_cv_lib_m_main = yes; then
75381 cat >>confdefs.h <<_ACEOF
75382 #define HAVE_LIBM 1
75383 _ACEOF
75385 LIBS="-lm $LIBS"
75390 for ac_func in copysignf
75392 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75393 echo "$as_me:$LINENO: checking for $ac_func" >&5
75394 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75395 if eval "test \"\${$as_ac_var+set}\" = set"; then
75396 echo $ECHO_N "(cached) $ECHO_C" >&6
75397 else
75398 if test x$gcc_no_link = xyes; then
75399 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75400 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75401 { (exit 1); exit 1; }; }
75403 cat >conftest.$ac_ext <<_ACEOF
75404 /* confdefs.h. */
75405 _ACEOF
75406 cat confdefs.h >>conftest.$ac_ext
75407 cat >>conftest.$ac_ext <<_ACEOF
75408 /* end confdefs.h. */
75409 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75410 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75411 #define $ac_func innocuous_$ac_func
75413 /* System header to define __stub macros and hopefully few prototypes,
75414 which can conflict with char $ac_func (); below.
75415 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75416 <limits.h> exists even on freestanding compilers. */
75418 #ifdef __STDC__
75419 # include <limits.h>
75420 #else
75421 # include <assert.h>
75422 #endif
75424 #undef $ac_func
75426 /* Override any gcc2 internal prototype to avoid an error. */
75427 #ifdef __cplusplus
75428 extern "C"
75430 #endif
75431 /* We use char because int might match the return type of a gcc2
75432 builtin and then its argument prototype would still apply. */
75433 char $ac_func ();
75434 /* The GNU C library defines this for functions which it implements
75435 to always fail with ENOSYS. Some functions are actually named
75436 something starting with __ and the normal name is an alias. */
75437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75438 choke me
75439 #else
75440 char (*f) () = $ac_func;
75441 #endif
75442 #ifdef __cplusplus
75444 #endif
75447 main ()
75449 return f != $ac_func;
75451 return 0;
75453 _ACEOF
75454 rm -f conftest.$ac_objext conftest$ac_exeext
75455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75456 (eval $ac_link) 2>conftest.er1
75457 ac_status=$?
75458 grep -v '^ *+' conftest.er1 >conftest.err
75459 rm -f conftest.er1
75460 cat conftest.err >&5
75461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75462 (exit $ac_status); } &&
75463 { ac_try='test -z "$ac_c_werror_flag"
75464 || test ! -s conftest.err'
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); }; } &&
75470 { ac_try='test -s conftest$ac_exeext'
75471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75472 (eval $ac_try) 2>&5
75473 ac_status=$?
75474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75475 (exit $ac_status); }; }; then
75476 eval "$as_ac_var=yes"
75477 else
75478 echo "$as_me: failed program was:" >&5
75479 sed 's/^/| /' conftest.$ac_ext >&5
75481 eval "$as_ac_var=no"
75483 rm -f conftest.err conftest.$ac_objext \
75484 conftest$ac_exeext conftest.$ac_ext
75486 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75487 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75488 if test `eval echo '${'$as_ac_var'}'` = yes; then
75489 cat >>confdefs.h <<_ACEOF
75490 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75491 _ACEOF
75493 else
75494 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
75496 done
75500 for ac_func in __signbit
75502 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75503 echo "$as_me:$LINENO: checking for $ac_func" >&5
75504 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75505 if eval "test \"\${$as_ac_var+set}\" = set"; then
75506 echo $ECHO_N "(cached) $ECHO_C" >&6
75507 else
75508 if test x$gcc_no_link = xyes; then
75509 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75510 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75511 { (exit 1); exit 1; }; }
75513 cat >conftest.$ac_ext <<_ACEOF
75514 /* confdefs.h. */
75515 _ACEOF
75516 cat confdefs.h >>conftest.$ac_ext
75517 cat >>conftest.$ac_ext <<_ACEOF
75518 /* end confdefs.h. */
75519 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75520 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75521 #define $ac_func innocuous_$ac_func
75523 /* System header to define __stub macros and hopefully few prototypes,
75524 which can conflict with char $ac_func (); below.
75525 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75526 <limits.h> exists even on freestanding compilers. */
75528 #ifdef __STDC__
75529 # include <limits.h>
75530 #else
75531 # include <assert.h>
75532 #endif
75534 #undef $ac_func
75536 /* Override any gcc2 internal prototype to avoid an error. */
75537 #ifdef __cplusplus
75538 extern "C"
75540 #endif
75541 /* We use char because int might match the return type of a gcc2
75542 builtin and then its argument prototype would still apply. */
75543 char $ac_func ();
75544 /* The GNU C library defines this for functions which it implements
75545 to always fail with ENOSYS. Some functions are actually named
75546 something starting with __ and the normal name is an alias. */
75547 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75548 choke me
75549 #else
75550 char (*f) () = $ac_func;
75551 #endif
75552 #ifdef __cplusplus
75554 #endif
75557 main ()
75559 return f != $ac_func;
75561 return 0;
75563 _ACEOF
75564 rm -f conftest.$ac_objext conftest$ac_exeext
75565 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75566 (eval $ac_link) 2>conftest.er1
75567 ac_status=$?
75568 grep -v '^ *+' conftest.er1 >conftest.err
75569 rm -f conftest.er1
75570 cat conftest.err >&5
75571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75572 (exit $ac_status); } &&
75573 { ac_try='test -z "$ac_c_werror_flag"
75574 || test ! -s conftest.err'
75575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75576 (eval $ac_try) 2>&5
75577 ac_status=$?
75578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75579 (exit $ac_status); }; } &&
75580 { ac_try='test -s conftest$ac_exeext'
75581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75582 (eval $ac_try) 2>&5
75583 ac_status=$?
75584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75585 (exit $ac_status); }; }; then
75586 eval "$as_ac_var=yes"
75587 else
75588 echo "$as_me: failed program was:" >&5
75589 sed 's/^/| /' conftest.$ac_ext >&5
75591 eval "$as_ac_var=no"
75593 rm -f conftest.err conftest.$ac_objext \
75594 conftest$ac_exeext conftest.$ac_ext
75596 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75597 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75598 if test `eval echo '${'$as_ac_var'}'` = yes; then
75599 cat >>confdefs.h <<_ACEOF
75600 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75601 _ACEOF
75603 else
75604 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
75606 done
75610 for ac_func in __signbitf
75612 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75613 echo "$as_me:$LINENO: checking for $ac_func" >&5
75614 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75615 if eval "test \"\${$as_ac_var+set}\" = set"; then
75616 echo $ECHO_N "(cached) $ECHO_C" >&6
75617 else
75618 if test x$gcc_no_link = xyes; then
75619 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75620 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75621 { (exit 1); exit 1; }; }
75623 cat >conftest.$ac_ext <<_ACEOF
75624 /* confdefs.h. */
75625 _ACEOF
75626 cat confdefs.h >>conftest.$ac_ext
75627 cat >>conftest.$ac_ext <<_ACEOF
75628 /* end confdefs.h. */
75629 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75630 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75631 #define $ac_func innocuous_$ac_func
75633 /* System header to define __stub macros and hopefully few prototypes,
75634 which can conflict with char $ac_func (); below.
75635 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75636 <limits.h> exists even on freestanding compilers. */
75638 #ifdef __STDC__
75639 # include <limits.h>
75640 #else
75641 # include <assert.h>
75642 #endif
75644 #undef $ac_func
75646 /* Override any gcc2 internal prototype to avoid an error. */
75647 #ifdef __cplusplus
75648 extern "C"
75650 #endif
75651 /* We use char because int might match the return type of a gcc2
75652 builtin and then its argument prototype would still apply. */
75653 char $ac_func ();
75654 /* The GNU C library defines this for functions which it implements
75655 to always fail with ENOSYS. Some functions are actually named
75656 something starting with __ and the normal name is an alias. */
75657 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75658 choke me
75659 #else
75660 char (*f) () = $ac_func;
75661 #endif
75662 #ifdef __cplusplus
75664 #endif
75667 main ()
75669 return f != $ac_func;
75671 return 0;
75673 _ACEOF
75674 rm -f conftest.$ac_objext conftest$ac_exeext
75675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75676 (eval $ac_link) 2>conftest.er1
75677 ac_status=$?
75678 grep -v '^ *+' conftest.er1 >conftest.err
75679 rm -f conftest.er1
75680 cat conftest.err >&5
75681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75682 (exit $ac_status); } &&
75683 { ac_try='test -z "$ac_c_werror_flag"
75684 || test ! -s conftest.err'
75685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75686 (eval $ac_try) 2>&5
75687 ac_status=$?
75688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75689 (exit $ac_status); }; } &&
75690 { ac_try='test -s conftest$ac_exeext'
75691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75692 (eval $ac_try) 2>&5
75693 ac_status=$?
75694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75695 (exit $ac_status); }; }; then
75696 eval "$as_ac_var=yes"
75697 else
75698 echo "$as_me: failed program was:" >&5
75699 sed 's/^/| /' conftest.$ac_ext >&5
75701 eval "$as_ac_var=no"
75703 rm -f conftest.err conftest.$ac_objext \
75704 conftest$ac_exeext conftest.$ac_ext
75706 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75707 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75708 if test `eval echo '${'$as_ac_var'}'` = yes; then
75709 cat >>confdefs.h <<_ACEOF
75710 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75711 _ACEOF
75713 else
75714 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
75716 done
75719 if test x$ac_cv_func_copysignl = x"yes"; then
75721 for ac_func in __signbitl
75723 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75724 echo "$as_me:$LINENO: checking for $ac_func" >&5
75725 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75726 if eval "test \"\${$as_ac_var+set}\" = set"; then
75727 echo $ECHO_N "(cached) $ECHO_C" >&6
75728 else
75729 if test x$gcc_no_link = xyes; then
75730 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75731 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75732 { (exit 1); exit 1; }; }
75734 cat >conftest.$ac_ext <<_ACEOF
75735 /* confdefs.h. */
75736 _ACEOF
75737 cat confdefs.h >>conftest.$ac_ext
75738 cat >>conftest.$ac_ext <<_ACEOF
75739 /* end confdefs.h. */
75740 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75741 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75742 #define $ac_func innocuous_$ac_func
75744 /* System header to define __stub macros and hopefully few prototypes,
75745 which can conflict with char $ac_func (); below.
75746 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75747 <limits.h> exists even on freestanding compilers. */
75749 #ifdef __STDC__
75750 # include <limits.h>
75751 #else
75752 # include <assert.h>
75753 #endif
75755 #undef $ac_func
75757 /* Override any gcc2 internal prototype to avoid an error. */
75758 #ifdef __cplusplus
75759 extern "C"
75761 #endif
75762 /* We use char because int might match the return type of a gcc2
75763 builtin and then its argument prototype would still apply. */
75764 char $ac_func ();
75765 /* The GNU C library defines this for functions which it implements
75766 to always fail with ENOSYS. Some functions are actually named
75767 something starting with __ and the normal name is an alias. */
75768 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75769 choke me
75770 #else
75771 char (*f) () = $ac_func;
75772 #endif
75773 #ifdef __cplusplus
75775 #endif
75778 main ()
75780 return f != $ac_func;
75782 return 0;
75784 _ACEOF
75785 rm -f conftest.$ac_objext conftest$ac_exeext
75786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75787 (eval $ac_link) 2>conftest.er1
75788 ac_status=$?
75789 grep -v '^ *+' conftest.er1 >conftest.err
75790 rm -f conftest.er1
75791 cat conftest.err >&5
75792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75793 (exit $ac_status); } &&
75794 { ac_try='test -z "$ac_c_werror_flag"
75795 || test ! -s conftest.err'
75796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75797 (eval $ac_try) 2>&5
75798 ac_status=$?
75799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75800 (exit $ac_status); }; } &&
75801 { ac_try='test -s conftest$ac_exeext'
75802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75803 (eval $ac_try) 2>&5
75804 ac_status=$?
75805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75806 (exit $ac_status); }; }; then
75807 eval "$as_ac_var=yes"
75808 else
75809 echo "$as_me: failed program was:" >&5
75810 sed 's/^/| /' conftest.$ac_ext >&5
75812 eval "$as_ac_var=no"
75814 rm -f conftest.err conftest.$ac_objext \
75815 conftest$ac_exeext conftest.$ac_ext
75817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75818 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75819 if test `eval echo '${'$as_ac_var'}'` = yes; then
75820 cat >>confdefs.h <<_ACEOF
75821 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75822 _ACEOF
75824 else
75825 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
75827 done
75831 # Used in libmath/Makefile.am.
75832 if test -n "$LIBMATHOBJS"; then
75833 need_libmath=yes
75838 # Test wchar.h for mbstate_t, which is needed for char_traits and
75839 # others even if wchar_t support is not on.
75840 echo "$as_me:$LINENO: checking for mbstate_t" >&5
75841 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
75842 cat >conftest.$ac_ext <<_ACEOF
75843 /* confdefs.h. */
75844 _ACEOF
75845 cat confdefs.h >>conftest.$ac_ext
75846 cat >>conftest.$ac_ext <<_ACEOF
75847 /* end confdefs.h. */
75848 #include <wchar.h>
75850 main ()
75852 mbstate_t teststate;
75854 return 0;
75856 _ACEOF
75857 rm -f conftest.$ac_objext
75858 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75859 (eval $ac_compile) 2>conftest.er1
75860 ac_status=$?
75861 grep -v '^ *+' conftest.er1 >conftest.err
75862 rm -f conftest.er1
75863 cat conftest.err >&5
75864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75865 (exit $ac_status); } &&
75866 { ac_try='test -z "$ac_c_werror_flag"
75867 || test ! -s conftest.err'
75868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75869 (eval $ac_try) 2>&5
75870 ac_status=$?
75871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75872 (exit $ac_status); }; } &&
75873 { ac_try='test -s conftest.$ac_objext'
75874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75875 (eval $ac_try) 2>&5
75876 ac_status=$?
75877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75878 (exit $ac_status); }; }; then
75879 have_mbstate_t=yes
75880 else
75881 echo "$as_me: failed program was:" >&5
75882 sed 's/^/| /' conftest.$ac_ext >&5
75884 have_mbstate_t=no
75886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75887 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
75888 echo "${ECHO_T}$have_mbstate_t" >&6
75889 if test x"$have_mbstate_t" = xyes; then
75890 cat >>confdefs.h <<\_ACEOF
75891 #define HAVE_MBSTATE_T 1
75892 _ACEOF
75896 # Sanity check for existence of ISO C99 headers for extended encoding.
75898 for ac_header in wchar.h
75900 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
75901 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75902 echo "$as_me:$LINENO: checking for $ac_header" >&5
75903 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75904 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75905 echo $ECHO_N "(cached) $ECHO_C" >&6
75907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75908 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75909 else
75910 # Is the header compilable?
75911 echo "$as_me:$LINENO: checking $ac_header usability" >&5
75912 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
75913 cat >conftest.$ac_ext <<_ACEOF
75914 /* confdefs.h. */
75915 _ACEOF
75916 cat confdefs.h >>conftest.$ac_ext
75917 cat >>conftest.$ac_ext <<_ACEOF
75918 /* end confdefs.h. */
75919 $ac_includes_default
75920 #include <$ac_header>
75921 _ACEOF
75922 rm -f conftest.$ac_objext
75923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75924 (eval $ac_compile) 2>conftest.er1
75925 ac_status=$?
75926 grep -v '^ *+' conftest.er1 >conftest.err
75927 rm -f conftest.er1
75928 cat conftest.err >&5
75929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75930 (exit $ac_status); } &&
75931 { ac_try='test -z "$ac_c_werror_flag"
75932 || test ! -s conftest.err'
75933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75934 (eval $ac_try) 2>&5
75935 ac_status=$?
75936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75937 (exit $ac_status); }; } &&
75938 { ac_try='test -s conftest.$ac_objext'
75939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75940 (eval $ac_try) 2>&5
75941 ac_status=$?
75942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75943 (exit $ac_status); }; }; then
75944 ac_header_compiler=yes
75945 else
75946 echo "$as_me: failed program was:" >&5
75947 sed 's/^/| /' conftest.$ac_ext >&5
75949 ac_header_compiler=no
75951 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75952 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75953 echo "${ECHO_T}$ac_header_compiler" >&6
75955 # Is the header present?
75956 echo "$as_me:$LINENO: checking $ac_header presence" >&5
75957 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
75958 cat >conftest.$ac_ext <<_ACEOF
75959 /* confdefs.h. */
75960 _ACEOF
75961 cat confdefs.h >>conftest.$ac_ext
75962 cat >>conftest.$ac_ext <<_ACEOF
75963 /* end confdefs.h. */
75964 #include <$ac_header>
75965 _ACEOF
75966 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75967 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75968 ac_status=$?
75969 grep -v '^ *+' conftest.er1 >conftest.err
75970 rm -f conftest.er1
75971 cat conftest.err >&5
75972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75973 (exit $ac_status); } >/dev/null; then
75974 if test -s conftest.err; then
75975 ac_cpp_err=$ac_c_preproc_warn_flag
75976 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75977 else
75978 ac_cpp_err=
75980 else
75981 ac_cpp_err=yes
75983 if test -z "$ac_cpp_err"; then
75984 ac_header_preproc=yes
75985 else
75986 echo "$as_me: failed program was:" >&5
75987 sed 's/^/| /' conftest.$ac_ext >&5
75989 ac_header_preproc=no
75991 rm -f conftest.err conftest.$ac_ext
75992 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75993 echo "${ECHO_T}$ac_header_preproc" >&6
75995 # So? What about this header?
75996 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75997 yes:no: )
75998 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
75999 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
76000 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
76001 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
76002 ac_header_preproc=yes
76004 no:yes:* )
76005 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
76006 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
76007 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
76008 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
76009 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
76010 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
76011 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
76012 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
76013 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
76014 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
76015 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
76016 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
76018 cat <<\_ASBOX
76019 ## ----------------------------------------- ##
76020 ## Report this to the package-unused lists. ##
76021 ## ----------------------------------------- ##
76022 _ASBOX
76024 sed "s/^/$as_me: WARNING: /" >&2
76026 esac
76027 echo "$as_me:$LINENO: checking for $ac_header" >&5
76028 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76029 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76030 echo $ECHO_N "(cached) $ECHO_C" >&6
76031 else
76032 eval "$as_ac_Header=\$ac_header_preproc"
76034 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76035 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76038 if test `eval echo '${'$as_ac_Header'}'` = yes; then
76039 cat >>confdefs.h <<_ACEOF
76040 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
76041 _ACEOF
76042 ac_has_wchar_h=yes
76043 else
76044 ac_has_wchar_h=no
76047 done
76050 for ac_header in wctype.h
76052 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
76053 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76054 echo "$as_me:$LINENO: checking for $ac_header" >&5
76055 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76056 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76057 echo $ECHO_N "(cached) $ECHO_C" >&6
76059 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76060 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76061 else
76062 # Is the header compilable?
76063 echo "$as_me:$LINENO: checking $ac_header usability" >&5
76064 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
76065 cat >conftest.$ac_ext <<_ACEOF
76066 /* confdefs.h. */
76067 _ACEOF
76068 cat confdefs.h >>conftest.$ac_ext
76069 cat >>conftest.$ac_ext <<_ACEOF
76070 /* end confdefs.h. */
76071 $ac_includes_default
76072 #include <$ac_header>
76073 _ACEOF
76074 rm -f conftest.$ac_objext
76075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76076 (eval $ac_compile) 2>conftest.er1
76077 ac_status=$?
76078 grep -v '^ *+' conftest.er1 >conftest.err
76079 rm -f conftest.er1
76080 cat conftest.err >&5
76081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76082 (exit $ac_status); } &&
76083 { ac_try='test -z "$ac_c_werror_flag"
76084 || test ! -s conftest.err'
76085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76086 (eval $ac_try) 2>&5
76087 ac_status=$?
76088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76089 (exit $ac_status); }; } &&
76090 { ac_try='test -s conftest.$ac_objext'
76091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76092 (eval $ac_try) 2>&5
76093 ac_status=$?
76094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76095 (exit $ac_status); }; }; then
76096 ac_header_compiler=yes
76097 else
76098 echo "$as_me: failed program was:" >&5
76099 sed 's/^/| /' conftest.$ac_ext >&5
76101 ac_header_compiler=no
76103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76104 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76105 echo "${ECHO_T}$ac_header_compiler" >&6
76107 # Is the header present?
76108 echo "$as_me:$LINENO: checking $ac_header presence" >&5
76109 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
76110 cat >conftest.$ac_ext <<_ACEOF
76111 /* confdefs.h. */
76112 _ACEOF
76113 cat confdefs.h >>conftest.$ac_ext
76114 cat >>conftest.$ac_ext <<_ACEOF
76115 /* end confdefs.h. */
76116 #include <$ac_header>
76117 _ACEOF
76118 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76119 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76120 ac_status=$?
76121 grep -v '^ *+' conftest.er1 >conftest.err
76122 rm -f conftest.er1
76123 cat conftest.err >&5
76124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76125 (exit $ac_status); } >/dev/null; then
76126 if test -s conftest.err; then
76127 ac_cpp_err=$ac_c_preproc_warn_flag
76128 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76129 else
76130 ac_cpp_err=
76132 else
76133 ac_cpp_err=yes
76135 if test -z "$ac_cpp_err"; then
76136 ac_header_preproc=yes
76137 else
76138 echo "$as_me: failed program was:" >&5
76139 sed 's/^/| /' conftest.$ac_ext >&5
76141 ac_header_preproc=no
76143 rm -f conftest.err conftest.$ac_ext
76144 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76145 echo "${ECHO_T}$ac_header_preproc" >&6
76147 # So? What about this header?
76148 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76149 yes:no: )
76150 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
76151 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
76152 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
76153 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
76154 ac_header_preproc=yes
76156 no:yes:* )
76157 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
76158 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
76159 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
76160 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
76161 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
76162 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
76163 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
76164 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
76165 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
76166 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
76167 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
76168 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
76170 cat <<\_ASBOX
76171 ## ----------------------------------------- ##
76172 ## Report this to the package-unused lists. ##
76173 ## ----------------------------------------- ##
76174 _ASBOX
76176 sed "s/^/$as_me: WARNING: /" >&2
76178 esac
76179 echo "$as_me:$LINENO: checking for $ac_header" >&5
76180 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76181 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76182 echo $ECHO_N "(cached) $ECHO_C" >&6
76183 else
76184 eval "$as_ac_Header=\$ac_header_preproc"
76186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76187 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76190 if test `eval echo '${'$as_ac_Header'}'` = yes; then
76191 cat >>confdefs.h <<_ACEOF
76192 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
76193 _ACEOF
76194 ac_has_wctype_h=yes
76195 else
76196 ac_has_wctype_h=no
76199 done
76202 # Only continue checking if the ISO C99 headers exist and support is on.
76203 if test x"$ac_has_wchar_h" = xyes &&
76204 test x"$ac_has_wctype_h" = xyes &&
76205 test x"$enable_c_mbchar" != xno; then
76207 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
76208 # numeric_limits can instantiate type_traits<wchar_t>
76209 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
76210 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
76211 cat >conftest.$ac_ext <<_ACEOF
76212 /* confdefs.h. */
76213 _ACEOF
76214 cat confdefs.h >>conftest.$ac_ext
76215 cat >>conftest.$ac_ext <<_ACEOF
76216 /* end confdefs.h. */
76217 #include <wchar.h>
76219 main ()
76221 int i = WCHAR_MIN; int j = WCHAR_MAX;
76223 return 0;
76225 _ACEOF
76226 rm -f conftest.$ac_objext
76227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76228 (eval $ac_compile) 2>conftest.er1
76229 ac_status=$?
76230 grep -v '^ *+' conftest.er1 >conftest.err
76231 rm -f conftest.er1
76232 cat conftest.err >&5
76233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76234 (exit $ac_status); } &&
76235 { ac_try='test -z "$ac_c_werror_flag"
76236 || test ! -s conftest.err'
76237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76238 (eval $ac_try) 2>&5
76239 ac_status=$?
76240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76241 (exit $ac_status); }; } &&
76242 { ac_try='test -s conftest.$ac_objext'
76243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76244 (eval $ac_try) 2>&5
76245 ac_status=$?
76246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76247 (exit $ac_status); }; }; then
76248 has_wchar_minmax=yes
76249 else
76250 echo "$as_me: failed program was:" >&5
76251 sed 's/^/| /' conftest.$ac_ext >&5
76253 has_wchar_minmax=no
76255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76256 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
76257 echo "${ECHO_T}$has_wchar_minmax" >&6
76259 # Test wchar.h for WEOF, which is what we use to determine whether
76260 # to specialize for char_traits<wchar_t> or not.
76261 echo "$as_me:$LINENO: checking for WEOF" >&5
76262 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
76263 cat >conftest.$ac_ext <<_ACEOF
76264 /* confdefs.h. */
76265 _ACEOF
76266 cat confdefs.h >>conftest.$ac_ext
76267 cat >>conftest.$ac_ext <<_ACEOF
76268 /* end confdefs.h. */
76270 #include <wchar.h>
76271 #include <stddef.h>
76273 main ()
76275 wint_t i = WEOF;
76277 return 0;
76279 _ACEOF
76280 rm -f conftest.$ac_objext
76281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76282 (eval $ac_compile) 2>conftest.er1
76283 ac_status=$?
76284 grep -v '^ *+' conftest.er1 >conftest.err
76285 rm -f conftest.er1
76286 cat conftest.err >&5
76287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76288 (exit $ac_status); } &&
76289 { ac_try='test -z "$ac_c_werror_flag"
76290 || test ! -s conftest.err'
76291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76292 (eval $ac_try) 2>&5
76293 ac_status=$?
76294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76295 (exit $ac_status); }; } &&
76296 { ac_try='test -s conftest.$ac_objext'
76297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76298 (eval $ac_try) 2>&5
76299 ac_status=$?
76300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76301 (exit $ac_status); }; }; then
76302 has_weof=yes
76303 else
76304 echo "$as_me: failed program was:" >&5
76305 sed 's/^/| /' conftest.$ac_ext >&5
76307 has_weof=no
76309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76310 echo "$as_me:$LINENO: result: $has_weof" >&5
76311 echo "${ECHO_T}$has_weof" >&6
76313 # Tests for wide character functions used in char_traits<wchar_t>.
76314 ac_wfuncs=yes
76321 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
76323 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76324 echo "$as_me:$LINENO: checking for $ac_func" >&5
76325 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76326 if eval "test \"\${$as_ac_var+set}\" = set"; then
76327 echo $ECHO_N "(cached) $ECHO_C" >&6
76328 else
76329 if test x$gcc_no_link = xyes; then
76330 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76331 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76332 { (exit 1); exit 1; }; }
76334 cat >conftest.$ac_ext <<_ACEOF
76335 /* confdefs.h. */
76336 _ACEOF
76337 cat confdefs.h >>conftest.$ac_ext
76338 cat >>conftest.$ac_ext <<_ACEOF
76339 /* end confdefs.h. */
76340 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76341 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76342 #define $ac_func innocuous_$ac_func
76344 /* System header to define __stub macros and hopefully few prototypes,
76345 which can conflict with char $ac_func (); below.
76346 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76347 <limits.h> exists even on freestanding compilers. */
76349 #ifdef __STDC__
76350 # include <limits.h>
76351 #else
76352 # include <assert.h>
76353 #endif
76355 #undef $ac_func
76357 /* Override any gcc2 internal prototype to avoid an error. */
76358 #ifdef __cplusplus
76359 extern "C"
76361 #endif
76362 /* We use char because int might match the return type of a gcc2
76363 builtin and then its argument prototype would still apply. */
76364 char $ac_func ();
76365 /* The GNU C library defines this for functions which it implements
76366 to always fail with ENOSYS. Some functions are actually named
76367 something starting with __ and the normal name is an alias. */
76368 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76369 choke me
76370 #else
76371 char (*f) () = $ac_func;
76372 #endif
76373 #ifdef __cplusplus
76375 #endif
76378 main ()
76380 return f != $ac_func;
76382 return 0;
76384 _ACEOF
76385 rm -f conftest.$ac_objext conftest$ac_exeext
76386 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76387 (eval $ac_link) 2>conftest.er1
76388 ac_status=$?
76389 grep -v '^ *+' conftest.er1 >conftest.err
76390 rm -f conftest.er1
76391 cat conftest.err >&5
76392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76393 (exit $ac_status); } &&
76394 { ac_try='test -z "$ac_c_werror_flag"
76395 || test ! -s conftest.err'
76396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76397 (eval $ac_try) 2>&5
76398 ac_status=$?
76399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76400 (exit $ac_status); }; } &&
76401 { ac_try='test -s conftest$ac_exeext'
76402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76403 (eval $ac_try) 2>&5
76404 ac_status=$?
76405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76406 (exit $ac_status); }; }; then
76407 eval "$as_ac_var=yes"
76408 else
76409 echo "$as_me: failed program was:" >&5
76410 sed 's/^/| /' conftest.$ac_ext >&5
76412 eval "$as_ac_var=no"
76414 rm -f conftest.err conftest.$ac_objext \
76415 conftest$ac_exeext conftest.$ac_ext
76417 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76418 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76419 if test `eval echo '${'$as_ac_var'}'` = yes; then
76420 cat >>confdefs.h <<_ACEOF
76421 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76422 _ACEOF
76424 else
76425 ac_wfuncs=no
76427 done
76430 # Checks for names injected into std:: by the c_std headers.
76477 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
76478 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
76479 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
76480 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
76481 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
76482 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
76484 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76485 echo "$as_me:$LINENO: checking for $ac_func" >&5
76486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76487 if eval "test \"\${$as_ac_var+set}\" = set"; then
76488 echo $ECHO_N "(cached) $ECHO_C" >&6
76489 else
76490 if test x$gcc_no_link = xyes; then
76491 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76493 { (exit 1); exit 1; }; }
76495 cat >conftest.$ac_ext <<_ACEOF
76496 /* confdefs.h. */
76497 _ACEOF
76498 cat confdefs.h >>conftest.$ac_ext
76499 cat >>conftest.$ac_ext <<_ACEOF
76500 /* end confdefs.h. */
76501 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76502 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76503 #define $ac_func innocuous_$ac_func
76505 /* System header to define __stub macros and hopefully few prototypes,
76506 which can conflict with char $ac_func (); below.
76507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76508 <limits.h> exists even on freestanding compilers. */
76510 #ifdef __STDC__
76511 # include <limits.h>
76512 #else
76513 # include <assert.h>
76514 #endif
76516 #undef $ac_func
76518 /* Override any gcc2 internal prototype to avoid an error. */
76519 #ifdef __cplusplus
76520 extern "C"
76522 #endif
76523 /* We use char because int might match the return type of a gcc2
76524 builtin and then its argument prototype would still apply. */
76525 char $ac_func ();
76526 /* The GNU C library defines this for functions which it implements
76527 to always fail with ENOSYS. Some functions are actually named
76528 something starting with __ and the normal name is an alias. */
76529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76530 choke me
76531 #else
76532 char (*f) () = $ac_func;
76533 #endif
76534 #ifdef __cplusplus
76536 #endif
76539 main ()
76541 return f != $ac_func;
76543 return 0;
76545 _ACEOF
76546 rm -f conftest.$ac_objext conftest$ac_exeext
76547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76548 (eval $ac_link) 2>conftest.er1
76549 ac_status=$?
76550 grep -v '^ *+' conftest.er1 >conftest.err
76551 rm -f conftest.er1
76552 cat conftest.err >&5
76553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76554 (exit $ac_status); } &&
76555 { ac_try='test -z "$ac_c_werror_flag"
76556 || test ! -s conftest.err'
76557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76558 (eval $ac_try) 2>&5
76559 ac_status=$?
76560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76561 (exit $ac_status); }; } &&
76562 { ac_try='test -s conftest$ac_exeext'
76563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76564 (eval $ac_try) 2>&5
76565 ac_status=$?
76566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76567 (exit $ac_status); }; }; then
76568 eval "$as_ac_var=yes"
76569 else
76570 echo "$as_me: failed program was:" >&5
76571 sed 's/^/| /' conftest.$ac_ext >&5
76573 eval "$as_ac_var=no"
76575 rm -f conftest.err conftest.$ac_objext \
76576 conftest$ac_exeext conftest.$ac_ext
76578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76579 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76580 if test `eval echo '${'$as_ac_var'}'` = yes; then
76581 cat >>confdefs.h <<_ACEOF
76582 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76583 _ACEOF
76585 else
76586 ac_wfuncs=no
76588 done
76591 # Checks for wide character functions that are not required
76592 # for basic wchar_t support. Don't disable support if they are missing.
76593 # Injection of these is wrapped with guard macros.
76599 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
76601 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76602 echo "$as_me:$LINENO: checking for $ac_func" >&5
76603 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76604 if eval "test \"\${$as_ac_var+set}\" = set"; then
76605 echo $ECHO_N "(cached) $ECHO_C" >&6
76606 else
76607 if test x$gcc_no_link = xyes; then
76608 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76609 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76610 { (exit 1); exit 1; }; }
76612 cat >conftest.$ac_ext <<_ACEOF
76613 /* confdefs.h. */
76614 _ACEOF
76615 cat confdefs.h >>conftest.$ac_ext
76616 cat >>conftest.$ac_ext <<_ACEOF
76617 /* end confdefs.h. */
76618 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76619 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76620 #define $ac_func innocuous_$ac_func
76622 /* System header to define __stub macros and hopefully few prototypes,
76623 which can conflict with char $ac_func (); below.
76624 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76625 <limits.h> exists even on freestanding compilers. */
76627 #ifdef __STDC__
76628 # include <limits.h>
76629 #else
76630 # include <assert.h>
76631 #endif
76633 #undef $ac_func
76635 /* Override any gcc2 internal prototype to avoid an error. */
76636 #ifdef __cplusplus
76637 extern "C"
76639 #endif
76640 /* We use char because int might match the return type of a gcc2
76641 builtin and then its argument prototype would still apply. */
76642 char $ac_func ();
76643 /* The GNU C library defines this for functions which it implements
76644 to always fail with ENOSYS. Some functions are actually named
76645 something starting with __ and the normal name is an alias. */
76646 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76647 choke me
76648 #else
76649 char (*f) () = $ac_func;
76650 #endif
76651 #ifdef __cplusplus
76653 #endif
76656 main ()
76658 return f != $ac_func;
76660 return 0;
76662 _ACEOF
76663 rm -f conftest.$ac_objext conftest$ac_exeext
76664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76665 (eval $ac_link) 2>conftest.er1
76666 ac_status=$?
76667 grep -v '^ *+' conftest.er1 >conftest.err
76668 rm -f conftest.er1
76669 cat conftest.err >&5
76670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76671 (exit $ac_status); } &&
76672 { ac_try='test -z "$ac_c_werror_flag"
76673 || test ! -s conftest.err'
76674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76675 (eval $ac_try) 2>&5
76676 ac_status=$?
76677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76678 (exit $ac_status); }; } &&
76679 { ac_try='test -s conftest$ac_exeext'
76680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76681 (eval $ac_try) 2>&5
76682 ac_status=$?
76683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76684 (exit $ac_status); }; }; then
76685 eval "$as_ac_var=yes"
76686 else
76687 echo "$as_me: failed program was:" >&5
76688 sed 's/^/| /' conftest.$ac_ext >&5
76690 eval "$as_ac_var=no"
76692 rm -f conftest.err conftest.$ac_objext \
76693 conftest$ac_exeext conftest.$ac_ext
76695 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76696 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76697 if test `eval echo '${'$as_ac_var'}'` = yes; then
76698 cat >>confdefs.h <<_ACEOF
76699 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76700 _ACEOF
76703 done
76706 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
76707 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
76708 if test x"$has_weof" = xyes &&
76709 test x"$has_wchar_minmax" = xyes &&
76710 test x"$ac_wfuncs" = xyes;
76711 then
76712 ac_isoC99_wchar_t=yes
76713 else
76714 ac_isoC99_wchar_t=no
76716 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
76717 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
76719 # Use iconv for wchar_t to char conversions. As such, check for
76720 # X/Open Portability Guide, version 2 features (XPG2).
76721 if test "${ac_cv_header_iconv_h+set}" = set; then
76722 echo "$as_me:$LINENO: checking for iconv.h" >&5
76723 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76724 if test "${ac_cv_header_iconv_h+set}" = set; then
76725 echo $ECHO_N "(cached) $ECHO_C" >&6
76727 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76728 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76729 else
76730 # Is the header compilable?
76731 echo "$as_me:$LINENO: checking iconv.h usability" >&5
76732 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
76733 cat >conftest.$ac_ext <<_ACEOF
76734 /* confdefs.h. */
76735 _ACEOF
76736 cat confdefs.h >>conftest.$ac_ext
76737 cat >>conftest.$ac_ext <<_ACEOF
76738 /* end confdefs.h. */
76739 $ac_includes_default
76740 #include <iconv.h>
76741 _ACEOF
76742 rm -f conftest.$ac_objext
76743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76744 (eval $ac_compile) 2>conftest.er1
76745 ac_status=$?
76746 grep -v '^ *+' conftest.er1 >conftest.err
76747 rm -f conftest.er1
76748 cat conftest.err >&5
76749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76750 (exit $ac_status); } &&
76751 { ac_try='test -z "$ac_c_werror_flag"
76752 || test ! -s conftest.err'
76753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76754 (eval $ac_try) 2>&5
76755 ac_status=$?
76756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76757 (exit $ac_status); }; } &&
76758 { ac_try='test -s conftest.$ac_objext'
76759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76760 (eval $ac_try) 2>&5
76761 ac_status=$?
76762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76763 (exit $ac_status); }; }; then
76764 ac_header_compiler=yes
76765 else
76766 echo "$as_me: failed program was:" >&5
76767 sed 's/^/| /' conftest.$ac_ext >&5
76769 ac_header_compiler=no
76771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76772 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76773 echo "${ECHO_T}$ac_header_compiler" >&6
76775 # Is the header present?
76776 echo "$as_me:$LINENO: checking iconv.h presence" >&5
76777 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
76778 cat >conftest.$ac_ext <<_ACEOF
76779 /* confdefs.h. */
76780 _ACEOF
76781 cat confdefs.h >>conftest.$ac_ext
76782 cat >>conftest.$ac_ext <<_ACEOF
76783 /* end confdefs.h. */
76784 #include <iconv.h>
76785 _ACEOF
76786 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76787 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76788 ac_status=$?
76789 grep -v '^ *+' conftest.er1 >conftest.err
76790 rm -f conftest.er1
76791 cat conftest.err >&5
76792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76793 (exit $ac_status); } >/dev/null; then
76794 if test -s conftest.err; then
76795 ac_cpp_err=$ac_c_preproc_warn_flag
76796 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76797 else
76798 ac_cpp_err=
76800 else
76801 ac_cpp_err=yes
76803 if test -z "$ac_cpp_err"; then
76804 ac_header_preproc=yes
76805 else
76806 echo "$as_me: failed program was:" >&5
76807 sed 's/^/| /' conftest.$ac_ext >&5
76809 ac_header_preproc=no
76811 rm -f conftest.err conftest.$ac_ext
76812 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76813 echo "${ECHO_T}$ac_header_preproc" >&6
76815 # So? What about this header?
76816 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76817 yes:no: )
76818 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
76819 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76820 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
76821 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
76822 ac_header_preproc=yes
76824 no:yes:* )
76825 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
76826 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
76827 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
76828 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
76829 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
76830 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
76831 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
76832 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
76833 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
76834 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
76835 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
76836 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
76838 cat <<\_ASBOX
76839 ## ----------------------------------------- ##
76840 ## Report this to the package-unused lists. ##
76841 ## ----------------------------------------- ##
76842 _ASBOX
76844 sed "s/^/$as_me: WARNING: /" >&2
76846 esac
76847 echo "$as_me:$LINENO: checking for iconv.h" >&5
76848 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76849 if test "${ac_cv_header_iconv_h+set}" = set; then
76850 echo $ECHO_N "(cached) $ECHO_C" >&6
76851 else
76852 ac_cv_header_iconv_h=$ac_header_preproc
76854 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76855 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76858 if test $ac_cv_header_iconv_h = yes; then
76859 ac_has_iconv_h=yes
76860 else
76861 ac_has_iconv_h=no
76865 if test "${ac_cv_header_langinfo_h+set}" = set; then
76866 echo "$as_me:$LINENO: checking for langinfo.h" >&5
76867 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76868 if test "${ac_cv_header_langinfo_h+set}" = set; then
76869 echo $ECHO_N "(cached) $ECHO_C" >&6
76871 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76872 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76873 else
76874 # Is the header compilable?
76875 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
76876 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
76877 cat >conftest.$ac_ext <<_ACEOF
76878 /* confdefs.h. */
76879 _ACEOF
76880 cat confdefs.h >>conftest.$ac_ext
76881 cat >>conftest.$ac_ext <<_ACEOF
76882 /* end confdefs.h. */
76883 $ac_includes_default
76884 #include <langinfo.h>
76885 _ACEOF
76886 rm -f conftest.$ac_objext
76887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76888 (eval $ac_compile) 2>conftest.er1
76889 ac_status=$?
76890 grep -v '^ *+' conftest.er1 >conftest.err
76891 rm -f conftest.er1
76892 cat conftest.err >&5
76893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76894 (exit $ac_status); } &&
76895 { ac_try='test -z "$ac_c_werror_flag"
76896 || test ! -s conftest.err'
76897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76898 (eval $ac_try) 2>&5
76899 ac_status=$?
76900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76901 (exit $ac_status); }; } &&
76902 { ac_try='test -s conftest.$ac_objext'
76903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76904 (eval $ac_try) 2>&5
76905 ac_status=$?
76906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76907 (exit $ac_status); }; }; then
76908 ac_header_compiler=yes
76909 else
76910 echo "$as_me: failed program was:" >&5
76911 sed 's/^/| /' conftest.$ac_ext >&5
76913 ac_header_compiler=no
76915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76916 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76917 echo "${ECHO_T}$ac_header_compiler" >&6
76919 # Is the header present?
76920 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
76921 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
76922 cat >conftest.$ac_ext <<_ACEOF
76923 /* confdefs.h. */
76924 _ACEOF
76925 cat confdefs.h >>conftest.$ac_ext
76926 cat >>conftest.$ac_ext <<_ACEOF
76927 /* end confdefs.h. */
76928 #include <langinfo.h>
76929 _ACEOF
76930 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76931 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76932 ac_status=$?
76933 grep -v '^ *+' conftest.er1 >conftest.err
76934 rm -f conftest.er1
76935 cat conftest.err >&5
76936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76937 (exit $ac_status); } >/dev/null; then
76938 if test -s conftest.err; then
76939 ac_cpp_err=$ac_c_preproc_warn_flag
76940 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76941 else
76942 ac_cpp_err=
76944 else
76945 ac_cpp_err=yes
76947 if test -z "$ac_cpp_err"; then
76948 ac_header_preproc=yes
76949 else
76950 echo "$as_me: failed program was:" >&5
76951 sed 's/^/| /' conftest.$ac_ext >&5
76953 ac_header_preproc=no
76955 rm -f conftest.err conftest.$ac_ext
76956 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76957 echo "${ECHO_T}$ac_header_preproc" >&6
76959 # So? What about this header?
76960 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76961 yes:no: )
76962 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
76963 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76964 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
76965 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
76966 ac_header_preproc=yes
76968 no:yes:* )
76969 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
76970 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
76971 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
76972 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
76973 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
76974 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
76975 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
76976 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
76977 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
76978 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
76979 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
76980 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
76982 cat <<\_ASBOX
76983 ## ----------------------------------------- ##
76984 ## Report this to the package-unused lists. ##
76985 ## ----------------------------------------- ##
76986 _ASBOX
76988 sed "s/^/$as_me: WARNING: /" >&2
76990 esac
76991 echo "$as_me:$LINENO: checking for langinfo.h" >&5
76992 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76993 if test "${ac_cv_header_langinfo_h+set}" = set; then
76994 echo $ECHO_N "(cached) $ECHO_C" >&6
76995 else
76996 ac_cv_header_langinfo_h=$ac_header_preproc
76998 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76999 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
77002 if test $ac_cv_header_langinfo_h = yes; then
77003 ac_has_langinfo_h=yes
77004 else
77005 ac_has_langinfo_h=no
77010 # Check for existence of libiconv.a providing XPG2 wchar_t support.
77011 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
77012 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
77013 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
77014 echo $ECHO_N "(cached) $ECHO_C" >&6
77015 else
77016 ac_check_lib_save_LIBS=$LIBS
77017 LIBS="-liconv $LIBS"
77018 if test x$gcc_no_link = xyes; then
77019 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77020 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77021 { (exit 1); exit 1; }; }
77023 cat >conftest.$ac_ext <<_ACEOF
77024 /* confdefs.h. */
77025 _ACEOF
77026 cat confdefs.h >>conftest.$ac_ext
77027 cat >>conftest.$ac_ext <<_ACEOF
77028 /* end confdefs.h. */
77030 /* Override any gcc2 internal prototype to avoid an error. */
77031 #ifdef __cplusplus
77032 extern "C"
77033 #endif
77034 /* We use char because int might match the return type of a gcc2
77035 builtin and then its argument prototype would still apply. */
77036 char iconv ();
77038 main ()
77040 iconv ();
77042 return 0;
77044 _ACEOF
77045 rm -f conftest.$ac_objext conftest$ac_exeext
77046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77047 (eval $ac_link) 2>conftest.er1
77048 ac_status=$?
77049 grep -v '^ *+' conftest.er1 >conftest.err
77050 rm -f conftest.er1
77051 cat conftest.err >&5
77052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77053 (exit $ac_status); } &&
77054 { ac_try='test -z "$ac_c_werror_flag"
77055 || test ! -s conftest.err'
77056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77057 (eval $ac_try) 2>&5
77058 ac_status=$?
77059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77060 (exit $ac_status); }; } &&
77061 { ac_try='test -s conftest$ac_exeext'
77062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77063 (eval $ac_try) 2>&5
77064 ac_status=$?
77065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77066 (exit $ac_status); }; }; then
77067 ac_cv_lib_iconv_iconv=yes
77068 else
77069 echo "$as_me: failed program was:" >&5
77070 sed 's/^/| /' conftest.$ac_ext >&5
77072 ac_cv_lib_iconv_iconv=no
77074 rm -f conftest.err conftest.$ac_objext \
77075 conftest$ac_exeext conftest.$ac_ext
77076 LIBS=$ac_check_lib_save_LIBS
77078 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
77079 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
77080 if test $ac_cv_lib_iconv_iconv = yes; then
77081 LIBICONV="-liconv"
77084 ac_save_LIBS="$LIBS"
77085 LIBS="$LIBS $LIBICONV"
77092 for ac_func in iconv_open iconv_close iconv nl_langinfo
77094 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77095 echo "$as_me:$LINENO: checking for $ac_func" >&5
77096 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77097 if eval "test \"\${$as_ac_var+set}\" = set"; then
77098 echo $ECHO_N "(cached) $ECHO_C" >&6
77099 else
77100 if test x$gcc_no_link = xyes; then
77101 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77102 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77103 { (exit 1); exit 1; }; }
77105 cat >conftest.$ac_ext <<_ACEOF
77106 /* confdefs.h. */
77107 _ACEOF
77108 cat confdefs.h >>conftest.$ac_ext
77109 cat >>conftest.$ac_ext <<_ACEOF
77110 /* end confdefs.h. */
77111 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77112 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77113 #define $ac_func innocuous_$ac_func
77115 /* System header to define __stub macros and hopefully few prototypes,
77116 which can conflict with char $ac_func (); below.
77117 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77118 <limits.h> exists even on freestanding compilers. */
77120 #ifdef __STDC__
77121 # include <limits.h>
77122 #else
77123 # include <assert.h>
77124 #endif
77126 #undef $ac_func
77128 /* Override any gcc2 internal prototype to avoid an error. */
77129 #ifdef __cplusplus
77130 extern "C"
77132 #endif
77133 /* We use char because int might match the return type of a gcc2
77134 builtin and then its argument prototype would still apply. */
77135 char $ac_func ();
77136 /* The GNU C library defines this for functions which it implements
77137 to always fail with ENOSYS. Some functions are actually named
77138 something starting with __ and the normal name is an alias. */
77139 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77140 choke me
77141 #else
77142 char (*f) () = $ac_func;
77143 #endif
77144 #ifdef __cplusplus
77146 #endif
77149 main ()
77151 return f != $ac_func;
77153 return 0;
77155 _ACEOF
77156 rm -f conftest.$ac_objext conftest$ac_exeext
77157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77158 (eval $ac_link) 2>conftest.er1
77159 ac_status=$?
77160 grep -v '^ *+' conftest.er1 >conftest.err
77161 rm -f conftest.er1
77162 cat conftest.err >&5
77163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77164 (exit $ac_status); } &&
77165 { ac_try='test -z "$ac_c_werror_flag"
77166 || test ! -s conftest.err'
77167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77168 (eval $ac_try) 2>&5
77169 ac_status=$?
77170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77171 (exit $ac_status); }; } &&
77172 { ac_try='test -s conftest$ac_exeext'
77173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77174 (eval $ac_try) 2>&5
77175 ac_status=$?
77176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77177 (exit $ac_status); }; }; then
77178 eval "$as_ac_var=yes"
77179 else
77180 echo "$as_me: failed program was:" >&5
77181 sed 's/^/| /' conftest.$ac_ext >&5
77183 eval "$as_ac_var=no"
77185 rm -f conftest.err conftest.$ac_objext \
77186 conftest$ac_exeext conftest.$ac_ext
77188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77189 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77190 if test `eval echo '${'$as_ac_var'}'` = yes; then
77191 cat >>confdefs.h <<_ACEOF
77192 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77193 _ACEOF
77194 ac_XPG2funcs=yes
77195 else
77196 ac_XPG2funcs=no
77198 done
77201 LIBS="$ac_save_LIBS"
77203 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
77204 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
77205 if test x"$ac_has_iconv_h" = xyes &&
77206 test x"$ac_has_langinfo_h" = xyes &&
77207 test x"$ac_XPG2funcs" = xyes;
77208 then
77209 ac_XPG2_wchar_t=yes
77210 else
77211 ac_XPG2_wchar_t=no
77213 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
77214 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
77216 # At the moment, only enable wchar_t specializations if all the
77217 # above support is present.
77218 if test x"$ac_isoC99_wchar_t" = xyes &&
77219 test x"$ac_XPG2_wchar_t" = xyes;
77220 then
77221 cat >>confdefs.h <<\_ACEOF
77222 #define _GLIBCXX_USE_WCHAR_T 1
77223 _ACEOF
77225 enable_wchar_t=yes
77228 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
77229 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
77230 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
77231 echo "${ECHO_T}$enable_wchar_t" >&6
77233 cat >>confdefs.h <<\_ACEOF
77234 #define HAVE_LC_MESSAGES 1
77235 _ACEOF
77237 cat >>confdefs.h <<\_ACEOF
77238 #define HAVE_GETPAGESIZE 1
77239 _ACEOF
77241 cat >>confdefs.h <<\_ACEOF
77242 #define HAVE_SETENV 1
77243 _ACEOF
77245 cat >>confdefs.h <<\_ACEOF
77246 #define HAVE_SIGSETJMP 1
77247 _ACEOF
77249 cat >>confdefs.h <<\_ACEOF
77250 #define HAVE_COPYSIGN 1
77251 _ACEOF
77253 cat >>confdefs.h <<\_ACEOF
77254 #define HAVE_COPYSIGNF 1
77255 _ACEOF
77257 cat >>confdefs.h <<\_ACEOF
77258 #define HAVE_FINITEF 1
77259 _ACEOF
77261 cat >>confdefs.h <<\_ACEOF
77262 #define HAVE_FINITE 1
77263 _ACEOF
77265 cat >>confdefs.h <<\_ACEOF
77266 #define HAVE_FREXPF 1
77267 _ACEOF
77269 cat >>confdefs.h <<\_ACEOF
77270 #define HAVE_HYPOT 1
77271 _ACEOF
77273 cat >>confdefs.h <<\_ACEOF
77274 #define HAVE_HYPOTF 1
77275 _ACEOF
77277 cat >>confdefs.h <<\_ACEOF
77278 #define HAVE_ISINF 1
77279 _ACEOF
77281 cat >>confdefs.h <<\_ACEOF
77282 #define HAVE_ISNAN 1
77283 _ACEOF
77285 cat >>confdefs.h <<\_ACEOF
77286 #define HAVE_ISNANF 1
77287 _ACEOF
77290 cat >>confdefs.h <<\_ACEOF
77291 #define HAVE_MMAP 1
77292 _ACEOF
77294 cat >>confdefs.h <<\_ACEOF
77295 #define HAVE_ACOSF 1
77296 _ACEOF
77298 cat >>confdefs.h <<\_ACEOF
77299 #define HAVE_ASINF 1
77300 _ACEOF
77302 cat >>confdefs.h <<\_ACEOF
77303 #define HAVE_ATAN2F 1
77304 _ACEOF
77306 cat >>confdefs.h <<\_ACEOF
77307 #define HAVE_ATANF 1
77308 _ACEOF
77310 cat >>confdefs.h <<\_ACEOF
77311 #define HAVE_CEILF 1
77312 _ACEOF
77314 cat >>confdefs.h <<\_ACEOF
77315 #define HAVE_COPYSIGN 1
77316 _ACEOF
77318 cat >>confdefs.h <<\_ACEOF
77319 #define HAVE_COPYSIGNF 1
77320 _ACEOF
77322 cat >>confdefs.h <<\_ACEOF
77323 #define HAVE_COSF 1
77324 _ACEOF
77326 cat >>confdefs.h <<\_ACEOF
77327 #define HAVE_COSHF 1
77328 _ACEOF
77330 cat >>confdefs.h <<\_ACEOF
77331 #define HAVE_EXPF 1
77332 _ACEOF
77334 cat >>confdefs.h <<\_ACEOF
77335 #define HAVE_FABSF 1
77336 _ACEOF
77338 cat >>confdefs.h <<\_ACEOF
77339 #define HAVE_FLOORF 1
77340 _ACEOF
77342 cat >>confdefs.h <<\_ACEOF
77343 #define HAVE_FMODF 1
77344 _ACEOF
77346 cat >>confdefs.h <<\_ACEOF
77347 #define HAVE_FREXPF 1
77348 _ACEOF
77350 cat >>confdefs.h <<\_ACEOF
77351 #define HAVE_LDEXPF 1
77352 _ACEOF
77354 cat >>confdefs.h <<\_ACEOF
77355 #define HAVE_LOG10F 1
77356 _ACEOF
77358 cat >>confdefs.h <<\_ACEOF
77359 #define HAVE_LOGF 1
77360 _ACEOF
77362 cat >>confdefs.h <<\_ACEOF
77363 #define HAVE_MODFF 1
77364 _ACEOF
77366 cat >>confdefs.h <<\_ACEOF
77367 #define HAVE_POWF 1
77368 _ACEOF
77370 cat >>confdefs.h <<\_ACEOF
77371 #define HAVE_SINF 1
77372 _ACEOF
77374 cat >>confdefs.h <<\_ACEOF
77375 #define HAVE_SINHF 1
77376 _ACEOF
77378 cat >>confdefs.h <<\_ACEOF
77379 #define HAVE_SQRTF 1
77380 _ACEOF
77382 cat >>confdefs.h <<\_ACEOF
77383 #define HAVE_TANF 1
77384 _ACEOF
77386 cat >>confdefs.h <<\_ACEOF
77387 #define HAVE_TANHF 1
77388 _ACEOF
77390 if test x"long_double_math_on_this_cpu" = x"yes"; then
77391 cat >>confdefs.h <<\_ACEOF
77392 #define HAVE_FINITEL 1
77393 _ACEOF
77395 cat >>confdefs.h <<\_ACEOF
77396 #define HAVE_ISINFL 1
77397 _ACEOF
77399 cat >>confdefs.h <<\_ACEOF
77400 #define HAVE_ISNANL 1
77401 _ACEOF
77405 *-hpux*)
77418 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
77419 machine/endian.h machine/param.h sys/machine.h sys/types.h \
77420 fp.h locale.h float.h inttypes.h
77422 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
77423 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77424 echo "$as_me:$LINENO: checking for $ac_header" >&5
77425 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77426 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77427 echo $ECHO_N "(cached) $ECHO_C" >&6
77429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77430 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77431 else
77432 # Is the header compilable?
77433 echo "$as_me:$LINENO: checking $ac_header usability" >&5
77434 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
77435 cat >conftest.$ac_ext <<_ACEOF
77436 /* confdefs.h. */
77437 _ACEOF
77438 cat confdefs.h >>conftest.$ac_ext
77439 cat >>conftest.$ac_ext <<_ACEOF
77440 /* end confdefs.h. */
77441 $ac_includes_default
77442 #include <$ac_header>
77443 _ACEOF
77444 rm -f conftest.$ac_objext
77445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77446 (eval $ac_compile) 2>conftest.er1
77447 ac_status=$?
77448 grep -v '^ *+' conftest.er1 >conftest.err
77449 rm -f conftest.er1
77450 cat conftest.err >&5
77451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77452 (exit $ac_status); } &&
77453 { ac_try='test -z "$ac_c_werror_flag"
77454 || 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
77567 done
77569 SECTION_FLAGS='-ffunction-sections -fdata-sections'
77572 # If we're not using GNU ld, then there's no point in even trying these
77573 # tests. Check for that first. We should have already tested for gld
77574 # by now (in libtool), but require it now just to be safe...
77575 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
77576 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
77580 # The name set by libtool depends on the version of libtool. Shame on us
77581 # for depending on an impl detail, but c'est la vie. Older versions used
77582 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
77583 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
77584 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
77585 # set (hence we're using an older libtool), then set it.
77586 if test x${with_gnu_ld+set} != xset; then
77587 if test x${ac_cv_prog_gnu_ld+set} != xset; then
77588 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
77589 with_gnu_ld=no
77590 else
77591 with_gnu_ld=$ac_cv_prog_gnu_ld
77595 # Start by getting the version number. I think the libtool test already
77596 # does some of this, but throws away the result.
77598 ldver=`$LD --version 2>/dev/null | head -1 | \
77599 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
77601 glibcxx_gnu_ld_version=`echo $ldver | \
77602 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
77604 # Set --gc-sections.
77605 if test "$with_gnu_ld" = "notbroken"; then
77606 # GNU ld it is! Joy and bunny rabbits!
77608 # All these tests are for C++; save the language and the compiler flags.
77609 # Need to do this so that g++ won't try to link in libstdc++
77610 ac_test_CFLAGS="${CFLAGS+set}"
77611 ac_save_CFLAGS="$CFLAGS"
77612 CFLAGS='-x c++ -Wl,--gc-sections'
77614 # Check for -Wl,--gc-sections
77615 # XXX This test is broken at the moment, as symbols required for linking
77616 # are now in libsupc++ (not built yet). In addition, this test has
77617 # cored on solaris in the past. In addition, --gc-sections doesn't
77618 # really work at the moment (keeps on discarding used sections, first
77619 # .eh_frame and now some of the glibc sections for iconv).
77620 # Bzzzzt. Thanks for playing, maybe next time.
77621 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
77622 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
77623 if test "$cross_compiling" = yes; then
77624 ac_sectionLDflags=yes
77625 else
77626 cat >conftest.$ac_ext <<_ACEOF
77627 /* confdefs.h. */
77628 _ACEOF
77629 cat confdefs.h >>conftest.$ac_ext
77630 cat >>conftest.$ac_ext <<_ACEOF
77631 /* end confdefs.h. */
77633 int main(void)
77635 try { throw 1; }
77636 catch (...) { };
77637 return 0;
77640 _ACEOF
77641 rm -f conftest$ac_exeext
77642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77643 (eval $ac_link) 2>&5
77644 ac_status=$?
77645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77646 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
77647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77648 (eval $ac_try) 2>&5
77649 ac_status=$?
77650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77651 (exit $ac_status); }; }; then
77652 ac_sectionLDflags=yes
77653 else
77654 echo "$as_me: program exited with status $ac_status" >&5
77655 echo "$as_me: failed program was:" >&5
77656 sed 's/^/| /' conftest.$ac_ext >&5
77658 ( exit $ac_status )
77659 ac_sectionLDflags=no
77661 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
77663 if test "$ac_test_CFLAGS" = set; then
77664 CFLAGS="$ac_save_CFLAGS"
77665 else
77666 # this is the suspicious part
77667 CFLAGS=''
77669 if test "$ac_sectionLDflags" = "yes"; then
77670 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
77672 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
77673 echo "${ECHO_T}$ac_sectionLDflags" >&6
77676 # Set linker optimization flags.
77677 if test x"$with_gnu_ld" = x"yes"; then
77678 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
77686 echo "$as_me:$LINENO: checking for main in -lm" >&5
77687 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
77688 if test "${ac_cv_lib_m_main+set}" = set; then
77689 echo $ECHO_N "(cached) $ECHO_C" >&6
77690 else
77691 ac_check_lib_save_LIBS=$LIBS
77692 LIBS="-lm $LIBS"
77693 if test x$gcc_no_link = xyes; then
77694 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77695 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77696 { (exit 1); exit 1; }; }
77698 cat >conftest.$ac_ext <<_ACEOF
77699 /* confdefs.h. */
77700 _ACEOF
77701 cat confdefs.h >>conftest.$ac_ext
77702 cat >>conftest.$ac_ext <<_ACEOF
77703 /* end confdefs.h. */
77707 main ()
77709 main ();
77711 return 0;
77713 _ACEOF
77714 rm -f conftest.$ac_objext conftest$ac_exeext
77715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77716 (eval $ac_link) 2>conftest.er1
77717 ac_status=$?
77718 grep -v '^ *+' conftest.er1 >conftest.err
77719 rm -f conftest.er1
77720 cat conftest.err >&5
77721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77722 (exit $ac_status); } &&
77723 { ac_try='test -z "$ac_c_werror_flag"
77724 || test ! -s conftest.err'
77725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77726 (eval $ac_try) 2>&5
77727 ac_status=$?
77728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77729 (exit $ac_status); }; } &&
77730 { ac_try='test -s conftest$ac_exeext'
77731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77732 (eval $ac_try) 2>&5
77733 ac_status=$?
77734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77735 (exit $ac_status); }; }; then
77736 ac_cv_lib_m_main=yes
77737 else
77738 echo "$as_me: failed program was:" >&5
77739 sed 's/^/| /' conftest.$ac_ext >&5
77741 ac_cv_lib_m_main=no
77743 rm -f conftest.err conftest.$ac_objext \
77744 conftest$ac_exeext conftest.$ac_ext
77745 LIBS=$ac_check_lib_save_LIBS
77747 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
77748 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
77749 if test $ac_cv_lib_m_main = yes; then
77750 cat >>confdefs.h <<_ACEOF
77751 #define HAVE_LIBM 1
77752 _ACEOF
77754 LIBS="-lm $LIBS"
77759 for ac_func in copysignf
77761 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77762 echo "$as_me:$LINENO: checking for $ac_func" >&5
77763 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77764 if eval "test \"\${$as_ac_var+set}\" = set"; then
77765 echo $ECHO_N "(cached) $ECHO_C" >&6
77766 else
77767 if test x$gcc_no_link = xyes; then
77768 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77769 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77770 { (exit 1); exit 1; }; }
77772 cat >conftest.$ac_ext <<_ACEOF
77773 /* confdefs.h. */
77774 _ACEOF
77775 cat confdefs.h >>conftest.$ac_ext
77776 cat >>conftest.$ac_ext <<_ACEOF
77777 /* end confdefs.h. */
77778 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77779 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77780 #define $ac_func innocuous_$ac_func
77782 /* System header to define __stub macros and hopefully few prototypes,
77783 which can conflict with char $ac_func (); below.
77784 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77785 <limits.h> exists even on freestanding compilers. */
77787 #ifdef __STDC__
77788 # include <limits.h>
77789 #else
77790 # include <assert.h>
77791 #endif
77793 #undef $ac_func
77795 /* Override any gcc2 internal prototype to avoid an error. */
77796 #ifdef __cplusplus
77797 extern "C"
77799 #endif
77800 /* We use char because int might match the return type of a gcc2
77801 builtin and then its argument prototype would still apply. */
77802 char $ac_func ();
77803 /* The GNU C library defines this for functions which it implements
77804 to always fail with ENOSYS. Some functions are actually named
77805 something starting with __ and the normal name is an alias. */
77806 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77807 choke me
77808 #else
77809 char (*f) () = $ac_func;
77810 #endif
77811 #ifdef __cplusplus
77813 #endif
77816 main ()
77818 return f != $ac_func;
77820 return 0;
77822 _ACEOF
77823 rm -f conftest.$ac_objext conftest$ac_exeext
77824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77825 (eval $ac_link) 2>conftest.er1
77826 ac_status=$?
77827 grep -v '^ *+' conftest.er1 >conftest.err
77828 rm -f conftest.er1
77829 cat conftest.err >&5
77830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77831 (exit $ac_status); } &&
77832 { ac_try='test -z "$ac_c_werror_flag"
77833 || test ! -s conftest.err'
77834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77835 (eval $ac_try) 2>&5
77836 ac_status=$?
77837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77838 (exit $ac_status); }; } &&
77839 { ac_try='test -s conftest$ac_exeext'
77840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77841 (eval $ac_try) 2>&5
77842 ac_status=$?
77843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77844 (exit $ac_status); }; }; then
77845 eval "$as_ac_var=yes"
77846 else
77847 echo "$as_me: failed program was:" >&5
77848 sed 's/^/| /' conftest.$ac_ext >&5
77850 eval "$as_ac_var=no"
77852 rm -f conftest.err conftest.$ac_objext \
77853 conftest$ac_exeext conftest.$ac_ext
77855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77856 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77857 if test `eval echo '${'$as_ac_var'}'` = yes; then
77858 cat >>confdefs.h <<_ACEOF
77859 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77860 _ACEOF
77862 else
77863 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
77865 done
77869 for ac_func in __signbit
77871 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77872 echo "$as_me:$LINENO: checking for $ac_func" >&5
77873 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77874 if eval "test \"\${$as_ac_var+set}\" = set"; then
77875 echo $ECHO_N "(cached) $ECHO_C" >&6
77876 else
77877 if test x$gcc_no_link = xyes; then
77878 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77879 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77880 { (exit 1); exit 1; }; }
77882 cat >conftest.$ac_ext <<_ACEOF
77883 /* confdefs.h. */
77884 _ACEOF
77885 cat confdefs.h >>conftest.$ac_ext
77886 cat >>conftest.$ac_ext <<_ACEOF
77887 /* end confdefs.h. */
77888 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77889 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77890 #define $ac_func innocuous_$ac_func
77892 /* System header to define __stub macros and hopefully few prototypes,
77893 which can conflict with char $ac_func (); below.
77894 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77895 <limits.h> exists even on freestanding compilers. */
77897 #ifdef __STDC__
77898 # include <limits.h>
77899 #else
77900 # include <assert.h>
77901 #endif
77903 #undef $ac_func
77905 /* Override any gcc2 internal prototype to avoid an error. */
77906 #ifdef __cplusplus
77907 extern "C"
77909 #endif
77910 /* We use char because int might match the return type of a gcc2
77911 builtin and then its argument prototype would still apply. */
77912 char $ac_func ();
77913 /* The GNU C library defines this for functions which it implements
77914 to always fail with ENOSYS. Some functions are actually named
77915 something starting with __ and the normal name is an alias. */
77916 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77917 choke me
77918 #else
77919 char (*f) () = $ac_func;
77920 #endif
77921 #ifdef __cplusplus
77923 #endif
77926 main ()
77928 return f != $ac_func;
77930 return 0;
77932 _ACEOF
77933 rm -f conftest.$ac_objext conftest$ac_exeext
77934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77935 (eval $ac_link) 2>conftest.er1
77936 ac_status=$?
77937 grep -v '^ *+' conftest.er1 >conftest.err
77938 rm -f conftest.er1
77939 cat conftest.err >&5
77940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77941 (exit $ac_status); } &&
77942 { ac_try='test -z "$ac_c_werror_flag"
77943 || test ! -s conftest.err'
77944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77945 (eval $ac_try) 2>&5
77946 ac_status=$?
77947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77948 (exit $ac_status); }; } &&
77949 { ac_try='test -s conftest$ac_exeext'
77950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77951 (eval $ac_try) 2>&5
77952 ac_status=$?
77953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77954 (exit $ac_status); }; }; then
77955 eval "$as_ac_var=yes"
77956 else
77957 echo "$as_me: failed program was:" >&5
77958 sed 's/^/| /' conftest.$ac_ext >&5
77960 eval "$as_ac_var=no"
77962 rm -f conftest.err conftest.$ac_objext \
77963 conftest$ac_exeext conftest.$ac_ext
77965 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77966 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77967 if test `eval echo '${'$as_ac_var'}'` = yes; then
77968 cat >>confdefs.h <<_ACEOF
77969 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77970 _ACEOF
77972 else
77973 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
77975 done
77979 for ac_func in __signbitf
77981 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77982 echo "$as_me:$LINENO: checking for $ac_func" >&5
77983 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77984 if eval "test \"\${$as_ac_var+set}\" = set"; then
77985 echo $ECHO_N "(cached) $ECHO_C" >&6
77986 else
77987 if test x$gcc_no_link = xyes; then
77988 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77989 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77990 { (exit 1); exit 1; }; }
77992 cat >conftest.$ac_ext <<_ACEOF
77993 /* confdefs.h. */
77994 _ACEOF
77995 cat confdefs.h >>conftest.$ac_ext
77996 cat >>conftest.$ac_ext <<_ACEOF
77997 /* end confdefs.h. */
77998 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77999 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78000 #define $ac_func innocuous_$ac_func
78002 /* System header to define __stub macros and hopefully few prototypes,
78003 which can conflict with char $ac_func (); below.
78004 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78005 <limits.h> exists even on freestanding compilers. */
78007 #ifdef __STDC__
78008 # include <limits.h>
78009 #else
78010 # include <assert.h>
78011 #endif
78013 #undef $ac_func
78015 /* Override any gcc2 internal prototype to avoid an error. */
78016 #ifdef __cplusplus
78017 extern "C"
78019 #endif
78020 /* We use char because int might match the return type of a gcc2
78021 builtin and then its argument prototype would still apply. */
78022 char $ac_func ();
78023 /* The GNU C library defines this for functions which it implements
78024 to always fail with ENOSYS. Some functions are actually named
78025 something starting with __ and the normal name is an alias. */
78026 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78027 choke me
78028 #else
78029 char (*f) () = $ac_func;
78030 #endif
78031 #ifdef __cplusplus
78033 #endif
78036 main ()
78038 return f != $ac_func;
78040 return 0;
78042 _ACEOF
78043 rm -f conftest.$ac_objext conftest$ac_exeext
78044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78045 (eval $ac_link) 2>conftest.er1
78046 ac_status=$?
78047 grep -v '^ *+' conftest.er1 >conftest.err
78048 rm -f conftest.er1
78049 cat conftest.err >&5
78050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78051 (exit $ac_status); } &&
78052 { ac_try='test -z "$ac_c_werror_flag"
78053 || test ! -s conftest.err'
78054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78055 (eval $ac_try) 2>&5
78056 ac_status=$?
78057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78058 (exit $ac_status); }; } &&
78059 { ac_try='test -s conftest$ac_exeext'
78060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78061 (eval $ac_try) 2>&5
78062 ac_status=$?
78063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78064 (exit $ac_status); }; }; then
78065 eval "$as_ac_var=yes"
78066 else
78067 echo "$as_me: failed program was:" >&5
78068 sed 's/^/| /' conftest.$ac_ext >&5
78070 eval "$as_ac_var=no"
78072 rm -f conftest.err conftest.$ac_objext \
78073 conftest$ac_exeext conftest.$ac_ext
78075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78076 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78077 if test `eval echo '${'$as_ac_var'}'` = yes; then
78078 cat >>confdefs.h <<_ACEOF
78079 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78080 _ACEOF
78082 else
78083 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
78085 done
78088 if test x$ac_cv_func_copysignl = x"yes"; then
78090 for ac_func in __signbitl
78092 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78093 echo "$as_me:$LINENO: checking for $ac_func" >&5
78094 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78095 if eval "test \"\${$as_ac_var+set}\" = set"; then
78096 echo $ECHO_N "(cached) $ECHO_C" >&6
78097 else
78098 if test x$gcc_no_link = xyes; then
78099 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78100 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78101 { (exit 1); exit 1; }; }
78103 cat >conftest.$ac_ext <<_ACEOF
78104 /* confdefs.h. */
78105 _ACEOF
78106 cat confdefs.h >>conftest.$ac_ext
78107 cat >>conftest.$ac_ext <<_ACEOF
78108 /* end confdefs.h. */
78109 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78110 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78111 #define $ac_func innocuous_$ac_func
78113 /* System header to define __stub macros and hopefully few prototypes,
78114 which can conflict with char $ac_func (); below.
78115 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78116 <limits.h> exists even on freestanding compilers. */
78118 #ifdef __STDC__
78119 # include <limits.h>
78120 #else
78121 # include <assert.h>
78122 #endif
78124 #undef $ac_func
78126 /* Override any gcc2 internal prototype to avoid an error. */
78127 #ifdef __cplusplus
78128 extern "C"
78130 #endif
78131 /* We use char because int might match the return type of a gcc2
78132 builtin and then its argument prototype would still apply. */
78133 char $ac_func ();
78134 /* The GNU C library defines this for functions which it implements
78135 to always fail with ENOSYS. Some functions are actually named
78136 something starting with __ and the normal name is an alias. */
78137 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78138 choke me
78139 #else
78140 char (*f) () = $ac_func;
78141 #endif
78142 #ifdef __cplusplus
78144 #endif
78147 main ()
78149 return f != $ac_func;
78151 return 0;
78153 _ACEOF
78154 rm -f conftest.$ac_objext conftest$ac_exeext
78155 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78156 (eval $ac_link) 2>conftest.er1
78157 ac_status=$?
78158 grep -v '^ *+' conftest.er1 >conftest.err
78159 rm -f conftest.er1
78160 cat conftest.err >&5
78161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78162 (exit $ac_status); } &&
78163 { ac_try='test -z "$ac_c_werror_flag"
78164 || test ! -s conftest.err'
78165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78166 (eval $ac_try) 2>&5
78167 ac_status=$?
78168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78169 (exit $ac_status); }; } &&
78170 { ac_try='test -s conftest$ac_exeext'
78171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78172 (eval $ac_try) 2>&5
78173 ac_status=$?
78174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78175 (exit $ac_status); }; }; then
78176 eval "$as_ac_var=yes"
78177 else
78178 echo "$as_me: failed program was:" >&5
78179 sed 's/^/| /' conftest.$ac_ext >&5
78181 eval "$as_ac_var=no"
78183 rm -f conftest.err conftest.$ac_objext \
78184 conftest$ac_exeext conftest.$ac_ext
78186 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78187 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78188 if test `eval echo '${'$as_ac_var'}'` = yes; then
78189 cat >>confdefs.h <<_ACEOF
78190 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78191 _ACEOF
78193 else
78194 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
78196 done
78200 # Used in libmath/Makefile.am.
78201 if test -n "$LIBMATHOBJS"; then
78202 need_libmath=yes
78207 # Test wchar.h for mbstate_t, which is needed for char_traits and
78208 # others even if wchar_t support is not on.
78209 echo "$as_me:$LINENO: checking for mbstate_t" >&5
78210 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
78211 cat >conftest.$ac_ext <<_ACEOF
78212 /* confdefs.h. */
78213 _ACEOF
78214 cat confdefs.h >>conftest.$ac_ext
78215 cat >>conftest.$ac_ext <<_ACEOF
78216 /* end confdefs.h. */
78217 #include <wchar.h>
78219 main ()
78221 mbstate_t teststate;
78223 return 0;
78225 _ACEOF
78226 rm -f conftest.$ac_objext
78227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78228 (eval $ac_compile) 2>conftest.er1
78229 ac_status=$?
78230 grep -v '^ *+' conftest.er1 >conftest.err
78231 rm -f conftest.er1
78232 cat conftest.err >&5
78233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78234 (exit $ac_status); } &&
78235 { ac_try='test -z "$ac_c_werror_flag"
78236 || test ! -s conftest.err'
78237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78238 (eval $ac_try) 2>&5
78239 ac_status=$?
78240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78241 (exit $ac_status); }; } &&
78242 { ac_try='test -s conftest.$ac_objext'
78243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78244 (eval $ac_try) 2>&5
78245 ac_status=$?
78246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78247 (exit $ac_status); }; }; then
78248 have_mbstate_t=yes
78249 else
78250 echo "$as_me: failed program was:" >&5
78251 sed 's/^/| /' conftest.$ac_ext >&5
78253 have_mbstate_t=no
78255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78256 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
78257 echo "${ECHO_T}$have_mbstate_t" >&6
78258 if test x"$have_mbstate_t" = xyes; then
78259 cat >>confdefs.h <<\_ACEOF
78260 #define HAVE_MBSTATE_T 1
78261 _ACEOF
78265 # Sanity check for existence of ISO C99 headers for extended encoding.
78267 for ac_header in wchar.h
78269 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78270 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78271 echo "$as_me:$LINENO: checking for $ac_header" >&5
78272 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78273 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78274 echo $ECHO_N "(cached) $ECHO_C" >&6
78276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78277 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78278 else
78279 # Is the header compilable?
78280 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78281 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78282 cat >conftest.$ac_ext <<_ACEOF
78283 /* confdefs.h. */
78284 _ACEOF
78285 cat confdefs.h >>conftest.$ac_ext
78286 cat >>conftest.$ac_ext <<_ACEOF
78287 /* end confdefs.h. */
78288 $ac_includes_default
78289 #include <$ac_header>
78290 _ACEOF
78291 rm -f conftest.$ac_objext
78292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78293 (eval $ac_compile) 2>conftest.er1
78294 ac_status=$?
78295 grep -v '^ *+' conftest.er1 >conftest.err
78296 rm -f conftest.er1
78297 cat conftest.err >&5
78298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78299 (exit $ac_status); } &&
78300 { ac_try='test -z "$ac_c_werror_flag"
78301 || test ! -s conftest.err'
78302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78303 (eval $ac_try) 2>&5
78304 ac_status=$?
78305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78306 (exit $ac_status); }; } &&
78307 { ac_try='test -s conftest.$ac_objext'
78308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78309 (eval $ac_try) 2>&5
78310 ac_status=$?
78311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78312 (exit $ac_status); }; }; then
78313 ac_header_compiler=yes
78314 else
78315 echo "$as_me: failed program was:" >&5
78316 sed 's/^/| /' conftest.$ac_ext >&5
78318 ac_header_compiler=no
78320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78321 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78322 echo "${ECHO_T}$ac_header_compiler" >&6
78324 # Is the header present?
78325 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78326 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78327 cat >conftest.$ac_ext <<_ACEOF
78328 /* confdefs.h. */
78329 _ACEOF
78330 cat confdefs.h >>conftest.$ac_ext
78331 cat >>conftest.$ac_ext <<_ACEOF
78332 /* end confdefs.h. */
78333 #include <$ac_header>
78334 _ACEOF
78335 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78336 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78337 ac_status=$?
78338 grep -v '^ *+' conftest.er1 >conftest.err
78339 rm -f conftest.er1
78340 cat conftest.err >&5
78341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78342 (exit $ac_status); } >/dev/null; then
78343 if test -s conftest.err; then
78344 ac_cpp_err=$ac_c_preproc_warn_flag
78345 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78346 else
78347 ac_cpp_err=
78349 else
78350 ac_cpp_err=yes
78352 if test -z "$ac_cpp_err"; then
78353 ac_header_preproc=yes
78354 else
78355 echo "$as_me: failed program was:" >&5
78356 sed 's/^/| /' conftest.$ac_ext >&5
78358 ac_header_preproc=no
78360 rm -f conftest.err conftest.$ac_ext
78361 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78362 echo "${ECHO_T}$ac_header_preproc" >&6
78364 # So? What about this header?
78365 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78366 yes:no: )
78367 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78368 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78369 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78370 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78371 ac_header_preproc=yes
78373 no:yes:* )
78374 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78375 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78376 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
78377 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
78378 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78379 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78380 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
78381 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
78382 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78383 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78384 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78385 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78387 cat <<\_ASBOX
78388 ## ----------------------------------------- ##
78389 ## Report this to the package-unused lists. ##
78390 ## ----------------------------------------- ##
78391 _ASBOX
78393 sed "s/^/$as_me: WARNING: /" >&2
78395 esac
78396 echo "$as_me:$LINENO: checking for $ac_header" >&5
78397 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78398 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78399 echo $ECHO_N "(cached) $ECHO_C" >&6
78400 else
78401 eval "$as_ac_Header=\$ac_header_preproc"
78403 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78404 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78407 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78408 cat >>confdefs.h <<_ACEOF
78409 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78410 _ACEOF
78411 ac_has_wchar_h=yes
78412 else
78413 ac_has_wchar_h=no
78416 done
78419 for ac_header in wctype.h
78421 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78422 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78423 echo "$as_me:$LINENO: checking for $ac_header" >&5
78424 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78425 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78426 echo $ECHO_N "(cached) $ECHO_C" >&6
78428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78429 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78430 else
78431 # Is the header compilable?
78432 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78433 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78434 cat >conftest.$ac_ext <<_ACEOF
78435 /* confdefs.h. */
78436 _ACEOF
78437 cat confdefs.h >>conftest.$ac_ext
78438 cat >>conftest.$ac_ext <<_ACEOF
78439 /* end confdefs.h. */
78440 $ac_includes_default
78441 #include <$ac_header>
78442 _ACEOF
78443 rm -f conftest.$ac_objext
78444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78445 (eval $ac_compile) 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); } &&
78452 { ac_try='test -z "$ac_c_werror_flag"
78453 || test ! -s conftest.err'
78454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78455 (eval $ac_try) 2>&5
78456 ac_status=$?
78457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78458 (exit $ac_status); }; } &&
78459 { ac_try='test -s conftest.$ac_objext'
78460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78461 (eval $ac_try) 2>&5
78462 ac_status=$?
78463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78464 (exit $ac_status); }; }; then
78465 ac_header_compiler=yes
78466 else
78467 echo "$as_me: failed program was:" >&5
78468 sed 's/^/| /' conftest.$ac_ext >&5
78470 ac_header_compiler=no
78472 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78473 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78474 echo "${ECHO_T}$ac_header_compiler" >&6
78476 # Is the header present?
78477 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78478 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
78479 cat >conftest.$ac_ext <<_ACEOF
78480 /* confdefs.h. */
78481 _ACEOF
78482 cat confdefs.h >>conftest.$ac_ext
78483 cat >>conftest.$ac_ext <<_ACEOF
78484 /* end confdefs.h. */
78485 #include <$ac_header>
78486 _ACEOF
78487 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78488 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78489 ac_status=$?
78490 grep -v '^ *+' conftest.er1 >conftest.err
78491 rm -f conftest.er1
78492 cat conftest.err >&5
78493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78494 (exit $ac_status); } >/dev/null; then
78495 if test -s conftest.err; then
78496 ac_cpp_err=$ac_c_preproc_warn_flag
78497 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78498 else
78499 ac_cpp_err=
78501 else
78502 ac_cpp_err=yes
78504 if test -z "$ac_cpp_err"; then
78505 ac_header_preproc=yes
78506 else
78507 echo "$as_me: failed program was:" >&5
78508 sed 's/^/| /' conftest.$ac_ext >&5
78510 ac_header_preproc=no
78512 rm -f conftest.err conftest.$ac_ext
78513 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78514 echo "${ECHO_T}$ac_header_preproc" >&6
78516 # So? What about this header?
78517 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78518 yes:no: )
78519 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78520 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78521 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78522 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78523 ac_header_preproc=yes
78525 no:yes:* )
78526 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78527 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78528 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
78529 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
78530 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78531 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78532 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
78533 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
78534 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78535 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78536 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78537 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78539 cat <<\_ASBOX
78540 ## ----------------------------------------- ##
78541 ## Report this to the package-unused lists. ##
78542 ## ----------------------------------------- ##
78543 _ASBOX
78545 sed "s/^/$as_me: WARNING: /" >&2
78547 esac
78548 echo "$as_me:$LINENO: checking for $ac_header" >&5
78549 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78550 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78551 echo $ECHO_N "(cached) $ECHO_C" >&6
78552 else
78553 eval "$as_ac_Header=\$ac_header_preproc"
78555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78556 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78559 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78560 cat >>confdefs.h <<_ACEOF
78561 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78562 _ACEOF
78563 ac_has_wctype_h=yes
78564 else
78565 ac_has_wctype_h=no
78568 done
78571 # Only continue checking if the ISO C99 headers exist and support is on.
78572 if test x"$ac_has_wchar_h" = xyes &&
78573 test x"$ac_has_wctype_h" = xyes &&
78574 test x"$enable_c_mbchar" != xno; then
78576 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
78577 # numeric_limits can instantiate type_traits<wchar_t>
78578 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
78579 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
78580 cat >conftest.$ac_ext <<_ACEOF
78581 /* confdefs.h. */
78582 _ACEOF
78583 cat confdefs.h >>conftest.$ac_ext
78584 cat >>conftest.$ac_ext <<_ACEOF
78585 /* end confdefs.h. */
78586 #include <wchar.h>
78588 main ()
78590 int i = WCHAR_MIN; int j = WCHAR_MAX;
78592 return 0;
78594 _ACEOF
78595 rm -f conftest.$ac_objext
78596 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78597 (eval $ac_compile) 2>conftest.er1
78598 ac_status=$?
78599 grep -v '^ *+' conftest.er1 >conftest.err
78600 rm -f conftest.er1
78601 cat conftest.err >&5
78602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78603 (exit $ac_status); } &&
78604 { ac_try='test -z "$ac_c_werror_flag"
78605 || test ! -s conftest.err'
78606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78607 (eval $ac_try) 2>&5
78608 ac_status=$?
78609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78610 (exit $ac_status); }; } &&
78611 { ac_try='test -s conftest.$ac_objext'
78612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78613 (eval $ac_try) 2>&5
78614 ac_status=$?
78615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78616 (exit $ac_status); }; }; then
78617 has_wchar_minmax=yes
78618 else
78619 echo "$as_me: failed program was:" >&5
78620 sed 's/^/| /' conftest.$ac_ext >&5
78622 has_wchar_minmax=no
78624 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78625 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
78626 echo "${ECHO_T}$has_wchar_minmax" >&6
78628 # Test wchar.h for WEOF, which is what we use to determine whether
78629 # to specialize for char_traits<wchar_t> or not.
78630 echo "$as_me:$LINENO: checking for WEOF" >&5
78631 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
78632 cat >conftest.$ac_ext <<_ACEOF
78633 /* confdefs.h. */
78634 _ACEOF
78635 cat confdefs.h >>conftest.$ac_ext
78636 cat >>conftest.$ac_ext <<_ACEOF
78637 /* end confdefs.h. */
78639 #include <wchar.h>
78640 #include <stddef.h>
78642 main ()
78644 wint_t i = WEOF;
78646 return 0;
78648 _ACEOF
78649 rm -f conftest.$ac_objext
78650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78651 (eval $ac_compile) 2>conftest.er1
78652 ac_status=$?
78653 grep -v '^ *+' conftest.er1 >conftest.err
78654 rm -f conftest.er1
78655 cat conftest.err >&5
78656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78657 (exit $ac_status); } &&
78658 { ac_try='test -z "$ac_c_werror_flag"
78659 || test ! -s conftest.err'
78660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78661 (eval $ac_try) 2>&5
78662 ac_status=$?
78663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78664 (exit $ac_status); }; } &&
78665 { ac_try='test -s conftest.$ac_objext'
78666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78667 (eval $ac_try) 2>&5
78668 ac_status=$?
78669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78670 (exit $ac_status); }; }; then
78671 has_weof=yes
78672 else
78673 echo "$as_me: failed program was:" >&5
78674 sed 's/^/| /' conftest.$ac_ext >&5
78676 has_weof=no
78678 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78679 echo "$as_me:$LINENO: result: $has_weof" >&5
78680 echo "${ECHO_T}$has_weof" >&6
78682 # Tests for wide character functions used in char_traits<wchar_t>.
78683 ac_wfuncs=yes
78690 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
78692 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78693 echo "$as_me:$LINENO: checking for $ac_func" >&5
78694 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78695 if eval "test \"\${$as_ac_var+set}\" = set"; then
78696 echo $ECHO_N "(cached) $ECHO_C" >&6
78697 else
78698 if test x$gcc_no_link = xyes; then
78699 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78700 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78701 { (exit 1); exit 1; }; }
78703 cat >conftest.$ac_ext <<_ACEOF
78704 /* confdefs.h. */
78705 _ACEOF
78706 cat confdefs.h >>conftest.$ac_ext
78707 cat >>conftest.$ac_ext <<_ACEOF
78708 /* end confdefs.h. */
78709 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78710 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78711 #define $ac_func innocuous_$ac_func
78713 /* System header to define __stub macros and hopefully few prototypes,
78714 which can conflict with char $ac_func (); below.
78715 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78716 <limits.h> exists even on freestanding compilers. */
78718 #ifdef __STDC__
78719 # include <limits.h>
78720 #else
78721 # include <assert.h>
78722 #endif
78724 #undef $ac_func
78726 /* Override any gcc2 internal prototype to avoid an error. */
78727 #ifdef __cplusplus
78728 extern "C"
78730 #endif
78731 /* We use char because int might match the return type of a gcc2
78732 builtin and then its argument prototype would still apply. */
78733 char $ac_func ();
78734 /* The GNU C library defines this for functions which it implements
78735 to always fail with ENOSYS. Some functions are actually named
78736 something starting with __ and the normal name is an alias. */
78737 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78738 choke me
78739 #else
78740 char (*f) () = $ac_func;
78741 #endif
78742 #ifdef __cplusplus
78744 #endif
78747 main ()
78749 return f != $ac_func;
78751 return 0;
78753 _ACEOF
78754 rm -f conftest.$ac_objext conftest$ac_exeext
78755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78756 (eval $ac_link) 2>conftest.er1
78757 ac_status=$?
78758 grep -v '^ *+' conftest.er1 >conftest.err
78759 rm -f conftest.er1
78760 cat conftest.err >&5
78761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78762 (exit $ac_status); } &&
78763 { ac_try='test -z "$ac_c_werror_flag"
78764 || test ! -s conftest.err'
78765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78766 (eval $ac_try) 2>&5
78767 ac_status=$?
78768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78769 (exit $ac_status); }; } &&
78770 { ac_try='test -s conftest$ac_exeext'
78771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78772 (eval $ac_try) 2>&5
78773 ac_status=$?
78774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78775 (exit $ac_status); }; }; then
78776 eval "$as_ac_var=yes"
78777 else
78778 echo "$as_me: failed program was:" >&5
78779 sed 's/^/| /' conftest.$ac_ext >&5
78781 eval "$as_ac_var=no"
78783 rm -f conftest.err conftest.$ac_objext \
78784 conftest$ac_exeext conftest.$ac_ext
78786 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78787 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78788 if test `eval echo '${'$as_ac_var'}'` = yes; then
78789 cat >>confdefs.h <<_ACEOF
78790 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78791 _ACEOF
78793 else
78794 ac_wfuncs=no
78796 done
78799 # Checks for names injected into std:: by the c_std headers.
78846 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
78847 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
78848 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
78849 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
78850 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
78851 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
78853 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78854 echo "$as_me:$LINENO: checking for $ac_func" >&5
78855 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78856 if eval "test \"\${$as_ac_var+set}\" = set"; then
78857 echo $ECHO_N "(cached) $ECHO_C" >&6
78858 else
78859 if test x$gcc_no_link = xyes; then
78860 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78861 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78862 { (exit 1); exit 1; }; }
78864 cat >conftest.$ac_ext <<_ACEOF
78865 /* confdefs.h. */
78866 _ACEOF
78867 cat confdefs.h >>conftest.$ac_ext
78868 cat >>conftest.$ac_ext <<_ACEOF
78869 /* end confdefs.h. */
78870 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78871 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78872 #define $ac_func innocuous_$ac_func
78874 /* System header to define __stub macros and hopefully few prototypes,
78875 which can conflict with char $ac_func (); below.
78876 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78877 <limits.h> exists even on freestanding compilers. */
78879 #ifdef __STDC__
78880 # include <limits.h>
78881 #else
78882 # include <assert.h>
78883 #endif
78885 #undef $ac_func
78887 /* Override any gcc2 internal prototype to avoid an error. */
78888 #ifdef __cplusplus
78889 extern "C"
78891 #endif
78892 /* We use char because int might match the return type of a gcc2
78893 builtin and then its argument prototype would still apply. */
78894 char $ac_func ();
78895 /* The GNU C library defines this for functions which it implements
78896 to always fail with ENOSYS. Some functions are actually named
78897 something starting with __ and the normal name is an alias. */
78898 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78899 choke me
78900 #else
78901 char (*f) () = $ac_func;
78902 #endif
78903 #ifdef __cplusplus
78905 #endif
78908 main ()
78910 return f != $ac_func;
78912 return 0;
78914 _ACEOF
78915 rm -f conftest.$ac_objext conftest$ac_exeext
78916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78917 (eval $ac_link) 2>conftest.er1
78918 ac_status=$?
78919 grep -v '^ *+' conftest.er1 >conftest.err
78920 rm -f conftest.er1
78921 cat conftest.err >&5
78922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78923 (exit $ac_status); } &&
78924 { ac_try='test -z "$ac_c_werror_flag"
78925 || test ! -s conftest.err'
78926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78927 (eval $ac_try) 2>&5
78928 ac_status=$?
78929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78930 (exit $ac_status); }; } &&
78931 { ac_try='test -s conftest$ac_exeext'
78932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78933 (eval $ac_try) 2>&5
78934 ac_status=$?
78935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78936 (exit $ac_status); }; }; then
78937 eval "$as_ac_var=yes"
78938 else
78939 echo "$as_me: failed program was:" >&5
78940 sed 's/^/| /' conftest.$ac_ext >&5
78942 eval "$as_ac_var=no"
78944 rm -f conftest.err conftest.$ac_objext \
78945 conftest$ac_exeext conftest.$ac_ext
78947 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78948 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78949 if test `eval echo '${'$as_ac_var'}'` = yes; then
78950 cat >>confdefs.h <<_ACEOF
78951 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78952 _ACEOF
78954 else
78955 ac_wfuncs=no
78957 done
78960 # Checks for wide character functions that are not required
78961 # for basic wchar_t support. Don't disable support if they are missing.
78962 # Injection of these is wrapped with guard macros.
78968 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
78970 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78971 echo "$as_me:$LINENO: checking for $ac_func" >&5
78972 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78973 if eval "test \"\${$as_ac_var+set}\" = set"; then
78974 echo $ECHO_N "(cached) $ECHO_C" >&6
78975 else
78976 if test x$gcc_no_link = xyes; then
78977 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78978 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78979 { (exit 1); exit 1; }; }
78981 cat >conftest.$ac_ext <<_ACEOF
78982 /* confdefs.h. */
78983 _ACEOF
78984 cat confdefs.h >>conftest.$ac_ext
78985 cat >>conftest.$ac_ext <<_ACEOF
78986 /* end confdefs.h. */
78987 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78988 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78989 #define $ac_func innocuous_$ac_func
78991 /* System header to define __stub macros and hopefully few prototypes,
78992 which can conflict with char $ac_func (); below.
78993 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78994 <limits.h> exists even on freestanding compilers. */
78996 #ifdef __STDC__
78997 # include <limits.h>
78998 #else
78999 # include <assert.h>
79000 #endif
79002 #undef $ac_func
79004 /* Override any gcc2 internal prototype to avoid an error. */
79005 #ifdef __cplusplus
79006 extern "C"
79008 #endif
79009 /* We use char because int might match the return type of a gcc2
79010 builtin and then its argument prototype would still apply. */
79011 char $ac_func ();
79012 /* The GNU C library defines this for functions which it implements
79013 to always fail with ENOSYS. Some functions are actually named
79014 something starting with __ and the normal name is an alias. */
79015 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79016 choke me
79017 #else
79018 char (*f) () = $ac_func;
79019 #endif
79020 #ifdef __cplusplus
79022 #endif
79025 main ()
79027 return f != $ac_func;
79029 return 0;
79031 _ACEOF
79032 rm -f conftest.$ac_objext conftest$ac_exeext
79033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79034 (eval $ac_link) 2>conftest.er1
79035 ac_status=$?
79036 grep -v '^ *+' conftest.er1 >conftest.err
79037 rm -f conftest.er1
79038 cat conftest.err >&5
79039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79040 (exit $ac_status); } &&
79041 { ac_try='test -z "$ac_c_werror_flag"
79042 || test ! -s conftest.err'
79043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79044 (eval $ac_try) 2>&5
79045 ac_status=$?
79046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79047 (exit $ac_status); }; } &&
79048 { ac_try='test -s conftest$ac_exeext'
79049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79050 (eval $ac_try) 2>&5
79051 ac_status=$?
79052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79053 (exit $ac_status); }; }; then
79054 eval "$as_ac_var=yes"
79055 else
79056 echo "$as_me: failed program was:" >&5
79057 sed 's/^/| /' conftest.$ac_ext >&5
79059 eval "$as_ac_var=no"
79061 rm -f conftest.err conftest.$ac_objext \
79062 conftest$ac_exeext conftest.$ac_ext
79064 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79065 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79066 if test `eval echo '${'$as_ac_var'}'` = yes; then
79067 cat >>confdefs.h <<_ACEOF
79068 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79069 _ACEOF
79072 done
79075 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
79076 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
79077 if test x"$has_weof" = xyes &&
79078 test x"$has_wchar_minmax" = xyes &&
79079 test x"$ac_wfuncs" = xyes;
79080 then
79081 ac_isoC99_wchar_t=yes
79082 else
79083 ac_isoC99_wchar_t=no
79085 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
79086 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
79088 # Use iconv for wchar_t to char conversions. As such, check for
79089 # X/Open Portability Guide, version 2 features (XPG2).
79090 if test "${ac_cv_header_iconv_h+set}" = set; then
79091 echo "$as_me:$LINENO: checking for iconv.h" >&5
79092 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
79093 if test "${ac_cv_header_iconv_h+set}" = set; then
79094 echo $ECHO_N "(cached) $ECHO_C" >&6
79096 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
79097 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
79098 else
79099 # Is the header compilable?
79100 echo "$as_me:$LINENO: checking iconv.h usability" >&5
79101 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
79102 cat >conftest.$ac_ext <<_ACEOF
79103 /* confdefs.h. */
79104 _ACEOF
79105 cat confdefs.h >>conftest.$ac_ext
79106 cat >>conftest.$ac_ext <<_ACEOF
79107 /* end confdefs.h. */
79108 $ac_includes_default
79109 #include <iconv.h>
79110 _ACEOF
79111 rm -f conftest.$ac_objext
79112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79113 (eval $ac_compile) 2>conftest.er1
79114 ac_status=$?
79115 grep -v '^ *+' conftest.er1 >conftest.err
79116 rm -f conftest.er1
79117 cat conftest.err >&5
79118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79119 (exit $ac_status); } &&
79120 { ac_try='test -z "$ac_c_werror_flag"
79121 || test ! -s conftest.err'
79122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79123 (eval $ac_try) 2>&5
79124 ac_status=$?
79125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79126 (exit $ac_status); }; } &&
79127 { ac_try='test -s conftest.$ac_objext'
79128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79129 (eval $ac_try) 2>&5
79130 ac_status=$?
79131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79132 (exit $ac_status); }; }; then
79133 ac_header_compiler=yes
79134 else
79135 echo "$as_me: failed program was:" >&5
79136 sed 's/^/| /' conftest.$ac_ext >&5
79138 ac_header_compiler=no
79140 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79141 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79142 echo "${ECHO_T}$ac_header_compiler" >&6
79144 # Is the header present?
79145 echo "$as_me:$LINENO: checking iconv.h presence" >&5
79146 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
79147 cat >conftest.$ac_ext <<_ACEOF
79148 /* confdefs.h. */
79149 _ACEOF
79150 cat confdefs.h >>conftest.$ac_ext
79151 cat >>conftest.$ac_ext <<_ACEOF
79152 /* end confdefs.h. */
79153 #include <iconv.h>
79154 _ACEOF
79155 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79156 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79157 ac_status=$?
79158 grep -v '^ *+' conftest.er1 >conftest.err
79159 rm -f conftest.er1
79160 cat conftest.err >&5
79161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79162 (exit $ac_status); } >/dev/null; then
79163 if test -s conftest.err; then
79164 ac_cpp_err=$ac_c_preproc_warn_flag
79165 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79166 else
79167 ac_cpp_err=
79169 else
79170 ac_cpp_err=yes
79172 if test -z "$ac_cpp_err"; then
79173 ac_header_preproc=yes
79174 else
79175 echo "$as_me: failed program was:" >&5
79176 sed 's/^/| /' conftest.$ac_ext >&5
79178 ac_header_preproc=no
79180 rm -f conftest.err conftest.$ac_ext
79181 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79182 echo "${ECHO_T}$ac_header_preproc" >&6
79184 # So? What about this header?
79185 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79186 yes:no: )
79187 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
79188 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
79189 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
79190 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
79191 ac_header_preproc=yes
79193 no:yes:* )
79194 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
79195 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
79196 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
79197 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
79198 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
79199 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
79200 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
79201 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
79202 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
79203 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
79204 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
79205 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
79207 cat <<\_ASBOX
79208 ## ----------------------------------------- ##
79209 ## Report this to the package-unused lists. ##
79210 ## ----------------------------------------- ##
79211 _ASBOX
79213 sed "s/^/$as_me: WARNING: /" >&2
79215 esac
79216 echo "$as_me:$LINENO: checking for iconv.h" >&5
79217 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
79218 if test "${ac_cv_header_iconv_h+set}" = set; then
79219 echo $ECHO_N "(cached) $ECHO_C" >&6
79220 else
79221 ac_cv_header_iconv_h=$ac_header_preproc
79223 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
79224 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
79227 if test $ac_cv_header_iconv_h = yes; then
79228 ac_has_iconv_h=yes
79229 else
79230 ac_has_iconv_h=no
79234 if test "${ac_cv_header_langinfo_h+set}" = set; then
79235 echo "$as_me:$LINENO: checking for langinfo.h" >&5
79236 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
79237 if test "${ac_cv_header_langinfo_h+set}" = set; then
79238 echo $ECHO_N "(cached) $ECHO_C" >&6
79240 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
79241 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
79242 else
79243 # Is the header compilable?
79244 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
79245 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
79246 cat >conftest.$ac_ext <<_ACEOF
79247 /* confdefs.h. */
79248 _ACEOF
79249 cat confdefs.h >>conftest.$ac_ext
79250 cat >>conftest.$ac_ext <<_ACEOF
79251 /* end confdefs.h. */
79252 $ac_includes_default
79253 #include <langinfo.h>
79254 _ACEOF
79255 rm -f conftest.$ac_objext
79256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79257 (eval $ac_compile) 2>conftest.er1
79258 ac_status=$?
79259 grep -v '^ *+' conftest.er1 >conftest.err
79260 rm -f conftest.er1
79261 cat conftest.err >&5
79262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79263 (exit $ac_status); } &&
79264 { ac_try='test -z "$ac_c_werror_flag"
79265 || test ! -s conftest.err'
79266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79267 (eval $ac_try) 2>&5
79268 ac_status=$?
79269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79270 (exit $ac_status); }; } &&
79271 { ac_try='test -s conftest.$ac_objext'
79272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79273 (eval $ac_try) 2>&5
79274 ac_status=$?
79275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79276 (exit $ac_status); }; }; then
79277 ac_header_compiler=yes
79278 else
79279 echo "$as_me: failed program was:" >&5
79280 sed 's/^/| /' conftest.$ac_ext >&5
79282 ac_header_compiler=no
79284 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79285 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79286 echo "${ECHO_T}$ac_header_compiler" >&6
79288 # Is the header present?
79289 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
79290 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
79291 cat >conftest.$ac_ext <<_ACEOF
79292 /* confdefs.h. */
79293 _ACEOF
79294 cat confdefs.h >>conftest.$ac_ext
79295 cat >>conftest.$ac_ext <<_ACEOF
79296 /* end confdefs.h. */
79297 #include <langinfo.h>
79298 _ACEOF
79299 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79300 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79301 ac_status=$?
79302 grep -v '^ *+' conftest.er1 >conftest.err
79303 rm -f conftest.er1
79304 cat conftest.err >&5
79305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79306 (exit $ac_status); } >/dev/null; then
79307 if test -s conftest.err; then
79308 ac_cpp_err=$ac_c_preproc_warn_flag
79309 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79310 else
79311 ac_cpp_err=
79313 else
79314 ac_cpp_err=yes
79316 if test -z "$ac_cpp_err"; then
79317 ac_header_preproc=yes
79318 else
79319 echo "$as_me: failed program was:" >&5
79320 sed 's/^/| /' conftest.$ac_ext >&5
79322 ac_header_preproc=no
79324 rm -f conftest.err conftest.$ac_ext
79325 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79326 echo "${ECHO_T}$ac_header_preproc" >&6
79328 # So? What about this header?
79329 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79330 yes:no: )
79331 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
79332 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
79333 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
79334 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
79335 ac_header_preproc=yes
79337 no:yes:* )
79338 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
79339 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
79340 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
79341 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
79342 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
79343 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
79344 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
79345 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
79346 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
79347 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
79348 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
79349 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
79351 cat <<\_ASBOX
79352 ## ----------------------------------------- ##
79353 ## Report this to the package-unused lists. ##
79354 ## ----------------------------------------- ##
79355 _ASBOX
79357 sed "s/^/$as_me: WARNING: /" >&2
79359 esac
79360 echo "$as_me:$LINENO: checking for langinfo.h" >&5
79361 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
79362 if test "${ac_cv_header_langinfo_h+set}" = set; then
79363 echo $ECHO_N "(cached) $ECHO_C" >&6
79364 else
79365 ac_cv_header_langinfo_h=$ac_header_preproc
79367 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
79368 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
79371 if test $ac_cv_header_langinfo_h = yes; then
79372 ac_has_langinfo_h=yes
79373 else
79374 ac_has_langinfo_h=no
79379 # Check for existence of libiconv.a providing XPG2 wchar_t support.
79380 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
79381 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
79382 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
79383 echo $ECHO_N "(cached) $ECHO_C" >&6
79384 else
79385 ac_check_lib_save_LIBS=$LIBS
79386 LIBS="-liconv $LIBS"
79387 if test x$gcc_no_link = xyes; then
79388 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79389 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79390 { (exit 1); exit 1; }; }
79392 cat >conftest.$ac_ext <<_ACEOF
79393 /* confdefs.h. */
79394 _ACEOF
79395 cat confdefs.h >>conftest.$ac_ext
79396 cat >>conftest.$ac_ext <<_ACEOF
79397 /* end confdefs.h. */
79399 /* Override any gcc2 internal prototype to avoid an error. */
79400 #ifdef __cplusplus
79401 extern "C"
79402 #endif
79403 /* We use char because int might match the return type of a gcc2
79404 builtin and then its argument prototype would still apply. */
79405 char iconv ();
79407 main ()
79409 iconv ();
79411 return 0;
79413 _ACEOF
79414 rm -f conftest.$ac_objext conftest$ac_exeext
79415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79416 (eval $ac_link) 2>conftest.er1
79417 ac_status=$?
79418 grep -v '^ *+' conftest.er1 >conftest.err
79419 rm -f conftest.er1
79420 cat conftest.err >&5
79421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79422 (exit $ac_status); } &&
79423 { ac_try='test -z "$ac_c_werror_flag"
79424 || test ! -s conftest.err'
79425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79426 (eval $ac_try) 2>&5
79427 ac_status=$?
79428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79429 (exit $ac_status); }; } &&
79430 { ac_try='test -s conftest$ac_exeext'
79431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79432 (eval $ac_try) 2>&5
79433 ac_status=$?
79434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79435 (exit $ac_status); }; }; then
79436 ac_cv_lib_iconv_iconv=yes
79437 else
79438 echo "$as_me: failed program was:" >&5
79439 sed 's/^/| /' conftest.$ac_ext >&5
79441 ac_cv_lib_iconv_iconv=no
79443 rm -f conftest.err conftest.$ac_objext \
79444 conftest$ac_exeext conftest.$ac_ext
79445 LIBS=$ac_check_lib_save_LIBS
79447 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
79448 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
79449 if test $ac_cv_lib_iconv_iconv = yes; then
79450 LIBICONV="-liconv"
79453 ac_save_LIBS="$LIBS"
79454 LIBS="$LIBS $LIBICONV"
79461 for ac_func in iconv_open iconv_close iconv nl_langinfo
79463 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79464 echo "$as_me:$LINENO: checking for $ac_func" >&5
79465 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79466 if eval "test \"\${$as_ac_var+set}\" = set"; then
79467 echo $ECHO_N "(cached) $ECHO_C" >&6
79468 else
79469 if test x$gcc_no_link = xyes; then
79470 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79471 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79472 { (exit 1); exit 1; }; }
79474 cat >conftest.$ac_ext <<_ACEOF
79475 /* confdefs.h. */
79476 _ACEOF
79477 cat confdefs.h >>conftest.$ac_ext
79478 cat >>conftest.$ac_ext <<_ACEOF
79479 /* end confdefs.h. */
79480 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79481 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79482 #define $ac_func innocuous_$ac_func
79484 /* System header to define __stub macros and hopefully few prototypes,
79485 which can conflict with char $ac_func (); below.
79486 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79487 <limits.h> exists even on freestanding compilers. */
79489 #ifdef __STDC__
79490 # include <limits.h>
79491 #else
79492 # include <assert.h>
79493 #endif
79495 #undef $ac_func
79497 /* Override any gcc2 internal prototype to avoid an error. */
79498 #ifdef __cplusplus
79499 extern "C"
79501 #endif
79502 /* We use char because int might match the return type of a gcc2
79503 builtin and then its argument prototype would still apply. */
79504 char $ac_func ();
79505 /* The GNU C library defines this for functions which it implements
79506 to always fail with ENOSYS. Some functions are actually named
79507 something starting with __ and the normal name is an alias. */
79508 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79509 choke me
79510 #else
79511 char (*f) () = $ac_func;
79512 #endif
79513 #ifdef __cplusplus
79515 #endif
79518 main ()
79520 return f != $ac_func;
79522 return 0;
79524 _ACEOF
79525 rm -f conftest.$ac_objext conftest$ac_exeext
79526 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79527 (eval $ac_link) 2>conftest.er1
79528 ac_status=$?
79529 grep -v '^ *+' conftest.er1 >conftest.err
79530 rm -f conftest.er1
79531 cat conftest.err >&5
79532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79533 (exit $ac_status); } &&
79534 { ac_try='test -z "$ac_c_werror_flag"
79535 || test ! -s conftest.err'
79536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79537 (eval $ac_try) 2>&5
79538 ac_status=$?
79539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79540 (exit $ac_status); }; } &&
79541 { ac_try='test -s conftest$ac_exeext'
79542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79543 (eval $ac_try) 2>&5
79544 ac_status=$?
79545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79546 (exit $ac_status); }; }; then
79547 eval "$as_ac_var=yes"
79548 else
79549 echo "$as_me: failed program was:" >&5
79550 sed 's/^/| /' conftest.$ac_ext >&5
79552 eval "$as_ac_var=no"
79554 rm -f conftest.err conftest.$ac_objext \
79555 conftest$ac_exeext conftest.$ac_ext
79557 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79558 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79559 if test `eval echo '${'$as_ac_var'}'` = yes; then
79560 cat >>confdefs.h <<_ACEOF
79561 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79562 _ACEOF
79563 ac_XPG2funcs=yes
79564 else
79565 ac_XPG2funcs=no
79567 done
79570 LIBS="$ac_save_LIBS"
79572 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
79573 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
79574 if test x"$ac_has_iconv_h" = xyes &&
79575 test x"$ac_has_langinfo_h" = xyes &&
79576 test x"$ac_XPG2funcs" = xyes;
79577 then
79578 ac_XPG2_wchar_t=yes
79579 else
79580 ac_XPG2_wchar_t=no
79582 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
79583 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
79585 # At the moment, only enable wchar_t specializations if all the
79586 # above support is present.
79587 if test x"$ac_isoC99_wchar_t" = xyes &&
79588 test x"$ac_XPG2_wchar_t" = xyes;
79589 then
79590 cat >>confdefs.h <<\_ACEOF
79591 #define _GLIBCXX_USE_WCHAR_T 1
79592 _ACEOF
79594 enable_wchar_t=yes
79597 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
79598 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
79599 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
79600 echo "${ECHO_T}$enable_wchar_t" >&6
79602 cat >>confdefs.h <<\_ACEOF
79603 #define HAVE_COPYSIGN 1
79604 _ACEOF
79606 cat >>confdefs.h <<\_ACEOF
79607 #define HAVE_COPYSIGNF 1
79608 _ACEOF
79610 cat >>confdefs.h <<\_ACEOF
79611 #define HAVE_FREXPF 1
79612 _ACEOF
79614 cat >>confdefs.h <<\_ACEOF
79615 #define HAVE_HYPOT 1
79616 _ACEOF
79618 case "$target" in
79619 *-hpux10*)
79620 cat >>confdefs.h <<\_ACEOF
79621 #define HAVE_FINITE 1
79622 _ACEOF
79624 cat >>confdefs.h <<\_ACEOF
79625 #define HAVE_FINITEF 1
79626 _ACEOF
79628 cat >>confdefs.h <<\_ACEOF
79629 #define HAVE_ISINF 1
79630 _ACEOF
79632 cat >>confdefs.h <<\_ACEOF
79633 #define HAVE_ISINFF 1
79634 _ACEOF
79636 cat >>confdefs.h <<\_ACEOF
79637 #define HAVE_ISNAN 1
79638 _ACEOF
79640 cat >>confdefs.h <<\_ACEOF
79641 #define HAVE_ISNANF 1
79642 _ACEOF
79645 esac
79647 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
79663 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
79664 machine/endian.h machine/param.h sys/machine.h sys/types.h \
79665 fp.h float.h endian.h inttypes.h locale.h float.h stdint.h
79667 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
79668 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79669 echo "$as_me:$LINENO: checking for $ac_header" >&5
79670 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79671 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79672 echo $ECHO_N "(cached) $ECHO_C" >&6
79674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79675 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79676 else
79677 # Is the header compilable?
79678 echo "$as_me:$LINENO: checking $ac_header usability" >&5
79679 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
79680 cat >conftest.$ac_ext <<_ACEOF
79681 /* confdefs.h. */
79682 _ACEOF
79683 cat confdefs.h >>conftest.$ac_ext
79684 cat >>conftest.$ac_ext <<_ACEOF
79685 /* end confdefs.h. */
79686 $ac_includes_default
79687 #include <$ac_header>
79688 _ACEOF
79689 rm -f conftest.$ac_objext
79690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79691 (eval $ac_compile) 2>conftest.er1
79692 ac_status=$?
79693 grep -v '^ *+' conftest.er1 >conftest.err
79694 rm -f conftest.er1
79695 cat conftest.err >&5
79696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79697 (exit $ac_status); } &&
79698 { ac_try='test -z "$ac_c_werror_flag"
79699 || test ! -s conftest.err'
79700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79701 (eval $ac_try) 2>&5
79702 ac_status=$?
79703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79704 (exit $ac_status); }; } &&
79705 { ac_try='test -s conftest.$ac_objext'
79706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79707 (eval $ac_try) 2>&5
79708 ac_status=$?
79709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79710 (exit $ac_status); }; }; then
79711 ac_header_compiler=yes
79712 else
79713 echo "$as_me: failed program was:" >&5
79714 sed 's/^/| /' conftest.$ac_ext >&5
79716 ac_header_compiler=no
79718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79719 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79720 echo "${ECHO_T}$ac_header_compiler" >&6
79722 # Is the header present?
79723 echo "$as_me:$LINENO: checking $ac_header presence" >&5
79724 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
79725 cat >conftest.$ac_ext <<_ACEOF
79726 /* confdefs.h. */
79727 _ACEOF
79728 cat confdefs.h >>conftest.$ac_ext
79729 cat >>conftest.$ac_ext <<_ACEOF
79730 /* end confdefs.h. */
79731 #include <$ac_header>
79732 _ACEOF
79733 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79734 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79735 ac_status=$?
79736 grep -v '^ *+' conftest.er1 >conftest.err
79737 rm -f conftest.er1
79738 cat conftest.err >&5
79739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79740 (exit $ac_status); } >/dev/null; then
79741 if test -s conftest.err; then
79742 ac_cpp_err=$ac_c_preproc_warn_flag
79743 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79744 else
79745 ac_cpp_err=
79747 else
79748 ac_cpp_err=yes
79750 if test -z "$ac_cpp_err"; then
79751 ac_header_preproc=yes
79752 else
79753 echo "$as_me: failed program was:" >&5
79754 sed 's/^/| /' conftest.$ac_ext >&5
79756 ac_header_preproc=no
79758 rm -f conftest.err conftest.$ac_ext
79759 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79760 echo "${ECHO_T}$ac_header_preproc" >&6
79762 # So? What about this header?
79763 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79764 yes:no: )
79765 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
79766 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
79767 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
79768 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
79769 ac_header_preproc=yes
79771 no:yes:* )
79772 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
79773 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
79774 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
79775 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
79776 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
79777 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
79778 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
79779 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
79780 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
79781 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
79782 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
79783 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
79785 cat <<\_ASBOX
79786 ## ----------------------------------------- ##
79787 ## Report this to the package-unused lists. ##
79788 ## ----------------------------------------- ##
79789 _ASBOX
79791 sed "s/^/$as_me: WARNING: /" >&2
79793 esac
79794 echo "$as_me:$LINENO: checking for $ac_header" >&5
79795 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79796 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79797 echo $ECHO_N "(cached) $ECHO_C" >&6
79798 else
79799 eval "$as_ac_Header=\$ac_header_preproc"
79801 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79802 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79805 if test `eval echo '${'$as_ac_Header'}'` = yes; then
79806 cat >>confdefs.h <<_ACEOF
79807 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
79808 _ACEOF
79812 done
79814 SECTION_FLAGS='-ffunction-sections -fdata-sections'
79817 # If we're not using GNU ld, then there's no point in even trying these
79818 # tests. Check for that first. We should have already tested for gld
79819 # by now (in libtool), but require it now just to be safe...
79820 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
79821 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
79825 # The name set by libtool depends on the version of libtool. Shame on us
79826 # for depending on an impl detail, but c'est la vie. Older versions used
79827 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
79828 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
79829 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
79830 # set (hence we're using an older libtool), then set it.
79831 if test x${with_gnu_ld+set} != xset; then
79832 if test x${ac_cv_prog_gnu_ld+set} != xset; then
79833 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
79834 with_gnu_ld=no
79835 else
79836 with_gnu_ld=$ac_cv_prog_gnu_ld
79840 # Start by getting the version number. I think the libtool test already
79841 # does some of this, but throws away the result.
79843 ldver=`$LD --version 2>/dev/null | head -1 | \
79844 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
79846 glibcxx_gnu_ld_version=`echo $ldver | \
79847 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
79849 # Set --gc-sections.
79850 if test "$with_gnu_ld" = "notbroken"; then
79851 # GNU ld it is! Joy and bunny rabbits!
79853 # All these tests are for C++; save the language and the compiler flags.
79854 # Need to do this so that g++ won't try to link in libstdc++
79855 ac_test_CFLAGS="${CFLAGS+set}"
79856 ac_save_CFLAGS="$CFLAGS"
79857 CFLAGS='-x c++ -Wl,--gc-sections'
79859 # Check for -Wl,--gc-sections
79860 # XXX This test is broken at the moment, as symbols required for linking
79861 # are now in libsupc++ (not built yet). In addition, this test has
79862 # cored on solaris in the past. In addition, --gc-sections doesn't
79863 # really work at the moment (keeps on discarding used sections, first
79864 # .eh_frame and now some of the glibc sections for iconv).
79865 # Bzzzzt. Thanks for playing, maybe next time.
79866 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
79867 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
79868 if test "$cross_compiling" = yes; then
79869 ac_sectionLDflags=yes
79870 else
79871 cat >conftest.$ac_ext <<_ACEOF
79872 /* confdefs.h. */
79873 _ACEOF
79874 cat confdefs.h >>conftest.$ac_ext
79875 cat >>conftest.$ac_ext <<_ACEOF
79876 /* end confdefs.h. */
79878 int main(void)
79880 try { throw 1; }
79881 catch (...) { };
79882 return 0;
79885 _ACEOF
79886 rm -f conftest$ac_exeext
79887 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79888 (eval $ac_link) 2>&5
79889 ac_status=$?
79890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79891 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
79892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79893 (eval $ac_try) 2>&5
79894 ac_status=$?
79895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79896 (exit $ac_status); }; }; then
79897 ac_sectionLDflags=yes
79898 else
79899 echo "$as_me: program exited with status $ac_status" >&5
79900 echo "$as_me: failed program was:" >&5
79901 sed 's/^/| /' conftest.$ac_ext >&5
79903 ( exit $ac_status )
79904 ac_sectionLDflags=no
79906 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
79908 if test "$ac_test_CFLAGS" = set; then
79909 CFLAGS="$ac_save_CFLAGS"
79910 else
79911 # this is the suspicious part
79912 CFLAGS=''
79914 if test "$ac_sectionLDflags" = "yes"; then
79915 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
79917 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
79918 echo "${ECHO_T}$ac_sectionLDflags" >&6
79921 # Set linker optimization flags.
79922 if test x"$with_gnu_ld" = x"yes"; then
79923 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
79931 echo "$as_me:$LINENO: checking for main in -lm" >&5
79932 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
79933 if test "${ac_cv_lib_m_main+set}" = set; then
79934 echo $ECHO_N "(cached) $ECHO_C" >&6
79935 else
79936 ac_check_lib_save_LIBS=$LIBS
79937 LIBS="-lm $LIBS"
79938 if test x$gcc_no_link = xyes; then
79939 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79940 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79941 { (exit 1); exit 1; }; }
79943 cat >conftest.$ac_ext <<_ACEOF
79944 /* confdefs.h. */
79945 _ACEOF
79946 cat confdefs.h >>conftest.$ac_ext
79947 cat >>conftest.$ac_ext <<_ACEOF
79948 /* end confdefs.h. */
79952 main ()
79954 main ();
79956 return 0;
79958 _ACEOF
79959 rm -f conftest.$ac_objext conftest$ac_exeext
79960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79961 (eval $ac_link) 2>conftest.er1
79962 ac_status=$?
79963 grep -v '^ *+' conftest.er1 >conftest.err
79964 rm -f conftest.er1
79965 cat conftest.err >&5
79966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79967 (exit $ac_status); } &&
79968 { ac_try='test -z "$ac_c_werror_flag"
79969 || test ! -s conftest.err'
79970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79971 (eval $ac_try) 2>&5
79972 ac_status=$?
79973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79974 (exit $ac_status); }; } &&
79975 { ac_try='test -s conftest$ac_exeext'
79976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79977 (eval $ac_try) 2>&5
79978 ac_status=$?
79979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79980 (exit $ac_status); }; }; then
79981 ac_cv_lib_m_main=yes
79982 else
79983 echo "$as_me: failed program was:" >&5
79984 sed 's/^/| /' conftest.$ac_ext >&5
79986 ac_cv_lib_m_main=no
79988 rm -f conftest.err conftest.$ac_objext \
79989 conftest$ac_exeext conftest.$ac_ext
79990 LIBS=$ac_check_lib_save_LIBS
79992 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
79993 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
79994 if test $ac_cv_lib_m_main = yes; then
79995 cat >>confdefs.h <<_ACEOF
79996 #define HAVE_LIBM 1
79997 _ACEOF
79999 LIBS="-lm $LIBS"
80004 for ac_func in copysignf
80006 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80007 echo "$as_me:$LINENO: checking for $ac_func" >&5
80008 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80009 if eval "test \"\${$as_ac_var+set}\" = set"; then
80010 echo $ECHO_N "(cached) $ECHO_C" >&6
80011 else
80012 if test x$gcc_no_link = xyes; then
80013 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80014 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80015 { (exit 1); exit 1; }; }
80017 cat >conftest.$ac_ext <<_ACEOF
80018 /* confdefs.h. */
80019 _ACEOF
80020 cat confdefs.h >>conftest.$ac_ext
80021 cat >>conftest.$ac_ext <<_ACEOF
80022 /* end confdefs.h. */
80023 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80024 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80025 #define $ac_func innocuous_$ac_func
80027 /* System header to define __stub macros and hopefully few prototypes,
80028 which can conflict with char $ac_func (); below.
80029 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80030 <limits.h> exists even on freestanding compilers. */
80032 #ifdef __STDC__
80033 # include <limits.h>
80034 #else
80035 # include <assert.h>
80036 #endif
80038 #undef $ac_func
80040 /* Override any gcc2 internal prototype to avoid an error. */
80041 #ifdef __cplusplus
80042 extern "C"
80044 #endif
80045 /* We use char because int might match the return type of a gcc2
80046 builtin and then its argument prototype would still apply. */
80047 char $ac_func ();
80048 /* The GNU C library defines this for functions which it implements
80049 to always fail with ENOSYS. Some functions are actually named
80050 something starting with __ and the normal name is an alias. */
80051 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80052 choke me
80053 #else
80054 char (*f) () = $ac_func;
80055 #endif
80056 #ifdef __cplusplus
80058 #endif
80061 main ()
80063 return f != $ac_func;
80065 return 0;
80067 _ACEOF
80068 rm -f conftest.$ac_objext conftest$ac_exeext
80069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80070 (eval $ac_link) 2>conftest.er1
80071 ac_status=$?
80072 grep -v '^ *+' conftest.er1 >conftest.err
80073 rm -f conftest.er1
80074 cat conftest.err >&5
80075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80076 (exit $ac_status); } &&
80077 { ac_try='test -z "$ac_c_werror_flag"
80078 || test ! -s conftest.err'
80079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80080 (eval $ac_try) 2>&5
80081 ac_status=$?
80082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80083 (exit $ac_status); }; } &&
80084 { ac_try='test -s conftest$ac_exeext'
80085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80086 (eval $ac_try) 2>&5
80087 ac_status=$?
80088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80089 (exit $ac_status); }; }; then
80090 eval "$as_ac_var=yes"
80091 else
80092 echo "$as_me: failed program was:" >&5
80093 sed 's/^/| /' conftest.$ac_ext >&5
80095 eval "$as_ac_var=no"
80097 rm -f conftest.err conftest.$ac_objext \
80098 conftest$ac_exeext conftest.$ac_ext
80100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80101 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80102 if test `eval echo '${'$as_ac_var'}'` = yes; then
80103 cat >>confdefs.h <<_ACEOF
80104 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80105 _ACEOF
80107 else
80108 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
80110 done
80114 for ac_func in __signbit
80116 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80117 echo "$as_me:$LINENO: checking for $ac_func" >&5
80118 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80119 if eval "test \"\${$as_ac_var+set}\" = set"; then
80120 echo $ECHO_N "(cached) $ECHO_C" >&6
80121 else
80122 if test x$gcc_no_link = xyes; then
80123 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80124 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80125 { (exit 1); exit 1; }; }
80127 cat >conftest.$ac_ext <<_ACEOF
80128 /* confdefs.h. */
80129 _ACEOF
80130 cat confdefs.h >>conftest.$ac_ext
80131 cat >>conftest.$ac_ext <<_ACEOF
80132 /* end confdefs.h. */
80133 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80134 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80135 #define $ac_func innocuous_$ac_func
80137 /* System header to define __stub macros and hopefully few prototypes,
80138 which can conflict with char $ac_func (); below.
80139 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80140 <limits.h> exists even on freestanding compilers. */
80142 #ifdef __STDC__
80143 # include <limits.h>
80144 #else
80145 # include <assert.h>
80146 #endif
80148 #undef $ac_func
80150 /* Override any gcc2 internal prototype to avoid an error. */
80151 #ifdef __cplusplus
80152 extern "C"
80154 #endif
80155 /* We use char because int might match the return type of a gcc2
80156 builtin and then its argument prototype would still apply. */
80157 char $ac_func ();
80158 /* The GNU C library defines this for functions which it implements
80159 to always fail with ENOSYS. Some functions are actually named
80160 something starting with __ and the normal name is an alias. */
80161 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80162 choke me
80163 #else
80164 char (*f) () = $ac_func;
80165 #endif
80166 #ifdef __cplusplus
80168 #endif
80171 main ()
80173 return f != $ac_func;
80175 return 0;
80177 _ACEOF
80178 rm -f conftest.$ac_objext conftest$ac_exeext
80179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80180 (eval $ac_link) 2>conftest.er1
80181 ac_status=$?
80182 grep -v '^ *+' conftest.er1 >conftest.err
80183 rm -f conftest.er1
80184 cat conftest.err >&5
80185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80186 (exit $ac_status); } &&
80187 { ac_try='test -z "$ac_c_werror_flag"
80188 || test ! -s conftest.err'
80189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80190 (eval $ac_try) 2>&5
80191 ac_status=$?
80192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80193 (exit $ac_status); }; } &&
80194 { ac_try='test -s conftest$ac_exeext'
80195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80196 (eval $ac_try) 2>&5
80197 ac_status=$?
80198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80199 (exit $ac_status); }; }; then
80200 eval "$as_ac_var=yes"
80201 else
80202 echo "$as_me: failed program was:" >&5
80203 sed 's/^/| /' conftest.$ac_ext >&5
80205 eval "$as_ac_var=no"
80207 rm -f conftest.err conftest.$ac_objext \
80208 conftest$ac_exeext conftest.$ac_ext
80210 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80211 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80212 if test `eval echo '${'$as_ac_var'}'` = yes; then
80213 cat >>confdefs.h <<_ACEOF
80214 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80215 _ACEOF
80217 else
80218 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
80220 done
80224 for ac_func in __signbitf
80226 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80227 echo "$as_me:$LINENO: checking for $ac_func" >&5
80228 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80229 if eval "test \"\${$as_ac_var+set}\" = set"; then
80230 echo $ECHO_N "(cached) $ECHO_C" >&6
80231 else
80232 if test x$gcc_no_link = xyes; then
80233 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80234 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80235 { (exit 1); exit 1; }; }
80237 cat >conftest.$ac_ext <<_ACEOF
80238 /* confdefs.h. */
80239 _ACEOF
80240 cat confdefs.h >>conftest.$ac_ext
80241 cat >>conftest.$ac_ext <<_ACEOF
80242 /* end confdefs.h. */
80243 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80244 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80245 #define $ac_func innocuous_$ac_func
80247 /* System header to define __stub macros and hopefully few prototypes,
80248 which can conflict with char $ac_func (); below.
80249 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80250 <limits.h> exists even on freestanding compilers. */
80252 #ifdef __STDC__
80253 # include <limits.h>
80254 #else
80255 # include <assert.h>
80256 #endif
80258 #undef $ac_func
80260 /* Override any gcc2 internal prototype to avoid an error. */
80261 #ifdef __cplusplus
80262 extern "C"
80264 #endif
80265 /* We use char because int might match the return type of a gcc2
80266 builtin and then its argument prototype would still apply. */
80267 char $ac_func ();
80268 /* The GNU C library defines this for functions which it implements
80269 to always fail with ENOSYS. Some functions are actually named
80270 something starting with __ and the normal name is an alias. */
80271 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80272 choke me
80273 #else
80274 char (*f) () = $ac_func;
80275 #endif
80276 #ifdef __cplusplus
80278 #endif
80281 main ()
80283 return f != $ac_func;
80285 return 0;
80287 _ACEOF
80288 rm -f conftest.$ac_objext conftest$ac_exeext
80289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80290 (eval $ac_link) 2>conftest.er1
80291 ac_status=$?
80292 grep -v '^ *+' conftest.er1 >conftest.err
80293 rm -f conftest.er1
80294 cat conftest.err >&5
80295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80296 (exit $ac_status); } &&
80297 { ac_try='test -z "$ac_c_werror_flag"
80298 || test ! -s conftest.err'
80299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80300 (eval $ac_try) 2>&5
80301 ac_status=$?
80302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80303 (exit $ac_status); }; } &&
80304 { ac_try='test -s conftest$ac_exeext'
80305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80306 (eval $ac_try) 2>&5
80307 ac_status=$?
80308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80309 (exit $ac_status); }; }; then
80310 eval "$as_ac_var=yes"
80311 else
80312 echo "$as_me: failed program was:" >&5
80313 sed 's/^/| /' conftest.$ac_ext >&5
80315 eval "$as_ac_var=no"
80317 rm -f conftest.err conftest.$ac_objext \
80318 conftest$ac_exeext conftest.$ac_ext
80320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80321 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80322 if test `eval echo '${'$as_ac_var'}'` = yes; then
80323 cat >>confdefs.h <<_ACEOF
80324 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80325 _ACEOF
80327 else
80328 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
80330 done
80333 if test x$ac_cv_func_copysignl = x"yes"; then
80335 for ac_func in __signbitl
80337 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80338 echo "$as_me:$LINENO: checking for $ac_func" >&5
80339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80340 if eval "test \"\${$as_ac_var+set}\" = set"; then
80341 echo $ECHO_N "(cached) $ECHO_C" >&6
80342 else
80343 if test x$gcc_no_link = xyes; then
80344 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80345 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80346 { (exit 1); exit 1; }; }
80348 cat >conftest.$ac_ext <<_ACEOF
80349 /* confdefs.h. */
80350 _ACEOF
80351 cat confdefs.h >>conftest.$ac_ext
80352 cat >>conftest.$ac_ext <<_ACEOF
80353 /* end confdefs.h. */
80354 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80355 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80356 #define $ac_func innocuous_$ac_func
80358 /* System header to define __stub macros and hopefully few prototypes,
80359 which can conflict with char $ac_func (); below.
80360 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80361 <limits.h> exists even on freestanding compilers. */
80363 #ifdef __STDC__
80364 # include <limits.h>
80365 #else
80366 # include <assert.h>
80367 #endif
80369 #undef $ac_func
80371 /* Override any gcc2 internal prototype to avoid an error. */
80372 #ifdef __cplusplus
80373 extern "C"
80375 #endif
80376 /* We use char because int might match the return type of a gcc2
80377 builtin and then its argument prototype would still apply. */
80378 char $ac_func ();
80379 /* The GNU C library defines this for functions which it implements
80380 to always fail with ENOSYS. Some functions are actually named
80381 something starting with __ and the normal name is an alias. */
80382 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80383 choke me
80384 #else
80385 char (*f) () = $ac_func;
80386 #endif
80387 #ifdef __cplusplus
80389 #endif
80392 main ()
80394 return f != $ac_func;
80396 return 0;
80398 _ACEOF
80399 rm -f conftest.$ac_objext conftest$ac_exeext
80400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80401 (eval $ac_link) 2>conftest.er1
80402 ac_status=$?
80403 grep -v '^ *+' conftest.er1 >conftest.err
80404 rm -f conftest.er1
80405 cat conftest.err >&5
80406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80407 (exit $ac_status); } &&
80408 { ac_try='test -z "$ac_c_werror_flag"
80409 || test ! -s conftest.err'
80410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80411 (eval $ac_try) 2>&5
80412 ac_status=$?
80413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80414 (exit $ac_status); }; } &&
80415 { ac_try='test -s conftest$ac_exeext'
80416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80417 (eval $ac_try) 2>&5
80418 ac_status=$?
80419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80420 (exit $ac_status); }; }; then
80421 eval "$as_ac_var=yes"
80422 else
80423 echo "$as_me: failed program was:" >&5
80424 sed 's/^/| /' conftest.$ac_ext >&5
80426 eval "$as_ac_var=no"
80428 rm -f conftest.err conftest.$ac_objext \
80429 conftest$ac_exeext conftest.$ac_ext
80431 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80432 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80433 if test `eval echo '${'$as_ac_var'}'` = yes; then
80434 cat >>confdefs.h <<_ACEOF
80435 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80436 _ACEOF
80438 else
80439 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
80441 done
80445 # Used in libmath/Makefile.am.
80446 if test -n "$LIBMATHOBJS"; then
80447 need_libmath=yes
80452 # Test wchar.h for mbstate_t, which is needed for char_traits and
80453 # others even if wchar_t support is not on.
80454 echo "$as_me:$LINENO: checking for mbstate_t" >&5
80455 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
80456 cat >conftest.$ac_ext <<_ACEOF
80457 /* confdefs.h. */
80458 _ACEOF
80459 cat confdefs.h >>conftest.$ac_ext
80460 cat >>conftest.$ac_ext <<_ACEOF
80461 /* end confdefs.h. */
80462 #include <wchar.h>
80464 main ()
80466 mbstate_t teststate;
80468 return 0;
80470 _ACEOF
80471 rm -f conftest.$ac_objext
80472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80473 (eval $ac_compile) 2>conftest.er1
80474 ac_status=$?
80475 grep -v '^ *+' conftest.er1 >conftest.err
80476 rm -f conftest.er1
80477 cat conftest.err >&5
80478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80479 (exit $ac_status); } &&
80480 { ac_try='test -z "$ac_c_werror_flag"
80481 || test ! -s conftest.err'
80482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80483 (eval $ac_try) 2>&5
80484 ac_status=$?
80485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80486 (exit $ac_status); }; } &&
80487 { ac_try='test -s conftest.$ac_objext'
80488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80489 (eval $ac_try) 2>&5
80490 ac_status=$?
80491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80492 (exit $ac_status); }; }; then
80493 have_mbstate_t=yes
80494 else
80495 echo "$as_me: failed program was:" >&5
80496 sed 's/^/| /' conftest.$ac_ext >&5
80498 have_mbstate_t=no
80500 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80501 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
80502 echo "${ECHO_T}$have_mbstate_t" >&6
80503 if test x"$have_mbstate_t" = xyes; then
80504 cat >>confdefs.h <<\_ACEOF
80505 #define HAVE_MBSTATE_T 1
80506 _ACEOF
80510 # Sanity check for existence of ISO C99 headers for extended encoding.
80512 for ac_header in wchar.h
80514 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
80515 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80516 echo "$as_me:$LINENO: checking for $ac_header" >&5
80517 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80518 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80519 echo $ECHO_N "(cached) $ECHO_C" >&6
80521 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80522 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80523 else
80524 # Is the header compilable?
80525 echo "$as_me:$LINENO: checking $ac_header usability" >&5
80526 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
80527 cat >conftest.$ac_ext <<_ACEOF
80528 /* confdefs.h. */
80529 _ACEOF
80530 cat confdefs.h >>conftest.$ac_ext
80531 cat >>conftest.$ac_ext <<_ACEOF
80532 /* end confdefs.h. */
80533 $ac_includes_default
80534 #include <$ac_header>
80535 _ACEOF
80536 rm -f conftest.$ac_objext
80537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80538 (eval $ac_compile) 2>conftest.er1
80539 ac_status=$?
80540 grep -v '^ *+' conftest.er1 >conftest.err
80541 rm -f conftest.er1
80542 cat conftest.err >&5
80543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80544 (exit $ac_status); } &&
80545 { ac_try='test -z "$ac_c_werror_flag"
80546 || test ! -s conftest.err'
80547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80548 (eval $ac_try) 2>&5
80549 ac_status=$?
80550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80551 (exit $ac_status); }; } &&
80552 { ac_try='test -s conftest.$ac_objext'
80553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80554 (eval $ac_try) 2>&5
80555 ac_status=$?
80556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80557 (exit $ac_status); }; }; then
80558 ac_header_compiler=yes
80559 else
80560 echo "$as_me: failed program was:" >&5
80561 sed 's/^/| /' conftest.$ac_ext >&5
80563 ac_header_compiler=no
80565 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80566 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80567 echo "${ECHO_T}$ac_header_compiler" >&6
80569 # Is the header present?
80570 echo "$as_me:$LINENO: checking $ac_header presence" >&5
80571 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
80572 cat >conftest.$ac_ext <<_ACEOF
80573 /* confdefs.h. */
80574 _ACEOF
80575 cat confdefs.h >>conftest.$ac_ext
80576 cat >>conftest.$ac_ext <<_ACEOF
80577 /* end confdefs.h. */
80578 #include <$ac_header>
80579 _ACEOF
80580 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80581 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80582 ac_status=$?
80583 grep -v '^ *+' conftest.er1 >conftest.err
80584 rm -f conftest.er1
80585 cat conftest.err >&5
80586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80587 (exit $ac_status); } >/dev/null; then
80588 if test -s conftest.err; then
80589 ac_cpp_err=$ac_c_preproc_warn_flag
80590 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80591 else
80592 ac_cpp_err=
80594 else
80595 ac_cpp_err=yes
80597 if test -z "$ac_cpp_err"; then
80598 ac_header_preproc=yes
80599 else
80600 echo "$as_me: failed program was:" >&5
80601 sed 's/^/| /' conftest.$ac_ext >&5
80603 ac_header_preproc=no
80605 rm -f conftest.err conftest.$ac_ext
80606 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80607 echo "${ECHO_T}$ac_header_preproc" >&6
80609 # So? What about this header?
80610 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80611 yes:no: )
80612 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
80613 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
80614 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
80615 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
80616 ac_header_preproc=yes
80618 no:yes:* )
80619 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
80620 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
80621 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
80622 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
80623 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
80624 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
80625 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
80626 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
80627 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
80628 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
80629 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
80630 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
80632 cat <<\_ASBOX
80633 ## ----------------------------------------- ##
80634 ## Report this to the package-unused lists. ##
80635 ## ----------------------------------------- ##
80636 _ASBOX
80638 sed "s/^/$as_me: WARNING: /" >&2
80640 esac
80641 echo "$as_me:$LINENO: checking for $ac_header" >&5
80642 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80643 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80644 echo $ECHO_N "(cached) $ECHO_C" >&6
80645 else
80646 eval "$as_ac_Header=\$ac_header_preproc"
80648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80649 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80652 if test `eval echo '${'$as_ac_Header'}'` = yes; then
80653 cat >>confdefs.h <<_ACEOF
80654 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
80655 _ACEOF
80656 ac_has_wchar_h=yes
80657 else
80658 ac_has_wchar_h=no
80661 done
80664 for ac_header in wctype.h
80666 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
80667 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80668 echo "$as_me:$LINENO: checking for $ac_header" >&5
80669 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80670 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80671 echo $ECHO_N "(cached) $ECHO_C" >&6
80673 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80674 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80675 else
80676 # Is the header compilable?
80677 echo "$as_me:$LINENO: checking $ac_header usability" >&5
80678 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
80679 cat >conftest.$ac_ext <<_ACEOF
80680 /* confdefs.h. */
80681 _ACEOF
80682 cat confdefs.h >>conftest.$ac_ext
80683 cat >>conftest.$ac_ext <<_ACEOF
80684 /* end confdefs.h. */
80685 $ac_includes_default
80686 #include <$ac_header>
80687 _ACEOF
80688 rm -f conftest.$ac_objext
80689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80690 (eval $ac_compile) 2>conftest.er1
80691 ac_status=$?
80692 grep -v '^ *+' conftest.er1 >conftest.err
80693 rm -f conftest.er1
80694 cat conftest.err >&5
80695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80696 (exit $ac_status); } &&
80697 { ac_try='test -z "$ac_c_werror_flag"
80698 || test ! -s conftest.err'
80699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80700 (eval $ac_try) 2>&5
80701 ac_status=$?
80702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80703 (exit $ac_status); }; } &&
80704 { ac_try='test -s conftest.$ac_objext'
80705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80706 (eval $ac_try) 2>&5
80707 ac_status=$?
80708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80709 (exit $ac_status); }; }; then
80710 ac_header_compiler=yes
80711 else
80712 echo "$as_me: failed program was:" >&5
80713 sed 's/^/| /' conftest.$ac_ext >&5
80715 ac_header_compiler=no
80717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80718 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80719 echo "${ECHO_T}$ac_header_compiler" >&6
80721 # Is the header present?
80722 echo "$as_me:$LINENO: checking $ac_header presence" >&5
80723 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
80724 cat >conftest.$ac_ext <<_ACEOF
80725 /* confdefs.h. */
80726 _ACEOF
80727 cat confdefs.h >>conftest.$ac_ext
80728 cat >>conftest.$ac_ext <<_ACEOF
80729 /* end confdefs.h. */
80730 #include <$ac_header>
80731 _ACEOF
80732 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80733 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80734 ac_status=$?
80735 grep -v '^ *+' conftest.er1 >conftest.err
80736 rm -f conftest.er1
80737 cat conftest.err >&5
80738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80739 (exit $ac_status); } >/dev/null; then
80740 if test -s conftest.err; then
80741 ac_cpp_err=$ac_c_preproc_warn_flag
80742 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80743 else
80744 ac_cpp_err=
80746 else
80747 ac_cpp_err=yes
80749 if test -z "$ac_cpp_err"; then
80750 ac_header_preproc=yes
80751 else
80752 echo "$as_me: failed program was:" >&5
80753 sed 's/^/| /' conftest.$ac_ext >&5
80755 ac_header_preproc=no
80757 rm -f conftest.err conftest.$ac_ext
80758 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80759 echo "${ECHO_T}$ac_header_preproc" >&6
80761 # So? What about this header?
80762 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80763 yes:no: )
80764 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
80765 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
80766 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
80767 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
80768 ac_header_preproc=yes
80770 no:yes:* )
80771 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
80772 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
80773 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
80774 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
80775 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
80776 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
80777 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
80778 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
80779 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
80780 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
80781 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
80782 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
80784 cat <<\_ASBOX
80785 ## ----------------------------------------- ##
80786 ## Report this to the package-unused lists. ##
80787 ## ----------------------------------------- ##
80788 _ASBOX
80790 sed "s/^/$as_me: WARNING: /" >&2
80792 esac
80793 echo "$as_me:$LINENO: checking for $ac_header" >&5
80794 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80795 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80796 echo $ECHO_N "(cached) $ECHO_C" >&6
80797 else
80798 eval "$as_ac_Header=\$ac_header_preproc"
80800 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80801 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80804 if test `eval echo '${'$as_ac_Header'}'` = yes; then
80805 cat >>confdefs.h <<_ACEOF
80806 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
80807 _ACEOF
80808 ac_has_wctype_h=yes
80809 else
80810 ac_has_wctype_h=no
80813 done
80816 # Only continue checking if the ISO C99 headers exist and support is on.
80817 if test x"$ac_has_wchar_h" = xyes &&
80818 test x"$ac_has_wctype_h" = xyes &&
80819 test x"$enable_c_mbchar" != xno; then
80821 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
80822 # numeric_limits can instantiate type_traits<wchar_t>
80823 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
80824 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
80825 cat >conftest.$ac_ext <<_ACEOF
80826 /* confdefs.h. */
80827 _ACEOF
80828 cat confdefs.h >>conftest.$ac_ext
80829 cat >>conftest.$ac_ext <<_ACEOF
80830 /* end confdefs.h. */
80831 #include <wchar.h>
80833 main ()
80835 int i = WCHAR_MIN; int j = WCHAR_MAX;
80837 return 0;
80839 _ACEOF
80840 rm -f conftest.$ac_objext
80841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80842 (eval $ac_compile) 2>conftest.er1
80843 ac_status=$?
80844 grep -v '^ *+' conftest.er1 >conftest.err
80845 rm -f conftest.er1
80846 cat conftest.err >&5
80847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80848 (exit $ac_status); } &&
80849 { ac_try='test -z "$ac_c_werror_flag"
80850 || test ! -s conftest.err'
80851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80852 (eval $ac_try) 2>&5
80853 ac_status=$?
80854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80855 (exit $ac_status); }; } &&
80856 { ac_try='test -s conftest.$ac_objext'
80857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80858 (eval $ac_try) 2>&5
80859 ac_status=$?
80860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80861 (exit $ac_status); }; }; then
80862 has_wchar_minmax=yes
80863 else
80864 echo "$as_me: failed program was:" >&5
80865 sed 's/^/| /' conftest.$ac_ext >&5
80867 has_wchar_minmax=no
80869 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80870 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
80871 echo "${ECHO_T}$has_wchar_minmax" >&6
80873 # Test wchar.h for WEOF, which is what we use to determine whether
80874 # to specialize for char_traits<wchar_t> or not.
80875 echo "$as_me:$LINENO: checking for WEOF" >&5
80876 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
80877 cat >conftest.$ac_ext <<_ACEOF
80878 /* confdefs.h. */
80879 _ACEOF
80880 cat confdefs.h >>conftest.$ac_ext
80881 cat >>conftest.$ac_ext <<_ACEOF
80882 /* end confdefs.h. */
80884 #include <wchar.h>
80885 #include <stddef.h>
80887 main ()
80889 wint_t i = WEOF;
80891 return 0;
80893 _ACEOF
80894 rm -f conftest.$ac_objext
80895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80896 (eval $ac_compile) 2>conftest.er1
80897 ac_status=$?
80898 grep -v '^ *+' conftest.er1 >conftest.err
80899 rm -f conftest.er1
80900 cat conftest.err >&5
80901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80902 (exit $ac_status); } &&
80903 { ac_try='test -z "$ac_c_werror_flag"
80904 || test ! -s conftest.err'
80905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80906 (eval $ac_try) 2>&5
80907 ac_status=$?
80908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80909 (exit $ac_status); }; } &&
80910 { ac_try='test -s conftest.$ac_objext'
80911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80912 (eval $ac_try) 2>&5
80913 ac_status=$?
80914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80915 (exit $ac_status); }; }; then
80916 has_weof=yes
80917 else
80918 echo "$as_me: failed program was:" >&5
80919 sed 's/^/| /' conftest.$ac_ext >&5
80921 has_weof=no
80923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80924 echo "$as_me:$LINENO: result: $has_weof" >&5
80925 echo "${ECHO_T}$has_weof" >&6
80927 # Tests for wide character functions used in char_traits<wchar_t>.
80928 ac_wfuncs=yes
80935 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
80937 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80938 echo "$as_me:$LINENO: checking for $ac_func" >&5
80939 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80940 if eval "test \"\${$as_ac_var+set}\" = set"; then
80941 echo $ECHO_N "(cached) $ECHO_C" >&6
80942 else
80943 if test x$gcc_no_link = xyes; then
80944 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80945 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80946 { (exit 1); exit 1; }; }
80948 cat >conftest.$ac_ext <<_ACEOF
80949 /* confdefs.h. */
80950 _ACEOF
80951 cat confdefs.h >>conftest.$ac_ext
80952 cat >>conftest.$ac_ext <<_ACEOF
80953 /* end confdefs.h. */
80954 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80955 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80956 #define $ac_func innocuous_$ac_func
80958 /* System header to define __stub macros and hopefully few prototypes,
80959 which can conflict with char $ac_func (); below.
80960 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80961 <limits.h> exists even on freestanding compilers. */
80963 #ifdef __STDC__
80964 # include <limits.h>
80965 #else
80966 # include <assert.h>
80967 #endif
80969 #undef $ac_func
80971 /* Override any gcc2 internal prototype to avoid an error. */
80972 #ifdef __cplusplus
80973 extern "C"
80975 #endif
80976 /* We use char because int might match the return type of a gcc2
80977 builtin and then its argument prototype would still apply. */
80978 char $ac_func ();
80979 /* The GNU C library defines this for functions which it implements
80980 to always fail with ENOSYS. Some functions are actually named
80981 something starting with __ and the normal name is an alias. */
80982 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80983 choke me
80984 #else
80985 char (*f) () = $ac_func;
80986 #endif
80987 #ifdef __cplusplus
80989 #endif
80992 main ()
80994 return f != $ac_func;
80996 return 0;
80998 _ACEOF
80999 rm -f conftest.$ac_objext conftest$ac_exeext
81000 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81001 (eval $ac_link) 2>conftest.er1
81002 ac_status=$?
81003 grep -v '^ *+' conftest.er1 >conftest.err
81004 rm -f conftest.er1
81005 cat conftest.err >&5
81006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81007 (exit $ac_status); } &&
81008 { ac_try='test -z "$ac_c_werror_flag"
81009 || test ! -s conftest.err'
81010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81011 (eval $ac_try) 2>&5
81012 ac_status=$?
81013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81014 (exit $ac_status); }; } &&
81015 { ac_try='test -s conftest$ac_exeext'
81016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81017 (eval $ac_try) 2>&5
81018 ac_status=$?
81019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81020 (exit $ac_status); }; }; then
81021 eval "$as_ac_var=yes"
81022 else
81023 echo "$as_me: failed program was:" >&5
81024 sed 's/^/| /' conftest.$ac_ext >&5
81026 eval "$as_ac_var=no"
81028 rm -f conftest.err conftest.$ac_objext \
81029 conftest$ac_exeext conftest.$ac_ext
81031 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81032 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81033 if test `eval echo '${'$as_ac_var'}'` = yes; then
81034 cat >>confdefs.h <<_ACEOF
81035 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81036 _ACEOF
81038 else
81039 ac_wfuncs=no
81041 done
81044 # Checks for names injected into std:: by the c_std headers.
81091 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
81092 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
81093 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
81094 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
81095 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
81096 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
81098 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81099 echo "$as_me:$LINENO: checking for $ac_func" >&5
81100 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81101 if eval "test \"\${$as_ac_var+set}\" = set"; then
81102 echo $ECHO_N "(cached) $ECHO_C" >&6
81103 else
81104 if test x$gcc_no_link = xyes; then
81105 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81107 { (exit 1); exit 1; }; }
81109 cat >conftest.$ac_ext <<_ACEOF
81110 /* confdefs.h. */
81111 _ACEOF
81112 cat confdefs.h >>conftest.$ac_ext
81113 cat >>conftest.$ac_ext <<_ACEOF
81114 /* end confdefs.h. */
81115 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81116 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81117 #define $ac_func innocuous_$ac_func
81119 /* System header to define __stub macros and hopefully few prototypes,
81120 which can conflict with char $ac_func (); below.
81121 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81122 <limits.h> exists even on freestanding compilers. */
81124 #ifdef __STDC__
81125 # include <limits.h>
81126 #else
81127 # include <assert.h>
81128 #endif
81130 #undef $ac_func
81132 /* Override any gcc2 internal prototype to avoid an error. */
81133 #ifdef __cplusplus
81134 extern "C"
81136 #endif
81137 /* We use char because int might match the return type of a gcc2
81138 builtin and then its argument prototype would still apply. */
81139 char $ac_func ();
81140 /* The GNU C library defines this for functions which it implements
81141 to always fail with ENOSYS. Some functions are actually named
81142 something starting with __ and the normal name is an alias. */
81143 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81144 choke me
81145 #else
81146 char (*f) () = $ac_func;
81147 #endif
81148 #ifdef __cplusplus
81150 #endif
81153 main ()
81155 return f != $ac_func;
81157 return 0;
81159 _ACEOF
81160 rm -f conftest.$ac_objext conftest$ac_exeext
81161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81162 (eval $ac_link) 2>conftest.er1
81163 ac_status=$?
81164 grep -v '^ *+' conftest.er1 >conftest.err
81165 rm -f conftest.er1
81166 cat conftest.err >&5
81167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81168 (exit $ac_status); } &&
81169 { ac_try='test -z "$ac_c_werror_flag"
81170 || test ! -s conftest.err'
81171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81172 (eval $ac_try) 2>&5
81173 ac_status=$?
81174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81175 (exit $ac_status); }; } &&
81176 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
81182 eval "$as_ac_var=yes"
81183 else
81184 echo "$as_me: failed program was:" >&5
81185 sed 's/^/| /' conftest.$ac_ext >&5
81187 eval "$as_ac_var=no"
81189 rm -f conftest.err conftest.$ac_objext \
81190 conftest$ac_exeext conftest.$ac_ext
81192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81193 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81194 if test `eval echo '${'$as_ac_var'}'` = yes; then
81195 cat >>confdefs.h <<_ACEOF
81196 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81197 _ACEOF
81199 else
81200 ac_wfuncs=no
81202 done
81205 # Checks for wide character functions that are not required
81206 # for basic wchar_t support. Don't disable support if they are missing.
81207 # Injection of these is wrapped with guard macros.
81213 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
81215 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81216 echo "$as_me:$LINENO: checking for $ac_func" >&5
81217 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81218 if eval "test \"\${$as_ac_var+set}\" = set"; then
81219 echo $ECHO_N "(cached) $ECHO_C" >&6
81220 else
81221 if test x$gcc_no_link = xyes; then
81222 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81223 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81224 { (exit 1); exit 1; }; }
81226 cat >conftest.$ac_ext <<_ACEOF
81227 /* confdefs.h. */
81228 _ACEOF
81229 cat confdefs.h >>conftest.$ac_ext
81230 cat >>conftest.$ac_ext <<_ACEOF
81231 /* end confdefs.h. */
81232 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81233 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81234 #define $ac_func innocuous_$ac_func
81236 /* System header to define __stub macros and hopefully few prototypes,
81237 which can conflict with char $ac_func (); below.
81238 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81239 <limits.h> exists even on freestanding compilers. */
81241 #ifdef __STDC__
81242 # include <limits.h>
81243 #else
81244 # include <assert.h>
81245 #endif
81247 #undef $ac_func
81249 /* Override any gcc2 internal prototype to avoid an error. */
81250 #ifdef __cplusplus
81251 extern "C"
81253 #endif
81254 /* We use char because int might match the return type of a gcc2
81255 builtin and then its argument prototype would still apply. */
81256 char $ac_func ();
81257 /* The GNU C library defines this for functions which it implements
81258 to always fail with ENOSYS. Some functions are actually named
81259 something starting with __ and the normal name is an alias. */
81260 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81261 choke me
81262 #else
81263 char (*f) () = $ac_func;
81264 #endif
81265 #ifdef __cplusplus
81267 #endif
81270 main ()
81272 return f != $ac_func;
81274 return 0;
81276 _ACEOF
81277 rm -f conftest.$ac_objext conftest$ac_exeext
81278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81279 (eval $ac_link) 2>conftest.er1
81280 ac_status=$?
81281 grep -v '^ *+' conftest.er1 >conftest.err
81282 rm -f conftest.er1
81283 cat conftest.err >&5
81284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81285 (exit $ac_status); } &&
81286 { ac_try='test -z "$ac_c_werror_flag"
81287 || test ! -s conftest.err'
81288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81289 (eval $ac_try) 2>&5
81290 ac_status=$?
81291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81292 (exit $ac_status); }; } &&
81293 { ac_try='test -s conftest$ac_exeext'
81294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81295 (eval $ac_try) 2>&5
81296 ac_status=$?
81297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81298 (exit $ac_status); }; }; then
81299 eval "$as_ac_var=yes"
81300 else
81301 echo "$as_me: failed program was:" >&5
81302 sed 's/^/| /' conftest.$ac_ext >&5
81304 eval "$as_ac_var=no"
81306 rm -f conftest.err conftest.$ac_objext \
81307 conftest$ac_exeext conftest.$ac_ext
81309 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81310 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81311 if test `eval echo '${'$as_ac_var'}'` = yes; then
81312 cat >>confdefs.h <<_ACEOF
81313 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81314 _ACEOF
81317 done
81320 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
81321 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
81322 if test x"$has_weof" = xyes &&
81323 test x"$has_wchar_minmax" = xyes &&
81324 test x"$ac_wfuncs" = xyes;
81325 then
81326 ac_isoC99_wchar_t=yes
81327 else
81328 ac_isoC99_wchar_t=no
81330 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
81331 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
81333 # Use iconv for wchar_t to char conversions. As such, check for
81334 # X/Open Portability Guide, version 2 features (XPG2).
81335 if test "${ac_cv_header_iconv_h+set}" = set; then
81336 echo "$as_me:$LINENO: checking for iconv.h" >&5
81337 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
81338 if test "${ac_cv_header_iconv_h+set}" = set; then
81339 echo $ECHO_N "(cached) $ECHO_C" >&6
81341 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
81342 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
81343 else
81344 # Is the header compilable?
81345 echo "$as_me:$LINENO: checking iconv.h usability" >&5
81346 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
81347 cat >conftest.$ac_ext <<_ACEOF
81348 /* confdefs.h. */
81349 _ACEOF
81350 cat confdefs.h >>conftest.$ac_ext
81351 cat >>conftest.$ac_ext <<_ACEOF
81352 /* end confdefs.h. */
81353 $ac_includes_default
81354 #include <iconv.h>
81355 _ACEOF
81356 rm -f conftest.$ac_objext
81357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81358 (eval $ac_compile) 2>conftest.er1
81359 ac_status=$?
81360 grep -v '^ *+' conftest.er1 >conftest.err
81361 rm -f conftest.er1
81362 cat conftest.err >&5
81363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81364 (exit $ac_status); } &&
81365 { ac_try='test -z "$ac_c_werror_flag"
81366 || test ! -s conftest.err'
81367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81368 (eval $ac_try) 2>&5
81369 ac_status=$?
81370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81371 (exit $ac_status); }; } &&
81372 { ac_try='test -s conftest.$ac_objext'
81373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81374 (eval $ac_try) 2>&5
81375 ac_status=$?
81376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81377 (exit $ac_status); }; }; then
81378 ac_header_compiler=yes
81379 else
81380 echo "$as_me: failed program was:" >&5
81381 sed 's/^/| /' conftest.$ac_ext >&5
81383 ac_header_compiler=no
81385 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81386 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81387 echo "${ECHO_T}$ac_header_compiler" >&6
81389 # Is the header present?
81390 echo "$as_me:$LINENO: checking iconv.h presence" >&5
81391 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
81392 cat >conftest.$ac_ext <<_ACEOF
81393 /* confdefs.h. */
81394 _ACEOF
81395 cat confdefs.h >>conftest.$ac_ext
81396 cat >>conftest.$ac_ext <<_ACEOF
81397 /* end confdefs.h. */
81398 #include <iconv.h>
81399 _ACEOF
81400 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81401 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81402 ac_status=$?
81403 grep -v '^ *+' conftest.er1 >conftest.err
81404 rm -f conftest.er1
81405 cat conftest.err >&5
81406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81407 (exit $ac_status); } >/dev/null; then
81408 if test -s conftest.err; then
81409 ac_cpp_err=$ac_c_preproc_warn_flag
81410 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81411 else
81412 ac_cpp_err=
81414 else
81415 ac_cpp_err=yes
81417 if test -z "$ac_cpp_err"; then
81418 ac_header_preproc=yes
81419 else
81420 echo "$as_me: failed program was:" >&5
81421 sed 's/^/| /' conftest.$ac_ext >&5
81423 ac_header_preproc=no
81425 rm -f conftest.err conftest.$ac_ext
81426 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81427 echo "${ECHO_T}$ac_header_preproc" >&6
81429 # So? What about this header?
81430 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81431 yes:no: )
81432 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
81433 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
81434 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
81435 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
81436 ac_header_preproc=yes
81438 no:yes:* )
81439 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
81440 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
81441 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
81442 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
81443 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
81444 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
81445 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
81446 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
81447 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
81448 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
81449 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
81450 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
81452 cat <<\_ASBOX
81453 ## ----------------------------------------- ##
81454 ## Report this to the package-unused lists. ##
81455 ## ----------------------------------------- ##
81456 _ASBOX
81458 sed "s/^/$as_me: WARNING: /" >&2
81460 esac
81461 echo "$as_me:$LINENO: checking for iconv.h" >&5
81462 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
81463 if test "${ac_cv_header_iconv_h+set}" = set; then
81464 echo $ECHO_N "(cached) $ECHO_C" >&6
81465 else
81466 ac_cv_header_iconv_h=$ac_header_preproc
81468 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
81469 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
81472 if test $ac_cv_header_iconv_h = yes; then
81473 ac_has_iconv_h=yes
81474 else
81475 ac_has_iconv_h=no
81479 if test "${ac_cv_header_langinfo_h+set}" = set; then
81480 echo "$as_me:$LINENO: checking for langinfo.h" >&5
81481 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
81482 if test "${ac_cv_header_langinfo_h+set}" = set; then
81483 echo $ECHO_N "(cached) $ECHO_C" >&6
81485 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
81486 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
81487 else
81488 # Is the header compilable?
81489 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
81490 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
81491 cat >conftest.$ac_ext <<_ACEOF
81492 /* confdefs.h. */
81493 _ACEOF
81494 cat confdefs.h >>conftest.$ac_ext
81495 cat >>conftest.$ac_ext <<_ACEOF
81496 /* end confdefs.h. */
81497 $ac_includes_default
81498 #include <langinfo.h>
81499 _ACEOF
81500 rm -f conftest.$ac_objext
81501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81502 (eval $ac_compile) 2>conftest.er1
81503 ac_status=$?
81504 grep -v '^ *+' conftest.er1 >conftest.err
81505 rm -f conftest.er1
81506 cat conftest.err >&5
81507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81508 (exit $ac_status); } &&
81509 { ac_try='test -z "$ac_c_werror_flag"
81510 || test ! -s conftest.err'
81511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81512 (eval $ac_try) 2>&5
81513 ac_status=$?
81514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81515 (exit $ac_status); }; } &&
81516 { ac_try='test -s conftest.$ac_objext'
81517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81518 (eval $ac_try) 2>&5
81519 ac_status=$?
81520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81521 (exit $ac_status); }; }; then
81522 ac_header_compiler=yes
81523 else
81524 echo "$as_me: failed program was:" >&5
81525 sed 's/^/| /' conftest.$ac_ext >&5
81527 ac_header_compiler=no
81529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81530 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81531 echo "${ECHO_T}$ac_header_compiler" >&6
81533 # Is the header present?
81534 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
81535 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
81536 cat >conftest.$ac_ext <<_ACEOF
81537 /* confdefs.h. */
81538 _ACEOF
81539 cat confdefs.h >>conftest.$ac_ext
81540 cat >>conftest.$ac_ext <<_ACEOF
81541 /* end confdefs.h. */
81542 #include <langinfo.h>
81543 _ACEOF
81544 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81545 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81546 ac_status=$?
81547 grep -v '^ *+' conftest.er1 >conftest.err
81548 rm -f conftest.er1
81549 cat conftest.err >&5
81550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81551 (exit $ac_status); } >/dev/null; then
81552 if test -s conftest.err; then
81553 ac_cpp_err=$ac_c_preproc_warn_flag
81554 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81555 else
81556 ac_cpp_err=
81558 else
81559 ac_cpp_err=yes
81561 if test -z "$ac_cpp_err"; then
81562 ac_header_preproc=yes
81563 else
81564 echo "$as_me: failed program was:" >&5
81565 sed 's/^/| /' conftest.$ac_ext >&5
81567 ac_header_preproc=no
81569 rm -f conftest.err conftest.$ac_ext
81570 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81571 echo "${ECHO_T}$ac_header_preproc" >&6
81573 # So? What about this header?
81574 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81575 yes:no: )
81576 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
81577 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
81578 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
81579 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
81580 ac_header_preproc=yes
81582 no:yes:* )
81583 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
81584 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
81585 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
81586 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
81587 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
81588 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
81589 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
81590 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
81591 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
81592 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
81593 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
81594 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
81596 cat <<\_ASBOX
81597 ## ----------------------------------------- ##
81598 ## Report this to the package-unused lists. ##
81599 ## ----------------------------------------- ##
81600 _ASBOX
81602 sed "s/^/$as_me: WARNING: /" >&2
81604 esac
81605 echo "$as_me:$LINENO: checking for langinfo.h" >&5
81606 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
81607 if test "${ac_cv_header_langinfo_h+set}" = set; then
81608 echo $ECHO_N "(cached) $ECHO_C" >&6
81609 else
81610 ac_cv_header_langinfo_h=$ac_header_preproc
81612 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
81613 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
81616 if test $ac_cv_header_langinfo_h = yes; then
81617 ac_has_langinfo_h=yes
81618 else
81619 ac_has_langinfo_h=no
81624 # Check for existence of libiconv.a providing XPG2 wchar_t support.
81625 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
81626 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
81627 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
81628 echo $ECHO_N "(cached) $ECHO_C" >&6
81629 else
81630 ac_check_lib_save_LIBS=$LIBS
81631 LIBS="-liconv $LIBS"
81632 if test x$gcc_no_link = xyes; then
81633 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81634 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81635 { (exit 1); exit 1; }; }
81637 cat >conftest.$ac_ext <<_ACEOF
81638 /* confdefs.h. */
81639 _ACEOF
81640 cat confdefs.h >>conftest.$ac_ext
81641 cat >>conftest.$ac_ext <<_ACEOF
81642 /* end confdefs.h. */
81644 /* Override any gcc2 internal prototype to avoid an error. */
81645 #ifdef __cplusplus
81646 extern "C"
81647 #endif
81648 /* We use char because int might match the return type of a gcc2
81649 builtin and then its argument prototype would still apply. */
81650 char iconv ();
81652 main ()
81654 iconv ();
81656 return 0;
81658 _ACEOF
81659 rm -f conftest.$ac_objext conftest$ac_exeext
81660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81661 (eval $ac_link) 2>conftest.er1
81662 ac_status=$?
81663 grep -v '^ *+' conftest.er1 >conftest.err
81664 rm -f conftest.er1
81665 cat conftest.err >&5
81666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81667 (exit $ac_status); } &&
81668 { ac_try='test -z "$ac_c_werror_flag"
81669 || test ! -s conftest.err'
81670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81671 (eval $ac_try) 2>&5
81672 ac_status=$?
81673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81674 (exit $ac_status); }; } &&
81675 { ac_try='test -s conftest$ac_exeext'
81676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81677 (eval $ac_try) 2>&5
81678 ac_status=$?
81679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81680 (exit $ac_status); }; }; then
81681 ac_cv_lib_iconv_iconv=yes
81682 else
81683 echo "$as_me: failed program was:" >&5
81684 sed 's/^/| /' conftest.$ac_ext >&5
81686 ac_cv_lib_iconv_iconv=no
81688 rm -f conftest.err conftest.$ac_objext \
81689 conftest$ac_exeext conftest.$ac_ext
81690 LIBS=$ac_check_lib_save_LIBS
81692 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
81693 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
81694 if test $ac_cv_lib_iconv_iconv = yes; then
81695 LIBICONV="-liconv"
81698 ac_save_LIBS="$LIBS"
81699 LIBS="$LIBS $LIBICONV"
81706 for ac_func in iconv_open iconv_close iconv nl_langinfo
81708 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81709 echo "$as_me:$LINENO: checking for $ac_func" >&5
81710 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81711 if eval "test \"\${$as_ac_var+set}\" = set"; then
81712 echo $ECHO_N "(cached) $ECHO_C" >&6
81713 else
81714 if test x$gcc_no_link = xyes; then
81715 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81716 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81717 { (exit 1); exit 1; }; }
81719 cat >conftest.$ac_ext <<_ACEOF
81720 /* confdefs.h. */
81721 _ACEOF
81722 cat confdefs.h >>conftest.$ac_ext
81723 cat >>conftest.$ac_ext <<_ACEOF
81724 /* end confdefs.h. */
81725 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81726 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81727 #define $ac_func innocuous_$ac_func
81729 /* System header to define __stub macros and hopefully few prototypes,
81730 which can conflict with char $ac_func (); below.
81731 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81732 <limits.h> exists even on freestanding compilers. */
81734 #ifdef __STDC__
81735 # include <limits.h>
81736 #else
81737 # include <assert.h>
81738 #endif
81740 #undef $ac_func
81742 /* Override any gcc2 internal prototype to avoid an error. */
81743 #ifdef __cplusplus
81744 extern "C"
81746 #endif
81747 /* We use char because int might match the return type of a gcc2
81748 builtin and then its argument prototype would still apply. */
81749 char $ac_func ();
81750 /* The GNU C library defines this for functions which it implements
81751 to always fail with ENOSYS. Some functions are actually named
81752 something starting with __ and the normal name is an alias. */
81753 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81754 choke me
81755 #else
81756 char (*f) () = $ac_func;
81757 #endif
81758 #ifdef __cplusplus
81760 #endif
81763 main ()
81765 return f != $ac_func;
81767 return 0;
81769 _ACEOF
81770 rm -f conftest.$ac_objext conftest$ac_exeext
81771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81772 (eval $ac_link) 2>conftest.er1
81773 ac_status=$?
81774 grep -v '^ *+' conftest.er1 >conftest.err
81775 rm -f conftest.er1
81776 cat conftest.err >&5
81777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81778 (exit $ac_status); } &&
81779 { ac_try='test -z "$ac_c_werror_flag"
81780 || test ! -s conftest.err'
81781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81782 (eval $ac_try) 2>&5
81783 ac_status=$?
81784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81785 (exit $ac_status); }; } &&
81786 { ac_try='test -s conftest$ac_exeext'
81787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81788 (eval $ac_try) 2>&5
81789 ac_status=$?
81790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81791 (exit $ac_status); }; }; then
81792 eval "$as_ac_var=yes"
81793 else
81794 echo "$as_me: failed program was:" >&5
81795 sed 's/^/| /' conftest.$ac_ext >&5
81797 eval "$as_ac_var=no"
81799 rm -f conftest.err conftest.$ac_objext \
81800 conftest$ac_exeext conftest.$ac_ext
81802 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81803 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81804 if test `eval echo '${'$as_ac_var'}'` = yes; then
81805 cat >>confdefs.h <<_ACEOF
81806 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81807 _ACEOF
81808 ac_XPG2funcs=yes
81809 else
81810 ac_XPG2funcs=no
81812 done
81815 LIBS="$ac_save_LIBS"
81817 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
81818 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
81819 if test x"$ac_has_iconv_h" = xyes &&
81820 test x"$ac_has_langinfo_h" = xyes &&
81821 test x"$ac_XPG2funcs" = xyes;
81822 then
81823 ac_XPG2_wchar_t=yes
81824 else
81825 ac_XPG2_wchar_t=no
81827 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
81828 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
81830 # At the moment, only enable wchar_t specializations if all the
81831 # above support is present.
81832 if test x"$ac_isoC99_wchar_t" = xyes &&
81833 test x"$ac_XPG2_wchar_t" = xyes;
81834 then
81835 cat >>confdefs.h <<\_ACEOF
81836 #define _GLIBCXX_USE_WCHAR_T 1
81837 _ACEOF
81839 enable_wchar_t=yes
81842 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
81843 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
81844 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
81845 echo "${ECHO_T}$enable_wchar_t" >&6
81848 # For LFS.
81849 cat >>confdefs.h <<\_ACEOF
81850 #define HAVE_INT64_T 1
81851 _ACEOF
81853 case "$target" in
81854 *-uclinux*)
81855 # Don't enable LFS with uClibc
81858 cat >>confdefs.h <<\_ACEOF
81859 #define _GLIBCXX_USE_LFS 1
81860 _ACEOF
81862 esac
81864 # For showmanyc_helper().
81867 for ac_header in sys/ioctl.h sys/filio.h
81869 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
81870 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81871 echo "$as_me:$LINENO: checking for $ac_header" >&5
81872 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81873 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81874 echo $ECHO_N "(cached) $ECHO_C" >&6
81876 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
81877 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
81878 else
81879 # Is the header compilable?
81880 echo "$as_me:$LINENO: checking $ac_header usability" >&5
81881 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
81882 cat >conftest.$ac_ext <<_ACEOF
81883 /* confdefs.h. */
81884 _ACEOF
81885 cat confdefs.h >>conftest.$ac_ext
81886 cat >>conftest.$ac_ext <<_ACEOF
81887 /* end confdefs.h. */
81888 $ac_includes_default
81889 #include <$ac_header>
81890 _ACEOF
81891 rm -f conftest.$ac_objext
81892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81893 (eval $ac_compile) 2>conftest.er1
81894 ac_status=$?
81895 grep -v '^ *+' conftest.er1 >conftest.err
81896 rm -f conftest.er1
81897 cat conftest.err >&5
81898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81899 (exit $ac_status); } &&
81900 { ac_try='test -z "$ac_c_werror_flag"
81901 || test ! -s conftest.err'
81902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81903 (eval $ac_try) 2>&5
81904 ac_status=$?
81905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81906 (exit $ac_status); }; } &&
81907 { ac_try='test -s conftest.$ac_objext'
81908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81909 (eval $ac_try) 2>&5
81910 ac_status=$?
81911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81912 (exit $ac_status); }; }; then
81913 ac_header_compiler=yes
81914 else
81915 echo "$as_me: failed program was:" >&5
81916 sed 's/^/| /' conftest.$ac_ext >&5
81918 ac_header_compiler=no
81920 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81921 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81922 echo "${ECHO_T}$ac_header_compiler" >&6
81924 # Is the header present?
81925 echo "$as_me:$LINENO: checking $ac_header presence" >&5
81926 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
81927 cat >conftest.$ac_ext <<_ACEOF
81928 /* confdefs.h. */
81929 _ACEOF
81930 cat confdefs.h >>conftest.$ac_ext
81931 cat >>conftest.$ac_ext <<_ACEOF
81932 /* end confdefs.h. */
81933 #include <$ac_header>
81934 _ACEOF
81935 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81936 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81937 ac_status=$?
81938 grep -v '^ *+' conftest.er1 >conftest.err
81939 rm -f conftest.er1
81940 cat conftest.err >&5
81941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81942 (exit $ac_status); } >/dev/null; then
81943 if test -s conftest.err; then
81944 ac_cpp_err=$ac_c_preproc_warn_flag
81945 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81946 else
81947 ac_cpp_err=
81949 else
81950 ac_cpp_err=yes
81952 if test -z "$ac_cpp_err"; then
81953 ac_header_preproc=yes
81954 else
81955 echo "$as_me: failed program was:" >&5
81956 sed 's/^/| /' conftest.$ac_ext >&5
81958 ac_header_preproc=no
81960 rm -f conftest.err conftest.$ac_ext
81961 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81962 echo "${ECHO_T}$ac_header_preproc" >&6
81964 # So? What about this header?
81965 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81966 yes:no: )
81967 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
81968 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
81969 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
81970 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
81971 ac_header_preproc=yes
81973 no:yes:* )
81974 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
81975 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
81976 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
81977 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
81978 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
81979 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
81980 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
81981 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
81982 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
81983 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
81984 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
81985 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
81987 cat <<\_ASBOX
81988 ## ----------------------------------------- ##
81989 ## Report this to the package-unused lists. ##
81990 ## ----------------------------------------- ##
81991 _ASBOX
81993 sed "s/^/$as_me: WARNING: /" >&2
81995 esac
81996 echo "$as_me:$LINENO: checking for $ac_header" >&5
81997 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81998 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81999 echo $ECHO_N "(cached) $ECHO_C" >&6
82000 else
82001 eval "$as_ac_Header=\$ac_header_preproc"
82003 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82004 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82007 if test `eval echo '${'$as_ac_Header'}'` = yes; then
82008 cat >>confdefs.h <<_ACEOF
82009 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
82010 _ACEOF
82014 done
82017 if test "${glibcxx_cv_POLL+set}" = set; then
82018 echo $ECHO_N "(cached) $ECHO_C" >&6
82019 else
82021 if test x$gcc_no_link = xyes; then
82022 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82023 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82024 { (exit 1); exit 1; }; }
82026 cat >conftest.$ac_ext <<_ACEOF
82027 /* confdefs.h. */
82028 _ACEOF
82029 cat confdefs.h >>conftest.$ac_ext
82030 cat >>conftest.$ac_ext <<_ACEOF
82031 /* end confdefs.h. */
82032 #include <poll.h>
82034 main ()
82036 struct pollfd pfd[1];
82037 pfd[0].events = POLLIN;
82038 poll(pfd, 1, 0);
82040 return 0;
82042 _ACEOF
82043 rm -f conftest.$ac_objext conftest$ac_exeext
82044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82045 (eval $ac_link) 2>conftest.er1
82046 ac_status=$?
82047 grep -v '^ *+' conftest.er1 >conftest.err
82048 rm -f conftest.er1
82049 cat conftest.err >&5
82050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82051 (exit $ac_status); } &&
82052 { ac_try='test -z "$ac_c_werror_flag"
82053 || test ! -s conftest.err'
82054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82055 (eval $ac_try) 2>&5
82056 ac_status=$?
82057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82058 (exit $ac_status); }; } &&
82059 { ac_try='test -s conftest$ac_exeext'
82060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82061 (eval $ac_try) 2>&5
82062 ac_status=$?
82063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82064 (exit $ac_status); }; }; then
82065 glibcxx_cv_POLL=yes
82066 else
82067 echo "$as_me: failed program was:" >&5
82068 sed 's/^/| /' conftest.$ac_ext >&5
82070 glibcxx_cv_POLL=no
82072 rm -f conftest.err conftest.$ac_objext \
82073 conftest$ac_exeext conftest.$ac_ext
82077 if test $glibcxx_cv_POLL = yes; then
82078 cat >>confdefs.h <<\_ACEOF
82079 #define HAVE_POLL 1
82080 _ACEOF
82085 if test "${glibcxx_cv_S_ISREG+set}" = set; then
82086 echo $ECHO_N "(cached) $ECHO_C" >&6
82087 else
82089 if test x$gcc_no_link = xyes; then
82090 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82091 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82092 { (exit 1); exit 1; }; }
82094 cat >conftest.$ac_ext <<_ACEOF
82095 /* confdefs.h. */
82096 _ACEOF
82097 cat confdefs.h >>conftest.$ac_ext
82098 cat >>conftest.$ac_ext <<_ACEOF
82099 /* end confdefs.h. */
82100 #include <sys/stat.h>
82102 main ()
82104 struct stat buffer;
82105 fstat(0, &buffer);
82106 S_ISREG(buffer.st_mode);
82108 return 0;
82110 _ACEOF
82111 rm -f conftest.$ac_objext conftest$ac_exeext
82112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82113 (eval $ac_link) 2>conftest.er1
82114 ac_status=$?
82115 grep -v '^ *+' conftest.er1 >conftest.err
82116 rm -f conftest.er1
82117 cat conftest.err >&5
82118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82119 (exit $ac_status); } &&
82120 { ac_try='test -z "$ac_c_werror_flag"
82121 || test ! -s conftest.err'
82122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82123 (eval $ac_try) 2>&5
82124 ac_status=$?
82125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82126 (exit $ac_status); }; } &&
82127 { ac_try='test -s conftest$ac_exeext'
82128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82129 (eval $ac_try) 2>&5
82130 ac_status=$?
82131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82132 (exit $ac_status); }; }; then
82133 glibcxx_cv_S_ISREG=yes
82134 else
82135 echo "$as_me: failed program was:" >&5
82136 sed 's/^/| /' conftest.$ac_ext >&5
82138 glibcxx_cv_S_ISREG=no
82140 rm -f conftest.err conftest.$ac_objext \
82141 conftest$ac_exeext conftest.$ac_ext
82145 if test "${glibcxx_cv_S_IFREG+set}" = set; then
82146 echo $ECHO_N "(cached) $ECHO_C" >&6
82147 else
82149 if test x$gcc_no_link = xyes; then
82150 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82151 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82152 { (exit 1); exit 1; }; }
82154 cat >conftest.$ac_ext <<_ACEOF
82155 /* confdefs.h. */
82156 _ACEOF
82157 cat confdefs.h >>conftest.$ac_ext
82158 cat >>conftest.$ac_ext <<_ACEOF
82159 /* end confdefs.h. */
82160 #include <sys/stat.h>
82162 main ()
82164 struct stat buffer;
82165 fstat(0, &buffer);
82166 S_IFREG & buffer.st_mode;
82168 return 0;
82170 _ACEOF
82171 rm -f conftest.$ac_objext conftest$ac_exeext
82172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82173 (eval $ac_link) 2>conftest.er1
82174 ac_status=$?
82175 grep -v '^ *+' conftest.er1 >conftest.err
82176 rm -f conftest.er1
82177 cat conftest.err >&5
82178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82179 (exit $ac_status); } &&
82180 { ac_try='test -z "$ac_c_werror_flag"
82181 || test ! -s conftest.err'
82182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82183 (eval $ac_try) 2>&5
82184 ac_status=$?
82185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82186 (exit $ac_status); }; } &&
82187 { ac_try='test -s conftest$ac_exeext'
82188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82189 (eval $ac_try) 2>&5
82190 ac_status=$?
82191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82192 (exit $ac_status); }; }; then
82193 glibcxx_cv_S_IFREG=yes
82194 else
82195 echo "$as_me: failed program was:" >&5
82196 sed 's/^/| /' conftest.$ac_ext >&5
82198 glibcxx_cv_S_IFREG=no
82200 rm -f conftest.err conftest.$ac_objext \
82201 conftest$ac_exeext conftest.$ac_ext
82205 if test $glibcxx_cv_S_ISREG = yes; then
82206 cat >>confdefs.h <<\_ACEOF
82207 #define HAVE_S_ISREG 1
82208 _ACEOF
82210 elif test $glibcxx_cv_S_IFREG = yes; then
82211 cat >>confdefs.h <<\_ACEOF
82212 #define HAVE_S_IFREG 1
82213 _ACEOF
82218 # For xsputn_2().
82220 for ac_header in sys/uio.h
82222 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
82223 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82224 echo "$as_me:$LINENO: checking for $ac_header" >&5
82225 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82226 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82227 echo $ECHO_N "(cached) $ECHO_C" >&6
82229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82230 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82231 else
82232 # Is the header compilable?
82233 echo "$as_me:$LINENO: checking $ac_header usability" >&5
82234 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
82235 cat >conftest.$ac_ext <<_ACEOF
82236 /* confdefs.h. */
82237 _ACEOF
82238 cat confdefs.h >>conftest.$ac_ext
82239 cat >>conftest.$ac_ext <<_ACEOF
82240 /* end confdefs.h. */
82241 $ac_includes_default
82242 #include <$ac_header>
82243 _ACEOF
82244 rm -f conftest.$ac_objext
82245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82246 (eval $ac_compile) 2>conftest.er1
82247 ac_status=$?
82248 grep -v '^ *+' conftest.er1 >conftest.err
82249 rm -f conftest.er1
82250 cat conftest.err >&5
82251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82252 (exit $ac_status); } &&
82253 { ac_try='test -z "$ac_c_werror_flag"
82254 || test ! -s conftest.err'
82255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82256 (eval $ac_try) 2>&5
82257 ac_status=$?
82258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82259 (exit $ac_status); }; } &&
82260 { ac_try='test -s conftest.$ac_objext'
82261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82262 (eval $ac_try) 2>&5
82263 ac_status=$?
82264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82265 (exit $ac_status); }; }; then
82266 ac_header_compiler=yes
82267 else
82268 echo "$as_me: failed program was:" >&5
82269 sed 's/^/| /' conftest.$ac_ext >&5
82271 ac_header_compiler=no
82273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82274 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82275 echo "${ECHO_T}$ac_header_compiler" >&6
82277 # Is the header present?
82278 echo "$as_me:$LINENO: checking $ac_header presence" >&5
82279 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
82280 cat >conftest.$ac_ext <<_ACEOF
82281 /* confdefs.h. */
82282 _ACEOF
82283 cat confdefs.h >>conftest.$ac_ext
82284 cat >>conftest.$ac_ext <<_ACEOF
82285 /* end confdefs.h. */
82286 #include <$ac_header>
82287 _ACEOF
82288 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82289 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82290 ac_status=$?
82291 grep -v '^ *+' conftest.er1 >conftest.err
82292 rm -f conftest.er1
82293 cat conftest.err >&5
82294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82295 (exit $ac_status); } >/dev/null; then
82296 if test -s conftest.err; then
82297 ac_cpp_err=$ac_c_preproc_warn_flag
82298 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82299 else
82300 ac_cpp_err=
82302 else
82303 ac_cpp_err=yes
82305 if test -z "$ac_cpp_err"; then
82306 ac_header_preproc=yes
82307 else
82308 echo "$as_me: failed program was:" >&5
82309 sed 's/^/| /' conftest.$ac_ext >&5
82311 ac_header_preproc=no
82313 rm -f conftest.err conftest.$ac_ext
82314 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82315 echo "${ECHO_T}$ac_header_preproc" >&6
82317 # So? What about this header?
82318 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82319 yes:no: )
82320 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
82321 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
82322 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
82323 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
82324 ac_header_preproc=yes
82326 no:yes:* )
82327 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
82328 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
82329 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
82330 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
82331 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
82332 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
82333 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
82334 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
82335 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
82336 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
82337 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
82338 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
82340 cat <<\_ASBOX
82341 ## ----------------------------------------- ##
82342 ## Report this to the package-unused lists. ##
82343 ## ----------------------------------------- ##
82344 _ASBOX
82346 sed "s/^/$as_me: WARNING: /" >&2
82348 esac
82349 echo "$as_me:$LINENO: checking for $ac_header" >&5
82350 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82351 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82352 echo $ECHO_N "(cached) $ECHO_C" >&6
82353 else
82354 eval "$as_ac_Header=\$ac_header_preproc"
82356 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82357 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82360 if test `eval echo '${'$as_ac_Header'}'` = yes; then
82361 cat >>confdefs.h <<_ACEOF
82362 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
82363 _ACEOF
82367 done
82370 if test "${glibcxx_cv_WRITEV+set}" = set; then
82371 echo $ECHO_N "(cached) $ECHO_C" >&6
82372 else
82374 if test x$gcc_no_link = xyes; then
82375 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82376 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82377 { (exit 1); exit 1; }; }
82379 cat >conftest.$ac_ext <<_ACEOF
82380 /* confdefs.h. */
82381 _ACEOF
82382 cat confdefs.h >>conftest.$ac_ext
82383 cat >>conftest.$ac_ext <<_ACEOF
82384 /* end confdefs.h. */
82385 #include <sys/uio.h>
82387 main ()
82389 struct iovec iov[2];
82390 writev(0, iov, 0);
82392 return 0;
82394 _ACEOF
82395 rm -f conftest.$ac_objext conftest$ac_exeext
82396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82397 (eval $ac_link) 2>conftest.er1
82398 ac_status=$?
82399 grep -v '^ *+' conftest.er1 >conftest.err
82400 rm -f conftest.er1
82401 cat conftest.err >&5
82402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82403 (exit $ac_status); } &&
82404 { ac_try='test -z "$ac_c_werror_flag"
82405 || test ! -s conftest.err'
82406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82407 (eval $ac_try) 2>&5
82408 ac_status=$?
82409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82410 (exit $ac_status); }; } &&
82411 { ac_try='test -s conftest$ac_exeext'
82412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82413 (eval $ac_try) 2>&5
82414 ac_status=$?
82415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82416 (exit $ac_status); }; }; then
82417 glibcxx_cv_WRITEV=yes
82418 else
82419 echo "$as_me: failed program was:" >&5
82420 sed 's/^/| /' conftest.$ac_ext >&5
82422 glibcxx_cv_WRITEV=no
82424 rm -f conftest.err conftest.$ac_objext \
82425 conftest$ac_exeext conftest.$ac_ext
82429 if test $glibcxx_cv_WRITEV = yes; then
82430 cat >>confdefs.h <<\_ACEOF
82431 #define HAVE_WRITEV 1
82432 _ACEOF
82437 cat >>confdefs.h <<\_ACEOF
82438 #define HAVE_ACOSF 1
82439 _ACEOF
82441 cat >>confdefs.h <<\_ACEOF
82442 #define HAVE_ASINF 1
82443 _ACEOF
82445 cat >>confdefs.h <<\_ACEOF
82446 #define HAVE_ATANF 1
82447 _ACEOF
82449 cat >>confdefs.h <<\_ACEOF
82450 #define HAVE_ATAN2F 1
82451 _ACEOF
82453 cat >>confdefs.h <<\_ACEOF
82454 #define HAVE_CEILF 1
82455 _ACEOF
82457 cat >>confdefs.h <<\_ACEOF
82458 #define HAVE_COPYSIGN 1
82459 _ACEOF
82461 cat >>confdefs.h <<\_ACEOF
82462 #define HAVE_COPYSIGNF 1
82463 _ACEOF
82465 cat >>confdefs.h <<\_ACEOF
82466 #define HAVE_COSF 1
82467 _ACEOF
82469 cat >>confdefs.h <<\_ACEOF
82470 #define HAVE_COSHF 1
82471 _ACEOF
82473 cat >>confdefs.h <<\_ACEOF
82474 #define HAVE_EXPF 1
82475 _ACEOF
82477 cat >>confdefs.h <<\_ACEOF
82478 #define HAVE_FABSF 1
82479 _ACEOF
82481 cat >>confdefs.h <<\_ACEOF
82482 #define HAVE_FINITE 1
82483 _ACEOF
82485 cat >>confdefs.h <<\_ACEOF
82486 #define HAVE_FINITEF 1
82487 _ACEOF
82489 cat >>confdefs.h <<\_ACEOF
82490 #define HAVE_FLOORF 1
82491 _ACEOF
82493 cat >>confdefs.h <<\_ACEOF
82494 #define HAVE_FMODF 1
82495 _ACEOF
82497 cat >>confdefs.h <<\_ACEOF
82498 #define HAVE_FREXPF 1
82499 _ACEOF
82501 cat >>confdefs.h <<\_ACEOF
82502 #define HAVE_HYPOT 1
82503 _ACEOF
82505 cat >>confdefs.h <<\_ACEOF
82506 #define HAVE_HYPOTF 1
82507 _ACEOF
82509 cat >>confdefs.h <<\_ACEOF
82510 #define HAVE_ISINF 1
82511 _ACEOF
82513 cat >>confdefs.h <<\_ACEOF
82514 #define HAVE_ISINFF 1
82515 _ACEOF
82517 cat >>confdefs.h <<\_ACEOF
82518 #define HAVE_ISNAN 1
82519 _ACEOF
82521 cat >>confdefs.h <<\_ACEOF
82522 #define HAVE_ISNANF 1
82523 _ACEOF
82525 cat >>confdefs.h <<\_ACEOF
82526 #define HAVE_LOGF 1
82527 _ACEOF
82529 cat >>confdefs.h <<\_ACEOF
82530 #define HAVE_LOG10F 1
82531 _ACEOF
82533 cat >>confdefs.h <<\_ACEOF
82534 #define HAVE_MODFF 1
82535 _ACEOF
82537 cat >>confdefs.h <<\_ACEOF
82538 #define HAVE_SINF 1
82539 _ACEOF
82541 cat >>confdefs.h <<\_ACEOF
82542 #define HAVE_SINHF 1
82543 _ACEOF
82545 cat >>confdefs.h <<\_ACEOF
82546 #define HAVE_SINCOS 1
82547 _ACEOF
82549 cat >>confdefs.h <<\_ACEOF
82550 #define HAVE_SINCOSF 1
82551 _ACEOF
82553 cat >>confdefs.h <<\_ACEOF
82554 #define HAVE_SQRTF 1
82555 _ACEOF
82557 cat >>confdefs.h <<\_ACEOF
82558 #define HAVE_TANF 1
82559 _ACEOF
82561 cat >>confdefs.h <<\_ACEOF
82562 #define HAVE_TANHF 1
82563 _ACEOF
82565 if test x"long_double_math_on_this_cpu" = x"yes"; then
82566 cat >>confdefs.h <<\_ACEOF
82567 #define HAVE_ACOSL 1
82568 _ACEOF
82570 cat >>confdefs.h <<\_ACEOF
82571 #define HAVE_ASINL 1
82572 _ACEOF
82574 cat >>confdefs.h <<\_ACEOF
82575 #define HAVE_ATANL 1
82576 _ACEOF
82578 cat >>confdefs.h <<\_ACEOF
82579 #define HAVE_ATAN2L 1
82580 _ACEOF
82582 cat >>confdefs.h <<\_ACEOF
82583 #define HAVE_CEILL 1
82584 _ACEOF
82586 cat >>confdefs.h <<\_ACEOF
82587 #define HAVE_COPYSIGNL 1
82588 _ACEOF
82590 cat >>confdefs.h <<\_ACEOF
82591 #define HAVE_COSL 1
82592 _ACEOF
82594 cat >>confdefs.h <<\_ACEOF
82595 #define HAVE_COSHL 1
82596 _ACEOF
82598 cat >>confdefs.h <<\_ACEOF
82599 #define HAVE_EXPL 1
82600 _ACEOF
82602 cat >>confdefs.h <<\_ACEOF
82603 #define HAVE_FABSL 1
82604 _ACEOF
82606 cat >>confdefs.h <<\_ACEOF
82607 #define HAVE_FINITEL 1
82608 _ACEOF
82610 cat >>confdefs.h <<\_ACEOF
82611 #define HAVE_FLOORL 1
82612 _ACEOF
82614 cat >>confdefs.h <<\_ACEOF
82615 #define HAVE_FMODL 1
82616 _ACEOF
82618 cat >>confdefs.h <<\_ACEOF
82619 #define HAVE_FREXPL 1
82620 _ACEOF
82622 cat >>confdefs.h <<\_ACEOF
82623 #define HAVE_HYPOTL 1
82624 _ACEOF
82626 cat >>confdefs.h <<\_ACEOF
82627 #define HAVE_ISINFL 1
82628 _ACEOF
82630 cat >>confdefs.h <<\_ACEOF
82631 #define HAVE_ISNANL 1
82632 _ACEOF
82634 cat >>confdefs.h <<\_ACEOF
82635 #define HAVE_LOGL 1
82636 _ACEOF
82638 cat >>confdefs.h <<\_ACEOF
82639 #define HAVE_LOG10L 1
82640 _ACEOF
82642 cat >>confdefs.h <<\_ACEOF
82643 #define HAVE_MODFL 1
82644 _ACEOF
82646 cat >>confdefs.h <<\_ACEOF
82647 #define HAVE_POWL 1
82648 _ACEOF
82650 cat >>confdefs.h <<\_ACEOF
82651 #define HAVE_SINL 1
82652 _ACEOF
82654 cat >>confdefs.h <<\_ACEOF
82655 #define HAVE_SINHL 1
82656 _ACEOF
82658 cat >>confdefs.h <<\_ACEOF
82659 #define HAVE_SINCOSL 1
82660 _ACEOF
82662 cat >>confdefs.h <<\_ACEOF
82663 #define HAVE_SQRTL 1
82664 _ACEOF
82666 cat >>confdefs.h <<\_ACEOF
82667 #define HAVE_TANL 1
82668 _ACEOF
82670 cat >>confdefs.h <<\_ACEOF
82671 #define HAVE_TANHL 1
82672 _ACEOF
82676 *-mingw32*)
82680 for ac_header in sys/types.h locale.h float.h
82682 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
82683 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82684 echo "$as_me:$LINENO: checking for $ac_header" >&5
82685 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82686 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82687 echo $ECHO_N "(cached) $ECHO_C" >&6
82689 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82690 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82691 else
82692 # Is the header compilable?
82693 echo "$as_me:$LINENO: checking $ac_header usability" >&5
82694 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
82695 cat >conftest.$ac_ext <<_ACEOF
82696 /* confdefs.h. */
82697 _ACEOF
82698 cat confdefs.h >>conftest.$ac_ext
82699 cat >>conftest.$ac_ext <<_ACEOF
82700 /* end confdefs.h. */
82701 $ac_includes_default
82702 #include <$ac_header>
82703 _ACEOF
82704 rm -f conftest.$ac_objext
82705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82706 (eval $ac_compile) 2>conftest.er1
82707 ac_status=$?
82708 grep -v '^ *+' conftest.er1 >conftest.err
82709 rm -f conftest.er1
82710 cat conftest.err >&5
82711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82712 (exit $ac_status); } &&
82713 { ac_try='test -z "$ac_c_werror_flag"
82714 || test ! -s conftest.err'
82715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82716 (eval $ac_try) 2>&5
82717 ac_status=$?
82718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82719 (exit $ac_status); }; } &&
82720 { ac_try='test -s conftest.$ac_objext'
82721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82722 (eval $ac_try) 2>&5
82723 ac_status=$?
82724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82725 (exit $ac_status); }; }; then
82726 ac_header_compiler=yes
82727 else
82728 echo "$as_me: failed program was:" >&5
82729 sed 's/^/| /' conftest.$ac_ext >&5
82731 ac_header_compiler=no
82733 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82734 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82735 echo "${ECHO_T}$ac_header_compiler" >&6
82737 # Is the header present?
82738 echo "$as_me:$LINENO: checking $ac_header presence" >&5
82739 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
82740 cat >conftest.$ac_ext <<_ACEOF
82741 /* confdefs.h. */
82742 _ACEOF
82743 cat confdefs.h >>conftest.$ac_ext
82744 cat >>conftest.$ac_ext <<_ACEOF
82745 /* end confdefs.h. */
82746 #include <$ac_header>
82747 _ACEOF
82748 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82749 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82750 ac_status=$?
82751 grep -v '^ *+' conftest.er1 >conftest.err
82752 rm -f conftest.er1
82753 cat conftest.err >&5
82754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82755 (exit $ac_status); } >/dev/null; then
82756 if test -s conftest.err; then
82757 ac_cpp_err=$ac_c_preproc_warn_flag
82758 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82759 else
82760 ac_cpp_err=
82762 else
82763 ac_cpp_err=yes
82765 if test -z "$ac_cpp_err"; then
82766 ac_header_preproc=yes
82767 else
82768 echo "$as_me: failed program was:" >&5
82769 sed 's/^/| /' conftest.$ac_ext >&5
82771 ac_header_preproc=no
82773 rm -f conftest.err conftest.$ac_ext
82774 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82775 echo "${ECHO_T}$ac_header_preproc" >&6
82777 # So? What about this header?
82778 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82779 yes:no: )
82780 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
82781 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
82782 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
82783 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
82784 ac_header_preproc=yes
82786 no:yes:* )
82787 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
82788 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
82789 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
82790 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
82791 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
82792 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
82793 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
82794 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
82795 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
82796 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
82797 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
82798 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
82800 cat <<\_ASBOX
82801 ## ----------------------------------------- ##
82802 ## Report this to the package-unused lists. ##
82803 ## ----------------------------------------- ##
82804 _ASBOX
82806 sed "s/^/$as_me: WARNING: /" >&2
82808 esac
82809 echo "$as_me:$LINENO: checking for $ac_header" >&5
82810 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82811 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82812 echo $ECHO_N "(cached) $ECHO_C" >&6
82813 else
82814 eval "$as_ac_Header=\$ac_header_preproc"
82816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82817 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82820 if test `eval echo '${'$as_ac_Header'}'` = yes; then
82821 cat >>confdefs.h <<_ACEOF
82822 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
82823 _ACEOF
82827 done
82830 # If we're not using GNU ld, then there's no point in even trying these
82831 # tests. Check for that first. We should have already tested for gld
82832 # by now (in libtool), but require it now just to be safe...
82833 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
82834 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
82838 # The name set by libtool depends on the version of libtool. Shame on us
82839 # for depending on an impl detail, but c'est la vie. Older versions used
82840 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
82841 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
82842 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
82843 # set (hence we're using an older libtool), then set it.
82844 if test x${with_gnu_ld+set} != xset; then
82845 if test x${ac_cv_prog_gnu_ld+set} != xset; then
82846 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
82847 with_gnu_ld=no
82848 else
82849 with_gnu_ld=$ac_cv_prog_gnu_ld
82853 # Start by getting the version number. I think the libtool test already
82854 # does some of this, but throws away the result.
82856 ldver=`$LD --version 2>/dev/null | head -1 | \
82857 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
82859 glibcxx_gnu_ld_version=`echo $ldver | \
82860 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
82862 # Set --gc-sections.
82863 if test "$with_gnu_ld" = "notbroken"; then
82864 # GNU ld it is! Joy and bunny rabbits!
82866 # All these tests are for C++; save the language and the compiler flags.
82867 # Need to do this so that g++ won't try to link in libstdc++
82868 ac_test_CFLAGS="${CFLAGS+set}"
82869 ac_save_CFLAGS="$CFLAGS"
82870 CFLAGS='-x c++ -Wl,--gc-sections'
82872 # Check for -Wl,--gc-sections
82873 # XXX This test is broken at the moment, as symbols required for linking
82874 # are now in libsupc++ (not built yet). In addition, this test has
82875 # cored on solaris in the past. In addition, --gc-sections doesn't
82876 # really work at the moment (keeps on discarding used sections, first
82877 # .eh_frame and now some of the glibc sections for iconv).
82878 # Bzzzzt. Thanks for playing, maybe next time.
82879 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
82880 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
82881 if test "$cross_compiling" = yes; then
82882 ac_sectionLDflags=yes
82883 else
82884 cat >conftest.$ac_ext <<_ACEOF
82885 /* confdefs.h. */
82886 _ACEOF
82887 cat confdefs.h >>conftest.$ac_ext
82888 cat >>conftest.$ac_ext <<_ACEOF
82889 /* end confdefs.h. */
82891 int main(void)
82893 try { throw 1; }
82894 catch (...) { };
82895 return 0;
82898 _ACEOF
82899 rm -f conftest$ac_exeext
82900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82901 (eval $ac_link) 2>&5
82902 ac_status=$?
82903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82904 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
82905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82906 (eval $ac_try) 2>&5
82907 ac_status=$?
82908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82909 (exit $ac_status); }; }; then
82910 ac_sectionLDflags=yes
82911 else
82912 echo "$as_me: program exited with status $ac_status" >&5
82913 echo "$as_me: failed program was:" >&5
82914 sed 's/^/| /' conftest.$ac_ext >&5
82916 ( exit $ac_status )
82917 ac_sectionLDflags=no
82919 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
82921 if test "$ac_test_CFLAGS" = set; then
82922 CFLAGS="$ac_save_CFLAGS"
82923 else
82924 # this is the suspicious part
82925 CFLAGS=''
82927 if test "$ac_sectionLDflags" = "yes"; then
82928 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
82930 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
82931 echo "${ECHO_T}$ac_sectionLDflags" >&6
82934 # Set linker optimization flags.
82935 if test x"$with_gnu_ld" = x"yes"; then
82936 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
82944 echo "$as_me:$LINENO: checking for main in -lm" >&5
82945 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
82946 if test "${ac_cv_lib_m_main+set}" = set; then
82947 echo $ECHO_N "(cached) $ECHO_C" >&6
82948 else
82949 ac_check_lib_save_LIBS=$LIBS
82950 LIBS="-lm $LIBS"
82951 if test x$gcc_no_link = xyes; then
82952 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82953 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82954 { (exit 1); exit 1; }; }
82956 cat >conftest.$ac_ext <<_ACEOF
82957 /* confdefs.h. */
82958 _ACEOF
82959 cat confdefs.h >>conftest.$ac_ext
82960 cat >>conftest.$ac_ext <<_ACEOF
82961 /* end confdefs.h. */
82965 main ()
82967 main ();
82969 return 0;
82971 _ACEOF
82972 rm -f conftest.$ac_objext conftest$ac_exeext
82973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82974 (eval $ac_link) 2>conftest.er1
82975 ac_status=$?
82976 grep -v '^ *+' conftest.er1 >conftest.err
82977 rm -f conftest.er1
82978 cat conftest.err >&5
82979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82980 (exit $ac_status); } &&
82981 { ac_try='test -z "$ac_c_werror_flag"
82982 || test ! -s conftest.err'
82983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82984 (eval $ac_try) 2>&5
82985 ac_status=$?
82986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82987 (exit $ac_status); }; } &&
82988 { ac_try='test -s conftest$ac_exeext'
82989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82990 (eval $ac_try) 2>&5
82991 ac_status=$?
82992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82993 (exit $ac_status); }; }; then
82994 ac_cv_lib_m_main=yes
82995 else
82996 echo "$as_me: failed program was:" >&5
82997 sed 's/^/| /' conftest.$ac_ext >&5
82999 ac_cv_lib_m_main=no
83001 rm -f conftest.err conftest.$ac_objext \
83002 conftest$ac_exeext conftest.$ac_ext
83003 LIBS=$ac_check_lib_save_LIBS
83005 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
83006 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
83007 if test $ac_cv_lib_m_main = yes; then
83008 cat >>confdefs.h <<_ACEOF
83009 #define HAVE_LIBM 1
83010 _ACEOF
83012 LIBS="-lm $LIBS"
83017 for ac_func in copysignf
83019 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83020 echo "$as_me:$LINENO: checking for $ac_func" >&5
83021 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83022 if eval "test \"\${$as_ac_var+set}\" = set"; then
83023 echo $ECHO_N "(cached) $ECHO_C" >&6
83024 else
83025 if test x$gcc_no_link = xyes; then
83026 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83027 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83028 { (exit 1); exit 1; }; }
83030 cat >conftest.$ac_ext <<_ACEOF
83031 /* confdefs.h. */
83032 _ACEOF
83033 cat confdefs.h >>conftest.$ac_ext
83034 cat >>conftest.$ac_ext <<_ACEOF
83035 /* end confdefs.h. */
83036 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83037 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83038 #define $ac_func innocuous_$ac_func
83040 /* System header to define __stub macros and hopefully few prototypes,
83041 which can conflict with char $ac_func (); below.
83042 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83043 <limits.h> exists even on freestanding compilers. */
83045 #ifdef __STDC__
83046 # include <limits.h>
83047 #else
83048 # include <assert.h>
83049 #endif
83051 #undef $ac_func
83053 /* Override any gcc2 internal prototype to avoid an error. */
83054 #ifdef __cplusplus
83055 extern "C"
83057 #endif
83058 /* We use char because int might match the return type of a gcc2
83059 builtin and then its argument prototype would still apply. */
83060 char $ac_func ();
83061 /* The GNU C library defines this for functions which it implements
83062 to always fail with ENOSYS. Some functions are actually named
83063 something starting with __ and the normal name is an alias. */
83064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83065 choke me
83066 #else
83067 char (*f) () = $ac_func;
83068 #endif
83069 #ifdef __cplusplus
83071 #endif
83074 main ()
83076 return f != $ac_func;
83078 return 0;
83080 _ACEOF
83081 rm -f conftest.$ac_objext conftest$ac_exeext
83082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83083 (eval $ac_link) 2>conftest.er1
83084 ac_status=$?
83085 grep -v '^ *+' conftest.er1 >conftest.err
83086 rm -f conftest.er1
83087 cat conftest.err >&5
83088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83089 (exit $ac_status); } &&
83090 { ac_try='test -z "$ac_c_werror_flag"
83091 || test ! -s conftest.err'
83092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83093 (eval $ac_try) 2>&5
83094 ac_status=$?
83095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83096 (exit $ac_status); }; } &&
83097 { ac_try='test -s conftest$ac_exeext'
83098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83099 (eval $ac_try) 2>&5
83100 ac_status=$?
83101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83102 (exit $ac_status); }; }; then
83103 eval "$as_ac_var=yes"
83104 else
83105 echo "$as_me: failed program was:" >&5
83106 sed 's/^/| /' conftest.$ac_ext >&5
83108 eval "$as_ac_var=no"
83110 rm -f conftest.err conftest.$ac_objext \
83111 conftest$ac_exeext conftest.$ac_ext
83113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83114 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83115 if test `eval echo '${'$as_ac_var'}'` = yes; then
83116 cat >>confdefs.h <<_ACEOF
83117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83118 _ACEOF
83120 else
83121 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
83123 done
83127 for ac_func in __signbit
83129 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83130 echo "$as_me:$LINENO: checking for $ac_func" >&5
83131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83132 if eval "test \"\${$as_ac_var+set}\" = set"; then
83133 echo $ECHO_N "(cached) $ECHO_C" >&6
83134 else
83135 if test x$gcc_no_link = xyes; then
83136 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83137 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83138 { (exit 1); exit 1; }; }
83140 cat >conftest.$ac_ext <<_ACEOF
83141 /* confdefs.h. */
83142 _ACEOF
83143 cat confdefs.h >>conftest.$ac_ext
83144 cat >>conftest.$ac_ext <<_ACEOF
83145 /* end confdefs.h. */
83146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83147 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83148 #define $ac_func innocuous_$ac_func
83150 /* System header to define __stub macros and hopefully few prototypes,
83151 which can conflict with char $ac_func (); below.
83152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83153 <limits.h> exists even on freestanding compilers. */
83155 #ifdef __STDC__
83156 # include <limits.h>
83157 #else
83158 # include <assert.h>
83159 #endif
83161 #undef $ac_func
83163 /* Override any gcc2 internal prototype to avoid an error. */
83164 #ifdef __cplusplus
83165 extern "C"
83167 #endif
83168 /* We use char because int might match the return type of a gcc2
83169 builtin and then its argument prototype would still apply. */
83170 char $ac_func ();
83171 /* The GNU C library defines this for functions which it implements
83172 to always fail with ENOSYS. Some functions are actually named
83173 something starting with __ and the normal name is an alias. */
83174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83175 choke me
83176 #else
83177 char (*f) () = $ac_func;
83178 #endif
83179 #ifdef __cplusplus
83181 #endif
83184 main ()
83186 return f != $ac_func;
83188 return 0;
83190 _ACEOF
83191 rm -f conftest.$ac_objext conftest$ac_exeext
83192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83193 (eval $ac_link) 2>conftest.er1
83194 ac_status=$?
83195 grep -v '^ *+' conftest.er1 >conftest.err
83196 rm -f conftest.er1
83197 cat conftest.err >&5
83198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83199 (exit $ac_status); } &&
83200 { ac_try='test -z "$ac_c_werror_flag"
83201 || test ! -s conftest.err'
83202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83203 (eval $ac_try) 2>&5
83204 ac_status=$?
83205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83206 (exit $ac_status); }; } &&
83207 { ac_try='test -s conftest$ac_exeext'
83208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83209 (eval $ac_try) 2>&5
83210 ac_status=$?
83211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83212 (exit $ac_status); }; }; then
83213 eval "$as_ac_var=yes"
83214 else
83215 echo "$as_me: failed program was:" >&5
83216 sed 's/^/| /' conftest.$ac_ext >&5
83218 eval "$as_ac_var=no"
83220 rm -f conftest.err conftest.$ac_objext \
83221 conftest$ac_exeext conftest.$ac_ext
83223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83225 if test `eval echo '${'$as_ac_var'}'` = yes; then
83226 cat >>confdefs.h <<_ACEOF
83227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83228 _ACEOF
83230 else
83231 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
83233 done
83237 for ac_func in __signbitf
83239 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83240 echo "$as_me:$LINENO: checking for $ac_func" >&5
83241 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83242 if eval "test \"\${$as_ac_var+set}\" = set"; then
83243 echo $ECHO_N "(cached) $ECHO_C" >&6
83244 else
83245 if test x$gcc_no_link = xyes; then
83246 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83247 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83248 { (exit 1); exit 1; }; }
83250 cat >conftest.$ac_ext <<_ACEOF
83251 /* confdefs.h. */
83252 _ACEOF
83253 cat confdefs.h >>conftest.$ac_ext
83254 cat >>conftest.$ac_ext <<_ACEOF
83255 /* end confdefs.h. */
83256 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83257 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83258 #define $ac_func innocuous_$ac_func
83260 /* System header to define __stub macros and hopefully few prototypes,
83261 which can conflict with char $ac_func (); below.
83262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83263 <limits.h> exists even on freestanding compilers. */
83265 #ifdef __STDC__
83266 # include <limits.h>
83267 #else
83268 # include <assert.h>
83269 #endif
83271 #undef $ac_func
83273 /* Override any gcc2 internal prototype to avoid an error. */
83274 #ifdef __cplusplus
83275 extern "C"
83277 #endif
83278 /* We use char because int might match the return type of a gcc2
83279 builtin and then its argument prototype would still apply. */
83280 char $ac_func ();
83281 /* The GNU C library defines this for functions which it implements
83282 to always fail with ENOSYS. Some functions are actually named
83283 something starting with __ and the normal name is an alias. */
83284 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83285 choke me
83286 #else
83287 char (*f) () = $ac_func;
83288 #endif
83289 #ifdef __cplusplus
83291 #endif
83294 main ()
83296 return f != $ac_func;
83298 return 0;
83300 _ACEOF
83301 rm -f conftest.$ac_objext conftest$ac_exeext
83302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83303 (eval $ac_link) 2>conftest.er1
83304 ac_status=$?
83305 grep -v '^ *+' conftest.er1 >conftest.err
83306 rm -f conftest.er1
83307 cat conftest.err >&5
83308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83309 (exit $ac_status); } &&
83310 { ac_try='test -z "$ac_c_werror_flag"
83311 || test ! -s conftest.err'
83312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83313 (eval $ac_try) 2>&5
83314 ac_status=$?
83315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83316 (exit $ac_status); }; } &&
83317 { ac_try='test -s conftest$ac_exeext'
83318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83319 (eval $ac_try) 2>&5
83320 ac_status=$?
83321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83322 (exit $ac_status); }; }; then
83323 eval "$as_ac_var=yes"
83324 else
83325 echo "$as_me: failed program was:" >&5
83326 sed 's/^/| /' conftest.$ac_ext >&5
83328 eval "$as_ac_var=no"
83330 rm -f conftest.err conftest.$ac_objext \
83331 conftest$ac_exeext conftest.$ac_ext
83333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83334 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83335 if test `eval echo '${'$as_ac_var'}'` = yes; then
83336 cat >>confdefs.h <<_ACEOF
83337 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83338 _ACEOF
83340 else
83341 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
83343 done
83346 if test x$ac_cv_func_copysignl = x"yes"; then
83348 for ac_func in __signbitl
83350 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83351 echo "$as_me:$LINENO: checking for $ac_func" >&5
83352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83353 if eval "test \"\${$as_ac_var+set}\" = set"; then
83354 echo $ECHO_N "(cached) $ECHO_C" >&6
83355 else
83356 if test x$gcc_no_link = xyes; then
83357 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83358 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83359 { (exit 1); exit 1; }; }
83361 cat >conftest.$ac_ext <<_ACEOF
83362 /* confdefs.h. */
83363 _ACEOF
83364 cat confdefs.h >>conftest.$ac_ext
83365 cat >>conftest.$ac_ext <<_ACEOF
83366 /* end confdefs.h. */
83367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83369 #define $ac_func innocuous_$ac_func
83371 /* System header to define __stub macros and hopefully few prototypes,
83372 which can conflict with char $ac_func (); below.
83373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83374 <limits.h> exists even on freestanding compilers. */
83376 #ifdef __STDC__
83377 # include <limits.h>
83378 #else
83379 # include <assert.h>
83380 #endif
83382 #undef $ac_func
83384 /* Override any gcc2 internal prototype to avoid an error. */
83385 #ifdef __cplusplus
83386 extern "C"
83388 #endif
83389 /* We use char because int might match the return type of a gcc2
83390 builtin and then its argument prototype would still apply. */
83391 char $ac_func ();
83392 /* The GNU C library defines this for functions which it implements
83393 to always fail with ENOSYS. Some functions are actually named
83394 something starting with __ and the normal name is an alias. */
83395 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83396 choke me
83397 #else
83398 char (*f) () = $ac_func;
83399 #endif
83400 #ifdef __cplusplus
83402 #endif
83405 main ()
83407 return f != $ac_func;
83409 return 0;
83411 _ACEOF
83412 rm -f conftest.$ac_objext conftest$ac_exeext
83413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83414 (eval $ac_link) 2>conftest.er1
83415 ac_status=$?
83416 grep -v '^ *+' conftest.er1 >conftest.err
83417 rm -f conftest.er1
83418 cat conftest.err >&5
83419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83420 (exit $ac_status); } &&
83421 { ac_try='test -z "$ac_c_werror_flag"
83422 || test ! -s conftest.err'
83423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83424 (eval $ac_try) 2>&5
83425 ac_status=$?
83426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83427 (exit $ac_status); }; } &&
83428 { ac_try='test -s conftest$ac_exeext'
83429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83430 (eval $ac_try) 2>&5
83431 ac_status=$?
83432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83433 (exit $ac_status); }; }; then
83434 eval "$as_ac_var=yes"
83435 else
83436 echo "$as_me: failed program was:" >&5
83437 sed 's/^/| /' conftest.$ac_ext >&5
83439 eval "$as_ac_var=no"
83441 rm -f conftest.err conftest.$ac_objext \
83442 conftest$ac_exeext conftest.$ac_ext
83444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83445 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83446 if test `eval echo '${'$as_ac_var'}'` = yes; then
83447 cat >>confdefs.h <<_ACEOF
83448 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83449 _ACEOF
83451 else
83452 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
83454 done
83458 # Used in libmath/Makefile.am.
83459 if test -n "$LIBMATHOBJS"; then
83460 need_libmath=yes
83465 # Test wchar.h for mbstate_t, which is needed for char_traits and
83466 # others even if wchar_t support is not on.
83467 echo "$as_me:$LINENO: checking for mbstate_t" >&5
83468 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
83469 cat >conftest.$ac_ext <<_ACEOF
83470 /* confdefs.h. */
83471 _ACEOF
83472 cat confdefs.h >>conftest.$ac_ext
83473 cat >>conftest.$ac_ext <<_ACEOF
83474 /* end confdefs.h. */
83475 #include <wchar.h>
83477 main ()
83479 mbstate_t teststate;
83481 return 0;
83483 _ACEOF
83484 rm -f conftest.$ac_objext
83485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83486 (eval $ac_compile) 2>conftest.er1
83487 ac_status=$?
83488 grep -v '^ *+' conftest.er1 >conftest.err
83489 rm -f conftest.er1
83490 cat conftest.err >&5
83491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83492 (exit $ac_status); } &&
83493 { ac_try='test -z "$ac_c_werror_flag"
83494 || test ! -s conftest.err'
83495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83496 (eval $ac_try) 2>&5
83497 ac_status=$?
83498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83499 (exit $ac_status); }; } &&
83500 { ac_try='test -s conftest.$ac_objext'
83501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83502 (eval $ac_try) 2>&5
83503 ac_status=$?
83504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83505 (exit $ac_status); }; }; then
83506 have_mbstate_t=yes
83507 else
83508 echo "$as_me: failed program was:" >&5
83509 sed 's/^/| /' conftest.$ac_ext >&5
83511 have_mbstate_t=no
83513 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83514 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
83515 echo "${ECHO_T}$have_mbstate_t" >&6
83516 if test x"$have_mbstate_t" = xyes; then
83517 cat >>confdefs.h <<\_ACEOF
83518 #define HAVE_MBSTATE_T 1
83519 _ACEOF
83523 # Sanity check for existence of ISO C99 headers for extended encoding.
83525 for ac_header in wchar.h
83527 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
83528 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83529 echo "$as_me:$LINENO: checking for $ac_header" >&5
83530 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83531 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83532 echo $ECHO_N "(cached) $ECHO_C" >&6
83534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83535 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83536 else
83537 # Is the header compilable?
83538 echo "$as_me:$LINENO: checking $ac_header usability" >&5
83539 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
83540 cat >conftest.$ac_ext <<_ACEOF
83541 /* confdefs.h. */
83542 _ACEOF
83543 cat confdefs.h >>conftest.$ac_ext
83544 cat >>conftest.$ac_ext <<_ACEOF
83545 /* end confdefs.h. */
83546 $ac_includes_default
83547 #include <$ac_header>
83548 _ACEOF
83549 rm -f conftest.$ac_objext
83550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83551 (eval $ac_compile) 2>conftest.er1
83552 ac_status=$?
83553 grep -v '^ *+' conftest.er1 >conftest.err
83554 rm -f conftest.er1
83555 cat conftest.err >&5
83556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83557 (exit $ac_status); } &&
83558 { ac_try='test -z "$ac_c_werror_flag"
83559 || test ! -s conftest.err'
83560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83561 (eval $ac_try) 2>&5
83562 ac_status=$?
83563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83564 (exit $ac_status); }; } &&
83565 { ac_try='test -s conftest.$ac_objext'
83566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83567 (eval $ac_try) 2>&5
83568 ac_status=$?
83569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83570 (exit $ac_status); }; }; then
83571 ac_header_compiler=yes
83572 else
83573 echo "$as_me: failed program was:" >&5
83574 sed 's/^/| /' conftest.$ac_ext >&5
83576 ac_header_compiler=no
83578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83579 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83580 echo "${ECHO_T}$ac_header_compiler" >&6
83582 # Is the header present?
83583 echo "$as_me:$LINENO: checking $ac_header presence" >&5
83584 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
83585 cat >conftest.$ac_ext <<_ACEOF
83586 /* confdefs.h. */
83587 _ACEOF
83588 cat confdefs.h >>conftest.$ac_ext
83589 cat >>conftest.$ac_ext <<_ACEOF
83590 /* end confdefs.h. */
83591 #include <$ac_header>
83592 _ACEOF
83593 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83594 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83595 ac_status=$?
83596 grep -v '^ *+' conftest.er1 >conftest.err
83597 rm -f conftest.er1
83598 cat conftest.err >&5
83599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83600 (exit $ac_status); } >/dev/null; then
83601 if test -s conftest.err; then
83602 ac_cpp_err=$ac_c_preproc_warn_flag
83603 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83604 else
83605 ac_cpp_err=
83607 else
83608 ac_cpp_err=yes
83610 if test -z "$ac_cpp_err"; then
83611 ac_header_preproc=yes
83612 else
83613 echo "$as_me: failed program was:" >&5
83614 sed 's/^/| /' conftest.$ac_ext >&5
83616 ac_header_preproc=no
83618 rm -f conftest.err conftest.$ac_ext
83619 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83620 echo "${ECHO_T}$ac_header_preproc" >&6
83622 # So? What about this header?
83623 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83624 yes:no: )
83625 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
83626 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
83627 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
83628 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
83629 ac_header_preproc=yes
83631 no:yes:* )
83632 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
83633 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
83634 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
83635 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
83636 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
83637 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
83638 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
83639 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
83640 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
83641 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
83642 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
83643 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
83645 cat <<\_ASBOX
83646 ## ----------------------------------------- ##
83647 ## Report this to the package-unused lists. ##
83648 ## ----------------------------------------- ##
83649 _ASBOX
83651 sed "s/^/$as_me: WARNING: /" >&2
83653 esac
83654 echo "$as_me:$LINENO: checking for $ac_header" >&5
83655 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83656 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83657 echo $ECHO_N "(cached) $ECHO_C" >&6
83658 else
83659 eval "$as_ac_Header=\$ac_header_preproc"
83661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83662 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83665 if test `eval echo '${'$as_ac_Header'}'` = yes; then
83666 cat >>confdefs.h <<_ACEOF
83667 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
83668 _ACEOF
83669 ac_has_wchar_h=yes
83670 else
83671 ac_has_wchar_h=no
83674 done
83677 for ac_header in wctype.h
83679 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
83680 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83681 echo "$as_me:$LINENO: checking for $ac_header" >&5
83682 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83683 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83684 echo $ECHO_N "(cached) $ECHO_C" >&6
83686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83687 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83688 else
83689 # Is the header compilable?
83690 echo "$as_me:$LINENO: checking $ac_header usability" >&5
83691 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
83692 cat >conftest.$ac_ext <<_ACEOF
83693 /* confdefs.h. */
83694 _ACEOF
83695 cat confdefs.h >>conftest.$ac_ext
83696 cat >>conftest.$ac_ext <<_ACEOF
83697 /* end confdefs.h. */
83698 $ac_includes_default
83699 #include <$ac_header>
83700 _ACEOF
83701 rm -f conftest.$ac_objext
83702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83703 (eval $ac_compile) 2>conftest.er1
83704 ac_status=$?
83705 grep -v '^ *+' conftest.er1 >conftest.err
83706 rm -f conftest.er1
83707 cat conftest.err >&5
83708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83709 (exit $ac_status); } &&
83710 { ac_try='test -z "$ac_c_werror_flag"
83711 || test ! -s conftest.err'
83712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83713 (eval $ac_try) 2>&5
83714 ac_status=$?
83715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83716 (exit $ac_status); }; } &&
83717 { ac_try='test -s conftest.$ac_objext'
83718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83719 (eval $ac_try) 2>&5
83720 ac_status=$?
83721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83722 (exit $ac_status); }; }; then
83723 ac_header_compiler=yes
83724 else
83725 echo "$as_me: failed program was:" >&5
83726 sed 's/^/| /' conftest.$ac_ext >&5
83728 ac_header_compiler=no
83730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83731 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83732 echo "${ECHO_T}$ac_header_compiler" >&6
83734 # Is the header present?
83735 echo "$as_me:$LINENO: checking $ac_header presence" >&5
83736 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
83737 cat >conftest.$ac_ext <<_ACEOF
83738 /* confdefs.h. */
83739 _ACEOF
83740 cat confdefs.h >>conftest.$ac_ext
83741 cat >>conftest.$ac_ext <<_ACEOF
83742 /* end confdefs.h. */
83743 #include <$ac_header>
83744 _ACEOF
83745 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83746 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83747 ac_status=$?
83748 grep -v '^ *+' conftest.er1 >conftest.err
83749 rm -f conftest.er1
83750 cat conftest.err >&5
83751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83752 (exit $ac_status); } >/dev/null; then
83753 if test -s conftest.err; then
83754 ac_cpp_err=$ac_c_preproc_warn_flag
83755 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83756 else
83757 ac_cpp_err=
83759 else
83760 ac_cpp_err=yes
83762 if test -z "$ac_cpp_err"; then
83763 ac_header_preproc=yes
83764 else
83765 echo "$as_me: failed program was:" >&5
83766 sed 's/^/| /' conftest.$ac_ext >&5
83768 ac_header_preproc=no
83770 rm -f conftest.err conftest.$ac_ext
83771 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83772 echo "${ECHO_T}$ac_header_preproc" >&6
83774 # So? What about this header?
83775 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83776 yes:no: )
83777 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
83778 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
83779 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
83780 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
83781 ac_header_preproc=yes
83783 no:yes:* )
83784 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
83785 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
83786 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
83787 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
83788 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
83789 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
83790 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
83791 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
83792 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
83793 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
83794 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
83795 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
83797 cat <<\_ASBOX
83798 ## ----------------------------------------- ##
83799 ## Report this to the package-unused lists. ##
83800 ## ----------------------------------------- ##
83801 _ASBOX
83803 sed "s/^/$as_me: WARNING: /" >&2
83805 esac
83806 echo "$as_me:$LINENO: checking for $ac_header" >&5
83807 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83808 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83809 echo $ECHO_N "(cached) $ECHO_C" >&6
83810 else
83811 eval "$as_ac_Header=\$ac_header_preproc"
83813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83814 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83817 if test `eval echo '${'$as_ac_Header'}'` = yes; then
83818 cat >>confdefs.h <<_ACEOF
83819 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
83820 _ACEOF
83821 ac_has_wctype_h=yes
83822 else
83823 ac_has_wctype_h=no
83826 done
83829 # Only continue checking if the ISO C99 headers exist and support is on.
83830 if test x"$ac_has_wchar_h" = xyes &&
83831 test x"$ac_has_wctype_h" = xyes &&
83832 test x"$enable_c_mbchar" != xno; then
83834 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
83835 # numeric_limits can instantiate type_traits<wchar_t>
83836 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
83837 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
83838 cat >conftest.$ac_ext <<_ACEOF
83839 /* confdefs.h. */
83840 _ACEOF
83841 cat confdefs.h >>conftest.$ac_ext
83842 cat >>conftest.$ac_ext <<_ACEOF
83843 /* end confdefs.h. */
83844 #include <wchar.h>
83846 main ()
83848 int i = WCHAR_MIN; int j = WCHAR_MAX;
83850 return 0;
83852 _ACEOF
83853 rm -f conftest.$ac_objext
83854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83855 (eval $ac_compile) 2>conftest.er1
83856 ac_status=$?
83857 grep -v '^ *+' conftest.er1 >conftest.err
83858 rm -f conftest.er1
83859 cat conftest.err >&5
83860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83861 (exit $ac_status); } &&
83862 { ac_try='test -z "$ac_c_werror_flag"
83863 || test ! -s conftest.err'
83864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83865 (eval $ac_try) 2>&5
83866 ac_status=$?
83867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83868 (exit $ac_status); }; } &&
83869 { ac_try='test -s conftest.$ac_objext'
83870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83871 (eval $ac_try) 2>&5
83872 ac_status=$?
83873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83874 (exit $ac_status); }; }; then
83875 has_wchar_minmax=yes
83876 else
83877 echo "$as_me: failed program was:" >&5
83878 sed 's/^/| /' conftest.$ac_ext >&5
83880 has_wchar_minmax=no
83882 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83883 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
83884 echo "${ECHO_T}$has_wchar_minmax" >&6
83886 # Test wchar.h for WEOF, which is what we use to determine whether
83887 # to specialize for char_traits<wchar_t> or not.
83888 echo "$as_me:$LINENO: checking for WEOF" >&5
83889 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
83890 cat >conftest.$ac_ext <<_ACEOF
83891 /* confdefs.h. */
83892 _ACEOF
83893 cat confdefs.h >>conftest.$ac_ext
83894 cat >>conftest.$ac_ext <<_ACEOF
83895 /* end confdefs.h. */
83897 #include <wchar.h>
83898 #include <stddef.h>
83900 main ()
83902 wint_t i = WEOF;
83904 return 0;
83906 _ACEOF
83907 rm -f conftest.$ac_objext
83908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83909 (eval $ac_compile) 2>conftest.er1
83910 ac_status=$?
83911 grep -v '^ *+' conftest.er1 >conftest.err
83912 rm -f conftest.er1
83913 cat conftest.err >&5
83914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83915 (exit $ac_status); } &&
83916 { ac_try='test -z "$ac_c_werror_flag"
83917 || test ! -s conftest.err'
83918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83919 (eval $ac_try) 2>&5
83920 ac_status=$?
83921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83922 (exit $ac_status); }; } &&
83923 { ac_try='test -s conftest.$ac_objext'
83924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83925 (eval $ac_try) 2>&5
83926 ac_status=$?
83927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83928 (exit $ac_status); }; }; then
83929 has_weof=yes
83930 else
83931 echo "$as_me: failed program was:" >&5
83932 sed 's/^/| /' conftest.$ac_ext >&5
83934 has_weof=no
83936 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83937 echo "$as_me:$LINENO: result: $has_weof" >&5
83938 echo "${ECHO_T}$has_weof" >&6
83940 # Tests for wide character functions used in char_traits<wchar_t>.
83941 ac_wfuncs=yes
83948 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
83950 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83951 echo "$as_me:$LINENO: checking for $ac_func" >&5
83952 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83953 if eval "test \"\${$as_ac_var+set}\" = set"; then
83954 echo $ECHO_N "(cached) $ECHO_C" >&6
83955 else
83956 if test x$gcc_no_link = xyes; then
83957 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83958 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83959 { (exit 1); exit 1; }; }
83961 cat >conftest.$ac_ext <<_ACEOF
83962 /* confdefs.h. */
83963 _ACEOF
83964 cat confdefs.h >>conftest.$ac_ext
83965 cat >>conftest.$ac_ext <<_ACEOF
83966 /* end confdefs.h. */
83967 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83968 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83969 #define $ac_func innocuous_$ac_func
83971 /* System header to define __stub macros and hopefully few prototypes,
83972 which can conflict with char $ac_func (); below.
83973 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83974 <limits.h> exists even on freestanding compilers. */
83976 #ifdef __STDC__
83977 # include <limits.h>
83978 #else
83979 # include <assert.h>
83980 #endif
83982 #undef $ac_func
83984 /* Override any gcc2 internal prototype to avoid an error. */
83985 #ifdef __cplusplus
83986 extern "C"
83988 #endif
83989 /* We use char because int might match the return type of a gcc2
83990 builtin and then its argument prototype would still apply. */
83991 char $ac_func ();
83992 /* The GNU C library defines this for functions which it implements
83993 to always fail with ENOSYS. Some functions are actually named
83994 something starting with __ and the normal name is an alias. */
83995 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83996 choke me
83997 #else
83998 char (*f) () = $ac_func;
83999 #endif
84000 #ifdef __cplusplus
84002 #endif
84005 main ()
84007 return f != $ac_func;
84009 return 0;
84011 _ACEOF
84012 rm -f conftest.$ac_objext conftest$ac_exeext
84013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84014 (eval $ac_link) 2>conftest.er1
84015 ac_status=$?
84016 grep -v '^ *+' conftest.er1 >conftest.err
84017 rm -f conftest.er1
84018 cat conftest.err >&5
84019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84020 (exit $ac_status); } &&
84021 { ac_try='test -z "$ac_c_werror_flag"
84022 || test ! -s conftest.err'
84023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84024 (eval $ac_try) 2>&5
84025 ac_status=$?
84026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84027 (exit $ac_status); }; } &&
84028 { ac_try='test -s conftest$ac_exeext'
84029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84030 (eval $ac_try) 2>&5
84031 ac_status=$?
84032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84033 (exit $ac_status); }; }; then
84034 eval "$as_ac_var=yes"
84035 else
84036 echo "$as_me: failed program was:" >&5
84037 sed 's/^/| /' conftest.$ac_ext >&5
84039 eval "$as_ac_var=no"
84041 rm -f conftest.err conftest.$ac_objext \
84042 conftest$ac_exeext conftest.$ac_ext
84044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84045 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84046 if test `eval echo '${'$as_ac_var'}'` = yes; then
84047 cat >>confdefs.h <<_ACEOF
84048 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84049 _ACEOF
84051 else
84052 ac_wfuncs=no
84054 done
84057 # Checks for names injected into std:: by the c_std headers.
84104 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
84105 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
84106 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
84107 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
84108 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
84109 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
84111 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84112 echo "$as_me:$LINENO: checking for $ac_func" >&5
84113 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84114 if eval "test \"\${$as_ac_var+set}\" = set"; then
84115 echo $ECHO_N "(cached) $ECHO_C" >&6
84116 else
84117 if test x$gcc_no_link = xyes; then
84118 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84119 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84120 { (exit 1); exit 1; }; }
84122 cat >conftest.$ac_ext <<_ACEOF
84123 /* confdefs.h. */
84124 _ACEOF
84125 cat confdefs.h >>conftest.$ac_ext
84126 cat >>conftest.$ac_ext <<_ACEOF
84127 /* end confdefs.h. */
84128 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84129 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84130 #define $ac_func innocuous_$ac_func
84132 /* System header to define __stub macros and hopefully few prototypes,
84133 which can conflict with char $ac_func (); below.
84134 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84135 <limits.h> exists even on freestanding compilers. */
84137 #ifdef __STDC__
84138 # include <limits.h>
84139 #else
84140 # include <assert.h>
84141 #endif
84143 #undef $ac_func
84145 /* Override any gcc2 internal prototype to avoid an error. */
84146 #ifdef __cplusplus
84147 extern "C"
84149 #endif
84150 /* We use char because int might match the return type of a gcc2
84151 builtin and then its argument prototype would still apply. */
84152 char $ac_func ();
84153 /* The GNU C library defines this for functions which it implements
84154 to always fail with ENOSYS. Some functions are actually named
84155 something starting with __ and the normal name is an alias. */
84156 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84157 choke me
84158 #else
84159 char (*f) () = $ac_func;
84160 #endif
84161 #ifdef __cplusplus
84163 #endif
84166 main ()
84168 return f != $ac_func;
84170 return 0;
84172 _ACEOF
84173 rm -f conftest.$ac_objext conftest$ac_exeext
84174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84175 (eval $ac_link) 2>conftest.er1
84176 ac_status=$?
84177 grep -v '^ *+' conftest.er1 >conftest.err
84178 rm -f conftest.er1
84179 cat conftest.err >&5
84180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84181 (exit $ac_status); } &&
84182 { ac_try='test -z "$ac_c_werror_flag"
84183 || test ! -s conftest.err'
84184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84185 (eval $ac_try) 2>&5
84186 ac_status=$?
84187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84188 (exit $ac_status); }; } &&
84189 { ac_try='test -s conftest$ac_exeext'
84190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84191 (eval $ac_try) 2>&5
84192 ac_status=$?
84193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84194 (exit $ac_status); }; }; then
84195 eval "$as_ac_var=yes"
84196 else
84197 echo "$as_me: failed program was:" >&5
84198 sed 's/^/| /' conftest.$ac_ext >&5
84200 eval "$as_ac_var=no"
84202 rm -f conftest.err conftest.$ac_objext \
84203 conftest$ac_exeext conftest.$ac_ext
84205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84206 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84207 if test `eval echo '${'$as_ac_var'}'` = yes; then
84208 cat >>confdefs.h <<_ACEOF
84209 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84210 _ACEOF
84212 else
84213 ac_wfuncs=no
84215 done
84218 # Checks for wide character functions that are not required
84219 # for basic wchar_t support. Don't disable support if they are missing.
84220 # Injection of these is wrapped with guard macros.
84226 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
84228 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84229 echo "$as_me:$LINENO: checking for $ac_func" >&5
84230 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84231 if eval "test \"\${$as_ac_var+set}\" = set"; then
84232 echo $ECHO_N "(cached) $ECHO_C" >&6
84233 else
84234 if test x$gcc_no_link = xyes; then
84235 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84236 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84237 { (exit 1); exit 1; }; }
84239 cat >conftest.$ac_ext <<_ACEOF
84240 /* confdefs.h. */
84241 _ACEOF
84242 cat confdefs.h >>conftest.$ac_ext
84243 cat >>conftest.$ac_ext <<_ACEOF
84244 /* end confdefs.h. */
84245 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84246 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84247 #define $ac_func innocuous_$ac_func
84249 /* System header to define __stub macros and hopefully few prototypes,
84250 which can conflict with char $ac_func (); below.
84251 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84252 <limits.h> exists even on freestanding compilers. */
84254 #ifdef __STDC__
84255 # include <limits.h>
84256 #else
84257 # include <assert.h>
84258 #endif
84260 #undef $ac_func
84262 /* Override any gcc2 internal prototype to avoid an error. */
84263 #ifdef __cplusplus
84264 extern "C"
84266 #endif
84267 /* We use char because int might match the return type of a gcc2
84268 builtin and then its argument prototype would still apply. */
84269 char $ac_func ();
84270 /* The GNU C library defines this for functions which it implements
84271 to always fail with ENOSYS. Some functions are actually named
84272 something starting with __ and the normal name is an alias. */
84273 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84274 choke me
84275 #else
84276 char (*f) () = $ac_func;
84277 #endif
84278 #ifdef __cplusplus
84280 #endif
84283 main ()
84285 return f != $ac_func;
84287 return 0;
84289 _ACEOF
84290 rm -f conftest.$ac_objext conftest$ac_exeext
84291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84292 (eval $ac_link) 2>conftest.er1
84293 ac_status=$?
84294 grep -v '^ *+' conftest.er1 >conftest.err
84295 rm -f conftest.er1
84296 cat conftest.err >&5
84297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84298 (exit $ac_status); } &&
84299 { ac_try='test -z "$ac_c_werror_flag"
84300 || test ! -s conftest.err'
84301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84302 (eval $ac_try) 2>&5
84303 ac_status=$?
84304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84305 (exit $ac_status); }; } &&
84306 { ac_try='test -s conftest$ac_exeext'
84307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84308 (eval $ac_try) 2>&5
84309 ac_status=$?
84310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84311 (exit $ac_status); }; }; then
84312 eval "$as_ac_var=yes"
84313 else
84314 echo "$as_me: failed program was:" >&5
84315 sed 's/^/| /' conftest.$ac_ext >&5
84317 eval "$as_ac_var=no"
84319 rm -f conftest.err conftest.$ac_objext \
84320 conftest$ac_exeext conftest.$ac_ext
84322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84323 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84324 if test `eval echo '${'$as_ac_var'}'` = yes; then
84325 cat >>confdefs.h <<_ACEOF
84326 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84327 _ACEOF
84330 done
84333 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
84334 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
84335 if test x"$has_weof" = xyes &&
84336 test x"$has_wchar_minmax" = xyes &&
84337 test x"$ac_wfuncs" = xyes;
84338 then
84339 ac_isoC99_wchar_t=yes
84340 else
84341 ac_isoC99_wchar_t=no
84343 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
84344 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
84346 # Use iconv for wchar_t to char conversions. As such, check for
84347 # X/Open Portability Guide, version 2 features (XPG2).
84348 if test "${ac_cv_header_iconv_h+set}" = set; then
84349 echo "$as_me:$LINENO: checking for iconv.h" >&5
84350 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84351 if test "${ac_cv_header_iconv_h+set}" = set; then
84352 echo $ECHO_N "(cached) $ECHO_C" >&6
84354 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84355 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84356 else
84357 # Is the header compilable?
84358 echo "$as_me:$LINENO: checking iconv.h usability" >&5
84359 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
84360 cat >conftest.$ac_ext <<_ACEOF
84361 /* confdefs.h. */
84362 _ACEOF
84363 cat confdefs.h >>conftest.$ac_ext
84364 cat >>conftest.$ac_ext <<_ACEOF
84365 /* end confdefs.h. */
84366 $ac_includes_default
84367 #include <iconv.h>
84368 _ACEOF
84369 rm -f conftest.$ac_objext
84370 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84371 (eval $ac_compile) 2>conftest.er1
84372 ac_status=$?
84373 grep -v '^ *+' conftest.er1 >conftest.err
84374 rm -f conftest.er1
84375 cat conftest.err >&5
84376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84377 (exit $ac_status); } &&
84378 { ac_try='test -z "$ac_c_werror_flag"
84379 || test ! -s conftest.err'
84380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84381 (eval $ac_try) 2>&5
84382 ac_status=$?
84383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84384 (exit $ac_status); }; } &&
84385 { ac_try='test -s conftest.$ac_objext'
84386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84387 (eval $ac_try) 2>&5
84388 ac_status=$?
84389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84390 (exit $ac_status); }; }; then
84391 ac_header_compiler=yes
84392 else
84393 echo "$as_me: failed program was:" >&5
84394 sed 's/^/| /' conftest.$ac_ext >&5
84396 ac_header_compiler=no
84398 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84399 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84400 echo "${ECHO_T}$ac_header_compiler" >&6
84402 # Is the header present?
84403 echo "$as_me:$LINENO: checking iconv.h presence" >&5
84404 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
84405 cat >conftest.$ac_ext <<_ACEOF
84406 /* confdefs.h. */
84407 _ACEOF
84408 cat confdefs.h >>conftest.$ac_ext
84409 cat >>conftest.$ac_ext <<_ACEOF
84410 /* end confdefs.h. */
84411 #include <iconv.h>
84412 _ACEOF
84413 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84414 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84415 ac_status=$?
84416 grep -v '^ *+' conftest.er1 >conftest.err
84417 rm -f conftest.er1
84418 cat conftest.err >&5
84419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84420 (exit $ac_status); } >/dev/null; then
84421 if test -s conftest.err; then
84422 ac_cpp_err=$ac_c_preproc_warn_flag
84423 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84424 else
84425 ac_cpp_err=
84427 else
84428 ac_cpp_err=yes
84430 if test -z "$ac_cpp_err"; then
84431 ac_header_preproc=yes
84432 else
84433 echo "$as_me: failed program was:" >&5
84434 sed 's/^/| /' conftest.$ac_ext >&5
84436 ac_header_preproc=no
84438 rm -f conftest.err conftest.$ac_ext
84439 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84440 echo "${ECHO_T}$ac_header_preproc" >&6
84442 # So? What about this header?
84443 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84444 yes:no: )
84445 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
84446 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84447 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
84448 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
84449 ac_header_preproc=yes
84451 no:yes:* )
84452 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
84453 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
84454 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
84455 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
84456 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
84457 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
84458 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
84459 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
84460 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
84461 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
84462 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
84463 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
84465 cat <<\_ASBOX
84466 ## ----------------------------------------- ##
84467 ## Report this to the package-unused lists. ##
84468 ## ----------------------------------------- ##
84469 _ASBOX
84471 sed "s/^/$as_me: WARNING: /" >&2
84473 esac
84474 echo "$as_me:$LINENO: checking for iconv.h" >&5
84475 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84476 if test "${ac_cv_header_iconv_h+set}" = set; then
84477 echo $ECHO_N "(cached) $ECHO_C" >&6
84478 else
84479 ac_cv_header_iconv_h=$ac_header_preproc
84481 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84482 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84485 if test $ac_cv_header_iconv_h = yes; then
84486 ac_has_iconv_h=yes
84487 else
84488 ac_has_iconv_h=no
84492 if test "${ac_cv_header_langinfo_h+set}" = set; then
84493 echo "$as_me:$LINENO: checking for langinfo.h" >&5
84494 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
84495 if test "${ac_cv_header_langinfo_h+set}" = set; then
84496 echo $ECHO_N "(cached) $ECHO_C" >&6
84498 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
84499 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
84500 else
84501 # Is the header compilable?
84502 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
84503 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
84504 cat >conftest.$ac_ext <<_ACEOF
84505 /* confdefs.h. */
84506 _ACEOF
84507 cat confdefs.h >>conftest.$ac_ext
84508 cat >>conftest.$ac_ext <<_ACEOF
84509 /* end confdefs.h. */
84510 $ac_includes_default
84511 #include <langinfo.h>
84512 _ACEOF
84513 rm -f conftest.$ac_objext
84514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84515 (eval $ac_compile) 2>conftest.er1
84516 ac_status=$?
84517 grep -v '^ *+' conftest.er1 >conftest.err
84518 rm -f conftest.er1
84519 cat conftest.err >&5
84520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84521 (exit $ac_status); } &&
84522 { ac_try='test -z "$ac_c_werror_flag"
84523 || test ! -s conftest.err'
84524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84525 (eval $ac_try) 2>&5
84526 ac_status=$?
84527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84528 (exit $ac_status); }; } &&
84529 { ac_try='test -s conftest.$ac_objext'
84530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84531 (eval $ac_try) 2>&5
84532 ac_status=$?
84533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84534 (exit $ac_status); }; }; then
84535 ac_header_compiler=yes
84536 else
84537 echo "$as_me: failed program was:" >&5
84538 sed 's/^/| /' conftest.$ac_ext >&5
84540 ac_header_compiler=no
84542 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84543 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84544 echo "${ECHO_T}$ac_header_compiler" >&6
84546 # Is the header present?
84547 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
84548 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
84549 cat >conftest.$ac_ext <<_ACEOF
84550 /* confdefs.h. */
84551 _ACEOF
84552 cat confdefs.h >>conftest.$ac_ext
84553 cat >>conftest.$ac_ext <<_ACEOF
84554 /* end confdefs.h. */
84555 #include <langinfo.h>
84556 _ACEOF
84557 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84558 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84559 ac_status=$?
84560 grep -v '^ *+' conftest.er1 >conftest.err
84561 rm -f conftest.er1
84562 cat conftest.err >&5
84563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84564 (exit $ac_status); } >/dev/null; then
84565 if test -s conftest.err; then
84566 ac_cpp_err=$ac_c_preproc_warn_flag
84567 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84568 else
84569 ac_cpp_err=
84571 else
84572 ac_cpp_err=yes
84574 if test -z "$ac_cpp_err"; then
84575 ac_header_preproc=yes
84576 else
84577 echo "$as_me: failed program was:" >&5
84578 sed 's/^/| /' conftest.$ac_ext >&5
84580 ac_header_preproc=no
84582 rm -f conftest.err conftest.$ac_ext
84583 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84584 echo "${ECHO_T}$ac_header_preproc" >&6
84586 # So? What about this header?
84587 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84588 yes:no: )
84589 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
84590 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84591 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
84592 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
84593 ac_header_preproc=yes
84595 no:yes:* )
84596 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
84597 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
84598 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
84599 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
84600 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
84601 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
84602 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
84603 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
84604 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
84605 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
84606 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
84607 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
84609 cat <<\_ASBOX
84610 ## ----------------------------------------- ##
84611 ## Report this to the package-unused lists. ##
84612 ## ----------------------------------------- ##
84613 _ASBOX
84615 sed "s/^/$as_me: WARNING: /" >&2
84617 esac
84618 echo "$as_me:$LINENO: checking for langinfo.h" >&5
84619 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
84620 if test "${ac_cv_header_langinfo_h+set}" = set; then
84621 echo $ECHO_N "(cached) $ECHO_C" >&6
84622 else
84623 ac_cv_header_langinfo_h=$ac_header_preproc
84625 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
84626 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
84629 if test $ac_cv_header_langinfo_h = yes; then
84630 ac_has_langinfo_h=yes
84631 else
84632 ac_has_langinfo_h=no
84637 # Check for existence of libiconv.a providing XPG2 wchar_t support.
84638 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
84639 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
84640 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
84641 echo $ECHO_N "(cached) $ECHO_C" >&6
84642 else
84643 ac_check_lib_save_LIBS=$LIBS
84644 LIBS="-liconv $LIBS"
84645 if test x$gcc_no_link = xyes; then
84646 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84647 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84648 { (exit 1); exit 1; }; }
84650 cat >conftest.$ac_ext <<_ACEOF
84651 /* confdefs.h. */
84652 _ACEOF
84653 cat confdefs.h >>conftest.$ac_ext
84654 cat >>conftest.$ac_ext <<_ACEOF
84655 /* end confdefs.h. */
84657 /* Override any gcc2 internal prototype to avoid an error. */
84658 #ifdef __cplusplus
84659 extern "C"
84660 #endif
84661 /* We use char because int might match the return type of a gcc2
84662 builtin and then its argument prototype would still apply. */
84663 char iconv ();
84665 main ()
84667 iconv ();
84669 return 0;
84671 _ACEOF
84672 rm -f conftest.$ac_objext conftest$ac_exeext
84673 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84674 (eval $ac_link) 2>conftest.er1
84675 ac_status=$?
84676 grep -v '^ *+' conftest.er1 >conftest.err
84677 rm -f conftest.er1
84678 cat conftest.err >&5
84679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84680 (exit $ac_status); } &&
84681 { ac_try='test -z "$ac_c_werror_flag"
84682 || test ! -s conftest.err'
84683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84684 (eval $ac_try) 2>&5
84685 ac_status=$?
84686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84687 (exit $ac_status); }; } &&
84688 { ac_try='test -s conftest$ac_exeext'
84689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84690 (eval $ac_try) 2>&5
84691 ac_status=$?
84692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84693 (exit $ac_status); }; }; then
84694 ac_cv_lib_iconv_iconv=yes
84695 else
84696 echo "$as_me: failed program was:" >&5
84697 sed 's/^/| /' conftest.$ac_ext >&5
84699 ac_cv_lib_iconv_iconv=no
84701 rm -f conftest.err conftest.$ac_objext \
84702 conftest$ac_exeext conftest.$ac_ext
84703 LIBS=$ac_check_lib_save_LIBS
84705 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
84706 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
84707 if test $ac_cv_lib_iconv_iconv = yes; then
84708 LIBICONV="-liconv"
84711 ac_save_LIBS="$LIBS"
84712 LIBS="$LIBS $LIBICONV"
84719 for ac_func in iconv_open iconv_close iconv nl_langinfo
84721 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84722 echo "$as_me:$LINENO: checking for $ac_func" >&5
84723 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84724 if eval "test \"\${$as_ac_var+set}\" = set"; then
84725 echo $ECHO_N "(cached) $ECHO_C" >&6
84726 else
84727 if test x$gcc_no_link = xyes; then
84728 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84729 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84730 { (exit 1); exit 1; }; }
84732 cat >conftest.$ac_ext <<_ACEOF
84733 /* confdefs.h. */
84734 _ACEOF
84735 cat confdefs.h >>conftest.$ac_ext
84736 cat >>conftest.$ac_ext <<_ACEOF
84737 /* end confdefs.h. */
84738 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84739 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84740 #define $ac_func innocuous_$ac_func
84742 /* System header to define __stub macros and hopefully few prototypes,
84743 which can conflict with char $ac_func (); below.
84744 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84745 <limits.h> exists even on freestanding compilers. */
84747 #ifdef __STDC__
84748 # include <limits.h>
84749 #else
84750 # include <assert.h>
84751 #endif
84753 #undef $ac_func
84755 /* Override any gcc2 internal prototype to avoid an error. */
84756 #ifdef __cplusplus
84757 extern "C"
84759 #endif
84760 /* We use char because int might match the return type of a gcc2
84761 builtin and then its argument prototype would still apply. */
84762 char $ac_func ();
84763 /* The GNU C library defines this for functions which it implements
84764 to always fail with ENOSYS. Some functions are actually named
84765 something starting with __ and the normal name is an alias. */
84766 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84767 choke me
84768 #else
84769 char (*f) () = $ac_func;
84770 #endif
84771 #ifdef __cplusplus
84773 #endif
84776 main ()
84778 return f != $ac_func;
84780 return 0;
84782 _ACEOF
84783 rm -f conftest.$ac_objext conftest$ac_exeext
84784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84785 (eval $ac_link) 2>conftest.er1
84786 ac_status=$?
84787 grep -v '^ *+' conftest.er1 >conftest.err
84788 rm -f conftest.er1
84789 cat conftest.err >&5
84790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84791 (exit $ac_status); } &&
84792 { ac_try='test -z "$ac_c_werror_flag"
84793 || test ! -s conftest.err'
84794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84795 (eval $ac_try) 2>&5
84796 ac_status=$?
84797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84798 (exit $ac_status); }; } &&
84799 { ac_try='test -s conftest$ac_exeext'
84800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84801 (eval $ac_try) 2>&5
84802 ac_status=$?
84803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84804 (exit $ac_status); }; }; then
84805 eval "$as_ac_var=yes"
84806 else
84807 echo "$as_me: failed program was:" >&5
84808 sed 's/^/| /' conftest.$ac_ext >&5
84810 eval "$as_ac_var=no"
84812 rm -f conftest.err conftest.$ac_objext \
84813 conftest$ac_exeext conftest.$ac_ext
84815 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84816 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84817 if test `eval echo '${'$as_ac_var'}'` = yes; then
84818 cat >>confdefs.h <<_ACEOF
84819 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84820 _ACEOF
84821 ac_XPG2funcs=yes
84822 else
84823 ac_XPG2funcs=no
84825 done
84828 LIBS="$ac_save_LIBS"
84830 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
84831 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
84832 if test x"$ac_has_iconv_h" = xyes &&
84833 test x"$ac_has_langinfo_h" = xyes &&
84834 test x"$ac_XPG2funcs" = xyes;
84835 then
84836 ac_XPG2_wchar_t=yes
84837 else
84838 ac_XPG2_wchar_t=no
84840 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
84841 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
84843 # At the moment, only enable wchar_t specializations if all the
84844 # above support is present.
84845 if test x"$ac_isoC99_wchar_t" = xyes &&
84846 test x"$ac_XPG2_wchar_t" = xyes;
84847 then
84848 cat >>confdefs.h <<\_ACEOF
84849 #define _GLIBCXX_USE_WCHAR_T 1
84850 _ACEOF
84852 enable_wchar_t=yes
84855 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
84856 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
84857 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
84858 echo "${ECHO_T}$enable_wchar_t" >&6
84861 *-netbsd*)
84874 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
84875 machine/endian.h machine/param.h sys/machine.h sys/types.h \
84876 fp.h locale.h float.h inttypes.h
84878 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
84879 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84880 echo "$as_me:$LINENO: checking for $ac_header" >&5
84881 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84882 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84883 echo $ECHO_N "(cached) $ECHO_C" >&6
84885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84886 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84887 else
84888 # Is the header compilable?
84889 echo "$as_me:$LINENO: checking $ac_header usability" >&5
84890 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
84891 cat >conftest.$ac_ext <<_ACEOF
84892 /* confdefs.h. */
84893 _ACEOF
84894 cat confdefs.h >>conftest.$ac_ext
84895 cat >>conftest.$ac_ext <<_ACEOF
84896 /* end confdefs.h. */
84897 $ac_includes_default
84898 #include <$ac_header>
84899 _ACEOF
84900 rm -f conftest.$ac_objext
84901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84902 (eval $ac_compile) 2>conftest.er1
84903 ac_status=$?
84904 grep -v '^ *+' conftest.er1 >conftest.err
84905 rm -f conftest.er1
84906 cat conftest.err >&5
84907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84908 (exit $ac_status); } &&
84909 { ac_try='test -z "$ac_c_werror_flag"
84910 || test ! -s conftest.err'
84911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84912 (eval $ac_try) 2>&5
84913 ac_status=$?
84914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84915 (exit $ac_status); }; } &&
84916 { ac_try='test -s conftest.$ac_objext'
84917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84918 (eval $ac_try) 2>&5
84919 ac_status=$?
84920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84921 (exit $ac_status); }; }; then
84922 ac_header_compiler=yes
84923 else
84924 echo "$as_me: failed program was:" >&5
84925 sed 's/^/| /' conftest.$ac_ext >&5
84927 ac_header_compiler=no
84929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84930 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84931 echo "${ECHO_T}$ac_header_compiler" >&6
84933 # Is the header present?
84934 echo "$as_me:$LINENO: checking $ac_header presence" >&5
84935 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
84936 cat >conftest.$ac_ext <<_ACEOF
84937 /* confdefs.h. */
84938 _ACEOF
84939 cat confdefs.h >>conftest.$ac_ext
84940 cat >>conftest.$ac_ext <<_ACEOF
84941 /* end confdefs.h. */
84942 #include <$ac_header>
84943 _ACEOF
84944 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84945 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84946 ac_status=$?
84947 grep -v '^ *+' conftest.er1 >conftest.err
84948 rm -f conftest.er1
84949 cat conftest.err >&5
84950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84951 (exit $ac_status); } >/dev/null; then
84952 if test -s conftest.err; then
84953 ac_cpp_err=$ac_c_preproc_warn_flag
84954 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84955 else
84956 ac_cpp_err=
84958 else
84959 ac_cpp_err=yes
84961 if test -z "$ac_cpp_err"; then
84962 ac_header_preproc=yes
84963 else
84964 echo "$as_me: failed program was:" >&5
84965 sed 's/^/| /' conftest.$ac_ext >&5
84967 ac_header_preproc=no
84969 rm -f conftest.err conftest.$ac_ext
84970 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84971 echo "${ECHO_T}$ac_header_preproc" >&6
84973 # So? What about this header?
84974 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84975 yes:no: )
84976 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
84977 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
84978 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
84979 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
84980 ac_header_preproc=yes
84982 no:yes:* )
84983 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
84984 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
84985 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
84986 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
84987 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
84988 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
84989 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
84990 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
84991 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
84992 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
84993 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
84994 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
84996 cat <<\_ASBOX
84997 ## ----------------------------------------- ##
84998 ## Report this to the package-unused lists. ##
84999 ## ----------------------------------------- ##
85000 _ASBOX
85002 sed "s/^/$as_me: WARNING: /" >&2
85004 esac
85005 echo "$as_me:$LINENO: checking for $ac_header" >&5
85006 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85007 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85008 echo $ECHO_N "(cached) $ECHO_C" >&6
85009 else
85010 eval "$as_ac_Header=\$ac_header_preproc"
85012 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85013 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85016 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85017 cat >>confdefs.h <<_ACEOF
85018 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85019 _ACEOF
85023 done
85025 SECTION_FLAGS='-ffunction-sections -fdata-sections'
85028 # If we're not using GNU ld, then there's no point in even trying these
85029 # tests. Check for that first. We should have already tested for gld
85030 # by now (in libtool), but require it now just to be safe...
85031 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
85032 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
85036 # The name set by libtool depends on the version of libtool. Shame on us
85037 # for depending on an impl detail, but c'est la vie. Older versions used
85038 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
85039 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
85040 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
85041 # set (hence we're using an older libtool), then set it.
85042 if test x${with_gnu_ld+set} != xset; then
85043 if test x${ac_cv_prog_gnu_ld+set} != xset; then
85044 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
85045 with_gnu_ld=no
85046 else
85047 with_gnu_ld=$ac_cv_prog_gnu_ld
85051 # Start by getting the version number. I think the libtool test already
85052 # does some of this, but throws away the result.
85054 ldver=`$LD --version 2>/dev/null | head -1 | \
85055 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
85057 glibcxx_gnu_ld_version=`echo $ldver | \
85058 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
85060 # Set --gc-sections.
85061 if test "$with_gnu_ld" = "notbroken"; then
85062 # GNU ld it is! Joy and bunny rabbits!
85064 # All these tests are for C++; save the language and the compiler flags.
85065 # Need to do this so that g++ won't try to link in libstdc++
85066 ac_test_CFLAGS="${CFLAGS+set}"
85067 ac_save_CFLAGS="$CFLAGS"
85068 CFLAGS='-x c++ -Wl,--gc-sections'
85070 # Check for -Wl,--gc-sections
85071 # XXX This test is broken at the moment, as symbols required for linking
85072 # are now in libsupc++ (not built yet). In addition, this test has
85073 # cored on solaris in the past. In addition, --gc-sections doesn't
85074 # really work at the moment (keeps on discarding used sections, first
85075 # .eh_frame and now some of the glibc sections for iconv).
85076 # Bzzzzt. Thanks for playing, maybe next time.
85077 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
85078 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
85079 if test "$cross_compiling" = yes; then
85080 ac_sectionLDflags=yes
85081 else
85082 cat >conftest.$ac_ext <<_ACEOF
85083 /* confdefs.h. */
85084 _ACEOF
85085 cat confdefs.h >>conftest.$ac_ext
85086 cat >>conftest.$ac_ext <<_ACEOF
85087 /* end confdefs.h. */
85089 int main(void)
85091 try { throw 1; }
85092 catch (...) { };
85093 return 0;
85096 _ACEOF
85097 rm -f conftest$ac_exeext
85098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85099 (eval $ac_link) 2>&5
85100 ac_status=$?
85101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85102 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
85103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85104 (eval $ac_try) 2>&5
85105 ac_status=$?
85106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85107 (exit $ac_status); }; }; then
85108 ac_sectionLDflags=yes
85109 else
85110 echo "$as_me: program exited with status $ac_status" >&5
85111 echo "$as_me: failed program was:" >&5
85112 sed 's/^/| /' conftest.$ac_ext >&5
85114 ( exit $ac_status )
85115 ac_sectionLDflags=no
85117 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
85119 if test "$ac_test_CFLAGS" = set; then
85120 CFLAGS="$ac_save_CFLAGS"
85121 else
85122 # this is the suspicious part
85123 CFLAGS=''
85125 if test "$ac_sectionLDflags" = "yes"; then
85126 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
85128 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
85129 echo "${ECHO_T}$ac_sectionLDflags" >&6
85132 # Set linker optimization flags.
85133 if test x"$with_gnu_ld" = x"yes"; then
85134 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
85142 echo "$as_me:$LINENO: checking for main in -lm" >&5
85143 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
85144 if test "${ac_cv_lib_m_main+set}" = set; then
85145 echo $ECHO_N "(cached) $ECHO_C" >&6
85146 else
85147 ac_check_lib_save_LIBS=$LIBS
85148 LIBS="-lm $LIBS"
85149 if test x$gcc_no_link = xyes; then
85150 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85151 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85152 { (exit 1); exit 1; }; }
85154 cat >conftest.$ac_ext <<_ACEOF
85155 /* confdefs.h. */
85156 _ACEOF
85157 cat confdefs.h >>conftest.$ac_ext
85158 cat >>conftest.$ac_ext <<_ACEOF
85159 /* end confdefs.h. */
85163 main ()
85165 main ();
85167 return 0;
85169 _ACEOF
85170 rm -f conftest.$ac_objext conftest$ac_exeext
85171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85172 (eval $ac_link) 2>conftest.er1
85173 ac_status=$?
85174 grep -v '^ *+' conftest.er1 >conftest.err
85175 rm -f conftest.er1
85176 cat conftest.err >&5
85177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85178 (exit $ac_status); } &&
85179 { ac_try='test -z "$ac_c_werror_flag"
85180 || test ! -s conftest.err'
85181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85182 (eval $ac_try) 2>&5
85183 ac_status=$?
85184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85185 (exit $ac_status); }; } &&
85186 { ac_try='test -s conftest$ac_exeext'
85187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85188 (eval $ac_try) 2>&5
85189 ac_status=$?
85190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85191 (exit $ac_status); }; }; then
85192 ac_cv_lib_m_main=yes
85193 else
85194 echo "$as_me: failed program was:" >&5
85195 sed 's/^/| /' conftest.$ac_ext >&5
85197 ac_cv_lib_m_main=no
85199 rm -f conftest.err conftest.$ac_objext \
85200 conftest$ac_exeext conftest.$ac_ext
85201 LIBS=$ac_check_lib_save_LIBS
85203 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
85204 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
85205 if test $ac_cv_lib_m_main = yes; then
85206 cat >>confdefs.h <<_ACEOF
85207 #define HAVE_LIBM 1
85208 _ACEOF
85210 LIBS="-lm $LIBS"
85215 for ac_func in copysignf
85217 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85218 echo "$as_me:$LINENO: checking for $ac_func" >&5
85219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85220 if eval "test \"\${$as_ac_var+set}\" = set"; then
85221 echo $ECHO_N "(cached) $ECHO_C" >&6
85222 else
85223 if test x$gcc_no_link = xyes; then
85224 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85225 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85226 { (exit 1); exit 1; }; }
85228 cat >conftest.$ac_ext <<_ACEOF
85229 /* confdefs.h. */
85230 _ACEOF
85231 cat confdefs.h >>conftest.$ac_ext
85232 cat >>conftest.$ac_ext <<_ACEOF
85233 /* end confdefs.h. */
85234 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85235 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85236 #define $ac_func innocuous_$ac_func
85238 /* System header to define __stub macros and hopefully few prototypes,
85239 which can conflict with char $ac_func (); below.
85240 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85241 <limits.h> exists even on freestanding compilers. */
85243 #ifdef __STDC__
85244 # include <limits.h>
85245 #else
85246 # include <assert.h>
85247 #endif
85249 #undef $ac_func
85251 /* Override any gcc2 internal prototype to avoid an error. */
85252 #ifdef __cplusplus
85253 extern "C"
85255 #endif
85256 /* We use char because int might match the return type of a gcc2
85257 builtin and then its argument prototype would still apply. */
85258 char $ac_func ();
85259 /* The GNU C library defines this for functions which it implements
85260 to always fail with ENOSYS. Some functions are actually named
85261 something starting with __ and the normal name is an alias. */
85262 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85263 choke me
85264 #else
85265 char (*f) () = $ac_func;
85266 #endif
85267 #ifdef __cplusplus
85269 #endif
85272 main ()
85274 return f != $ac_func;
85276 return 0;
85278 _ACEOF
85279 rm -f conftest.$ac_objext conftest$ac_exeext
85280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85281 (eval $ac_link) 2>conftest.er1
85282 ac_status=$?
85283 grep -v '^ *+' conftest.er1 >conftest.err
85284 rm -f conftest.er1
85285 cat conftest.err >&5
85286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85287 (exit $ac_status); } &&
85288 { ac_try='test -z "$ac_c_werror_flag"
85289 || test ! -s conftest.err'
85290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85291 (eval $ac_try) 2>&5
85292 ac_status=$?
85293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85294 (exit $ac_status); }; } &&
85295 { ac_try='test -s conftest$ac_exeext'
85296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85297 (eval $ac_try) 2>&5
85298 ac_status=$?
85299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85300 (exit $ac_status); }; }; then
85301 eval "$as_ac_var=yes"
85302 else
85303 echo "$as_me: failed program was:" >&5
85304 sed 's/^/| /' conftest.$ac_ext >&5
85306 eval "$as_ac_var=no"
85308 rm -f conftest.err conftest.$ac_objext \
85309 conftest$ac_exeext conftest.$ac_ext
85311 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85312 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85313 if test `eval echo '${'$as_ac_var'}'` = yes; then
85314 cat >>confdefs.h <<_ACEOF
85315 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85316 _ACEOF
85318 else
85319 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
85321 done
85325 for ac_func in __signbit
85327 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85328 echo "$as_me:$LINENO: checking for $ac_func" >&5
85329 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85330 if eval "test \"\${$as_ac_var+set}\" = set"; then
85331 echo $ECHO_N "(cached) $ECHO_C" >&6
85332 else
85333 if test x$gcc_no_link = xyes; then
85334 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85335 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85336 { (exit 1); exit 1; }; }
85338 cat >conftest.$ac_ext <<_ACEOF
85339 /* confdefs.h. */
85340 _ACEOF
85341 cat confdefs.h >>conftest.$ac_ext
85342 cat >>conftest.$ac_ext <<_ACEOF
85343 /* end confdefs.h. */
85344 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85345 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85346 #define $ac_func innocuous_$ac_func
85348 /* System header to define __stub macros and hopefully few prototypes,
85349 which can conflict with char $ac_func (); below.
85350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85351 <limits.h> exists even on freestanding compilers. */
85353 #ifdef __STDC__
85354 # include <limits.h>
85355 #else
85356 # include <assert.h>
85357 #endif
85359 #undef $ac_func
85361 /* Override any gcc2 internal prototype to avoid an error. */
85362 #ifdef __cplusplus
85363 extern "C"
85365 #endif
85366 /* We use char because int might match the return type of a gcc2
85367 builtin and then its argument prototype would still apply. */
85368 char $ac_func ();
85369 /* The GNU C library defines this for functions which it implements
85370 to always fail with ENOSYS. Some functions are actually named
85371 something starting with __ and the normal name is an alias. */
85372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85373 choke me
85374 #else
85375 char (*f) () = $ac_func;
85376 #endif
85377 #ifdef __cplusplus
85379 #endif
85382 main ()
85384 return f != $ac_func;
85386 return 0;
85388 _ACEOF
85389 rm -f conftest.$ac_objext conftest$ac_exeext
85390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85391 (eval $ac_link) 2>conftest.er1
85392 ac_status=$?
85393 grep -v '^ *+' conftest.er1 >conftest.err
85394 rm -f conftest.er1
85395 cat conftest.err >&5
85396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85397 (exit $ac_status); } &&
85398 { ac_try='test -z "$ac_c_werror_flag"
85399 || test ! -s conftest.err'
85400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85401 (eval $ac_try) 2>&5
85402 ac_status=$?
85403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85404 (exit $ac_status); }; } &&
85405 { ac_try='test -s conftest$ac_exeext'
85406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85407 (eval $ac_try) 2>&5
85408 ac_status=$?
85409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85410 (exit $ac_status); }; }; then
85411 eval "$as_ac_var=yes"
85412 else
85413 echo "$as_me: failed program was:" >&5
85414 sed 's/^/| /' conftest.$ac_ext >&5
85416 eval "$as_ac_var=no"
85418 rm -f conftest.err conftest.$ac_objext \
85419 conftest$ac_exeext conftest.$ac_ext
85421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85422 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85423 if test `eval echo '${'$as_ac_var'}'` = yes; then
85424 cat >>confdefs.h <<_ACEOF
85425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85426 _ACEOF
85428 else
85429 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
85431 done
85435 for ac_func in __signbitf
85437 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85438 echo "$as_me:$LINENO: checking for $ac_func" >&5
85439 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85440 if eval "test \"\${$as_ac_var+set}\" = set"; then
85441 echo $ECHO_N "(cached) $ECHO_C" >&6
85442 else
85443 if test x$gcc_no_link = xyes; then
85444 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85445 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85446 { (exit 1); exit 1; }; }
85448 cat >conftest.$ac_ext <<_ACEOF
85449 /* confdefs.h. */
85450 _ACEOF
85451 cat confdefs.h >>conftest.$ac_ext
85452 cat >>conftest.$ac_ext <<_ACEOF
85453 /* end confdefs.h. */
85454 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85455 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85456 #define $ac_func innocuous_$ac_func
85458 /* System header to define __stub macros and hopefully few prototypes,
85459 which can conflict with char $ac_func (); below.
85460 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85461 <limits.h> exists even on freestanding compilers. */
85463 #ifdef __STDC__
85464 # include <limits.h>
85465 #else
85466 # include <assert.h>
85467 #endif
85469 #undef $ac_func
85471 /* Override any gcc2 internal prototype to avoid an error. */
85472 #ifdef __cplusplus
85473 extern "C"
85475 #endif
85476 /* We use char because int might match the return type of a gcc2
85477 builtin and then its argument prototype would still apply. */
85478 char $ac_func ();
85479 /* The GNU C library defines this for functions which it implements
85480 to always fail with ENOSYS. Some functions are actually named
85481 something starting with __ and the normal name is an alias. */
85482 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85483 choke me
85484 #else
85485 char (*f) () = $ac_func;
85486 #endif
85487 #ifdef __cplusplus
85489 #endif
85492 main ()
85494 return f != $ac_func;
85496 return 0;
85498 _ACEOF
85499 rm -f conftest.$ac_objext conftest$ac_exeext
85500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85501 (eval $ac_link) 2>conftest.er1
85502 ac_status=$?
85503 grep -v '^ *+' conftest.er1 >conftest.err
85504 rm -f conftest.er1
85505 cat conftest.err >&5
85506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85507 (exit $ac_status); } &&
85508 { ac_try='test -z "$ac_c_werror_flag"
85509 || test ! -s conftest.err'
85510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85511 (eval $ac_try) 2>&5
85512 ac_status=$?
85513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85514 (exit $ac_status); }; } &&
85515 { ac_try='test -s conftest$ac_exeext'
85516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85517 (eval $ac_try) 2>&5
85518 ac_status=$?
85519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85520 (exit $ac_status); }; }; then
85521 eval "$as_ac_var=yes"
85522 else
85523 echo "$as_me: failed program was:" >&5
85524 sed 's/^/| /' conftest.$ac_ext >&5
85526 eval "$as_ac_var=no"
85528 rm -f conftest.err conftest.$ac_objext \
85529 conftest$ac_exeext conftest.$ac_ext
85531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85532 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85533 if test `eval echo '${'$as_ac_var'}'` = yes; then
85534 cat >>confdefs.h <<_ACEOF
85535 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85536 _ACEOF
85538 else
85539 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
85541 done
85544 if test x$ac_cv_func_copysignl = x"yes"; then
85546 for ac_func in __signbitl
85548 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85549 echo "$as_me:$LINENO: checking for $ac_func" >&5
85550 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85551 if eval "test \"\${$as_ac_var+set}\" = set"; then
85552 echo $ECHO_N "(cached) $ECHO_C" >&6
85553 else
85554 if test x$gcc_no_link = xyes; then
85555 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85556 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85557 { (exit 1); exit 1; }; }
85559 cat >conftest.$ac_ext <<_ACEOF
85560 /* confdefs.h. */
85561 _ACEOF
85562 cat confdefs.h >>conftest.$ac_ext
85563 cat >>conftest.$ac_ext <<_ACEOF
85564 /* end confdefs.h. */
85565 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85566 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85567 #define $ac_func innocuous_$ac_func
85569 /* System header to define __stub macros and hopefully few prototypes,
85570 which can conflict with char $ac_func (); below.
85571 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85572 <limits.h> exists even on freestanding compilers. */
85574 #ifdef __STDC__
85575 # include <limits.h>
85576 #else
85577 # include <assert.h>
85578 #endif
85580 #undef $ac_func
85582 /* Override any gcc2 internal prototype to avoid an error. */
85583 #ifdef __cplusplus
85584 extern "C"
85586 #endif
85587 /* We use char because int might match the return type of a gcc2
85588 builtin and then its argument prototype would still apply. */
85589 char $ac_func ();
85590 /* The GNU C library defines this for functions which it implements
85591 to always fail with ENOSYS. Some functions are actually named
85592 something starting with __ and the normal name is an alias. */
85593 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85594 choke me
85595 #else
85596 char (*f) () = $ac_func;
85597 #endif
85598 #ifdef __cplusplus
85600 #endif
85603 main ()
85605 return f != $ac_func;
85607 return 0;
85609 _ACEOF
85610 rm -f conftest.$ac_objext conftest$ac_exeext
85611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85612 (eval $ac_link) 2>conftest.er1
85613 ac_status=$?
85614 grep -v '^ *+' conftest.er1 >conftest.err
85615 rm -f conftest.er1
85616 cat conftest.err >&5
85617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85618 (exit $ac_status); } &&
85619 { ac_try='test -z "$ac_c_werror_flag"
85620 || test ! -s conftest.err'
85621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85622 (eval $ac_try) 2>&5
85623 ac_status=$?
85624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85625 (exit $ac_status); }; } &&
85626 { ac_try='test -s conftest$ac_exeext'
85627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85628 (eval $ac_try) 2>&5
85629 ac_status=$?
85630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85631 (exit $ac_status); }; }; then
85632 eval "$as_ac_var=yes"
85633 else
85634 echo "$as_me: failed program was:" >&5
85635 sed 's/^/| /' conftest.$ac_ext >&5
85637 eval "$as_ac_var=no"
85639 rm -f conftest.err conftest.$ac_objext \
85640 conftest$ac_exeext conftest.$ac_ext
85642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85643 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85644 if test `eval echo '${'$as_ac_var'}'` = yes; then
85645 cat >>confdefs.h <<_ACEOF
85646 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85647 _ACEOF
85649 else
85650 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
85652 done
85656 # Used in libmath/Makefile.am.
85657 if test -n "$LIBMATHOBJS"; then
85658 need_libmath=yes
85663 # Test wchar.h for mbstate_t, which is needed for char_traits and
85664 # others even if wchar_t support is not on.
85665 echo "$as_me:$LINENO: checking for mbstate_t" >&5
85666 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
85667 cat >conftest.$ac_ext <<_ACEOF
85668 /* confdefs.h. */
85669 _ACEOF
85670 cat confdefs.h >>conftest.$ac_ext
85671 cat >>conftest.$ac_ext <<_ACEOF
85672 /* end confdefs.h. */
85673 #include <wchar.h>
85675 main ()
85677 mbstate_t teststate;
85679 return 0;
85681 _ACEOF
85682 rm -f conftest.$ac_objext
85683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85684 (eval $ac_compile) 2>conftest.er1
85685 ac_status=$?
85686 grep -v '^ *+' conftest.er1 >conftest.err
85687 rm -f conftest.er1
85688 cat conftest.err >&5
85689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85690 (exit $ac_status); } &&
85691 { ac_try='test -z "$ac_c_werror_flag"
85692 || test ! -s conftest.err'
85693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85694 (eval $ac_try) 2>&5
85695 ac_status=$?
85696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85697 (exit $ac_status); }; } &&
85698 { ac_try='test -s conftest.$ac_objext'
85699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85700 (eval $ac_try) 2>&5
85701 ac_status=$?
85702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85703 (exit $ac_status); }; }; then
85704 have_mbstate_t=yes
85705 else
85706 echo "$as_me: failed program was:" >&5
85707 sed 's/^/| /' conftest.$ac_ext >&5
85709 have_mbstate_t=no
85711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85712 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
85713 echo "${ECHO_T}$have_mbstate_t" >&6
85714 if test x"$have_mbstate_t" = xyes; then
85715 cat >>confdefs.h <<\_ACEOF
85716 #define HAVE_MBSTATE_T 1
85717 _ACEOF
85721 # Sanity check for existence of ISO C99 headers for extended encoding.
85723 for ac_header in wchar.h
85725 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85726 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85727 echo "$as_me:$LINENO: checking for $ac_header" >&5
85728 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85729 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85730 echo $ECHO_N "(cached) $ECHO_C" >&6
85732 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85733 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85734 else
85735 # Is the header compilable?
85736 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85737 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85738 cat >conftest.$ac_ext <<_ACEOF
85739 /* confdefs.h. */
85740 _ACEOF
85741 cat confdefs.h >>conftest.$ac_ext
85742 cat >>conftest.$ac_ext <<_ACEOF
85743 /* end confdefs.h. */
85744 $ac_includes_default
85745 #include <$ac_header>
85746 _ACEOF
85747 rm -f conftest.$ac_objext
85748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85749 (eval $ac_compile) 2>conftest.er1
85750 ac_status=$?
85751 grep -v '^ *+' conftest.er1 >conftest.err
85752 rm -f conftest.er1
85753 cat conftest.err >&5
85754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85755 (exit $ac_status); } &&
85756 { ac_try='test -z "$ac_c_werror_flag"
85757 || test ! -s conftest.err'
85758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85759 (eval $ac_try) 2>&5
85760 ac_status=$?
85761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85762 (exit $ac_status); }; } &&
85763 { ac_try='test -s conftest.$ac_objext'
85764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85765 (eval $ac_try) 2>&5
85766 ac_status=$?
85767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85768 (exit $ac_status); }; }; then
85769 ac_header_compiler=yes
85770 else
85771 echo "$as_me: failed program was:" >&5
85772 sed 's/^/| /' conftest.$ac_ext >&5
85774 ac_header_compiler=no
85776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85777 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85778 echo "${ECHO_T}$ac_header_compiler" >&6
85780 # Is the header present?
85781 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85782 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85783 cat >conftest.$ac_ext <<_ACEOF
85784 /* confdefs.h. */
85785 _ACEOF
85786 cat confdefs.h >>conftest.$ac_ext
85787 cat >>conftest.$ac_ext <<_ACEOF
85788 /* end confdefs.h. */
85789 #include <$ac_header>
85790 _ACEOF
85791 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85792 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85793 ac_status=$?
85794 grep -v '^ *+' conftest.er1 >conftest.err
85795 rm -f conftest.er1
85796 cat conftest.err >&5
85797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85798 (exit $ac_status); } >/dev/null; then
85799 if test -s conftest.err; then
85800 ac_cpp_err=$ac_c_preproc_warn_flag
85801 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85802 else
85803 ac_cpp_err=
85805 else
85806 ac_cpp_err=yes
85808 if test -z "$ac_cpp_err"; then
85809 ac_header_preproc=yes
85810 else
85811 echo "$as_me: failed program was:" >&5
85812 sed 's/^/| /' conftest.$ac_ext >&5
85814 ac_header_preproc=no
85816 rm -f conftest.err conftest.$ac_ext
85817 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85818 echo "${ECHO_T}$ac_header_preproc" >&6
85820 # So? What about this header?
85821 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85822 yes:no: )
85823 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85824 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85825 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85826 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85827 ac_header_preproc=yes
85829 no:yes:* )
85830 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85831 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85832 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
85833 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
85834 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85835 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85836 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
85837 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
85838 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85839 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85840 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85841 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85843 cat <<\_ASBOX
85844 ## ----------------------------------------- ##
85845 ## Report this to the package-unused lists. ##
85846 ## ----------------------------------------- ##
85847 _ASBOX
85849 sed "s/^/$as_me: WARNING: /" >&2
85851 esac
85852 echo "$as_me:$LINENO: checking for $ac_header" >&5
85853 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85854 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85855 echo $ECHO_N "(cached) $ECHO_C" >&6
85856 else
85857 eval "$as_ac_Header=\$ac_header_preproc"
85859 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85860 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85863 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85864 cat >>confdefs.h <<_ACEOF
85865 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85866 _ACEOF
85867 ac_has_wchar_h=yes
85868 else
85869 ac_has_wchar_h=no
85872 done
85875 for ac_header in wctype.h
85877 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85878 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85879 echo "$as_me:$LINENO: checking for $ac_header" >&5
85880 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85881 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85882 echo $ECHO_N "(cached) $ECHO_C" >&6
85884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85885 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85886 else
85887 # Is the header compilable?
85888 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85889 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85890 cat >conftest.$ac_ext <<_ACEOF
85891 /* confdefs.h. */
85892 _ACEOF
85893 cat confdefs.h >>conftest.$ac_ext
85894 cat >>conftest.$ac_ext <<_ACEOF
85895 /* end confdefs.h. */
85896 $ac_includes_default
85897 #include <$ac_header>
85898 _ACEOF
85899 rm -f conftest.$ac_objext
85900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85901 (eval $ac_compile) 2>conftest.er1
85902 ac_status=$?
85903 grep -v '^ *+' conftest.er1 >conftest.err
85904 rm -f conftest.er1
85905 cat conftest.err >&5
85906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85907 (exit $ac_status); } &&
85908 { ac_try='test -z "$ac_c_werror_flag"
85909 || test ! -s conftest.err'
85910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85911 (eval $ac_try) 2>&5
85912 ac_status=$?
85913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85914 (exit $ac_status); }; } &&
85915 { ac_try='test -s conftest.$ac_objext'
85916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85917 (eval $ac_try) 2>&5
85918 ac_status=$?
85919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85920 (exit $ac_status); }; }; then
85921 ac_header_compiler=yes
85922 else
85923 echo "$as_me: failed program was:" >&5
85924 sed 's/^/| /' conftest.$ac_ext >&5
85926 ac_header_compiler=no
85928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85929 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85930 echo "${ECHO_T}$ac_header_compiler" >&6
85932 # Is the header present?
85933 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85934 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85935 cat >conftest.$ac_ext <<_ACEOF
85936 /* confdefs.h. */
85937 _ACEOF
85938 cat confdefs.h >>conftest.$ac_ext
85939 cat >>conftest.$ac_ext <<_ACEOF
85940 /* end confdefs.h. */
85941 #include <$ac_header>
85942 _ACEOF
85943 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85944 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85945 ac_status=$?
85946 grep -v '^ *+' conftest.er1 >conftest.err
85947 rm -f conftest.er1
85948 cat conftest.err >&5
85949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85950 (exit $ac_status); } >/dev/null; then
85951 if test -s conftest.err; then
85952 ac_cpp_err=$ac_c_preproc_warn_flag
85953 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85954 else
85955 ac_cpp_err=
85957 else
85958 ac_cpp_err=yes
85960 if test -z "$ac_cpp_err"; then
85961 ac_header_preproc=yes
85962 else
85963 echo "$as_me: failed program was:" >&5
85964 sed 's/^/| /' conftest.$ac_ext >&5
85966 ac_header_preproc=no
85968 rm -f conftest.err conftest.$ac_ext
85969 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85970 echo "${ECHO_T}$ac_header_preproc" >&6
85972 # So? What about this header?
85973 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85974 yes:no: )
85975 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85976 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85977 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85978 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85979 ac_header_preproc=yes
85981 no:yes:* )
85982 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85983 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85984 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
85985 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
85986 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85987 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85988 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
85989 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
85990 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85991 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85992 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85993 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85995 cat <<\_ASBOX
85996 ## ----------------------------------------- ##
85997 ## Report this to the package-unused lists. ##
85998 ## ----------------------------------------- ##
85999 _ASBOX
86001 sed "s/^/$as_me: WARNING: /" >&2
86003 esac
86004 echo "$as_me:$LINENO: checking for $ac_header" >&5
86005 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86006 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86007 echo $ECHO_N "(cached) $ECHO_C" >&6
86008 else
86009 eval "$as_ac_Header=\$ac_header_preproc"
86011 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86012 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86015 if test `eval echo '${'$as_ac_Header'}'` = yes; then
86016 cat >>confdefs.h <<_ACEOF
86017 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
86018 _ACEOF
86019 ac_has_wctype_h=yes
86020 else
86021 ac_has_wctype_h=no
86024 done
86027 # Only continue checking if the ISO C99 headers exist and support is on.
86028 if test x"$ac_has_wchar_h" = xyes &&
86029 test x"$ac_has_wctype_h" = xyes &&
86030 test x"$enable_c_mbchar" != xno; then
86032 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
86033 # numeric_limits can instantiate type_traits<wchar_t>
86034 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
86035 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
86036 cat >conftest.$ac_ext <<_ACEOF
86037 /* confdefs.h. */
86038 _ACEOF
86039 cat confdefs.h >>conftest.$ac_ext
86040 cat >>conftest.$ac_ext <<_ACEOF
86041 /* end confdefs.h. */
86042 #include <wchar.h>
86044 main ()
86046 int i = WCHAR_MIN; int j = WCHAR_MAX;
86048 return 0;
86050 _ACEOF
86051 rm -f conftest.$ac_objext
86052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86053 (eval $ac_compile) 2>conftest.er1
86054 ac_status=$?
86055 grep -v '^ *+' conftest.er1 >conftest.err
86056 rm -f conftest.er1
86057 cat conftest.err >&5
86058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86059 (exit $ac_status); } &&
86060 { ac_try='test -z "$ac_c_werror_flag"
86061 || test ! -s conftest.err'
86062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86063 (eval $ac_try) 2>&5
86064 ac_status=$?
86065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86066 (exit $ac_status); }; } &&
86067 { ac_try='test -s conftest.$ac_objext'
86068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86069 (eval $ac_try) 2>&5
86070 ac_status=$?
86071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86072 (exit $ac_status); }; }; then
86073 has_wchar_minmax=yes
86074 else
86075 echo "$as_me: failed program was:" >&5
86076 sed 's/^/| /' conftest.$ac_ext >&5
86078 has_wchar_minmax=no
86080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86081 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
86082 echo "${ECHO_T}$has_wchar_minmax" >&6
86084 # Test wchar.h for WEOF, which is what we use to determine whether
86085 # to specialize for char_traits<wchar_t> or not.
86086 echo "$as_me:$LINENO: checking for WEOF" >&5
86087 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
86088 cat >conftest.$ac_ext <<_ACEOF
86089 /* confdefs.h. */
86090 _ACEOF
86091 cat confdefs.h >>conftest.$ac_ext
86092 cat >>conftest.$ac_ext <<_ACEOF
86093 /* end confdefs.h. */
86095 #include <wchar.h>
86096 #include <stddef.h>
86098 main ()
86100 wint_t i = WEOF;
86102 return 0;
86104 _ACEOF
86105 rm -f conftest.$ac_objext
86106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86107 (eval $ac_compile) 2>conftest.er1
86108 ac_status=$?
86109 grep -v '^ *+' conftest.er1 >conftest.err
86110 rm -f conftest.er1
86111 cat conftest.err >&5
86112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86113 (exit $ac_status); } &&
86114 { ac_try='test -z "$ac_c_werror_flag"
86115 || test ! -s conftest.err'
86116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86117 (eval $ac_try) 2>&5
86118 ac_status=$?
86119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86120 (exit $ac_status); }; } &&
86121 { ac_try='test -s conftest.$ac_objext'
86122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86123 (eval $ac_try) 2>&5
86124 ac_status=$?
86125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86126 (exit $ac_status); }; }; then
86127 has_weof=yes
86128 else
86129 echo "$as_me: failed program was:" >&5
86130 sed 's/^/| /' conftest.$ac_ext >&5
86132 has_weof=no
86134 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86135 echo "$as_me:$LINENO: result: $has_weof" >&5
86136 echo "${ECHO_T}$has_weof" >&6
86138 # Tests for wide character functions used in char_traits<wchar_t>.
86139 ac_wfuncs=yes
86146 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
86148 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86149 echo "$as_me:$LINENO: checking for $ac_func" >&5
86150 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86151 if eval "test \"\${$as_ac_var+set}\" = set"; then
86152 echo $ECHO_N "(cached) $ECHO_C" >&6
86153 else
86154 if test x$gcc_no_link = xyes; then
86155 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86156 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86157 { (exit 1); exit 1; }; }
86159 cat >conftest.$ac_ext <<_ACEOF
86160 /* confdefs.h. */
86161 _ACEOF
86162 cat confdefs.h >>conftest.$ac_ext
86163 cat >>conftest.$ac_ext <<_ACEOF
86164 /* end confdefs.h. */
86165 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86166 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86167 #define $ac_func innocuous_$ac_func
86169 /* System header to define __stub macros and hopefully few prototypes,
86170 which can conflict with char $ac_func (); below.
86171 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86172 <limits.h> exists even on freestanding compilers. */
86174 #ifdef __STDC__
86175 # include <limits.h>
86176 #else
86177 # include <assert.h>
86178 #endif
86180 #undef $ac_func
86182 /* Override any gcc2 internal prototype to avoid an error. */
86183 #ifdef __cplusplus
86184 extern "C"
86186 #endif
86187 /* We use char because int might match the return type of a gcc2
86188 builtin and then its argument prototype would still apply. */
86189 char $ac_func ();
86190 /* The GNU C library defines this for functions which it implements
86191 to always fail with ENOSYS. Some functions are actually named
86192 something starting with __ and the normal name is an alias. */
86193 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86194 choke me
86195 #else
86196 char (*f) () = $ac_func;
86197 #endif
86198 #ifdef __cplusplus
86200 #endif
86203 main ()
86205 return f != $ac_func;
86207 return 0;
86209 _ACEOF
86210 rm -f conftest.$ac_objext conftest$ac_exeext
86211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86212 (eval $ac_link) 2>conftest.er1
86213 ac_status=$?
86214 grep -v '^ *+' conftest.er1 >conftest.err
86215 rm -f conftest.er1
86216 cat conftest.err >&5
86217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86218 (exit $ac_status); } &&
86219 { ac_try='test -z "$ac_c_werror_flag"
86220 || test ! -s conftest.err'
86221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86222 (eval $ac_try) 2>&5
86223 ac_status=$?
86224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86225 (exit $ac_status); }; } &&
86226 { ac_try='test -s conftest$ac_exeext'
86227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86228 (eval $ac_try) 2>&5
86229 ac_status=$?
86230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86231 (exit $ac_status); }; }; then
86232 eval "$as_ac_var=yes"
86233 else
86234 echo "$as_me: failed program was:" >&5
86235 sed 's/^/| /' conftest.$ac_ext >&5
86237 eval "$as_ac_var=no"
86239 rm -f conftest.err conftest.$ac_objext \
86240 conftest$ac_exeext conftest.$ac_ext
86242 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86243 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86244 if test `eval echo '${'$as_ac_var'}'` = yes; then
86245 cat >>confdefs.h <<_ACEOF
86246 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86247 _ACEOF
86249 else
86250 ac_wfuncs=no
86252 done
86255 # Checks for names injected into std:: by the c_std headers.
86302 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
86303 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
86304 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
86305 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
86306 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
86307 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
86309 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86310 echo "$as_me:$LINENO: checking for $ac_func" >&5
86311 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86312 if eval "test \"\${$as_ac_var+set}\" = set"; then
86313 echo $ECHO_N "(cached) $ECHO_C" >&6
86314 else
86315 if test x$gcc_no_link = xyes; then
86316 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86317 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86318 { (exit 1); exit 1; }; }
86320 cat >conftest.$ac_ext <<_ACEOF
86321 /* confdefs.h. */
86322 _ACEOF
86323 cat confdefs.h >>conftest.$ac_ext
86324 cat >>conftest.$ac_ext <<_ACEOF
86325 /* end confdefs.h. */
86326 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86327 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86328 #define $ac_func innocuous_$ac_func
86330 /* System header to define __stub macros and hopefully few prototypes,
86331 which can conflict with char $ac_func (); below.
86332 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86333 <limits.h> exists even on freestanding compilers. */
86335 #ifdef __STDC__
86336 # include <limits.h>
86337 #else
86338 # include <assert.h>
86339 #endif
86341 #undef $ac_func
86343 /* Override any gcc2 internal prototype to avoid an error. */
86344 #ifdef __cplusplus
86345 extern "C"
86347 #endif
86348 /* We use char because int might match the return type of a gcc2
86349 builtin and then its argument prototype would still apply. */
86350 char $ac_func ();
86351 /* The GNU C library defines this for functions which it implements
86352 to always fail with ENOSYS. Some functions are actually named
86353 something starting with __ and the normal name is an alias. */
86354 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86355 choke me
86356 #else
86357 char (*f) () = $ac_func;
86358 #endif
86359 #ifdef __cplusplus
86361 #endif
86364 main ()
86366 return f != $ac_func;
86368 return 0;
86370 _ACEOF
86371 rm -f conftest.$ac_objext conftest$ac_exeext
86372 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86373 (eval $ac_link) 2>conftest.er1
86374 ac_status=$?
86375 grep -v '^ *+' conftest.er1 >conftest.err
86376 rm -f conftest.er1
86377 cat conftest.err >&5
86378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86379 (exit $ac_status); } &&
86380 { ac_try='test -z "$ac_c_werror_flag"
86381 || test ! -s conftest.err'
86382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86383 (eval $ac_try) 2>&5
86384 ac_status=$?
86385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86386 (exit $ac_status); }; } &&
86387 { ac_try='test -s conftest$ac_exeext'
86388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86389 (eval $ac_try) 2>&5
86390 ac_status=$?
86391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86392 (exit $ac_status); }; }; then
86393 eval "$as_ac_var=yes"
86394 else
86395 echo "$as_me: failed program was:" >&5
86396 sed 's/^/| /' conftest.$ac_ext >&5
86398 eval "$as_ac_var=no"
86400 rm -f conftest.err conftest.$ac_objext \
86401 conftest$ac_exeext conftest.$ac_ext
86403 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86404 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86405 if test `eval echo '${'$as_ac_var'}'` = yes; then
86406 cat >>confdefs.h <<_ACEOF
86407 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86408 _ACEOF
86410 else
86411 ac_wfuncs=no
86413 done
86416 # Checks for wide character functions that are not required
86417 # for basic wchar_t support. Don't disable support if they are missing.
86418 # Injection of these is wrapped with guard macros.
86424 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
86426 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86427 echo "$as_me:$LINENO: checking for $ac_func" >&5
86428 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86429 if eval "test \"\${$as_ac_var+set}\" = set"; then
86430 echo $ECHO_N "(cached) $ECHO_C" >&6
86431 else
86432 if test x$gcc_no_link = xyes; then
86433 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86434 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86435 { (exit 1); exit 1; }; }
86437 cat >conftest.$ac_ext <<_ACEOF
86438 /* confdefs.h. */
86439 _ACEOF
86440 cat confdefs.h >>conftest.$ac_ext
86441 cat >>conftest.$ac_ext <<_ACEOF
86442 /* end confdefs.h. */
86443 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86444 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86445 #define $ac_func innocuous_$ac_func
86447 /* System header to define __stub macros and hopefully few prototypes,
86448 which can conflict with char $ac_func (); below.
86449 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86450 <limits.h> exists even on freestanding compilers. */
86452 #ifdef __STDC__
86453 # include <limits.h>
86454 #else
86455 # include <assert.h>
86456 #endif
86458 #undef $ac_func
86460 /* Override any gcc2 internal prototype to avoid an error. */
86461 #ifdef __cplusplus
86462 extern "C"
86464 #endif
86465 /* We use char because int might match the return type of a gcc2
86466 builtin and then its argument prototype would still apply. */
86467 char $ac_func ();
86468 /* The GNU C library defines this for functions which it implements
86469 to always fail with ENOSYS. Some functions are actually named
86470 something starting with __ and the normal name is an alias. */
86471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86472 choke me
86473 #else
86474 char (*f) () = $ac_func;
86475 #endif
86476 #ifdef __cplusplus
86478 #endif
86481 main ()
86483 return f != $ac_func;
86485 return 0;
86487 _ACEOF
86488 rm -f conftest.$ac_objext conftest$ac_exeext
86489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86490 (eval $ac_link) 2>conftest.er1
86491 ac_status=$?
86492 grep -v '^ *+' conftest.er1 >conftest.err
86493 rm -f conftest.er1
86494 cat conftest.err >&5
86495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86496 (exit $ac_status); } &&
86497 { ac_try='test -z "$ac_c_werror_flag"
86498 || test ! -s conftest.err'
86499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86500 (eval $ac_try) 2>&5
86501 ac_status=$?
86502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86503 (exit $ac_status); }; } &&
86504 { ac_try='test -s conftest$ac_exeext'
86505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86506 (eval $ac_try) 2>&5
86507 ac_status=$?
86508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86509 (exit $ac_status); }; }; then
86510 eval "$as_ac_var=yes"
86511 else
86512 echo "$as_me: failed program was:" >&5
86513 sed 's/^/| /' conftest.$ac_ext >&5
86515 eval "$as_ac_var=no"
86517 rm -f conftest.err conftest.$ac_objext \
86518 conftest$ac_exeext conftest.$ac_ext
86520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86521 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86522 if test `eval echo '${'$as_ac_var'}'` = yes; then
86523 cat >>confdefs.h <<_ACEOF
86524 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86525 _ACEOF
86528 done
86531 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
86532 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
86533 if test x"$has_weof" = xyes &&
86534 test x"$has_wchar_minmax" = xyes &&
86535 test x"$ac_wfuncs" = xyes;
86536 then
86537 ac_isoC99_wchar_t=yes
86538 else
86539 ac_isoC99_wchar_t=no
86541 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
86542 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
86544 # Use iconv for wchar_t to char conversions. As such, check for
86545 # X/Open Portability Guide, version 2 features (XPG2).
86546 if test "${ac_cv_header_iconv_h+set}" = set; then
86547 echo "$as_me:$LINENO: checking for iconv.h" >&5
86548 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
86549 if test "${ac_cv_header_iconv_h+set}" = set; then
86550 echo $ECHO_N "(cached) $ECHO_C" >&6
86552 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
86553 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
86554 else
86555 # Is the header compilable?
86556 echo "$as_me:$LINENO: checking iconv.h usability" >&5
86557 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
86558 cat >conftest.$ac_ext <<_ACEOF
86559 /* confdefs.h. */
86560 _ACEOF
86561 cat confdefs.h >>conftest.$ac_ext
86562 cat >>conftest.$ac_ext <<_ACEOF
86563 /* end confdefs.h. */
86564 $ac_includes_default
86565 #include <iconv.h>
86566 _ACEOF
86567 rm -f conftest.$ac_objext
86568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86569 (eval $ac_compile) 2>conftest.er1
86570 ac_status=$?
86571 grep -v '^ *+' conftest.er1 >conftest.err
86572 rm -f conftest.er1
86573 cat conftest.err >&5
86574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86575 (exit $ac_status); } &&
86576 { ac_try='test -z "$ac_c_werror_flag"
86577 || test ! -s conftest.err'
86578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86579 (eval $ac_try) 2>&5
86580 ac_status=$?
86581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86582 (exit $ac_status); }; } &&
86583 { ac_try='test -s conftest.$ac_objext'
86584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86585 (eval $ac_try) 2>&5
86586 ac_status=$?
86587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86588 (exit $ac_status); }; }; then
86589 ac_header_compiler=yes
86590 else
86591 echo "$as_me: failed program was:" >&5
86592 sed 's/^/| /' conftest.$ac_ext >&5
86594 ac_header_compiler=no
86596 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86597 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86598 echo "${ECHO_T}$ac_header_compiler" >&6
86600 # Is the header present?
86601 echo "$as_me:$LINENO: checking iconv.h presence" >&5
86602 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
86603 cat >conftest.$ac_ext <<_ACEOF
86604 /* confdefs.h. */
86605 _ACEOF
86606 cat confdefs.h >>conftest.$ac_ext
86607 cat >>conftest.$ac_ext <<_ACEOF
86608 /* end confdefs.h. */
86609 #include <iconv.h>
86610 _ACEOF
86611 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86612 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86613 ac_status=$?
86614 grep -v '^ *+' conftest.er1 >conftest.err
86615 rm -f conftest.er1
86616 cat conftest.err >&5
86617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86618 (exit $ac_status); } >/dev/null; then
86619 if test -s conftest.err; then
86620 ac_cpp_err=$ac_c_preproc_warn_flag
86621 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86622 else
86623 ac_cpp_err=
86625 else
86626 ac_cpp_err=yes
86628 if test -z "$ac_cpp_err"; then
86629 ac_header_preproc=yes
86630 else
86631 echo "$as_me: failed program was:" >&5
86632 sed 's/^/| /' conftest.$ac_ext >&5
86634 ac_header_preproc=no
86636 rm -f conftest.err conftest.$ac_ext
86637 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86638 echo "${ECHO_T}$ac_header_preproc" >&6
86640 # So? What about this header?
86641 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86642 yes:no: )
86643 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
86644 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
86645 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
86646 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
86647 ac_header_preproc=yes
86649 no:yes:* )
86650 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
86651 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
86652 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
86653 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
86654 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
86655 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
86656 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
86657 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
86658 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
86659 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
86660 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
86661 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
86663 cat <<\_ASBOX
86664 ## ----------------------------------------- ##
86665 ## Report this to the package-unused lists. ##
86666 ## ----------------------------------------- ##
86667 _ASBOX
86669 sed "s/^/$as_me: WARNING: /" >&2
86671 esac
86672 echo "$as_me:$LINENO: checking for iconv.h" >&5
86673 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
86674 if test "${ac_cv_header_iconv_h+set}" = set; then
86675 echo $ECHO_N "(cached) $ECHO_C" >&6
86676 else
86677 ac_cv_header_iconv_h=$ac_header_preproc
86679 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
86680 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
86683 if test $ac_cv_header_iconv_h = yes; then
86684 ac_has_iconv_h=yes
86685 else
86686 ac_has_iconv_h=no
86690 if test "${ac_cv_header_langinfo_h+set}" = set; then
86691 echo "$as_me:$LINENO: checking for langinfo.h" >&5
86692 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
86693 if test "${ac_cv_header_langinfo_h+set}" = set; then
86694 echo $ECHO_N "(cached) $ECHO_C" >&6
86696 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
86697 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
86698 else
86699 # Is the header compilable?
86700 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
86701 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
86702 cat >conftest.$ac_ext <<_ACEOF
86703 /* confdefs.h. */
86704 _ACEOF
86705 cat confdefs.h >>conftest.$ac_ext
86706 cat >>conftest.$ac_ext <<_ACEOF
86707 /* end confdefs.h. */
86708 $ac_includes_default
86709 #include <langinfo.h>
86710 _ACEOF
86711 rm -f conftest.$ac_objext
86712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86713 (eval $ac_compile) 2>conftest.er1
86714 ac_status=$?
86715 grep -v '^ *+' conftest.er1 >conftest.err
86716 rm -f conftest.er1
86717 cat conftest.err >&5
86718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86719 (exit $ac_status); } &&
86720 { ac_try='test -z "$ac_c_werror_flag"
86721 || test ! -s conftest.err'
86722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86723 (eval $ac_try) 2>&5
86724 ac_status=$?
86725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86726 (exit $ac_status); }; } &&
86727 { ac_try='test -s conftest.$ac_objext'
86728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86729 (eval $ac_try) 2>&5
86730 ac_status=$?
86731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86732 (exit $ac_status); }; }; then
86733 ac_header_compiler=yes
86734 else
86735 echo "$as_me: failed program was:" >&5
86736 sed 's/^/| /' conftest.$ac_ext >&5
86738 ac_header_compiler=no
86740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86741 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86742 echo "${ECHO_T}$ac_header_compiler" >&6
86744 # Is the header present?
86745 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
86746 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
86747 cat >conftest.$ac_ext <<_ACEOF
86748 /* confdefs.h. */
86749 _ACEOF
86750 cat confdefs.h >>conftest.$ac_ext
86751 cat >>conftest.$ac_ext <<_ACEOF
86752 /* end confdefs.h. */
86753 #include <langinfo.h>
86754 _ACEOF
86755 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86756 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86757 ac_status=$?
86758 grep -v '^ *+' conftest.er1 >conftest.err
86759 rm -f conftest.er1
86760 cat conftest.err >&5
86761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86762 (exit $ac_status); } >/dev/null; then
86763 if test -s conftest.err; then
86764 ac_cpp_err=$ac_c_preproc_warn_flag
86765 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86766 else
86767 ac_cpp_err=
86769 else
86770 ac_cpp_err=yes
86772 if test -z "$ac_cpp_err"; then
86773 ac_header_preproc=yes
86774 else
86775 echo "$as_me: failed program was:" >&5
86776 sed 's/^/| /' conftest.$ac_ext >&5
86778 ac_header_preproc=no
86780 rm -f conftest.err conftest.$ac_ext
86781 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86782 echo "${ECHO_T}$ac_header_preproc" >&6
86784 # So? What about this header?
86785 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86786 yes:no: )
86787 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
86788 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
86789 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
86790 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
86791 ac_header_preproc=yes
86793 no:yes:* )
86794 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
86795 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
86796 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
86797 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
86798 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
86799 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
86800 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
86801 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
86802 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
86803 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
86804 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
86805 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
86807 cat <<\_ASBOX
86808 ## ----------------------------------------- ##
86809 ## Report this to the package-unused lists. ##
86810 ## ----------------------------------------- ##
86811 _ASBOX
86813 sed "s/^/$as_me: WARNING: /" >&2
86815 esac
86816 echo "$as_me:$LINENO: checking for langinfo.h" >&5
86817 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
86818 if test "${ac_cv_header_langinfo_h+set}" = set; then
86819 echo $ECHO_N "(cached) $ECHO_C" >&6
86820 else
86821 ac_cv_header_langinfo_h=$ac_header_preproc
86823 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
86824 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
86827 if test $ac_cv_header_langinfo_h = yes; then
86828 ac_has_langinfo_h=yes
86829 else
86830 ac_has_langinfo_h=no
86835 # Check for existence of libiconv.a providing XPG2 wchar_t support.
86836 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
86837 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
86838 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
86839 echo $ECHO_N "(cached) $ECHO_C" >&6
86840 else
86841 ac_check_lib_save_LIBS=$LIBS
86842 LIBS="-liconv $LIBS"
86843 if test x$gcc_no_link = xyes; then
86844 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86845 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86846 { (exit 1); exit 1; }; }
86848 cat >conftest.$ac_ext <<_ACEOF
86849 /* confdefs.h. */
86850 _ACEOF
86851 cat confdefs.h >>conftest.$ac_ext
86852 cat >>conftest.$ac_ext <<_ACEOF
86853 /* end confdefs.h. */
86855 /* Override any gcc2 internal prototype to avoid an error. */
86856 #ifdef __cplusplus
86857 extern "C"
86858 #endif
86859 /* We use char because int might match the return type of a gcc2
86860 builtin and then its argument prototype would still apply. */
86861 char iconv ();
86863 main ()
86865 iconv ();
86867 return 0;
86869 _ACEOF
86870 rm -f conftest.$ac_objext conftest$ac_exeext
86871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86872 (eval $ac_link) 2>conftest.er1
86873 ac_status=$?
86874 grep -v '^ *+' conftest.er1 >conftest.err
86875 rm -f conftest.er1
86876 cat conftest.err >&5
86877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86878 (exit $ac_status); } &&
86879 { ac_try='test -z "$ac_c_werror_flag"
86880 || test ! -s conftest.err'
86881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86882 (eval $ac_try) 2>&5
86883 ac_status=$?
86884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86885 (exit $ac_status); }; } &&
86886 { ac_try='test -s conftest$ac_exeext'
86887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86888 (eval $ac_try) 2>&5
86889 ac_status=$?
86890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86891 (exit $ac_status); }; }; then
86892 ac_cv_lib_iconv_iconv=yes
86893 else
86894 echo "$as_me: failed program was:" >&5
86895 sed 's/^/| /' conftest.$ac_ext >&5
86897 ac_cv_lib_iconv_iconv=no
86899 rm -f conftest.err conftest.$ac_objext \
86900 conftest$ac_exeext conftest.$ac_ext
86901 LIBS=$ac_check_lib_save_LIBS
86903 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
86904 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
86905 if test $ac_cv_lib_iconv_iconv = yes; then
86906 LIBICONV="-liconv"
86909 ac_save_LIBS="$LIBS"
86910 LIBS="$LIBS $LIBICONV"
86917 for ac_func in iconv_open iconv_close iconv nl_langinfo
86919 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86920 echo "$as_me:$LINENO: checking for $ac_func" >&5
86921 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86922 if eval "test \"\${$as_ac_var+set}\" = set"; then
86923 echo $ECHO_N "(cached) $ECHO_C" >&6
86924 else
86925 if test x$gcc_no_link = xyes; then
86926 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86927 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86928 { (exit 1); exit 1; }; }
86930 cat >conftest.$ac_ext <<_ACEOF
86931 /* confdefs.h. */
86932 _ACEOF
86933 cat confdefs.h >>conftest.$ac_ext
86934 cat >>conftest.$ac_ext <<_ACEOF
86935 /* end confdefs.h. */
86936 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86937 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86938 #define $ac_func innocuous_$ac_func
86940 /* System header to define __stub macros and hopefully few prototypes,
86941 which can conflict with char $ac_func (); below.
86942 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86943 <limits.h> exists even on freestanding compilers. */
86945 #ifdef __STDC__
86946 # include <limits.h>
86947 #else
86948 # include <assert.h>
86949 #endif
86951 #undef $ac_func
86953 /* Override any gcc2 internal prototype to avoid an error. */
86954 #ifdef __cplusplus
86955 extern "C"
86957 #endif
86958 /* We use char because int might match the return type of a gcc2
86959 builtin and then its argument prototype would still apply. */
86960 char $ac_func ();
86961 /* The GNU C library defines this for functions which it implements
86962 to always fail with ENOSYS. Some functions are actually named
86963 something starting with __ and the normal name is an alias. */
86964 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86965 choke me
86966 #else
86967 char (*f) () = $ac_func;
86968 #endif
86969 #ifdef __cplusplus
86971 #endif
86974 main ()
86976 return f != $ac_func;
86978 return 0;
86980 _ACEOF
86981 rm -f conftest.$ac_objext conftest$ac_exeext
86982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86983 (eval $ac_link) 2>conftest.er1
86984 ac_status=$?
86985 grep -v '^ *+' conftest.er1 >conftest.err
86986 rm -f conftest.er1
86987 cat conftest.err >&5
86988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86989 (exit $ac_status); } &&
86990 { ac_try='test -z "$ac_c_werror_flag"
86991 || test ! -s conftest.err'
86992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86993 (eval $ac_try) 2>&5
86994 ac_status=$?
86995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86996 (exit $ac_status); }; } &&
86997 { ac_try='test -s conftest$ac_exeext'
86998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86999 (eval $ac_try) 2>&5
87000 ac_status=$?
87001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87002 (exit $ac_status); }; }; then
87003 eval "$as_ac_var=yes"
87004 else
87005 echo "$as_me: failed program was:" >&5
87006 sed 's/^/| /' conftest.$ac_ext >&5
87008 eval "$as_ac_var=no"
87010 rm -f conftest.err conftest.$ac_objext \
87011 conftest$ac_exeext conftest.$ac_ext
87013 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87014 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87015 if test `eval echo '${'$as_ac_var'}'` = yes; then
87016 cat >>confdefs.h <<_ACEOF
87017 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87018 _ACEOF
87019 ac_XPG2funcs=yes
87020 else
87021 ac_XPG2funcs=no
87023 done
87026 LIBS="$ac_save_LIBS"
87028 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
87029 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
87030 if test x"$ac_has_iconv_h" = xyes &&
87031 test x"$ac_has_langinfo_h" = xyes &&
87032 test x"$ac_XPG2funcs" = xyes;
87033 then
87034 ac_XPG2_wchar_t=yes
87035 else
87036 ac_XPG2_wchar_t=no
87038 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
87039 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
87041 # At the moment, only enable wchar_t specializations if all the
87042 # above support is present.
87043 if test x"$ac_isoC99_wchar_t" = xyes &&
87044 test x"$ac_XPG2_wchar_t" = xyes;
87045 then
87046 cat >>confdefs.h <<\_ACEOF
87047 #define _GLIBCXX_USE_WCHAR_T 1
87048 _ACEOF
87050 enable_wchar_t=yes
87053 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
87054 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
87055 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
87056 echo "${ECHO_T}$enable_wchar_t" >&6
87058 cat >>confdefs.h <<\_ACEOF
87059 #define HAVE_COPYSIGN 1
87060 _ACEOF
87062 cat >>confdefs.h <<\_ACEOF
87063 #define HAVE_COPYSIGNF 1
87064 _ACEOF
87066 cat >>confdefs.h <<\_ACEOF
87067 #define HAVE_FINITEF 1
87068 _ACEOF
87070 cat >>confdefs.h <<\_ACEOF
87071 #define HAVE_FINITE 1
87072 _ACEOF
87074 cat >>confdefs.h <<\_ACEOF
87075 #define HAVE_FREXPF 1
87076 _ACEOF
87078 cat >>confdefs.h <<\_ACEOF
87079 #define HAVE_HYPOTF 1
87080 _ACEOF
87082 cat >>confdefs.h <<\_ACEOF
87083 #define HAVE_ISINF 1
87084 _ACEOF
87086 cat >>confdefs.h <<\_ACEOF
87087 #define HAVE_ISINFF 1
87088 _ACEOF
87090 cat >>confdefs.h <<\_ACEOF
87091 #define HAVE_ISNAN 1
87092 _ACEOF
87094 cat >>confdefs.h <<\_ACEOF
87095 #define HAVE_ISNANF 1
87096 _ACEOF
87098 if test x"long_double_math_on_this_cpu" = x"yes"; then
87099 cat >>confdefs.h <<\_ACEOF
87100 #define HAVE_FINITEL 1
87101 _ACEOF
87103 cat >>confdefs.h <<\_ACEOF
87104 #define HAVE_ISINFL 1
87105 _ACEOF
87107 cat >>confdefs.h <<\_ACEOF
87108 #define HAVE_ISNANL 1
87109 _ACEOF
87113 *-netware)
87122 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
87123 sys/types.h locale.h float.h inttypes.h
87125 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
87126 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87127 echo "$as_me:$LINENO: checking for $ac_header" >&5
87128 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87129 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87130 echo $ECHO_N "(cached) $ECHO_C" >&6
87132 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87133 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87134 else
87135 # Is the header compilable?
87136 echo "$as_me:$LINENO: checking $ac_header usability" >&5
87137 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
87138 cat >conftest.$ac_ext <<_ACEOF
87139 /* confdefs.h. */
87140 _ACEOF
87141 cat confdefs.h >>conftest.$ac_ext
87142 cat >>conftest.$ac_ext <<_ACEOF
87143 /* end confdefs.h. */
87144 $ac_includes_default
87145 #include <$ac_header>
87146 _ACEOF
87147 rm -f conftest.$ac_objext
87148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87149 (eval $ac_compile) 2>conftest.er1
87150 ac_status=$?
87151 grep -v '^ *+' conftest.er1 >conftest.err
87152 rm -f conftest.er1
87153 cat conftest.err >&5
87154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87155 (exit $ac_status); } &&
87156 { ac_try='test -z "$ac_c_werror_flag"
87157 || test ! -s conftest.err'
87158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87159 (eval $ac_try) 2>&5
87160 ac_status=$?
87161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87162 (exit $ac_status); }; } &&
87163 { ac_try='test -s conftest.$ac_objext'
87164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87165 (eval $ac_try) 2>&5
87166 ac_status=$?
87167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87168 (exit $ac_status); }; }; then
87169 ac_header_compiler=yes
87170 else
87171 echo "$as_me: failed program was:" >&5
87172 sed 's/^/| /' conftest.$ac_ext >&5
87174 ac_header_compiler=no
87176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87177 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
87178 echo "${ECHO_T}$ac_header_compiler" >&6
87180 # Is the header present?
87181 echo "$as_me:$LINENO: checking $ac_header presence" >&5
87182 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
87183 cat >conftest.$ac_ext <<_ACEOF
87184 /* confdefs.h. */
87185 _ACEOF
87186 cat confdefs.h >>conftest.$ac_ext
87187 cat >>conftest.$ac_ext <<_ACEOF
87188 /* end confdefs.h. */
87189 #include <$ac_header>
87190 _ACEOF
87191 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
87192 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
87193 ac_status=$?
87194 grep -v '^ *+' conftest.er1 >conftest.err
87195 rm -f conftest.er1
87196 cat conftest.err >&5
87197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87198 (exit $ac_status); } >/dev/null; then
87199 if test -s conftest.err; then
87200 ac_cpp_err=$ac_c_preproc_warn_flag
87201 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
87202 else
87203 ac_cpp_err=
87205 else
87206 ac_cpp_err=yes
87208 if test -z "$ac_cpp_err"; then
87209 ac_header_preproc=yes
87210 else
87211 echo "$as_me: failed program was:" >&5
87212 sed 's/^/| /' conftest.$ac_ext >&5
87214 ac_header_preproc=no
87216 rm -f conftest.err conftest.$ac_ext
87217 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
87218 echo "${ECHO_T}$ac_header_preproc" >&6
87220 # So? What about this header?
87221 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
87222 yes:no: )
87223 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
87224 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
87225 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
87226 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
87227 ac_header_preproc=yes
87229 no:yes:* )
87230 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
87231 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
87232 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
87233 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
87234 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
87235 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
87236 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
87237 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
87238 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
87239 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
87240 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
87241 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
87243 cat <<\_ASBOX
87244 ## ----------------------------------------- ##
87245 ## Report this to the package-unused lists. ##
87246 ## ----------------------------------------- ##
87247 _ASBOX
87249 sed "s/^/$as_me: WARNING: /" >&2
87251 esac
87252 echo "$as_me:$LINENO: checking for $ac_header" >&5
87253 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87254 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87255 echo $ECHO_N "(cached) $ECHO_C" >&6
87256 else
87257 eval "$as_ac_Header=\$ac_header_preproc"
87259 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87260 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87263 if test `eval echo '${'$as_ac_Header'}'` = yes; then
87264 cat >>confdefs.h <<_ACEOF
87265 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
87266 _ACEOF
87270 done
87272 SECTION_FLAGS='-ffunction-sections -fdata-sections'
87275 # If we're not using GNU ld, then there's no point in even trying these
87276 # tests. Check for that first. We should have already tested for gld
87277 # by now (in libtool), but require it now just to be safe...
87278 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
87279 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
87283 # The name set by libtool depends on the version of libtool. Shame on us
87284 # for depending on an impl detail, but c'est la vie. Older versions used
87285 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
87286 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
87287 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
87288 # set (hence we're using an older libtool), then set it.
87289 if test x${with_gnu_ld+set} != xset; then
87290 if test x${ac_cv_prog_gnu_ld+set} != xset; then
87291 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
87292 with_gnu_ld=no
87293 else
87294 with_gnu_ld=$ac_cv_prog_gnu_ld
87298 # Start by getting the version number. I think the libtool test already
87299 # does some of this, but throws away the result.
87301 ldver=`$LD --version 2>/dev/null | head -1 | \
87302 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
87304 glibcxx_gnu_ld_version=`echo $ldver | \
87305 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
87307 # Set --gc-sections.
87308 if test "$with_gnu_ld" = "notbroken"; then
87309 # GNU ld it is! Joy and bunny rabbits!
87311 # All these tests are for C++; save the language and the compiler flags.
87312 # Need to do this so that g++ won't try to link in libstdc++
87313 ac_test_CFLAGS="${CFLAGS+set}"
87314 ac_save_CFLAGS="$CFLAGS"
87315 CFLAGS='-x c++ -Wl,--gc-sections'
87317 # Check for -Wl,--gc-sections
87318 # XXX This test is broken at the moment, as symbols required for linking
87319 # are now in libsupc++ (not built yet). In addition, this test has
87320 # cored on solaris in the past. In addition, --gc-sections doesn't
87321 # really work at the moment (keeps on discarding used sections, first
87322 # .eh_frame and now some of the glibc sections for iconv).
87323 # Bzzzzt. Thanks for playing, maybe next time.
87324 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
87325 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
87326 if test "$cross_compiling" = yes; then
87327 ac_sectionLDflags=yes
87328 else
87329 cat >conftest.$ac_ext <<_ACEOF
87330 /* confdefs.h. */
87331 _ACEOF
87332 cat confdefs.h >>conftest.$ac_ext
87333 cat >>conftest.$ac_ext <<_ACEOF
87334 /* end confdefs.h. */
87336 int main(void)
87338 try { throw 1; }
87339 catch (...) { };
87340 return 0;
87343 _ACEOF
87344 rm -f conftest$ac_exeext
87345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87346 (eval $ac_link) 2>&5
87347 ac_status=$?
87348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87349 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
87350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87351 (eval $ac_try) 2>&5
87352 ac_status=$?
87353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87354 (exit $ac_status); }; }; then
87355 ac_sectionLDflags=yes
87356 else
87357 echo "$as_me: program exited with status $ac_status" >&5
87358 echo "$as_me: failed program was:" >&5
87359 sed 's/^/| /' conftest.$ac_ext >&5
87361 ( exit $ac_status )
87362 ac_sectionLDflags=no
87364 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
87366 if test "$ac_test_CFLAGS" = set; then
87367 CFLAGS="$ac_save_CFLAGS"
87368 else
87369 # this is the suspicious part
87370 CFLAGS=''
87372 if test "$ac_sectionLDflags" = "yes"; then
87373 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
87375 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
87376 echo "${ECHO_T}$ac_sectionLDflags" >&6
87379 # Set linker optimization flags.
87380 if test x"$with_gnu_ld" = x"yes"; then
87381 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
87389 echo "$as_me:$LINENO: checking for main in -lm" >&5
87390 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
87391 if test "${ac_cv_lib_m_main+set}" = set; then
87392 echo $ECHO_N "(cached) $ECHO_C" >&6
87393 else
87394 ac_check_lib_save_LIBS=$LIBS
87395 LIBS="-lm $LIBS"
87396 if test x$gcc_no_link = xyes; then
87397 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87398 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87399 { (exit 1); exit 1; }; }
87401 cat >conftest.$ac_ext <<_ACEOF
87402 /* confdefs.h. */
87403 _ACEOF
87404 cat confdefs.h >>conftest.$ac_ext
87405 cat >>conftest.$ac_ext <<_ACEOF
87406 /* end confdefs.h. */
87410 main ()
87412 main ();
87414 return 0;
87416 _ACEOF
87417 rm -f conftest.$ac_objext conftest$ac_exeext
87418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87419 (eval $ac_link) 2>conftest.er1
87420 ac_status=$?
87421 grep -v '^ *+' conftest.er1 >conftest.err
87422 rm -f conftest.er1
87423 cat conftest.err >&5
87424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87425 (exit $ac_status); } &&
87426 { ac_try='test -z "$ac_c_werror_flag"
87427 || test ! -s conftest.err'
87428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87429 (eval $ac_try) 2>&5
87430 ac_status=$?
87431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87432 (exit $ac_status); }; } &&
87433 { ac_try='test -s conftest$ac_exeext'
87434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87435 (eval $ac_try) 2>&5
87436 ac_status=$?
87437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87438 (exit $ac_status); }; }; then
87439 ac_cv_lib_m_main=yes
87440 else
87441 echo "$as_me: failed program was:" >&5
87442 sed 's/^/| /' conftest.$ac_ext >&5
87444 ac_cv_lib_m_main=no
87446 rm -f conftest.err conftest.$ac_objext \
87447 conftest$ac_exeext conftest.$ac_ext
87448 LIBS=$ac_check_lib_save_LIBS
87450 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
87451 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
87452 if test $ac_cv_lib_m_main = yes; then
87453 cat >>confdefs.h <<_ACEOF
87454 #define HAVE_LIBM 1
87455 _ACEOF
87457 LIBS="-lm $LIBS"
87462 for ac_func in copysignf
87464 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87465 echo "$as_me:$LINENO: checking for $ac_func" >&5
87466 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87467 if eval "test \"\${$as_ac_var+set}\" = set"; then
87468 echo $ECHO_N "(cached) $ECHO_C" >&6
87469 else
87470 if test x$gcc_no_link = xyes; then
87471 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87472 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87473 { (exit 1); exit 1; }; }
87475 cat >conftest.$ac_ext <<_ACEOF
87476 /* confdefs.h. */
87477 _ACEOF
87478 cat confdefs.h >>conftest.$ac_ext
87479 cat >>conftest.$ac_ext <<_ACEOF
87480 /* end confdefs.h. */
87481 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87482 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87483 #define $ac_func innocuous_$ac_func
87485 /* System header to define __stub macros and hopefully few prototypes,
87486 which can conflict with char $ac_func (); below.
87487 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87488 <limits.h> exists even on freestanding compilers. */
87490 #ifdef __STDC__
87491 # include <limits.h>
87492 #else
87493 # include <assert.h>
87494 #endif
87496 #undef $ac_func
87498 /* Override any gcc2 internal prototype to avoid an error. */
87499 #ifdef __cplusplus
87500 extern "C"
87502 #endif
87503 /* We use char because int might match the return type of a gcc2
87504 builtin and then its argument prototype would still apply. */
87505 char $ac_func ();
87506 /* The GNU C library defines this for functions which it implements
87507 to always fail with ENOSYS. Some functions are actually named
87508 something starting with __ and the normal name is an alias. */
87509 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87510 choke me
87511 #else
87512 char (*f) () = $ac_func;
87513 #endif
87514 #ifdef __cplusplus
87516 #endif
87519 main ()
87521 return f != $ac_func;
87523 return 0;
87525 _ACEOF
87526 rm -f conftest.$ac_objext conftest$ac_exeext
87527 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87528 (eval $ac_link) 2>conftest.er1
87529 ac_status=$?
87530 grep -v '^ *+' conftest.er1 >conftest.err
87531 rm -f conftest.er1
87532 cat conftest.err >&5
87533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87534 (exit $ac_status); } &&
87535 { ac_try='test -z "$ac_c_werror_flag"
87536 || test ! -s conftest.err'
87537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87538 (eval $ac_try) 2>&5
87539 ac_status=$?
87540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87541 (exit $ac_status); }; } &&
87542 { ac_try='test -s conftest$ac_exeext'
87543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87544 (eval $ac_try) 2>&5
87545 ac_status=$?
87546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87547 (exit $ac_status); }; }; then
87548 eval "$as_ac_var=yes"
87549 else
87550 echo "$as_me: failed program was:" >&5
87551 sed 's/^/| /' conftest.$ac_ext >&5
87553 eval "$as_ac_var=no"
87555 rm -f conftest.err conftest.$ac_objext \
87556 conftest$ac_exeext conftest.$ac_ext
87558 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87559 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87560 if test `eval echo '${'$as_ac_var'}'` = yes; then
87561 cat >>confdefs.h <<_ACEOF
87562 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87563 _ACEOF
87565 else
87566 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
87568 done
87572 for ac_func in __signbit
87574 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87575 echo "$as_me:$LINENO: checking for $ac_func" >&5
87576 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87577 if eval "test \"\${$as_ac_var+set}\" = set"; then
87578 echo $ECHO_N "(cached) $ECHO_C" >&6
87579 else
87580 if test x$gcc_no_link = xyes; then
87581 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87582 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87583 { (exit 1); exit 1; }; }
87585 cat >conftest.$ac_ext <<_ACEOF
87586 /* confdefs.h. */
87587 _ACEOF
87588 cat confdefs.h >>conftest.$ac_ext
87589 cat >>conftest.$ac_ext <<_ACEOF
87590 /* end confdefs.h. */
87591 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87592 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87593 #define $ac_func innocuous_$ac_func
87595 /* System header to define __stub macros and hopefully few prototypes,
87596 which can conflict with char $ac_func (); below.
87597 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87598 <limits.h> exists even on freestanding compilers. */
87600 #ifdef __STDC__
87601 # include <limits.h>
87602 #else
87603 # include <assert.h>
87604 #endif
87606 #undef $ac_func
87608 /* Override any gcc2 internal prototype to avoid an error. */
87609 #ifdef __cplusplus
87610 extern "C"
87612 #endif
87613 /* We use char because int might match the return type of a gcc2
87614 builtin and then its argument prototype would still apply. */
87615 char $ac_func ();
87616 /* The GNU C library defines this for functions which it implements
87617 to always fail with ENOSYS. Some functions are actually named
87618 something starting with __ and the normal name is an alias. */
87619 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87620 choke me
87621 #else
87622 char (*f) () = $ac_func;
87623 #endif
87624 #ifdef __cplusplus
87626 #endif
87629 main ()
87631 return f != $ac_func;
87633 return 0;
87635 _ACEOF
87636 rm -f conftest.$ac_objext conftest$ac_exeext
87637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87638 (eval $ac_link) 2>conftest.er1
87639 ac_status=$?
87640 grep -v '^ *+' conftest.er1 >conftest.err
87641 rm -f conftest.er1
87642 cat conftest.err >&5
87643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87644 (exit $ac_status); } &&
87645 { ac_try='test -z "$ac_c_werror_flag"
87646 || test ! -s conftest.err'
87647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87648 (eval $ac_try) 2>&5
87649 ac_status=$?
87650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87651 (exit $ac_status); }; } &&
87652 { ac_try='test -s conftest$ac_exeext'
87653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87654 (eval $ac_try) 2>&5
87655 ac_status=$?
87656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87657 (exit $ac_status); }; }; then
87658 eval "$as_ac_var=yes"
87659 else
87660 echo "$as_me: failed program was:" >&5
87661 sed 's/^/| /' conftest.$ac_ext >&5
87663 eval "$as_ac_var=no"
87665 rm -f conftest.err conftest.$ac_objext \
87666 conftest$ac_exeext conftest.$ac_ext
87668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87669 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87670 if test `eval echo '${'$as_ac_var'}'` = yes; then
87671 cat >>confdefs.h <<_ACEOF
87672 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87673 _ACEOF
87675 else
87676 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
87678 done
87682 for ac_func in __signbitf
87684 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87685 echo "$as_me:$LINENO: checking for $ac_func" >&5
87686 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87687 if eval "test \"\${$as_ac_var+set}\" = set"; then
87688 echo $ECHO_N "(cached) $ECHO_C" >&6
87689 else
87690 if test x$gcc_no_link = xyes; then
87691 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87692 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87693 { (exit 1); exit 1; }; }
87695 cat >conftest.$ac_ext <<_ACEOF
87696 /* confdefs.h. */
87697 _ACEOF
87698 cat confdefs.h >>conftest.$ac_ext
87699 cat >>conftest.$ac_ext <<_ACEOF
87700 /* end confdefs.h. */
87701 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87702 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87703 #define $ac_func innocuous_$ac_func
87705 /* System header to define __stub macros and hopefully few prototypes,
87706 which can conflict with char $ac_func (); below.
87707 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87708 <limits.h> exists even on freestanding compilers. */
87710 #ifdef __STDC__
87711 # include <limits.h>
87712 #else
87713 # include <assert.h>
87714 #endif
87716 #undef $ac_func
87718 /* Override any gcc2 internal prototype to avoid an error. */
87719 #ifdef __cplusplus
87720 extern "C"
87722 #endif
87723 /* We use char because int might match the return type of a gcc2
87724 builtin and then its argument prototype would still apply. */
87725 char $ac_func ();
87726 /* The GNU C library defines this for functions which it implements
87727 to always fail with ENOSYS. Some functions are actually named
87728 something starting with __ and the normal name is an alias. */
87729 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87730 choke me
87731 #else
87732 char (*f) () = $ac_func;
87733 #endif
87734 #ifdef __cplusplus
87736 #endif
87739 main ()
87741 return f != $ac_func;
87743 return 0;
87745 _ACEOF
87746 rm -f conftest.$ac_objext conftest$ac_exeext
87747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87748 (eval $ac_link) 2>conftest.er1
87749 ac_status=$?
87750 grep -v '^ *+' conftest.er1 >conftest.err
87751 rm -f conftest.er1
87752 cat conftest.err >&5
87753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87754 (exit $ac_status); } &&
87755 { ac_try='test -z "$ac_c_werror_flag"
87756 || test ! -s conftest.err'
87757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87758 (eval $ac_try) 2>&5
87759 ac_status=$?
87760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87761 (exit $ac_status); }; } &&
87762 { ac_try='test -s conftest$ac_exeext'
87763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87764 (eval $ac_try) 2>&5
87765 ac_status=$?
87766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87767 (exit $ac_status); }; }; then
87768 eval "$as_ac_var=yes"
87769 else
87770 echo "$as_me: failed program was:" >&5
87771 sed 's/^/| /' conftest.$ac_ext >&5
87773 eval "$as_ac_var=no"
87775 rm -f conftest.err conftest.$ac_objext \
87776 conftest$ac_exeext conftest.$ac_ext
87778 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87779 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87780 if test `eval echo '${'$as_ac_var'}'` = yes; then
87781 cat >>confdefs.h <<_ACEOF
87782 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87783 _ACEOF
87785 else
87786 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
87788 done
87791 if test x$ac_cv_func_copysignl = x"yes"; then
87793 for ac_func in __signbitl
87795 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87796 echo "$as_me:$LINENO: checking for $ac_func" >&5
87797 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87798 if eval "test \"\${$as_ac_var+set}\" = set"; then
87799 echo $ECHO_N "(cached) $ECHO_C" >&6
87800 else
87801 if test x$gcc_no_link = xyes; then
87802 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87803 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87804 { (exit 1); exit 1; }; }
87806 cat >conftest.$ac_ext <<_ACEOF
87807 /* confdefs.h. */
87808 _ACEOF
87809 cat confdefs.h >>conftest.$ac_ext
87810 cat >>conftest.$ac_ext <<_ACEOF
87811 /* end confdefs.h. */
87812 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87813 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87814 #define $ac_func innocuous_$ac_func
87816 /* System header to define __stub macros and hopefully few prototypes,
87817 which can conflict with char $ac_func (); below.
87818 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87819 <limits.h> exists even on freestanding compilers. */
87821 #ifdef __STDC__
87822 # include <limits.h>
87823 #else
87824 # include <assert.h>
87825 #endif
87827 #undef $ac_func
87829 /* Override any gcc2 internal prototype to avoid an error. */
87830 #ifdef __cplusplus
87831 extern "C"
87833 #endif
87834 /* We use char because int might match the return type of a gcc2
87835 builtin and then its argument prototype would still apply. */
87836 char $ac_func ();
87837 /* The GNU C library defines this for functions which it implements
87838 to always fail with ENOSYS. Some functions are actually named
87839 something starting with __ and the normal name is an alias. */
87840 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87841 choke me
87842 #else
87843 char (*f) () = $ac_func;
87844 #endif
87845 #ifdef __cplusplus
87847 #endif
87850 main ()
87852 return f != $ac_func;
87854 return 0;
87856 _ACEOF
87857 rm -f conftest.$ac_objext conftest$ac_exeext
87858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87859 (eval $ac_link) 2>conftest.er1
87860 ac_status=$?
87861 grep -v '^ *+' conftest.er1 >conftest.err
87862 rm -f conftest.er1
87863 cat conftest.err >&5
87864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87865 (exit $ac_status); } &&
87866 { ac_try='test -z "$ac_c_werror_flag"
87867 || test ! -s conftest.err'
87868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87869 (eval $ac_try) 2>&5
87870 ac_status=$?
87871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87872 (exit $ac_status); }; } &&
87873 { ac_try='test -s conftest$ac_exeext'
87874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87875 (eval $ac_try) 2>&5
87876 ac_status=$?
87877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87878 (exit $ac_status); }; }; then
87879 eval "$as_ac_var=yes"
87880 else
87881 echo "$as_me: failed program was:" >&5
87882 sed 's/^/| /' conftest.$ac_ext >&5
87884 eval "$as_ac_var=no"
87886 rm -f conftest.err conftest.$ac_objext \
87887 conftest$ac_exeext conftest.$ac_ext
87889 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87890 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87891 if test `eval echo '${'$as_ac_var'}'` = yes; then
87892 cat >>confdefs.h <<_ACEOF
87893 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87894 _ACEOF
87896 else
87897 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
87899 done
87903 # Used in libmath/Makefile.am.
87904 if test -n "$LIBMATHOBJS"; then
87905 need_libmath=yes
87910 # Test wchar.h for mbstate_t, which is needed for char_traits and
87911 # others even if wchar_t support is not on.
87912 echo "$as_me:$LINENO: checking for mbstate_t" >&5
87913 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
87914 cat >conftest.$ac_ext <<_ACEOF
87915 /* confdefs.h. */
87916 _ACEOF
87917 cat confdefs.h >>conftest.$ac_ext
87918 cat >>conftest.$ac_ext <<_ACEOF
87919 /* end confdefs.h. */
87920 #include <wchar.h>
87922 main ()
87924 mbstate_t teststate;
87926 return 0;
87928 _ACEOF
87929 rm -f conftest.$ac_objext
87930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87931 (eval $ac_compile) 2>conftest.er1
87932 ac_status=$?
87933 grep -v '^ *+' conftest.er1 >conftest.err
87934 rm -f conftest.er1
87935 cat conftest.err >&5
87936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87937 (exit $ac_status); } &&
87938 { ac_try='test -z "$ac_c_werror_flag"
87939 || test ! -s conftest.err'
87940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87941 (eval $ac_try) 2>&5
87942 ac_status=$?
87943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87944 (exit $ac_status); }; } &&
87945 { ac_try='test -s conftest.$ac_objext'
87946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87947 (eval $ac_try) 2>&5
87948 ac_status=$?
87949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87950 (exit $ac_status); }; }; then
87951 have_mbstate_t=yes
87952 else
87953 echo "$as_me: failed program was:" >&5
87954 sed 's/^/| /' conftest.$ac_ext >&5
87956 have_mbstate_t=no
87958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87959 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
87960 echo "${ECHO_T}$have_mbstate_t" >&6
87961 if test x"$have_mbstate_t" = xyes; then
87962 cat >>confdefs.h <<\_ACEOF
87963 #define HAVE_MBSTATE_T 1
87964 _ACEOF
87968 # Sanity check for existence of ISO C99 headers for extended encoding.
87970 for ac_header in wchar.h
87972 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
87973 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87974 echo "$as_me:$LINENO: checking for $ac_header" >&5
87975 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87976 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87977 echo $ECHO_N "(cached) $ECHO_C" >&6
87979 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87980 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87981 else
87982 # Is the header compilable?
87983 echo "$as_me:$LINENO: checking $ac_header usability" >&5
87984 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
87985 cat >conftest.$ac_ext <<_ACEOF
87986 /* confdefs.h. */
87987 _ACEOF
87988 cat confdefs.h >>conftest.$ac_ext
87989 cat >>conftest.$ac_ext <<_ACEOF
87990 /* end confdefs.h. */
87991 $ac_includes_default
87992 #include <$ac_header>
87993 _ACEOF
87994 rm -f conftest.$ac_objext
87995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87996 (eval $ac_compile) 2>conftest.er1
87997 ac_status=$?
87998 grep -v '^ *+' conftest.er1 >conftest.err
87999 rm -f conftest.er1
88000 cat conftest.err >&5
88001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88002 (exit $ac_status); } &&
88003 { ac_try='test -z "$ac_c_werror_flag"
88004 || test ! -s conftest.err'
88005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88006 (eval $ac_try) 2>&5
88007 ac_status=$?
88008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88009 (exit $ac_status); }; } &&
88010 { ac_try='test -s conftest.$ac_objext'
88011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88012 (eval $ac_try) 2>&5
88013 ac_status=$?
88014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88015 (exit $ac_status); }; }; then
88016 ac_header_compiler=yes
88017 else
88018 echo "$as_me: failed program was:" >&5
88019 sed 's/^/| /' conftest.$ac_ext >&5
88021 ac_header_compiler=no
88023 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88024 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
88025 echo "${ECHO_T}$ac_header_compiler" >&6
88027 # Is the header present?
88028 echo "$as_me:$LINENO: checking $ac_header presence" >&5
88029 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
88030 cat >conftest.$ac_ext <<_ACEOF
88031 /* confdefs.h. */
88032 _ACEOF
88033 cat confdefs.h >>conftest.$ac_ext
88034 cat >>conftest.$ac_ext <<_ACEOF
88035 /* end confdefs.h. */
88036 #include <$ac_header>
88037 _ACEOF
88038 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
88039 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
88040 ac_status=$?
88041 grep -v '^ *+' conftest.er1 >conftest.err
88042 rm -f conftest.er1
88043 cat conftest.err >&5
88044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88045 (exit $ac_status); } >/dev/null; then
88046 if test -s conftest.err; then
88047 ac_cpp_err=$ac_c_preproc_warn_flag
88048 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
88049 else
88050 ac_cpp_err=
88052 else
88053 ac_cpp_err=yes
88055 if test -z "$ac_cpp_err"; then
88056 ac_header_preproc=yes
88057 else
88058 echo "$as_me: failed program was:" >&5
88059 sed 's/^/| /' conftest.$ac_ext >&5
88061 ac_header_preproc=no
88063 rm -f conftest.err conftest.$ac_ext
88064 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
88065 echo "${ECHO_T}$ac_header_preproc" >&6
88067 # So? What about this header?
88068 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
88069 yes:no: )
88070 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
88071 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
88072 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
88073 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
88074 ac_header_preproc=yes
88076 no:yes:* )
88077 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
88078 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
88079 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
88080 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
88081 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
88082 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
88083 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
88084 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
88085 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
88086 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
88087 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
88088 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
88090 cat <<\_ASBOX
88091 ## ----------------------------------------- ##
88092 ## Report this to the package-unused lists. ##
88093 ## ----------------------------------------- ##
88094 _ASBOX
88096 sed "s/^/$as_me: WARNING: /" >&2
88098 esac
88099 echo "$as_me:$LINENO: checking for $ac_header" >&5
88100 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
88101 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88102 echo $ECHO_N "(cached) $ECHO_C" >&6
88103 else
88104 eval "$as_ac_Header=\$ac_header_preproc"
88106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
88107 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
88110 if test `eval echo '${'$as_ac_Header'}'` = yes; then
88111 cat >>confdefs.h <<_ACEOF
88112 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
88113 _ACEOF
88114 ac_has_wchar_h=yes
88115 else
88116 ac_has_wchar_h=no
88119 done
88122 for ac_header in wctype.h
88124 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
88125 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88126 echo "$as_me:$LINENO: checking for $ac_header" >&5
88127 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
88128 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88129 echo $ECHO_N "(cached) $ECHO_C" >&6
88131 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
88132 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
88133 else
88134 # Is the header compilable?
88135 echo "$as_me:$LINENO: checking $ac_header usability" >&5
88136 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
88137 cat >conftest.$ac_ext <<_ACEOF
88138 /* confdefs.h. */
88139 _ACEOF
88140 cat confdefs.h >>conftest.$ac_ext
88141 cat >>conftest.$ac_ext <<_ACEOF
88142 /* end confdefs.h. */
88143 $ac_includes_default
88144 #include <$ac_header>
88145 _ACEOF
88146 rm -f conftest.$ac_objext
88147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88148 (eval $ac_compile) 2>conftest.er1
88149 ac_status=$?
88150 grep -v '^ *+' conftest.er1 >conftest.err
88151 rm -f conftest.er1
88152 cat conftest.err >&5
88153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88154 (exit $ac_status); } &&
88155 { ac_try='test -z "$ac_c_werror_flag"
88156 || test ! -s conftest.err'
88157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88158 (eval $ac_try) 2>&5
88159 ac_status=$?
88160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88161 (exit $ac_status); }; } &&
88162 { ac_try='test -s conftest.$ac_objext'
88163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88164 (eval $ac_try) 2>&5
88165 ac_status=$?
88166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88167 (exit $ac_status); }; }; then
88168 ac_header_compiler=yes
88169 else
88170 echo "$as_me: failed program was:" >&5
88171 sed 's/^/| /' conftest.$ac_ext >&5
88173 ac_header_compiler=no
88175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88176 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
88177 echo "${ECHO_T}$ac_header_compiler" >&6
88179 # Is the header present?
88180 echo "$as_me:$LINENO: checking $ac_header presence" >&5
88181 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
88182 cat >conftest.$ac_ext <<_ACEOF
88183 /* confdefs.h. */
88184 _ACEOF
88185 cat confdefs.h >>conftest.$ac_ext
88186 cat >>conftest.$ac_ext <<_ACEOF
88187 /* end confdefs.h. */
88188 #include <$ac_header>
88189 _ACEOF
88190 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
88191 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
88192 ac_status=$?
88193 grep -v '^ *+' conftest.er1 >conftest.err
88194 rm -f conftest.er1
88195 cat conftest.err >&5
88196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88197 (exit $ac_status); } >/dev/null; then
88198 if test -s conftest.err; then
88199 ac_cpp_err=$ac_c_preproc_warn_flag
88200 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
88201 else
88202 ac_cpp_err=
88204 else
88205 ac_cpp_err=yes
88207 if test -z "$ac_cpp_err"; then
88208 ac_header_preproc=yes
88209 else
88210 echo "$as_me: failed program was:" >&5
88211 sed 's/^/| /' conftest.$ac_ext >&5
88213 ac_header_preproc=no
88215 rm -f conftest.err conftest.$ac_ext
88216 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
88217 echo "${ECHO_T}$ac_header_preproc" >&6
88219 # So? What about this header?
88220 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
88221 yes:no: )
88222 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
88223 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
88224 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
88225 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
88226 ac_header_preproc=yes
88228 no:yes:* )
88229 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
88230 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
88231 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
88232 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
88233 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
88234 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
88235 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
88236 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
88237 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
88238 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
88239 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
88240 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
88242 cat <<\_ASBOX
88243 ## ----------------------------------------- ##
88244 ## Report this to the package-unused lists. ##
88245 ## ----------------------------------------- ##
88246 _ASBOX
88248 sed "s/^/$as_me: WARNING: /" >&2
88250 esac
88251 echo "$as_me:$LINENO: checking for $ac_header" >&5
88252 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
88253 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88254 echo $ECHO_N "(cached) $ECHO_C" >&6
88255 else
88256 eval "$as_ac_Header=\$ac_header_preproc"
88258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
88259 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
88262 if test `eval echo '${'$as_ac_Header'}'` = yes; then
88263 cat >>confdefs.h <<_ACEOF
88264 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
88265 _ACEOF
88266 ac_has_wctype_h=yes
88267 else
88268 ac_has_wctype_h=no
88271 done
88274 # Only continue checking if the ISO C99 headers exist and support is on.
88275 if test x"$ac_has_wchar_h" = xyes &&
88276 test x"$ac_has_wctype_h" = xyes &&
88277 test x"$enable_c_mbchar" != xno; then
88279 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
88280 # numeric_limits can instantiate type_traits<wchar_t>
88281 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
88282 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
88283 cat >conftest.$ac_ext <<_ACEOF
88284 /* confdefs.h. */
88285 _ACEOF
88286 cat confdefs.h >>conftest.$ac_ext
88287 cat >>conftest.$ac_ext <<_ACEOF
88288 /* end confdefs.h. */
88289 #include <wchar.h>
88291 main ()
88293 int i = WCHAR_MIN; int j = WCHAR_MAX;
88295 return 0;
88297 _ACEOF
88298 rm -f conftest.$ac_objext
88299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88300 (eval $ac_compile) 2>conftest.er1
88301 ac_status=$?
88302 grep -v '^ *+' conftest.er1 >conftest.err
88303 rm -f conftest.er1
88304 cat conftest.err >&5
88305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88306 (exit $ac_status); } &&
88307 { ac_try='test -z "$ac_c_werror_flag"
88308 || test ! -s conftest.err'
88309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88310 (eval $ac_try) 2>&5
88311 ac_status=$?
88312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88313 (exit $ac_status); }; } &&
88314 { ac_try='test -s conftest.$ac_objext'
88315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88316 (eval $ac_try) 2>&5
88317 ac_status=$?
88318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88319 (exit $ac_status); }; }; then
88320 has_wchar_minmax=yes
88321 else
88322 echo "$as_me: failed program was:" >&5
88323 sed 's/^/| /' conftest.$ac_ext >&5
88325 has_wchar_minmax=no
88327 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88328 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
88329 echo "${ECHO_T}$has_wchar_minmax" >&6
88331 # Test wchar.h for WEOF, which is what we use to determine whether
88332 # to specialize for char_traits<wchar_t> or not.
88333 echo "$as_me:$LINENO: checking for WEOF" >&5
88334 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
88335 cat >conftest.$ac_ext <<_ACEOF
88336 /* confdefs.h. */
88337 _ACEOF
88338 cat confdefs.h >>conftest.$ac_ext
88339 cat >>conftest.$ac_ext <<_ACEOF
88340 /* end confdefs.h. */
88342 #include <wchar.h>
88343 #include <stddef.h>
88345 main ()
88347 wint_t i = WEOF;
88349 return 0;
88351 _ACEOF
88352 rm -f conftest.$ac_objext
88353 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88354 (eval $ac_compile) 2>conftest.er1
88355 ac_status=$?
88356 grep -v '^ *+' conftest.er1 >conftest.err
88357 rm -f conftest.er1
88358 cat conftest.err >&5
88359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88360 (exit $ac_status); } &&
88361 { ac_try='test -z "$ac_c_werror_flag"
88362 || test ! -s conftest.err'
88363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88364 (eval $ac_try) 2>&5
88365 ac_status=$?
88366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88367 (exit $ac_status); }; } &&
88368 { ac_try='test -s conftest.$ac_objext'
88369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88370 (eval $ac_try) 2>&5
88371 ac_status=$?
88372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88373 (exit $ac_status); }; }; then
88374 has_weof=yes
88375 else
88376 echo "$as_me: failed program was:" >&5
88377 sed 's/^/| /' conftest.$ac_ext >&5
88379 has_weof=no
88381 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88382 echo "$as_me:$LINENO: result: $has_weof" >&5
88383 echo "${ECHO_T}$has_weof" >&6
88385 # Tests for wide character functions used in char_traits<wchar_t>.
88386 ac_wfuncs=yes
88393 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
88395 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88396 echo "$as_me:$LINENO: checking for $ac_func" >&5
88397 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88398 if eval "test \"\${$as_ac_var+set}\" = set"; then
88399 echo $ECHO_N "(cached) $ECHO_C" >&6
88400 else
88401 if test x$gcc_no_link = xyes; then
88402 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88403 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88404 { (exit 1); exit 1; }; }
88406 cat >conftest.$ac_ext <<_ACEOF
88407 /* confdefs.h. */
88408 _ACEOF
88409 cat confdefs.h >>conftest.$ac_ext
88410 cat >>conftest.$ac_ext <<_ACEOF
88411 /* end confdefs.h. */
88412 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88413 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88414 #define $ac_func innocuous_$ac_func
88416 /* System header to define __stub macros and hopefully few prototypes,
88417 which can conflict with char $ac_func (); below.
88418 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88419 <limits.h> exists even on freestanding compilers. */
88421 #ifdef __STDC__
88422 # include <limits.h>
88423 #else
88424 # include <assert.h>
88425 #endif
88427 #undef $ac_func
88429 /* Override any gcc2 internal prototype to avoid an error. */
88430 #ifdef __cplusplus
88431 extern "C"
88433 #endif
88434 /* We use char because int might match the return type of a gcc2
88435 builtin and then its argument prototype would still apply. */
88436 char $ac_func ();
88437 /* The GNU C library defines this for functions which it implements
88438 to always fail with ENOSYS. Some functions are actually named
88439 something starting with __ and the normal name is an alias. */
88440 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88441 choke me
88442 #else
88443 char (*f) () = $ac_func;
88444 #endif
88445 #ifdef __cplusplus
88447 #endif
88450 main ()
88452 return f != $ac_func;
88454 return 0;
88456 _ACEOF
88457 rm -f conftest.$ac_objext conftest$ac_exeext
88458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88459 (eval $ac_link) 2>conftest.er1
88460 ac_status=$?
88461 grep -v '^ *+' conftest.er1 >conftest.err
88462 rm -f conftest.er1
88463 cat conftest.err >&5
88464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88465 (exit $ac_status); } &&
88466 { ac_try='test -z "$ac_c_werror_flag"
88467 || test ! -s conftest.err'
88468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88469 (eval $ac_try) 2>&5
88470 ac_status=$?
88471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88472 (exit $ac_status); }; } &&
88473 { ac_try='test -s conftest$ac_exeext'
88474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88475 (eval $ac_try) 2>&5
88476 ac_status=$?
88477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88478 (exit $ac_status); }; }; then
88479 eval "$as_ac_var=yes"
88480 else
88481 echo "$as_me: failed program was:" >&5
88482 sed 's/^/| /' conftest.$ac_ext >&5
88484 eval "$as_ac_var=no"
88486 rm -f conftest.err conftest.$ac_objext \
88487 conftest$ac_exeext conftest.$ac_ext
88489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88490 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88491 if test `eval echo '${'$as_ac_var'}'` = yes; then
88492 cat >>confdefs.h <<_ACEOF
88493 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88494 _ACEOF
88496 else
88497 ac_wfuncs=no
88499 done
88502 # Checks for names injected into std:: by the c_std headers.
88549 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
88550 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
88551 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
88552 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
88553 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
88554 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
88556 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88557 echo "$as_me:$LINENO: checking for $ac_func" >&5
88558 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88559 if eval "test \"\${$as_ac_var+set}\" = set"; then
88560 echo $ECHO_N "(cached) $ECHO_C" >&6
88561 else
88562 if test x$gcc_no_link = xyes; then
88563 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88564 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88565 { (exit 1); exit 1; }; }
88567 cat >conftest.$ac_ext <<_ACEOF
88568 /* confdefs.h. */
88569 _ACEOF
88570 cat confdefs.h >>conftest.$ac_ext
88571 cat >>conftest.$ac_ext <<_ACEOF
88572 /* end confdefs.h. */
88573 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88574 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88575 #define $ac_func innocuous_$ac_func
88577 /* System header to define __stub macros and hopefully few prototypes,
88578 which can conflict with char $ac_func (); below.
88579 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88580 <limits.h> exists even on freestanding compilers. */
88582 #ifdef __STDC__
88583 # include <limits.h>
88584 #else
88585 # include <assert.h>
88586 #endif
88588 #undef $ac_func
88590 /* Override any gcc2 internal prototype to avoid an error. */
88591 #ifdef __cplusplus
88592 extern "C"
88594 #endif
88595 /* We use char because int might match the return type of a gcc2
88596 builtin and then its argument prototype would still apply. */
88597 char $ac_func ();
88598 /* The GNU C library defines this for functions which it implements
88599 to always fail with ENOSYS. Some functions are actually named
88600 something starting with __ and the normal name is an alias. */
88601 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88602 choke me
88603 #else
88604 char (*f) () = $ac_func;
88605 #endif
88606 #ifdef __cplusplus
88608 #endif
88611 main ()
88613 return f != $ac_func;
88615 return 0;
88617 _ACEOF
88618 rm -f conftest.$ac_objext conftest$ac_exeext
88619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88620 (eval $ac_link) 2>conftest.er1
88621 ac_status=$?
88622 grep -v '^ *+' conftest.er1 >conftest.err
88623 rm -f conftest.er1
88624 cat conftest.err >&5
88625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88626 (exit $ac_status); } &&
88627 { ac_try='test -z "$ac_c_werror_flag"
88628 || test ! -s conftest.err'
88629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88630 (eval $ac_try) 2>&5
88631 ac_status=$?
88632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88633 (exit $ac_status); }; } &&
88634 { ac_try='test -s conftest$ac_exeext'
88635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88636 (eval $ac_try) 2>&5
88637 ac_status=$?
88638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88639 (exit $ac_status); }; }; then
88640 eval "$as_ac_var=yes"
88641 else
88642 echo "$as_me: failed program was:" >&5
88643 sed 's/^/| /' conftest.$ac_ext >&5
88645 eval "$as_ac_var=no"
88647 rm -f conftest.err conftest.$ac_objext \
88648 conftest$ac_exeext conftest.$ac_ext
88650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88651 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88652 if test `eval echo '${'$as_ac_var'}'` = yes; then
88653 cat >>confdefs.h <<_ACEOF
88654 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88655 _ACEOF
88657 else
88658 ac_wfuncs=no
88660 done
88663 # Checks for wide character functions that are not required
88664 # for basic wchar_t support. Don't disable support if they are missing.
88665 # Injection of these is wrapped with guard macros.
88671 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
88673 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88674 echo "$as_me:$LINENO: checking for $ac_func" >&5
88675 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88676 if eval "test \"\${$as_ac_var+set}\" = set"; then
88677 echo $ECHO_N "(cached) $ECHO_C" >&6
88678 else
88679 if test x$gcc_no_link = xyes; then
88680 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88681 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88682 { (exit 1); exit 1; }; }
88684 cat >conftest.$ac_ext <<_ACEOF
88685 /* confdefs.h. */
88686 _ACEOF
88687 cat confdefs.h >>conftest.$ac_ext
88688 cat >>conftest.$ac_ext <<_ACEOF
88689 /* end confdefs.h. */
88690 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88691 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88692 #define $ac_func innocuous_$ac_func
88694 /* System header to define __stub macros and hopefully few prototypes,
88695 which can conflict with char $ac_func (); below.
88696 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88697 <limits.h> exists even on freestanding compilers. */
88699 #ifdef __STDC__
88700 # include <limits.h>
88701 #else
88702 # include <assert.h>
88703 #endif
88705 #undef $ac_func
88707 /* Override any gcc2 internal prototype to avoid an error. */
88708 #ifdef __cplusplus
88709 extern "C"
88711 #endif
88712 /* We use char because int might match the return type of a gcc2
88713 builtin and then its argument prototype would still apply. */
88714 char $ac_func ();
88715 /* The GNU C library defines this for functions which it implements
88716 to always fail with ENOSYS. Some functions are actually named
88717 something starting with __ and the normal name is an alias. */
88718 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88719 choke me
88720 #else
88721 char (*f) () = $ac_func;
88722 #endif
88723 #ifdef __cplusplus
88725 #endif
88728 main ()
88730 return f != $ac_func;
88732 return 0;
88734 _ACEOF
88735 rm -f conftest.$ac_objext conftest$ac_exeext
88736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88737 (eval $ac_link) 2>conftest.er1
88738 ac_status=$?
88739 grep -v '^ *+' conftest.er1 >conftest.err
88740 rm -f conftest.er1
88741 cat conftest.err >&5
88742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88743 (exit $ac_status); } &&
88744 { ac_try='test -z "$ac_c_werror_flag"
88745 || test ! -s conftest.err'
88746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88747 (eval $ac_try) 2>&5
88748 ac_status=$?
88749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88750 (exit $ac_status); }; } &&
88751 { ac_try='test -s conftest$ac_exeext'
88752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88753 (eval $ac_try) 2>&5
88754 ac_status=$?
88755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88756 (exit $ac_status); }; }; then
88757 eval "$as_ac_var=yes"
88758 else
88759 echo "$as_me: failed program was:" >&5
88760 sed 's/^/| /' conftest.$ac_ext >&5
88762 eval "$as_ac_var=no"
88764 rm -f conftest.err conftest.$ac_objext \
88765 conftest$ac_exeext conftest.$ac_ext
88767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88768 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88769 if test `eval echo '${'$as_ac_var'}'` = yes; then
88770 cat >>confdefs.h <<_ACEOF
88771 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88772 _ACEOF
88775 done
88778 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
88779 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
88780 if test x"$has_weof" = xyes &&
88781 test x"$has_wchar_minmax" = xyes &&
88782 test x"$ac_wfuncs" = xyes;
88783 then
88784 ac_isoC99_wchar_t=yes
88785 else
88786 ac_isoC99_wchar_t=no
88788 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
88789 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
88791 # Use iconv for wchar_t to char conversions. As such, check for
88792 # X/Open Portability Guide, version 2 features (XPG2).
88793 if test "${ac_cv_header_iconv_h+set}" = set; then
88794 echo "$as_me:$LINENO: checking for iconv.h" >&5
88795 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
88796 if test "${ac_cv_header_iconv_h+set}" = set; then
88797 echo $ECHO_N "(cached) $ECHO_C" >&6
88799 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
88800 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
88801 else
88802 # Is the header compilable?
88803 echo "$as_me:$LINENO: checking iconv.h usability" >&5
88804 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
88805 cat >conftest.$ac_ext <<_ACEOF
88806 /* confdefs.h. */
88807 _ACEOF
88808 cat confdefs.h >>conftest.$ac_ext
88809 cat >>conftest.$ac_ext <<_ACEOF
88810 /* end confdefs.h. */
88811 $ac_includes_default
88812 #include <iconv.h>
88813 _ACEOF
88814 rm -f conftest.$ac_objext
88815 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88816 (eval $ac_compile) 2>conftest.er1
88817 ac_status=$?
88818 grep -v '^ *+' conftest.er1 >conftest.err
88819 rm -f conftest.er1
88820 cat conftest.err >&5
88821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88822 (exit $ac_status); } &&
88823 { ac_try='test -z "$ac_c_werror_flag"
88824 || test ! -s conftest.err'
88825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88826 (eval $ac_try) 2>&5
88827 ac_status=$?
88828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88829 (exit $ac_status); }; } &&
88830 { ac_try='test -s conftest.$ac_objext'
88831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88832 (eval $ac_try) 2>&5
88833 ac_status=$?
88834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88835 (exit $ac_status); }; }; then
88836 ac_header_compiler=yes
88837 else
88838 echo "$as_me: failed program was:" >&5
88839 sed 's/^/| /' conftest.$ac_ext >&5
88841 ac_header_compiler=no
88843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88844 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
88845 echo "${ECHO_T}$ac_header_compiler" >&6
88847 # Is the header present?
88848 echo "$as_me:$LINENO: checking iconv.h presence" >&5
88849 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
88850 cat >conftest.$ac_ext <<_ACEOF
88851 /* confdefs.h. */
88852 _ACEOF
88853 cat confdefs.h >>conftest.$ac_ext
88854 cat >>conftest.$ac_ext <<_ACEOF
88855 /* end confdefs.h. */
88856 #include <iconv.h>
88857 _ACEOF
88858 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
88859 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
88860 ac_status=$?
88861 grep -v '^ *+' conftest.er1 >conftest.err
88862 rm -f conftest.er1
88863 cat conftest.err >&5
88864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88865 (exit $ac_status); } >/dev/null; then
88866 if test -s conftest.err; then
88867 ac_cpp_err=$ac_c_preproc_warn_flag
88868 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
88869 else
88870 ac_cpp_err=
88872 else
88873 ac_cpp_err=yes
88875 if test -z "$ac_cpp_err"; then
88876 ac_header_preproc=yes
88877 else
88878 echo "$as_me: failed program was:" >&5
88879 sed 's/^/| /' conftest.$ac_ext >&5
88881 ac_header_preproc=no
88883 rm -f conftest.err conftest.$ac_ext
88884 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
88885 echo "${ECHO_T}$ac_header_preproc" >&6
88887 # So? What about this header?
88888 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
88889 yes:no: )
88890 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
88891 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
88892 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
88893 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
88894 ac_header_preproc=yes
88896 no:yes:* )
88897 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
88898 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
88899 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
88900 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
88901 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
88902 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
88903 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
88904 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
88905 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
88906 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
88907 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
88908 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
88910 cat <<\_ASBOX
88911 ## ----------------------------------------- ##
88912 ## Report this to the package-unused lists. ##
88913 ## ----------------------------------------- ##
88914 _ASBOX
88916 sed "s/^/$as_me: WARNING: /" >&2
88918 esac
88919 echo "$as_me:$LINENO: checking for iconv.h" >&5
88920 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
88921 if test "${ac_cv_header_iconv_h+set}" = set; then
88922 echo $ECHO_N "(cached) $ECHO_C" >&6
88923 else
88924 ac_cv_header_iconv_h=$ac_header_preproc
88926 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
88927 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
88930 if test $ac_cv_header_iconv_h = yes; then
88931 ac_has_iconv_h=yes
88932 else
88933 ac_has_iconv_h=no
88937 if test "${ac_cv_header_langinfo_h+set}" = set; then
88938 echo "$as_me:$LINENO: checking for langinfo.h" >&5
88939 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
88940 if test "${ac_cv_header_langinfo_h+set}" = set; then
88941 echo $ECHO_N "(cached) $ECHO_C" >&6
88943 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
88944 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
88945 else
88946 # Is the header compilable?
88947 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
88948 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
88949 cat >conftest.$ac_ext <<_ACEOF
88950 /* confdefs.h. */
88951 _ACEOF
88952 cat confdefs.h >>conftest.$ac_ext
88953 cat >>conftest.$ac_ext <<_ACEOF
88954 /* end confdefs.h. */
88955 $ac_includes_default
88956 #include <langinfo.h>
88957 _ACEOF
88958 rm -f conftest.$ac_objext
88959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88960 (eval $ac_compile) 2>conftest.er1
88961 ac_status=$?
88962 grep -v '^ *+' conftest.er1 >conftest.err
88963 rm -f conftest.er1
88964 cat conftest.err >&5
88965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88966 (exit $ac_status); } &&
88967 { ac_try='test -z "$ac_c_werror_flag"
88968 || test ! -s conftest.err'
88969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88970 (eval $ac_try) 2>&5
88971 ac_status=$?
88972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88973 (exit $ac_status); }; } &&
88974 { ac_try='test -s conftest.$ac_objext'
88975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88976 (eval $ac_try) 2>&5
88977 ac_status=$?
88978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88979 (exit $ac_status); }; }; then
88980 ac_header_compiler=yes
88981 else
88982 echo "$as_me: failed program was:" >&5
88983 sed 's/^/| /' conftest.$ac_ext >&5
88985 ac_header_compiler=no
88987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88988 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
88989 echo "${ECHO_T}$ac_header_compiler" >&6
88991 # Is the header present?
88992 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
88993 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
88994 cat >conftest.$ac_ext <<_ACEOF
88995 /* confdefs.h. */
88996 _ACEOF
88997 cat confdefs.h >>conftest.$ac_ext
88998 cat >>conftest.$ac_ext <<_ACEOF
88999 /* end confdefs.h. */
89000 #include <langinfo.h>
89001 _ACEOF
89002 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
89003 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
89004 ac_status=$?
89005 grep -v '^ *+' conftest.er1 >conftest.err
89006 rm -f conftest.er1
89007 cat conftest.err >&5
89008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89009 (exit $ac_status); } >/dev/null; then
89010 if test -s conftest.err; then
89011 ac_cpp_err=$ac_c_preproc_warn_flag
89012 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
89013 else
89014 ac_cpp_err=
89016 else
89017 ac_cpp_err=yes
89019 if test -z "$ac_cpp_err"; then
89020 ac_header_preproc=yes
89021 else
89022 echo "$as_me: failed program was:" >&5
89023 sed 's/^/| /' conftest.$ac_ext >&5
89025 ac_header_preproc=no
89027 rm -f conftest.err conftest.$ac_ext
89028 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
89029 echo "${ECHO_T}$ac_header_preproc" >&6
89031 # So? What about this header?
89032 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
89033 yes:no: )
89034 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
89035 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
89036 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
89037 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
89038 ac_header_preproc=yes
89040 no:yes:* )
89041 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
89042 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
89043 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
89044 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
89045 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
89046 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
89047 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
89048 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
89049 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
89050 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
89051 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
89052 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
89054 cat <<\_ASBOX
89055 ## ----------------------------------------- ##
89056 ## Report this to the package-unused lists. ##
89057 ## ----------------------------------------- ##
89058 _ASBOX
89060 sed "s/^/$as_me: WARNING: /" >&2
89062 esac
89063 echo "$as_me:$LINENO: checking for langinfo.h" >&5
89064 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
89065 if test "${ac_cv_header_langinfo_h+set}" = set; then
89066 echo $ECHO_N "(cached) $ECHO_C" >&6
89067 else
89068 ac_cv_header_langinfo_h=$ac_header_preproc
89070 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
89071 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
89074 if test $ac_cv_header_langinfo_h = yes; then
89075 ac_has_langinfo_h=yes
89076 else
89077 ac_has_langinfo_h=no
89082 # Check for existence of libiconv.a providing XPG2 wchar_t support.
89083 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
89084 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
89085 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
89086 echo $ECHO_N "(cached) $ECHO_C" >&6
89087 else
89088 ac_check_lib_save_LIBS=$LIBS
89089 LIBS="-liconv $LIBS"
89090 if test x$gcc_no_link = xyes; then
89091 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89093 { (exit 1); exit 1; }; }
89095 cat >conftest.$ac_ext <<_ACEOF
89096 /* confdefs.h. */
89097 _ACEOF
89098 cat confdefs.h >>conftest.$ac_ext
89099 cat >>conftest.$ac_ext <<_ACEOF
89100 /* end confdefs.h. */
89102 /* Override any gcc2 internal prototype to avoid an error. */
89103 #ifdef __cplusplus
89104 extern "C"
89105 #endif
89106 /* We use char because int might match the return type of a gcc2
89107 builtin and then its argument prototype would still apply. */
89108 char iconv ();
89110 main ()
89112 iconv ();
89114 return 0;
89116 _ACEOF
89117 rm -f conftest.$ac_objext conftest$ac_exeext
89118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89119 (eval $ac_link) 2>conftest.er1
89120 ac_status=$?
89121 grep -v '^ *+' conftest.er1 >conftest.err
89122 rm -f conftest.er1
89123 cat conftest.err >&5
89124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89125 (exit $ac_status); } &&
89126 { ac_try='test -z "$ac_c_werror_flag"
89127 || test ! -s conftest.err'
89128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89129 (eval $ac_try) 2>&5
89130 ac_status=$?
89131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89132 (exit $ac_status); }; } &&
89133 { ac_try='test -s conftest$ac_exeext'
89134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89135 (eval $ac_try) 2>&5
89136 ac_status=$?
89137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89138 (exit $ac_status); }; }; then
89139 ac_cv_lib_iconv_iconv=yes
89140 else
89141 echo "$as_me: failed program was:" >&5
89142 sed 's/^/| /' conftest.$ac_ext >&5
89144 ac_cv_lib_iconv_iconv=no
89146 rm -f conftest.err conftest.$ac_objext \
89147 conftest$ac_exeext conftest.$ac_ext
89148 LIBS=$ac_check_lib_save_LIBS
89150 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
89151 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
89152 if test $ac_cv_lib_iconv_iconv = yes; then
89153 LIBICONV="-liconv"
89156 ac_save_LIBS="$LIBS"
89157 LIBS="$LIBS $LIBICONV"
89164 for ac_func in iconv_open iconv_close iconv nl_langinfo
89166 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89167 echo "$as_me:$LINENO: checking for $ac_func" >&5
89168 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89169 if eval "test \"\${$as_ac_var+set}\" = set"; then
89170 echo $ECHO_N "(cached) $ECHO_C" >&6
89171 else
89172 if test x$gcc_no_link = xyes; then
89173 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89174 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89175 { (exit 1); exit 1; }; }
89177 cat >conftest.$ac_ext <<_ACEOF
89178 /* confdefs.h. */
89179 _ACEOF
89180 cat confdefs.h >>conftest.$ac_ext
89181 cat >>conftest.$ac_ext <<_ACEOF
89182 /* end confdefs.h. */
89183 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89184 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89185 #define $ac_func innocuous_$ac_func
89187 /* System header to define __stub macros and hopefully few prototypes,
89188 which can conflict with char $ac_func (); below.
89189 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89190 <limits.h> exists even on freestanding compilers. */
89192 #ifdef __STDC__
89193 # include <limits.h>
89194 #else
89195 # include <assert.h>
89196 #endif
89198 #undef $ac_func
89200 /* Override any gcc2 internal prototype to avoid an error. */
89201 #ifdef __cplusplus
89202 extern "C"
89204 #endif
89205 /* We use char because int might match the return type of a gcc2
89206 builtin and then its argument prototype would still apply. */
89207 char $ac_func ();
89208 /* The GNU C library defines this for functions which it implements
89209 to always fail with ENOSYS. Some functions are actually named
89210 something starting with __ and the normal name is an alias. */
89211 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89212 choke me
89213 #else
89214 char (*f) () = $ac_func;
89215 #endif
89216 #ifdef __cplusplus
89218 #endif
89221 main ()
89223 return f != $ac_func;
89225 return 0;
89227 _ACEOF
89228 rm -f conftest.$ac_objext conftest$ac_exeext
89229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89230 (eval $ac_link) 2>conftest.er1
89231 ac_status=$?
89232 grep -v '^ *+' conftest.er1 >conftest.err
89233 rm -f conftest.er1
89234 cat conftest.err >&5
89235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89236 (exit $ac_status); } &&
89237 { ac_try='test -z "$ac_c_werror_flag"
89238 || test ! -s conftest.err'
89239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89240 (eval $ac_try) 2>&5
89241 ac_status=$?
89242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89243 (exit $ac_status); }; } &&
89244 { ac_try='test -s conftest$ac_exeext'
89245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89246 (eval $ac_try) 2>&5
89247 ac_status=$?
89248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89249 (exit $ac_status); }; }; then
89250 eval "$as_ac_var=yes"
89251 else
89252 echo "$as_me: failed program was:" >&5
89253 sed 's/^/| /' conftest.$ac_ext >&5
89255 eval "$as_ac_var=no"
89257 rm -f conftest.err conftest.$ac_objext \
89258 conftest$ac_exeext conftest.$ac_ext
89260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89261 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89262 if test `eval echo '${'$as_ac_var'}'` = yes; then
89263 cat >>confdefs.h <<_ACEOF
89264 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89265 _ACEOF
89266 ac_XPG2funcs=yes
89267 else
89268 ac_XPG2funcs=no
89270 done
89273 LIBS="$ac_save_LIBS"
89275 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
89276 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
89277 if test x"$ac_has_iconv_h" = xyes &&
89278 test x"$ac_has_langinfo_h" = xyes &&
89279 test x"$ac_XPG2funcs" = xyes;
89280 then
89281 ac_XPG2_wchar_t=yes
89282 else
89283 ac_XPG2_wchar_t=no
89285 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
89286 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
89288 # At the moment, only enable wchar_t specializations if all the
89289 # above support is present.
89290 if test x"$ac_isoC99_wchar_t" = xyes &&
89291 test x"$ac_XPG2_wchar_t" = xyes;
89292 then
89293 cat >>confdefs.h <<\_ACEOF
89294 #define _GLIBCXX_USE_WCHAR_T 1
89295 _ACEOF
89297 enable_wchar_t=yes
89300 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
89301 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
89302 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
89303 echo "${ECHO_T}$enable_wchar_t" >&6
89306 # For showmanyc_helper().
89309 for ac_header in sys/ioctl.h sys/filio.h
89311 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
89312 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89313 echo "$as_me:$LINENO: checking for $ac_header" >&5
89314 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89315 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89316 echo $ECHO_N "(cached) $ECHO_C" >&6
89318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89319 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89320 else
89321 # Is the header compilable?
89322 echo "$as_me:$LINENO: checking $ac_header usability" >&5
89323 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
89324 cat >conftest.$ac_ext <<_ACEOF
89325 /* confdefs.h. */
89326 _ACEOF
89327 cat confdefs.h >>conftest.$ac_ext
89328 cat >>conftest.$ac_ext <<_ACEOF
89329 /* end confdefs.h. */
89330 $ac_includes_default
89331 #include <$ac_header>
89332 _ACEOF
89333 rm -f conftest.$ac_objext
89334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89335 (eval $ac_compile) 2>conftest.er1
89336 ac_status=$?
89337 grep -v '^ *+' conftest.er1 >conftest.err
89338 rm -f conftest.er1
89339 cat conftest.err >&5
89340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89341 (exit $ac_status); } &&
89342 { ac_try='test -z "$ac_c_werror_flag"
89343 || test ! -s conftest.err'
89344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89345 (eval $ac_try) 2>&5
89346 ac_status=$?
89347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89348 (exit $ac_status); }; } &&
89349 { ac_try='test -s conftest.$ac_objext'
89350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89351 (eval $ac_try) 2>&5
89352 ac_status=$?
89353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89354 (exit $ac_status); }; }; then
89355 ac_header_compiler=yes
89356 else
89357 echo "$as_me: failed program was:" >&5
89358 sed 's/^/| /' conftest.$ac_ext >&5
89360 ac_header_compiler=no
89362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89363 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
89364 echo "${ECHO_T}$ac_header_compiler" >&6
89366 # Is the header present?
89367 echo "$as_me:$LINENO: checking $ac_header presence" >&5
89368 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
89369 cat >conftest.$ac_ext <<_ACEOF
89370 /* confdefs.h. */
89371 _ACEOF
89372 cat confdefs.h >>conftest.$ac_ext
89373 cat >>conftest.$ac_ext <<_ACEOF
89374 /* end confdefs.h. */
89375 #include <$ac_header>
89376 _ACEOF
89377 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
89378 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
89379 ac_status=$?
89380 grep -v '^ *+' conftest.er1 >conftest.err
89381 rm -f conftest.er1
89382 cat conftest.err >&5
89383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89384 (exit $ac_status); } >/dev/null; then
89385 if test -s conftest.err; then
89386 ac_cpp_err=$ac_c_preproc_warn_flag
89387 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
89388 else
89389 ac_cpp_err=
89391 else
89392 ac_cpp_err=yes
89394 if test -z "$ac_cpp_err"; then
89395 ac_header_preproc=yes
89396 else
89397 echo "$as_me: failed program was:" >&5
89398 sed 's/^/| /' conftest.$ac_ext >&5
89400 ac_header_preproc=no
89402 rm -f conftest.err conftest.$ac_ext
89403 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
89404 echo "${ECHO_T}$ac_header_preproc" >&6
89406 # So? What about this header?
89407 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
89408 yes:no: )
89409 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
89410 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
89411 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
89412 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
89413 ac_header_preproc=yes
89415 no:yes:* )
89416 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
89417 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
89418 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
89419 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
89420 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
89421 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
89422 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
89423 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
89424 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
89425 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
89426 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
89427 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
89429 cat <<\_ASBOX
89430 ## ----------------------------------------- ##
89431 ## Report this to the package-unused lists. ##
89432 ## ----------------------------------------- ##
89433 _ASBOX
89435 sed "s/^/$as_me: WARNING: /" >&2
89437 esac
89438 echo "$as_me:$LINENO: checking for $ac_header" >&5
89439 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89440 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89441 echo $ECHO_N "(cached) $ECHO_C" >&6
89442 else
89443 eval "$as_ac_Header=\$ac_header_preproc"
89445 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89446 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89449 if test `eval echo '${'$as_ac_Header'}'` = yes; then
89450 cat >>confdefs.h <<_ACEOF
89451 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
89452 _ACEOF
89456 done
89459 if test "${glibcxx_cv_POLL+set}" = set; then
89460 echo $ECHO_N "(cached) $ECHO_C" >&6
89461 else
89463 if test x$gcc_no_link = xyes; then
89464 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89465 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89466 { (exit 1); exit 1; }; }
89468 cat >conftest.$ac_ext <<_ACEOF
89469 /* confdefs.h. */
89470 _ACEOF
89471 cat confdefs.h >>conftest.$ac_ext
89472 cat >>conftest.$ac_ext <<_ACEOF
89473 /* end confdefs.h. */
89474 #include <poll.h>
89476 main ()
89478 struct pollfd pfd[1];
89479 pfd[0].events = POLLIN;
89480 poll(pfd, 1, 0);
89482 return 0;
89484 _ACEOF
89485 rm -f conftest.$ac_objext conftest$ac_exeext
89486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89487 (eval $ac_link) 2>conftest.er1
89488 ac_status=$?
89489 grep -v '^ *+' conftest.er1 >conftest.err
89490 rm -f conftest.er1
89491 cat conftest.err >&5
89492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89493 (exit $ac_status); } &&
89494 { ac_try='test -z "$ac_c_werror_flag"
89495 || test ! -s conftest.err'
89496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89497 (eval $ac_try) 2>&5
89498 ac_status=$?
89499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89500 (exit $ac_status); }; } &&
89501 { ac_try='test -s conftest$ac_exeext'
89502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89503 (eval $ac_try) 2>&5
89504 ac_status=$?
89505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89506 (exit $ac_status); }; }; then
89507 glibcxx_cv_POLL=yes
89508 else
89509 echo "$as_me: failed program was:" >&5
89510 sed 's/^/| /' conftest.$ac_ext >&5
89512 glibcxx_cv_POLL=no
89514 rm -f conftest.err conftest.$ac_objext \
89515 conftest$ac_exeext conftest.$ac_ext
89519 if test $glibcxx_cv_POLL = yes; then
89520 cat >>confdefs.h <<\_ACEOF
89521 #define HAVE_POLL 1
89522 _ACEOF
89527 if test "${glibcxx_cv_S_ISREG+set}" = set; then
89528 echo $ECHO_N "(cached) $ECHO_C" >&6
89529 else
89531 if test x$gcc_no_link = xyes; then
89532 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89533 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89534 { (exit 1); exit 1; }; }
89536 cat >conftest.$ac_ext <<_ACEOF
89537 /* confdefs.h. */
89538 _ACEOF
89539 cat confdefs.h >>conftest.$ac_ext
89540 cat >>conftest.$ac_ext <<_ACEOF
89541 /* end confdefs.h. */
89542 #include <sys/stat.h>
89544 main ()
89546 struct stat buffer;
89547 fstat(0, &buffer);
89548 S_ISREG(buffer.st_mode);
89550 return 0;
89552 _ACEOF
89553 rm -f conftest.$ac_objext conftest$ac_exeext
89554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89555 (eval $ac_link) 2>conftest.er1
89556 ac_status=$?
89557 grep -v '^ *+' conftest.er1 >conftest.err
89558 rm -f conftest.er1
89559 cat conftest.err >&5
89560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89561 (exit $ac_status); } &&
89562 { ac_try='test -z "$ac_c_werror_flag"
89563 || test ! -s conftest.err'
89564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89565 (eval $ac_try) 2>&5
89566 ac_status=$?
89567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89568 (exit $ac_status); }; } &&
89569 { ac_try='test -s conftest$ac_exeext'
89570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89571 (eval $ac_try) 2>&5
89572 ac_status=$?
89573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89574 (exit $ac_status); }; }; then
89575 glibcxx_cv_S_ISREG=yes
89576 else
89577 echo "$as_me: failed program was:" >&5
89578 sed 's/^/| /' conftest.$ac_ext >&5
89580 glibcxx_cv_S_ISREG=no
89582 rm -f conftest.err conftest.$ac_objext \
89583 conftest$ac_exeext conftest.$ac_ext
89587 if test "${glibcxx_cv_S_IFREG+set}" = set; then
89588 echo $ECHO_N "(cached) $ECHO_C" >&6
89589 else
89591 if test x$gcc_no_link = xyes; then
89592 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89594 { (exit 1); exit 1; }; }
89596 cat >conftest.$ac_ext <<_ACEOF
89597 /* confdefs.h. */
89598 _ACEOF
89599 cat confdefs.h >>conftest.$ac_ext
89600 cat >>conftest.$ac_ext <<_ACEOF
89601 /* end confdefs.h. */
89602 #include <sys/stat.h>
89604 main ()
89606 struct stat buffer;
89607 fstat(0, &buffer);
89608 S_IFREG & buffer.st_mode;
89610 return 0;
89612 _ACEOF
89613 rm -f conftest.$ac_objext conftest$ac_exeext
89614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89615 (eval $ac_link) 2>conftest.er1
89616 ac_status=$?
89617 grep -v '^ *+' conftest.er1 >conftest.err
89618 rm -f conftest.er1
89619 cat conftest.err >&5
89620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89621 (exit $ac_status); } &&
89622 { ac_try='test -z "$ac_c_werror_flag"
89623 || test ! -s conftest.err'
89624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89625 (eval $ac_try) 2>&5
89626 ac_status=$?
89627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89628 (exit $ac_status); }; } &&
89629 { ac_try='test -s conftest$ac_exeext'
89630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89631 (eval $ac_try) 2>&5
89632 ac_status=$?
89633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89634 (exit $ac_status); }; }; then
89635 glibcxx_cv_S_IFREG=yes
89636 else
89637 echo "$as_me: failed program was:" >&5
89638 sed 's/^/| /' conftest.$ac_ext >&5
89640 glibcxx_cv_S_IFREG=no
89642 rm -f conftest.err conftest.$ac_objext \
89643 conftest$ac_exeext conftest.$ac_ext
89647 if test $glibcxx_cv_S_ISREG = yes; then
89648 cat >>confdefs.h <<\_ACEOF
89649 #define HAVE_S_ISREG 1
89650 _ACEOF
89652 elif test $glibcxx_cv_S_IFREG = yes; then
89653 cat >>confdefs.h <<\_ACEOF
89654 #define HAVE_S_IFREG 1
89655 _ACEOF
89660 # For xsputn_2().
89662 for ac_header in sys/uio.h
89664 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
89665 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89666 echo "$as_me:$LINENO: checking for $ac_header" >&5
89667 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89668 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89669 echo $ECHO_N "(cached) $ECHO_C" >&6
89671 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89672 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89673 else
89674 # Is the header compilable?
89675 echo "$as_me:$LINENO: checking $ac_header usability" >&5
89676 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
89677 cat >conftest.$ac_ext <<_ACEOF
89678 /* confdefs.h. */
89679 _ACEOF
89680 cat confdefs.h >>conftest.$ac_ext
89681 cat >>conftest.$ac_ext <<_ACEOF
89682 /* end confdefs.h. */
89683 $ac_includes_default
89684 #include <$ac_header>
89685 _ACEOF
89686 rm -f conftest.$ac_objext
89687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89688 (eval $ac_compile) 2>conftest.er1
89689 ac_status=$?
89690 grep -v '^ *+' conftest.er1 >conftest.err
89691 rm -f conftest.er1
89692 cat conftest.err >&5
89693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89694 (exit $ac_status); } &&
89695 { ac_try='test -z "$ac_c_werror_flag"
89696 || test ! -s conftest.err'
89697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89698 (eval $ac_try) 2>&5
89699 ac_status=$?
89700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89701 (exit $ac_status); }; } &&
89702 { ac_try='test -s conftest.$ac_objext'
89703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89704 (eval $ac_try) 2>&5
89705 ac_status=$?
89706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89707 (exit $ac_status); }; }; then
89708 ac_header_compiler=yes
89709 else
89710 echo "$as_me: failed program was:" >&5
89711 sed 's/^/| /' conftest.$ac_ext >&5
89713 ac_header_compiler=no
89715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89716 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
89717 echo "${ECHO_T}$ac_header_compiler" >&6
89719 # Is the header present?
89720 echo "$as_me:$LINENO: checking $ac_header presence" >&5
89721 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
89722 cat >conftest.$ac_ext <<_ACEOF
89723 /* confdefs.h. */
89724 _ACEOF
89725 cat confdefs.h >>conftest.$ac_ext
89726 cat >>conftest.$ac_ext <<_ACEOF
89727 /* end confdefs.h. */
89728 #include <$ac_header>
89729 _ACEOF
89730 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
89731 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
89732 ac_status=$?
89733 grep -v '^ *+' conftest.er1 >conftest.err
89734 rm -f conftest.er1
89735 cat conftest.err >&5
89736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89737 (exit $ac_status); } >/dev/null; then
89738 if test -s conftest.err; then
89739 ac_cpp_err=$ac_c_preproc_warn_flag
89740 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
89741 else
89742 ac_cpp_err=
89744 else
89745 ac_cpp_err=yes
89747 if test -z "$ac_cpp_err"; then
89748 ac_header_preproc=yes
89749 else
89750 echo "$as_me: failed program was:" >&5
89751 sed 's/^/| /' conftest.$ac_ext >&5
89753 ac_header_preproc=no
89755 rm -f conftest.err conftest.$ac_ext
89756 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
89757 echo "${ECHO_T}$ac_header_preproc" >&6
89759 # So? What about this header?
89760 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
89761 yes:no: )
89762 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
89763 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
89764 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
89765 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
89766 ac_header_preproc=yes
89768 no:yes:* )
89769 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
89770 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
89771 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
89772 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
89773 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
89774 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
89775 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
89776 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
89777 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
89778 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
89779 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
89780 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
89782 cat <<\_ASBOX
89783 ## ----------------------------------------- ##
89784 ## Report this to the package-unused lists. ##
89785 ## ----------------------------------------- ##
89786 _ASBOX
89788 sed "s/^/$as_me: WARNING: /" >&2
89790 esac
89791 echo "$as_me:$LINENO: checking for $ac_header" >&5
89792 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89793 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89794 echo $ECHO_N "(cached) $ECHO_C" >&6
89795 else
89796 eval "$as_ac_Header=\$ac_header_preproc"
89798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89799 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89802 if test `eval echo '${'$as_ac_Header'}'` = yes; then
89803 cat >>confdefs.h <<_ACEOF
89804 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
89805 _ACEOF
89809 done
89812 if test "${glibcxx_cv_WRITEV+set}" = set; then
89813 echo $ECHO_N "(cached) $ECHO_C" >&6
89814 else
89816 if test x$gcc_no_link = xyes; then
89817 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89818 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89819 { (exit 1); exit 1; }; }
89821 cat >conftest.$ac_ext <<_ACEOF
89822 /* confdefs.h. */
89823 _ACEOF
89824 cat confdefs.h >>conftest.$ac_ext
89825 cat >>conftest.$ac_ext <<_ACEOF
89826 /* end confdefs.h. */
89827 #include <sys/uio.h>
89829 main ()
89831 struct iovec iov[2];
89832 writev(0, iov, 0);
89834 return 0;
89836 _ACEOF
89837 rm -f conftest.$ac_objext conftest$ac_exeext
89838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89839 (eval $ac_link) 2>conftest.er1
89840 ac_status=$?
89841 grep -v '^ *+' conftest.er1 >conftest.err
89842 rm -f conftest.er1
89843 cat conftest.err >&5
89844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89845 (exit $ac_status); } &&
89846 { ac_try='test -z "$ac_c_werror_flag"
89847 || test ! -s conftest.err'
89848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89849 (eval $ac_try) 2>&5
89850 ac_status=$?
89851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89852 (exit $ac_status); }; } &&
89853 { ac_try='test -s conftest$ac_exeext'
89854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89855 (eval $ac_try) 2>&5
89856 ac_status=$?
89857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89858 (exit $ac_status); }; }; then
89859 glibcxx_cv_WRITEV=yes
89860 else
89861 echo "$as_me: failed program was:" >&5
89862 sed 's/^/| /' conftest.$ac_ext >&5
89864 glibcxx_cv_WRITEV=no
89866 rm -f conftest.err conftest.$ac_objext \
89867 conftest$ac_exeext conftest.$ac_ext
89871 if test $glibcxx_cv_WRITEV = yes; then
89872 cat >>confdefs.h <<\_ACEOF
89873 #define HAVE_WRITEV 1
89874 _ACEOF
89879 *-qnx6.1* | *-qnx6.2*)
89880 SECTION_FLAGS='-ffunction-sections -fdata-sections'
89883 # If we're not using GNU ld, then there's no point in even trying these
89884 # tests. Check for that first. We should have already tested for gld
89885 # by now (in libtool), but require it now just to be safe...
89886 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
89887 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
89891 # The name set by libtool depends on the version of libtool. Shame on us
89892 # for depending on an impl detail, but c'est la vie. Older versions used
89893 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
89894 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
89895 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
89896 # set (hence we're using an older libtool), then set it.
89897 if test x${with_gnu_ld+set} != xset; then
89898 if test x${ac_cv_prog_gnu_ld+set} != xset; then
89899 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
89900 with_gnu_ld=no
89901 else
89902 with_gnu_ld=$ac_cv_prog_gnu_ld
89906 # Start by getting the version number. I think the libtool test already
89907 # does some of this, but throws away the result.
89909 ldver=`$LD --version 2>/dev/null | head -1 | \
89910 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
89912 glibcxx_gnu_ld_version=`echo $ldver | \
89913 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
89915 # Set --gc-sections.
89916 if test "$with_gnu_ld" = "notbroken"; then
89917 # GNU ld it is! Joy and bunny rabbits!
89919 # All these tests are for C++; save the language and the compiler flags.
89920 # Need to do this so that g++ won't try to link in libstdc++
89921 ac_test_CFLAGS="${CFLAGS+set}"
89922 ac_save_CFLAGS="$CFLAGS"
89923 CFLAGS='-x c++ -Wl,--gc-sections'
89925 # Check for -Wl,--gc-sections
89926 # XXX This test is broken at the moment, as symbols required for linking
89927 # are now in libsupc++ (not built yet). In addition, this test has
89928 # cored on solaris in the past. In addition, --gc-sections doesn't
89929 # really work at the moment (keeps on discarding used sections, first
89930 # .eh_frame and now some of the glibc sections for iconv).
89931 # Bzzzzt. Thanks for playing, maybe next time.
89932 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
89933 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
89934 if test "$cross_compiling" = yes; then
89935 ac_sectionLDflags=yes
89936 else
89937 cat >conftest.$ac_ext <<_ACEOF
89938 /* confdefs.h. */
89939 _ACEOF
89940 cat confdefs.h >>conftest.$ac_ext
89941 cat >>conftest.$ac_ext <<_ACEOF
89942 /* end confdefs.h. */
89944 int main(void)
89946 try { throw 1; }
89947 catch (...) { };
89948 return 0;
89951 _ACEOF
89952 rm -f conftest$ac_exeext
89953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89954 (eval $ac_link) 2>&5
89955 ac_status=$?
89956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89957 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
89958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89959 (eval $ac_try) 2>&5
89960 ac_status=$?
89961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89962 (exit $ac_status); }; }; then
89963 ac_sectionLDflags=yes
89964 else
89965 echo "$as_me: program exited with status $ac_status" >&5
89966 echo "$as_me: failed program was:" >&5
89967 sed 's/^/| /' conftest.$ac_ext >&5
89969 ( exit $ac_status )
89970 ac_sectionLDflags=no
89972 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
89974 if test "$ac_test_CFLAGS" = set; then
89975 CFLAGS="$ac_save_CFLAGS"
89976 else
89977 # this is the suspicious part
89978 CFLAGS=''
89980 if test "$ac_sectionLDflags" = "yes"; then
89981 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
89983 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
89984 echo "${ECHO_T}$ac_sectionLDflags" >&6
89987 # Set linker optimization flags.
89988 if test x"$with_gnu_ld" = x"yes"; then
89989 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
89997 echo "$as_me:$LINENO: checking for main in -lm" >&5
89998 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
89999 if test "${ac_cv_lib_m_main+set}" = set; then
90000 echo $ECHO_N "(cached) $ECHO_C" >&6
90001 else
90002 ac_check_lib_save_LIBS=$LIBS
90003 LIBS="-lm $LIBS"
90004 if test x$gcc_no_link = xyes; then
90005 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90006 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90007 { (exit 1); exit 1; }; }
90009 cat >conftest.$ac_ext <<_ACEOF
90010 /* confdefs.h. */
90011 _ACEOF
90012 cat confdefs.h >>conftest.$ac_ext
90013 cat >>conftest.$ac_ext <<_ACEOF
90014 /* end confdefs.h. */
90018 main ()
90020 main ();
90022 return 0;
90024 _ACEOF
90025 rm -f conftest.$ac_objext conftest$ac_exeext
90026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90027 (eval $ac_link) 2>conftest.er1
90028 ac_status=$?
90029 grep -v '^ *+' conftest.er1 >conftest.err
90030 rm -f conftest.er1
90031 cat conftest.err >&5
90032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90033 (exit $ac_status); } &&
90034 { ac_try='test -z "$ac_c_werror_flag"
90035 || test ! -s conftest.err'
90036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90037 (eval $ac_try) 2>&5
90038 ac_status=$?
90039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90040 (exit $ac_status); }; } &&
90041 { ac_try='test -s conftest$ac_exeext'
90042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90043 (eval $ac_try) 2>&5
90044 ac_status=$?
90045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90046 (exit $ac_status); }; }; then
90047 ac_cv_lib_m_main=yes
90048 else
90049 echo "$as_me: failed program was:" >&5
90050 sed 's/^/| /' conftest.$ac_ext >&5
90052 ac_cv_lib_m_main=no
90054 rm -f conftest.err conftest.$ac_objext \
90055 conftest$ac_exeext conftest.$ac_ext
90056 LIBS=$ac_check_lib_save_LIBS
90058 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
90059 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
90060 if test $ac_cv_lib_m_main = yes; then
90061 cat >>confdefs.h <<_ACEOF
90062 #define HAVE_LIBM 1
90063 _ACEOF
90065 LIBS="-lm $LIBS"
90070 for ac_func in copysignf
90072 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90073 echo "$as_me:$LINENO: checking for $ac_func" >&5
90074 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90075 if eval "test \"\${$as_ac_var+set}\" = set"; then
90076 echo $ECHO_N "(cached) $ECHO_C" >&6
90077 else
90078 if test x$gcc_no_link = xyes; then
90079 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90080 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90081 { (exit 1); exit 1; }; }
90083 cat >conftest.$ac_ext <<_ACEOF
90084 /* confdefs.h. */
90085 _ACEOF
90086 cat confdefs.h >>conftest.$ac_ext
90087 cat >>conftest.$ac_ext <<_ACEOF
90088 /* end confdefs.h. */
90089 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90090 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90091 #define $ac_func innocuous_$ac_func
90093 /* System header to define __stub macros and hopefully few prototypes,
90094 which can conflict with char $ac_func (); below.
90095 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90096 <limits.h> exists even on freestanding compilers. */
90098 #ifdef __STDC__
90099 # include <limits.h>
90100 #else
90101 # include <assert.h>
90102 #endif
90104 #undef $ac_func
90106 /* Override any gcc2 internal prototype to avoid an error. */
90107 #ifdef __cplusplus
90108 extern "C"
90110 #endif
90111 /* We use char because int might match the return type of a gcc2
90112 builtin and then its argument prototype would still apply. */
90113 char $ac_func ();
90114 /* The GNU C library defines this for functions which it implements
90115 to always fail with ENOSYS. Some functions are actually named
90116 something starting with __ and the normal name is an alias. */
90117 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90118 choke me
90119 #else
90120 char (*f) () = $ac_func;
90121 #endif
90122 #ifdef __cplusplus
90124 #endif
90127 main ()
90129 return f != $ac_func;
90131 return 0;
90133 _ACEOF
90134 rm -f conftest.$ac_objext conftest$ac_exeext
90135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90136 (eval $ac_link) 2>conftest.er1
90137 ac_status=$?
90138 grep -v '^ *+' conftest.er1 >conftest.err
90139 rm -f conftest.er1
90140 cat conftest.err >&5
90141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90142 (exit $ac_status); } &&
90143 { ac_try='test -z "$ac_c_werror_flag"
90144 || test ! -s conftest.err'
90145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90146 (eval $ac_try) 2>&5
90147 ac_status=$?
90148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90149 (exit $ac_status); }; } &&
90150 { ac_try='test -s conftest$ac_exeext'
90151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90152 (eval $ac_try) 2>&5
90153 ac_status=$?
90154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90155 (exit $ac_status); }; }; then
90156 eval "$as_ac_var=yes"
90157 else
90158 echo "$as_me: failed program was:" >&5
90159 sed 's/^/| /' conftest.$ac_ext >&5
90161 eval "$as_ac_var=no"
90163 rm -f conftest.err conftest.$ac_objext \
90164 conftest$ac_exeext conftest.$ac_ext
90166 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90167 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90168 if test `eval echo '${'$as_ac_var'}'` = yes; then
90169 cat >>confdefs.h <<_ACEOF
90170 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90171 _ACEOF
90173 else
90174 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
90176 done
90180 for ac_func in __signbit
90182 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90183 echo "$as_me:$LINENO: checking for $ac_func" >&5
90184 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90185 if eval "test \"\${$as_ac_var+set}\" = set"; then
90186 echo $ECHO_N "(cached) $ECHO_C" >&6
90187 else
90188 if test x$gcc_no_link = xyes; then
90189 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90190 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90191 { (exit 1); exit 1; }; }
90193 cat >conftest.$ac_ext <<_ACEOF
90194 /* confdefs.h. */
90195 _ACEOF
90196 cat confdefs.h >>conftest.$ac_ext
90197 cat >>conftest.$ac_ext <<_ACEOF
90198 /* end confdefs.h. */
90199 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90200 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90201 #define $ac_func innocuous_$ac_func
90203 /* System header to define __stub macros and hopefully few prototypes,
90204 which can conflict with char $ac_func (); below.
90205 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90206 <limits.h> exists even on freestanding compilers. */
90208 #ifdef __STDC__
90209 # include <limits.h>
90210 #else
90211 # include <assert.h>
90212 #endif
90214 #undef $ac_func
90216 /* Override any gcc2 internal prototype to avoid an error. */
90217 #ifdef __cplusplus
90218 extern "C"
90220 #endif
90221 /* We use char because int might match the return type of a gcc2
90222 builtin and then its argument prototype would still apply. */
90223 char $ac_func ();
90224 /* The GNU C library defines this for functions which it implements
90225 to always fail with ENOSYS. Some functions are actually named
90226 something starting with __ and the normal name is an alias. */
90227 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90228 choke me
90229 #else
90230 char (*f) () = $ac_func;
90231 #endif
90232 #ifdef __cplusplus
90234 #endif
90237 main ()
90239 return f != $ac_func;
90241 return 0;
90243 _ACEOF
90244 rm -f conftest.$ac_objext conftest$ac_exeext
90245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90246 (eval $ac_link) 2>conftest.er1
90247 ac_status=$?
90248 grep -v '^ *+' conftest.er1 >conftest.err
90249 rm -f conftest.er1
90250 cat conftest.err >&5
90251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90252 (exit $ac_status); } &&
90253 { ac_try='test -z "$ac_c_werror_flag"
90254 || test ! -s conftest.err'
90255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90256 (eval $ac_try) 2>&5
90257 ac_status=$?
90258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90259 (exit $ac_status); }; } &&
90260 { ac_try='test -s conftest$ac_exeext'
90261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90262 (eval $ac_try) 2>&5
90263 ac_status=$?
90264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90265 (exit $ac_status); }; }; then
90266 eval "$as_ac_var=yes"
90267 else
90268 echo "$as_me: failed program was:" >&5
90269 sed 's/^/| /' conftest.$ac_ext >&5
90271 eval "$as_ac_var=no"
90273 rm -f conftest.err conftest.$ac_objext \
90274 conftest$ac_exeext conftest.$ac_ext
90276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90277 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90278 if test `eval echo '${'$as_ac_var'}'` = yes; then
90279 cat >>confdefs.h <<_ACEOF
90280 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90281 _ACEOF
90283 else
90284 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
90286 done
90290 for ac_func in __signbitf
90292 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90293 echo "$as_me:$LINENO: checking for $ac_func" >&5
90294 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90295 if eval "test \"\${$as_ac_var+set}\" = set"; then
90296 echo $ECHO_N "(cached) $ECHO_C" >&6
90297 else
90298 if test x$gcc_no_link = xyes; then
90299 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90300 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90301 { (exit 1); exit 1; }; }
90303 cat >conftest.$ac_ext <<_ACEOF
90304 /* confdefs.h. */
90305 _ACEOF
90306 cat confdefs.h >>conftest.$ac_ext
90307 cat >>conftest.$ac_ext <<_ACEOF
90308 /* end confdefs.h. */
90309 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90310 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90311 #define $ac_func innocuous_$ac_func
90313 /* System header to define __stub macros and hopefully few prototypes,
90314 which can conflict with char $ac_func (); below.
90315 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90316 <limits.h> exists even on freestanding compilers. */
90318 #ifdef __STDC__
90319 # include <limits.h>
90320 #else
90321 # include <assert.h>
90322 #endif
90324 #undef $ac_func
90326 /* Override any gcc2 internal prototype to avoid an error. */
90327 #ifdef __cplusplus
90328 extern "C"
90330 #endif
90331 /* We use char because int might match the return type of a gcc2
90332 builtin and then its argument prototype would still apply. */
90333 char $ac_func ();
90334 /* The GNU C library defines this for functions which it implements
90335 to always fail with ENOSYS. Some functions are actually named
90336 something starting with __ and the normal name is an alias. */
90337 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90338 choke me
90339 #else
90340 char (*f) () = $ac_func;
90341 #endif
90342 #ifdef __cplusplus
90344 #endif
90347 main ()
90349 return f != $ac_func;
90351 return 0;
90353 _ACEOF
90354 rm -f conftest.$ac_objext conftest$ac_exeext
90355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90356 (eval $ac_link) 2>conftest.er1
90357 ac_status=$?
90358 grep -v '^ *+' conftest.er1 >conftest.err
90359 rm -f conftest.er1
90360 cat conftest.err >&5
90361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90362 (exit $ac_status); } &&
90363 { ac_try='test -z "$ac_c_werror_flag"
90364 || test ! -s conftest.err'
90365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90366 (eval $ac_try) 2>&5
90367 ac_status=$?
90368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90369 (exit $ac_status); }; } &&
90370 { ac_try='test -s conftest$ac_exeext'
90371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90372 (eval $ac_try) 2>&5
90373 ac_status=$?
90374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90375 (exit $ac_status); }; }; then
90376 eval "$as_ac_var=yes"
90377 else
90378 echo "$as_me: failed program was:" >&5
90379 sed 's/^/| /' conftest.$ac_ext >&5
90381 eval "$as_ac_var=no"
90383 rm -f conftest.err conftest.$ac_objext \
90384 conftest$ac_exeext conftest.$ac_ext
90386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90387 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90388 if test `eval echo '${'$as_ac_var'}'` = yes; then
90389 cat >>confdefs.h <<_ACEOF
90390 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90391 _ACEOF
90393 else
90394 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
90396 done
90399 if test x$ac_cv_func_copysignl = x"yes"; then
90401 for ac_func in __signbitl
90403 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90404 echo "$as_me:$LINENO: checking for $ac_func" >&5
90405 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90406 if eval "test \"\${$as_ac_var+set}\" = set"; then
90407 echo $ECHO_N "(cached) $ECHO_C" >&6
90408 else
90409 if test x$gcc_no_link = xyes; then
90410 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90411 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90412 { (exit 1); exit 1; }; }
90414 cat >conftest.$ac_ext <<_ACEOF
90415 /* confdefs.h. */
90416 _ACEOF
90417 cat confdefs.h >>conftest.$ac_ext
90418 cat >>conftest.$ac_ext <<_ACEOF
90419 /* end confdefs.h. */
90420 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90421 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90422 #define $ac_func innocuous_$ac_func
90424 /* System header to define __stub macros and hopefully few prototypes,
90425 which can conflict with char $ac_func (); below.
90426 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90427 <limits.h> exists even on freestanding compilers. */
90429 #ifdef __STDC__
90430 # include <limits.h>
90431 #else
90432 # include <assert.h>
90433 #endif
90435 #undef $ac_func
90437 /* Override any gcc2 internal prototype to avoid an error. */
90438 #ifdef __cplusplus
90439 extern "C"
90441 #endif
90442 /* We use char because int might match the return type of a gcc2
90443 builtin and then its argument prototype would still apply. */
90444 char $ac_func ();
90445 /* The GNU C library defines this for functions which it implements
90446 to always fail with ENOSYS. Some functions are actually named
90447 something starting with __ and the normal name is an alias. */
90448 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90449 choke me
90450 #else
90451 char (*f) () = $ac_func;
90452 #endif
90453 #ifdef __cplusplus
90455 #endif
90458 main ()
90460 return f != $ac_func;
90462 return 0;
90464 _ACEOF
90465 rm -f conftest.$ac_objext conftest$ac_exeext
90466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90467 (eval $ac_link) 2>conftest.er1
90468 ac_status=$?
90469 grep -v '^ *+' conftest.er1 >conftest.err
90470 rm -f conftest.er1
90471 cat conftest.err >&5
90472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90473 (exit $ac_status); } &&
90474 { ac_try='test -z "$ac_c_werror_flag"
90475 || test ! -s conftest.err'
90476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90477 (eval $ac_try) 2>&5
90478 ac_status=$?
90479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90480 (exit $ac_status); }; } &&
90481 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
90487 eval "$as_ac_var=yes"
90488 else
90489 echo "$as_me: failed program was:" >&5
90490 sed 's/^/| /' conftest.$ac_ext >&5
90492 eval "$as_ac_var=no"
90494 rm -f conftest.err conftest.$ac_objext \
90495 conftest$ac_exeext conftest.$ac_ext
90497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90498 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90499 if test `eval echo '${'$as_ac_var'}'` = yes; then
90500 cat >>confdefs.h <<_ACEOF
90501 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90502 _ACEOF
90504 else
90505 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
90507 done
90511 # Used in libmath/Makefile.am.
90512 if test -n "$LIBMATHOBJS"; then
90513 need_libmath=yes
90518 # Test wchar.h for mbstate_t, which is needed for char_traits and
90519 # others even if wchar_t support is not on.
90520 echo "$as_me:$LINENO: checking for mbstate_t" >&5
90521 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
90522 cat >conftest.$ac_ext <<_ACEOF
90523 /* confdefs.h. */
90524 _ACEOF
90525 cat confdefs.h >>conftest.$ac_ext
90526 cat >>conftest.$ac_ext <<_ACEOF
90527 /* end confdefs.h. */
90528 #include <wchar.h>
90530 main ()
90532 mbstate_t teststate;
90534 return 0;
90536 _ACEOF
90537 rm -f conftest.$ac_objext
90538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90539 (eval $ac_compile) 2>conftest.er1
90540 ac_status=$?
90541 grep -v '^ *+' conftest.er1 >conftest.err
90542 rm -f conftest.er1
90543 cat conftest.err >&5
90544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90545 (exit $ac_status); } &&
90546 { ac_try='test -z "$ac_c_werror_flag"
90547 || test ! -s conftest.err'
90548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90549 (eval $ac_try) 2>&5
90550 ac_status=$?
90551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90552 (exit $ac_status); }; } &&
90553 { ac_try='test -s conftest.$ac_objext'
90554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90555 (eval $ac_try) 2>&5
90556 ac_status=$?
90557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90558 (exit $ac_status); }; }; then
90559 have_mbstate_t=yes
90560 else
90561 echo "$as_me: failed program was:" >&5
90562 sed 's/^/| /' conftest.$ac_ext >&5
90564 have_mbstate_t=no
90566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90567 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
90568 echo "${ECHO_T}$have_mbstate_t" >&6
90569 if test x"$have_mbstate_t" = xyes; then
90570 cat >>confdefs.h <<\_ACEOF
90571 #define HAVE_MBSTATE_T 1
90572 _ACEOF
90576 # Sanity check for existence of ISO C99 headers for extended encoding.
90578 for ac_header in wchar.h
90580 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
90581 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90582 echo "$as_me:$LINENO: checking for $ac_header" >&5
90583 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
90584 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90585 echo $ECHO_N "(cached) $ECHO_C" >&6
90587 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
90588 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
90589 else
90590 # Is the header compilable?
90591 echo "$as_me:$LINENO: checking $ac_header usability" >&5
90592 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
90593 cat >conftest.$ac_ext <<_ACEOF
90594 /* confdefs.h. */
90595 _ACEOF
90596 cat confdefs.h >>conftest.$ac_ext
90597 cat >>conftest.$ac_ext <<_ACEOF
90598 /* end confdefs.h. */
90599 $ac_includes_default
90600 #include <$ac_header>
90601 _ACEOF
90602 rm -f conftest.$ac_objext
90603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90604 (eval $ac_compile) 2>conftest.er1
90605 ac_status=$?
90606 grep -v '^ *+' conftest.er1 >conftest.err
90607 rm -f conftest.er1
90608 cat conftest.err >&5
90609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90610 (exit $ac_status); } &&
90611 { ac_try='test -z "$ac_c_werror_flag"
90612 || test ! -s conftest.err'
90613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90614 (eval $ac_try) 2>&5
90615 ac_status=$?
90616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90617 (exit $ac_status); }; } &&
90618 { ac_try='test -s conftest.$ac_objext'
90619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90620 (eval $ac_try) 2>&5
90621 ac_status=$?
90622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90623 (exit $ac_status); }; }; then
90624 ac_header_compiler=yes
90625 else
90626 echo "$as_me: failed program was:" >&5
90627 sed 's/^/| /' conftest.$ac_ext >&5
90629 ac_header_compiler=no
90631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90632 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
90633 echo "${ECHO_T}$ac_header_compiler" >&6
90635 # Is the header present?
90636 echo "$as_me:$LINENO: checking $ac_header presence" >&5
90637 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
90638 cat >conftest.$ac_ext <<_ACEOF
90639 /* confdefs.h. */
90640 _ACEOF
90641 cat confdefs.h >>conftest.$ac_ext
90642 cat >>conftest.$ac_ext <<_ACEOF
90643 /* end confdefs.h. */
90644 #include <$ac_header>
90645 _ACEOF
90646 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
90647 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
90648 ac_status=$?
90649 grep -v '^ *+' conftest.er1 >conftest.err
90650 rm -f conftest.er1
90651 cat conftest.err >&5
90652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90653 (exit $ac_status); } >/dev/null; then
90654 if test -s conftest.err; then
90655 ac_cpp_err=$ac_c_preproc_warn_flag
90656 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
90657 else
90658 ac_cpp_err=
90660 else
90661 ac_cpp_err=yes
90663 if test -z "$ac_cpp_err"; then
90664 ac_header_preproc=yes
90665 else
90666 echo "$as_me: failed program was:" >&5
90667 sed 's/^/| /' conftest.$ac_ext >&5
90669 ac_header_preproc=no
90671 rm -f conftest.err conftest.$ac_ext
90672 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
90673 echo "${ECHO_T}$ac_header_preproc" >&6
90675 # So? What about this header?
90676 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
90677 yes:no: )
90678 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
90679 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
90680 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
90681 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
90682 ac_header_preproc=yes
90684 no:yes:* )
90685 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
90686 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
90687 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
90688 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
90689 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
90690 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
90691 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
90692 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
90693 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
90694 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
90695 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
90696 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
90698 cat <<\_ASBOX
90699 ## ----------------------------------------- ##
90700 ## Report this to the package-unused lists. ##
90701 ## ----------------------------------------- ##
90702 _ASBOX
90704 sed "s/^/$as_me: WARNING: /" >&2
90706 esac
90707 echo "$as_me:$LINENO: checking for $ac_header" >&5
90708 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
90709 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90710 echo $ECHO_N "(cached) $ECHO_C" >&6
90711 else
90712 eval "$as_ac_Header=\$ac_header_preproc"
90714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
90715 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
90718 if test `eval echo '${'$as_ac_Header'}'` = yes; then
90719 cat >>confdefs.h <<_ACEOF
90720 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
90721 _ACEOF
90722 ac_has_wchar_h=yes
90723 else
90724 ac_has_wchar_h=no
90727 done
90730 for ac_header in wctype.h
90732 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
90733 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90734 echo "$as_me:$LINENO: checking for $ac_header" >&5
90735 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
90736 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90737 echo $ECHO_N "(cached) $ECHO_C" >&6
90739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
90740 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
90741 else
90742 # Is the header compilable?
90743 echo "$as_me:$LINENO: checking $ac_header usability" >&5
90744 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
90745 cat >conftest.$ac_ext <<_ACEOF
90746 /* confdefs.h. */
90747 _ACEOF
90748 cat confdefs.h >>conftest.$ac_ext
90749 cat >>conftest.$ac_ext <<_ACEOF
90750 /* end confdefs.h. */
90751 $ac_includes_default
90752 #include <$ac_header>
90753 _ACEOF
90754 rm -f conftest.$ac_objext
90755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90756 (eval $ac_compile) 2>conftest.er1
90757 ac_status=$?
90758 grep -v '^ *+' conftest.er1 >conftest.err
90759 rm -f conftest.er1
90760 cat conftest.err >&5
90761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90762 (exit $ac_status); } &&
90763 { ac_try='test -z "$ac_c_werror_flag"
90764 || test ! -s conftest.err'
90765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90766 (eval $ac_try) 2>&5
90767 ac_status=$?
90768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90769 (exit $ac_status); }; } &&
90770 { ac_try='test -s conftest.$ac_objext'
90771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90772 (eval $ac_try) 2>&5
90773 ac_status=$?
90774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90775 (exit $ac_status); }; }; then
90776 ac_header_compiler=yes
90777 else
90778 echo "$as_me: failed program was:" >&5
90779 sed 's/^/| /' conftest.$ac_ext >&5
90781 ac_header_compiler=no
90783 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90784 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
90785 echo "${ECHO_T}$ac_header_compiler" >&6
90787 # Is the header present?
90788 echo "$as_me:$LINENO: checking $ac_header presence" >&5
90789 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
90790 cat >conftest.$ac_ext <<_ACEOF
90791 /* confdefs.h. */
90792 _ACEOF
90793 cat confdefs.h >>conftest.$ac_ext
90794 cat >>conftest.$ac_ext <<_ACEOF
90795 /* end confdefs.h. */
90796 #include <$ac_header>
90797 _ACEOF
90798 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
90799 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
90800 ac_status=$?
90801 grep -v '^ *+' conftest.er1 >conftest.err
90802 rm -f conftest.er1
90803 cat conftest.err >&5
90804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90805 (exit $ac_status); } >/dev/null; then
90806 if test -s conftest.err; then
90807 ac_cpp_err=$ac_c_preproc_warn_flag
90808 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
90809 else
90810 ac_cpp_err=
90812 else
90813 ac_cpp_err=yes
90815 if test -z "$ac_cpp_err"; then
90816 ac_header_preproc=yes
90817 else
90818 echo "$as_me: failed program was:" >&5
90819 sed 's/^/| /' conftest.$ac_ext >&5
90821 ac_header_preproc=no
90823 rm -f conftest.err conftest.$ac_ext
90824 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
90825 echo "${ECHO_T}$ac_header_preproc" >&6
90827 # So? What about this header?
90828 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
90829 yes:no: )
90830 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
90831 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
90832 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
90833 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
90834 ac_header_preproc=yes
90836 no:yes:* )
90837 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
90838 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
90839 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
90840 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
90841 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
90842 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
90843 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
90844 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
90845 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
90846 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
90847 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
90848 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
90850 cat <<\_ASBOX
90851 ## ----------------------------------------- ##
90852 ## Report this to the package-unused lists. ##
90853 ## ----------------------------------------- ##
90854 _ASBOX
90856 sed "s/^/$as_me: WARNING: /" >&2
90858 esac
90859 echo "$as_me:$LINENO: checking for $ac_header" >&5
90860 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
90861 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90862 echo $ECHO_N "(cached) $ECHO_C" >&6
90863 else
90864 eval "$as_ac_Header=\$ac_header_preproc"
90866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
90867 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
90870 if test `eval echo '${'$as_ac_Header'}'` = yes; then
90871 cat >>confdefs.h <<_ACEOF
90872 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
90873 _ACEOF
90874 ac_has_wctype_h=yes
90875 else
90876 ac_has_wctype_h=no
90879 done
90882 # Only continue checking if the ISO C99 headers exist and support is on.
90883 if test x"$ac_has_wchar_h" = xyes &&
90884 test x"$ac_has_wctype_h" = xyes &&
90885 test x"$enable_c_mbchar" != xno; then
90887 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
90888 # numeric_limits can instantiate type_traits<wchar_t>
90889 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
90890 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
90891 cat >conftest.$ac_ext <<_ACEOF
90892 /* confdefs.h. */
90893 _ACEOF
90894 cat confdefs.h >>conftest.$ac_ext
90895 cat >>conftest.$ac_ext <<_ACEOF
90896 /* end confdefs.h. */
90897 #include <wchar.h>
90899 main ()
90901 int i = WCHAR_MIN; int j = WCHAR_MAX;
90903 return 0;
90905 _ACEOF
90906 rm -f conftest.$ac_objext
90907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90908 (eval $ac_compile) 2>conftest.er1
90909 ac_status=$?
90910 grep -v '^ *+' conftest.er1 >conftest.err
90911 rm -f conftest.er1
90912 cat conftest.err >&5
90913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90914 (exit $ac_status); } &&
90915 { ac_try='test -z "$ac_c_werror_flag"
90916 || test ! -s conftest.err'
90917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90918 (eval $ac_try) 2>&5
90919 ac_status=$?
90920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90921 (exit $ac_status); }; } &&
90922 { ac_try='test -s conftest.$ac_objext'
90923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90924 (eval $ac_try) 2>&5
90925 ac_status=$?
90926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90927 (exit $ac_status); }; }; then
90928 has_wchar_minmax=yes
90929 else
90930 echo "$as_me: failed program was:" >&5
90931 sed 's/^/| /' conftest.$ac_ext >&5
90933 has_wchar_minmax=no
90935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90936 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
90937 echo "${ECHO_T}$has_wchar_minmax" >&6
90939 # Test wchar.h for WEOF, which is what we use to determine whether
90940 # to specialize for char_traits<wchar_t> or not.
90941 echo "$as_me:$LINENO: checking for WEOF" >&5
90942 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
90943 cat >conftest.$ac_ext <<_ACEOF
90944 /* confdefs.h. */
90945 _ACEOF
90946 cat confdefs.h >>conftest.$ac_ext
90947 cat >>conftest.$ac_ext <<_ACEOF
90948 /* end confdefs.h. */
90950 #include <wchar.h>
90951 #include <stddef.h>
90953 main ()
90955 wint_t i = WEOF;
90957 return 0;
90959 _ACEOF
90960 rm -f conftest.$ac_objext
90961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90962 (eval $ac_compile) 2>conftest.er1
90963 ac_status=$?
90964 grep -v '^ *+' conftest.er1 >conftest.err
90965 rm -f conftest.er1
90966 cat conftest.err >&5
90967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90968 (exit $ac_status); } &&
90969 { ac_try='test -z "$ac_c_werror_flag"
90970 || test ! -s conftest.err'
90971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90972 (eval $ac_try) 2>&5
90973 ac_status=$?
90974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90975 (exit $ac_status); }; } &&
90976 { ac_try='test -s conftest.$ac_objext'
90977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90978 (eval $ac_try) 2>&5
90979 ac_status=$?
90980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90981 (exit $ac_status); }; }; then
90982 has_weof=yes
90983 else
90984 echo "$as_me: failed program was:" >&5
90985 sed 's/^/| /' conftest.$ac_ext >&5
90987 has_weof=no
90989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90990 echo "$as_me:$LINENO: result: $has_weof" >&5
90991 echo "${ECHO_T}$has_weof" >&6
90993 # Tests for wide character functions used in char_traits<wchar_t>.
90994 ac_wfuncs=yes
91001 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
91003 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91004 echo "$as_me:$LINENO: checking for $ac_func" >&5
91005 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91006 if eval "test \"\${$as_ac_var+set}\" = set"; then
91007 echo $ECHO_N "(cached) $ECHO_C" >&6
91008 else
91009 if test x$gcc_no_link = xyes; then
91010 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91011 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91012 { (exit 1); exit 1; }; }
91014 cat >conftest.$ac_ext <<_ACEOF
91015 /* confdefs.h. */
91016 _ACEOF
91017 cat confdefs.h >>conftest.$ac_ext
91018 cat >>conftest.$ac_ext <<_ACEOF
91019 /* end confdefs.h. */
91020 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91021 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91022 #define $ac_func innocuous_$ac_func
91024 /* System header to define __stub macros and hopefully few prototypes,
91025 which can conflict with char $ac_func (); below.
91026 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91027 <limits.h> exists even on freestanding compilers. */
91029 #ifdef __STDC__
91030 # include <limits.h>
91031 #else
91032 # include <assert.h>
91033 #endif
91035 #undef $ac_func
91037 /* Override any gcc2 internal prototype to avoid an error. */
91038 #ifdef __cplusplus
91039 extern "C"
91041 #endif
91042 /* We use char because int might match the return type of a gcc2
91043 builtin and then its argument prototype would still apply. */
91044 char $ac_func ();
91045 /* The GNU C library defines this for functions which it implements
91046 to always fail with ENOSYS. Some functions are actually named
91047 something starting with __ and the normal name is an alias. */
91048 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91049 choke me
91050 #else
91051 char (*f) () = $ac_func;
91052 #endif
91053 #ifdef __cplusplus
91055 #endif
91058 main ()
91060 return f != $ac_func;
91062 return 0;
91064 _ACEOF
91065 rm -f conftest.$ac_objext conftest$ac_exeext
91066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91067 (eval $ac_link) 2>conftest.er1
91068 ac_status=$?
91069 grep -v '^ *+' conftest.er1 >conftest.err
91070 rm -f conftest.er1
91071 cat conftest.err >&5
91072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91073 (exit $ac_status); } &&
91074 { ac_try='test -z "$ac_c_werror_flag"
91075 || test ! -s conftest.err'
91076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91077 (eval $ac_try) 2>&5
91078 ac_status=$?
91079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91080 (exit $ac_status); }; } &&
91081 { ac_try='test -s conftest$ac_exeext'
91082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91083 (eval $ac_try) 2>&5
91084 ac_status=$?
91085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91086 (exit $ac_status); }; }; then
91087 eval "$as_ac_var=yes"
91088 else
91089 echo "$as_me: failed program was:" >&5
91090 sed 's/^/| /' conftest.$ac_ext >&5
91092 eval "$as_ac_var=no"
91094 rm -f conftest.err conftest.$ac_objext \
91095 conftest$ac_exeext conftest.$ac_ext
91097 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91098 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91099 if test `eval echo '${'$as_ac_var'}'` = yes; then
91100 cat >>confdefs.h <<_ACEOF
91101 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91102 _ACEOF
91104 else
91105 ac_wfuncs=no
91107 done
91110 # Checks for names injected into std:: by the c_std headers.
91157 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
91158 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
91159 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
91160 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
91161 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
91162 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
91164 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91165 echo "$as_me:$LINENO: checking for $ac_func" >&5
91166 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91167 if eval "test \"\${$as_ac_var+set}\" = set"; then
91168 echo $ECHO_N "(cached) $ECHO_C" >&6
91169 else
91170 if test x$gcc_no_link = xyes; then
91171 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91172 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91173 { (exit 1); exit 1; }; }
91175 cat >conftest.$ac_ext <<_ACEOF
91176 /* confdefs.h. */
91177 _ACEOF
91178 cat confdefs.h >>conftest.$ac_ext
91179 cat >>conftest.$ac_ext <<_ACEOF
91180 /* end confdefs.h. */
91181 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91182 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91183 #define $ac_func innocuous_$ac_func
91185 /* System header to define __stub macros and hopefully few prototypes,
91186 which can conflict with char $ac_func (); below.
91187 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91188 <limits.h> exists even on freestanding compilers. */
91190 #ifdef __STDC__
91191 # include <limits.h>
91192 #else
91193 # include <assert.h>
91194 #endif
91196 #undef $ac_func
91198 /* Override any gcc2 internal prototype to avoid an error. */
91199 #ifdef __cplusplus
91200 extern "C"
91202 #endif
91203 /* We use char because int might match the return type of a gcc2
91204 builtin and then its argument prototype would still apply. */
91205 char $ac_func ();
91206 /* The GNU C library defines this for functions which it implements
91207 to always fail with ENOSYS. Some functions are actually named
91208 something starting with __ and the normal name is an alias. */
91209 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91210 choke me
91211 #else
91212 char (*f) () = $ac_func;
91213 #endif
91214 #ifdef __cplusplus
91216 #endif
91219 main ()
91221 return f != $ac_func;
91223 return 0;
91225 _ACEOF
91226 rm -f conftest.$ac_objext conftest$ac_exeext
91227 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91228 (eval $ac_link) 2>conftest.er1
91229 ac_status=$?
91230 grep -v '^ *+' conftest.er1 >conftest.err
91231 rm -f conftest.er1
91232 cat conftest.err >&5
91233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91234 (exit $ac_status); } &&
91235 { ac_try='test -z "$ac_c_werror_flag"
91236 || test ! -s conftest.err'
91237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91238 (eval $ac_try) 2>&5
91239 ac_status=$?
91240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91241 (exit $ac_status); }; } &&
91242 { ac_try='test -s conftest$ac_exeext'
91243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91244 (eval $ac_try) 2>&5
91245 ac_status=$?
91246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91247 (exit $ac_status); }; }; then
91248 eval "$as_ac_var=yes"
91249 else
91250 echo "$as_me: failed program was:" >&5
91251 sed 's/^/| /' conftest.$ac_ext >&5
91253 eval "$as_ac_var=no"
91255 rm -f conftest.err conftest.$ac_objext \
91256 conftest$ac_exeext conftest.$ac_ext
91258 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91259 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91260 if test `eval echo '${'$as_ac_var'}'` = yes; then
91261 cat >>confdefs.h <<_ACEOF
91262 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91263 _ACEOF
91265 else
91266 ac_wfuncs=no
91268 done
91271 # Checks for wide character functions that are not required
91272 # for basic wchar_t support. Don't disable support if they are missing.
91273 # Injection of these is wrapped with guard macros.
91279 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
91281 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91282 echo "$as_me:$LINENO: checking for $ac_func" >&5
91283 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91284 if eval "test \"\${$as_ac_var+set}\" = set"; then
91285 echo $ECHO_N "(cached) $ECHO_C" >&6
91286 else
91287 if test x$gcc_no_link = xyes; then
91288 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91289 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91290 { (exit 1); exit 1; }; }
91292 cat >conftest.$ac_ext <<_ACEOF
91293 /* confdefs.h. */
91294 _ACEOF
91295 cat confdefs.h >>conftest.$ac_ext
91296 cat >>conftest.$ac_ext <<_ACEOF
91297 /* end confdefs.h. */
91298 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91299 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91300 #define $ac_func innocuous_$ac_func
91302 /* System header to define __stub macros and hopefully few prototypes,
91303 which can conflict with char $ac_func (); below.
91304 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91305 <limits.h> exists even on freestanding compilers. */
91307 #ifdef __STDC__
91308 # include <limits.h>
91309 #else
91310 # include <assert.h>
91311 #endif
91313 #undef $ac_func
91315 /* Override any gcc2 internal prototype to avoid an error. */
91316 #ifdef __cplusplus
91317 extern "C"
91319 #endif
91320 /* We use char because int might match the return type of a gcc2
91321 builtin and then its argument prototype would still apply. */
91322 char $ac_func ();
91323 /* The GNU C library defines this for functions which it implements
91324 to always fail with ENOSYS. Some functions are actually named
91325 something starting with __ and the normal name is an alias. */
91326 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91327 choke me
91328 #else
91329 char (*f) () = $ac_func;
91330 #endif
91331 #ifdef __cplusplus
91333 #endif
91336 main ()
91338 return f != $ac_func;
91340 return 0;
91342 _ACEOF
91343 rm -f conftest.$ac_objext conftest$ac_exeext
91344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91345 (eval $ac_link) 2>conftest.er1
91346 ac_status=$?
91347 grep -v '^ *+' conftest.er1 >conftest.err
91348 rm -f conftest.er1
91349 cat conftest.err >&5
91350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91351 (exit $ac_status); } &&
91352 { ac_try='test -z "$ac_c_werror_flag"
91353 || test ! -s conftest.err'
91354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91355 (eval $ac_try) 2>&5
91356 ac_status=$?
91357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91358 (exit $ac_status); }; } &&
91359 { ac_try='test -s conftest$ac_exeext'
91360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91361 (eval $ac_try) 2>&5
91362 ac_status=$?
91363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91364 (exit $ac_status); }; }; then
91365 eval "$as_ac_var=yes"
91366 else
91367 echo "$as_me: failed program was:" >&5
91368 sed 's/^/| /' conftest.$ac_ext >&5
91370 eval "$as_ac_var=no"
91372 rm -f conftest.err conftest.$ac_objext \
91373 conftest$ac_exeext conftest.$ac_ext
91375 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91376 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91377 if test `eval echo '${'$as_ac_var'}'` = yes; then
91378 cat >>confdefs.h <<_ACEOF
91379 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91380 _ACEOF
91383 done
91386 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
91387 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
91388 if test x"$has_weof" = xyes &&
91389 test x"$has_wchar_minmax" = xyes &&
91390 test x"$ac_wfuncs" = xyes;
91391 then
91392 ac_isoC99_wchar_t=yes
91393 else
91394 ac_isoC99_wchar_t=no
91396 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
91397 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
91399 # Use iconv for wchar_t to char conversions. As such, check for
91400 # X/Open Portability Guide, version 2 features (XPG2).
91401 if test "${ac_cv_header_iconv_h+set}" = set; then
91402 echo "$as_me:$LINENO: checking for iconv.h" >&5
91403 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
91404 if test "${ac_cv_header_iconv_h+set}" = set; then
91405 echo $ECHO_N "(cached) $ECHO_C" >&6
91407 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
91408 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
91409 else
91410 # Is the header compilable?
91411 echo "$as_me:$LINENO: checking iconv.h usability" >&5
91412 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
91413 cat >conftest.$ac_ext <<_ACEOF
91414 /* confdefs.h. */
91415 _ACEOF
91416 cat confdefs.h >>conftest.$ac_ext
91417 cat >>conftest.$ac_ext <<_ACEOF
91418 /* end confdefs.h. */
91419 $ac_includes_default
91420 #include <iconv.h>
91421 _ACEOF
91422 rm -f conftest.$ac_objext
91423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91424 (eval $ac_compile) 2>conftest.er1
91425 ac_status=$?
91426 grep -v '^ *+' conftest.er1 >conftest.err
91427 rm -f conftest.er1
91428 cat conftest.err >&5
91429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91430 (exit $ac_status); } &&
91431 { ac_try='test -z "$ac_c_werror_flag"
91432 || test ! -s conftest.err'
91433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91434 (eval $ac_try) 2>&5
91435 ac_status=$?
91436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91437 (exit $ac_status); }; } &&
91438 { ac_try='test -s conftest.$ac_objext'
91439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91440 (eval $ac_try) 2>&5
91441 ac_status=$?
91442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91443 (exit $ac_status); }; }; then
91444 ac_header_compiler=yes
91445 else
91446 echo "$as_me: failed program was:" >&5
91447 sed 's/^/| /' conftest.$ac_ext >&5
91449 ac_header_compiler=no
91451 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91452 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
91453 echo "${ECHO_T}$ac_header_compiler" >&6
91455 # Is the header present?
91456 echo "$as_me:$LINENO: checking iconv.h presence" >&5
91457 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
91458 cat >conftest.$ac_ext <<_ACEOF
91459 /* confdefs.h. */
91460 _ACEOF
91461 cat confdefs.h >>conftest.$ac_ext
91462 cat >>conftest.$ac_ext <<_ACEOF
91463 /* end confdefs.h. */
91464 #include <iconv.h>
91465 _ACEOF
91466 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
91467 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
91468 ac_status=$?
91469 grep -v '^ *+' conftest.er1 >conftest.err
91470 rm -f conftest.er1
91471 cat conftest.err >&5
91472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91473 (exit $ac_status); } >/dev/null; then
91474 if test -s conftest.err; then
91475 ac_cpp_err=$ac_c_preproc_warn_flag
91476 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
91477 else
91478 ac_cpp_err=
91480 else
91481 ac_cpp_err=yes
91483 if test -z "$ac_cpp_err"; then
91484 ac_header_preproc=yes
91485 else
91486 echo "$as_me: failed program was:" >&5
91487 sed 's/^/| /' conftest.$ac_ext >&5
91489 ac_header_preproc=no
91491 rm -f conftest.err conftest.$ac_ext
91492 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
91493 echo "${ECHO_T}$ac_header_preproc" >&6
91495 # So? What about this header?
91496 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
91497 yes:no: )
91498 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
91499 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
91500 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
91501 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
91502 ac_header_preproc=yes
91504 no:yes:* )
91505 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
91506 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
91507 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
91508 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
91509 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
91510 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
91511 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
91512 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
91513 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
91514 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
91515 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
91516 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
91518 cat <<\_ASBOX
91519 ## ----------------------------------------- ##
91520 ## Report this to the package-unused lists. ##
91521 ## ----------------------------------------- ##
91522 _ASBOX
91524 sed "s/^/$as_me: WARNING: /" >&2
91526 esac
91527 echo "$as_me:$LINENO: checking for iconv.h" >&5
91528 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
91529 if test "${ac_cv_header_iconv_h+set}" = set; then
91530 echo $ECHO_N "(cached) $ECHO_C" >&6
91531 else
91532 ac_cv_header_iconv_h=$ac_header_preproc
91534 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
91535 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
91538 if test $ac_cv_header_iconv_h = yes; then
91539 ac_has_iconv_h=yes
91540 else
91541 ac_has_iconv_h=no
91545 if test "${ac_cv_header_langinfo_h+set}" = set; then
91546 echo "$as_me:$LINENO: checking for langinfo.h" >&5
91547 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
91548 if test "${ac_cv_header_langinfo_h+set}" = set; then
91549 echo $ECHO_N "(cached) $ECHO_C" >&6
91551 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
91552 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
91553 else
91554 # Is the header compilable?
91555 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
91556 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
91557 cat >conftest.$ac_ext <<_ACEOF
91558 /* confdefs.h. */
91559 _ACEOF
91560 cat confdefs.h >>conftest.$ac_ext
91561 cat >>conftest.$ac_ext <<_ACEOF
91562 /* end confdefs.h. */
91563 $ac_includes_default
91564 #include <langinfo.h>
91565 _ACEOF
91566 rm -f conftest.$ac_objext
91567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91568 (eval $ac_compile) 2>conftest.er1
91569 ac_status=$?
91570 grep -v '^ *+' conftest.er1 >conftest.err
91571 rm -f conftest.er1
91572 cat conftest.err >&5
91573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91574 (exit $ac_status); } &&
91575 { ac_try='test -z "$ac_c_werror_flag"
91576 || test ! -s conftest.err'
91577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91578 (eval $ac_try) 2>&5
91579 ac_status=$?
91580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91581 (exit $ac_status); }; } &&
91582 { ac_try='test -s conftest.$ac_objext'
91583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91584 (eval $ac_try) 2>&5
91585 ac_status=$?
91586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91587 (exit $ac_status); }; }; then
91588 ac_header_compiler=yes
91589 else
91590 echo "$as_me: failed program was:" >&5
91591 sed 's/^/| /' conftest.$ac_ext >&5
91593 ac_header_compiler=no
91595 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91596 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
91597 echo "${ECHO_T}$ac_header_compiler" >&6
91599 # Is the header present?
91600 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
91601 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
91602 cat >conftest.$ac_ext <<_ACEOF
91603 /* confdefs.h. */
91604 _ACEOF
91605 cat confdefs.h >>conftest.$ac_ext
91606 cat >>conftest.$ac_ext <<_ACEOF
91607 /* end confdefs.h. */
91608 #include <langinfo.h>
91609 _ACEOF
91610 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
91611 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
91612 ac_status=$?
91613 grep -v '^ *+' conftest.er1 >conftest.err
91614 rm -f conftest.er1
91615 cat conftest.err >&5
91616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91617 (exit $ac_status); } >/dev/null; then
91618 if test -s conftest.err; then
91619 ac_cpp_err=$ac_c_preproc_warn_flag
91620 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
91621 else
91622 ac_cpp_err=
91624 else
91625 ac_cpp_err=yes
91627 if test -z "$ac_cpp_err"; then
91628 ac_header_preproc=yes
91629 else
91630 echo "$as_me: failed program was:" >&5
91631 sed 's/^/| /' conftest.$ac_ext >&5
91633 ac_header_preproc=no
91635 rm -f conftest.err conftest.$ac_ext
91636 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
91637 echo "${ECHO_T}$ac_header_preproc" >&6
91639 # So? What about this header?
91640 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
91641 yes:no: )
91642 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
91643 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
91644 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
91645 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
91646 ac_header_preproc=yes
91648 no:yes:* )
91649 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
91650 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
91651 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
91652 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
91653 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
91654 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
91655 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
91656 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
91657 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
91658 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
91659 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
91660 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
91662 cat <<\_ASBOX
91663 ## ----------------------------------------- ##
91664 ## Report this to the package-unused lists. ##
91665 ## ----------------------------------------- ##
91666 _ASBOX
91668 sed "s/^/$as_me: WARNING: /" >&2
91670 esac
91671 echo "$as_me:$LINENO: checking for langinfo.h" >&5
91672 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
91673 if test "${ac_cv_header_langinfo_h+set}" = set; then
91674 echo $ECHO_N "(cached) $ECHO_C" >&6
91675 else
91676 ac_cv_header_langinfo_h=$ac_header_preproc
91678 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
91679 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
91682 if test $ac_cv_header_langinfo_h = yes; then
91683 ac_has_langinfo_h=yes
91684 else
91685 ac_has_langinfo_h=no
91690 # Check for existence of libiconv.a providing XPG2 wchar_t support.
91691 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
91692 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
91693 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
91694 echo $ECHO_N "(cached) $ECHO_C" >&6
91695 else
91696 ac_check_lib_save_LIBS=$LIBS
91697 LIBS="-liconv $LIBS"
91698 if test x$gcc_no_link = xyes; then
91699 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91700 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91701 { (exit 1); exit 1; }; }
91703 cat >conftest.$ac_ext <<_ACEOF
91704 /* confdefs.h. */
91705 _ACEOF
91706 cat confdefs.h >>conftest.$ac_ext
91707 cat >>conftest.$ac_ext <<_ACEOF
91708 /* end confdefs.h. */
91710 /* Override any gcc2 internal prototype to avoid an error. */
91711 #ifdef __cplusplus
91712 extern "C"
91713 #endif
91714 /* We use char because int might match the return type of a gcc2
91715 builtin and then its argument prototype would still apply. */
91716 char iconv ();
91718 main ()
91720 iconv ();
91722 return 0;
91724 _ACEOF
91725 rm -f conftest.$ac_objext conftest$ac_exeext
91726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91727 (eval $ac_link) 2>conftest.er1
91728 ac_status=$?
91729 grep -v '^ *+' conftest.er1 >conftest.err
91730 rm -f conftest.er1
91731 cat conftest.err >&5
91732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91733 (exit $ac_status); } &&
91734 { ac_try='test -z "$ac_c_werror_flag"
91735 || test ! -s conftest.err'
91736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91737 (eval $ac_try) 2>&5
91738 ac_status=$?
91739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91740 (exit $ac_status); }; } &&
91741 { ac_try='test -s conftest$ac_exeext'
91742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91743 (eval $ac_try) 2>&5
91744 ac_status=$?
91745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91746 (exit $ac_status); }; }; then
91747 ac_cv_lib_iconv_iconv=yes
91748 else
91749 echo "$as_me: failed program was:" >&5
91750 sed 's/^/| /' conftest.$ac_ext >&5
91752 ac_cv_lib_iconv_iconv=no
91754 rm -f conftest.err conftest.$ac_objext \
91755 conftest$ac_exeext conftest.$ac_ext
91756 LIBS=$ac_check_lib_save_LIBS
91758 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
91759 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
91760 if test $ac_cv_lib_iconv_iconv = yes; then
91761 LIBICONV="-liconv"
91764 ac_save_LIBS="$LIBS"
91765 LIBS="$LIBS $LIBICONV"
91772 for ac_func in iconv_open iconv_close iconv nl_langinfo
91774 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91775 echo "$as_me:$LINENO: checking for $ac_func" >&5
91776 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91777 if eval "test \"\${$as_ac_var+set}\" = set"; then
91778 echo $ECHO_N "(cached) $ECHO_C" >&6
91779 else
91780 if test x$gcc_no_link = xyes; then
91781 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91782 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91783 { (exit 1); exit 1; }; }
91785 cat >conftest.$ac_ext <<_ACEOF
91786 /* confdefs.h. */
91787 _ACEOF
91788 cat confdefs.h >>conftest.$ac_ext
91789 cat >>conftest.$ac_ext <<_ACEOF
91790 /* end confdefs.h. */
91791 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91792 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91793 #define $ac_func innocuous_$ac_func
91795 /* System header to define __stub macros and hopefully few prototypes,
91796 which can conflict with char $ac_func (); below.
91797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91798 <limits.h> exists even on freestanding compilers. */
91800 #ifdef __STDC__
91801 # include <limits.h>
91802 #else
91803 # include <assert.h>
91804 #endif
91806 #undef $ac_func
91808 /* Override any gcc2 internal prototype to avoid an error. */
91809 #ifdef __cplusplus
91810 extern "C"
91812 #endif
91813 /* We use char because int might match the return type of a gcc2
91814 builtin and then its argument prototype would still apply. */
91815 char $ac_func ();
91816 /* The GNU C library defines this for functions which it implements
91817 to always fail with ENOSYS. Some functions are actually named
91818 something starting with __ and the normal name is an alias. */
91819 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91820 choke me
91821 #else
91822 char (*f) () = $ac_func;
91823 #endif
91824 #ifdef __cplusplus
91826 #endif
91829 main ()
91831 return f != $ac_func;
91833 return 0;
91835 _ACEOF
91836 rm -f conftest.$ac_objext conftest$ac_exeext
91837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91838 (eval $ac_link) 2>conftest.er1
91839 ac_status=$?
91840 grep -v '^ *+' conftest.er1 >conftest.err
91841 rm -f conftest.er1
91842 cat conftest.err >&5
91843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91844 (exit $ac_status); } &&
91845 { ac_try='test -z "$ac_c_werror_flag"
91846 || test ! -s conftest.err'
91847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91848 (eval $ac_try) 2>&5
91849 ac_status=$?
91850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91851 (exit $ac_status); }; } &&
91852 { ac_try='test -s conftest$ac_exeext'
91853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91854 (eval $ac_try) 2>&5
91855 ac_status=$?
91856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91857 (exit $ac_status); }; }; then
91858 eval "$as_ac_var=yes"
91859 else
91860 echo "$as_me: failed program was:" >&5
91861 sed 's/^/| /' conftest.$ac_ext >&5
91863 eval "$as_ac_var=no"
91865 rm -f conftest.err conftest.$ac_objext \
91866 conftest$ac_exeext conftest.$ac_ext
91868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91869 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91870 if test `eval echo '${'$as_ac_var'}'` = yes; then
91871 cat >>confdefs.h <<_ACEOF
91872 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91873 _ACEOF
91874 ac_XPG2funcs=yes
91875 else
91876 ac_XPG2funcs=no
91878 done
91881 LIBS="$ac_save_LIBS"
91883 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
91884 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
91885 if test x"$ac_has_iconv_h" = xyes &&
91886 test x"$ac_has_langinfo_h" = xyes &&
91887 test x"$ac_XPG2funcs" = xyes;
91888 then
91889 ac_XPG2_wchar_t=yes
91890 else
91891 ac_XPG2_wchar_t=no
91893 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
91894 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
91896 # At the moment, only enable wchar_t specializations if all the
91897 # above support is present.
91898 if test x"$ac_isoC99_wchar_t" = xyes &&
91899 test x"$ac_XPG2_wchar_t" = xyes;
91900 then
91901 cat >>confdefs.h <<\_ACEOF
91902 #define _GLIBCXX_USE_WCHAR_T 1
91903 _ACEOF
91905 enable_wchar_t=yes
91908 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
91909 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
91910 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
91911 echo "${ECHO_T}$enable_wchar_t" >&6
91913 cat >>confdefs.h <<\_ACEOF
91914 #define HAVE_COSF 1
91915 _ACEOF
91917 cat >>confdefs.h <<\_ACEOF
91918 #define HAVE_COSL 1
91919 _ACEOF
91921 cat >>confdefs.h <<\_ACEOF
91922 #define HAVE_COSHF 1
91923 _ACEOF
91925 cat >>confdefs.h <<\_ACEOF
91926 #define HAVE_COSHL 1
91927 _ACEOF
91929 cat >>confdefs.h <<\_ACEOF
91930 #define HAVE_LOGF 1
91931 _ACEOF
91933 cat >>confdefs.h <<\_ACEOF
91934 #define HAVE_LOGL 1
91935 _ACEOF
91937 cat >>confdefs.h <<\_ACEOF
91938 #define HAVE_LOG10F 1
91939 _ACEOF
91941 cat >>confdefs.h <<\_ACEOF
91942 #define HAVE_LOG10L 1
91943 _ACEOF
91945 cat >>confdefs.h <<\_ACEOF
91946 #define HAVE_SINF 1
91947 _ACEOF
91949 cat >>confdefs.h <<\_ACEOF
91950 #define HAVE_SINL 1
91951 _ACEOF
91953 cat >>confdefs.h <<\_ACEOF
91954 #define HAVE_SINHF 1
91955 _ACEOF
91957 cat >>confdefs.h <<\_ACEOF
91958 #define HAVE_SINHL 1
91959 _ACEOF
91962 *-solaris*)
91963 case "$target" in
91964 # *-solaris2.5)
91965 # os_include_dir="os/solaris/solaris2.5"
91966 # ;;
91967 # *-solaris2.6)
91968 # os_include_dir="os/solaris/solaris2.6"
91969 # ;;
91970 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
91971 cat >>confdefs.h <<\_ACEOF
91972 #define HAVE_GETPAGESIZE 1
91973 _ACEOF
91975 cat >>confdefs.h <<\_ACEOF
91976 #define HAVE_SIGSETJMP 1
91977 _ACEOF
91979 cat >>confdefs.h <<\_ACEOF
91980 #define HAVE_MBSTATE_T 1
91981 _ACEOF
91983 cat >>confdefs.h <<\_ACEOF
91984 #define HAVE_POLL 1
91985 _ACEOF
91987 cat >>confdefs.h <<\_ACEOF
91988 #define HAVE_S_ISREG 1
91989 _ACEOF
91991 cat >>confdefs.h <<\_ACEOF
91992 #define HAVE_LC_MESSAGES 1
91993 _ACEOF
91995 cat >>confdefs.h <<\_ACEOF
91996 #define HAVE_BTOWC 1
91997 _ACEOF
91999 cat >>confdefs.h <<\_ACEOF
92000 #define HAVE_FGETWC 1
92001 _ACEOF
92003 cat >>confdefs.h <<\_ACEOF
92004 #define HAVE_FGETWS 1
92005 _ACEOF
92007 cat >>confdefs.h <<\_ACEOF
92008 #define HAVE_FINITE 1
92009 _ACEOF
92011 cat >>confdefs.h <<\_ACEOF
92012 #define HAVE_FPCLASS 1
92013 _ACEOF
92015 cat >>confdefs.h <<\_ACEOF
92016 #define HAVE_FPUTWC 1
92017 _ACEOF
92019 cat >>confdefs.h <<\_ACEOF
92020 #define HAVE_FPUTWS 1
92021 _ACEOF
92023 cat >>confdefs.h <<\_ACEOF
92024 #define HAVE_FWIDE 1
92025 _ACEOF
92027 cat >>confdefs.h <<\_ACEOF
92028 #define HAVE_FWPRINTF 1
92029 _ACEOF
92031 cat >>confdefs.h <<\_ACEOF
92032 #define HAVE_FWSCANF 1
92033 _ACEOF
92035 cat >>confdefs.h <<\_ACEOF
92036 #define HAVE_GETPAGESIZE 1
92037 _ACEOF
92039 cat >>confdefs.h <<\_ACEOF
92040 #define HAVE_GETWC 1
92041 _ACEOF
92043 cat >>confdefs.h <<\_ACEOF
92044 #define HAVE_GETWCHAR 1
92045 _ACEOF
92047 cat >>confdefs.h <<\_ACEOF
92048 #define HAVE_MBRLEN 1
92049 _ACEOF
92051 cat >>confdefs.h <<\_ACEOF
92052 #define HAVE_MBRTOWC 1
92053 _ACEOF
92055 cat >>confdefs.h <<\_ACEOF
92056 #define HAVE_MBSINIT 1
92057 _ACEOF
92059 cat >>confdefs.h <<\_ACEOF
92060 #define HAVE_MBSRTOWCS 1
92061 _ACEOF
92063 cat >>confdefs.h <<\_ACEOF
92064 #define HAVE_NL_LANGINFO 1
92065 _ACEOF
92067 cat >>confdefs.h <<\_ACEOF
92068 #define HAVE_PUTWC 1
92069 _ACEOF
92071 cat >>confdefs.h <<\_ACEOF
92072 #define HAVE_PUTWCHAR 1
92073 _ACEOF
92075 cat >>confdefs.h <<\_ACEOF
92076 #define HAVE_SWPRINTF 1
92077 _ACEOF
92079 cat >>confdefs.h <<\_ACEOF
92080 #define HAVE_SWSCANF 1
92081 _ACEOF
92083 cat >>confdefs.h <<\_ACEOF
92084 #define HAVE_UNGETWC 1
92085 _ACEOF
92087 cat >>confdefs.h <<\_ACEOF
92088 #define HAVE_VFWPRINTF 1
92089 _ACEOF
92091 cat >>confdefs.h <<\_ACEOF
92092 #define HAVE_VSWPRINTF 1
92093 _ACEOF
92095 cat >>confdefs.h <<\_ACEOF
92096 #define HAVE_VWPRINTF 1
92097 _ACEOF
92099 cat >>confdefs.h <<\_ACEOF
92100 #define HAVE_WCRTOMB 1
92101 _ACEOF
92103 cat >>confdefs.h <<\_ACEOF
92104 #define HAVE_WCSCAT 1
92105 _ACEOF
92107 cat >>confdefs.h <<\_ACEOF
92108 #define HAVE_WCSCHR 1
92109 _ACEOF
92111 cat >>confdefs.h <<\_ACEOF
92112 #define HAVE_WCSCMP 1
92113 _ACEOF
92115 cat >>confdefs.h <<\_ACEOF
92116 #define HAVE_WCSCOLL 1
92117 _ACEOF
92119 cat >>confdefs.h <<\_ACEOF
92120 #define HAVE_WCSCPY 1
92121 _ACEOF
92123 cat >>confdefs.h <<\_ACEOF
92124 #define HAVE_WCSCSPN 1
92125 _ACEOF
92127 cat >>confdefs.h <<\_ACEOF
92128 #define HAVE_WCSFTIME 1
92129 _ACEOF
92131 cat >>confdefs.h <<\_ACEOF
92132 #define HAVE_WCSLEN 1
92133 _ACEOF
92135 cat >>confdefs.h <<\_ACEOF
92136 #define HAVE_WCSNCAT 1
92137 _ACEOF
92139 cat >>confdefs.h <<\_ACEOF
92140 #define HAVE_WCSNCMP 1
92141 _ACEOF
92143 cat >>confdefs.h <<\_ACEOF
92144 #define HAVE_WCSNCPY 1
92145 _ACEOF
92147 cat >>confdefs.h <<\_ACEOF
92148 #define HAVE_WCSPBRK 1
92149 _ACEOF
92151 cat >>confdefs.h <<\_ACEOF
92152 #define HAVE_WCSRCHR 1
92153 _ACEOF
92155 cat >>confdefs.h <<\_ACEOF
92156 #define HAVE_WCSRTOMBS 1
92157 _ACEOF
92159 cat >>confdefs.h <<\_ACEOF
92160 #define HAVE_WCSSPN 1
92161 _ACEOF
92163 cat >>confdefs.h <<\_ACEOF
92164 #define HAVE_WCSSTR 1
92165 _ACEOF
92167 cat >>confdefs.h <<\_ACEOF
92168 #define HAVE_WCSTOD 1
92169 _ACEOF
92171 cat >>confdefs.h <<\_ACEOF
92172 #define HAVE_WCSTOK 1
92173 _ACEOF
92175 cat >>confdefs.h <<\_ACEOF
92176 #define HAVE_WCSTOL 1
92177 _ACEOF
92179 cat >>confdefs.h <<\_ACEOF
92180 #define HAVE_WCSTOUL 1
92181 _ACEOF
92183 cat >>confdefs.h <<\_ACEOF
92184 #define HAVE_WCSXFRM 1
92185 _ACEOF
92187 cat >>confdefs.h <<\_ACEOF
92188 #define HAVE_WCTOB 1
92189 _ACEOF
92191 cat >>confdefs.h <<\_ACEOF
92192 #define HAVE_WMEMCHR 1
92193 _ACEOF
92195 cat >>confdefs.h <<\_ACEOF
92196 #define HAVE_WMEMCMP 1
92197 _ACEOF
92199 cat >>confdefs.h <<\_ACEOF
92200 #define HAVE_WMEMCPY 1
92201 _ACEOF
92203 cat >>confdefs.h <<\_ACEOF
92204 #define HAVE_WMEMMOVE 1
92205 _ACEOF
92207 cat >>confdefs.h <<\_ACEOF
92208 #define HAVE_WMEMSET 1
92209 _ACEOF
92211 cat >>confdefs.h <<\_ACEOF
92212 #define HAVE_WPRINTF 1
92213 _ACEOF
92215 cat >>confdefs.h <<\_ACEOF
92216 #define HAVE_WSCANF 1
92217 _ACEOF
92219 cat >>confdefs.h <<\_ACEOF
92220 #define HAVE_ICONV 1
92221 _ACEOF
92223 cat >>confdefs.h <<\_ACEOF
92224 #define HAVE_ICONV_CLOSE 1
92225 _ACEOF
92227 cat >>confdefs.h <<\_ACEOF
92228 #define HAVE_ICONV_OPEN 1
92229 _ACEOF
92231 # Look for the pieces required for wchar_t support in order to
92232 # get all the right HAVE_* macros defined.
92234 # Test wchar.h for mbstate_t, which is needed for char_traits and
92235 # others even if wchar_t support is not on.
92236 echo "$as_me:$LINENO: checking for mbstate_t" >&5
92237 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
92238 cat >conftest.$ac_ext <<_ACEOF
92239 /* confdefs.h. */
92240 _ACEOF
92241 cat confdefs.h >>conftest.$ac_ext
92242 cat >>conftest.$ac_ext <<_ACEOF
92243 /* end confdefs.h. */
92244 #include <wchar.h>
92246 main ()
92248 mbstate_t teststate;
92250 return 0;
92252 _ACEOF
92253 rm -f conftest.$ac_objext
92254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92255 (eval $ac_compile) 2>conftest.er1
92256 ac_status=$?
92257 grep -v '^ *+' conftest.er1 >conftest.err
92258 rm -f conftest.er1
92259 cat conftest.err >&5
92260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92261 (exit $ac_status); } &&
92262 { ac_try='test -z "$ac_c_werror_flag"
92263 || test ! -s conftest.err'
92264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92265 (eval $ac_try) 2>&5
92266 ac_status=$?
92267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92268 (exit $ac_status); }; } &&
92269 { ac_try='test -s conftest.$ac_objext'
92270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92271 (eval $ac_try) 2>&5
92272 ac_status=$?
92273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92274 (exit $ac_status); }; }; then
92275 have_mbstate_t=yes
92276 else
92277 echo "$as_me: failed program was:" >&5
92278 sed 's/^/| /' conftest.$ac_ext >&5
92280 have_mbstate_t=no
92282 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92283 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
92284 echo "${ECHO_T}$have_mbstate_t" >&6
92285 if test x"$have_mbstate_t" = xyes; then
92286 cat >>confdefs.h <<\_ACEOF
92287 #define HAVE_MBSTATE_T 1
92288 _ACEOF
92292 # Sanity check for existence of ISO C99 headers for extended encoding.
92294 for ac_header in wchar.h
92296 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
92297 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92298 echo "$as_me:$LINENO: checking for $ac_header" >&5
92299 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
92300 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92301 echo $ECHO_N "(cached) $ECHO_C" >&6
92303 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
92304 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
92305 else
92306 # Is the header compilable?
92307 echo "$as_me:$LINENO: checking $ac_header usability" >&5
92308 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
92309 cat >conftest.$ac_ext <<_ACEOF
92310 /* confdefs.h. */
92311 _ACEOF
92312 cat confdefs.h >>conftest.$ac_ext
92313 cat >>conftest.$ac_ext <<_ACEOF
92314 /* end confdefs.h. */
92315 $ac_includes_default
92316 #include <$ac_header>
92317 _ACEOF
92318 rm -f conftest.$ac_objext
92319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92320 (eval $ac_compile) 2>conftest.er1
92321 ac_status=$?
92322 grep -v '^ *+' conftest.er1 >conftest.err
92323 rm -f conftest.er1
92324 cat conftest.err >&5
92325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92326 (exit $ac_status); } &&
92327 { ac_try='test -z "$ac_c_werror_flag"
92328 || test ! -s conftest.err'
92329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92330 (eval $ac_try) 2>&5
92331 ac_status=$?
92332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92333 (exit $ac_status); }; } &&
92334 { ac_try='test -s conftest.$ac_objext'
92335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92336 (eval $ac_try) 2>&5
92337 ac_status=$?
92338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92339 (exit $ac_status); }; }; then
92340 ac_header_compiler=yes
92341 else
92342 echo "$as_me: failed program was:" >&5
92343 sed 's/^/| /' conftest.$ac_ext >&5
92345 ac_header_compiler=no
92347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92348 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
92349 echo "${ECHO_T}$ac_header_compiler" >&6
92351 # Is the header present?
92352 echo "$as_me:$LINENO: checking $ac_header presence" >&5
92353 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
92354 cat >conftest.$ac_ext <<_ACEOF
92355 /* confdefs.h. */
92356 _ACEOF
92357 cat confdefs.h >>conftest.$ac_ext
92358 cat >>conftest.$ac_ext <<_ACEOF
92359 /* end confdefs.h. */
92360 #include <$ac_header>
92361 _ACEOF
92362 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
92363 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
92364 ac_status=$?
92365 grep -v '^ *+' conftest.er1 >conftest.err
92366 rm -f conftest.er1
92367 cat conftest.err >&5
92368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92369 (exit $ac_status); } >/dev/null; then
92370 if test -s conftest.err; then
92371 ac_cpp_err=$ac_c_preproc_warn_flag
92372 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
92373 else
92374 ac_cpp_err=
92376 else
92377 ac_cpp_err=yes
92379 if test -z "$ac_cpp_err"; then
92380 ac_header_preproc=yes
92381 else
92382 echo "$as_me: failed program was:" >&5
92383 sed 's/^/| /' conftest.$ac_ext >&5
92385 ac_header_preproc=no
92387 rm -f conftest.err conftest.$ac_ext
92388 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
92389 echo "${ECHO_T}$ac_header_preproc" >&6
92391 # So? What about this header?
92392 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
92393 yes:no: )
92394 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
92395 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
92396 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
92397 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
92398 ac_header_preproc=yes
92400 no:yes:* )
92401 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
92402 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
92403 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
92404 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
92405 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
92406 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
92407 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
92408 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
92409 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
92410 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
92411 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
92412 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
92414 cat <<\_ASBOX
92415 ## ----------------------------------------- ##
92416 ## Report this to the package-unused lists. ##
92417 ## ----------------------------------------- ##
92418 _ASBOX
92420 sed "s/^/$as_me: WARNING: /" >&2
92422 esac
92423 echo "$as_me:$LINENO: checking for $ac_header" >&5
92424 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
92425 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92426 echo $ECHO_N "(cached) $ECHO_C" >&6
92427 else
92428 eval "$as_ac_Header=\$ac_header_preproc"
92430 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
92431 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
92434 if test `eval echo '${'$as_ac_Header'}'` = yes; then
92435 cat >>confdefs.h <<_ACEOF
92436 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
92437 _ACEOF
92438 ac_has_wchar_h=yes
92439 else
92440 ac_has_wchar_h=no
92443 done
92446 for ac_header in wctype.h
92448 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
92449 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92450 echo "$as_me:$LINENO: checking for $ac_header" >&5
92451 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
92452 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92453 echo $ECHO_N "(cached) $ECHO_C" >&6
92455 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
92456 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
92457 else
92458 # Is the header compilable?
92459 echo "$as_me:$LINENO: checking $ac_header usability" >&5
92460 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
92461 cat >conftest.$ac_ext <<_ACEOF
92462 /* confdefs.h. */
92463 _ACEOF
92464 cat confdefs.h >>conftest.$ac_ext
92465 cat >>conftest.$ac_ext <<_ACEOF
92466 /* end confdefs.h. */
92467 $ac_includes_default
92468 #include <$ac_header>
92469 _ACEOF
92470 rm -f conftest.$ac_objext
92471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92472 (eval $ac_compile) 2>conftest.er1
92473 ac_status=$?
92474 grep -v '^ *+' conftest.er1 >conftest.err
92475 rm -f conftest.er1
92476 cat conftest.err >&5
92477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92478 (exit $ac_status); } &&
92479 { ac_try='test -z "$ac_c_werror_flag"
92480 || test ! -s conftest.err'
92481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92482 (eval $ac_try) 2>&5
92483 ac_status=$?
92484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92485 (exit $ac_status); }; } &&
92486 { ac_try='test -s conftest.$ac_objext'
92487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92488 (eval $ac_try) 2>&5
92489 ac_status=$?
92490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92491 (exit $ac_status); }; }; then
92492 ac_header_compiler=yes
92493 else
92494 echo "$as_me: failed program was:" >&5
92495 sed 's/^/| /' conftest.$ac_ext >&5
92497 ac_header_compiler=no
92499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92500 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
92501 echo "${ECHO_T}$ac_header_compiler" >&6
92503 # Is the header present?
92504 echo "$as_me:$LINENO: checking $ac_header presence" >&5
92505 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
92506 cat >conftest.$ac_ext <<_ACEOF
92507 /* confdefs.h. */
92508 _ACEOF
92509 cat confdefs.h >>conftest.$ac_ext
92510 cat >>conftest.$ac_ext <<_ACEOF
92511 /* end confdefs.h. */
92512 #include <$ac_header>
92513 _ACEOF
92514 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
92515 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
92516 ac_status=$?
92517 grep -v '^ *+' conftest.er1 >conftest.err
92518 rm -f conftest.er1
92519 cat conftest.err >&5
92520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92521 (exit $ac_status); } >/dev/null; then
92522 if test -s conftest.err; then
92523 ac_cpp_err=$ac_c_preproc_warn_flag
92524 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
92525 else
92526 ac_cpp_err=
92528 else
92529 ac_cpp_err=yes
92531 if test -z "$ac_cpp_err"; then
92532 ac_header_preproc=yes
92533 else
92534 echo "$as_me: failed program was:" >&5
92535 sed 's/^/| /' conftest.$ac_ext >&5
92537 ac_header_preproc=no
92539 rm -f conftest.err conftest.$ac_ext
92540 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
92541 echo "${ECHO_T}$ac_header_preproc" >&6
92543 # So? What about this header?
92544 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
92545 yes:no: )
92546 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
92547 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
92548 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
92549 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
92550 ac_header_preproc=yes
92552 no:yes:* )
92553 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
92554 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
92555 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
92556 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
92557 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
92558 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
92559 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
92560 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
92561 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
92562 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
92563 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
92564 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
92566 cat <<\_ASBOX
92567 ## ----------------------------------------- ##
92568 ## Report this to the package-unused lists. ##
92569 ## ----------------------------------------- ##
92570 _ASBOX
92572 sed "s/^/$as_me: WARNING: /" >&2
92574 esac
92575 echo "$as_me:$LINENO: checking for $ac_header" >&5
92576 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
92577 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92578 echo $ECHO_N "(cached) $ECHO_C" >&6
92579 else
92580 eval "$as_ac_Header=\$ac_header_preproc"
92582 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
92583 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
92586 if test `eval echo '${'$as_ac_Header'}'` = yes; then
92587 cat >>confdefs.h <<_ACEOF
92588 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
92589 _ACEOF
92590 ac_has_wctype_h=yes
92591 else
92592 ac_has_wctype_h=no
92595 done
92598 # Only continue checking if the ISO C99 headers exist and support is on.
92599 if test x"$ac_has_wchar_h" = xyes &&
92600 test x"$ac_has_wctype_h" = xyes &&
92601 test x"$enable_c_mbchar" != xno; then
92603 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
92604 # numeric_limits can instantiate type_traits<wchar_t>
92605 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
92606 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
92607 cat >conftest.$ac_ext <<_ACEOF
92608 /* confdefs.h. */
92609 _ACEOF
92610 cat confdefs.h >>conftest.$ac_ext
92611 cat >>conftest.$ac_ext <<_ACEOF
92612 /* end confdefs.h. */
92613 #include <wchar.h>
92615 main ()
92617 int i = WCHAR_MIN; int j = WCHAR_MAX;
92619 return 0;
92621 _ACEOF
92622 rm -f conftest.$ac_objext
92623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92624 (eval $ac_compile) 2>conftest.er1
92625 ac_status=$?
92626 grep -v '^ *+' conftest.er1 >conftest.err
92627 rm -f conftest.er1
92628 cat conftest.err >&5
92629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92630 (exit $ac_status); } &&
92631 { ac_try='test -z "$ac_c_werror_flag"
92632 || test ! -s conftest.err'
92633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92634 (eval $ac_try) 2>&5
92635 ac_status=$?
92636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92637 (exit $ac_status); }; } &&
92638 { ac_try='test -s conftest.$ac_objext'
92639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92640 (eval $ac_try) 2>&5
92641 ac_status=$?
92642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92643 (exit $ac_status); }; }; then
92644 has_wchar_minmax=yes
92645 else
92646 echo "$as_me: failed program was:" >&5
92647 sed 's/^/| /' conftest.$ac_ext >&5
92649 has_wchar_minmax=no
92651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92652 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
92653 echo "${ECHO_T}$has_wchar_minmax" >&6
92655 # Test wchar.h for WEOF, which is what we use to determine whether
92656 # to specialize for char_traits<wchar_t> or not.
92657 echo "$as_me:$LINENO: checking for WEOF" >&5
92658 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
92659 cat >conftest.$ac_ext <<_ACEOF
92660 /* confdefs.h. */
92661 _ACEOF
92662 cat confdefs.h >>conftest.$ac_ext
92663 cat >>conftest.$ac_ext <<_ACEOF
92664 /* end confdefs.h. */
92666 #include <wchar.h>
92667 #include <stddef.h>
92669 main ()
92671 wint_t i = WEOF;
92673 return 0;
92675 _ACEOF
92676 rm -f conftest.$ac_objext
92677 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92678 (eval $ac_compile) 2>conftest.er1
92679 ac_status=$?
92680 grep -v '^ *+' conftest.er1 >conftest.err
92681 rm -f conftest.er1
92682 cat conftest.err >&5
92683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92684 (exit $ac_status); } &&
92685 { ac_try='test -z "$ac_c_werror_flag"
92686 || test ! -s conftest.err'
92687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92688 (eval $ac_try) 2>&5
92689 ac_status=$?
92690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92691 (exit $ac_status); }; } &&
92692 { ac_try='test -s conftest.$ac_objext'
92693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92694 (eval $ac_try) 2>&5
92695 ac_status=$?
92696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92697 (exit $ac_status); }; }; then
92698 has_weof=yes
92699 else
92700 echo "$as_me: failed program was:" >&5
92701 sed 's/^/| /' conftest.$ac_ext >&5
92703 has_weof=no
92705 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92706 echo "$as_me:$LINENO: result: $has_weof" >&5
92707 echo "${ECHO_T}$has_weof" >&6
92709 # Tests for wide character functions used in char_traits<wchar_t>.
92710 ac_wfuncs=yes
92717 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
92719 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92720 echo "$as_me:$LINENO: checking for $ac_func" >&5
92721 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92722 if eval "test \"\${$as_ac_var+set}\" = set"; then
92723 echo $ECHO_N "(cached) $ECHO_C" >&6
92724 else
92725 if test x$gcc_no_link = xyes; then
92726 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92727 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92728 { (exit 1); exit 1; }; }
92730 cat >conftest.$ac_ext <<_ACEOF
92731 /* confdefs.h. */
92732 _ACEOF
92733 cat confdefs.h >>conftest.$ac_ext
92734 cat >>conftest.$ac_ext <<_ACEOF
92735 /* end confdefs.h. */
92736 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92737 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92738 #define $ac_func innocuous_$ac_func
92740 /* System header to define __stub macros and hopefully few prototypes,
92741 which can conflict with char $ac_func (); below.
92742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92743 <limits.h> exists even on freestanding compilers. */
92745 #ifdef __STDC__
92746 # include <limits.h>
92747 #else
92748 # include <assert.h>
92749 #endif
92751 #undef $ac_func
92753 /* Override any gcc2 internal prototype to avoid an error. */
92754 #ifdef __cplusplus
92755 extern "C"
92757 #endif
92758 /* We use char because int might match the return type of a gcc2
92759 builtin and then its argument prototype would still apply. */
92760 char $ac_func ();
92761 /* The GNU C library defines this for functions which it implements
92762 to always fail with ENOSYS. Some functions are actually named
92763 something starting with __ and the normal name is an alias. */
92764 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92765 choke me
92766 #else
92767 char (*f) () = $ac_func;
92768 #endif
92769 #ifdef __cplusplus
92771 #endif
92774 main ()
92776 return f != $ac_func;
92778 return 0;
92780 _ACEOF
92781 rm -f conftest.$ac_objext conftest$ac_exeext
92782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92783 (eval $ac_link) 2>conftest.er1
92784 ac_status=$?
92785 grep -v '^ *+' conftest.er1 >conftest.err
92786 rm -f conftest.er1
92787 cat conftest.err >&5
92788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92789 (exit $ac_status); } &&
92790 { ac_try='test -z "$ac_c_werror_flag"
92791 || test ! -s conftest.err'
92792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92793 (eval $ac_try) 2>&5
92794 ac_status=$?
92795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92796 (exit $ac_status); }; } &&
92797 { ac_try='test -s conftest$ac_exeext'
92798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92799 (eval $ac_try) 2>&5
92800 ac_status=$?
92801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92802 (exit $ac_status); }; }; then
92803 eval "$as_ac_var=yes"
92804 else
92805 echo "$as_me: failed program was:" >&5
92806 sed 's/^/| /' conftest.$ac_ext >&5
92808 eval "$as_ac_var=no"
92810 rm -f conftest.err conftest.$ac_objext \
92811 conftest$ac_exeext conftest.$ac_ext
92813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92814 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92815 if test `eval echo '${'$as_ac_var'}'` = yes; then
92816 cat >>confdefs.h <<_ACEOF
92817 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92818 _ACEOF
92820 else
92821 ac_wfuncs=no
92823 done
92826 # Checks for names injected into std:: by the c_std headers.
92873 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
92874 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
92875 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
92876 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
92877 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
92878 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
92880 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92881 echo "$as_me:$LINENO: checking for $ac_func" >&5
92882 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92883 if eval "test \"\${$as_ac_var+set}\" = set"; then
92884 echo $ECHO_N "(cached) $ECHO_C" >&6
92885 else
92886 if test x$gcc_no_link = xyes; then
92887 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92889 { (exit 1); exit 1; }; }
92891 cat >conftest.$ac_ext <<_ACEOF
92892 /* confdefs.h. */
92893 _ACEOF
92894 cat confdefs.h >>conftest.$ac_ext
92895 cat >>conftest.$ac_ext <<_ACEOF
92896 /* end confdefs.h. */
92897 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92898 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92899 #define $ac_func innocuous_$ac_func
92901 /* System header to define __stub macros and hopefully few prototypes,
92902 which can conflict with char $ac_func (); below.
92903 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92904 <limits.h> exists even on freestanding compilers. */
92906 #ifdef __STDC__
92907 # include <limits.h>
92908 #else
92909 # include <assert.h>
92910 #endif
92912 #undef $ac_func
92914 /* Override any gcc2 internal prototype to avoid an error. */
92915 #ifdef __cplusplus
92916 extern "C"
92918 #endif
92919 /* We use char because int might match the return type of a gcc2
92920 builtin and then its argument prototype would still apply. */
92921 char $ac_func ();
92922 /* The GNU C library defines this for functions which it implements
92923 to always fail with ENOSYS. Some functions are actually named
92924 something starting with __ and the normal name is an alias. */
92925 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92926 choke me
92927 #else
92928 char (*f) () = $ac_func;
92929 #endif
92930 #ifdef __cplusplus
92932 #endif
92935 main ()
92937 return f != $ac_func;
92939 return 0;
92941 _ACEOF
92942 rm -f conftest.$ac_objext conftest$ac_exeext
92943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92944 (eval $ac_link) 2>conftest.er1
92945 ac_status=$?
92946 grep -v '^ *+' conftest.er1 >conftest.err
92947 rm -f conftest.er1
92948 cat conftest.err >&5
92949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92950 (exit $ac_status); } &&
92951 { ac_try='test -z "$ac_c_werror_flag"
92952 || test ! -s conftest.err'
92953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92954 (eval $ac_try) 2>&5
92955 ac_status=$?
92956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92957 (exit $ac_status); }; } &&
92958 { ac_try='test -s conftest$ac_exeext'
92959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92960 (eval $ac_try) 2>&5
92961 ac_status=$?
92962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92963 (exit $ac_status); }; }; then
92964 eval "$as_ac_var=yes"
92965 else
92966 echo "$as_me: failed program was:" >&5
92967 sed 's/^/| /' conftest.$ac_ext >&5
92969 eval "$as_ac_var=no"
92971 rm -f conftest.err conftest.$ac_objext \
92972 conftest$ac_exeext conftest.$ac_ext
92974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92975 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92976 if test `eval echo '${'$as_ac_var'}'` = yes; then
92977 cat >>confdefs.h <<_ACEOF
92978 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92979 _ACEOF
92981 else
92982 ac_wfuncs=no
92984 done
92987 # Checks for wide character functions that are not required
92988 # for basic wchar_t support. Don't disable support if they are missing.
92989 # Injection of these is wrapped with guard macros.
92995 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
92997 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92998 echo "$as_me:$LINENO: checking for $ac_func" >&5
92999 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93000 if eval "test \"\${$as_ac_var+set}\" = set"; then
93001 echo $ECHO_N "(cached) $ECHO_C" >&6
93002 else
93003 if test x$gcc_no_link = xyes; then
93004 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93005 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93006 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93015 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93016 #define $ac_func innocuous_$ac_func
93018 /* System header to define __stub macros and hopefully few prototypes,
93019 which can conflict with char $ac_func (); below.
93020 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93021 <limits.h> exists even on freestanding compilers. */
93023 #ifdef __STDC__
93024 # include <limits.h>
93025 #else
93026 # include <assert.h>
93027 #endif
93029 #undef $ac_func
93031 /* Override any gcc2 internal prototype to avoid an error. */
93032 #ifdef __cplusplus
93033 extern "C"
93035 #endif
93036 /* We use char because int might match the return type of a gcc2
93037 builtin and then its argument prototype would still apply. */
93038 char $ac_func ();
93039 /* The GNU C library defines this for functions which it implements
93040 to always fail with ENOSYS. Some functions are actually named
93041 something starting with __ and the normal name is an alias. */
93042 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93043 choke me
93044 #else
93045 char (*f) () = $ac_func;
93046 #endif
93047 #ifdef __cplusplus
93049 #endif
93052 main ()
93054 return f != $ac_func;
93056 return 0;
93058 _ACEOF
93059 rm -f conftest.$ac_objext conftest$ac_exeext
93060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93061 (eval $ac_link) 2>conftest.er1
93062 ac_status=$?
93063 grep -v '^ *+' conftest.er1 >conftest.err
93064 rm -f conftest.er1
93065 cat conftest.err >&5
93066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93067 (exit $ac_status); } &&
93068 { ac_try='test -z "$ac_c_werror_flag"
93069 || test ! -s conftest.err'
93070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93071 (eval $ac_try) 2>&5
93072 ac_status=$?
93073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93074 (exit $ac_status); }; } &&
93075 { ac_try='test -s conftest$ac_exeext'
93076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93077 (eval $ac_try) 2>&5
93078 ac_status=$?
93079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93080 (exit $ac_status); }; }; then
93081 eval "$as_ac_var=yes"
93082 else
93083 echo "$as_me: failed program was:" >&5
93084 sed 's/^/| /' conftest.$ac_ext >&5
93086 eval "$as_ac_var=no"
93088 rm -f conftest.err conftest.$ac_objext \
93089 conftest$ac_exeext conftest.$ac_ext
93091 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93092 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93093 if test `eval echo '${'$as_ac_var'}'` = yes; then
93094 cat >>confdefs.h <<_ACEOF
93095 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93096 _ACEOF
93099 done
93102 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
93103 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
93104 if test x"$has_weof" = xyes &&
93105 test x"$has_wchar_minmax" = xyes &&
93106 test x"$ac_wfuncs" = xyes;
93107 then
93108 ac_isoC99_wchar_t=yes
93109 else
93110 ac_isoC99_wchar_t=no
93112 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
93113 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
93115 # Use iconv for wchar_t to char conversions. As such, check for
93116 # X/Open Portability Guide, version 2 features (XPG2).
93117 if test "${ac_cv_header_iconv_h+set}" = set; then
93118 echo "$as_me:$LINENO: checking for iconv.h" >&5
93119 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
93120 if test "${ac_cv_header_iconv_h+set}" = set; then
93121 echo $ECHO_N "(cached) $ECHO_C" >&6
93123 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
93124 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
93125 else
93126 # Is the header compilable?
93127 echo "$as_me:$LINENO: checking iconv.h usability" >&5
93128 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
93129 cat >conftest.$ac_ext <<_ACEOF
93130 /* confdefs.h. */
93131 _ACEOF
93132 cat confdefs.h >>conftest.$ac_ext
93133 cat >>conftest.$ac_ext <<_ACEOF
93134 /* end confdefs.h. */
93135 $ac_includes_default
93136 #include <iconv.h>
93137 _ACEOF
93138 rm -f conftest.$ac_objext
93139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93140 (eval $ac_compile) 2>conftest.er1
93141 ac_status=$?
93142 grep -v '^ *+' conftest.er1 >conftest.err
93143 rm -f conftest.er1
93144 cat conftest.err >&5
93145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93146 (exit $ac_status); } &&
93147 { ac_try='test -z "$ac_c_werror_flag"
93148 || test ! -s conftest.err'
93149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93150 (eval $ac_try) 2>&5
93151 ac_status=$?
93152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93153 (exit $ac_status); }; } &&
93154 { ac_try='test -s conftest.$ac_objext'
93155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93156 (eval $ac_try) 2>&5
93157 ac_status=$?
93158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93159 (exit $ac_status); }; }; then
93160 ac_header_compiler=yes
93161 else
93162 echo "$as_me: failed program was:" >&5
93163 sed 's/^/| /' conftest.$ac_ext >&5
93165 ac_header_compiler=no
93167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93168 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
93169 echo "${ECHO_T}$ac_header_compiler" >&6
93171 # Is the header present?
93172 echo "$as_me:$LINENO: checking iconv.h presence" >&5
93173 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
93174 cat >conftest.$ac_ext <<_ACEOF
93175 /* confdefs.h. */
93176 _ACEOF
93177 cat confdefs.h >>conftest.$ac_ext
93178 cat >>conftest.$ac_ext <<_ACEOF
93179 /* end confdefs.h. */
93180 #include <iconv.h>
93181 _ACEOF
93182 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
93183 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
93184 ac_status=$?
93185 grep -v '^ *+' conftest.er1 >conftest.err
93186 rm -f conftest.er1
93187 cat conftest.err >&5
93188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93189 (exit $ac_status); } >/dev/null; then
93190 if test -s conftest.err; then
93191 ac_cpp_err=$ac_c_preproc_warn_flag
93192 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
93193 else
93194 ac_cpp_err=
93196 else
93197 ac_cpp_err=yes
93199 if test -z "$ac_cpp_err"; then
93200 ac_header_preproc=yes
93201 else
93202 echo "$as_me: failed program was:" >&5
93203 sed 's/^/| /' conftest.$ac_ext >&5
93205 ac_header_preproc=no
93207 rm -f conftest.err conftest.$ac_ext
93208 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
93209 echo "${ECHO_T}$ac_header_preproc" >&6
93211 # So? What about this header?
93212 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
93213 yes:no: )
93214 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
93215 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
93216 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
93217 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
93218 ac_header_preproc=yes
93220 no:yes:* )
93221 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
93222 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
93223 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
93224 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
93225 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
93226 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
93227 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
93228 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
93229 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
93230 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
93231 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
93232 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
93234 cat <<\_ASBOX
93235 ## ----------------------------------------- ##
93236 ## Report this to the package-unused lists. ##
93237 ## ----------------------------------------- ##
93238 _ASBOX
93240 sed "s/^/$as_me: WARNING: /" >&2
93242 esac
93243 echo "$as_me:$LINENO: checking for iconv.h" >&5
93244 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
93245 if test "${ac_cv_header_iconv_h+set}" = set; then
93246 echo $ECHO_N "(cached) $ECHO_C" >&6
93247 else
93248 ac_cv_header_iconv_h=$ac_header_preproc
93250 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
93251 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
93254 if test $ac_cv_header_iconv_h = yes; then
93255 ac_has_iconv_h=yes
93256 else
93257 ac_has_iconv_h=no
93261 if test "${ac_cv_header_langinfo_h+set}" = set; then
93262 echo "$as_me:$LINENO: checking for langinfo.h" >&5
93263 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
93264 if test "${ac_cv_header_langinfo_h+set}" = set; then
93265 echo $ECHO_N "(cached) $ECHO_C" >&6
93267 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
93268 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
93269 else
93270 # Is the header compilable?
93271 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
93272 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
93273 cat >conftest.$ac_ext <<_ACEOF
93274 /* confdefs.h. */
93275 _ACEOF
93276 cat confdefs.h >>conftest.$ac_ext
93277 cat >>conftest.$ac_ext <<_ACEOF
93278 /* end confdefs.h. */
93279 $ac_includes_default
93280 #include <langinfo.h>
93281 _ACEOF
93282 rm -f conftest.$ac_objext
93283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93284 (eval $ac_compile) 2>conftest.er1
93285 ac_status=$?
93286 grep -v '^ *+' conftest.er1 >conftest.err
93287 rm -f conftest.er1
93288 cat conftest.err >&5
93289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93290 (exit $ac_status); } &&
93291 { ac_try='test -z "$ac_c_werror_flag"
93292 || test ! -s conftest.err'
93293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93294 (eval $ac_try) 2>&5
93295 ac_status=$?
93296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93297 (exit $ac_status); }; } &&
93298 { ac_try='test -s conftest.$ac_objext'
93299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93300 (eval $ac_try) 2>&5
93301 ac_status=$?
93302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93303 (exit $ac_status); }; }; then
93304 ac_header_compiler=yes
93305 else
93306 echo "$as_me: failed program was:" >&5
93307 sed 's/^/| /' conftest.$ac_ext >&5
93309 ac_header_compiler=no
93311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93312 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
93313 echo "${ECHO_T}$ac_header_compiler" >&6
93315 # Is the header present?
93316 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
93317 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
93318 cat >conftest.$ac_ext <<_ACEOF
93319 /* confdefs.h. */
93320 _ACEOF
93321 cat confdefs.h >>conftest.$ac_ext
93322 cat >>conftest.$ac_ext <<_ACEOF
93323 /* end confdefs.h. */
93324 #include <langinfo.h>
93325 _ACEOF
93326 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
93327 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
93328 ac_status=$?
93329 grep -v '^ *+' conftest.er1 >conftest.err
93330 rm -f conftest.er1
93331 cat conftest.err >&5
93332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93333 (exit $ac_status); } >/dev/null; then
93334 if test -s conftest.err; then
93335 ac_cpp_err=$ac_c_preproc_warn_flag
93336 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
93337 else
93338 ac_cpp_err=
93340 else
93341 ac_cpp_err=yes
93343 if test -z "$ac_cpp_err"; then
93344 ac_header_preproc=yes
93345 else
93346 echo "$as_me: failed program was:" >&5
93347 sed 's/^/| /' conftest.$ac_ext >&5
93349 ac_header_preproc=no
93351 rm -f conftest.err conftest.$ac_ext
93352 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
93353 echo "${ECHO_T}$ac_header_preproc" >&6
93355 # So? What about this header?
93356 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
93357 yes:no: )
93358 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
93359 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
93360 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
93361 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
93362 ac_header_preproc=yes
93364 no:yes:* )
93365 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
93366 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
93367 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
93368 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
93369 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
93370 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
93371 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
93372 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
93373 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
93374 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
93375 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
93376 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
93378 cat <<\_ASBOX
93379 ## ----------------------------------------- ##
93380 ## Report this to the package-unused lists. ##
93381 ## ----------------------------------------- ##
93382 _ASBOX
93384 sed "s/^/$as_me: WARNING: /" >&2
93386 esac
93387 echo "$as_me:$LINENO: checking for langinfo.h" >&5
93388 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
93389 if test "${ac_cv_header_langinfo_h+set}" = set; then
93390 echo $ECHO_N "(cached) $ECHO_C" >&6
93391 else
93392 ac_cv_header_langinfo_h=$ac_header_preproc
93394 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
93395 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
93398 if test $ac_cv_header_langinfo_h = yes; then
93399 ac_has_langinfo_h=yes
93400 else
93401 ac_has_langinfo_h=no
93406 # Check for existence of libiconv.a providing XPG2 wchar_t support.
93407 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
93408 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
93409 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
93410 echo $ECHO_N "(cached) $ECHO_C" >&6
93411 else
93412 ac_check_lib_save_LIBS=$LIBS
93413 LIBS="-liconv $LIBS"
93414 if test x$gcc_no_link = xyes; then
93415 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93416 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93417 { (exit 1); exit 1; }; }
93419 cat >conftest.$ac_ext <<_ACEOF
93420 /* confdefs.h. */
93421 _ACEOF
93422 cat confdefs.h >>conftest.$ac_ext
93423 cat >>conftest.$ac_ext <<_ACEOF
93424 /* end confdefs.h. */
93426 /* Override any gcc2 internal prototype to avoid an error. */
93427 #ifdef __cplusplus
93428 extern "C"
93429 #endif
93430 /* We use char because int might match the return type of a gcc2
93431 builtin and then its argument prototype would still apply. */
93432 char iconv ();
93434 main ()
93436 iconv ();
93438 return 0;
93440 _ACEOF
93441 rm -f conftest.$ac_objext conftest$ac_exeext
93442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93443 (eval $ac_link) 2>conftest.er1
93444 ac_status=$?
93445 grep -v '^ *+' conftest.er1 >conftest.err
93446 rm -f conftest.er1
93447 cat conftest.err >&5
93448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93449 (exit $ac_status); } &&
93450 { ac_try='test -z "$ac_c_werror_flag"
93451 || test ! -s conftest.err'
93452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93453 (eval $ac_try) 2>&5
93454 ac_status=$?
93455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93456 (exit $ac_status); }; } &&
93457 { ac_try='test -s conftest$ac_exeext'
93458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93459 (eval $ac_try) 2>&5
93460 ac_status=$?
93461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93462 (exit $ac_status); }; }; then
93463 ac_cv_lib_iconv_iconv=yes
93464 else
93465 echo "$as_me: failed program was:" >&5
93466 sed 's/^/| /' conftest.$ac_ext >&5
93468 ac_cv_lib_iconv_iconv=no
93470 rm -f conftest.err conftest.$ac_objext \
93471 conftest$ac_exeext conftest.$ac_ext
93472 LIBS=$ac_check_lib_save_LIBS
93474 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
93475 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
93476 if test $ac_cv_lib_iconv_iconv = yes; then
93477 LIBICONV="-liconv"
93480 ac_save_LIBS="$LIBS"
93481 LIBS="$LIBS $LIBICONV"
93488 for ac_func in iconv_open iconv_close iconv nl_langinfo
93490 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93491 echo "$as_me:$LINENO: checking for $ac_func" >&5
93492 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93493 if eval "test \"\${$as_ac_var+set}\" = set"; then
93494 echo $ECHO_N "(cached) $ECHO_C" >&6
93495 else
93496 if test x$gcc_no_link = xyes; then
93497 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93498 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93499 { (exit 1); exit 1; }; }
93501 cat >conftest.$ac_ext <<_ACEOF
93502 /* confdefs.h. */
93503 _ACEOF
93504 cat confdefs.h >>conftest.$ac_ext
93505 cat >>conftest.$ac_ext <<_ACEOF
93506 /* end confdefs.h. */
93507 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93508 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93509 #define $ac_func innocuous_$ac_func
93511 /* System header to define __stub macros and hopefully few prototypes,
93512 which can conflict with char $ac_func (); below.
93513 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93514 <limits.h> exists even on freestanding compilers. */
93516 #ifdef __STDC__
93517 # include <limits.h>
93518 #else
93519 # include <assert.h>
93520 #endif
93522 #undef $ac_func
93524 /* Override any gcc2 internal prototype to avoid an error. */
93525 #ifdef __cplusplus
93526 extern "C"
93528 #endif
93529 /* We use char because int might match the return type of a gcc2
93530 builtin and then its argument prototype would still apply. */
93531 char $ac_func ();
93532 /* The GNU C library defines this for functions which it implements
93533 to always fail with ENOSYS. Some functions are actually named
93534 something starting with __ and the normal name is an alias. */
93535 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93536 choke me
93537 #else
93538 char (*f) () = $ac_func;
93539 #endif
93540 #ifdef __cplusplus
93542 #endif
93545 main ()
93547 return f != $ac_func;
93549 return 0;
93551 _ACEOF
93552 rm -f conftest.$ac_objext conftest$ac_exeext
93553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93554 (eval $ac_link) 2>conftest.er1
93555 ac_status=$?
93556 grep -v '^ *+' conftest.er1 >conftest.err
93557 rm -f conftest.er1
93558 cat conftest.err >&5
93559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93560 (exit $ac_status); } &&
93561 { ac_try='test -z "$ac_c_werror_flag"
93562 || test ! -s conftest.err'
93563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93564 (eval $ac_try) 2>&5
93565 ac_status=$?
93566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93567 (exit $ac_status); }; } &&
93568 { ac_try='test -s conftest$ac_exeext'
93569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93570 (eval $ac_try) 2>&5
93571 ac_status=$?
93572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93573 (exit $ac_status); }; }; then
93574 eval "$as_ac_var=yes"
93575 else
93576 echo "$as_me: failed program was:" >&5
93577 sed 's/^/| /' conftest.$ac_ext >&5
93579 eval "$as_ac_var=no"
93581 rm -f conftest.err conftest.$ac_objext \
93582 conftest$ac_exeext conftest.$ac_ext
93584 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93585 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93586 if test `eval echo '${'$as_ac_var'}'` = yes; then
93587 cat >>confdefs.h <<_ACEOF
93588 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93589 _ACEOF
93590 ac_XPG2funcs=yes
93591 else
93592 ac_XPG2funcs=no
93594 done
93597 LIBS="$ac_save_LIBS"
93599 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
93600 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
93601 if test x"$ac_has_iconv_h" = xyes &&
93602 test x"$ac_has_langinfo_h" = xyes &&
93603 test x"$ac_XPG2funcs" = xyes;
93604 then
93605 ac_XPG2_wchar_t=yes
93606 else
93607 ac_XPG2_wchar_t=no
93609 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
93610 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
93612 # At the moment, only enable wchar_t specializations if all the
93613 # above support is present.
93614 if test x"$ac_isoC99_wchar_t" = xyes &&
93615 test x"$ac_XPG2_wchar_t" = xyes;
93616 then
93617 cat >>confdefs.h <<\_ACEOF
93618 #define _GLIBCXX_USE_WCHAR_T 1
93619 _ACEOF
93621 enable_wchar_t=yes
93624 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
93625 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
93626 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
93627 echo "${ECHO_T}$enable_wchar_t" >&6
93629 # All of the dependencies for wide character support are here, so
93630 # turn it on. This requires some syncronization with the
93631 # GLIBCXX_CHECK_WCHAR_T_SUPPORT in acinclude.m4
93632 cat >>confdefs.h <<\_ACEOF
93633 #define _GLIBCXX_USE_WCHAR_T 1
93634 _ACEOF
93636 # Are these tested for even when cross?
93637 cat >>confdefs.h <<\_ACEOF
93638 #define HAVE_FLOAT_H 1
93639 _ACEOF
93641 cat >>confdefs.h <<\_ACEOF
93642 #define HAVE_IEEEFP_H 1
93643 _ACEOF
93645 cat >>confdefs.h <<\_ACEOF
93646 #define HAVE_INTTYPES_H 1
93647 _ACEOF
93649 cat >>confdefs.h <<\_ACEOF
93650 #define HAVE_LOCALE_H 1
93651 _ACEOF
93653 cat >>confdefs.h <<\_ACEOF
93654 #define HAVE_NAN_H 1
93655 _ACEOF
93657 cat >>confdefs.h <<\_ACEOF
93658 #define HAVE_SYS_FILIO_H 1
93659 _ACEOF
93661 cat >>confdefs.h <<\_ACEOF
93662 #define HAVE_SYS_IOCTL_H 1
93663 _ACEOF
93665 cat >>confdefs.h <<\_ACEOF
93666 #define HAVE_SYS_ISA_DEFS_H 1
93667 _ACEOF
93669 cat >>confdefs.h <<\_ACEOF
93670 #define HAVE_SYS_RESOURCE_H 1
93671 _ACEOF
93673 cat >>confdefs.h <<\_ACEOF
93674 #define HAVE_SYS_TIME_H 1
93675 _ACEOF
93677 cat >>confdefs.h <<\_ACEOF
93678 #define HAVE_SYS_TYPES_H 1
93679 _ACEOF
93681 cat >>confdefs.h <<\_ACEOF
93682 #define HAVE_UNISTD_H 1
93683 _ACEOF
93685 cat >>confdefs.h <<\_ACEOF
93686 #define HAVE_WCHAR_H 1
93687 _ACEOF
93689 cat >>confdefs.h <<\_ACEOF
93690 #define HAVE_WCTYPE_H 1
93691 _ACEOF
93693 cat >>confdefs.h <<\_ACEOF
93694 #define HAVE_LIBM 1
93695 _ACEOF
93698 esac
93699 case "$target" in
93700 sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
93701 # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
93702 cat >>confdefs.h <<\_ACEOF
93703 #define HAVE___BUILTIN_ABS 1
93704 _ACEOF
93706 cat >>confdefs.h <<\_ACEOF
93707 #define HAVE___BUILTIN_LABS 1
93708 _ACEOF
93710 cat >>confdefs.h <<\_ACEOF
93711 #define HAVE___BUILTIN_FABS 1
93712 _ACEOF
93714 cat >>confdefs.h <<\_ACEOF
93715 #define HAVE___BUILTIN_FABSF 1
93716 _ACEOF
93718 cat >>confdefs.h <<\_ACEOF
93719 #define HAVE___BUILTIN_FABSL 1
93720 _ACEOF
93722 cat >>confdefs.h <<\_ACEOF
93723 #define HAVE___BUILTIN_COS 1
93724 _ACEOF
93726 cat >>confdefs.h <<\_ACEOF
93727 #define HAVE___BUILTIN_COSF 1
93728 _ACEOF
93730 cat >>confdefs.h <<\_ACEOF
93731 #define HAVE___BUILTIN_SIN 1
93732 _ACEOF
93734 cat >>confdefs.h <<\_ACEOF
93735 #define HAVE___BUILTIN_SINF 1
93736 _ACEOF
93739 esac
93740 cat >>confdefs.h <<\_ACEOF
93741 #define HAVE_STRTOF 1
93742 _ACEOF
93744 cat >>confdefs.h <<\_ACEOF
93745 #define HAVE_STRTOLD 1
93746 _ACEOF
93748 cat >>confdefs.h <<\_ACEOF
93749 #define HAVE_MMAP 1
93750 _ACEOF
93752 cat >>confdefs.h <<\_ACEOF
93753 #define HAVE_COPYSIGN 1
93754 _ACEOF
93756 cat >>confdefs.h <<\_ACEOF
93757 #define HAVE_ISNAN 1
93758 _ACEOF
93760 cat >>confdefs.h <<\_ACEOF
93761 #define HAVE_ISNANF 1
93762 _ACEOF
93764 cat >>confdefs.h <<\_ACEOF
93765 #define HAVE_MODFF 1
93766 _ACEOF
93768 cat >>confdefs.h <<\_ACEOF
93769 #define HAVE_HYPOT 1
93770 _ACEOF
93773 *-tpf)
93782 for ac_header in nan.h endian.h machine/endian.h \
93783 sys/param.h sys/types.h locale.h float.h inttypes.h
93785 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
93786 if eval "test \"\${$as_ac_Header+set}\" = set"; then
93787 echo "$as_me:$LINENO: checking for $ac_header" >&5
93788 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
93789 if eval "test \"\${$as_ac_Header+set}\" = set"; then
93790 echo $ECHO_N "(cached) $ECHO_C" >&6
93792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
93793 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
93794 else
93795 # Is the header compilable?
93796 echo "$as_me:$LINENO: checking $ac_header usability" >&5
93797 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
93798 cat >conftest.$ac_ext <<_ACEOF
93799 /* confdefs.h. */
93800 _ACEOF
93801 cat confdefs.h >>conftest.$ac_ext
93802 cat >>conftest.$ac_ext <<_ACEOF
93803 /* end confdefs.h. */
93804 $ac_includes_default
93805 #include <$ac_header>
93806 _ACEOF
93807 rm -f conftest.$ac_objext
93808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93809 (eval $ac_compile) 2>conftest.er1
93810 ac_status=$?
93811 grep -v '^ *+' conftest.er1 >conftest.err
93812 rm -f conftest.er1
93813 cat conftest.err >&5
93814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93815 (exit $ac_status); } &&
93816 { ac_try='test -z "$ac_c_werror_flag"
93817 || test ! -s conftest.err'
93818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93819 (eval $ac_try) 2>&5
93820 ac_status=$?
93821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93822 (exit $ac_status); }; } &&
93823 { ac_try='test -s conftest.$ac_objext'
93824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93825 (eval $ac_try) 2>&5
93826 ac_status=$?
93827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93828 (exit $ac_status); }; }; then
93829 ac_header_compiler=yes
93830 else
93831 echo "$as_me: failed program was:" >&5
93832 sed 's/^/| /' conftest.$ac_ext >&5
93834 ac_header_compiler=no
93836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93837 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
93838 echo "${ECHO_T}$ac_header_compiler" >&6
93840 # Is the header present?
93841 echo "$as_me:$LINENO: checking $ac_header presence" >&5
93842 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
93843 cat >conftest.$ac_ext <<_ACEOF
93844 /* confdefs.h. */
93845 _ACEOF
93846 cat confdefs.h >>conftest.$ac_ext
93847 cat >>conftest.$ac_ext <<_ACEOF
93848 /* end confdefs.h. */
93849 #include <$ac_header>
93850 _ACEOF
93851 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
93852 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
93853 ac_status=$?
93854 grep -v '^ *+' conftest.er1 >conftest.err
93855 rm -f conftest.er1
93856 cat conftest.err >&5
93857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93858 (exit $ac_status); } >/dev/null; then
93859 if test -s conftest.err; then
93860 ac_cpp_err=$ac_c_preproc_warn_flag
93861 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
93862 else
93863 ac_cpp_err=
93865 else
93866 ac_cpp_err=yes
93868 if test -z "$ac_cpp_err"; then
93869 ac_header_preproc=yes
93870 else
93871 echo "$as_me: failed program was:" >&5
93872 sed 's/^/| /' conftest.$ac_ext >&5
93874 ac_header_preproc=no
93876 rm -f conftest.err conftest.$ac_ext
93877 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
93878 echo "${ECHO_T}$ac_header_preproc" >&6
93880 # So? What about this header?
93881 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
93882 yes:no: )
93883 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
93884 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
93885 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
93886 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
93887 ac_header_preproc=yes
93889 no:yes:* )
93890 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
93891 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
93892 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
93893 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
93894 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
93895 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
93896 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
93897 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
93898 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
93899 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
93900 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
93901 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
93903 cat <<\_ASBOX
93904 ## ----------------------------------------- ##
93905 ## Report this to the package-unused lists. ##
93906 ## ----------------------------------------- ##
93907 _ASBOX
93909 sed "s/^/$as_me: WARNING: /" >&2
93911 esac
93912 echo "$as_me:$LINENO: checking for $ac_header" >&5
93913 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
93914 if eval "test \"\${$as_ac_Header+set}\" = set"; then
93915 echo $ECHO_N "(cached) $ECHO_C" >&6
93916 else
93917 eval "$as_ac_Header=\$ac_header_preproc"
93919 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
93920 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
93923 if test `eval echo '${'$as_ac_Header'}'` = yes; then
93924 cat >>confdefs.h <<_ACEOF
93925 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
93926 _ACEOF
93930 done
93932 SECTION_FLAGS='-ffunction-sections -fdata-sections'
93935 # If we're not using GNU ld, then there's no point in even trying these
93936 # tests. Check for that first. We should have already tested for gld
93937 # by now (in libtool), but require it now just to be safe...
93938 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
93939 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
93943 # The name set by libtool depends on the version of libtool. Shame on us
93944 # for depending on an impl detail, but c'est la vie. Older versions used
93945 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
93946 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
93947 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
93948 # set (hence we're using an older libtool), then set it.
93949 if test x${with_gnu_ld+set} != xset; then
93950 if test x${ac_cv_prog_gnu_ld+set} != xset; then
93951 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
93952 with_gnu_ld=no
93953 else
93954 with_gnu_ld=$ac_cv_prog_gnu_ld
93958 # Start by getting the version number. I think the libtool test already
93959 # does some of this, but throws away the result.
93961 ldver=`$LD --version 2>/dev/null | head -1 | \
93962 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
93964 glibcxx_gnu_ld_version=`echo $ldver | \
93965 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
93967 # Set --gc-sections.
93968 if test "$with_gnu_ld" = "notbroken"; then
93969 # GNU ld it is! Joy and bunny rabbits!
93971 # All these tests are for C++; save the language and the compiler flags.
93972 # Need to do this so that g++ won't try to link in libstdc++
93973 ac_test_CFLAGS="${CFLAGS+set}"
93974 ac_save_CFLAGS="$CFLAGS"
93975 CFLAGS='-x c++ -Wl,--gc-sections'
93977 # Check for -Wl,--gc-sections
93978 # XXX This test is broken at the moment, as symbols required for linking
93979 # are now in libsupc++ (not built yet). In addition, this test has
93980 # cored on solaris in the past. In addition, --gc-sections doesn't
93981 # really work at the moment (keeps on discarding used sections, first
93982 # .eh_frame and now some of the glibc sections for iconv).
93983 # Bzzzzt. Thanks for playing, maybe next time.
93984 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
93985 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
93986 if test "$cross_compiling" = yes; then
93987 ac_sectionLDflags=yes
93988 else
93989 cat >conftest.$ac_ext <<_ACEOF
93990 /* confdefs.h. */
93991 _ACEOF
93992 cat confdefs.h >>conftest.$ac_ext
93993 cat >>conftest.$ac_ext <<_ACEOF
93994 /* end confdefs.h. */
93996 int main(void)
93998 try { throw 1; }
93999 catch (...) { };
94000 return 0;
94003 _ACEOF
94004 rm -f conftest$ac_exeext
94005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94006 (eval $ac_link) 2>&5
94007 ac_status=$?
94008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94009 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
94010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94011 (eval $ac_try) 2>&5
94012 ac_status=$?
94013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94014 (exit $ac_status); }; }; then
94015 ac_sectionLDflags=yes
94016 else
94017 echo "$as_me: program exited with status $ac_status" >&5
94018 echo "$as_me: failed program was:" >&5
94019 sed 's/^/| /' conftest.$ac_ext >&5
94021 ( exit $ac_status )
94022 ac_sectionLDflags=no
94024 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
94026 if test "$ac_test_CFLAGS" = set; then
94027 CFLAGS="$ac_save_CFLAGS"
94028 else
94029 # this is the suspicious part
94030 CFLAGS=''
94032 if test "$ac_sectionLDflags" = "yes"; then
94033 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
94035 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
94036 echo "${ECHO_T}$ac_sectionLDflags" >&6
94039 # Set linker optimization flags.
94040 if test x"$with_gnu_ld" = x"yes"; then
94041 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
94049 echo "$as_me:$LINENO: checking for main in -lm" >&5
94050 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
94051 if test "${ac_cv_lib_m_main+set}" = set; then
94052 echo $ECHO_N "(cached) $ECHO_C" >&6
94053 else
94054 ac_check_lib_save_LIBS=$LIBS
94055 LIBS="-lm $LIBS"
94056 if test x$gcc_no_link = xyes; then
94057 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94058 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94059 { (exit 1); exit 1; }; }
94061 cat >conftest.$ac_ext <<_ACEOF
94062 /* confdefs.h. */
94063 _ACEOF
94064 cat confdefs.h >>conftest.$ac_ext
94065 cat >>conftest.$ac_ext <<_ACEOF
94066 /* end confdefs.h. */
94070 main ()
94072 main ();
94074 return 0;
94076 _ACEOF
94077 rm -f conftest.$ac_objext conftest$ac_exeext
94078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94079 (eval $ac_link) 2>conftest.er1
94080 ac_status=$?
94081 grep -v '^ *+' conftest.er1 >conftest.err
94082 rm -f conftest.er1
94083 cat conftest.err >&5
94084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94085 (exit $ac_status); } &&
94086 { ac_try='test -z "$ac_c_werror_flag"
94087 || test ! -s conftest.err'
94088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94089 (eval $ac_try) 2>&5
94090 ac_status=$?
94091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94092 (exit $ac_status); }; } &&
94093 { ac_try='test -s conftest$ac_exeext'
94094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94095 (eval $ac_try) 2>&5
94096 ac_status=$?
94097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94098 (exit $ac_status); }; }; then
94099 ac_cv_lib_m_main=yes
94100 else
94101 echo "$as_me: failed program was:" >&5
94102 sed 's/^/| /' conftest.$ac_ext >&5
94104 ac_cv_lib_m_main=no
94106 rm -f conftest.err conftest.$ac_objext \
94107 conftest$ac_exeext conftest.$ac_ext
94108 LIBS=$ac_check_lib_save_LIBS
94110 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
94111 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
94112 if test $ac_cv_lib_m_main = yes; then
94113 cat >>confdefs.h <<_ACEOF
94114 #define HAVE_LIBM 1
94115 _ACEOF
94117 LIBS="-lm $LIBS"
94122 for ac_func in copysignf
94124 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94125 echo "$as_me:$LINENO: checking for $ac_func" >&5
94126 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94127 if eval "test \"\${$as_ac_var+set}\" = set"; then
94128 echo $ECHO_N "(cached) $ECHO_C" >&6
94129 else
94130 if test x$gcc_no_link = xyes; then
94131 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94132 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94133 { (exit 1); exit 1; }; }
94135 cat >conftest.$ac_ext <<_ACEOF
94136 /* confdefs.h. */
94137 _ACEOF
94138 cat confdefs.h >>conftest.$ac_ext
94139 cat >>conftest.$ac_ext <<_ACEOF
94140 /* end confdefs.h. */
94141 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94142 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94143 #define $ac_func innocuous_$ac_func
94145 /* System header to define __stub macros and hopefully few prototypes,
94146 which can conflict with char $ac_func (); below.
94147 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94148 <limits.h> exists even on freestanding compilers. */
94150 #ifdef __STDC__
94151 # include <limits.h>
94152 #else
94153 # include <assert.h>
94154 #endif
94156 #undef $ac_func
94158 /* Override any gcc2 internal prototype to avoid an error. */
94159 #ifdef __cplusplus
94160 extern "C"
94162 #endif
94163 /* We use char because int might match the return type of a gcc2
94164 builtin and then its argument prototype would still apply. */
94165 char $ac_func ();
94166 /* The GNU C library defines this for functions which it implements
94167 to always fail with ENOSYS. Some functions are actually named
94168 something starting with __ and the normal name is an alias. */
94169 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94170 choke me
94171 #else
94172 char (*f) () = $ac_func;
94173 #endif
94174 #ifdef __cplusplus
94176 #endif
94179 main ()
94181 return f != $ac_func;
94183 return 0;
94185 _ACEOF
94186 rm -f conftest.$ac_objext conftest$ac_exeext
94187 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94188 (eval $ac_link) 2>conftest.er1
94189 ac_status=$?
94190 grep -v '^ *+' conftest.er1 >conftest.err
94191 rm -f conftest.er1
94192 cat conftest.err >&5
94193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94194 (exit $ac_status); } &&
94195 { ac_try='test -z "$ac_c_werror_flag"
94196 || test ! -s conftest.err'
94197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94198 (eval $ac_try) 2>&5
94199 ac_status=$?
94200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94201 (exit $ac_status); }; } &&
94202 { ac_try='test -s conftest$ac_exeext'
94203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94204 (eval $ac_try) 2>&5
94205 ac_status=$?
94206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94207 (exit $ac_status); }; }; then
94208 eval "$as_ac_var=yes"
94209 else
94210 echo "$as_me: failed program was:" >&5
94211 sed 's/^/| /' conftest.$ac_ext >&5
94213 eval "$as_ac_var=no"
94215 rm -f conftest.err conftest.$ac_objext \
94216 conftest$ac_exeext conftest.$ac_ext
94218 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94219 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94220 if test `eval echo '${'$as_ac_var'}'` = yes; then
94221 cat >>confdefs.h <<_ACEOF
94222 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94223 _ACEOF
94225 else
94226 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
94228 done
94232 for ac_func in __signbit
94234 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94235 echo "$as_me:$LINENO: checking for $ac_func" >&5
94236 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94237 if eval "test \"\${$as_ac_var+set}\" = set"; then
94238 echo $ECHO_N "(cached) $ECHO_C" >&6
94239 else
94240 if test x$gcc_no_link = xyes; then
94241 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94242 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94243 { (exit 1); exit 1; }; }
94245 cat >conftest.$ac_ext <<_ACEOF
94246 /* confdefs.h. */
94247 _ACEOF
94248 cat confdefs.h >>conftest.$ac_ext
94249 cat >>conftest.$ac_ext <<_ACEOF
94250 /* end confdefs.h. */
94251 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94252 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94253 #define $ac_func innocuous_$ac_func
94255 /* System header to define __stub macros and hopefully few prototypes,
94256 which can conflict with char $ac_func (); below.
94257 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94258 <limits.h> exists even on freestanding compilers. */
94260 #ifdef __STDC__
94261 # include <limits.h>
94262 #else
94263 # include <assert.h>
94264 #endif
94266 #undef $ac_func
94268 /* Override any gcc2 internal prototype to avoid an error. */
94269 #ifdef __cplusplus
94270 extern "C"
94272 #endif
94273 /* We use char because int might match the return type of a gcc2
94274 builtin and then its argument prototype would still apply. */
94275 char $ac_func ();
94276 /* The GNU C library defines this for functions which it implements
94277 to always fail with ENOSYS. Some functions are actually named
94278 something starting with __ and the normal name is an alias. */
94279 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94280 choke me
94281 #else
94282 char (*f) () = $ac_func;
94283 #endif
94284 #ifdef __cplusplus
94286 #endif
94289 main ()
94291 return f != $ac_func;
94293 return 0;
94295 _ACEOF
94296 rm -f conftest.$ac_objext conftest$ac_exeext
94297 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94298 (eval $ac_link) 2>conftest.er1
94299 ac_status=$?
94300 grep -v '^ *+' conftest.er1 >conftest.err
94301 rm -f conftest.er1
94302 cat conftest.err >&5
94303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94304 (exit $ac_status); } &&
94305 { ac_try='test -z "$ac_c_werror_flag"
94306 || test ! -s conftest.err'
94307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94308 (eval $ac_try) 2>&5
94309 ac_status=$?
94310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94311 (exit $ac_status); }; } &&
94312 { ac_try='test -s conftest$ac_exeext'
94313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94314 (eval $ac_try) 2>&5
94315 ac_status=$?
94316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94317 (exit $ac_status); }; }; then
94318 eval "$as_ac_var=yes"
94319 else
94320 echo "$as_me: failed program was:" >&5
94321 sed 's/^/| /' conftest.$ac_ext >&5
94323 eval "$as_ac_var=no"
94325 rm -f conftest.err conftest.$ac_objext \
94326 conftest$ac_exeext conftest.$ac_ext
94328 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94329 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94330 if test `eval echo '${'$as_ac_var'}'` = yes; then
94331 cat >>confdefs.h <<_ACEOF
94332 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94333 _ACEOF
94335 else
94336 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
94338 done
94342 for ac_func in __signbitf
94344 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94345 echo "$as_me:$LINENO: checking for $ac_func" >&5
94346 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94347 if eval "test \"\${$as_ac_var+set}\" = set"; then
94348 echo $ECHO_N "(cached) $ECHO_C" >&6
94349 else
94350 if test x$gcc_no_link = xyes; then
94351 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94352 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94353 { (exit 1); exit 1; }; }
94355 cat >conftest.$ac_ext <<_ACEOF
94356 /* confdefs.h. */
94357 _ACEOF
94358 cat confdefs.h >>conftest.$ac_ext
94359 cat >>conftest.$ac_ext <<_ACEOF
94360 /* end confdefs.h. */
94361 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94362 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94363 #define $ac_func innocuous_$ac_func
94365 /* System header to define __stub macros and hopefully few prototypes,
94366 which can conflict with char $ac_func (); below.
94367 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94368 <limits.h> exists even on freestanding compilers. */
94370 #ifdef __STDC__
94371 # include <limits.h>
94372 #else
94373 # include <assert.h>
94374 #endif
94376 #undef $ac_func
94378 /* Override any gcc2 internal prototype to avoid an error. */
94379 #ifdef __cplusplus
94380 extern "C"
94382 #endif
94383 /* We use char because int might match the return type of a gcc2
94384 builtin and then its argument prototype would still apply. */
94385 char $ac_func ();
94386 /* The GNU C library defines this for functions which it implements
94387 to always fail with ENOSYS. Some functions are actually named
94388 something starting with __ and the normal name is an alias. */
94389 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94390 choke me
94391 #else
94392 char (*f) () = $ac_func;
94393 #endif
94394 #ifdef __cplusplus
94396 #endif
94399 main ()
94401 return f != $ac_func;
94403 return 0;
94405 _ACEOF
94406 rm -f conftest.$ac_objext conftest$ac_exeext
94407 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94408 (eval $ac_link) 2>conftest.er1
94409 ac_status=$?
94410 grep -v '^ *+' conftest.er1 >conftest.err
94411 rm -f conftest.er1
94412 cat conftest.err >&5
94413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94414 (exit $ac_status); } &&
94415 { ac_try='test -z "$ac_c_werror_flag"
94416 || test ! -s conftest.err'
94417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94418 (eval $ac_try) 2>&5
94419 ac_status=$?
94420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94421 (exit $ac_status); }; } &&
94422 { ac_try='test -s conftest$ac_exeext'
94423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94424 (eval $ac_try) 2>&5
94425 ac_status=$?
94426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94427 (exit $ac_status); }; }; then
94428 eval "$as_ac_var=yes"
94429 else
94430 echo "$as_me: failed program was:" >&5
94431 sed 's/^/| /' conftest.$ac_ext >&5
94433 eval "$as_ac_var=no"
94435 rm -f conftest.err conftest.$ac_objext \
94436 conftest$ac_exeext conftest.$ac_ext
94438 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94439 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94440 if test `eval echo '${'$as_ac_var'}'` = yes; then
94441 cat >>confdefs.h <<_ACEOF
94442 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94443 _ACEOF
94445 else
94446 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
94448 done
94451 if test x$ac_cv_func_copysignl = x"yes"; then
94453 for ac_func in __signbitl
94455 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94456 echo "$as_me:$LINENO: checking for $ac_func" >&5
94457 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94458 if eval "test \"\${$as_ac_var+set}\" = set"; then
94459 echo $ECHO_N "(cached) $ECHO_C" >&6
94460 else
94461 if test x$gcc_no_link = xyes; then
94462 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94463 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94464 { (exit 1); exit 1; }; }
94466 cat >conftest.$ac_ext <<_ACEOF
94467 /* confdefs.h. */
94468 _ACEOF
94469 cat confdefs.h >>conftest.$ac_ext
94470 cat >>conftest.$ac_ext <<_ACEOF
94471 /* end confdefs.h. */
94472 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94473 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94474 #define $ac_func innocuous_$ac_func
94476 /* System header to define __stub macros and hopefully few prototypes,
94477 which can conflict with char $ac_func (); below.
94478 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94479 <limits.h> exists even on freestanding compilers. */
94481 #ifdef __STDC__
94482 # include <limits.h>
94483 #else
94484 # include <assert.h>
94485 #endif
94487 #undef $ac_func
94489 /* Override any gcc2 internal prototype to avoid an error. */
94490 #ifdef __cplusplus
94491 extern "C"
94493 #endif
94494 /* We use char because int might match the return type of a gcc2
94495 builtin and then its argument prototype would still apply. */
94496 char $ac_func ();
94497 /* The GNU C library defines this for functions which it implements
94498 to always fail with ENOSYS. Some functions are actually named
94499 something starting with __ and the normal name is an alias. */
94500 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94501 choke me
94502 #else
94503 char (*f) () = $ac_func;
94504 #endif
94505 #ifdef __cplusplus
94507 #endif
94510 main ()
94512 return f != $ac_func;
94514 return 0;
94516 _ACEOF
94517 rm -f conftest.$ac_objext conftest$ac_exeext
94518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94519 (eval $ac_link) 2>conftest.er1
94520 ac_status=$?
94521 grep -v '^ *+' conftest.er1 >conftest.err
94522 rm -f conftest.er1
94523 cat conftest.err >&5
94524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94525 (exit $ac_status); } &&
94526 { ac_try='test -z "$ac_c_werror_flag"
94527 || test ! -s conftest.err'
94528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94529 (eval $ac_try) 2>&5
94530 ac_status=$?
94531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94532 (exit $ac_status); }; } &&
94533 { ac_try='test -s conftest$ac_exeext'
94534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94535 (eval $ac_try) 2>&5
94536 ac_status=$?
94537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94538 (exit $ac_status); }; }; then
94539 eval "$as_ac_var=yes"
94540 else
94541 echo "$as_me: failed program was:" >&5
94542 sed 's/^/| /' conftest.$ac_ext >&5
94544 eval "$as_ac_var=no"
94546 rm -f conftest.err conftest.$ac_objext \
94547 conftest$ac_exeext conftest.$ac_ext
94549 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94550 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94551 if test `eval echo '${'$as_ac_var'}'` = yes; then
94552 cat >>confdefs.h <<_ACEOF
94553 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94554 _ACEOF
94556 else
94557 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
94559 done
94563 # Used in libmath/Makefile.am.
94564 if test -n "$LIBMATHOBJS"; then
94565 need_libmath=yes
94570 # Test wchar.h for mbstate_t, which is needed for char_traits and
94571 # others even if wchar_t support is not on.
94572 echo "$as_me:$LINENO: checking for mbstate_t" >&5
94573 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
94574 cat >conftest.$ac_ext <<_ACEOF
94575 /* confdefs.h. */
94576 _ACEOF
94577 cat confdefs.h >>conftest.$ac_ext
94578 cat >>conftest.$ac_ext <<_ACEOF
94579 /* end confdefs.h. */
94580 #include <wchar.h>
94582 main ()
94584 mbstate_t teststate;
94586 return 0;
94588 _ACEOF
94589 rm -f conftest.$ac_objext
94590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94591 (eval $ac_compile) 2>conftest.er1
94592 ac_status=$?
94593 grep -v '^ *+' conftest.er1 >conftest.err
94594 rm -f conftest.er1
94595 cat conftest.err >&5
94596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94597 (exit $ac_status); } &&
94598 { ac_try='test -z "$ac_c_werror_flag"
94599 || test ! -s conftest.err'
94600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94601 (eval $ac_try) 2>&5
94602 ac_status=$?
94603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94604 (exit $ac_status); }; } &&
94605 { ac_try='test -s conftest.$ac_objext'
94606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94607 (eval $ac_try) 2>&5
94608 ac_status=$?
94609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94610 (exit $ac_status); }; }; then
94611 have_mbstate_t=yes
94612 else
94613 echo "$as_me: failed program was:" >&5
94614 sed 's/^/| /' conftest.$ac_ext >&5
94616 have_mbstate_t=no
94618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94619 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
94620 echo "${ECHO_T}$have_mbstate_t" >&6
94621 if test x"$have_mbstate_t" = xyes; then
94622 cat >>confdefs.h <<\_ACEOF
94623 #define HAVE_MBSTATE_T 1
94624 _ACEOF
94628 # Sanity check for existence of ISO C99 headers for extended encoding.
94630 for ac_header in wchar.h
94632 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
94633 if eval "test \"\${$as_ac_Header+set}\" = set"; then
94634 echo "$as_me:$LINENO: checking for $ac_header" >&5
94635 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
94636 if eval "test \"\${$as_ac_Header+set}\" = set"; then
94637 echo $ECHO_N "(cached) $ECHO_C" >&6
94639 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
94640 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
94641 else
94642 # Is the header compilable?
94643 echo "$as_me:$LINENO: checking $ac_header usability" >&5
94644 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
94645 cat >conftest.$ac_ext <<_ACEOF
94646 /* confdefs.h. */
94647 _ACEOF
94648 cat confdefs.h >>conftest.$ac_ext
94649 cat >>conftest.$ac_ext <<_ACEOF
94650 /* end confdefs.h. */
94651 $ac_includes_default
94652 #include <$ac_header>
94653 _ACEOF
94654 rm -f conftest.$ac_objext
94655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94656 (eval $ac_compile) 2>conftest.er1
94657 ac_status=$?
94658 grep -v '^ *+' conftest.er1 >conftest.err
94659 rm -f conftest.er1
94660 cat conftest.err >&5
94661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94662 (exit $ac_status); } &&
94663 { ac_try='test -z "$ac_c_werror_flag"
94664 || test ! -s conftest.err'
94665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94666 (eval $ac_try) 2>&5
94667 ac_status=$?
94668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94669 (exit $ac_status); }; } &&
94670 { ac_try='test -s conftest.$ac_objext'
94671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94672 (eval $ac_try) 2>&5
94673 ac_status=$?
94674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94675 (exit $ac_status); }; }; then
94676 ac_header_compiler=yes
94677 else
94678 echo "$as_me: failed program was:" >&5
94679 sed 's/^/| /' conftest.$ac_ext >&5
94681 ac_header_compiler=no
94683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94684 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
94685 echo "${ECHO_T}$ac_header_compiler" >&6
94687 # Is the header present?
94688 echo "$as_me:$LINENO: checking $ac_header presence" >&5
94689 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
94690 cat >conftest.$ac_ext <<_ACEOF
94691 /* confdefs.h. */
94692 _ACEOF
94693 cat confdefs.h >>conftest.$ac_ext
94694 cat >>conftest.$ac_ext <<_ACEOF
94695 /* end confdefs.h. */
94696 #include <$ac_header>
94697 _ACEOF
94698 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
94699 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
94700 ac_status=$?
94701 grep -v '^ *+' conftest.er1 >conftest.err
94702 rm -f conftest.er1
94703 cat conftest.err >&5
94704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94705 (exit $ac_status); } >/dev/null; then
94706 if test -s conftest.err; then
94707 ac_cpp_err=$ac_c_preproc_warn_flag
94708 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
94709 else
94710 ac_cpp_err=
94712 else
94713 ac_cpp_err=yes
94715 if test -z "$ac_cpp_err"; then
94716 ac_header_preproc=yes
94717 else
94718 echo "$as_me: failed program was:" >&5
94719 sed 's/^/| /' conftest.$ac_ext >&5
94721 ac_header_preproc=no
94723 rm -f conftest.err conftest.$ac_ext
94724 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
94725 echo "${ECHO_T}$ac_header_preproc" >&6
94727 # So? What about this header?
94728 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
94729 yes:no: )
94730 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
94731 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
94732 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
94733 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
94734 ac_header_preproc=yes
94736 no:yes:* )
94737 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
94738 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
94739 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
94740 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
94741 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
94742 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
94743 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
94744 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
94745 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
94746 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
94747 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
94748 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
94750 cat <<\_ASBOX
94751 ## ----------------------------------------- ##
94752 ## Report this to the package-unused lists. ##
94753 ## ----------------------------------------- ##
94754 _ASBOX
94756 sed "s/^/$as_me: WARNING: /" >&2
94758 esac
94759 echo "$as_me:$LINENO: checking for $ac_header" >&5
94760 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
94761 if eval "test \"\${$as_ac_Header+set}\" = set"; then
94762 echo $ECHO_N "(cached) $ECHO_C" >&6
94763 else
94764 eval "$as_ac_Header=\$ac_header_preproc"
94766 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
94767 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
94770 if test `eval echo '${'$as_ac_Header'}'` = yes; then
94771 cat >>confdefs.h <<_ACEOF
94772 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
94773 _ACEOF
94774 ac_has_wchar_h=yes
94775 else
94776 ac_has_wchar_h=no
94779 done
94782 for ac_header in wctype.h
94784 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
94785 if eval "test \"\${$as_ac_Header+set}\" = set"; then
94786 echo "$as_me:$LINENO: checking for $ac_header" >&5
94787 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
94788 if eval "test \"\${$as_ac_Header+set}\" = set"; then
94789 echo $ECHO_N "(cached) $ECHO_C" >&6
94791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
94792 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
94793 else
94794 # Is the header compilable?
94795 echo "$as_me:$LINENO: checking $ac_header usability" >&5
94796 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
94797 cat >conftest.$ac_ext <<_ACEOF
94798 /* confdefs.h. */
94799 _ACEOF
94800 cat confdefs.h >>conftest.$ac_ext
94801 cat >>conftest.$ac_ext <<_ACEOF
94802 /* end confdefs.h. */
94803 $ac_includes_default
94804 #include <$ac_header>
94805 _ACEOF
94806 rm -f conftest.$ac_objext
94807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94808 (eval $ac_compile) 2>conftest.er1
94809 ac_status=$?
94810 grep -v '^ *+' conftest.er1 >conftest.err
94811 rm -f conftest.er1
94812 cat conftest.err >&5
94813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94814 (exit $ac_status); } &&
94815 { ac_try='test -z "$ac_c_werror_flag"
94816 || test ! -s conftest.err'
94817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94818 (eval $ac_try) 2>&5
94819 ac_status=$?
94820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94821 (exit $ac_status); }; } &&
94822 { ac_try='test -s conftest.$ac_objext'
94823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94824 (eval $ac_try) 2>&5
94825 ac_status=$?
94826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94827 (exit $ac_status); }; }; then
94828 ac_header_compiler=yes
94829 else
94830 echo "$as_me: failed program was:" >&5
94831 sed 's/^/| /' conftest.$ac_ext >&5
94833 ac_header_compiler=no
94835 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94836 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
94837 echo "${ECHO_T}$ac_header_compiler" >&6
94839 # Is the header present?
94840 echo "$as_me:$LINENO: checking $ac_header presence" >&5
94841 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
94842 cat >conftest.$ac_ext <<_ACEOF
94843 /* confdefs.h. */
94844 _ACEOF
94845 cat confdefs.h >>conftest.$ac_ext
94846 cat >>conftest.$ac_ext <<_ACEOF
94847 /* end confdefs.h. */
94848 #include <$ac_header>
94849 _ACEOF
94850 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
94851 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
94852 ac_status=$?
94853 grep -v '^ *+' conftest.er1 >conftest.err
94854 rm -f conftest.er1
94855 cat conftest.err >&5
94856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94857 (exit $ac_status); } >/dev/null; then
94858 if test -s conftest.err; then
94859 ac_cpp_err=$ac_c_preproc_warn_flag
94860 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
94861 else
94862 ac_cpp_err=
94864 else
94865 ac_cpp_err=yes
94867 if test -z "$ac_cpp_err"; then
94868 ac_header_preproc=yes
94869 else
94870 echo "$as_me: failed program was:" >&5
94871 sed 's/^/| /' conftest.$ac_ext >&5
94873 ac_header_preproc=no
94875 rm -f conftest.err conftest.$ac_ext
94876 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
94877 echo "${ECHO_T}$ac_header_preproc" >&6
94879 # So? What about this header?
94880 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
94881 yes:no: )
94882 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
94883 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
94884 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
94885 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
94886 ac_header_preproc=yes
94888 no:yes:* )
94889 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
94890 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
94891 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
94892 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
94893 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
94894 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
94895 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
94896 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
94897 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
94898 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
94899 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
94900 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
94902 cat <<\_ASBOX
94903 ## ----------------------------------------- ##
94904 ## Report this to the package-unused lists. ##
94905 ## ----------------------------------------- ##
94906 _ASBOX
94908 sed "s/^/$as_me: WARNING: /" >&2
94910 esac
94911 echo "$as_me:$LINENO: checking for $ac_header" >&5
94912 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
94913 if eval "test \"\${$as_ac_Header+set}\" = set"; then
94914 echo $ECHO_N "(cached) $ECHO_C" >&6
94915 else
94916 eval "$as_ac_Header=\$ac_header_preproc"
94918 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
94919 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
94922 if test `eval echo '${'$as_ac_Header'}'` = yes; then
94923 cat >>confdefs.h <<_ACEOF
94924 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
94925 _ACEOF
94926 ac_has_wctype_h=yes
94927 else
94928 ac_has_wctype_h=no
94931 done
94934 # Only continue checking if the ISO C99 headers exist and support is on.
94935 if test x"$ac_has_wchar_h" = xyes &&
94936 test x"$ac_has_wctype_h" = xyes &&
94937 test x"$enable_c_mbchar" != xno; then
94939 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
94940 # numeric_limits can instantiate type_traits<wchar_t>
94941 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
94942 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
94943 cat >conftest.$ac_ext <<_ACEOF
94944 /* confdefs.h. */
94945 _ACEOF
94946 cat confdefs.h >>conftest.$ac_ext
94947 cat >>conftest.$ac_ext <<_ACEOF
94948 /* end confdefs.h. */
94949 #include <wchar.h>
94951 main ()
94953 int i = WCHAR_MIN; int j = WCHAR_MAX;
94955 return 0;
94957 _ACEOF
94958 rm -f conftest.$ac_objext
94959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94960 (eval $ac_compile) 2>conftest.er1
94961 ac_status=$?
94962 grep -v '^ *+' conftest.er1 >conftest.err
94963 rm -f conftest.er1
94964 cat conftest.err >&5
94965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94966 (exit $ac_status); } &&
94967 { ac_try='test -z "$ac_c_werror_flag"
94968 || test ! -s conftest.err'
94969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94970 (eval $ac_try) 2>&5
94971 ac_status=$?
94972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94973 (exit $ac_status); }; } &&
94974 { ac_try='test -s conftest.$ac_objext'
94975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94976 (eval $ac_try) 2>&5
94977 ac_status=$?
94978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94979 (exit $ac_status); }; }; then
94980 has_wchar_minmax=yes
94981 else
94982 echo "$as_me: failed program was:" >&5
94983 sed 's/^/| /' conftest.$ac_ext >&5
94985 has_wchar_minmax=no
94987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94988 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
94989 echo "${ECHO_T}$has_wchar_minmax" >&6
94991 # Test wchar.h for WEOF, which is what we use to determine whether
94992 # to specialize for char_traits<wchar_t> or not.
94993 echo "$as_me:$LINENO: checking for WEOF" >&5
94994 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
94995 cat >conftest.$ac_ext <<_ACEOF
94996 /* confdefs.h. */
94997 _ACEOF
94998 cat confdefs.h >>conftest.$ac_ext
94999 cat >>conftest.$ac_ext <<_ACEOF
95000 /* end confdefs.h. */
95002 #include <wchar.h>
95003 #include <stddef.h>
95005 main ()
95007 wint_t i = WEOF;
95009 return 0;
95011 _ACEOF
95012 rm -f conftest.$ac_objext
95013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95014 (eval $ac_compile) 2>conftest.er1
95015 ac_status=$?
95016 grep -v '^ *+' conftest.er1 >conftest.err
95017 rm -f conftest.er1
95018 cat conftest.err >&5
95019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95020 (exit $ac_status); } &&
95021 { ac_try='test -z "$ac_c_werror_flag"
95022 || test ! -s conftest.err'
95023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95024 (eval $ac_try) 2>&5
95025 ac_status=$?
95026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95027 (exit $ac_status); }; } &&
95028 { ac_try='test -s conftest.$ac_objext'
95029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95030 (eval $ac_try) 2>&5
95031 ac_status=$?
95032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95033 (exit $ac_status); }; }; then
95034 has_weof=yes
95035 else
95036 echo "$as_me: failed program was:" >&5
95037 sed 's/^/| /' conftest.$ac_ext >&5
95039 has_weof=no
95041 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95042 echo "$as_me:$LINENO: result: $has_weof" >&5
95043 echo "${ECHO_T}$has_weof" >&6
95045 # Tests for wide character functions used in char_traits<wchar_t>.
95046 ac_wfuncs=yes
95053 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
95055 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95056 echo "$as_me:$LINENO: checking for $ac_func" >&5
95057 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95058 if eval "test \"\${$as_ac_var+set}\" = set"; then
95059 echo $ECHO_N "(cached) $ECHO_C" >&6
95060 else
95061 if test x$gcc_no_link = xyes; then
95062 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95063 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95064 { (exit 1); exit 1; }; }
95066 cat >conftest.$ac_ext <<_ACEOF
95067 /* confdefs.h. */
95068 _ACEOF
95069 cat confdefs.h >>conftest.$ac_ext
95070 cat >>conftest.$ac_ext <<_ACEOF
95071 /* end confdefs.h. */
95072 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95073 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95074 #define $ac_func innocuous_$ac_func
95076 /* System header to define __stub macros and hopefully few prototypes,
95077 which can conflict with char $ac_func (); below.
95078 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95079 <limits.h> exists even on freestanding compilers. */
95081 #ifdef __STDC__
95082 # include <limits.h>
95083 #else
95084 # include <assert.h>
95085 #endif
95087 #undef $ac_func
95089 /* Override any gcc2 internal prototype to avoid an error. */
95090 #ifdef __cplusplus
95091 extern "C"
95093 #endif
95094 /* We use char because int might match the return type of a gcc2
95095 builtin and then its argument prototype would still apply. */
95096 char $ac_func ();
95097 /* The GNU C library defines this for functions which it implements
95098 to always fail with ENOSYS. Some functions are actually named
95099 something starting with __ and the normal name is an alias. */
95100 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95101 choke me
95102 #else
95103 char (*f) () = $ac_func;
95104 #endif
95105 #ifdef __cplusplus
95107 #endif
95110 main ()
95112 return f != $ac_func;
95114 return 0;
95116 _ACEOF
95117 rm -f conftest.$ac_objext conftest$ac_exeext
95118 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95119 (eval $ac_link) 2>conftest.er1
95120 ac_status=$?
95121 grep -v '^ *+' conftest.er1 >conftest.err
95122 rm -f conftest.er1
95123 cat conftest.err >&5
95124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95125 (exit $ac_status); } &&
95126 { ac_try='test -z "$ac_c_werror_flag"
95127 || test ! -s conftest.err'
95128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95129 (eval $ac_try) 2>&5
95130 ac_status=$?
95131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95132 (exit $ac_status); }; } &&
95133 { ac_try='test -s conftest$ac_exeext'
95134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95135 (eval $ac_try) 2>&5
95136 ac_status=$?
95137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95138 (exit $ac_status); }; }; then
95139 eval "$as_ac_var=yes"
95140 else
95141 echo "$as_me: failed program was:" >&5
95142 sed 's/^/| /' conftest.$ac_ext >&5
95144 eval "$as_ac_var=no"
95146 rm -f conftest.err conftest.$ac_objext \
95147 conftest$ac_exeext conftest.$ac_ext
95149 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95150 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95151 if test `eval echo '${'$as_ac_var'}'` = yes; then
95152 cat >>confdefs.h <<_ACEOF
95153 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95154 _ACEOF
95156 else
95157 ac_wfuncs=no
95159 done
95162 # Checks for names injected into std:: by the c_std headers.
95209 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
95210 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
95211 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
95212 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
95213 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
95214 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
95216 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95217 echo "$as_me:$LINENO: checking for $ac_func" >&5
95218 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95219 if eval "test \"\${$as_ac_var+set}\" = set"; then
95220 echo $ECHO_N "(cached) $ECHO_C" >&6
95221 else
95222 if test x$gcc_no_link = xyes; then
95223 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95224 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95225 { (exit 1); exit 1; }; }
95227 cat >conftest.$ac_ext <<_ACEOF
95228 /* confdefs.h. */
95229 _ACEOF
95230 cat confdefs.h >>conftest.$ac_ext
95231 cat >>conftest.$ac_ext <<_ACEOF
95232 /* end confdefs.h. */
95233 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95234 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95235 #define $ac_func innocuous_$ac_func
95237 /* System header to define __stub macros and hopefully few prototypes,
95238 which can conflict with char $ac_func (); below.
95239 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95240 <limits.h> exists even on freestanding compilers. */
95242 #ifdef __STDC__
95243 # include <limits.h>
95244 #else
95245 # include <assert.h>
95246 #endif
95248 #undef $ac_func
95250 /* Override any gcc2 internal prototype to avoid an error. */
95251 #ifdef __cplusplus
95252 extern "C"
95254 #endif
95255 /* We use char because int might match the return type of a gcc2
95256 builtin and then its argument prototype would still apply. */
95257 char $ac_func ();
95258 /* The GNU C library defines this for functions which it implements
95259 to always fail with ENOSYS. Some functions are actually named
95260 something starting with __ and the normal name is an alias. */
95261 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95262 choke me
95263 #else
95264 char (*f) () = $ac_func;
95265 #endif
95266 #ifdef __cplusplus
95268 #endif
95271 main ()
95273 return f != $ac_func;
95275 return 0;
95277 _ACEOF
95278 rm -f conftest.$ac_objext conftest$ac_exeext
95279 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95280 (eval $ac_link) 2>conftest.er1
95281 ac_status=$?
95282 grep -v '^ *+' conftest.er1 >conftest.err
95283 rm -f conftest.er1
95284 cat conftest.err >&5
95285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95286 (exit $ac_status); } &&
95287 { ac_try='test -z "$ac_c_werror_flag"
95288 || test ! -s conftest.err'
95289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95290 (eval $ac_try) 2>&5
95291 ac_status=$?
95292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95293 (exit $ac_status); }; } &&
95294 { ac_try='test -s conftest$ac_exeext'
95295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95296 (eval $ac_try) 2>&5
95297 ac_status=$?
95298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95299 (exit $ac_status); }; }; then
95300 eval "$as_ac_var=yes"
95301 else
95302 echo "$as_me: failed program was:" >&5
95303 sed 's/^/| /' conftest.$ac_ext >&5
95305 eval "$as_ac_var=no"
95307 rm -f conftest.err conftest.$ac_objext \
95308 conftest$ac_exeext conftest.$ac_ext
95310 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95311 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95312 if test `eval echo '${'$as_ac_var'}'` = yes; then
95313 cat >>confdefs.h <<_ACEOF
95314 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95315 _ACEOF
95317 else
95318 ac_wfuncs=no
95320 done
95323 # Checks for wide character functions that are not required
95324 # for basic wchar_t support. Don't disable support if they are missing.
95325 # Injection of these is wrapped with guard macros.
95331 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
95333 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95334 echo "$as_me:$LINENO: checking for $ac_func" >&5
95335 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95336 if eval "test \"\${$as_ac_var+set}\" = set"; then
95337 echo $ECHO_N "(cached) $ECHO_C" >&6
95338 else
95339 if test x$gcc_no_link = xyes; then
95340 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95341 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95342 { (exit 1); exit 1; }; }
95344 cat >conftest.$ac_ext <<_ACEOF
95345 /* confdefs.h. */
95346 _ACEOF
95347 cat confdefs.h >>conftest.$ac_ext
95348 cat >>conftest.$ac_ext <<_ACEOF
95349 /* end confdefs.h. */
95350 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95351 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95352 #define $ac_func innocuous_$ac_func
95354 /* System header to define __stub macros and hopefully few prototypes,
95355 which can conflict with char $ac_func (); below.
95356 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95357 <limits.h> exists even on freestanding compilers. */
95359 #ifdef __STDC__
95360 # include <limits.h>
95361 #else
95362 # include <assert.h>
95363 #endif
95365 #undef $ac_func
95367 /* Override any gcc2 internal prototype to avoid an error. */
95368 #ifdef __cplusplus
95369 extern "C"
95371 #endif
95372 /* We use char because int might match the return type of a gcc2
95373 builtin and then its argument prototype would still apply. */
95374 char $ac_func ();
95375 /* The GNU C library defines this for functions which it implements
95376 to always fail with ENOSYS. Some functions are actually named
95377 something starting with __ and the normal name is an alias. */
95378 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95379 choke me
95380 #else
95381 char (*f) () = $ac_func;
95382 #endif
95383 #ifdef __cplusplus
95385 #endif
95388 main ()
95390 return f != $ac_func;
95392 return 0;
95394 _ACEOF
95395 rm -f conftest.$ac_objext conftest$ac_exeext
95396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95397 (eval $ac_link) 2>conftest.er1
95398 ac_status=$?
95399 grep -v '^ *+' conftest.er1 >conftest.err
95400 rm -f conftest.er1
95401 cat conftest.err >&5
95402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95403 (exit $ac_status); } &&
95404 { ac_try='test -z "$ac_c_werror_flag"
95405 || test ! -s conftest.err'
95406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95407 (eval $ac_try) 2>&5
95408 ac_status=$?
95409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95410 (exit $ac_status); }; } &&
95411 { ac_try='test -s conftest$ac_exeext'
95412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95413 (eval $ac_try) 2>&5
95414 ac_status=$?
95415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95416 (exit $ac_status); }; }; then
95417 eval "$as_ac_var=yes"
95418 else
95419 echo "$as_me: failed program was:" >&5
95420 sed 's/^/| /' conftest.$ac_ext >&5
95422 eval "$as_ac_var=no"
95424 rm -f conftest.err conftest.$ac_objext \
95425 conftest$ac_exeext conftest.$ac_ext
95427 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95428 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95429 if test `eval echo '${'$as_ac_var'}'` = yes; then
95430 cat >>confdefs.h <<_ACEOF
95431 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95432 _ACEOF
95435 done
95438 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
95439 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
95440 if test x"$has_weof" = xyes &&
95441 test x"$has_wchar_minmax" = xyes &&
95442 test x"$ac_wfuncs" = xyes;
95443 then
95444 ac_isoC99_wchar_t=yes
95445 else
95446 ac_isoC99_wchar_t=no
95448 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
95449 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
95451 # Use iconv for wchar_t to char conversions. As such, check for
95452 # X/Open Portability Guide, version 2 features (XPG2).
95453 if test "${ac_cv_header_iconv_h+set}" = set; then
95454 echo "$as_me:$LINENO: checking for iconv.h" >&5
95455 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
95456 if test "${ac_cv_header_iconv_h+set}" = set; then
95457 echo $ECHO_N "(cached) $ECHO_C" >&6
95459 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
95460 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
95461 else
95462 # Is the header compilable?
95463 echo "$as_me:$LINENO: checking iconv.h usability" >&5
95464 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
95465 cat >conftest.$ac_ext <<_ACEOF
95466 /* confdefs.h. */
95467 _ACEOF
95468 cat confdefs.h >>conftest.$ac_ext
95469 cat >>conftest.$ac_ext <<_ACEOF
95470 /* end confdefs.h. */
95471 $ac_includes_default
95472 #include <iconv.h>
95473 _ACEOF
95474 rm -f conftest.$ac_objext
95475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95476 (eval $ac_compile) 2>conftest.er1
95477 ac_status=$?
95478 grep -v '^ *+' conftest.er1 >conftest.err
95479 rm -f conftest.er1
95480 cat conftest.err >&5
95481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95482 (exit $ac_status); } &&
95483 { ac_try='test -z "$ac_c_werror_flag"
95484 || test ! -s conftest.err'
95485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95486 (eval $ac_try) 2>&5
95487 ac_status=$?
95488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95489 (exit $ac_status); }; } &&
95490 { ac_try='test -s conftest.$ac_objext'
95491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95492 (eval $ac_try) 2>&5
95493 ac_status=$?
95494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95495 (exit $ac_status); }; }; then
95496 ac_header_compiler=yes
95497 else
95498 echo "$as_me: failed program was:" >&5
95499 sed 's/^/| /' conftest.$ac_ext >&5
95501 ac_header_compiler=no
95503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95504 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
95505 echo "${ECHO_T}$ac_header_compiler" >&6
95507 # Is the header present?
95508 echo "$as_me:$LINENO: checking iconv.h presence" >&5
95509 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
95510 cat >conftest.$ac_ext <<_ACEOF
95511 /* confdefs.h. */
95512 _ACEOF
95513 cat confdefs.h >>conftest.$ac_ext
95514 cat >>conftest.$ac_ext <<_ACEOF
95515 /* end confdefs.h. */
95516 #include <iconv.h>
95517 _ACEOF
95518 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
95519 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
95520 ac_status=$?
95521 grep -v '^ *+' conftest.er1 >conftest.err
95522 rm -f conftest.er1
95523 cat conftest.err >&5
95524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95525 (exit $ac_status); } >/dev/null; then
95526 if test -s conftest.err; then
95527 ac_cpp_err=$ac_c_preproc_warn_flag
95528 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
95529 else
95530 ac_cpp_err=
95532 else
95533 ac_cpp_err=yes
95535 if test -z "$ac_cpp_err"; then
95536 ac_header_preproc=yes
95537 else
95538 echo "$as_me: failed program was:" >&5
95539 sed 's/^/| /' conftest.$ac_ext >&5
95541 ac_header_preproc=no
95543 rm -f conftest.err conftest.$ac_ext
95544 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
95545 echo "${ECHO_T}$ac_header_preproc" >&6
95547 # So? What about this header?
95548 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
95549 yes:no: )
95550 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
95551 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
95552 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
95553 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
95554 ac_header_preproc=yes
95556 no:yes:* )
95557 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
95558 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
95559 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
95560 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
95561 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
95562 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
95563 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
95564 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
95565 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
95566 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
95567 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
95568 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
95570 cat <<\_ASBOX
95571 ## ----------------------------------------- ##
95572 ## Report this to the package-unused lists. ##
95573 ## ----------------------------------------- ##
95574 _ASBOX
95576 sed "s/^/$as_me: WARNING: /" >&2
95578 esac
95579 echo "$as_me:$LINENO: checking for iconv.h" >&5
95580 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
95581 if test "${ac_cv_header_iconv_h+set}" = set; then
95582 echo $ECHO_N "(cached) $ECHO_C" >&6
95583 else
95584 ac_cv_header_iconv_h=$ac_header_preproc
95586 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
95587 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
95590 if test $ac_cv_header_iconv_h = yes; then
95591 ac_has_iconv_h=yes
95592 else
95593 ac_has_iconv_h=no
95597 if test "${ac_cv_header_langinfo_h+set}" = set; then
95598 echo "$as_me:$LINENO: checking for langinfo.h" >&5
95599 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
95600 if test "${ac_cv_header_langinfo_h+set}" = set; then
95601 echo $ECHO_N "(cached) $ECHO_C" >&6
95603 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
95604 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
95605 else
95606 # Is the header compilable?
95607 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
95608 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
95609 cat >conftest.$ac_ext <<_ACEOF
95610 /* confdefs.h. */
95611 _ACEOF
95612 cat confdefs.h >>conftest.$ac_ext
95613 cat >>conftest.$ac_ext <<_ACEOF
95614 /* end confdefs.h. */
95615 $ac_includes_default
95616 #include <langinfo.h>
95617 _ACEOF
95618 rm -f conftest.$ac_objext
95619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95620 (eval $ac_compile) 2>conftest.er1
95621 ac_status=$?
95622 grep -v '^ *+' conftest.er1 >conftest.err
95623 rm -f conftest.er1
95624 cat conftest.err >&5
95625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95626 (exit $ac_status); } &&
95627 { ac_try='test -z "$ac_c_werror_flag"
95628 || test ! -s conftest.err'
95629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95630 (eval $ac_try) 2>&5
95631 ac_status=$?
95632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95633 (exit $ac_status); }; } &&
95634 { ac_try='test -s conftest.$ac_objext'
95635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95636 (eval $ac_try) 2>&5
95637 ac_status=$?
95638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95639 (exit $ac_status); }; }; then
95640 ac_header_compiler=yes
95641 else
95642 echo "$as_me: failed program was:" >&5
95643 sed 's/^/| /' conftest.$ac_ext >&5
95645 ac_header_compiler=no
95647 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95648 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
95649 echo "${ECHO_T}$ac_header_compiler" >&6
95651 # Is the header present?
95652 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
95653 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
95654 cat >conftest.$ac_ext <<_ACEOF
95655 /* confdefs.h. */
95656 _ACEOF
95657 cat confdefs.h >>conftest.$ac_ext
95658 cat >>conftest.$ac_ext <<_ACEOF
95659 /* end confdefs.h. */
95660 #include <langinfo.h>
95661 _ACEOF
95662 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
95663 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
95664 ac_status=$?
95665 grep -v '^ *+' conftest.er1 >conftest.err
95666 rm -f conftest.er1
95667 cat conftest.err >&5
95668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95669 (exit $ac_status); } >/dev/null; then
95670 if test -s conftest.err; then
95671 ac_cpp_err=$ac_c_preproc_warn_flag
95672 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
95673 else
95674 ac_cpp_err=
95676 else
95677 ac_cpp_err=yes
95679 if test -z "$ac_cpp_err"; then
95680 ac_header_preproc=yes
95681 else
95682 echo "$as_me: failed program was:" >&5
95683 sed 's/^/| /' conftest.$ac_ext >&5
95685 ac_header_preproc=no
95687 rm -f conftest.err conftest.$ac_ext
95688 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
95689 echo "${ECHO_T}$ac_header_preproc" >&6
95691 # So? What about this header?
95692 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
95693 yes:no: )
95694 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
95695 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
95696 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
95697 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
95698 ac_header_preproc=yes
95700 no:yes:* )
95701 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
95702 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
95703 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
95704 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
95705 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
95706 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
95707 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
95708 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
95709 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
95710 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
95711 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
95712 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
95714 cat <<\_ASBOX
95715 ## ----------------------------------------- ##
95716 ## Report this to the package-unused lists. ##
95717 ## ----------------------------------------- ##
95718 _ASBOX
95720 sed "s/^/$as_me: WARNING: /" >&2
95722 esac
95723 echo "$as_me:$LINENO: checking for langinfo.h" >&5
95724 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
95725 if test "${ac_cv_header_langinfo_h+set}" = set; then
95726 echo $ECHO_N "(cached) $ECHO_C" >&6
95727 else
95728 ac_cv_header_langinfo_h=$ac_header_preproc
95730 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
95731 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
95734 if test $ac_cv_header_langinfo_h = yes; then
95735 ac_has_langinfo_h=yes
95736 else
95737 ac_has_langinfo_h=no
95742 # Check for existence of libiconv.a providing XPG2 wchar_t support.
95743 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
95744 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
95745 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
95746 echo $ECHO_N "(cached) $ECHO_C" >&6
95747 else
95748 ac_check_lib_save_LIBS=$LIBS
95749 LIBS="-liconv $LIBS"
95750 if test x$gcc_no_link = xyes; then
95751 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95752 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95753 { (exit 1); exit 1; }; }
95755 cat >conftest.$ac_ext <<_ACEOF
95756 /* confdefs.h. */
95757 _ACEOF
95758 cat confdefs.h >>conftest.$ac_ext
95759 cat >>conftest.$ac_ext <<_ACEOF
95760 /* end confdefs.h. */
95762 /* Override any gcc2 internal prototype to avoid an error. */
95763 #ifdef __cplusplus
95764 extern "C"
95765 #endif
95766 /* We use char because int might match the return type of a gcc2
95767 builtin and then its argument prototype would still apply. */
95768 char iconv ();
95770 main ()
95772 iconv ();
95774 return 0;
95776 _ACEOF
95777 rm -f conftest.$ac_objext conftest$ac_exeext
95778 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95779 (eval $ac_link) 2>conftest.er1
95780 ac_status=$?
95781 grep -v '^ *+' conftest.er1 >conftest.err
95782 rm -f conftest.er1
95783 cat conftest.err >&5
95784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95785 (exit $ac_status); } &&
95786 { ac_try='test -z "$ac_c_werror_flag"
95787 || test ! -s conftest.err'
95788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95789 (eval $ac_try) 2>&5
95790 ac_status=$?
95791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95792 (exit $ac_status); }; } &&
95793 { ac_try='test -s conftest$ac_exeext'
95794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95795 (eval $ac_try) 2>&5
95796 ac_status=$?
95797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95798 (exit $ac_status); }; }; then
95799 ac_cv_lib_iconv_iconv=yes
95800 else
95801 echo "$as_me: failed program was:" >&5
95802 sed 's/^/| /' conftest.$ac_ext >&5
95804 ac_cv_lib_iconv_iconv=no
95806 rm -f conftest.err conftest.$ac_objext \
95807 conftest$ac_exeext conftest.$ac_ext
95808 LIBS=$ac_check_lib_save_LIBS
95810 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
95811 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
95812 if test $ac_cv_lib_iconv_iconv = yes; then
95813 LIBICONV="-liconv"
95816 ac_save_LIBS="$LIBS"
95817 LIBS="$LIBS $LIBICONV"
95824 for ac_func in iconv_open iconv_close iconv nl_langinfo
95826 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95827 echo "$as_me:$LINENO: checking for $ac_func" >&5
95828 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95829 if eval "test \"\${$as_ac_var+set}\" = set"; then
95830 echo $ECHO_N "(cached) $ECHO_C" >&6
95831 else
95832 if test x$gcc_no_link = xyes; then
95833 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95834 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95835 { (exit 1); exit 1; }; }
95837 cat >conftest.$ac_ext <<_ACEOF
95838 /* confdefs.h. */
95839 _ACEOF
95840 cat confdefs.h >>conftest.$ac_ext
95841 cat >>conftest.$ac_ext <<_ACEOF
95842 /* end confdefs.h. */
95843 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95844 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95845 #define $ac_func innocuous_$ac_func
95847 /* System header to define __stub macros and hopefully few prototypes,
95848 which can conflict with char $ac_func (); below.
95849 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95850 <limits.h> exists even on freestanding compilers. */
95852 #ifdef __STDC__
95853 # include <limits.h>
95854 #else
95855 # include <assert.h>
95856 #endif
95858 #undef $ac_func
95860 /* Override any gcc2 internal prototype to avoid an error. */
95861 #ifdef __cplusplus
95862 extern "C"
95864 #endif
95865 /* We use char because int might match the return type of a gcc2
95866 builtin and then its argument prototype would still apply. */
95867 char $ac_func ();
95868 /* The GNU C library defines this for functions which it implements
95869 to always fail with ENOSYS. Some functions are actually named
95870 something starting with __ and the normal name is an alias. */
95871 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95872 choke me
95873 #else
95874 char (*f) () = $ac_func;
95875 #endif
95876 #ifdef __cplusplus
95878 #endif
95881 main ()
95883 return f != $ac_func;
95885 return 0;
95887 _ACEOF
95888 rm -f conftest.$ac_objext conftest$ac_exeext
95889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95890 (eval $ac_link) 2>conftest.er1
95891 ac_status=$?
95892 grep -v '^ *+' conftest.er1 >conftest.err
95893 rm -f conftest.er1
95894 cat conftest.err >&5
95895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95896 (exit $ac_status); } &&
95897 { ac_try='test -z "$ac_c_werror_flag"
95898 || test ! -s conftest.err'
95899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95900 (eval $ac_try) 2>&5
95901 ac_status=$?
95902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95903 (exit $ac_status); }; } &&
95904 { ac_try='test -s conftest$ac_exeext'
95905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95906 (eval $ac_try) 2>&5
95907 ac_status=$?
95908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95909 (exit $ac_status); }; }; then
95910 eval "$as_ac_var=yes"
95911 else
95912 echo "$as_me: failed program was:" >&5
95913 sed 's/^/| /' conftest.$ac_ext >&5
95915 eval "$as_ac_var=no"
95917 rm -f conftest.err conftest.$ac_objext \
95918 conftest$ac_exeext conftest.$ac_ext
95920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95921 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95922 if test `eval echo '${'$as_ac_var'}'` = yes; then
95923 cat >>confdefs.h <<_ACEOF
95924 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95925 _ACEOF
95926 ac_XPG2funcs=yes
95927 else
95928 ac_XPG2funcs=no
95930 done
95933 LIBS="$ac_save_LIBS"
95935 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
95936 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
95937 if test x"$ac_has_iconv_h" = xyes &&
95938 test x"$ac_has_langinfo_h" = xyes &&
95939 test x"$ac_XPG2funcs" = xyes;
95940 then
95941 ac_XPG2_wchar_t=yes
95942 else
95943 ac_XPG2_wchar_t=no
95945 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
95946 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
95948 # At the moment, only enable wchar_t specializations if all the
95949 # above support is present.
95950 if test x"$ac_isoC99_wchar_t" = xyes &&
95951 test x"$ac_XPG2_wchar_t" = xyes;
95952 then
95953 cat >>confdefs.h <<\_ACEOF
95954 #define _GLIBCXX_USE_WCHAR_T 1
95955 _ACEOF
95957 enable_wchar_t=yes
95960 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
95961 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
95962 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
95963 echo "${ECHO_T}$enable_wchar_t" >&6
95965 cat >>confdefs.h <<\_ACEOF
95966 #define HAVE_COPYSIGN 1
95967 _ACEOF
95969 cat >>confdefs.h <<\_ACEOF
95970 #define HAVE_COPYSIGNF 1
95971 _ACEOF
95973 cat >>confdefs.h <<\_ACEOF
95974 #define HAVE_FINITE 1
95975 _ACEOF
95977 cat >>confdefs.h <<\_ACEOF
95978 #define HAVE_FINITEF 1
95979 _ACEOF
95981 cat >>confdefs.h <<\_ACEOF
95982 #define HAVE_FREXPF 1
95983 _ACEOF
95985 cat >>confdefs.h <<\_ACEOF
95986 #define HAVE_HYPOTF 1
95987 _ACEOF
95989 cat >>confdefs.h <<\_ACEOF
95990 #define HAVE_ISINF 1
95991 _ACEOF
95993 cat >>confdefs.h <<\_ACEOF
95994 #define HAVE_ISINFF 1
95995 _ACEOF
95997 cat >>confdefs.h <<\_ACEOF
95998 #define HAVE_ISNAN 1
95999 _ACEOF
96001 cat >>confdefs.h <<\_ACEOF
96002 #define HAVE_ISNANF 1
96003 _ACEOF
96005 cat >>confdefs.h <<\_ACEOF
96006 #define HAVE_SINCOS 1
96007 _ACEOF
96009 cat >>confdefs.h <<\_ACEOF
96010 #define HAVE_SINCOSF 1
96011 _ACEOF
96013 if test x"long_double_math_on_this_cpu" = x"yes"; then
96014 cat >>confdefs.h <<\_ACEOF
96015 #define HAVE_FINITEL 1
96016 _ACEOF
96018 cat >>confdefs.h <<\_ACEOF
96019 #define HAVE_HYPOTL 1
96020 _ACEOF
96022 cat >>confdefs.h <<\_ACEOF
96023 #define HAVE_ISINFL 1
96024 _ACEOF
96026 cat >>confdefs.h <<\_ACEOF
96027 #define HAVE_ISNANL 1
96028 _ACEOF
96032 *-vxworks)
96033 cat >>confdefs.h <<\_ACEOF
96034 #define HAVE_MMAP 1
96035 _ACEOF
96037 cat >>confdefs.h <<\_ACEOF
96038 #define HAVE_ACOSF 1
96039 _ACEOF
96041 cat >>confdefs.h <<\_ACEOF
96042 #define HAVE_ASINF 1
96043 _ACEOF
96045 cat >>confdefs.h <<\_ACEOF
96046 #define HAVE_ATAN2F 1
96047 _ACEOF
96049 cat >>confdefs.h <<\_ACEOF
96050 #define HAVE_ATANF 1
96051 _ACEOF
96053 cat >>confdefs.h <<\_ACEOF
96054 #define HAVE_CEILF 1
96055 _ACEOF
96057 cat >>confdefs.h <<\_ACEOF
96058 #define HAVE_COSF 1
96059 _ACEOF
96061 cat >>confdefs.h <<\_ACEOF
96062 #define HAVE_COSHF 1
96063 _ACEOF
96065 cat >>confdefs.h <<\_ACEOF
96066 #define HAVE_EXPF 1
96067 _ACEOF
96069 cat >>confdefs.h <<\_ACEOF
96070 #define HAVE_FABSF 1
96071 _ACEOF
96073 cat >>confdefs.h <<\_ACEOF
96074 #define HAVE_FLOORF 1
96075 _ACEOF
96077 cat >>confdefs.h <<\_ACEOF
96078 #define HAVE_FMODF 1
96079 _ACEOF
96081 cat >>confdefs.h <<\_ACEOF
96082 #define HAVE_HYPOT 1
96083 _ACEOF
96085 cat >>confdefs.h <<\_ACEOF
96086 #define HAVE_LOG10F 1
96087 _ACEOF
96089 cat >>confdefs.h <<\_ACEOF
96090 #define HAVE_LOGF 1
96091 _ACEOF
96093 cat >>confdefs.h <<\_ACEOF
96094 #define HAVE_POWF 1
96095 _ACEOF
96097 cat >>confdefs.h <<\_ACEOF
96098 #define HAVE_SINF 1
96099 _ACEOF
96101 cat >>confdefs.h <<\_ACEOF
96102 #define HAVE_SINHF 1
96103 _ACEOF
96105 cat >>confdefs.h <<\_ACEOF
96106 #define HAVE_SQRTF 1
96107 _ACEOF
96109 cat >>confdefs.h <<\_ACEOF
96110 #define HAVE_TANF 1
96111 _ACEOF
96113 cat >>confdefs.h <<\_ACEOF
96114 #define HAVE_TANHF 1
96115 _ACEOF
96118 *-windiss*)
96119 cat >>confdefs.h <<\_ACEOF
96120 #define HAVE_ACOSF 1
96121 _ACEOF
96123 cat >>confdefs.h <<\_ACEOF
96124 #define HAVE_ACOSL 1
96125 _ACEOF
96127 cat >>confdefs.h <<\_ACEOF
96128 #define HAVE_ASINF 1
96129 _ACEOF
96131 cat >>confdefs.h <<\_ACEOF
96132 #define HAVE_ASINL 1
96133 _ACEOF
96135 cat >>confdefs.h <<\_ACEOF
96136 #define HAVE_ATAN2F 1
96137 _ACEOF
96139 cat >>confdefs.h <<\_ACEOF
96140 #define HAVE_ATAN2L 1
96141 _ACEOF
96143 cat >>confdefs.h <<\_ACEOF
96144 #define HAVE_ATANF 1
96145 _ACEOF
96147 cat >>confdefs.h <<\_ACEOF
96148 #define HAVE_ATANL 1
96149 _ACEOF
96151 cat >>confdefs.h <<\_ACEOF
96152 #define HAVE_CEILF 1
96153 _ACEOF
96155 cat >>confdefs.h <<\_ACEOF
96156 #define HAVE_CEILL 1
96157 _ACEOF
96159 cat >>confdefs.h <<\_ACEOF
96160 #define HAVE_COPYSIGN 1
96161 _ACEOF
96163 cat >>confdefs.h <<\_ACEOF
96164 #define HAVE_COPYSIGNF 1
96165 _ACEOF
96167 cat >>confdefs.h <<\_ACEOF
96168 #define HAVE_COSF 1
96169 _ACEOF
96171 cat >>confdefs.h <<\_ACEOF
96172 #define HAVE_COSL 1
96173 _ACEOF
96175 cat >>confdefs.h <<\_ACEOF
96176 #define HAVE_COSHF 1
96177 _ACEOF
96179 cat >>confdefs.h <<\_ACEOF
96180 #define HAVE_COSHL 1
96181 _ACEOF
96183 cat >>confdefs.h <<\_ACEOF
96184 #define HAVE_EXPF 1
96185 _ACEOF
96187 cat >>confdefs.h <<\_ACEOF
96188 #define HAVE_EXPL 1
96189 _ACEOF
96191 cat >>confdefs.h <<\_ACEOF
96192 #define HAVE_FABSF 1
96193 _ACEOF
96195 cat >>confdefs.h <<\_ACEOF
96196 #define HAVE_FABSL 1
96197 _ACEOF
96199 cat >>confdefs.h <<\_ACEOF
96200 #define HAVE_FLOORF 1
96201 _ACEOF
96203 cat >>confdefs.h <<\_ACEOF
96204 #define HAVE_FLOORL 1
96205 _ACEOF
96207 cat >>confdefs.h <<\_ACEOF
96208 #define HAVE_FMODF 1
96209 _ACEOF
96211 cat >>confdefs.h <<\_ACEOF
96212 #define HAVE_FMODL 1
96213 _ACEOF
96215 cat >>confdefs.h <<\_ACEOF
96216 #define HAVE_FREXPF 1
96217 _ACEOF
96219 cat >>confdefs.h <<\_ACEOF
96220 #define HAVE_FREXPL 1
96221 _ACEOF
96223 cat >>confdefs.h <<\_ACEOF
96224 #define HAVE_LDEXPF 1
96225 _ACEOF
96227 cat >>confdefs.h <<\_ACEOF
96228 #define HAVE_LDEXPL 1
96229 _ACEOF
96231 cat >>confdefs.h <<\_ACEOF
96232 #define HAVE_LOG10F 1
96233 _ACEOF
96235 cat >>confdefs.h <<\_ACEOF
96236 #define HAVE_LOG10L 1
96237 _ACEOF
96239 cat >>confdefs.h <<\_ACEOF
96240 #define HAVE_LOGF 1
96241 _ACEOF
96243 cat >>confdefs.h <<\_ACEOF
96244 #define HAVE_MODFF 1
96245 _ACEOF
96247 cat >>confdefs.h <<\_ACEOF
96248 #define HAVE_MODFL 1
96249 _ACEOF
96251 cat >>confdefs.h <<\_ACEOF
96252 #define HAVE_POWF 1
96253 _ACEOF
96255 cat >>confdefs.h <<\_ACEOF
96256 #define HAVE_POWL 1
96257 _ACEOF
96259 cat >>confdefs.h <<\_ACEOF
96260 #define HAVE_SINF 1
96261 _ACEOF
96263 cat >>confdefs.h <<\_ACEOF
96264 #define HAVE_SINL 1
96265 _ACEOF
96267 cat >>confdefs.h <<\_ACEOF
96268 #define HAVE_SINHF 1
96269 _ACEOF
96271 cat >>confdefs.h <<\_ACEOF
96272 #define HAVE_SINHL 1
96273 _ACEOF
96275 cat >>confdefs.h <<\_ACEOF
96276 #define HAVE_SQRTF 1
96277 _ACEOF
96279 cat >>confdefs.h <<\_ACEOF
96280 #define HAVE_SQRTL 1
96281 _ACEOF
96283 cat >>confdefs.h <<\_ACEOF
96284 #define HAVE_TANF 1
96285 _ACEOF
96287 cat >>confdefs.h <<\_ACEOF
96288 #define HAVE_TANL 1
96289 _ACEOF
96291 cat >>confdefs.h <<\_ACEOF
96292 #define HAVE_TANHF 1
96293 _ACEOF
96295 cat >>confdefs.h <<\_ACEOF
96296 #define HAVE_TANHL 1
96297 _ACEOF
96301 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
96302 echo "$as_me: error: No support for this host/target combination." >&2;}
96303 { (exit 1); exit 1; }; }
96305 esac
96310 # At some point, we should differentiate between architectures
96311 # like x86, which have long double versions, and alpha/powerpc/etc.,
96312 # which don't. For the time being, punt.
96313 if test x"long_double_math_on_this_cpu" = x"yes"; then
96314 cat >>confdefs.h <<\_ACEOF
96315 #define HAVE_ACOSL 1
96316 _ACEOF
96318 cat >>confdefs.h <<\_ACEOF
96319 #define HAVE_ASINL 1
96320 _ACEOF
96322 cat >>confdefs.h <<\_ACEOF
96323 #define HAVE_ATAN2L 1
96324 _ACEOF
96326 cat >>confdefs.h <<\_ACEOF
96327 #define HAVE_ATANL 1
96328 _ACEOF
96330 cat >>confdefs.h <<\_ACEOF
96331 #define HAVE_CEILL 1
96332 _ACEOF
96334 cat >>confdefs.h <<\_ACEOF
96335 #define HAVE_COPYSIGNL 1
96336 _ACEOF
96338 cat >>confdefs.h <<\_ACEOF
96339 #define HAVE_COSL 1
96340 _ACEOF
96342 cat >>confdefs.h <<\_ACEOF
96343 #define HAVE_COSHL 1
96344 _ACEOF
96346 cat >>confdefs.h <<\_ACEOF
96347 #define HAVE_EXPL 1
96348 _ACEOF
96350 cat >>confdefs.h <<\_ACEOF
96351 #define HAVE_FABSL 1
96352 _ACEOF
96354 cat >>confdefs.h <<\_ACEOF
96355 #define HAVE_FLOORL 1
96356 _ACEOF
96358 cat >>confdefs.h <<\_ACEOF
96359 #define HAVE_FMODL 1
96360 _ACEOF
96362 cat >>confdefs.h <<\_ACEOF
96363 #define HAVE_FREXPL 1
96364 _ACEOF
96366 cat >>confdefs.h <<\_ACEOF
96367 #define HAVE_LDEXPL 1
96368 _ACEOF
96370 cat >>confdefs.h <<\_ACEOF
96371 #define HAVE_LOG10L 1
96372 _ACEOF
96374 cat >>confdefs.h <<\_ACEOF
96375 #define HAVE_LOGL 1
96376 _ACEOF
96378 cat >>confdefs.h <<\_ACEOF
96379 #define HAVE_MODFL 1
96380 _ACEOF
96382 cat >>confdefs.h <<\_ACEOF
96383 #define HAVE_POWL 1
96384 _ACEOF
96386 cat >>confdefs.h <<\_ACEOF
96387 #define HAVE_SINCOSL 1
96388 _ACEOF
96390 cat >>confdefs.h <<\_ACEOF
96391 #define HAVE_SINL 1
96392 _ACEOF
96394 cat >>confdefs.h <<\_ACEOF
96395 #define HAVE_SINHL 1
96396 _ACEOF
96398 cat >>confdefs.h <<\_ACEOF
96399 #define HAVE_SQRTL 1
96400 _ACEOF
96402 cat >>confdefs.h <<\_ACEOF
96403 #define HAVE_TANL 1
96404 _ACEOF
96406 cat >>confdefs.h <<\_ACEOF
96407 #define HAVE_TANHL 1
96408 _ACEOF
96414 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
96417 # Check whether --enable-symvers or --disable-symvers was given.
96418 if test "${enable_symvers+set}" = set; then
96419 enableval="$enable_symvers"
96421 case "$enableval" in
96422 yes|no|gnu) ;;
96423 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
96424 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
96425 { (exit 1); exit 1; }; } ;;
96426 esac
96428 else
96429 enable_symvers=yes
96433 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
96434 # don't know enough about $LD to do tricks...
96436 # FIXME The following test is too strict, in theory.
96437 if test $enable_shared = no ||
96438 test "x$LD" = x ||
96439 test x$glibcxx_gnu_ld_version = x; then
96440 enable_symvers=no
96443 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
96444 if test $enable_symvers != no; then
96445 echo "$as_me:$LINENO: checking for shared libgcc" >&5
96446 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
96447 ac_save_CFLAGS="$CFLAGS"
96448 CFLAGS=' -lgcc_s'
96449 if test x$gcc_no_link = xyes; then
96450 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96451 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96452 { (exit 1); exit 1; }; }
96454 cat >conftest.$ac_ext <<_ACEOF
96455 /* confdefs.h. */
96456 _ACEOF
96457 cat confdefs.h >>conftest.$ac_ext
96458 cat >>conftest.$ac_ext <<_ACEOF
96459 /* end confdefs.h. */
96462 main ()
96464 return 0;
96466 return 0;
96468 _ACEOF
96469 rm -f conftest.$ac_objext conftest$ac_exeext
96470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96471 (eval $ac_link) 2>conftest.er1
96472 ac_status=$?
96473 grep -v '^ *+' conftest.er1 >conftest.err
96474 rm -f conftest.er1
96475 cat conftest.err >&5
96476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96477 (exit $ac_status); } &&
96478 { ac_try='test -z "$ac_c_werror_flag"
96479 || test ! -s conftest.err'
96480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96481 (eval $ac_try) 2>&5
96482 ac_status=$?
96483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96484 (exit $ac_status); }; } &&
96485 { ac_try='test -s conftest$ac_exeext'
96486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96487 (eval $ac_try) 2>&5
96488 ac_status=$?
96489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96490 (exit $ac_status); }; }; then
96491 glibcxx_shared_libgcc=yes
96492 else
96493 echo "$as_me: failed program was:" >&5
96494 sed 's/^/| /' conftest.$ac_ext >&5
96496 glibcxx_shared_libgcc=no
96498 rm -f conftest.err conftest.$ac_objext \
96499 conftest$ac_exeext conftest.$ac_ext
96500 CFLAGS="$ac_save_CFLAGS"
96501 if test $glibcxx_shared_libgcc = no; then
96502 cat > conftest.c <<EOF
96503 int main (void) { return 0; }
96505 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
96506 -shared -shared-libgcc -o conftest.so \
96507 conftest.c -v 2>&1 >/dev/null \
96508 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
96509 rm -f conftest.c conftest.so
96510 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
96511 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
96512 if test x$gcc_no_link = xyes; then
96513 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96515 { (exit 1); exit 1; }; }
96517 cat >conftest.$ac_ext <<_ACEOF
96518 /* confdefs.h. */
96519 _ACEOF
96520 cat confdefs.h >>conftest.$ac_ext
96521 cat >>conftest.$ac_ext <<_ACEOF
96522 /* end confdefs.h. */
96525 main ()
96527 return 0;
96529 return 0;
96531 _ACEOF
96532 rm -f conftest.$ac_objext conftest$ac_exeext
96533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96534 (eval $ac_link) 2>conftest.er1
96535 ac_status=$?
96536 grep -v '^ *+' conftest.er1 >conftest.err
96537 rm -f conftest.er1
96538 cat conftest.err >&5
96539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96540 (exit $ac_status); } &&
96541 { ac_try='test -z "$ac_c_werror_flag"
96542 || test ! -s conftest.err'
96543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96544 (eval $ac_try) 2>&5
96545 ac_status=$?
96546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96547 (exit $ac_status); }; } &&
96548 { ac_try='test -s conftest$ac_exeext'
96549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96550 (eval $ac_try) 2>&5
96551 ac_status=$?
96552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96553 (exit $ac_status); }; }; then
96554 glibcxx_shared_libgcc=yes
96555 else
96556 echo "$as_me: failed program was:" >&5
96557 sed 's/^/| /' conftest.$ac_ext >&5
96560 rm -f conftest.err conftest.$ac_objext \
96561 conftest$ac_exeext conftest.$ac_ext
96562 CFLAGS="$ac_save_CFLAGS"
96565 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
96566 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
96569 # For GNU ld, we need at least this version. The format is described in
96570 # GLIBCXX_CHECK_LINKER_FEATURES above.
96571 glibcxx_min_gnu_ld_version=21400
96572 # XXXXXXXXXXX glibcxx_gnu_ld_version=21390
96574 # Check to see if unspecified "yes" value can win, given results above.
96575 # Change "yes" into either "no" or a style name.
96576 if test $enable_symvers = yes; then
96577 if test $with_gnu_ld = yes &&
96578 test $glibcxx_shared_libgcc = yes;
96579 then
96580 if test $glibcxx_gnu_ld_version -ge $glibcxx_min_gnu_ld_version ; then
96581 enable_symvers=gnu
96582 else
96583 # The right tools, the right setup, but too old. Fallbacks?
96584 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
96585 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
96586 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
96587 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
96588 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
96589 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
96590 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
96591 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
96592 if test $glibcxx_gnu_ld_version -ge 21200 ; then
96593 # Globbing fix is present, proper block support is not.
96594 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
96595 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
96596 enable_symvers=no
96597 else
96598 # 2.11 or older.
96599 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
96600 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
96601 enable_symvers=no
96604 else
96605 # just fail for now
96606 { echo "$as_me:$LINENO: WARNING: === You have requested some kind of symbol versioning, but" >&5
96607 echo "$as_me: WARNING: === You have requested some kind of symbol versioning, but" >&2;}
96608 { echo "$as_me:$LINENO: WARNING: === either you are not using a supported linker, or you are" >&5
96609 echo "$as_me: WARNING: === either you are not using a supported linker, or you are" >&2;}
96610 { echo "$as_me:$LINENO: WARNING: === not building a shared libgcc_s (which is required)." >&5
96611 echo "$as_me: WARNING: === not building a shared libgcc_s (which is required)." >&2;}
96612 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
96613 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
96614 enable_symvers=no
96618 # Everything parsed; figure out what file to use.
96619 case $enable_symvers in
96621 SYMVER_MAP=config/linker-map.dummy
96623 gnu)
96624 SYMVER_MAP=config/linker-map.gnu
96625 cat >>confdefs.h <<\_ACEOF
96626 #define _GLIBCXX_SYMVER 1
96627 _ACEOF
96630 esac
96635 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
96636 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
96639 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
96641 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes; then
96642 # Do checks for resource limit functions.
96644 setrlimit_have_headers=yes
96648 for ac_header in unistd.h sys/time.h sys/resource.h
96650 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
96651 if eval "test \"\${$as_ac_Header+set}\" = set"; then
96652 echo "$as_me:$LINENO: checking for $ac_header" >&5
96653 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
96654 if eval "test \"\${$as_ac_Header+set}\" = set"; then
96655 echo $ECHO_N "(cached) $ECHO_C" >&6
96657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
96658 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
96659 else
96660 # Is the header compilable?
96661 echo "$as_me:$LINENO: checking $ac_header usability" >&5
96662 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
96663 cat >conftest.$ac_ext <<_ACEOF
96664 /* confdefs.h. */
96665 _ACEOF
96666 cat confdefs.h >>conftest.$ac_ext
96667 cat >>conftest.$ac_ext <<_ACEOF
96668 /* end confdefs.h. */
96669 $ac_includes_default
96670 #include <$ac_header>
96671 _ACEOF
96672 rm -f conftest.$ac_objext
96673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96674 (eval $ac_compile) 2>conftest.er1
96675 ac_status=$?
96676 grep -v '^ *+' conftest.er1 >conftest.err
96677 rm -f conftest.er1
96678 cat conftest.err >&5
96679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96680 (exit $ac_status); } &&
96681 { ac_try='test -z "$ac_c_werror_flag"
96682 || test ! -s conftest.err'
96683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96684 (eval $ac_try) 2>&5
96685 ac_status=$?
96686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96687 (exit $ac_status); }; } &&
96688 { ac_try='test -s conftest.$ac_objext'
96689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96690 (eval $ac_try) 2>&5
96691 ac_status=$?
96692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96693 (exit $ac_status); }; }; then
96694 ac_header_compiler=yes
96695 else
96696 echo "$as_me: failed program was:" >&5
96697 sed 's/^/| /' conftest.$ac_ext >&5
96699 ac_header_compiler=no
96701 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96702 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
96703 echo "${ECHO_T}$ac_header_compiler" >&6
96705 # Is the header present?
96706 echo "$as_me:$LINENO: checking $ac_header presence" >&5
96707 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
96708 cat >conftest.$ac_ext <<_ACEOF
96709 /* confdefs.h. */
96710 _ACEOF
96711 cat confdefs.h >>conftest.$ac_ext
96712 cat >>conftest.$ac_ext <<_ACEOF
96713 /* end confdefs.h. */
96714 #include <$ac_header>
96715 _ACEOF
96716 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
96717 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
96718 ac_status=$?
96719 grep -v '^ *+' conftest.er1 >conftest.err
96720 rm -f conftest.er1
96721 cat conftest.err >&5
96722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96723 (exit $ac_status); } >/dev/null; then
96724 if test -s conftest.err; then
96725 ac_cpp_err=$ac_c_preproc_warn_flag
96726 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
96727 else
96728 ac_cpp_err=
96730 else
96731 ac_cpp_err=yes
96733 if test -z "$ac_cpp_err"; then
96734 ac_header_preproc=yes
96735 else
96736 echo "$as_me: failed program was:" >&5
96737 sed 's/^/| /' conftest.$ac_ext >&5
96739 ac_header_preproc=no
96741 rm -f conftest.err conftest.$ac_ext
96742 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
96743 echo "${ECHO_T}$ac_header_preproc" >&6
96745 # So? What about this header?
96746 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
96747 yes:no: )
96748 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
96749 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
96750 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
96751 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
96752 ac_header_preproc=yes
96754 no:yes:* )
96755 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
96756 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
96757 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
96758 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
96759 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
96760 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
96761 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
96762 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
96763 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
96764 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
96765 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
96766 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
96768 cat <<\_ASBOX
96769 ## ----------------------------------------- ##
96770 ## Report this to the package-unused lists. ##
96771 ## ----------------------------------------- ##
96772 _ASBOX
96774 sed "s/^/$as_me: WARNING: /" >&2
96776 esac
96777 echo "$as_me:$LINENO: checking for $ac_header" >&5
96778 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
96779 if eval "test \"\${$as_ac_Header+set}\" = set"; then
96780 echo $ECHO_N "(cached) $ECHO_C" >&6
96781 else
96782 eval "$as_ac_Header=\$ac_header_preproc"
96784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
96785 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
96788 if test `eval echo '${'$as_ac_Header'}'` = yes; then
96789 cat >>confdefs.h <<_ACEOF
96790 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
96791 _ACEOF
96793 else
96794 setrlimit_have_headers=no
96797 done
96799 # If don't have the headers, then we can't run the tests now, and we
96800 # won't be seeing any of these during testsuite compilation.
96801 if test $setrlimit_have_headers = yes; then
96802 # Can't do these in a loop, else the resulting syntax is wrong.
96804 cat >conftest.$ac_ext <<_ACEOF
96805 /* confdefs.h. */
96806 _ACEOF
96807 cat confdefs.h >>conftest.$ac_ext
96808 cat >>conftest.$ac_ext <<_ACEOF
96809 /* end confdefs.h. */
96810 #include <unistd.h>
96811 #include <sys/time.h>
96812 #include <sys/resource.h>
96815 main ()
96817 int f = RLIMIT_DATA ;
96819 return 0;
96821 _ACEOF
96822 rm -f conftest.$ac_objext
96823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96824 (eval $ac_compile) 2>conftest.er1
96825 ac_status=$?
96826 grep -v '^ *+' conftest.er1 >conftest.err
96827 rm -f conftest.er1
96828 cat conftest.err >&5
96829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96830 (exit $ac_status); } &&
96831 { ac_try='test -z "$ac_c_werror_flag"
96832 || test ! -s conftest.err'
96833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96834 (eval $ac_try) 2>&5
96835 ac_status=$?
96836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96837 (exit $ac_status); }; } &&
96838 { ac_try='test -s conftest.$ac_objext'
96839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96840 (eval $ac_try) 2>&5
96841 ac_status=$?
96842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96843 (exit $ac_status); }; }; then
96844 glibcxx_mresult=1
96845 else
96846 echo "$as_me: failed program was:" >&5
96847 sed 's/^/| /' conftest.$ac_ext >&5
96849 glibcxx_mresult=0
96851 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96853 cat >>confdefs.h <<_ACEOF
96854 #define HAVE_LIMIT_DATA $glibcxx_mresult
96855 _ACEOF
96859 cat >conftest.$ac_ext <<_ACEOF
96860 /* confdefs.h. */
96861 _ACEOF
96862 cat confdefs.h >>conftest.$ac_ext
96863 cat >>conftest.$ac_ext <<_ACEOF
96864 /* end confdefs.h. */
96865 #include <unistd.h>
96866 #include <sys/time.h>
96867 #include <sys/resource.h>
96870 main ()
96872 int f = RLIMIT_RSS ;
96874 return 0;
96876 _ACEOF
96877 rm -f conftest.$ac_objext
96878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96879 (eval $ac_compile) 2>conftest.er1
96880 ac_status=$?
96881 grep -v '^ *+' conftest.er1 >conftest.err
96882 rm -f conftest.er1
96883 cat conftest.err >&5
96884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96885 (exit $ac_status); } &&
96886 { ac_try='test -z "$ac_c_werror_flag"
96887 || test ! -s conftest.err'
96888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96889 (eval $ac_try) 2>&5
96890 ac_status=$?
96891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96892 (exit $ac_status); }; } &&
96893 { ac_try='test -s conftest.$ac_objext'
96894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96895 (eval $ac_try) 2>&5
96896 ac_status=$?
96897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96898 (exit $ac_status); }; }; then
96899 glibcxx_mresult=1
96900 else
96901 echo "$as_me: failed program was:" >&5
96902 sed 's/^/| /' conftest.$ac_ext >&5
96904 glibcxx_mresult=0
96906 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96908 cat >>confdefs.h <<_ACEOF
96909 #define HAVE_LIMIT_RSS $glibcxx_mresult
96910 _ACEOF
96914 cat >conftest.$ac_ext <<_ACEOF
96915 /* confdefs.h. */
96916 _ACEOF
96917 cat confdefs.h >>conftest.$ac_ext
96918 cat >>conftest.$ac_ext <<_ACEOF
96919 /* end confdefs.h. */
96920 #include <unistd.h>
96921 #include <sys/time.h>
96922 #include <sys/resource.h>
96925 main ()
96927 int f = RLIMIT_VMEM ;
96929 return 0;
96931 _ACEOF
96932 rm -f conftest.$ac_objext
96933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96934 (eval $ac_compile) 2>conftest.er1
96935 ac_status=$?
96936 grep -v '^ *+' conftest.er1 >conftest.err
96937 rm -f conftest.er1
96938 cat conftest.err >&5
96939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96940 (exit $ac_status); } &&
96941 { ac_try='test -z "$ac_c_werror_flag"
96942 || test ! -s conftest.err'
96943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96944 (eval $ac_try) 2>&5
96945 ac_status=$?
96946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96947 (exit $ac_status); }; } &&
96948 { ac_try='test -s conftest.$ac_objext'
96949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96950 (eval $ac_try) 2>&5
96951 ac_status=$?
96952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96953 (exit $ac_status); }; }; then
96954 glibcxx_mresult=1
96955 else
96956 echo "$as_me: failed program was:" >&5
96957 sed 's/^/| /' conftest.$ac_ext >&5
96959 glibcxx_mresult=0
96961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96963 cat >>confdefs.h <<_ACEOF
96964 #define HAVE_LIMIT_VMEM $glibcxx_mresult
96965 _ACEOF
96969 cat >conftest.$ac_ext <<_ACEOF
96970 /* confdefs.h. */
96971 _ACEOF
96972 cat confdefs.h >>conftest.$ac_ext
96973 cat >>conftest.$ac_ext <<_ACEOF
96974 /* end confdefs.h. */
96975 #include <unistd.h>
96976 #include <sys/time.h>
96977 #include <sys/resource.h>
96980 main ()
96982 int f = RLIMIT_AS ;
96984 return 0;
96986 _ACEOF
96987 rm -f conftest.$ac_objext
96988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96989 (eval $ac_compile) 2>conftest.er1
96990 ac_status=$?
96991 grep -v '^ *+' conftest.er1 >conftest.err
96992 rm -f conftest.er1
96993 cat conftest.err >&5
96994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96995 (exit $ac_status); } &&
96996 { ac_try='test -z "$ac_c_werror_flag"
96997 || test ! -s conftest.err'
96998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96999 (eval $ac_try) 2>&5
97000 ac_status=$?
97001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97002 (exit $ac_status); }; } &&
97003 { ac_try='test -s conftest.$ac_objext'
97004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97005 (eval $ac_try) 2>&5
97006 ac_status=$?
97007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97008 (exit $ac_status); }; }; then
97009 glibcxx_mresult=1
97010 else
97011 echo "$as_me: failed program was:" >&5
97012 sed 's/^/| /' conftest.$ac_ext >&5
97014 glibcxx_mresult=0
97016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97018 cat >>confdefs.h <<_ACEOF
97019 #define HAVE_LIMIT_AS $glibcxx_mresult
97020 _ACEOF
97024 cat >conftest.$ac_ext <<_ACEOF
97025 /* confdefs.h. */
97026 _ACEOF
97027 cat confdefs.h >>conftest.$ac_ext
97028 cat >>conftest.$ac_ext <<_ACEOF
97029 /* end confdefs.h. */
97030 #include <unistd.h>
97031 #include <sys/time.h>
97032 #include <sys/resource.h>
97035 main ()
97037 int f = RLIMIT_FSIZE ;
97039 return 0;
97041 _ACEOF
97042 rm -f conftest.$ac_objext
97043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97044 (eval $ac_compile) 2>conftest.er1
97045 ac_status=$?
97046 grep -v '^ *+' conftest.er1 >conftest.err
97047 rm -f conftest.er1
97048 cat conftest.err >&5
97049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97050 (exit $ac_status); } &&
97051 { ac_try='test -z "$ac_c_werror_flag"
97052 || test ! -s conftest.err'
97053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97054 (eval $ac_try) 2>&5
97055 ac_status=$?
97056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97057 (exit $ac_status); }; } &&
97058 { ac_try='test -s conftest.$ac_objext'
97059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97060 (eval $ac_try) 2>&5
97061 ac_status=$?
97062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97063 (exit $ac_status); }; }; then
97064 glibcxx_mresult=1
97065 else
97066 echo "$as_me: failed program was:" >&5
97067 sed 's/^/| /' conftest.$ac_ext >&5
97069 glibcxx_mresult=0
97071 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97073 cat >>confdefs.h <<_ACEOF
97074 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
97075 _ACEOF
97079 # Check for rlimit, setrlimit.
97080 if test "${ac_setrlimit+set}" = set; then
97081 echo $ECHO_N "(cached) $ECHO_C" >&6
97082 else
97084 cat >conftest.$ac_ext <<_ACEOF
97085 /* confdefs.h. */
97086 _ACEOF
97087 cat confdefs.h >>conftest.$ac_ext
97088 cat >>conftest.$ac_ext <<_ACEOF
97089 /* end confdefs.h. */
97090 #include <unistd.h>
97091 #include <sys/time.h>
97092 #include <sys/resource.h>
97095 main ()
97097 struct rlimit r;
97098 setrlimit(0, &r);
97100 return 0;
97102 _ACEOF
97103 rm -f conftest.$ac_objext
97104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97105 (eval $ac_compile) 2>conftest.er1
97106 ac_status=$?
97107 grep -v '^ *+' conftest.er1 >conftest.err
97108 rm -f conftest.er1
97109 cat conftest.err >&5
97110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97111 (exit $ac_status); } &&
97112 { ac_try='test -z "$ac_c_werror_flag"
97113 || test ! -s conftest.err'
97114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97115 (eval $ac_try) 2>&5
97116 ac_status=$?
97117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97118 (exit $ac_status); }; } &&
97119 { ac_try='test -s conftest.$ac_objext'
97120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97121 (eval $ac_try) 2>&5
97122 ac_status=$?
97123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97124 (exit $ac_status); }; }; then
97125 ac_setrlimit=yes
97126 else
97127 echo "$as_me: failed program was:" >&5
97128 sed 's/^/| /' conftest.$ac_ext >&5
97130 ac_setrlimit=no
97132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97138 echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
97139 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
97140 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
97141 ac_res_limits=yes
97142 cat >>confdefs.h <<\_ACEOF
97143 #define _GLIBCXX_RES_LIMITS 1
97144 _ACEOF
97146 else
97147 ac_res_limits=no
97149 echo "$as_me:$LINENO: result: $ac_res_limits" >&5
97150 echo "${ECHO_T}$ac_res_limits" >&6
97153 # Look for setenv, so that extended locale tests can be performed.
97155 echo "$as_me:$LINENO: checking for setenv declaration" >&5
97156 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
97157 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
97158 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
97159 echo $ECHO_N "(cached) $ECHO_C" >&6
97160 else
97164 ac_ext=cc
97165 ac_cpp='$CXXCPP $CPPFLAGS'
97166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97170 cat >conftest.$ac_ext <<_ACEOF
97171 /* confdefs.h. */
97172 _ACEOF
97173 cat confdefs.h >>conftest.$ac_ext
97174 cat >>conftest.$ac_ext <<_ACEOF
97175 /* end confdefs.h. */
97176 #include <stdlib.h>
97178 main ()
97180 setenv(0, 0, 0);
97182 return 0;
97184 _ACEOF
97185 rm -f conftest.$ac_objext
97186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97187 (eval $ac_compile) 2>conftest.er1
97188 ac_status=$?
97189 grep -v '^ *+' conftest.er1 >conftest.err
97190 rm -f conftest.er1
97191 cat conftest.err >&5
97192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97193 (exit $ac_status); } &&
97194 { ac_try='test -z "$ac_cxx_werror_flag"
97195 || test ! -s conftest.err'
97196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97197 (eval $ac_try) 2>&5
97198 ac_status=$?
97199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97200 (exit $ac_status); }; } &&
97201 { ac_try='test -s conftest.$ac_objext'
97202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97203 (eval $ac_try) 2>&5
97204 ac_status=$?
97205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97206 (exit $ac_status); }; }; then
97207 glibcxx_cv_func_setenv_use=yes
97208 else
97209 echo "$as_me: failed program was:" >&5
97210 sed 's/^/| /' conftest.$ac_ext >&5
97212 glibcxx_cv_func_setenv_use=no
97214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97215 ac_ext=c
97216 ac_cpp='$CPP $CPPFLAGS'
97217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97225 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
97226 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
97227 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
97229 for ac_func in setenv
97231 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97232 echo "$as_me:$LINENO: checking for $ac_func" >&5
97233 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97234 if eval "test \"\${$as_ac_var+set}\" = set"; then
97235 echo $ECHO_N "(cached) $ECHO_C" >&6
97236 else
97237 if test x$gcc_no_link = xyes; then
97238 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97239 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97240 { (exit 1); exit 1; }; }
97242 cat >conftest.$ac_ext <<_ACEOF
97243 /* confdefs.h. */
97244 _ACEOF
97245 cat confdefs.h >>conftest.$ac_ext
97246 cat >>conftest.$ac_ext <<_ACEOF
97247 /* end confdefs.h. */
97248 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97249 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97250 #define $ac_func innocuous_$ac_func
97252 /* System header to define __stub macros and hopefully few prototypes,
97253 which can conflict with char $ac_func (); below.
97254 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97255 <limits.h> exists even on freestanding compilers. */
97257 #ifdef __STDC__
97258 # include <limits.h>
97259 #else
97260 # include <assert.h>
97261 #endif
97263 #undef $ac_func
97265 /* Override any gcc2 internal prototype to avoid an error. */
97266 #ifdef __cplusplus
97267 extern "C"
97269 #endif
97270 /* We use char because int might match the return type of a gcc2
97271 builtin and then its argument prototype would still apply. */
97272 char $ac_func ();
97273 /* The GNU C library defines this for functions which it implements
97274 to always fail with ENOSYS. Some functions are actually named
97275 something starting with __ and the normal name is an alias. */
97276 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97277 choke me
97278 #else
97279 char (*f) () = $ac_func;
97280 #endif
97281 #ifdef __cplusplus
97283 #endif
97286 main ()
97288 return f != $ac_func;
97290 return 0;
97292 _ACEOF
97293 rm -f conftest.$ac_objext conftest$ac_exeext
97294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97295 (eval $ac_link) 2>conftest.er1
97296 ac_status=$?
97297 grep -v '^ *+' conftest.er1 >conftest.err
97298 rm -f conftest.er1
97299 cat conftest.err >&5
97300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97301 (exit $ac_status); } &&
97302 { ac_try='test -z "$ac_c_werror_flag"
97303 || test ! -s conftest.err'
97304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97305 (eval $ac_try) 2>&5
97306 ac_status=$?
97307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97308 (exit $ac_status); }; } &&
97309 { ac_try='test -s conftest$ac_exeext'
97310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97311 (eval $ac_try) 2>&5
97312 ac_status=$?
97313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97314 (exit $ac_status); }; }; then
97315 eval "$as_ac_var=yes"
97316 else
97317 echo "$as_me: failed program was:" >&5
97318 sed 's/^/| /' conftest.$ac_ext >&5
97320 eval "$as_ac_var=no"
97322 rm -f conftest.err conftest.$ac_objext \
97323 conftest$ac_exeext conftest.$ac_ext
97325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97326 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97327 if test `eval echo '${'$as_ac_var'}'` = yes; then
97328 cat >>confdefs.h <<_ACEOF
97329 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97330 _ACEOF
97333 done
97338 if test $enable_symvers = no; then
97339 enable_abi_check=no
97340 else
97341 case "$host" in
97342 *-*-cygwin*)
97343 enable_abi_check=no ;;
97345 enable_abi_check=yes ;;
97346 esac
97348 else
97349 # Only build this as native, since automake does not understand
97350 # CXX_FOR_BUILD.
97351 enable_abi_check=no
97354 # Export file names for ABI checking.
97355 baseline_dir="$glibcxx_srcdir/config/abi/${abi_baseline_pair}\$(MULTISUBDIR)"
97363 # Propagate the target-specific source directories through the build chain.
97364 ATOMICITY_SRCDIR=config/${atomicity_dir}
97365 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
97366 OS_INC_SRCDIR=config/${os_include_dir}
97367 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
97373 # Determine cross-compile flags and AM_CONDITIONALs.
97374 #AC_SUBST(GLIBCXX_IS_NATIVE)
97375 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
97376 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
97377 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH, test $need_libmath = yes)
97380 if test $is_hosted = yes; then
97381 GLIBCXX_HOSTED_TRUE=
97382 GLIBCXX_HOSTED_FALSE='#'
97383 else
97384 GLIBCXX_HOSTED_TRUE='#'
97385 GLIBCXX_HOSTED_FALSE=
97391 if test $enable_libstdcxx_pch = yes; then
97392 GLIBCXX_BUILD_PCH_TRUE=
97393 GLIBCXX_BUILD_PCH_FALSE='#'
97394 else
97395 GLIBCXX_BUILD_PCH_TRUE='#'
97396 GLIBCXX_BUILD_PCH_FALSE=
97402 if test $enable_cheaders = c; then
97403 GLIBCXX_C_HEADERS_C_TRUE=
97404 GLIBCXX_C_HEADERS_C_FALSE='#'
97405 else
97406 GLIBCXX_C_HEADERS_C_TRUE='#'
97407 GLIBCXX_C_HEADERS_C_FALSE=
97413 if test $enable_cheaders = c_std; then
97414 GLIBCXX_C_HEADERS_C_STD_TRUE=
97415 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
97416 else
97417 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
97418 GLIBCXX_C_HEADERS_C_STD_FALSE=
97424 if test $c_compatibility = yes; then
97425 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
97426 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
97427 else
97428 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
97429 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
97435 if test $enable_libstdcxx_debug = yes; then
97436 GLIBCXX_BUILD_DEBUG_TRUE=
97437 GLIBCXX_BUILD_DEBUG_FALSE='#'
97438 else
97439 GLIBCXX_BUILD_DEBUG_TRUE='#'
97440 GLIBCXX_BUILD_DEBUG_FALSE=
97446 if test $enable_symvers != no; then
97447 GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE=
97448 GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE='#'
97449 else
97450 GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE='#'
97451 GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE=
97457 if test $enable_wchar_t = yes; then
97458 GLIBCXX_TEST_WCHAR_T_TRUE=
97459 GLIBCXX_TEST_WCHAR_T_FALSE='#'
97460 else
97461 GLIBCXX_TEST_WCHAR_T_TRUE='#'
97462 GLIBCXX_TEST_WCHAR_T_FALSE=
97468 if test $enable_thread = yes; then
97469 GLIBCXX_TEST_THREAD_TRUE=
97470 GLIBCXX_TEST_THREAD_FALSE='#'
97471 else
97472 GLIBCXX_TEST_THREAD_TRUE='#'
97473 GLIBCXX_TEST_THREAD_FALSE=
97479 if test $enable_abi_check = yes; then
97480 GLIBCXX_TEST_ABI_TRUE=
97481 GLIBCXX_TEST_ABI_FALSE='#'
97482 else
97483 GLIBCXX_TEST_ABI_TRUE='#'
97484 GLIBCXX_TEST_ABI_FALSE=
97490 cat >confcache <<\_ACEOF
97491 # This file is a shell script that caches the results of configure
97492 # tests run on this system so they can be shared between configure
97493 # scripts and configure runs, see configure's option --config-cache.
97494 # It is not useful on other systems. If it contains results you don't
97495 # want to keep, you may remove or edit it.
97497 # config.status only pays attention to the cache file if you give it
97498 # the --recheck option to rerun configure.
97500 # `ac_cv_env_foo' variables (set or unset) will be overridden when
97501 # loading this file, other *unset* `ac_cv_foo' will be assigned the
97502 # following values.
97504 _ACEOF
97506 # The following way of writing the cache mishandles newlines in values,
97507 # but we know of no workaround that is simple, portable, and efficient.
97508 # So, don't put newlines in cache variables' values.
97509 # Ultrix sh set writes to stderr and can't be redirected directly,
97510 # and sets the high bit in the cache file unless we assign to the vars.
97512 (set) 2>&1 |
97513 case `(ac_space=' '; set | grep ac_space) 2>&1` in
97514 *ac_space=\ *)
97515 # `set' does not quote correctly, so add quotes (double-quote
97516 # substitution turns \\\\ into \\, and sed turns \\ into \).
97517 sed -n \
97518 "s/'/'\\\\''/g;
97519 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
97522 # `set' quotes correctly as required by POSIX, so do not add quotes.
97523 sed -n \
97524 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
97526 esac;
97528 sed '
97529 t clear
97530 : clear
97531 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
97532 t end
97533 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
97534 : end' >>confcache
97535 if diff $cache_file confcache >/dev/null 2>&1; then :; else
97536 if test -w $cache_file; then
97537 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
97538 cat confcache >$cache_file
97539 else
97540 echo "not updating unwritable cache $cache_file"
97543 rm -f confcache
97545 if test ${multilib} = yes; then
97546 multilib_arg="--enable-multilib"
97547 else
97548 multilib_arg=
97551 # Export all the install information.
97553 glibcxx_toolexecdir=no
97554 glibcxx_toolexeclibdir=no
97555 glibcxx_prefixdir=$prefix
97557 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
97558 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
97560 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
97561 if test "${with_gxx_include_dir+set}" = set; then
97562 withval="$with_gxx_include_dir"
97563 case "$withval" in
97564 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
97565 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
97566 { (exit 1); exit 1; }; } ;;
97567 no) gxx_include_dir=no ;;
97568 *) gxx_include_dir=$withval ;;
97569 esac
97570 else
97571 gxx_include_dir=no
97573 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
97574 echo "${ECHO_T}$gxx_include_dir" >&6
97576 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
97577 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
97578 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
97579 if test "${enable_version_specific_runtime_libs+set}" = set; then
97580 enableval="$enable_version_specific_runtime_libs"
97581 case "$enableval" in
97582 yes) version_specific_libs=yes ;;
97583 no) version_specific_libs=no ;;
97584 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
97585 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
97586 { (exit 1); exit 1; }; };;
97587 esac
97588 else
97589 version_specific_libs=no
97591 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
97592 echo "${ECHO_T}$version_specific_libs" >&6
97594 # Default case for install directory for include files.
97595 if test $version_specific_libs = no && test $gxx_include_dir = no; then
97596 gxx_include_dir='${prefix}'/include/c++/${gcc_version}
97599 # Version-specific runtime libs processing.
97600 if test $version_specific_libs = yes; then
97601 # Need the gcc compiler version to know where to install libraries
97602 # and header files if --enable-version-specific-runtime-libs option
97603 # is selected. FIXME: these variables are misnamed, there are
97604 # no executables installed in _toolexecdir or _toolexeclibdir.
97605 if test x"$gxx_include_dir" = x"no"; then
97606 gxx_include_dir='${libdir}/gcc/${host_alias}/'$gcc_version/include/c++
97608 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
97609 glibcxx_toolexeclibdir='${toolexecdir}/'$gcc_version'$(MULTISUBDIR)'
97612 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
97613 # Install a library built with a cross compiler in tooldir, not libdir.
97614 if test x"$glibcxx_toolexecdir" = x"no"; then
97615 if test -n "$with_cross_host" &&
97616 test x"$with_cross_host" != x"no"; then
97617 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
97618 glibcxx_toolexeclibdir='${toolexecdir}/lib'
97619 else
97620 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
97621 glibcxx_toolexeclibdir='${libdir}'
97623 multi_os_directory=`$CXX -print-multi-os-directory`
97624 case $multi_os_directory in
97625 .) ;; # Avoid trailing /.
97626 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
97627 esac
97630 echo "$as_me:$LINENO: checking for install location" >&5
97631 echo $ECHO_N "checking for install location... $ECHO_C" >&6
97632 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
97633 echo "${ECHO_T}$gxx_include_dir" >&6
97641 # Export all the include and flag information to Makefiles.
97643 # Used for every C++ compile we perform.
97644 GLIBCXX_INCLUDES="\
97645 -I$glibcxx_builddir/include/$host_alias \
97646 -I$glibcxx_builddir/include \
97647 -I$glibcxx_srcdir/libsupc++"
97649 # For Canadian crosses, pick this up too.
97650 if test $CANADIAN = yes; then
97651 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
97654 # Stuff in the actual top level. Currently only used by libsupc++ to
97655 # get unwind* headers from the gcc dir.
97656 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
97657 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
97659 # Now, export this to all the little Makefiles....
97664 # Optimization flags that are probably a good idea for thrill-seekers. Just
97665 # uncomment the lines below and make, everything else is ready to go...
97666 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
97667 OPTIMIZE_CXXFLAGS=
97670 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
97674 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
97675 grep "enable shared" > /dev/null;
97676 then
97677 LIBSUPCXX_PICFLAGS=-prefer-pic
97678 else
97679 LIBSUPCXX_PICFLAGS=
97683 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
97685 ac_config_files="$ac_config_files scripts/check_survey"
97687 ac_config_files="$ac_config_files scripts/testsuite_flags"
97690 ac_config_commands="$ac_config_commands default"
97693 cat >confcache <<\_ACEOF
97694 # This file is a shell script that caches the results of configure
97695 # tests run on this system so they can be shared between configure
97696 # scripts and configure runs, see configure's option --config-cache.
97697 # It is not useful on other systems. If it contains results you don't
97698 # want to keep, you may remove or edit it.
97700 # config.status only pays attention to the cache file if you give it
97701 # the --recheck option to rerun configure.
97703 # `ac_cv_env_foo' variables (set or unset) will be overridden when
97704 # loading this file, other *unset* `ac_cv_foo' will be assigned the
97705 # following values.
97707 _ACEOF
97709 # The following way of writing the cache mishandles newlines in values,
97710 # but we know of no workaround that is simple, portable, and efficient.
97711 # So, don't put newlines in cache variables' values.
97712 # Ultrix sh set writes to stderr and can't be redirected directly,
97713 # and sets the high bit in the cache file unless we assign to the vars.
97715 (set) 2>&1 |
97716 case `(ac_space=' '; set | grep ac_space) 2>&1` in
97717 *ac_space=\ *)
97718 # `set' does not quote correctly, so add quotes (double-quote
97719 # substitution turns \\\\ into \\, and sed turns \\ into \).
97720 sed -n \
97721 "s/'/'\\\\''/g;
97722 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
97725 # `set' quotes correctly as required by POSIX, so do not add quotes.
97726 sed -n \
97727 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
97729 esac;
97731 sed '
97732 t clear
97733 : clear
97734 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
97735 t end
97736 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
97737 : end' >>confcache
97738 if diff $cache_file confcache >/dev/null 2>&1; then :; else
97739 if test -w $cache_file; then
97740 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
97741 cat confcache >$cache_file
97742 else
97743 echo "not updating unwritable cache $cache_file"
97746 rm -f confcache
97748 test "x$prefix" = xNONE && prefix=$ac_default_prefix
97749 # Let make expand exec_prefix.
97750 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
97752 # VPATH may cause trouble with some makes, so we remove $(srcdir),
97753 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
97754 # trailing colons and then remove the whole line if VPATH becomes empty
97755 # (actually we leave an empty line to preserve line numbers).
97756 if test "x$srcdir" = x.; then
97757 ac_vpsub='/^[ ]*VPATH[ ]*=/{
97758 s/:*\$(srcdir):*/:/;
97759 s/:*\${srcdir}:*/:/;
97760 s/:*@srcdir@:*/:/;
97761 s/^\([^=]*=[ ]*\):*/\1/;
97762 s/:*$//;
97763 s/^[^=]*=[ ]*$//;
97767 DEFS=-DHAVE_CONFIG_H
97769 ac_libobjs=
97770 ac_ltlibobjs=
97771 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
97772 # 1. Remove the extension, and $U if already installed.
97773 ac_i=`echo "$ac_i" |
97774 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
97775 # 2. Add them.
97776 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
97777 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
97778 done
97779 LIBOBJS=$ac_libobjs
97781 LTLIBOBJS=$ac_ltlibobjs
97784 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
97785 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
97786 Usually this means the macro was only invoked conditionally." >&5
97787 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
97788 Usually this means the macro was only invoked conditionally." >&2;}
97789 { (exit 1); exit 1; }; }
97791 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
97792 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
97793 Usually this means the macro was only invoked conditionally." >&5
97794 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
97795 Usually this means the macro was only invoked conditionally." >&2;}
97796 { (exit 1); exit 1; }; }
97798 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
97799 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
97800 Usually this means the macro was only invoked conditionally." >&5
97801 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
97802 Usually this means the macro was only invoked conditionally." >&2;}
97803 { (exit 1); exit 1; }; }
97805 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
97806 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
97807 Usually this means the macro was only invoked conditionally." >&5
97808 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
97809 Usually this means the macro was only invoked conditionally." >&2;}
97810 { (exit 1); exit 1; }; }
97812 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
97813 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
97814 Usually this means the macro was only invoked conditionally." >&5
97815 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
97816 Usually this means the macro was only invoked conditionally." >&2;}
97817 { (exit 1); exit 1; }; }
97819 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
97820 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
97821 Usually this means the macro was only invoked conditionally." >&5
97822 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
97823 Usually this means the macro was only invoked conditionally." >&2;}
97824 { (exit 1); exit 1; }; }
97826 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
97827 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
97828 Usually this means the macro was only invoked conditionally." >&5
97829 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
97830 Usually this means the macro was only invoked conditionally." >&2;}
97831 { (exit 1); exit 1; }; }
97833 if test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE}" && test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE}"; then
97834 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
97835 Usually this means the macro was only invoked conditionally." >&5
97836 echo "$as_me: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
97837 Usually this means the macro was only invoked conditionally." >&2;}
97838 { (exit 1); exit 1; }; }
97840 if test -z "${GLIBCXX_TEST_WCHAR_T_TRUE}" && test -z "${GLIBCXX_TEST_WCHAR_T_FALSE}"; then
97841 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
97842 Usually this means the macro was only invoked conditionally." >&5
97843 echo "$as_me: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
97844 Usually this means the macro was only invoked conditionally." >&2;}
97845 { (exit 1); exit 1; }; }
97847 if test -z "${GLIBCXX_TEST_THREAD_TRUE}" && test -z "${GLIBCXX_TEST_THREAD_FALSE}"; then
97848 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_THREAD\" was never defined.
97849 Usually this means the macro was only invoked conditionally." >&5
97850 echo "$as_me: error: conditional \"GLIBCXX_TEST_THREAD\" was never defined.
97851 Usually this means the macro was only invoked conditionally." >&2;}
97852 { (exit 1); exit 1; }; }
97854 if test -z "${GLIBCXX_TEST_ABI_TRUE}" && test -z "${GLIBCXX_TEST_ABI_FALSE}"; then
97855 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
97856 Usually this means the macro was only invoked conditionally." >&5
97857 echo "$as_me: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
97858 Usually this means the macro was only invoked conditionally." >&2;}
97859 { (exit 1); exit 1; }; }
97862 : ${CONFIG_STATUS=./config.status}
97863 ac_clean_files_save=$ac_clean_files
97864 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
97865 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
97866 echo "$as_me: creating $CONFIG_STATUS" >&6;}
97867 cat >$CONFIG_STATUS <<_ACEOF
97868 #! $SHELL
97869 # Generated by $as_me.
97870 # Run this file to recreate the current configuration.
97871 # Compiler output produced by configure, useful for debugging
97872 # configure, is in config.log if it exists.
97874 debug=false
97875 ac_cs_recheck=false
97876 ac_cs_silent=false
97877 SHELL=\${CONFIG_SHELL-$SHELL}
97878 _ACEOF
97880 cat >>$CONFIG_STATUS <<\_ACEOF
97881 ## --------------------- ##
97882 ## M4sh Initialization. ##
97883 ## --------------------- ##
97885 # Be Bourne compatible
97886 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
97887 emulate sh
97888 NULLCMD=:
97889 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
97890 # is contrary to our usage. Disable this feature.
97891 alias -g '${1+"$@"}'='"$@"'
97892 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
97893 set -o posix
97895 DUALCASE=1; export DUALCASE # for MKS sh
97897 # Support unset when possible.
97898 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
97899 as_unset=unset
97900 else
97901 as_unset=false
97905 # Work around bugs in pre-3.0 UWIN ksh.
97906 $as_unset ENV MAIL MAILPATH
97907 PS1='$ '
97908 PS2='> '
97909 PS4='+ '
97911 # NLS nuisances.
97912 for as_var in \
97913 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
97914 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
97915 LC_TELEPHONE LC_TIME
97917 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
97918 eval $as_var=C; export $as_var
97919 else
97920 $as_unset $as_var
97922 done
97924 # Required to use basename.
97925 if expr a : '\(a\)' >/dev/null 2>&1; then
97926 as_expr=expr
97927 else
97928 as_expr=false
97931 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
97932 as_basename=basename
97933 else
97934 as_basename=false
97938 # Name of the executable.
97939 as_me=`$as_basename "$0" ||
97940 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
97941 X"$0" : 'X\(//\)$' \| \
97942 X"$0" : 'X\(/\)$' \| \
97943 . : '\(.\)' 2>/dev/null ||
97944 echo X/"$0" |
97945 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
97946 /^X\/\(\/\/\)$/{ s//\1/; q; }
97947 /^X\/\(\/\).*/{ s//\1/; q; }
97948 s/.*/./; q'`
97951 # PATH needs CR, and LINENO needs CR and PATH.
97952 # Avoid depending upon Character Ranges.
97953 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
97954 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
97955 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
97956 as_cr_digits='0123456789'
97957 as_cr_alnum=$as_cr_Letters$as_cr_digits
97959 # The user is always right.
97960 if test "${PATH_SEPARATOR+set}" != set; then
97961 echo "#! /bin/sh" >conf$$.sh
97962 echo "exit 0" >>conf$$.sh
97963 chmod +x conf$$.sh
97964 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
97965 PATH_SEPARATOR=';'
97966 else
97967 PATH_SEPARATOR=:
97969 rm -f conf$$.sh
97973 as_lineno_1=$LINENO
97974 as_lineno_2=$LINENO
97975 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
97976 test "x$as_lineno_1" != "x$as_lineno_2" &&
97977 test "x$as_lineno_3" = "x$as_lineno_2" || {
97978 # Find who we are. Look in the path if we contain no path at all
97979 # relative or not.
97980 case $0 in
97981 *[\\/]* ) as_myself=$0 ;;
97982 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97983 for as_dir in $PATH
97985 IFS=$as_save_IFS
97986 test -z "$as_dir" && as_dir=.
97987 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
97988 done
97991 esac
97992 # We did not find ourselves, most probably we were run as `sh COMMAND'
97993 # in which case we are not to be found in the path.
97994 if test "x$as_myself" = x; then
97995 as_myself=$0
97997 if test ! -f "$as_myself"; then
97998 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
97999 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
98000 { (exit 1); exit 1; }; }
98002 case $CONFIG_SHELL in
98004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98005 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
98007 IFS=$as_save_IFS
98008 test -z "$as_dir" && as_dir=.
98009 for as_base in sh bash ksh sh5; do
98010 case $as_dir in
98012 if ("$as_dir/$as_base" -c '
98013 as_lineno_1=$LINENO
98014 as_lineno_2=$LINENO
98015 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
98016 test "x$as_lineno_1" != "x$as_lineno_2" &&
98017 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
98018 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
98019 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
98020 CONFIG_SHELL=$as_dir/$as_base
98021 export CONFIG_SHELL
98022 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
98023 fi;;
98024 esac
98025 done
98026 done
98028 esac
98030 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
98031 # uniformly replaced by the line number. The first 'sed' inserts a
98032 # line-number line before each line; the second 'sed' does the real
98033 # work. The second script uses 'N' to pair each line-number line
98034 # with the numbered line, and appends trailing '-' during
98035 # substitution so that $LINENO is not a special case at line end.
98036 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
98037 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
98038 sed '=' <$as_myself |
98039 sed '
98041 s,$,-,
98042 : loop
98043 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
98044 t loop
98045 s,-$,,
98046 s,^['$as_cr_digits']*\n,,
98047 ' >$as_me.lineno &&
98048 chmod +x $as_me.lineno ||
98049 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
98050 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
98051 { (exit 1); exit 1; }; }
98053 # Don't try to exec as it changes $[0], causing all sort of problems
98054 # (the dirname of $[0] is not the place where we might find the
98055 # original and so on. Autoconf is especially sensible to this).
98056 . ./$as_me.lineno
98057 # Exit status is that of the last command.
98058 exit
98062 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
98063 *c*,-n*) ECHO_N= ECHO_C='
98064 ' ECHO_T=' ' ;;
98065 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
98066 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
98067 esac
98069 if expr a : '\(a\)' >/dev/null 2>&1; then
98070 as_expr=expr
98071 else
98072 as_expr=false
98075 rm -f conf$$ conf$$.exe conf$$.file
98076 echo >conf$$.file
98077 if ln -s conf$$.file conf$$ 2>/dev/null; then
98078 # We could just check for DJGPP; but this test a) works b) is more generic
98079 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
98080 if test -f conf$$.exe; then
98081 # Don't use ln at all; we don't have any links
98082 as_ln_s='cp -p'
98083 else
98084 as_ln_s='ln -s'
98086 elif ln conf$$.file conf$$ 2>/dev/null; then
98087 as_ln_s=ln
98088 else
98089 as_ln_s='cp -p'
98091 rm -f conf$$ conf$$.exe conf$$.file
98093 if mkdir -p . 2>/dev/null; then
98094 as_mkdir_p=:
98095 else
98096 test -d ./-p && rmdir ./-p
98097 as_mkdir_p=false
98100 as_executable_p="test -f"
98102 # Sed expression to map a string onto a valid CPP name.
98103 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
98105 # Sed expression to map a string onto a valid variable name.
98106 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
98109 # IFS
98110 # We need space, tab and new line, in precisely that order.
98111 as_nl='
98113 IFS=" $as_nl"
98115 # CDPATH.
98116 $as_unset CDPATH
98118 exec 6>&1
98120 # Open the log real soon, to keep \$[0] and so on meaningful, and to
98121 # report actual input values of CONFIG_FILES etc. instead of their
98122 # values after options handling. Logging --version etc. is OK.
98123 exec 5>>config.log
98125 echo
98126 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
98127 ## Running $as_me. ##
98128 _ASBOX
98129 } >&5
98130 cat >&5 <<_CSEOF
98132 This file was extended by package-unused $as_me version-unused, which was
98133 generated by GNU Autoconf 2.59. Invocation command line was
98135 CONFIG_FILES = $CONFIG_FILES
98136 CONFIG_HEADERS = $CONFIG_HEADERS
98137 CONFIG_LINKS = $CONFIG_LINKS
98138 CONFIG_COMMANDS = $CONFIG_COMMANDS
98139 $ $0 $@
98141 _CSEOF
98142 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
98143 echo >&5
98144 _ACEOF
98146 # Files that config.status was made for.
98147 if test -n "$ac_config_files"; then
98148 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
98151 if test -n "$ac_config_headers"; then
98152 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
98155 if test -n "$ac_config_links"; then
98156 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
98159 if test -n "$ac_config_commands"; then
98160 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
98163 cat >>$CONFIG_STATUS <<\_ACEOF
98165 ac_cs_usage="\
98166 \`$as_me' instantiates files from templates according to the
98167 current configuration.
98169 Usage: $0 [OPTIONS] [FILE]...
98171 -h, --help print this help, then exit
98172 -V, --version print version number, then exit
98173 -q, --quiet do not print progress messages
98174 -d, --debug don't remove temporary files
98175 --recheck update $as_me by reconfiguring in the same conditions
98176 --file=FILE[:TEMPLATE]
98177 instantiate the configuration file FILE
98178 --header=FILE[:TEMPLATE]
98179 instantiate the configuration header FILE
98181 Configuration files:
98182 $config_files
98184 Configuration headers:
98185 $config_headers
98187 Configuration commands:
98188 $config_commands
98190 Report bugs to <bug-autoconf@gnu.org>."
98191 _ACEOF
98193 cat >>$CONFIG_STATUS <<_ACEOF
98194 ac_cs_version="\\
98195 package-unused config.status version-unused
98196 configured by $0, generated by GNU Autoconf 2.59,
98197 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
98199 Copyright (C) 2003 Free Software Foundation, Inc.
98200 This config.status script is free software; the Free Software Foundation
98201 gives unlimited permission to copy, distribute and modify it."
98202 srcdir=$srcdir
98203 INSTALL="$INSTALL"
98204 _ACEOF
98206 cat >>$CONFIG_STATUS <<\_ACEOF
98207 # If no file are specified by the user, then we need to provide default
98208 # value. By we need to know if files were specified by the user.
98209 ac_need_defaults=:
98210 while test $# != 0
98212 case $1 in
98213 --*=*)
98214 ac_option=`expr "x$1" : 'x\([^=]*\)='`
98215 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
98216 ac_shift=:
98219 ac_option=$1
98220 ac_optarg=$2
98221 ac_shift=shift
98223 *) # This is not an option, so the user has probably given explicit
98224 # arguments.
98225 ac_option=$1
98226 ac_need_defaults=false;;
98227 esac
98229 case $ac_option in
98230 # Handling of the options.
98231 _ACEOF
98232 cat >>$CONFIG_STATUS <<\_ACEOF
98233 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
98234 ac_cs_recheck=: ;;
98235 --version | --vers* | -V )
98236 echo "$ac_cs_version"; exit 0 ;;
98237 --he | --h)
98238 # Conflict between --help and --header
98239 { { echo "$as_me:$LINENO: error: ambiguous option: $1
98240 Try \`$0 --help' for more information." >&5
98241 echo "$as_me: error: ambiguous option: $1
98242 Try \`$0 --help' for more information." >&2;}
98243 { (exit 1); exit 1; }; };;
98244 --help | --hel | -h )
98245 echo "$ac_cs_usage"; exit 0 ;;
98246 --debug | --d* | -d )
98247 debug=: ;;
98248 --file | --fil | --fi | --f )
98249 $ac_shift
98250 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
98251 ac_need_defaults=false;;
98252 --header | --heade | --head | --hea )
98253 $ac_shift
98254 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
98255 ac_need_defaults=false;;
98256 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
98257 | -silent | --silent | --silen | --sile | --sil | --si | --s)
98258 ac_cs_silent=: ;;
98260 # This is an error.
98261 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
98262 Try \`$0 --help' for more information." >&5
98263 echo "$as_me: error: unrecognized option: $1
98264 Try \`$0 --help' for more information." >&2;}
98265 { (exit 1); exit 1; }; } ;;
98267 *) ac_config_targets="$ac_config_targets $1" ;;
98269 esac
98270 shift
98271 done
98273 ac_configure_extra_args=
98275 if $ac_cs_silent; then
98276 exec 6>/dev/null
98277 ac_configure_extra_args="$ac_configure_extra_args --silent"
98280 _ACEOF
98281 cat >>$CONFIG_STATUS <<_ACEOF
98282 if \$ac_cs_recheck; then
98283 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
98284 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
98287 _ACEOF
98289 cat >>$CONFIG_STATUS <<_ACEOF
98291 # INIT-COMMANDS section.
98295 srcdir="$srcdir"
98296 host="$host"
98297 target="$target"
98298 with_multisubdir="$with_multisubdir"
98299 with_multisrctop="$with_multisrctop"
98300 with_target_subdir="$with_target_subdir"
98301 ac_configure_args="${multilib_arg} ${ac_configure_args}"
98302 multi_basedir="$multi_basedir"
98303 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
98304 CC="$CC"
98306 # Variables needed in config.status (file generation) which aren't already
98307 # passed by autoconf.
98308 SUBDIRS="$SUBDIRS"
98311 _ACEOF
98315 cat >>$CONFIG_STATUS <<\_ACEOF
98316 for ac_config_target in $ac_config_targets
98318 case "$ac_config_target" in
98319 # Handling of arguments.
98320 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
98321 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
98322 "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
98323 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
98324 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
98325 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
98326 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
98327 "scripts/check_survey" ) CONFIG_FILES="$CONFIG_FILES scripts/check_survey" ;;
98328 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
98329 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
98330 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
98331 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
98332 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
98333 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
98334 { (exit 1); exit 1; }; };;
98335 esac
98336 done
98338 # If the user did not use the arguments to specify the items to instantiate,
98339 # then the envvar interface is used. Set only those that are not.
98340 # We use the long form for the default assignment because of an extremely
98341 # bizarre bug on SunOS 4.1.3.
98342 if $ac_need_defaults; then
98343 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
98344 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
98345 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
98348 # Have a temporary directory for convenience. Make it in the build tree
98349 # simply because there is no reason to put it here, and in addition,
98350 # creating and moving files from /tmp can sometimes cause problems.
98351 # Create a temporary directory, and hook for its removal unless debugging.
98352 $debug ||
98354 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
98355 trap '{ (exit 1); exit 1; }' 1 2 13 15
98358 # Create a (secure) tmp directory for tmp files.
98361 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
98362 test -n "$tmp" && test -d "$tmp"
98363 } ||
98365 tmp=./confstat$$-$RANDOM
98366 (umask 077 && mkdir $tmp)
98367 } ||
98369 echo "$me: cannot create a temporary directory in ." >&2
98370 { (exit 1); exit 1; }
98373 _ACEOF
98375 cat >>$CONFIG_STATUS <<_ACEOF
98378 # CONFIG_FILES section.
98381 # No need to generate the scripts if there are no CONFIG_FILES.
98382 # This happens for instance when ./config.status config.h
98383 if test -n "\$CONFIG_FILES"; then
98384 # Protect against being on the right side of a sed subst in config.status.
98385 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
98386 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
98387 s,@SHELL@,$SHELL,;t t
98388 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
98389 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
98390 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
98391 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
98392 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
98393 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
98394 s,@exec_prefix@,$exec_prefix,;t t
98395 s,@prefix@,$prefix,;t t
98396 s,@program_transform_name@,$program_transform_name,;t t
98397 s,@bindir@,$bindir,;t t
98398 s,@sbindir@,$sbindir,;t t
98399 s,@libexecdir@,$libexecdir,;t t
98400 s,@datadir@,$datadir,;t t
98401 s,@sysconfdir@,$sysconfdir,;t t
98402 s,@sharedstatedir@,$sharedstatedir,;t t
98403 s,@localstatedir@,$localstatedir,;t t
98404 s,@libdir@,$libdir,;t t
98405 s,@includedir@,$includedir,;t t
98406 s,@oldincludedir@,$oldincludedir,;t t
98407 s,@infodir@,$infodir,;t t
98408 s,@mandir@,$mandir,;t t
98409 s,@build_alias@,$build_alias,;t t
98410 s,@host_alias@,$host_alias,;t t
98411 s,@target_alias@,$target_alias,;t t
98412 s,@DEFS@,$DEFS,;t t
98413 s,@ECHO_C@,$ECHO_C,;t t
98414 s,@ECHO_N@,$ECHO_N,;t t
98415 s,@ECHO_T@,$ECHO_T,;t t
98416 s,@LIBS@,$LIBS,;t t
98417 s,@libtool_VERSION@,$libtool_VERSION,;t t
98418 s,@multi_basedir@,$multi_basedir,;t t
98419 s,@build@,$build,;t t
98420 s,@build_cpu@,$build_cpu,;t t
98421 s,@build_vendor@,$build_vendor,;t t
98422 s,@build_os@,$build_os,;t t
98423 s,@host@,$host,;t t
98424 s,@host_cpu@,$host_cpu,;t t
98425 s,@host_vendor@,$host_vendor,;t t
98426 s,@host_os@,$host_os,;t t
98427 s,@target@,$target,;t t
98428 s,@target_cpu@,$target_cpu,;t t
98429 s,@target_vendor@,$target_vendor,;t t
98430 s,@target_os@,$target_os,;t t
98431 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
98432 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
98433 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
98434 s,@CYGPATH_W@,$CYGPATH_W,;t t
98435 s,@PACKAGE@,$PACKAGE,;t t
98436 s,@VERSION@,$VERSION,;t t
98437 s,@ACLOCAL@,$ACLOCAL,;t t
98438 s,@AUTOCONF@,$AUTOCONF,;t t
98439 s,@AUTOMAKE@,$AUTOMAKE,;t t
98440 s,@AUTOHEADER@,$AUTOHEADER,;t t
98441 s,@MAKEINFO@,$MAKEINFO,;t t
98442 s,@install_sh@,$install_sh,;t t
98443 s,@STRIP@,$STRIP,;t t
98444 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
98445 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
98446 s,@mkdir_p@,$mkdir_p,;t t
98447 s,@AWK@,$AWK,;t t
98448 s,@SET_MAKE@,$SET_MAKE,;t t
98449 s,@am__leading_dot@,$am__leading_dot,;t t
98450 s,@AMTAR@,$AMTAR,;t t
98451 s,@am__tar@,$am__tar,;t t
98452 s,@am__untar@,$am__untar,;t t
98453 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
98454 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
98455 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
98456 s,@CC@,$CC,;t t
98457 s,@ac_ct_CC@,$ac_ct_CC,;t t
98458 s,@EXEEXT@,$EXEEXT,;t t
98459 s,@OBJEXT@,$OBJEXT,;t t
98460 s,@CXX@,$CXX,;t t
98461 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
98462 s,@CFLAGS@,$CFLAGS,;t t
98463 s,@CXXFLAGS@,$CXXFLAGS,;t t
98464 s,@LN_S@,$LN_S,;t t
98465 s,@AS@,$AS,;t t
98466 s,@ac_ct_AS@,$ac_ct_AS,;t t
98467 s,@AR@,$AR,;t t
98468 s,@ac_ct_AR@,$ac_ct_AR,;t t
98469 s,@RANLIB@,$RANLIB,;t t
98470 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
98471 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
98472 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
98473 s,@MAINT@,$MAINT,;t t
98474 s,@LIBTOOL@,$LIBTOOL,;t t
98475 s,@CXXCPP@,$CXXCPP,;t t
98476 s,@CPPFLAGS@,$CPPFLAGS,;t t
98477 s,@enable_shared@,$enable_shared,;t t
98478 s,@enable_static@,$enable_static,;t t
98479 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
98480 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
98481 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
98482 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
98483 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
98484 s,@CSTDIO_H@,$CSTDIO_H,;t t
98485 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
98486 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
98487 s,@CPP@,$CPP,;t t
98488 s,@EGREP@,$EGREP,;t t
98489 s,@check_msgfmt@,$check_msgfmt,;t t
98490 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
98491 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
98492 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
98493 s,@USE_NLS@,$USE_NLS,;t t
98494 s,@CLOCALE_H@,$CLOCALE_H,;t t
98495 s,@CCODECVT_H@,$CCODECVT_H,;t t
98496 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
98497 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
98498 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
98499 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
98500 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
98501 s,@CMONEY_CC@,$CMONEY_CC,;t t
98502 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
98503 s,@CTIME_H@,$CTIME_H,;t t
98504 s,@CTIME_CC@,$CTIME_CC,;t t
98505 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
98506 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
98507 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
98508 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
98509 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
98510 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
98511 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
98512 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
98513 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
98514 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
98515 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
98516 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
98517 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
98518 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
98519 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
98520 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
98521 s,@WERROR@,$WERROR,;t t
98522 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
98523 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
98524 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
98525 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
98526 s,@LIBICONV@,$LIBICONV,;t t
98527 s,@SYMVER_MAP@,$SYMVER_MAP,;t t
98528 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
98529 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE,;t t
98530 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE,;t t
98531 s,@baseline_dir@,$baseline_dir,;t t
98532 s,@GLIBCXX_TEST_WCHAR_T_TRUE@,$GLIBCXX_TEST_WCHAR_T_TRUE,;t t
98533 s,@GLIBCXX_TEST_WCHAR_T_FALSE@,$GLIBCXX_TEST_WCHAR_T_FALSE,;t t
98534 s,@GLIBCXX_TEST_THREAD_TRUE@,$GLIBCXX_TEST_THREAD_TRUE,;t t
98535 s,@GLIBCXX_TEST_THREAD_FALSE@,$GLIBCXX_TEST_THREAD_FALSE,;t t
98536 s,@GLIBCXX_TEST_ABI_TRUE@,$GLIBCXX_TEST_ABI_TRUE,;t t
98537 s,@GLIBCXX_TEST_ABI_FALSE@,$GLIBCXX_TEST_ABI_FALSE,;t t
98538 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
98539 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
98540 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
98541 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
98542 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
98543 s,@gxx_include_dir@,$gxx_include_dir,;t t
98544 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
98545 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
98546 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
98547 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
98548 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
98549 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
98550 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
98551 s,@LIBOBJS@,$LIBOBJS,;t t
98552 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
98553 CEOF
98555 _ACEOF
98557 cat >>$CONFIG_STATUS <<\_ACEOF
98558 # Split the substitutions into bite-sized pieces for seds with
98559 # small command number limits, like on Digital OSF/1 and HP-UX.
98560 ac_max_sed_lines=48
98561 ac_sed_frag=1 # Number of current file.
98562 ac_beg=1 # First line for current file.
98563 ac_end=$ac_max_sed_lines # Line after last line for current file.
98564 ac_more_lines=:
98565 ac_sed_cmds=
98566 while $ac_more_lines; do
98567 if test $ac_beg -gt 1; then
98568 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
98569 else
98570 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
98572 if test ! -s $tmp/subs.frag; then
98573 ac_more_lines=false
98574 else
98575 # The purpose of the label and of the branching condition is to
98576 # speed up the sed processing (if there are no `@' at all, there
98577 # is no need to browse any of the substitutions).
98578 # These are the two extra sed commands mentioned above.
98579 (echo ':t
98580 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
98581 if test -z "$ac_sed_cmds"; then
98582 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
98583 else
98584 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
98586 ac_sed_frag=`expr $ac_sed_frag + 1`
98587 ac_beg=$ac_end
98588 ac_end=`expr $ac_end + $ac_max_sed_lines`
98590 done
98591 if test -z "$ac_sed_cmds"; then
98592 ac_sed_cmds=cat
98594 fi # test -n "$CONFIG_FILES"
98596 _ACEOF
98597 cat >>$CONFIG_STATUS <<\_ACEOF
98598 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
98599 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
98600 case $ac_file in
98601 - | *:- | *:-:* ) # input from stdin
98602 cat >$tmp/stdin
98603 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
98604 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
98605 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
98606 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
98607 * ) ac_file_in=$ac_file.in ;;
98608 esac
98610 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
98611 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
98612 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
98613 X"$ac_file" : 'X\(//\)[^/]' \| \
98614 X"$ac_file" : 'X\(//\)$' \| \
98615 X"$ac_file" : 'X\(/\)' \| \
98616 . : '\(.\)' 2>/dev/null ||
98617 echo X"$ac_file" |
98618 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
98619 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
98620 /^X\(\/\/\)$/{ s//\1/; q; }
98621 /^X\(\/\).*/{ s//\1/; q; }
98622 s/.*/./; q'`
98623 { if $as_mkdir_p; then
98624 mkdir -p "$ac_dir"
98625 else
98626 as_dir="$ac_dir"
98627 as_dirs=
98628 while test ! -d "$as_dir"; do
98629 as_dirs="$as_dir $as_dirs"
98630 as_dir=`(dirname "$as_dir") 2>/dev/null ||
98631 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
98632 X"$as_dir" : 'X\(//\)[^/]' \| \
98633 X"$as_dir" : 'X\(//\)$' \| \
98634 X"$as_dir" : 'X\(/\)' \| \
98635 . : '\(.\)' 2>/dev/null ||
98636 echo X"$as_dir" |
98637 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
98638 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
98639 /^X\(\/\/\)$/{ s//\1/; q; }
98640 /^X\(\/\).*/{ s//\1/; q; }
98641 s/.*/./; q'`
98642 done
98643 test ! -n "$as_dirs" || mkdir $as_dirs
98644 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
98645 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
98646 { (exit 1); exit 1; }; }; }
98648 ac_builddir=.
98650 if test "$ac_dir" != .; then
98651 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
98652 # A "../" for each directory in $ac_dir_suffix.
98653 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
98654 else
98655 ac_dir_suffix= ac_top_builddir=
98658 case $srcdir in
98659 .) # No --srcdir option. We are building in place.
98660 ac_srcdir=.
98661 if test -z "$ac_top_builddir"; then
98662 ac_top_srcdir=.
98663 else
98664 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
98665 fi ;;
98666 [\\/]* | ?:[\\/]* ) # Absolute path.
98667 ac_srcdir=$srcdir$ac_dir_suffix;
98668 ac_top_srcdir=$srcdir ;;
98669 *) # Relative path.
98670 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
98671 ac_top_srcdir=$ac_top_builddir$srcdir ;;
98672 esac
98674 # Do not use `cd foo && pwd` to compute absolute paths, because
98675 # the directories may not exist.
98676 case `pwd` in
98677 .) ac_abs_builddir="$ac_dir";;
98679 case "$ac_dir" in
98680 .) ac_abs_builddir=`pwd`;;
98681 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
98682 *) ac_abs_builddir=`pwd`/"$ac_dir";;
98683 esac;;
98684 esac
98685 case $ac_abs_builddir in
98686 .) ac_abs_top_builddir=${ac_top_builddir}.;;
98688 case ${ac_top_builddir}. in
98689 .) ac_abs_top_builddir=$ac_abs_builddir;;
98690 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
98691 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
98692 esac;;
98693 esac
98694 case $ac_abs_builddir in
98695 .) ac_abs_srcdir=$ac_srcdir;;
98697 case $ac_srcdir in
98698 .) ac_abs_srcdir=$ac_abs_builddir;;
98699 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
98700 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
98701 esac;;
98702 esac
98703 case $ac_abs_builddir in
98704 .) ac_abs_top_srcdir=$ac_top_srcdir;;
98706 case $ac_top_srcdir in
98707 .) ac_abs_top_srcdir=$ac_abs_builddir;;
98708 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
98709 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
98710 esac;;
98711 esac
98714 case $INSTALL in
98715 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
98716 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
98717 esac
98719 if test x"$ac_file" != x-; then
98720 { echo "$as_me:$LINENO: creating $ac_file" >&5
98721 echo "$as_me: creating $ac_file" >&6;}
98722 rm -f "$ac_file"
98724 # Let's still pretend it is `configure' which instantiates (i.e., don't
98725 # use $as_me), people would be surprised to read:
98726 # /* config.h. Generated by config.status. */
98727 if test x"$ac_file" = x-; then
98728 configure_input=
98729 else
98730 configure_input="$ac_file. "
98732 configure_input=$configure_input"Generated from `echo $ac_file_in |
98733 sed 's,.*/,,'` by configure."
98735 # First look for the input files in the build tree, otherwise in the
98736 # src tree.
98737 ac_file_inputs=`IFS=:
98738 for f in $ac_file_in; do
98739 case $f in
98740 -) echo $tmp/stdin ;;
98741 [\\/$]*)
98742 # Absolute (can't be DOS-style, as IFS=:)
98743 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
98744 echo "$as_me: error: cannot find input file: $f" >&2;}
98745 { (exit 1); exit 1; }; }
98746 echo "$f";;
98747 *) # Relative
98748 if test -f "$f"; then
98749 # Build tree
98750 echo "$f"
98751 elif test -f "$srcdir/$f"; then
98752 # Source tree
98753 echo "$srcdir/$f"
98754 else
98755 # /dev/null tree
98756 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
98757 echo "$as_me: error: cannot find input file: $f" >&2;}
98758 { (exit 1); exit 1; }; }
98759 fi;;
98760 esac
98761 done` || { (exit 1); exit 1; }
98762 _ACEOF
98763 cat >>$CONFIG_STATUS <<_ACEOF
98764 sed "$ac_vpsub
98765 $extrasub
98766 _ACEOF
98767 cat >>$CONFIG_STATUS <<\_ACEOF
98769 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
98770 s,@configure_input@,$configure_input,;t t
98771 s,@srcdir@,$ac_srcdir,;t t
98772 s,@abs_srcdir@,$ac_abs_srcdir,;t t
98773 s,@top_srcdir@,$ac_top_srcdir,;t t
98774 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
98775 s,@builddir@,$ac_builddir,;t t
98776 s,@abs_builddir@,$ac_abs_builddir,;t t
98777 s,@top_builddir@,$ac_top_builddir,;t t
98778 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
98779 s,@INSTALL@,$ac_INSTALL,;t t
98780 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
98781 rm -f $tmp/stdin
98782 if test x"$ac_file" != x-; then
98783 mv $tmp/out $ac_file
98784 else
98785 cat $tmp/out
98786 rm -f $tmp/out
98789 # Run the commands associated with the file.
98790 case $ac_file in
98791 scripts/check_survey ) chmod +x scripts/check_survey ;;
98792 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
98793 esac
98794 done
98795 _ACEOF
98796 cat >>$CONFIG_STATUS <<\_ACEOF
98799 # CONFIG_HEADER section.
98802 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
98803 # NAME is the cpp macro being defined and VALUE is the value it is being given.
98805 # ac_d sets the value in "#define NAME VALUE" lines.
98806 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
98807 ac_dB='[ ].*$,\1#\2'
98808 ac_dC=' '
98809 ac_dD=',;t'
98810 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
98811 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
98812 ac_uB='$,\1#\2define\3'
98813 ac_uC=' '
98814 ac_uD=',;t'
98816 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
98817 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
98818 case $ac_file in
98819 - | *:- | *:-:* ) # input from stdin
98820 cat >$tmp/stdin
98821 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
98822 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
98823 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
98824 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
98825 * ) ac_file_in=$ac_file.in ;;
98826 esac
98828 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
98829 echo "$as_me: creating $ac_file" >&6;}
98831 # First look for the input files in the build tree, otherwise in the
98832 # src tree.
98833 ac_file_inputs=`IFS=:
98834 for f in $ac_file_in; do
98835 case $f in
98836 -) echo $tmp/stdin ;;
98837 [\\/$]*)
98838 # Absolute (can't be DOS-style, as IFS=:)
98839 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
98840 echo "$as_me: error: cannot find input file: $f" >&2;}
98841 { (exit 1); exit 1; }; }
98842 # Do quote $f, to prevent DOS paths from being IFS'd.
98843 echo "$f";;
98844 *) # Relative
98845 if test -f "$f"; then
98846 # Build tree
98847 echo "$f"
98848 elif test -f "$srcdir/$f"; then
98849 # Source tree
98850 echo "$srcdir/$f"
98851 else
98852 # /dev/null tree
98853 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
98854 echo "$as_me: error: cannot find input file: $f" >&2;}
98855 { (exit 1); exit 1; }; }
98856 fi;;
98857 esac
98858 done` || { (exit 1); exit 1; }
98859 # Remove the trailing spaces.
98860 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
98862 _ACEOF
98864 # Transform confdefs.h into two sed scripts, `conftest.defines' and
98865 # `conftest.undefs', that substitutes the proper values into
98866 # config.h.in to produce config.h. The first handles `#define'
98867 # templates, and the second `#undef' templates.
98868 # And first: Protect against being on the right side of a sed subst in
98869 # config.status. Protect against being in an unquoted here document
98870 # in config.status.
98871 rm -f conftest.defines conftest.undefs
98872 # Using a here document instead of a string reduces the quoting nightmare.
98873 # Putting comments in sed scripts is not portable.
98875 # `end' is used to avoid that the second main sed command (meant for
98876 # 0-ary CPP macros) applies to n-ary macro definitions.
98877 # See the Autoconf documentation for `clear'.
98878 cat >confdef2sed.sed <<\_ACEOF
98879 s/[\\&,]/\\&/g
98880 s,[\\$`],\\&,g
98881 t clear
98882 : clear
98883 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
98884 t end
98885 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
98886 : end
98887 _ACEOF
98888 # If some macros were called several times there might be several times
98889 # the same #defines, which is useless. Nevertheless, we may not want to
98890 # sort them, since we want the *last* AC-DEFINE to be honored.
98891 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
98892 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
98893 rm -f confdef2sed.sed
98895 # This sed command replaces #undef with comments. This is necessary, for
98896 # example, in the case of _POSIX_SOURCE, which is predefined and required
98897 # on some systems where configure will not decide to define it.
98898 cat >>conftest.undefs <<\_ACEOF
98899 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
98900 _ACEOF
98902 # Break up conftest.defines because some shells have a limit on the size
98903 # of here documents, and old seds have small limits too (100 cmds).
98904 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
98905 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
98906 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
98907 echo ' :' >>$CONFIG_STATUS
98908 rm -f conftest.tail
98909 while grep . conftest.defines >/dev/null
98911 # Write a limited-size here document to $tmp/defines.sed.
98912 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
98913 # Speed up: don't consider the non `#define' lines.
98914 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
98915 # Work around the forget-to-reset-the-flag bug.
98916 echo 't clr' >>$CONFIG_STATUS
98917 echo ': clr' >>$CONFIG_STATUS
98918 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
98919 echo 'CEOF
98920 sed -f $tmp/defines.sed $tmp/in >$tmp/out
98921 rm -f $tmp/in
98922 mv $tmp/out $tmp/in
98923 ' >>$CONFIG_STATUS
98924 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
98925 rm -f conftest.defines
98926 mv conftest.tail conftest.defines
98927 done
98928 rm -f conftest.defines
98929 echo ' fi # grep' >>$CONFIG_STATUS
98930 echo >>$CONFIG_STATUS
98932 # Break up conftest.undefs because some shells have a limit on the size
98933 # of here documents, and old seds have small limits too (100 cmds).
98934 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
98935 rm -f conftest.tail
98936 while grep . conftest.undefs >/dev/null
98938 # Write a limited-size here document to $tmp/undefs.sed.
98939 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
98940 # Speed up: don't consider the non `#undef'
98941 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
98942 # Work around the forget-to-reset-the-flag bug.
98943 echo 't clr' >>$CONFIG_STATUS
98944 echo ': clr' >>$CONFIG_STATUS
98945 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
98946 echo 'CEOF
98947 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
98948 rm -f $tmp/in
98949 mv $tmp/out $tmp/in
98950 ' >>$CONFIG_STATUS
98951 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
98952 rm -f conftest.undefs
98953 mv conftest.tail conftest.undefs
98954 done
98955 rm -f conftest.undefs
98957 cat >>$CONFIG_STATUS <<\_ACEOF
98958 # Let's still pretend it is `configure' which instantiates (i.e., don't
98959 # use $as_me), people would be surprised to read:
98960 # /* config.h. Generated by config.status. */
98961 if test x"$ac_file" = x-; then
98962 echo "/* Generated by configure. */" >$tmp/config.h
98963 else
98964 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
98966 cat $tmp/in >>$tmp/config.h
98967 rm -f $tmp/in
98968 if test x"$ac_file" != x-; then
98969 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
98970 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
98971 echo "$as_me: $ac_file is unchanged" >&6;}
98972 else
98973 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
98974 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
98975 X"$ac_file" : 'X\(//\)[^/]' \| \
98976 X"$ac_file" : 'X\(//\)$' \| \
98977 X"$ac_file" : 'X\(/\)' \| \
98978 . : '\(.\)' 2>/dev/null ||
98979 echo X"$ac_file" |
98980 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
98981 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
98982 /^X\(\/\/\)$/{ s//\1/; q; }
98983 /^X\(\/\).*/{ s//\1/; q; }
98984 s/.*/./; q'`
98985 { if $as_mkdir_p; then
98986 mkdir -p "$ac_dir"
98987 else
98988 as_dir="$ac_dir"
98989 as_dirs=
98990 while test ! -d "$as_dir"; do
98991 as_dirs="$as_dir $as_dirs"
98992 as_dir=`(dirname "$as_dir") 2>/dev/null ||
98993 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
98994 X"$as_dir" : 'X\(//\)[^/]' \| \
98995 X"$as_dir" : 'X\(//\)$' \| \
98996 X"$as_dir" : 'X\(/\)' \| \
98997 . : '\(.\)' 2>/dev/null ||
98998 echo X"$as_dir" |
98999 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
99000 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
99001 /^X\(\/\/\)$/{ s//\1/; q; }
99002 /^X\(\/\).*/{ s//\1/; q; }
99003 s/.*/./; q'`
99004 done
99005 test ! -n "$as_dirs" || mkdir $as_dirs
99006 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
99007 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
99008 { (exit 1); exit 1; }; }; }
99010 rm -f $ac_file
99011 mv $tmp/config.h $ac_file
99013 else
99014 cat $tmp/config.h
99015 rm -f $tmp/config.h
99017 # Compute $ac_file's index in $config_headers.
99018 _am_stamp_count=1
99019 for _am_header in $config_headers :; do
99020 case $_am_header in
99021 $ac_file | $ac_file:* )
99022 break ;;
99024 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
99025 esac
99026 done
99027 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
99028 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
99029 X$ac_file : 'X\(//\)[^/]' \| \
99030 X$ac_file : 'X\(//\)$' \| \
99031 X$ac_file : 'X\(/\)' \| \
99032 . : '\(.\)' 2>/dev/null ||
99033 echo X$ac_file |
99034 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
99035 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
99036 /^X\(\/\/\)$/{ s//\1/; q; }
99037 /^X\(\/\).*/{ s//\1/; q; }
99038 s/.*/./; q'`/stamp-h$_am_stamp_count
99039 done
99040 _ACEOF
99041 cat >>$CONFIG_STATUS <<\_ACEOF
99044 # CONFIG_COMMANDS section.
99046 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
99047 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
99048 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
99049 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
99050 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
99051 X"$ac_dest" : 'X\(//\)[^/]' \| \
99052 X"$ac_dest" : 'X\(//\)$' \| \
99053 X"$ac_dest" : 'X\(/\)' \| \
99054 . : '\(.\)' 2>/dev/null ||
99055 echo X"$ac_dest" |
99056 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
99057 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
99058 /^X\(\/\/\)$/{ s//\1/; q; }
99059 /^X\(\/\).*/{ s//\1/; q; }
99060 s/.*/./; q'`
99061 { if $as_mkdir_p; then
99062 mkdir -p "$ac_dir"
99063 else
99064 as_dir="$ac_dir"
99065 as_dirs=
99066 while test ! -d "$as_dir"; do
99067 as_dirs="$as_dir $as_dirs"
99068 as_dir=`(dirname "$as_dir") 2>/dev/null ||
99069 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
99070 X"$as_dir" : 'X\(//\)[^/]' \| \
99071 X"$as_dir" : 'X\(//\)$' \| \
99072 X"$as_dir" : 'X\(/\)' \| \
99073 . : '\(.\)' 2>/dev/null ||
99074 echo X"$as_dir" |
99075 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
99076 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
99077 /^X\(\/\/\)$/{ s//\1/; q; }
99078 /^X\(\/\).*/{ s//\1/; q; }
99079 s/.*/./; q'`
99080 done
99081 test ! -n "$as_dirs" || mkdir $as_dirs
99082 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
99083 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
99084 { (exit 1); exit 1; }; }; }
99086 ac_builddir=.
99088 if test "$ac_dir" != .; then
99089 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
99090 # A "../" for each directory in $ac_dir_suffix.
99091 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
99092 else
99093 ac_dir_suffix= ac_top_builddir=
99096 case $srcdir in
99097 .) # No --srcdir option. We are building in place.
99098 ac_srcdir=.
99099 if test -z "$ac_top_builddir"; then
99100 ac_top_srcdir=.
99101 else
99102 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
99103 fi ;;
99104 [\\/]* | ?:[\\/]* ) # Absolute path.
99105 ac_srcdir=$srcdir$ac_dir_suffix;
99106 ac_top_srcdir=$srcdir ;;
99107 *) # Relative path.
99108 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
99109 ac_top_srcdir=$ac_top_builddir$srcdir ;;
99110 esac
99112 # Do not use `cd foo && pwd` to compute absolute paths, because
99113 # the directories may not exist.
99114 case `pwd` in
99115 .) ac_abs_builddir="$ac_dir";;
99117 case "$ac_dir" in
99118 .) ac_abs_builddir=`pwd`;;
99119 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
99120 *) ac_abs_builddir=`pwd`/"$ac_dir";;
99121 esac;;
99122 esac
99123 case $ac_abs_builddir in
99124 .) ac_abs_top_builddir=${ac_top_builddir}.;;
99126 case ${ac_top_builddir}. in
99127 .) ac_abs_top_builddir=$ac_abs_builddir;;
99128 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
99129 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
99130 esac;;
99131 esac
99132 case $ac_abs_builddir in
99133 .) ac_abs_srcdir=$ac_srcdir;;
99135 case $ac_srcdir in
99136 .) ac_abs_srcdir=$ac_abs_builddir;;
99137 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
99138 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
99139 esac;;
99140 esac
99141 case $ac_abs_builddir in
99142 .) ac_abs_top_srcdir=$ac_top_srcdir;;
99144 case $ac_top_srcdir in
99145 .) ac_abs_top_srcdir=$ac_abs_builddir;;
99146 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
99147 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
99148 esac;;
99149 esac
99152 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
99153 echo "$as_me: executing $ac_dest commands" >&6;}
99154 case $ac_dest in
99155 default-1 )
99156 # Only add multilib support code if we just rebuilt the top-level
99157 # Makefile.
99158 case " $CONFIG_FILES " in
99159 *" Makefile "*)
99160 ac_file=Makefile . ${multi_basedir}/config-ml.in
99162 esac ;;
99163 default ) if test -n "$CONFIG_FILES"; then
99164 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
99165 # that multilib installs will end up installed in the correct place.
99166 # The testsuite needs it for multilib-aware ABI baseline files.
99167 # To work around this not being passed down from config-ml.in ->
99168 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
99169 # append it here. Only modify Makefiles that have just been created.
99171 # Also, get rid of this simulated-VPATH thing that automake does.
99172 cat > vpsed << \_EOF
99173 s!`test -f '$<' || echo '$(srcdir)/'`!!
99174 _EOF
99175 for i in $SUBDIRS; do
99176 case $CONFIG_FILES in
99177 *${i}/Makefile*)
99178 #echo "Adding MULTISUBDIR to $i/Makefile"
99179 sed -f vpsed $i/Makefile > tmp
99180 grep '^MULTISUBDIR =' Makefile >> tmp
99181 mv tmp $i/Makefile
99183 esac
99184 done
99185 rm vpsed
99187 (cd include && ${MAKE-make})
99189 esac
99190 done
99191 _ACEOF
99193 cat >>$CONFIG_STATUS <<\_ACEOF
99195 { (exit 0); exit 0; }
99196 _ACEOF
99197 chmod +x $CONFIG_STATUS
99198 ac_clean_files=$ac_clean_files_save
99201 # configure is writing to config.log, and then calls config.status.
99202 # config.status does its own redirection, appending to config.log.
99203 # Unfortunately, on DOS this fails, as config.log is still kept open
99204 # by configure, so config.status won't be able to write to it; its
99205 # output is simply discarded. So we exec the FD to /dev/null,
99206 # effectively closing config.log, so it can be properly (re)opened and
99207 # appended to by config.status. When coming back to configure, we
99208 # need to make the FD available again.
99209 if test "$no_create" != yes; then
99210 ac_cs_success=:
99211 ac_config_status_args=
99212 test "$silent" = yes &&
99213 ac_config_status_args="$ac_config_status_args --quiet"
99214 exec 5>/dev/null
99215 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
99216 exec 5>>config.log
99217 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
99218 # would make configure fail if this is the last instruction.
99219 $ac_cs_success || { (exit 1); exit 1; }