* gcc.dg/uninit-H.c: Add _POWER to powerpc case.
[official-gcc.git] / libstdc++-v3 / configure
blob7d1e55db2aa0fe4c1f385168d05095b26b203a81
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59 for package-unused version-unused.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
14 emulate sh
15 NULLCMD=:
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
20 set -o posix
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
26 as_unset=unset
27 else
28 as_unset=false
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
34 PS1='$ '
35 PS2='> '
36 PS4='+ '
38 # NLS nuisances.
39 for as_var in \
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
42 LC_TELEPHONE LC_TIME
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
46 else
47 $as_unset $as_var
49 done
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
53 as_expr=expr
54 else
55 as_expr=false
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
59 as_basename=basename
60 else
61 as_basename=false
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
71 echo X/"$0" |
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
75 s/.*/./; q'`
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
90 chmod +x conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
92 PATH_SEPARATOR=';'
93 else
94 PATH_SEPARATOR=:
96 rm -f conf$$.sh
100 as_lineno_1=$LINENO
101 as_lineno_2=$LINENO
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
106 # relative or not.
107 case $0 in
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
110 for as_dir in $PATH
112 IFS=$as_save_IFS
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
115 done
118 esac
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
122 as_myself=$0
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
133 IFS=$as_save_IFS
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
136 case $as_dir in
138 if ("$as_dir/$as_base" -c '
139 as_lineno_1=$LINENO
140 as_lineno_2=$LINENO
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
147 export CONFIG_SHELL
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
149 fi;;
150 esac
151 done
152 done
154 esac
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
165 sed '
167 s,$,-,
168 : loop
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
170 t loop
171 s,-$,,
172 s,^['$as_cr_digits']*\n,,
173 ' >$as_me.lineno &&
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
181 . ./$as_me.lineno
182 # Exit status is that of the last command.
183 exit
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
189 ' ECHO_T=' ' ;;
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
192 esac
194 if expr a : '\(a\)' >/dev/null 2>&1; then
195 as_expr=expr
196 else
197 as_expr=false
200 rm -f conf$$ conf$$.exe conf$$.file
201 echo >conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
207 as_ln_s='cp -p'
208 else
209 as_ln_s='ln -s'
211 elif ln conf$$.file conf$$ 2>/dev/null; then
212 as_ln_s=ln
213 else
214 as_ln_s='cp -p'
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
219 as_mkdir_p=:
220 else
221 test -d ./-p && rmdir ./-p
222 as_mkdir_p=false
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234 # IFS
235 # We need space, tab and new line, in precisely that order.
236 as_nl='
238 IFS=" $as_nl"
240 # CDPATH.
241 $as_unset CDPATH
244 # Name of the host.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
249 exec 6>&1
252 # Initializations.
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
256 cross_compiling=no
257 subdirs=
258 MFLAGS=
259 MAKEFLAGS=
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
268 PACKAGE_NAME='package-unused'
269 PACKAGE_TARNAME='libstdc++'
270 PACKAGE_VERSION='version-unused'
271 PACKAGE_STRING='package-unused version-unused'
272 PACKAGE_BUGREPORT=''
274 ac_unique_file="src/ios.cc"
275 # Factoring default headers for most tests.
276 ac_includes_default="\
277 #include <stdio.h>
278 #if HAVE_SYS_TYPES_H
279 # include <sys/types.h>
280 #endif
281 #if HAVE_SYS_STAT_H
282 # include <sys/stat.h>
283 #endif
284 #if STDC_HEADERS
285 # include <stdlib.h>
286 # include <stddef.h>
287 #else
288 # if HAVE_STDLIB_H
289 # include <stdlib.h>
290 # endif
291 #endif
292 #if HAVE_STRING_H
293 # if !STDC_HEADERS && HAVE_MEMORY_H
294 # include <memory.h>
295 # endif
296 # include <string.h>
297 #endif
298 #if HAVE_STRINGS_H
299 # include <strings.h>
300 #endif
301 #if HAVE_INTTYPES_H
302 # include <inttypes.h>
303 #else
304 # if HAVE_STDINT_H
305 # include <stdint.h>
306 # endif
307 #endif
308 #if HAVE_UNISTD_H
309 # include <unistd.h>
310 #endif"
312 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS libtool_VERSION multi_basedir build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot glibcxx_builddir glibcxx_srcdir toplevel_srcdir CC ac_ct_CC EXEEXT OBJEXT CXX ac_ct_CXX CFLAGS CXXFLAGS LN_S AS ac_ct_AS AR ac_ct_AR RANLIB ac_ct_RANLIB MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT LIBTOOL CXXCPP CPPFLAGS enable_shared enable_static GLIBCXX_HOSTED_TRUE GLIBCXX_HOSTED_FALSE GLIBCXX_BUILD_PCH_TRUE GLIBCXX_BUILD_PCH_FALSE glibcxx_PCHFLAGS CSTDIO_H BASIC_FILE_H BASIC_FILE_CC CPP EGREP check_msgfmt glibcxx_MOFILES glibcxx_POFILES glibcxx_localedir USE_NLS CLOCALE_H CCODECVT_H CMESSAGES_H CCODECVT_CC CCOLLATE_CC CCTYPE_CC CMESSAGES_CC CMONEY_CC CNUMERIC_CC CTIME_H CTIME_CC CLOCALE_CC CLOCALE_INTERNAL_H ALLOCATOR_H ALLOCATOR_NAME C_INCLUDE_DIR GLIBCXX_C_HEADERS_C_TRUE GLIBCXX_C_HEADERS_C_FALSE GLIBCXX_C_HEADERS_C_STD_TRUE GLIBCXX_C_HEADERS_C_STD_FALSE GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE glibcxx_thread_h DEBUG_FLAGS GLIBCXX_BUILD_DEBUG_TRUE GLIBCXX_BUILD_DEBUG_FALSE EXTRA_CXX_FLAGS WERROR SECTION_FLAGS SECTION_LDFLAGS OPT_LDFLAGS LIBMATHOBJS LIBICONV SYMVER_MAP port_specific_symbol_files GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE baseline_dir GLIBCXX_TEST_WCHAR_T_TRUE GLIBCXX_TEST_WCHAR_T_FALSE GLIBCXX_TEST_ABI_TRUE GLIBCXX_TEST_ABI_FALSE ATOMICITY_SRCDIR ATOMIC_WORD_SRCDIR ABI_TWEAKS_SRCDIR OS_INC_SRCDIR glibcxx_prefixdir gxx_include_dir glibcxx_toolexecdir glibcxx_toolexeclibdir GLIBCXX_INCLUDES TOPLEVEL_INCLUDES OPTIMIZE_CXXFLAGS WARN_FLAGS LIBSUPCXX_PICFLAGS LIBOBJS LTLIBOBJS'
313 ac_subst_files=''
315 # Initialize some variables set by options.
316 ac_init_help=
317 ac_init_version=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
320 cache_file=/dev/null
321 exec_prefix=NONE
322 no_create=
323 no_recursion=
324 prefix=NONE
325 program_prefix=NONE
326 program_suffix=NONE
327 program_transform_name=s,x,x,
328 silent=
329 site=
330 srcdir=
331 verbose=
332 x_includes=NONE
333 x_libraries=NONE
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir='${exec_prefix}/bin'
341 sbindir='${exec_prefix}/sbin'
342 libexecdir='${exec_prefix}/libexec'
343 datadir='${prefix}/share'
344 sysconfdir='${prefix}/etc'
345 sharedstatedir='${prefix}/com'
346 localstatedir='${prefix}/var'
347 libdir='${exec_prefix}/lib'
348 includedir='${prefix}/include'
349 oldincludedir='/usr/include'
350 infodir='${prefix}/info'
351 mandir='${prefix}/man'
353 ac_prev=
354 for ac_option
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
359 ac_prev=
360 continue
363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
367 case $ac_option in
369 -bindir | --bindir | --bindi | --bind | --bin | --bi)
370 ac_prev=bindir ;;
371 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
372 bindir=$ac_optarg ;;
374 -build | --build | --buil | --bui | --bu)
375 ac_prev=build_alias ;;
376 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
377 build_alias=$ac_optarg ;;
379 -cache-file | --cache-file | --cache-fil | --cache-fi \
380 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
381 ac_prev=cache_file ;;
382 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
383 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
384 cache_file=$ac_optarg ;;
386 --config-cache | -C)
387 cache_file=config.cache ;;
389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
390 ac_prev=datadir ;;
391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
392 | --da=*)
393 datadir=$ac_optarg ;;
395 -disable-* | --disable-*)
396 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* | --enable-*)
405 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
411 case $ac_option in
412 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
413 *) ac_optarg=yes ;;
414 esac
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
419 | --exec | --exe | --ex)
420 ac_prev=exec_prefix ;;
421 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
422 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
423 | --exec=* | --exe=* | --ex=*)
424 exec_prefix=$ac_optarg ;;
426 -gas | --gas | --ga | --g)
427 # Obsolete; use --with-gas.
428 with_gas=yes ;;
430 -help | --help | --hel | --he | -h)
431 ac_init_help=long ;;
432 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
433 ac_init_help=recursive ;;
434 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
435 ac_init_help=short ;;
437 -host | --host | --hos | --ho)
438 ac_prev=host_alias ;;
439 -host=* | --host=* | --hos=* | --ho=*)
440 host_alias=$ac_optarg ;;
442 -includedir | --includedir | --includedi | --included | --include \
443 | --includ | --inclu | --incl | --inc)
444 ac_prev=includedir ;;
445 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
446 | --includ=* | --inclu=* | --incl=* | --inc=*)
447 includedir=$ac_optarg ;;
449 -infodir | --infodir | --infodi | --infod | --info | --inf)
450 ac_prev=infodir ;;
451 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452 infodir=$ac_optarg ;;
454 -libdir | --libdir | --libdi | --libd)
455 ac_prev=libdir ;;
456 -libdir=* | --libdir=* | --libdi=* | --libd=*)
457 libdir=$ac_optarg ;;
459 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
460 | --libexe | --libex | --libe)
461 ac_prev=libexecdir ;;
462 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
463 | --libexe=* | --libex=* | --libe=*)
464 libexecdir=$ac_optarg ;;
466 -localstatedir | --localstatedir | --localstatedi | --localstated \
467 | --localstate | --localstat | --localsta | --localst \
468 | --locals | --local | --loca | --loc | --lo)
469 ac_prev=localstatedir ;;
470 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
472 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
473 localstatedir=$ac_optarg ;;
475 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
476 ac_prev=mandir ;;
477 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
478 mandir=$ac_optarg ;;
480 -nfp | --nfp | --nf)
481 # Obsolete; use --without-fp.
482 with_fp=no ;;
484 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485 | --no-cr | --no-c | -n)
486 no_create=yes ;;
488 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
489 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
490 no_recursion=yes ;;
492 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
493 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
494 | --oldin | --oldi | --old | --ol | --o)
495 ac_prev=oldincludedir ;;
496 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
497 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
498 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
499 oldincludedir=$ac_optarg ;;
501 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
502 ac_prev=prefix ;;
503 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
504 prefix=$ac_optarg ;;
506 -program-prefix | --program-prefix | --program-prefi | --program-pref \
507 | --program-pre | --program-pr | --program-p)
508 ac_prev=program_prefix ;;
509 -program-prefix=* | --program-prefix=* | --program-prefi=* \
510 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
511 program_prefix=$ac_optarg ;;
513 -program-suffix | --program-suffix | --program-suffi | --program-suff \
514 | --program-suf | --program-su | --program-s)
515 ac_prev=program_suffix ;;
516 -program-suffix=* | --program-suffix=* | --program-suffi=* \
517 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
518 program_suffix=$ac_optarg ;;
520 -program-transform-name | --program-transform-name \
521 | --program-transform-nam | --program-transform-na \
522 | --program-transform-n | --program-transform- \
523 | --program-transform | --program-transfor \
524 | --program-transfo | --program-transf \
525 | --program-trans | --program-tran \
526 | --progr-tra | --program-tr | --program-t)
527 ac_prev=program_transform_name ;;
528 -program-transform-name=* | --program-transform-name=* \
529 | --program-transform-nam=* | --program-transform-na=* \
530 | --program-transform-n=* | --program-transform-=* \
531 | --program-transform=* | --program-transfor=* \
532 | --program-transfo=* | --program-transf=* \
533 | --program-trans=* | --program-tran=* \
534 | --progr-tra=* | --program-tr=* | --program-t=*)
535 program_transform_name=$ac_optarg ;;
537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538 | -silent | --silent | --silen | --sile | --sil)
539 silent=yes ;;
541 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
542 ac_prev=sbindir ;;
543 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
544 | --sbi=* | --sb=*)
545 sbindir=$ac_optarg ;;
547 -sharedstatedir | --sharedstatedir | --sharedstatedi \
548 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549 | --sharedst | --shareds | --shared | --share | --shar \
550 | --sha | --sh)
551 ac_prev=sharedstatedir ;;
552 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
555 | --sha=* | --sh=*)
556 sharedstatedir=$ac_optarg ;;
558 -site | --site | --sit)
559 ac_prev=site ;;
560 -site=* | --site=* | --sit=*)
561 site=$ac_optarg ;;
563 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
564 ac_prev=srcdir ;;
565 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
566 srcdir=$ac_optarg ;;
568 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
569 | --syscon | --sysco | --sysc | --sys | --sy)
570 ac_prev=sysconfdir ;;
571 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
572 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
573 sysconfdir=$ac_optarg ;;
575 -target | --target | --targe | --targ | --tar | --ta | --t)
576 ac_prev=target_alias ;;
577 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
578 target_alias=$ac_optarg ;;
580 -v | -verbose | --verbose | --verbos | --verbo | --verb)
581 verbose=yes ;;
583 -version | --version | --versio | --versi | --vers | -V)
584 ac_init_version=: ;;
586 -with-* | --with-*)
587 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package=`echo $ac_package| sed 's/-/_/g'`
593 case $ac_option in
594 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
595 *) ac_optarg=yes ;;
596 esac
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* | --without-*)
600 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
608 --x)
609 # Obsolete; use --with-x.
610 with_x=yes ;;
612 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
613 | --x-incl | --x-inc | --x-in | --x-i)
614 ac_prev=x_includes ;;
615 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
616 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
617 x_includes=$ac_optarg ;;
619 -x-libraries | --x-libraries | --x-librarie | --x-librari \
620 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
621 ac_prev=x_libraries ;;
622 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
623 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
624 x_libraries=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
631 *=*)
632 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
639 export $ac_envvar ;;
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
649 esac
650 done
652 if test -n "$ac_prev"; then
653 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var in exec_prefix prefix
661 eval ac_val=$`echo $ac_var`
662 case $ac_val in
663 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
666 esac
667 done
669 # Be sure to have absolute paths.
670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val=$`echo $ac_var`
674 case $ac_val in
675 [\\/$]* | ?:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
678 esac
679 done
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
684 build=$build_alias
685 host=$host_alias
686 target=$target_alias
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x; then
690 if test "x$build_alias" = x; then
691 cross_compiling=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
695 cross_compiling=yes
699 ac_tool_prefix=
700 test -n "$host_alias" && ac_tool_prefix=$host_alias-
702 test "$silent" = yes && exec 6>/dev/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
715 echo X"$0" |
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
720 s/.*/./; q'`
721 srcdir=$ac_confdir
722 if test ! -r $srcdir/$ac_unique_file; then
723 srcdir=..
725 else
726 ac_srcdir_defaulted=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
732 else
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set=${build_alias+set}
742 ac_env_build_alias_value=$build_alias
743 ac_cv_env_build_alias_set=${build_alias+set}
744 ac_cv_env_build_alias_value=$build_alias
745 ac_env_host_alias_set=${host_alias+set}
746 ac_env_host_alias_value=$host_alias
747 ac_cv_env_host_alias_set=${host_alias+set}
748 ac_cv_env_host_alias_value=$host_alias
749 ac_env_target_alias_set=${target_alias+set}
750 ac_env_target_alias_value=$target_alias
751 ac_cv_env_target_alias_set=${target_alias+set}
752 ac_cv_env_target_alias_value=$target_alias
753 ac_env_CXXCPP_set=${CXXCPP+set}
754 ac_env_CXXCPP_value=$CXXCPP
755 ac_cv_env_CXXCPP_set=${CXXCPP+set}
756 ac_cv_env_CXXCPP_value=$CXXCPP
757 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
758 ac_env_CPPFLAGS_value=$CPPFLAGS
759 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
760 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
761 ac_env_CPP_set=${CPP+set}
762 ac_env_CPP_value=$CPP
763 ac_cv_env_CPP_set=${CPP+set}
764 ac_cv_env_CPP_value=$CPP
767 # Report the --help message.
769 if test "$ac_init_help" = "long"; then
770 # Omit some internal or obsolete options to make the list less imposing.
771 # This message is too long to be a string in the A/UX 3.1 sh.
772 cat <<_ACEOF
773 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
775 Usage: $0 [OPTION]... [VAR=VALUE]...
777 To assign environment variables (e.g., CC, CFLAGS...), specify them as
778 VAR=VALUE. See below for descriptions of some of the useful variables.
780 Defaults for the options are specified in brackets.
782 Configuration:
783 -h, --help display this help and exit
784 --help=short display options specific to this package
785 --help=recursive display the short help of all the included packages
786 -V, --version display version information and exit
787 -q, --quiet, --silent do not print \`checking...' messages
788 --cache-file=FILE cache test results in FILE [disabled]
789 -C, --config-cache alias for \`--cache-file=config.cache'
790 -n, --no-create do not create output files
791 --srcdir=DIR find the sources in DIR [configure dir or \`..']
793 _ACEOF
795 cat <<_ACEOF
796 Installation directories:
797 --prefix=PREFIX install architecture-independent files in PREFIX
798 [$ac_default_prefix]
799 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
800 [PREFIX]
802 By default, \`make install' will install all the files in
803 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
804 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
805 for instance \`--prefix=\$HOME'.
807 For better control, use the options below.
809 Fine tuning of the installation directories:
810 --bindir=DIR user executables [EPREFIX/bin]
811 --sbindir=DIR system admin executables [EPREFIX/sbin]
812 --libexecdir=DIR program executables [EPREFIX/libexec]
813 --datadir=DIR read-only architecture-independent data [PREFIX/share]
814 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
815 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
816 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
817 --libdir=DIR object code libraries [EPREFIX/lib]
818 --includedir=DIR C header files [PREFIX/include]
819 --oldincludedir=DIR C header files for non-gcc [/usr/include]
820 --infodir=DIR info documentation [PREFIX/info]
821 --mandir=DIR man documentation [PREFIX/man]
822 _ACEOF
824 cat <<\_ACEOF
826 Program names:
827 --program-prefix=PREFIX prepend PREFIX to installed program names
828 --program-suffix=SUFFIX append SUFFIX to installed program names
829 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
831 System types:
832 --build=BUILD configure for building on BUILD [guessed]
833 --host=HOST cross-compile to build programs to run on HOST [BUILD]
834 --target=TARGET configure for building compilers for TARGET [HOST]
835 _ACEOF
838 if test -n "$ac_init_help"; then
839 case $ac_init_help in
840 short | recursive ) echo "Configuration of package-unused version-unused:";;
841 esac
842 cat <<\_ACEOF
844 Optional Features:
845 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
846 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
847 --enable-multilib build many library versions (default)
848 --enable-maintainer-mode enable make rules and dependencies not useful
849 (and sometimes confusing) to the casual installer
850 --enable-shared=PKGS build shared libraries default=yes
851 --enable-static=PKGS build static libraries default=yes
852 --enable-fast-install=PKGS optimize for fast installation default=yes
853 --disable-libtool-lock avoid locking (might break parallel builds)
854 --disable-hosted-libstdcxx
855 only build freestanding C++ runtime support
856 --enable-sjlj-exceptions
857 force use of builtin_setjmp for exceptions
858 [default=auto]
859 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
860 [default=$is_hosted]
861 --enable-cstdio=PACKAGE use target-specific I/O package
862 [default=stdio]
863 --enable-clocale[=MODEL]
864 use MODEL for target locale package
865 [default=auto]
866 --enable-nls use Native Language Support (default)
867 --enable-libstdcxx-allocator=KIND
868 use KIND for target std::allocator base
869 [default=auto]
870 --enable-cheaders=KIND construct "C" headers for g++
871 [default=$c_model]
872 --enable-c-mbchar enable multibyte (wide) characters
873 [default=yes]
874 --enable-c99 turns on ISO/IEC 9899:1999 support
875 [default=yes]
876 --enable-long-long enables I/O support for 'long long'
877 [default=yes]
878 --enable-concept-checks use Boost-derived template checks [default=no]
879 --enable-libstdcxx-debug-flags=FLAGS
880 pass compiler FLAGS when building debug library
881 [default="-g3 -O0"]
882 --enable-libstdcxx-debug
883 build extra debug library [default=no]
884 --enable-cxx-flags=FLAGS
885 pass compiler FLAGS when building library
886 [default=]
887 --enable-symvers=STYLE enables symbol versioning of the shared library
888 [default=yes]
889 --enable-version-specific-runtime-libs
890 Specify that runtime libraries should be installed
891 in a compiler-specific directory
893 Optional Packages:
894 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
895 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
896 --with-target-subdir=SUBDIR
897 configuring in a subdirectory
898 --with-cross-host=HOST configuring with a cross compiler
899 --with-newlib assume newlib as a system C library
900 --with-gnu-ld assume the C compiler uses GNU ld default=no
901 --with-pic try to use only PIC/non-PIC objects default=use both
902 --with-gxx-include-dir=DIR
903 installation directory for include files
905 Some influential environment variables:
906 CC C compiler command
907 CFLAGS C compiler flags
908 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
909 nonstandard directory <lib dir>
910 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
911 headers in a nonstandard directory <include dir>
912 CXX C++ compiler command
913 CXXFLAGS C++ compiler flags
914 CXXCPP C++ preprocessor
915 CPP C preprocessor
917 Use these variables to override the choices made by `configure' or to help
918 it to find libraries and programs with nonstandard names/locations.
920 _ACEOF
923 if test "$ac_init_help" = "recursive"; then
924 # If there are subdirs, report their specific --help.
925 ac_popdir=`pwd`
926 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
927 test -d $ac_dir || continue
928 ac_builddir=.
930 if test "$ac_dir" != .; then
931 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
932 # A "../" for each directory in $ac_dir_suffix.
933 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
934 else
935 ac_dir_suffix= ac_top_builddir=
938 case $srcdir in
939 .) # No --srcdir option. We are building in place.
940 ac_srcdir=.
941 if test -z "$ac_top_builddir"; then
942 ac_top_srcdir=.
943 else
944 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
945 fi ;;
946 [\\/]* | ?:[\\/]* ) # Absolute path.
947 ac_srcdir=$srcdir$ac_dir_suffix;
948 ac_top_srcdir=$srcdir ;;
949 *) # Relative path.
950 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
951 ac_top_srcdir=$ac_top_builddir$srcdir ;;
952 esac
954 # Do not use `cd foo && pwd` to compute absolute paths, because
955 # the directories may not exist.
956 case `pwd` in
957 .) ac_abs_builddir="$ac_dir";;
959 case "$ac_dir" in
960 .) ac_abs_builddir=`pwd`;;
961 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
962 *) ac_abs_builddir=`pwd`/"$ac_dir";;
963 esac;;
964 esac
965 case $ac_abs_builddir in
966 .) ac_abs_top_builddir=${ac_top_builddir}.;;
968 case ${ac_top_builddir}. in
969 .) ac_abs_top_builddir=$ac_abs_builddir;;
970 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
971 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
972 esac;;
973 esac
974 case $ac_abs_builddir in
975 .) ac_abs_srcdir=$ac_srcdir;;
977 case $ac_srcdir in
978 .) ac_abs_srcdir=$ac_abs_builddir;;
979 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
980 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
981 esac;;
982 esac
983 case $ac_abs_builddir in
984 .) ac_abs_top_srcdir=$ac_top_srcdir;;
986 case $ac_top_srcdir in
987 .) ac_abs_top_srcdir=$ac_abs_builddir;;
988 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
989 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
990 esac;;
991 esac
993 cd $ac_dir
994 # Check for guested configure; otherwise get Cygnus style configure.
995 if test -f $ac_srcdir/configure.gnu; then
996 echo
997 $SHELL $ac_srcdir/configure.gnu --help=recursive
998 elif test -f $ac_srcdir/configure; then
999 echo
1000 $SHELL $ac_srcdir/configure --help=recursive
1001 elif test -f $ac_srcdir/configure.ac ||
1002 test -f $ac_srcdir/configure.in; then
1003 echo
1004 $ac_configure --help
1005 else
1006 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1008 cd $ac_popdir
1009 done
1012 test -n "$ac_init_help" && exit 0
1013 if $ac_init_version; then
1014 cat <<\_ACEOF
1015 package-unused configure version-unused
1016 generated by GNU Autoconf 2.59
1018 Copyright (C) 2003 Free Software Foundation, Inc.
1019 This configure script is free software; the Free Software Foundation
1020 gives unlimited permission to copy, distribute and modify it.
1021 _ACEOF
1022 exit 0
1024 exec 5>config.log
1025 cat >&5 <<_ACEOF
1026 This file contains any messages produced by compilers while
1027 running configure, to aid debugging if configure makes a mistake.
1029 It was created by package-unused $as_me version-unused, which was
1030 generated by GNU Autoconf 2.59. Invocation command line was
1032 $ $0 $@
1034 _ACEOF
1036 cat <<_ASUNAME
1037 ## --------- ##
1038 ## Platform. ##
1039 ## --------- ##
1041 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1042 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1043 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1044 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1045 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1047 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1048 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1050 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1051 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1052 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1053 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1054 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1055 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1056 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1058 _ASUNAME
1060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1061 for as_dir in $PATH
1063 IFS=$as_save_IFS
1064 test -z "$as_dir" && as_dir=.
1065 echo "PATH: $as_dir"
1066 done
1068 } >&5
1070 cat >&5 <<_ACEOF
1073 ## ----------- ##
1074 ## Core tests. ##
1075 ## ----------- ##
1077 _ACEOF
1080 # Keep a trace of the command line.
1081 # Strip out --no-create and --no-recursion so they do not pile up.
1082 # Strip out --silent because we don't want to record it for future runs.
1083 # Also quote any args containing shell meta-characters.
1084 # Make two passes to allow for proper duplicate-argument suppression.
1085 ac_configure_args=
1086 ac_configure_args0=
1087 ac_configure_args1=
1088 ac_sep=
1089 ac_must_keep_next=false
1090 for ac_pass in 1 2
1092 for ac_arg
1094 case $ac_arg in
1095 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1096 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1097 | -silent | --silent | --silen | --sile | --sil)
1098 continue ;;
1099 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1100 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1101 esac
1102 case $ac_pass in
1103 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1105 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1106 if test $ac_must_keep_next = true; then
1107 ac_must_keep_next=false # Got value, back to normal.
1108 else
1109 case $ac_arg in
1110 *=* | --config-cache | -C | -disable-* | --disable-* \
1111 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1112 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1113 | -with-* | --with-* | -without-* | --without-* | --x)
1114 case "$ac_configure_args0 " in
1115 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1116 esac
1118 -* ) ac_must_keep_next=true ;;
1119 esac
1121 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1122 # Get rid of the leading space.
1123 ac_sep=" "
1125 esac
1126 done
1127 done
1128 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1129 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1131 # When interrupted or exit'd, cleanup temporary files, and complete
1132 # config.log. We remove comments because anyway the quotes in there
1133 # would cause problems or look ugly.
1134 # WARNING: Be sure not to use single quotes in there, as some shells,
1135 # such as our DU 5.0 friend, will then `close' the trap.
1136 trap 'exit_status=$?
1137 # Save into config.log some information that might help in debugging.
1139 echo
1141 cat <<\_ASBOX
1142 ## ---------------- ##
1143 ## Cache variables. ##
1144 ## ---------------- ##
1145 _ASBOX
1146 echo
1147 # The following way of writing the cache mishandles newlines in values,
1149 (set) 2>&1 |
1150 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1151 *ac_space=\ *)
1152 sed -n \
1153 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1154 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1157 sed -n \
1158 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1160 esac;
1162 echo
1164 cat <<\_ASBOX
1165 ## ----------------- ##
1166 ## Output variables. ##
1167 ## ----------------- ##
1168 _ASBOX
1169 echo
1170 for ac_var in $ac_subst_vars
1172 eval ac_val=$`echo $ac_var`
1173 echo "$ac_var='"'"'$ac_val'"'"'"
1174 done | sort
1175 echo
1177 if test -n "$ac_subst_files"; then
1178 cat <<\_ASBOX
1179 ## ------------- ##
1180 ## Output files. ##
1181 ## ------------- ##
1182 _ASBOX
1183 echo
1184 for ac_var in $ac_subst_files
1186 eval ac_val=$`echo $ac_var`
1187 echo "$ac_var='"'"'$ac_val'"'"'"
1188 done | sort
1189 echo
1192 if test -s confdefs.h; then
1193 cat <<\_ASBOX
1194 ## ----------- ##
1195 ## confdefs.h. ##
1196 ## ----------- ##
1197 _ASBOX
1198 echo
1199 sed "/^$/d" confdefs.h | sort
1200 echo
1202 test "$ac_signal" != 0 &&
1203 echo "$as_me: caught signal $ac_signal"
1204 echo "$as_me: exit $exit_status"
1205 } >&5
1206 rm -f core *.core &&
1207 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1208 exit $exit_status
1210 for ac_signal in 1 2 13 15; do
1211 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1212 done
1213 ac_signal=0
1215 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1216 rm -rf conftest* confdefs.h
1217 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1218 echo >confdefs.h
1220 # Predefined preprocessor variables.
1222 cat >>confdefs.h <<_ACEOF
1223 #define PACKAGE_NAME "$PACKAGE_NAME"
1224 _ACEOF
1227 cat >>confdefs.h <<_ACEOF
1228 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1229 _ACEOF
1232 cat >>confdefs.h <<_ACEOF
1233 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1234 _ACEOF
1237 cat >>confdefs.h <<_ACEOF
1238 #define PACKAGE_STRING "$PACKAGE_STRING"
1239 _ACEOF
1242 cat >>confdefs.h <<_ACEOF
1243 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1244 _ACEOF
1247 # Let the site file select an alternate cache file if it wants to.
1248 # Prefer explicitly selected file to automatically selected ones.
1249 if test -z "$CONFIG_SITE"; then
1250 if test "x$prefix" != xNONE; then
1251 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1252 else
1253 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1256 for ac_site_file in $CONFIG_SITE; do
1257 if test -r "$ac_site_file"; then
1258 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1259 echo "$as_me: loading site script $ac_site_file" >&6;}
1260 sed 's/^/| /' "$ac_site_file" >&5
1261 . "$ac_site_file"
1263 done
1265 if test -r "$cache_file"; then
1266 # Some versions of bash will fail to source /dev/null (special
1267 # files actually), so we avoid doing that.
1268 if test -f "$cache_file"; then
1269 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1270 echo "$as_me: loading cache $cache_file" >&6;}
1271 case $cache_file in
1272 [\\/]* | ?:[\\/]* ) . $cache_file;;
1273 *) . ./$cache_file;;
1274 esac
1276 else
1277 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1278 echo "$as_me: creating cache $cache_file" >&6;}
1279 >$cache_file
1282 # Check that the precious variables saved in the cache have kept the same
1283 # value.
1284 ac_cache_corrupted=false
1285 for ac_var in `(set) 2>&1 |
1286 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1287 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1288 eval ac_new_set=\$ac_env_${ac_var}_set
1289 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1290 eval ac_new_val="\$ac_env_${ac_var}_value"
1291 case $ac_old_set,$ac_new_set in
1292 set,)
1293 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1294 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1295 ac_cache_corrupted=: ;;
1296 ,set)
1297 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1298 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1299 ac_cache_corrupted=: ;;
1300 ,);;
1302 if test "x$ac_old_val" != "x$ac_new_val"; then
1303 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1304 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1305 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1306 echo "$as_me: former value: $ac_old_val" >&2;}
1307 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1308 echo "$as_me: current value: $ac_new_val" >&2;}
1309 ac_cache_corrupted=:
1310 fi;;
1311 esac
1312 # Pass precious variables to config.status.
1313 if test "$ac_new_set" = set; then
1314 case $ac_new_val in
1315 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1316 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1317 *) ac_arg=$ac_var=$ac_new_val ;;
1318 esac
1319 case " $ac_configure_args " in
1320 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1321 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1322 esac
1324 done
1325 if $ac_cache_corrupted; then
1326 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1327 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1328 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1329 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1330 { (exit 1); exit 1; }; }
1333 ac_ext=c
1334 ac_cpp='$CPP $CPPFLAGS'
1335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1366 ac_config_headers="$ac_config_headers config.h"
1369 # This works around the fact that libtool configuration may change LD
1370 # for this particular configuration, but some shells, instead of
1371 # keeping the changes in LD private, export them just because LD is
1372 # exported. Only used at the end of this file.
1373 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
1375 # For libtool versioning info, format is CURRENT:REVISION:AGE
1376 libtool_VERSION=6:2:0
1379 # Find the rest of the source tree framework.
1380 # Default to --enable-multilib
1381 # Check whether --enable-multilib or --disable-multilib was given.
1382 if test "${enable_multilib+set}" = set; then
1383 enableval="$enable_multilib"
1384 case "$enableval" in
1385 yes) multilib=yes ;;
1386 no) multilib=no ;;
1387 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1388 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1389 { (exit 1); exit 1; }; } ;;
1390 esac
1391 else
1392 multilib=yes
1395 # We may get other options which we leave undocumented:
1396 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1397 # See config-ml.in if you want the gory details.
1399 if test "$srcdir" = "."; then
1400 if test "$with_target_subdir" != "."; then
1401 multi_basedir="$srcdir/$with_multisrctop../.."
1402 else
1403 multi_basedir="$srcdir/$with_multisrctop.."
1405 else
1406 multi_basedir="$srcdir/.."
1410 ac_config_commands="$ac_config_commands default-1"
1413 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1415 # You will slowly go insane if you do not grok the following fact: when
1416 # building v3 as part of the compiler, the top-level /target/ becomes the
1417 # library's /host/. configure then causes --target to default to --host,
1418 # exactly like any other package using autoconf. Therefore, 'target' and
1419 # 'host' will always be the same. This makes sense both for native and
1420 # cross compilers, just think about it for a little while. :-)
1422 # Also, if v3 is being configured as part of a cross compiler, the top-level
1423 # configure script will pass the "real" host as $with_cross_host.
1425 # Do not delete or change the following two lines. For why, see
1426 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1427 ac_aux_dir=
1428 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1429 if test -f $ac_dir/install-sh; then
1430 ac_aux_dir=$ac_dir
1431 ac_install_sh="$ac_aux_dir/install-sh -c"
1432 break
1433 elif test -f $ac_dir/install.sh; then
1434 ac_aux_dir=$ac_dir
1435 ac_install_sh="$ac_aux_dir/install.sh -c"
1436 break
1437 elif test -f $ac_dir/shtool; then
1438 ac_aux_dir=$ac_dir
1439 ac_install_sh="$ac_aux_dir/shtool install -c"
1440 break
1442 done
1443 if test -z "$ac_aux_dir"; then
1444 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1445 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1446 { (exit 1); exit 1; }; }
1448 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1449 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1450 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1452 # Make sure we can run config.sub.
1453 $ac_config_sub sun4 >/dev/null 2>&1 ||
1454 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1455 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1456 { (exit 1); exit 1; }; }
1458 echo "$as_me:$LINENO: checking build system type" >&5
1459 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1460 if test "${ac_cv_build+set}" = set; then
1461 echo $ECHO_N "(cached) $ECHO_C" >&6
1462 else
1463 ac_cv_build_alias=$build_alias
1464 test -z "$ac_cv_build_alias" &&
1465 ac_cv_build_alias=`$ac_config_guess`
1466 test -z "$ac_cv_build_alias" &&
1467 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1468 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1469 { (exit 1); exit 1; }; }
1470 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1471 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1472 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1473 { (exit 1); exit 1; }; }
1476 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1477 echo "${ECHO_T}$ac_cv_build" >&6
1478 build=$ac_cv_build
1479 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1480 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1481 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1484 echo "$as_me:$LINENO: checking host system type" >&5
1485 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1486 if test "${ac_cv_host+set}" = set; then
1487 echo $ECHO_N "(cached) $ECHO_C" >&6
1488 else
1489 ac_cv_host_alias=$host_alias
1490 test -z "$ac_cv_host_alias" &&
1491 ac_cv_host_alias=$ac_cv_build_alias
1492 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1493 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1494 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1495 { (exit 1); exit 1; }; }
1498 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1499 echo "${ECHO_T}$ac_cv_host" >&6
1500 host=$ac_cv_host
1501 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1502 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1503 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1506 echo "$as_me:$LINENO: checking target system type" >&5
1507 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1508 if test "${ac_cv_target+set}" = set; then
1509 echo $ECHO_N "(cached) $ECHO_C" >&6
1510 else
1511 ac_cv_target_alias=$target_alias
1512 test "x$ac_cv_target_alias" = "x" &&
1513 ac_cv_target_alias=$ac_cv_host_alias
1514 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1515 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1516 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1517 { (exit 1); exit 1; }; }
1520 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1521 echo "${ECHO_T}$ac_cv_target" >&6
1522 target=$ac_cv_target
1523 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1524 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1525 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1528 # The aliases save the names the user supplied, while $host etc.
1529 # will get canonicalized.
1530 test -n "$target_alias" &&
1531 test "$program_prefix$program_suffix$program_transform_name" = \
1532 NONENONEs,x,x, &&
1533 program_prefix=${target_alias}-
1534 target_alias=${target_alias-$host_alias}
1536 # Handy for debugging:
1537 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1539 if test "$build" != "$host"; then
1540 # We are being configured with some form of cross compiler.
1541 GLIBCXX_IS_NATIVE=false
1543 else
1544 GLIBCXX_IS_NATIVE=true
1547 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1548 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1549 # 1.x: minimum required version
1550 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1551 # of other PACKAGE_* variables will, however, and there's nothing
1552 # we can do about that; they come from AC_INIT).
1553 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1554 # file in the top srcdir, etc, etc), so stop complaining.
1555 # no-dependencies: turns off auto dependency generation (just for now)
1556 # -Wall: turns on all automake warnings...
1557 # -Wno-portability: ...except this one, since GNU make is now required.
1558 am__api_version="1.8"
1559 # Find a good install program. We prefer a C program (faster),
1560 # so one script is as good as another. But avoid the broken or
1561 # incompatible versions:
1562 # SysV /etc/install, /usr/sbin/install
1563 # SunOS /usr/etc/install
1564 # IRIX /sbin/install
1565 # AIX /bin/install
1566 # AmigaOS /C/install, which installs bootblocks on floppy discs
1567 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1568 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1569 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1570 # OS/2's system install, which has a completely different semantic
1571 # ./install, which can be erroneously created by make from ./install.sh.
1572 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1573 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1574 if test -z "$INSTALL"; then
1575 if test "${ac_cv_path_install+set}" = set; then
1576 echo $ECHO_N "(cached) $ECHO_C" >&6
1577 else
1578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1579 for as_dir in $PATH
1581 IFS=$as_save_IFS
1582 test -z "$as_dir" && as_dir=.
1583 # Account for people who put trailing slashes in PATH elements.
1584 case $as_dir/ in
1585 ./ | .// | /cC/* | \
1586 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1587 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1588 /usr/ucb/* ) ;;
1590 # OSF1 and SCO ODT 3.0 have their own names for install.
1591 # Don't use installbsd from OSF since it installs stuff as root
1592 # by default.
1593 for ac_prog in ginstall scoinst install; do
1594 for ac_exec_ext in '' $ac_executable_extensions; do
1595 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1596 if test $ac_prog = install &&
1597 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1598 # AIX install. It has an incompatible calling convention.
1600 elif test $ac_prog = install &&
1601 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1602 # program-specific install script used by HP pwplus--don't use.
1604 else
1605 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1606 break 3
1609 done
1610 done
1612 esac
1613 done
1617 if test "${ac_cv_path_install+set}" = set; then
1618 INSTALL=$ac_cv_path_install
1619 else
1620 # As a last resort, use the slow shell script. We don't cache a
1621 # path for INSTALL within a source directory, because that will
1622 # break other packages using the cache if that directory is
1623 # removed, or if the path is relative.
1624 INSTALL=$ac_install_sh
1627 echo "$as_me:$LINENO: result: $INSTALL" >&5
1628 echo "${ECHO_T}$INSTALL" >&6
1630 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1631 # It thinks the first close brace ends the variable substitution.
1632 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1634 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1636 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1638 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1639 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1640 # Just in case
1641 sleep 1
1642 echo timestamp > conftest.file
1643 # Do `set' in a subshell so we don't clobber the current shell's
1644 # arguments. Must try -L first in case configure is actually a
1645 # symlink; some systems play weird games with the mod time of symlinks
1646 # (eg FreeBSD returns the mod time of the symlink's containing
1647 # directory).
1648 if (
1649 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1650 if test "$*" = "X"; then
1651 # -L didn't work.
1652 set X `ls -t $srcdir/configure conftest.file`
1654 rm -f conftest.file
1655 if test "$*" != "X $srcdir/configure conftest.file" \
1656 && test "$*" != "X conftest.file $srcdir/configure"; then
1658 # If neither matched, then we have a broken ls. This can happen
1659 # if, for instance, CONFIG_SHELL is bash and it inherits a
1660 # broken ls alias from the environment. This has actually
1661 # happened. Such a system could not be considered "sane".
1662 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1663 alias in your environment" >&5
1664 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1665 alias in your environment" >&2;}
1666 { (exit 1); exit 1; }; }
1669 test "$2" = conftest.file
1671 then
1672 # Ok.
1674 else
1675 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1676 Check your system clock" >&5
1677 echo "$as_me: error: newly created file is older than distributed files!
1678 Check your system clock" >&2;}
1679 { (exit 1); exit 1; }; }
1681 echo "$as_me:$LINENO: result: yes" >&5
1682 echo "${ECHO_T}yes" >&6
1683 test "$program_prefix" != NONE &&
1684 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1685 # Use a double $ so make ignores it.
1686 test "$program_suffix" != NONE &&
1687 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1688 # Double any \ or $. echo might interpret backslashes.
1689 # By default was `s,x,x', remove it if useless.
1690 cat <<\_ACEOF >conftest.sed
1691 s/[\\$]/&&/g;s/;s,x,x,$//
1692 _ACEOF
1693 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1694 rm conftest.sed
1696 # expand $ac_aux_dir to an absolute path
1697 am_aux_dir=`cd $ac_aux_dir && pwd`
1699 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1700 # Use eval to expand $SHELL
1701 if eval "$MISSING --run true"; then
1702 am_missing_run="$MISSING --run "
1703 else
1704 am_missing_run=
1705 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1706 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1709 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1710 # Keeping the `.' argument allows $(mkdir_p) to be used without
1711 # argument. Indeed, we sometimes output rules like
1712 # $(mkdir_p) $(somedir)
1713 # where $(somedir) is conditionally defined.
1714 # (`test -n '$(somedir)' && $(mkdir_p) $(somedir)' is a more
1715 # expensive solution, as it forces Make to start a sub-shell.)
1716 mkdir_p='mkdir -p -- .'
1717 else
1718 # On NextStep and OpenStep, the `mkdir' command does not
1719 # recognize any option. It will interpret all options as
1720 # directories to create, and then abort because `.' already
1721 # exists.
1722 for d in ./-p ./--version;
1724 test -d $d && rmdir $d
1725 done
1726 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1727 if test -f "$ac_aux_dir/mkinstalldirs"; then
1728 mkdir_p='$(mkinstalldirs)'
1729 else
1730 mkdir_p='$(install_sh) -d'
1734 for ac_prog in gawk mawk nawk awk
1736 # Extract the first word of "$ac_prog", so it can be a program name with args.
1737 set dummy $ac_prog; ac_word=$2
1738 echo "$as_me:$LINENO: checking for $ac_word" >&5
1739 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1740 if test "${ac_cv_prog_AWK+set}" = set; then
1741 echo $ECHO_N "(cached) $ECHO_C" >&6
1742 else
1743 if test -n "$AWK"; then
1744 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1745 else
1746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1747 for as_dir in $PATH
1749 IFS=$as_save_IFS
1750 test -z "$as_dir" && as_dir=.
1751 for ac_exec_ext in '' $ac_executable_extensions; do
1752 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1753 ac_cv_prog_AWK="$ac_prog"
1754 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1755 break 2
1757 done
1758 done
1762 AWK=$ac_cv_prog_AWK
1763 if test -n "$AWK"; then
1764 echo "$as_me:$LINENO: result: $AWK" >&5
1765 echo "${ECHO_T}$AWK" >&6
1766 else
1767 echo "$as_me:$LINENO: result: no" >&5
1768 echo "${ECHO_T}no" >&6
1771 test -n "$AWK" && break
1772 done
1774 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1775 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1776 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1777 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1778 echo $ECHO_N "(cached) $ECHO_C" >&6
1779 else
1780 cat >conftest.make <<\_ACEOF
1781 all:
1782 @echo 'ac_maketemp="$(MAKE)"'
1783 _ACEOF
1784 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1785 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1786 if test -n "$ac_maketemp"; then
1787 eval ac_cv_prog_make_${ac_make}_set=yes
1788 else
1789 eval ac_cv_prog_make_${ac_make}_set=no
1791 rm -f conftest.make
1793 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1794 echo "$as_me:$LINENO: result: yes" >&5
1795 echo "${ECHO_T}yes" >&6
1796 SET_MAKE=
1797 else
1798 echo "$as_me:$LINENO: result: no" >&5
1799 echo "${ECHO_T}no" >&6
1800 SET_MAKE="MAKE=${MAKE-make}"
1803 rm -rf .tst 2>/dev/null
1804 mkdir .tst 2>/dev/null
1805 if test -d .tst; then
1806 am__leading_dot=.
1807 else
1808 am__leading_dot=_
1810 rmdir .tst 2>/dev/null
1812 # test to see if srcdir already configured
1813 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1814 test -f $srcdir/config.status; then
1815 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1816 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1817 { (exit 1); exit 1; }; }
1820 # test whether we have cygpath
1821 if test -z "$CYGPATH_W"; then
1822 if (cygpath --version) >/dev/null 2>/dev/null; then
1823 CYGPATH_W='cygpath -w'
1824 else
1825 CYGPATH_W=echo
1830 # Define the identity of the package.
1831 PACKAGE='libstdc++'
1832 VERSION='version-unused'
1835 # Some tools Automake needs.
1837 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1840 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1843 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1846 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1849 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1852 AMTAR=${AMTAR-"${am_missing_run}tar"}
1854 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1856 # Installed binaries are usually stripped using `strip' when the user
1857 # run `make install-strip'. However `strip' might not be the right
1858 # tool to use in cross-compilation environments, therefore Automake
1859 # will honor the `STRIP' environment variable to overrule this program.
1860 if test "$cross_compiling" != no; then
1861 if test -n "$ac_tool_prefix"; then
1862 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1863 set dummy ${ac_tool_prefix}strip; ac_word=$2
1864 echo "$as_me:$LINENO: checking for $ac_word" >&5
1865 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1866 if test "${ac_cv_prog_STRIP+set}" = set; then
1867 echo $ECHO_N "(cached) $ECHO_C" >&6
1868 else
1869 if test -n "$STRIP"; then
1870 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1871 else
1872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1873 for as_dir in $PATH
1875 IFS=$as_save_IFS
1876 test -z "$as_dir" && as_dir=.
1877 for ac_exec_ext in '' $ac_executable_extensions; do
1878 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1879 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1880 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1881 break 2
1883 done
1884 done
1888 STRIP=$ac_cv_prog_STRIP
1889 if test -n "$STRIP"; then
1890 echo "$as_me:$LINENO: result: $STRIP" >&5
1891 echo "${ECHO_T}$STRIP" >&6
1892 else
1893 echo "$as_me:$LINENO: result: no" >&5
1894 echo "${ECHO_T}no" >&6
1898 if test -z "$ac_cv_prog_STRIP"; then
1899 ac_ct_STRIP=$STRIP
1900 # Extract the first word of "strip", so it can be a program name with args.
1901 set dummy strip; ac_word=$2
1902 echo "$as_me:$LINENO: checking for $ac_word" >&5
1903 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1904 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1905 echo $ECHO_N "(cached) $ECHO_C" >&6
1906 else
1907 if test -n "$ac_ct_STRIP"; then
1908 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1909 else
1910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1911 for as_dir in $PATH
1913 IFS=$as_save_IFS
1914 test -z "$as_dir" && as_dir=.
1915 for ac_exec_ext in '' $ac_executable_extensions; do
1916 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1917 ac_cv_prog_ac_ct_STRIP="strip"
1918 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1919 break 2
1921 done
1922 done
1924 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1927 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1928 if test -n "$ac_ct_STRIP"; then
1929 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1930 echo "${ECHO_T}$ac_ct_STRIP" >&6
1931 else
1932 echo "$as_me:$LINENO: result: no" >&5
1933 echo "${ECHO_T}no" >&6
1936 STRIP=$ac_ct_STRIP
1937 else
1938 STRIP="$ac_cv_prog_STRIP"
1942 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1944 # We need awk for the "check" target. The system "awk" is bad on
1945 # some platforms.
1950 # Runs configure.host, finds CC, CXX, and assorted other critical bits. Sets
1951 # up critical shell variables.
1953 # Keep these sync'd with the list in Makefile.am. The first provides an
1954 # expandable list at autoconf time; the second provides an expandable list
1955 # (i.e., shell variable) at configure time.
1957 SUBDIRS='include libmath libsupc++ src po testsuite'
1959 # These need to be absolute paths, yet at the same time need to
1960 # canonicalize only relative paths, because then amd will not unmount
1961 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
1962 glibcxx_builddir=`${PWDCMD-pwd}`
1963 case $srcdir in
1964 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
1965 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
1966 esac
1967 toplevel_srcdir=${glibcxx_srcdir}/..
1972 # We use these options to decide which functions to include. They are
1973 # set from the top level.
1975 # Check whether --with-target-subdir or --without-target-subdir was given.
1976 if test "${with_target_subdir+set}" = set; then
1977 withval="$with_target_subdir"
1982 # Check whether --with-cross-host or --without-cross-host was given.
1983 if test "${with_cross_host+set}" = set; then
1984 withval="$with_cross_host"
1989 # Check whether --with-newlib or --without-newlib was given.
1990 if test "${with_newlib+set}" = set; then
1991 withval="$with_newlib"
1995 # We're almost certainly being configured before anything else which uses
1996 # C++, so all of our AC_PROG_* discoveries will be cached. It's vital that
1997 # we not cache the value of CXX that we "discover" here, because it's set
1998 # to something unique for us and libjava. Other target libraries need to
1999 # find CXX for themselves. We yank the rug out from under the normal AC_*
2000 # process by sneakily renaming the cache variable. This also lets us debug
2001 # the value of "our" CXX in postmortems.
2003 # We must also force CXX to /not/ be a precious variable, otherwise the
2004 # wrong (non-multilib-adjusted) value will be used in multilibs. This
2005 # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS. And as a side
2006 # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2007 # that ourselves. Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2009 # -fno-builtin must be present here so that a non-conflicting form of
2010 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2015 save_CXXFLAGS="$CXXFLAGS"
2016 CXXFLAGS="$CXXFLAGS -fno-builtin"
2017 ac_ext=c
2018 ac_cpp='$CPP $CPPFLAGS'
2019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2022 if test -n "$ac_tool_prefix"; then
2023 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2024 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2025 echo "$as_me:$LINENO: checking for $ac_word" >&5
2026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2027 if test "${ac_cv_prog_CC+set}" = set; then
2028 echo $ECHO_N "(cached) $ECHO_C" >&6
2029 else
2030 if test -n "$CC"; then
2031 ac_cv_prog_CC="$CC" # Let the user override the test.
2032 else
2033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2034 for as_dir in $PATH
2036 IFS=$as_save_IFS
2037 test -z "$as_dir" && as_dir=.
2038 for ac_exec_ext in '' $ac_executable_extensions; do
2039 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2040 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2042 break 2
2044 done
2045 done
2049 CC=$ac_cv_prog_CC
2050 if test -n "$CC"; then
2051 echo "$as_me:$LINENO: result: $CC" >&5
2052 echo "${ECHO_T}$CC" >&6
2053 else
2054 echo "$as_me:$LINENO: result: no" >&5
2055 echo "${ECHO_T}no" >&6
2059 if test -z "$ac_cv_prog_CC"; then
2060 ac_ct_CC=$CC
2061 # Extract the first word of "gcc", so it can be a program name with args.
2062 set dummy gcc; ac_word=$2
2063 echo "$as_me:$LINENO: checking for $ac_word" >&5
2064 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2065 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2066 echo $ECHO_N "(cached) $ECHO_C" >&6
2067 else
2068 if test -n "$ac_ct_CC"; then
2069 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2070 else
2071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2072 for as_dir in $PATH
2074 IFS=$as_save_IFS
2075 test -z "$as_dir" && as_dir=.
2076 for ac_exec_ext in '' $ac_executable_extensions; do
2077 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2078 ac_cv_prog_ac_ct_CC="gcc"
2079 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2080 break 2
2082 done
2083 done
2087 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2088 if test -n "$ac_ct_CC"; then
2089 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2090 echo "${ECHO_T}$ac_ct_CC" >&6
2091 else
2092 echo "$as_me:$LINENO: result: no" >&5
2093 echo "${ECHO_T}no" >&6
2096 CC=$ac_ct_CC
2097 else
2098 CC="$ac_cv_prog_CC"
2101 if test -z "$CC"; then
2102 if test -n "$ac_tool_prefix"; then
2103 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2104 set dummy ${ac_tool_prefix}cc; ac_word=$2
2105 echo "$as_me:$LINENO: checking for $ac_word" >&5
2106 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2107 if test "${ac_cv_prog_CC+set}" = set; then
2108 echo $ECHO_N "(cached) $ECHO_C" >&6
2109 else
2110 if test -n "$CC"; then
2111 ac_cv_prog_CC="$CC" # Let the user override the test.
2112 else
2113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2114 for as_dir in $PATH
2116 IFS=$as_save_IFS
2117 test -z "$as_dir" && as_dir=.
2118 for ac_exec_ext in '' $ac_executable_extensions; do
2119 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2120 ac_cv_prog_CC="${ac_tool_prefix}cc"
2121 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2122 break 2
2124 done
2125 done
2129 CC=$ac_cv_prog_CC
2130 if test -n "$CC"; then
2131 echo "$as_me:$LINENO: result: $CC" >&5
2132 echo "${ECHO_T}$CC" >&6
2133 else
2134 echo "$as_me:$LINENO: result: no" >&5
2135 echo "${ECHO_T}no" >&6
2139 if test -z "$ac_cv_prog_CC"; then
2140 ac_ct_CC=$CC
2141 # Extract the first word of "cc", so it can be a program name with args.
2142 set dummy cc; ac_word=$2
2143 echo "$as_me:$LINENO: checking for $ac_word" >&5
2144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2145 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2146 echo $ECHO_N "(cached) $ECHO_C" >&6
2147 else
2148 if test -n "$ac_ct_CC"; then
2149 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2150 else
2151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2152 for as_dir in $PATH
2154 IFS=$as_save_IFS
2155 test -z "$as_dir" && as_dir=.
2156 for ac_exec_ext in '' $ac_executable_extensions; do
2157 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2158 ac_cv_prog_ac_ct_CC="cc"
2159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2160 break 2
2162 done
2163 done
2167 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2168 if test -n "$ac_ct_CC"; then
2169 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2170 echo "${ECHO_T}$ac_ct_CC" >&6
2171 else
2172 echo "$as_me:$LINENO: result: no" >&5
2173 echo "${ECHO_T}no" >&6
2176 CC=$ac_ct_CC
2177 else
2178 CC="$ac_cv_prog_CC"
2182 if test -z "$CC"; then
2183 # Extract the first word of "cc", so it can be a program name with args.
2184 set dummy cc; ac_word=$2
2185 echo "$as_me:$LINENO: checking for $ac_word" >&5
2186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2187 if test "${ac_cv_prog_CC+set}" = set; then
2188 echo $ECHO_N "(cached) $ECHO_C" >&6
2189 else
2190 if test -n "$CC"; then
2191 ac_cv_prog_CC="$CC" # Let the user override the test.
2192 else
2193 ac_prog_rejected=no
2194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2195 for as_dir in $PATH
2197 IFS=$as_save_IFS
2198 test -z "$as_dir" && as_dir=.
2199 for ac_exec_ext in '' $ac_executable_extensions; do
2200 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2201 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2202 ac_prog_rejected=yes
2203 continue
2205 ac_cv_prog_CC="cc"
2206 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2207 break 2
2209 done
2210 done
2212 if test $ac_prog_rejected = yes; then
2213 # We found a bogon in the path, so make sure we never use it.
2214 set dummy $ac_cv_prog_CC
2215 shift
2216 if test $# != 0; then
2217 # We chose a different compiler from the bogus one.
2218 # However, it has the same basename, so the bogon will be chosen
2219 # first if we set CC to just the basename; use the full file name.
2220 shift
2221 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2226 CC=$ac_cv_prog_CC
2227 if test -n "$CC"; then
2228 echo "$as_me:$LINENO: result: $CC" >&5
2229 echo "${ECHO_T}$CC" >&6
2230 else
2231 echo "$as_me:$LINENO: result: no" >&5
2232 echo "${ECHO_T}no" >&6
2236 if test -z "$CC"; then
2237 if test -n "$ac_tool_prefix"; then
2238 for ac_prog in cl
2240 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2241 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2242 echo "$as_me:$LINENO: checking for $ac_word" >&5
2243 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2244 if test "${ac_cv_prog_CC+set}" = set; then
2245 echo $ECHO_N "(cached) $ECHO_C" >&6
2246 else
2247 if test -n "$CC"; then
2248 ac_cv_prog_CC="$CC" # Let the user override the test.
2249 else
2250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2251 for as_dir in $PATH
2253 IFS=$as_save_IFS
2254 test -z "$as_dir" && as_dir=.
2255 for ac_exec_ext in '' $ac_executable_extensions; do
2256 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2257 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2258 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2259 break 2
2261 done
2262 done
2266 CC=$ac_cv_prog_CC
2267 if test -n "$CC"; then
2268 echo "$as_me:$LINENO: result: $CC" >&5
2269 echo "${ECHO_T}$CC" >&6
2270 else
2271 echo "$as_me:$LINENO: result: no" >&5
2272 echo "${ECHO_T}no" >&6
2275 test -n "$CC" && break
2276 done
2278 if test -z "$CC"; then
2279 ac_ct_CC=$CC
2280 for ac_prog in cl
2282 # Extract the first word of "$ac_prog", so it can be a program name with args.
2283 set dummy $ac_prog; ac_word=$2
2284 echo "$as_me:$LINENO: checking for $ac_word" >&5
2285 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2286 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2287 echo $ECHO_N "(cached) $ECHO_C" >&6
2288 else
2289 if test -n "$ac_ct_CC"; then
2290 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2291 else
2292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2293 for as_dir in $PATH
2295 IFS=$as_save_IFS
2296 test -z "$as_dir" && as_dir=.
2297 for ac_exec_ext in '' $ac_executable_extensions; do
2298 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2299 ac_cv_prog_ac_ct_CC="$ac_prog"
2300 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2301 break 2
2303 done
2304 done
2308 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2309 if test -n "$ac_ct_CC"; then
2310 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2311 echo "${ECHO_T}$ac_ct_CC" >&6
2312 else
2313 echo "$as_me:$LINENO: result: no" >&5
2314 echo "${ECHO_T}no" >&6
2317 test -n "$ac_ct_CC" && break
2318 done
2320 CC=$ac_ct_CC
2326 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2327 See \`config.log' for more details." >&5
2328 echo "$as_me: error: no acceptable C compiler found in \$PATH
2329 See \`config.log' for more details." >&2;}
2330 { (exit 1); exit 1; }; }
2332 # Provide some information about the compiler.
2333 echo "$as_me:$LINENO:" \
2334 "checking for C compiler version" >&5
2335 ac_compiler=`set X $ac_compile; echo $2`
2336 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2337 (eval $ac_compiler --version </dev/null >&5) 2>&5
2338 ac_status=$?
2339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2340 (exit $ac_status); }
2341 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2342 (eval $ac_compiler -v </dev/null >&5) 2>&5
2343 ac_status=$?
2344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2345 (exit $ac_status); }
2346 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2347 (eval $ac_compiler -V </dev/null >&5) 2>&5
2348 ac_status=$?
2349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2350 (exit $ac_status); }
2352 cat >conftest.$ac_ext <<_ACEOF
2353 /* confdefs.h. */
2354 _ACEOF
2355 cat confdefs.h >>conftest.$ac_ext
2356 cat >>conftest.$ac_ext <<_ACEOF
2357 /* end confdefs.h. */
2360 main ()
2364 return 0;
2366 _ACEOF
2367 # FIXME: Cleanup?
2368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2369 (eval $ac_link) 2>&5
2370 ac_status=$?
2371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2372 (exit $ac_status); }; then
2373 gcc_no_link=no
2374 else
2375 gcc_no_link=yes
2378 if test x$gcc_no_link = xyes; then
2379 # Setting cross_compile will disable run tests; it will
2380 # also disable AC_CHECK_FILE but that's generally
2381 # correct if we can't link.
2382 cross_compiling=yes
2383 EXEEXT=
2384 else
2385 cat >conftest.$ac_ext <<_ACEOF
2386 /* confdefs.h. */
2387 _ACEOF
2388 cat confdefs.h >>conftest.$ac_ext
2389 cat >>conftest.$ac_ext <<_ACEOF
2390 /* end confdefs.h. */
2393 main ()
2397 return 0;
2399 _ACEOF
2400 ac_clean_files_save=$ac_clean_files
2401 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2402 # Try to create an executable without -o first, disregard a.out.
2403 # It will help us diagnose broken compilers, and finding out an intuition
2404 # of exeext.
2405 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2406 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2407 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2408 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2409 (eval $ac_link_default) 2>&5
2410 ac_status=$?
2411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2412 (exit $ac_status); }; then
2413 # Find the output, starting from the most likely. This scheme is
2414 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2415 # resort.
2417 # Be careful to initialize this variable, since it used to be cached.
2418 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2419 ac_cv_exeext=
2420 # b.out is created by i960 compilers.
2421 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2423 test -f "$ac_file" || continue
2424 case $ac_file in
2425 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2427 conftest.$ac_ext )
2428 # This is the source file.
2430 [ab].out )
2431 # We found the default executable, but exeext='' is most
2432 # certainly right.
2433 break;;
2434 *.* )
2435 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2436 # FIXME: I believe we export ac_cv_exeext for Libtool,
2437 # but it would be cool to find out if it's true. Does anybody
2438 # maintain Libtool? --akim.
2439 export ac_cv_exeext
2440 break;;
2442 break;;
2443 esac
2444 done
2445 else
2446 echo "$as_me: failed program was:" >&5
2447 sed 's/^/| /' conftest.$ac_ext >&5
2449 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2450 See \`config.log' for more details." >&5
2451 echo "$as_me: error: C compiler cannot create executables
2452 See \`config.log' for more details." >&2;}
2453 { (exit 77); exit 77; }; }
2456 ac_exeext=$ac_cv_exeext
2457 echo "$as_me:$LINENO: result: $ac_file" >&5
2458 echo "${ECHO_T}$ac_file" >&6
2460 # Check the compiler produces executables we can run. If not, either
2461 # the compiler is broken, or we cross compile.
2462 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2463 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2464 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2465 # If not cross compiling, check that we can run a simple program.
2466 if test "$cross_compiling" != yes; then
2467 if { ac_try='./$ac_file'
2468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2469 (eval $ac_try) 2>&5
2470 ac_status=$?
2471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2472 (exit $ac_status); }; }; then
2473 cross_compiling=no
2474 else
2475 if test "$cross_compiling" = maybe; then
2476 cross_compiling=yes
2477 else
2478 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2479 If you meant to cross compile, use \`--host'.
2480 See \`config.log' for more details." >&5
2481 echo "$as_me: error: cannot run C compiled programs.
2482 If you meant to cross compile, use \`--host'.
2483 See \`config.log' for more details." >&2;}
2484 { (exit 1); exit 1; }; }
2488 echo "$as_me:$LINENO: result: yes" >&5
2489 echo "${ECHO_T}yes" >&6
2491 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2492 ac_clean_files=$ac_clean_files_save
2493 # Check the compiler produces executables we can run. If not, either
2494 # the compiler is broken, or we cross compile.
2495 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2496 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2497 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2498 echo "${ECHO_T}$cross_compiling" >&6
2500 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2501 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2503 (eval $ac_link) 2>&5
2504 ac_status=$?
2505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2506 (exit $ac_status); }; then
2507 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2508 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2509 # work properly (i.e., refer to `conftest.exe'), while it won't with
2510 # `rm'.
2511 for ac_file in conftest.exe conftest conftest.*; do
2512 test -f "$ac_file" || continue
2513 case $ac_file in
2514 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2515 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2516 export ac_cv_exeext
2517 break;;
2518 * ) break;;
2519 esac
2520 done
2521 else
2522 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2523 See \`config.log' for more details." >&5
2524 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2525 See \`config.log' for more details." >&2;}
2526 { (exit 1); exit 1; }; }
2529 rm -f conftest$ac_cv_exeext
2530 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2531 echo "${ECHO_T}$ac_cv_exeext" >&6
2533 rm -f conftest.$ac_ext
2534 EXEEXT=$ac_cv_exeext
2535 ac_exeext=$EXEEXT
2537 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2538 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2539 if test "${ac_cv_objext+set}" = set; then
2540 echo $ECHO_N "(cached) $ECHO_C" >&6
2541 else
2542 cat >conftest.$ac_ext <<_ACEOF
2543 /* confdefs.h. */
2544 _ACEOF
2545 cat confdefs.h >>conftest.$ac_ext
2546 cat >>conftest.$ac_ext <<_ACEOF
2547 /* end confdefs.h. */
2550 main ()
2554 return 0;
2556 _ACEOF
2557 rm -f conftest.o conftest.obj
2558 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2559 (eval $ac_compile) 2>&5
2560 ac_status=$?
2561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2562 (exit $ac_status); }; then
2563 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2564 case $ac_file in
2565 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2566 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2567 break;;
2568 esac
2569 done
2570 else
2571 echo "$as_me: failed program was:" >&5
2572 sed 's/^/| /' conftest.$ac_ext >&5
2574 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2575 See \`config.log' for more details." >&5
2576 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2577 See \`config.log' for more details." >&2;}
2578 { (exit 1); exit 1; }; }
2581 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2583 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2584 echo "${ECHO_T}$ac_cv_objext" >&6
2585 OBJEXT=$ac_cv_objext
2586 ac_objext=$OBJEXT
2587 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2588 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2589 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2590 echo $ECHO_N "(cached) $ECHO_C" >&6
2591 else
2592 cat >conftest.$ac_ext <<_ACEOF
2593 /* confdefs.h. */
2594 _ACEOF
2595 cat confdefs.h >>conftest.$ac_ext
2596 cat >>conftest.$ac_ext <<_ACEOF
2597 /* end confdefs.h. */
2600 main ()
2602 #ifndef __GNUC__
2603 choke me
2604 #endif
2607 return 0;
2609 _ACEOF
2610 rm -f conftest.$ac_objext
2611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2612 (eval $ac_compile) 2>conftest.er1
2613 ac_status=$?
2614 grep -v '^ *+' conftest.er1 >conftest.err
2615 rm -f conftest.er1
2616 cat conftest.err >&5
2617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2618 (exit $ac_status); } &&
2619 { ac_try='test -z "$ac_c_werror_flag"
2620 || test ! -s conftest.err'
2621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2622 (eval $ac_try) 2>&5
2623 ac_status=$?
2624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2625 (exit $ac_status); }; } &&
2626 { ac_try='test -s conftest.$ac_objext'
2627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2628 (eval $ac_try) 2>&5
2629 ac_status=$?
2630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2631 (exit $ac_status); }; }; then
2632 ac_compiler_gnu=yes
2633 else
2634 echo "$as_me: failed program was:" >&5
2635 sed 's/^/| /' conftest.$ac_ext >&5
2637 ac_compiler_gnu=no
2639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2640 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2643 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2644 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2645 GCC=`test $ac_compiler_gnu = yes && echo yes`
2646 ac_test_CFLAGS=${CFLAGS+set}
2647 ac_save_CFLAGS=$CFLAGS
2648 CFLAGS="-g"
2649 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2650 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2651 if test "${ac_cv_prog_cc_g+set}" = set; then
2652 echo $ECHO_N "(cached) $ECHO_C" >&6
2653 else
2654 cat >conftest.$ac_ext <<_ACEOF
2655 /* confdefs.h. */
2656 _ACEOF
2657 cat confdefs.h >>conftest.$ac_ext
2658 cat >>conftest.$ac_ext <<_ACEOF
2659 /* end confdefs.h. */
2662 main ()
2666 return 0;
2668 _ACEOF
2669 rm -f conftest.$ac_objext
2670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2671 (eval $ac_compile) 2>conftest.er1
2672 ac_status=$?
2673 grep -v '^ *+' conftest.er1 >conftest.err
2674 rm -f conftest.er1
2675 cat conftest.err >&5
2676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2677 (exit $ac_status); } &&
2678 { ac_try='test -z "$ac_c_werror_flag"
2679 || test ! -s conftest.err'
2680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2681 (eval $ac_try) 2>&5
2682 ac_status=$?
2683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2684 (exit $ac_status); }; } &&
2685 { ac_try='test -s conftest.$ac_objext'
2686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2687 (eval $ac_try) 2>&5
2688 ac_status=$?
2689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2690 (exit $ac_status); }; }; then
2691 ac_cv_prog_cc_g=yes
2692 else
2693 echo "$as_me: failed program was:" >&5
2694 sed 's/^/| /' conftest.$ac_ext >&5
2696 ac_cv_prog_cc_g=no
2698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2700 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2701 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2702 if test "$ac_test_CFLAGS" = set; then
2703 CFLAGS=$ac_save_CFLAGS
2704 elif test $ac_cv_prog_cc_g = yes; then
2705 if test "$GCC" = yes; then
2706 CFLAGS="-g -O2"
2707 else
2708 CFLAGS="-g"
2710 else
2711 if test "$GCC" = yes; then
2712 CFLAGS="-O2"
2713 else
2714 CFLAGS=
2717 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2718 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2719 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2720 echo $ECHO_N "(cached) $ECHO_C" >&6
2721 else
2722 ac_cv_prog_cc_stdc=no
2723 ac_save_CC=$CC
2724 cat >conftest.$ac_ext <<_ACEOF
2725 /* confdefs.h. */
2726 _ACEOF
2727 cat confdefs.h >>conftest.$ac_ext
2728 cat >>conftest.$ac_ext <<_ACEOF
2729 /* end confdefs.h. */
2730 #include <stdarg.h>
2731 #include <stdio.h>
2732 #include <sys/types.h>
2733 #include <sys/stat.h>
2734 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2735 struct buf { int x; };
2736 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2737 static char *e (p, i)
2738 char **p;
2739 int i;
2741 return p[i];
2743 static char *f (char * (*g) (char **, int), char **p, ...)
2745 char *s;
2746 va_list v;
2747 va_start (v,p);
2748 s = g (p, va_arg (v,int));
2749 va_end (v);
2750 return s;
2753 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2754 function prototypes and stuff, but not '\xHH' hex character constants.
2755 These don't provoke an error unfortunately, instead are silently treated
2756 as 'x'. The following induces an error, until -std1 is added to get
2757 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2758 array size at least. It's necessary to write '\x00'==0 to get something
2759 that's true only with -std1. */
2760 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2762 int test (int i, double x);
2763 struct s1 {int (*f) (int a);};
2764 struct s2 {int (*f) (double a);};
2765 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2766 int argc;
2767 char **argv;
2769 main ()
2771 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2773 return 0;
2775 _ACEOF
2776 # Don't try gcc -ansi; that turns off useful extensions and
2777 # breaks some systems' header files.
2778 # AIX -qlanglvl=ansi
2779 # Ultrix and OSF/1 -std1
2780 # HP-UX 10.20 and later -Ae
2781 # HP-UX older versions -Aa -D_HPUX_SOURCE
2782 # SVR4 -Xc -D__EXTENSIONS__
2783 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2785 CC="$ac_save_CC $ac_arg"
2786 rm -f conftest.$ac_objext
2787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2788 (eval $ac_compile) 2>conftest.er1
2789 ac_status=$?
2790 grep -v '^ *+' conftest.er1 >conftest.err
2791 rm -f conftest.er1
2792 cat conftest.err >&5
2793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2794 (exit $ac_status); } &&
2795 { ac_try='test -z "$ac_c_werror_flag"
2796 || test ! -s conftest.err'
2797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2798 (eval $ac_try) 2>&5
2799 ac_status=$?
2800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2801 (exit $ac_status); }; } &&
2802 { ac_try='test -s conftest.$ac_objext'
2803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2804 (eval $ac_try) 2>&5
2805 ac_status=$?
2806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2807 (exit $ac_status); }; }; then
2808 ac_cv_prog_cc_stdc=$ac_arg
2809 break
2810 else
2811 echo "$as_me: failed program was:" >&5
2812 sed 's/^/| /' conftest.$ac_ext >&5
2815 rm -f conftest.err conftest.$ac_objext
2816 done
2817 rm -f conftest.$ac_ext conftest.$ac_objext
2818 CC=$ac_save_CC
2822 case "x$ac_cv_prog_cc_stdc" in
2823 x|xno)
2824 echo "$as_me:$LINENO: result: none needed" >&5
2825 echo "${ECHO_T}none needed" >&6 ;;
2827 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2828 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2829 CC="$CC $ac_cv_prog_cc_stdc" ;;
2830 esac
2832 # Some people use a C++ compiler to compile C. Since we use `exit',
2833 # in C++ we need to declare it. In case someone uses the same compiler
2834 # for both compiling C and C++ we need to have the C++ compiler decide
2835 # the declaration of exit, since it's the most demanding environment.
2836 cat >conftest.$ac_ext <<_ACEOF
2837 #ifndef __cplusplus
2838 choke me
2839 #endif
2840 _ACEOF
2841 rm -f conftest.$ac_objext
2842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2843 (eval $ac_compile) 2>conftest.er1
2844 ac_status=$?
2845 grep -v '^ *+' conftest.er1 >conftest.err
2846 rm -f conftest.er1
2847 cat conftest.err >&5
2848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2849 (exit $ac_status); } &&
2850 { ac_try='test -z "$ac_c_werror_flag"
2851 || test ! -s conftest.err'
2852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2853 (eval $ac_try) 2>&5
2854 ac_status=$?
2855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2856 (exit $ac_status); }; } &&
2857 { ac_try='test -s conftest.$ac_objext'
2858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2859 (eval $ac_try) 2>&5
2860 ac_status=$?
2861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2862 (exit $ac_status); }; }; then
2863 for ac_declaration in \
2864 '' \
2865 'extern "C" void std::exit (int) throw (); using std::exit;' \
2866 'extern "C" void std::exit (int); using std::exit;' \
2867 'extern "C" void exit (int) throw ();' \
2868 'extern "C" void exit (int);' \
2869 'void exit (int);'
2871 cat >conftest.$ac_ext <<_ACEOF
2872 /* confdefs.h. */
2873 _ACEOF
2874 cat confdefs.h >>conftest.$ac_ext
2875 cat >>conftest.$ac_ext <<_ACEOF
2876 /* end confdefs.h. */
2877 $ac_declaration
2878 #include <stdlib.h>
2880 main ()
2882 exit (42);
2884 return 0;
2886 _ACEOF
2887 rm -f conftest.$ac_objext
2888 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2889 (eval $ac_compile) 2>conftest.er1
2890 ac_status=$?
2891 grep -v '^ *+' conftest.er1 >conftest.err
2892 rm -f conftest.er1
2893 cat conftest.err >&5
2894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2895 (exit $ac_status); } &&
2896 { ac_try='test -z "$ac_c_werror_flag"
2897 || test ! -s conftest.err'
2898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2899 (eval $ac_try) 2>&5
2900 ac_status=$?
2901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2902 (exit $ac_status); }; } &&
2903 { ac_try='test -s conftest.$ac_objext'
2904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2905 (eval $ac_try) 2>&5
2906 ac_status=$?
2907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2908 (exit $ac_status); }; }; then
2910 else
2911 echo "$as_me: failed program was:" >&5
2912 sed 's/^/| /' conftest.$ac_ext >&5
2914 continue
2916 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2917 cat >conftest.$ac_ext <<_ACEOF
2918 /* confdefs.h. */
2919 _ACEOF
2920 cat confdefs.h >>conftest.$ac_ext
2921 cat >>conftest.$ac_ext <<_ACEOF
2922 /* end confdefs.h. */
2923 $ac_declaration
2925 main ()
2927 exit (42);
2929 return 0;
2931 _ACEOF
2932 rm -f conftest.$ac_objext
2933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2934 (eval $ac_compile) 2>conftest.er1
2935 ac_status=$?
2936 grep -v '^ *+' conftest.er1 >conftest.err
2937 rm -f conftest.er1
2938 cat conftest.err >&5
2939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2940 (exit $ac_status); } &&
2941 { ac_try='test -z "$ac_c_werror_flag"
2942 || test ! -s conftest.err'
2943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2944 (eval $ac_try) 2>&5
2945 ac_status=$?
2946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2947 (exit $ac_status); }; } &&
2948 { ac_try='test -s conftest.$ac_objext'
2949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2950 (eval $ac_try) 2>&5
2951 ac_status=$?
2952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2953 (exit $ac_status); }; }; then
2954 break
2955 else
2956 echo "$as_me: failed program was:" >&5
2957 sed 's/^/| /' conftest.$ac_ext >&5
2960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2961 done
2962 rm -f conftest*
2963 if test -n "$ac_declaration"; then
2964 echo '#ifdef __cplusplus' >>confdefs.h
2965 echo $ac_declaration >>confdefs.h
2966 echo '#endif' >>confdefs.h
2969 else
2970 echo "$as_me: failed program was:" >&5
2971 sed 's/^/| /' conftest.$ac_ext >&5
2974 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2975 ac_ext=c
2976 ac_cpp='$CPP $CPPFLAGS'
2977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2981 ac_ext=cc
2982 ac_cpp='$CXXCPP $CPPFLAGS'
2983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2986 if test -n "$ac_tool_prefix"; then
2987 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
2989 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2990 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2991 echo "$as_me:$LINENO: checking for $ac_word" >&5
2992 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2993 if test "${glibcxx_cv_prog_CXX+set}" = set; then
2994 echo $ECHO_N "(cached) $ECHO_C" >&6
2995 else
2996 if test -n "$CXX"; then
2997 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
2998 else
2999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3000 for as_dir in $PATH
3002 IFS=$as_save_IFS
3003 test -z "$as_dir" && as_dir=.
3004 for ac_exec_ext in '' $ac_executable_extensions; do
3005 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3006 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3007 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3008 break 2
3010 done
3011 done
3015 CXX=$glibcxx_cv_prog_CXX
3016 if test -n "$CXX"; then
3017 echo "$as_me:$LINENO: result: $CXX" >&5
3018 echo "${ECHO_T}$CXX" >&6
3019 else
3020 echo "$as_me:$LINENO: result: no" >&5
3021 echo "${ECHO_T}no" >&6
3024 test -n "$CXX" && break
3025 done
3027 if test -z "$CXX"; then
3028 ac_ct_CXX=$CXX
3029 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3031 # Extract the first word of "$ac_prog", so it can be a program name with args.
3032 set dummy $ac_prog; ac_word=$2
3033 echo "$as_me:$LINENO: checking for $ac_word" >&5
3034 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3035 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3036 echo $ECHO_N "(cached) $ECHO_C" >&6
3037 else
3038 if test -n "$ac_ct_CXX"; then
3039 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3040 else
3041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3042 for as_dir in $PATH
3044 IFS=$as_save_IFS
3045 test -z "$as_dir" && as_dir=.
3046 for ac_exec_ext in '' $ac_executable_extensions; do
3047 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3048 ac_cv_prog_ac_ct_CXX="$ac_prog"
3049 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3050 break 2
3052 done
3053 done
3057 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3058 if test -n "$ac_ct_CXX"; then
3059 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3060 echo "${ECHO_T}$ac_ct_CXX" >&6
3061 else
3062 echo "$as_me:$LINENO: result: no" >&5
3063 echo "${ECHO_T}no" >&6
3066 test -n "$ac_ct_CXX" && break
3067 done
3068 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3070 CXX=$ac_ct_CXX
3074 # Provide some information about the compiler.
3075 echo "$as_me:$LINENO:" \
3076 "checking for C++ compiler version" >&5
3077 ac_compiler=`set X $ac_compile; echo $2`
3078 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3079 (eval $ac_compiler --version </dev/null >&5) 2>&5
3080 ac_status=$?
3081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3082 (exit $ac_status); }
3083 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3084 (eval $ac_compiler -v </dev/null >&5) 2>&5
3085 ac_status=$?
3086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3087 (exit $ac_status); }
3088 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3089 (eval $ac_compiler -V </dev/null >&5) 2>&5
3090 ac_status=$?
3091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3092 (exit $ac_status); }
3094 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3095 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3096 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3097 echo $ECHO_N "(cached) $ECHO_C" >&6
3098 else
3099 cat >conftest.$ac_ext <<_ACEOF
3100 /* confdefs.h. */
3101 _ACEOF
3102 cat confdefs.h >>conftest.$ac_ext
3103 cat >>conftest.$ac_ext <<_ACEOF
3104 /* end confdefs.h. */
3107 main ()
3109 #ifndef __GNUC__
3110 choke me
3111 #endif
3114 return 0;
3116 _ACEOF
3117 rm -f conftest.$ac_objext
3118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3119 (eval $ac_compile) 2>conftest.er1
3120 ac_status=$?
3121 grep -v '^ *+' conftest.er1 >conftest.err
3122 rm -f conftest.er1
3123 cat conftest.err >&5
3124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3125 (exit $ac_status); } &&
3126 { ac_try='test -z "$ac_cxx_werror_flag"
3127 || test ! -s conftest.err'
3128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3129 (eval $ac_try) 2>&5
3130 ac_status=$?
3131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3132 (exit $ac_status); }; } &&
3133 { ac_try='test -s conftest.$ac_objext'
3134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3135 (eval $ac_try) 2>&5
3136 ac_status=$?
3137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3138 (exit $ac_status); }; }; then
3139 ac_compiler_gnu=yes
3140 else
3141 echo "$as_me: failed program was:" >&5
3142 sed 's/^/| /' conftest.$ac_ext >&5
3144 ac_compiler_gnu=no
3146 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3147 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3150 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3151 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3152 GXX=`test $ac_compiler_gnu = yes && echo yes`
3153 ac_test_CXXFLAGS=${CXXFLAGS+set}
3154 ac_save_CXXFLAGS=$CXXFLAGS
3155 CXXFLAGS="-g"
3156 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3157 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3158 if test "${ac_cv_prog_cxx_g+set}" = set; then
3159 echo $ECHO_N "(cached) $ECHO_C" >&6
3160 else
3161 cat >conftest.$ac_ext <<_ACEOF
3162 /* confdefs.h. */
3163 _ACEOF
3164 cat confdefs.h >>conftest.$ac_ext
3165 cat >>conftest.$ac_ext <<_ACEOF
3166 /* end confdefs.h. */
3169 main ()
3173 return 0;
3175 _ACEOF
3176 rm -f conftest.$ac_objext
3177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3178 (eval $ac_compile) 2>conftest.er1
3179 ac_status=$?
3180 grep -v '^ *+' conftest.er1 >conftest.err
3181 rm -f conftest.er1
3182 cat conftest.err >&5
3183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3184 (exit $ac_status); } &&
3185 { ac_try='test -z "$ac_cxx_werror_flag"
3186 || test ! -s conftest.err'
3187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3188 (eval $ac_try) 2>&5
3189 ac_status=$?
3190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3191 (exit $ac_status); }; } &&
3192 { ac_try='test -s conftest.$ac_objext'
3193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3194 (eval $ac_try) 2>&5
3195 ac_status=$?
3196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3197 (exit $ac_status); }; }; then
3198 ac_cv_prog_cxx_g=yes
3199 else
3200 echo "$as_me: failed program was:" >&5
3201 sed 's/^/| /' conftest.$ac_ext >&5
3203 ac_cv_prog_cxx_g=no
3205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3207 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3208 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3209 if test "$ac_test_CXXFLAGS" = set; then
3210 CXXFLAGS=$ac_save_CXXFLAGS
3211 elif test $ac_cv_prog_cxx_g = yes; then
3212 if test "$GXX" = yes; then
3213 CXXFLAGS="-g -O2"
3214 else
3215 CXXFLAGS="-g"
3217 else
3218 if test "$GXX" = yes; then
3219 CXXFLAGS="-O2"
3220 else
3221 CXXFLAGS=
3224 for ac_declaration in \
3225 '' \
3226 'extern "C" void std::exit (int) throw (); using std::exit;' \
3227 'extern "C" void std::exit (int); using std::exit;' \
3228 'extern "C" void exit (int) throw ();' \
3229 'extern "C" void exit (int);' \
3230 'void exit (int);'
3232 cat >conftest.$ac_ext <<_ACEOF
3233 /* confdefs.h. */
3234 _ACEOF
3235 cat confdefs.h >>conftest.$ac_ext
3236 cat >>conftest.$ac_ext <<_ACEOF
3237 /* end confdefs.h. */
3238 $ac_declaration
3239 #include <stdlib.h>
3241 main ()
3243 exit (42);
3245 return 0;
3247 _ACEOF
3248 rm -f conftest.$ac_objext
3249 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3250 (eval $ac_compile) 2>conftest.er1
3251 ac_status=$?
3252 grep -v '^ *+' conftest.er1 >conftest.err
3253 rm -f conftest.er1
3254 cat conftest.err >&5
3255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3256 (exit $ac_status); } &&
3257 { ac_try='test -z "$ac_cxx_werror_flag"
3258 || test ! -s conftest.err'
3259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3260 (eval $ac_try) 2>&5
3261 ac_status=$?
3262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3263 (exit $ac_status); }; } &&
3264 { ac_try='test -s conftest.$ac_objext'
3265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3266 (eval $ac_try) 2>&5
3267 ac_status=$?
3268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3269 (exit $ac_status); }; }; then
3271 else
3272 echo "$as_me: failed program was:" >&5
3273 sed 's/^/| /' conftest.$ac_ext >&5
3275 continue
3277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3278 cat >conftest.$ac_ext <<_ACEOF
3279 /* confdefs.h. */
3280 _ACEOF
3281 cat confdefs.h >>conftest.$ac_ext
3282 cat >>conftest.$ac_ext <<_ACEOF
3283 /* end confdefs.h. */
3284 $ac_declaration
3286 main ()
3288 exit (42);
3290 return 0;
3292 _ACEOF
3293 rm -f conftest.$ac_objext
3294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3295 (eval $ac_compile) 2>conftest.er1
3296 ac_status=$?
3297 grep -v '^ *+' conftest.er1 >conftest.err
3298 rm -f conftest.er1
3299 cat conftest.err >&5
3300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3301 (exit $ac_status); } &&
3302 { ac_try='test -z "$ac_cxx_werror_flag"
3303 || test ! -s conftest.err'
3304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3305 (eval $ac_try) 2>&5
3306 ac_status=$?
3307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3308 (exit $ac_status); }; } &&
3309 { ac_try='test -s conftest.$ac_objext'
3310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3311 (eval $ac_try) 2>&5
3312 ac_status=$?
3313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3314 (exit $ac_status); }; }; then
3315 break
3316 else
3317 echo "$as_me: failed program was:" >&5
3318 sed 's/^/| /' conftest.$ac_ext >&5
3321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3322 done
3323 rm -f conftest*
3324 if test -n "$ac_declaration"; then
3325 echo '#ifdef __cplusplus' >>confdefs.h
3326 echo $ac_declaration >>confdefs.h
3327 echo '#endif' >>confdefs.h
3330 ac_ext=c
3331 ac_cpp='$CPP $CPPFLAGS'
3332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3336 CXXFLAGS="$save_CXXFLAGS"
3341 # For directory versioning (e.g., headers) and other variables.
3342 echo "$as_me:$LINENO: checking for GCC version number" >&5
3343 echo $ECHO_N "checking for GCC version number... $ECHO_C" >&6
3344 gcc_version=`$CXX -dumpversion`
3345 echo "$as_me:$LINENO: result: $gcc_version" >&5
3346 echo "${ECHO_T}$gcc_version" >&6
3348 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3349 # available). Uncomment the next line to force a particular method.
3350 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3351 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3352 LN_S=$as_ln_s
3353 if test "$LN_S" = "ln -s"; then
3354 echo "$as_me:$LINENO: result: yes" >&5
3355 echo "${ECHO_T}yes" >&6
3356 else
3357 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3358 echo "${ECHO_T}no, using $LN_S" >&6
3361 #LN_S='cp -p'
3363 if test -n "$ac_tool_prefix"; then
3364 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3365 set dummy ${ac_tool_prefix}as; ac_word=$2
3366 echo "$as_me:$LINENO: checking for $ac_word" >&5
3367 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3368 if test "${ac_cv_prog_AS+set}" = set; then
3369 echo $ECHO_N "(cached) $ECHO_C" >&6
3370 else
3371 if test -n "$AS"; then
3372 ac_cv_prog_AS="$AS" # Let the user override the test.
3373 else
3374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3375 for as_dir in $PATH
3377 IFS=$as_save_IFS
3378 test -z "$as_dir" && as_dir=.
3379 for ac_exec_ext in '' $ac_executable_extensions; do
3380 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3381 ac_cv_prog_AS="${ac_tool_prefix}as"
3382 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3383 break 2
3385 done
3386 done
3390 AS=$ac_cv_prog_AS
3391 if test -n "$AS"; then
3392 echo "$as_me:$LINENO: result: $AS" >&5
3393 echo "${ECHO_T}$AS" >&6
3394 else
3395 echo "$as_me:$LINENO: result: no" >&5
3396 echo "${ECHO_T}no" >&6
3400 if test -z "$ac_cv_prog_AS"; then
3401 ac_ct_AS=$AS
3402 # Extract the first word of "as", so it can be a program name with args.
3403 set dummy as; ac_word=$2
3404 echo "$as_me:$LINENO: checking for $ac_word" >&5
3405 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3406 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3407 echo $ECHO_N "(cached) $ECHO_C" >&6
3408 else
3409 if test -n "$ac_ct_AS"; then
3410 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3411 else
3412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3413 for as_dir in $PATH
3415 IFS=$as_save_IFS
3416 test -z "$as_dir" && as_dir=.
3417 for ac_exec_ext in '' $ac_executable_extensions; do
3418 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3419 ac_cv_prog_ac_ct_AS="as"
3420 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3421 break 2
3423 done
3424 done
3428 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3429 if test -n "$ac_ct_AS"; then
3430 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3431 echo "${ECHO_T}$ac_ct_AS" >&6
3432 else
3433 echo "$as_me:$LINENO: result: no" >&5
3434 echo "${ECHO_T}no" >&6
3437 AS=$ac_ct_AS
3438 else
3439 AS="$ac_cv_prog_AS"
3442 if test -n "$ac_tool_prefix"; then
3443 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3444 set dummy ${ac_tool_prefix}ar; ac_word=$2
3445 echo "$as_me:$LINENO: checking for $ac_word" >&5
3446 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3447 if test "${ac_cv_prog_AR+set}" = set; then
3448 echo $ECHO_N "(cached) $ECHO_C" >&6
3449 else
3450 if test -n "$AR"; then
3451 ac_cv_prog_AR="$AR" # Let the user override the test.
3452 else
3453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3454 for as_dir in $PATH
3456 IFS=$as_save_IFS
3457 test -z "$as_dir" && as_dir=.
3458 for ac_exec_ext in '' $ac_executable_extensions; do
3459 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3460 ac_cv_prog_AR="${ac_tool_prefix}ar"
3461 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3462 break 2
3464 done
3465 done
3469 AR=$ac_cv_prog_AR
3470 if test -n "$AR"; then
3471 echo "$as_me:$LINENO: result: $AR" >&5
3472 echo "${ECHO_T}$AR" >&6
3473 else
3474 echo "$as_me:$LINENO: result: no" >&5
3475 echo "${ECHO_T}no" >&6
3479 if test -z "$ac_cv_prog_AR"; then
3480 ac_ct_AR=$AR
3481 # Extract the first word of "ar", so it can be a program name with args.
3482 set dummy ar; ac_word=$2
3483 echo "$as_me:$LINENO: checking for $ac_word" >&5
3484 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3485 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3486 echo $ECHO_N "(cached) $ECHO_C" >&6
3487 else
3488 if test -n "$ac_ct_AR"; then
3489 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3490 else
3491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3492 for as_dir in $PATH
3494 IFS=$as_save_IFS
3495 test -z "$as_dir" && as_dir=.
3496 for ac_exec_ext in '' $ac_executable_extensions; do
3497 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3498 ac_cv_prog_ac_ct_AR="ar"
3499 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3500 break 2
3502 done
3503 done
3507 ac_ct_AR=$ac_cv_prog_ac_ct_AR
3508 if test -n "$ac_ct_AR"; then
3509 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
3510 echo "${ECHO_T}$ac_ct_AR" >&6
3511 else
3512 echo "$as_me:$LINENO: result: no" >&5
3513 echo "${ECHO_T}no" >&6
3516 AR=$ac_ct_AR
3517 else
3518 AR="$ac_cv_prog_AR"
3521 if test -n "$ac_tool_prefix"; then
3522 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3523 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3524 echo "$as_me:$LINENO: checking for $ac_word" >&5
3525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3526 if test "${ac_cv_prog_RANLIB+set}" = set; then
3527 echo $ECHO_N "(cached) $ECHO_C" >&6
3528 else
3529 if test -n "$RANLIB"; then
3530 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3531 else
3532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3533 for as_dir in $PATH
3535 IFS=$as_save_IFS
3536 test -z "$as_dir" && as_dir=.
3537 for ac_exec_ext in '' $ac_executable_extensions; do
3538 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3539 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3540 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3541 break 2
3543 done
3544 done
3548 RANLIB=$ac_cv_prog_RANLIB
3549 if test -n "$RANLIB"; then
3550 echo "$as_me:$LINENO: result: $RANLIB" >&5
3551 echo "${ECHO_T}$RANLIB" >&6
3552 else
3553 echo "$as_me:$LINENO: result: no" >&5
3554 echo "${ECHO_T}no" >&6
3558 if test -z "$ac_cv_prog_RANLIB"; then
3559 ac_ct_RANLIB=$RANLIB
3560 # Extract the first word of "ranlib", so it can be a program name with args.
3561 set dummy ranlib; ac_word=$2
3562 echo "$as_me:$LINENO: checking for $ac_word" >&5
3563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3564 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3565 echo $ECHO_N "(cached) $ECHO_C" >&6
3566 else
3567 if test -n "$ac_ct_RANLIB"; then
3568 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3569 else
3570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3571 for as_dir in $PATH
3573 IFS=$as_save_IFS
3574 test -z "$as_dir" && as_dir=.
3575 for ac_exec_ext in '' $ac_executable_extensions; do
3576 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3577 ac_cv_prog_ac_ct_RANLIB="ranlib"
3578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3579 break 2
3581 done
3582 done
3584 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
3587 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3588 if test -n "$ac_ct_RANLIB"; then
3589 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3590 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3591 else
3592 echo "$as_me:$LINENO: result: no" >&5
3593 echo "${ECHO_T}no" >&6
3596 RANLIB=$ac_ct_RANLIB
3597 else
3598 RANLIB="$ac_cv_prog_RANLIB"
3602 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
3603 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
3604 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
3605 if test "${enable_maintainer_mode+set}" = set; then
3606 enableval="$enable_maintainer_mode"
3607 USE_MAINTAINER_MODE=$enableval
3608 else
3609 USE_MAINTAINER_MODE=no
3611 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
3612 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
3615 if test $USE_MAINTAINER_MODE = yes; then
3616 MAINTAINER_MODE_TRUE=
3617 MAINTAINER_MODE_FALSE='#'
3618 else
3619 MAINTAINER_MODE_TRUE='#'
3620 MAINTAINER_MODE_FALSE=
3623 MAINT=$MAINTAINER_MODE_TRUE
3627 # Set up safe default values for all subsequent AM_CONDITIONAL tests
3628 # which are themselves conditionally expanded.
3629 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
3630 ## other macros from doing the same. This should be automated.) -pme
3631 need_libmath=no
3632 enable_wchar_t=no
3633 #enable_libstdcxx_debug=no
3634 #enable_libstdcxx_pch=no
3635 #enable_cheaders=c
3636 #c_compatibility=no
3637 #enable_abi_check=no
3638 #enable_symvers=no
3639 #enable_hosted_libstdcxx=yes
3641 # Find platform-specific directories containing configuration info.
3642 # Also possibly modify flags used elsewhere, as needed by the platform.
3644 . $glibcxx_srcdir/configure.host
3645 { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
3646 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
3647 { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
3648 echo "$as_me: OS config directory is $os_include_dir" >&6;}
3652 #AC_MSG_NOTICE([====== Starting libtool configuration])
3654 # Check whether --enable-shared or --disable-shared was given.
3655 if test "${enable_shared+set}" = set; then
3656 enableval="$enable_shared"
3657 p=${PACKAGE-default}
3658 case $enableval in
3659 yes) enable_shared=yes ;;
3660 no) enable_shared=no ;;
3662 enable_shared=no
3663 # Look at the argument we got. We use all the common list separators.
3664 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3665 for pkg in $enableval; do
3666 if test "X$pkg" = "X$p"; then
3667 enable_shared=yes
3669 done
3670 IFS="$ac_save_ifs"
3672 esac
3673 else
3674 enable_shared=yes
3676 # Check whether --enable-static or --disable-static was given.
3677 if test "${enable_static+set}" = set; then
3678 enableval="$enable_static"
3679 p=${PACKAGE-default}
3680 case $enableval in
3681 yes) enable_static=yes ;;
3682 no) enable_static=no ;;
3684 enable_static=no
3685 # Look at the argument we got. We use all the common list separators.
3686 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3687 for pkg in $enableval; do
3688 if test "X$pkg" = "X$p"; then
3689 enable_static=yes
3691 done
3692 IFS="$ac_save_ifs"
3694 esac
3695 else
3696 enable_static=yes
3698 # Check whether --enable-fast-install or --disable-fast-install was given.
3699 if test "${enable_fast_install+set}" = set; then
3700 enableval="$enable_fast_install"
3701 p=${PACKAGE-default}
3702 case $enableval in
3703 yes) enable_fast_install=yes ;;
3704 no) enable_fast_install=no ;;
3706 enable_fast_install=no
3707 # Look at the argument we got. We use all the common list separators.
3708 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
3709 for pkg in $enableval; do
3710 if test "X$pkg" = "X$p"; then
3711 enable_fast_install=yes
3713 done
3714 IFS="$ac_save_ifs"
3716 esac
3717 else
3718 enable_fast_install=yes
3721 # Check whether --with-gnu-ld or --without-gnu-ld was given.
3722 if test "${with_gnu_ld+set}" = set; then
3723 withval="$with_gnu_ld"
3724 test "$withval" = no || with_gnu_ld=yes
3725 else
3726 with_gnu_ld=no
3728 ac_prog=ld
3729 if test "$GCC" = yes; then
3730 # Check if gcc -print-prog-name=ld gives a path.
3731 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
3732 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
3733 case $host in
3734 *-*-mingw*)
3735 # gcc leaves a trailing carriage return which upsets mingw
3736 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
3738 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
3739 esac
3740 case $ac_prog in
3741 # Accept absolute paths.
3742 [\\/]* | [A-Za-z]:[\\/]*)
3743 re_direlt='/[^/][^/]*/\.\./'
3744 # Canonicalize the path of ld
3745 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3746 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3747 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3748 done
3749 test -z "$LD" && LD="$ac_prog"
3752 # If it fails, then pretend we aren't using GCC.
3753 ac_prog=ld
3756 # If it is relative, then search for the first ld in PATH.
3757 with_gnu_ld=unknown
3759 esac
3760 elif test "$with_gnu_ld" = yes; then
3761 echo "$as_me:$LINENO: checking for GNU ld" >&5
3762 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
3763 else
3764 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
3765 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
3767 if test "${lt_cv_path_LD+set}" = set; then
3768 echo $ECHO_N "(cached) $ECHO_C" >&6
3769 else
3770 if test -z "$LD"; then
3771 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3772 for ac_dir in $PATH; do
3773 test -z "$ac_dir" && ac_dir=.
3774 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3775 lt_cv_path_LD="$ac_dir/$ac_prog"
3776 # Check to see if the program is GNU ld. I'd rather use --version,
3777 # but apparently some GNU ld's only accept -v.
3778 # Break only if it was the GNU/non-GNU ld that we prefer.
3779 if "$lt_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3780 test "$with_gnu_ld" != no && break
3781 else
3782 test "$with_gnu_ld" != yes && break
3785 done
3786 IFS="$ac_save_ifs"
3787 else
3788 lt_cv_path_LD="$LD" # Let the user override the test with a path.
3792 LD="$lt_cv_path_LD"
3793 if test -n "$LD"; then
3794 echo "$as_me:$LINENO: result: $LD" >&5
3795 echo "${ECHO_T}$LD" >&6
3796 else
3797 echo "$as_me:$LINENO: result: no" >&5
3798 echo "${ECHO_T}no" >&6
3800 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
3801 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
3802 { (exit 1); exit 1; }; }
3803 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
3804 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
3805 if test "${lt_cv_prog_gnu_ld+set}" = set; then
3806 echo $ECHO_N "(cached) $ECHO_C" >&6
3807 else
3808 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3809 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3810 lt_cv_prog_gnu_ld=yes
3811 else
3812 lt_cv_prog_gnu_ld=no
3815 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
3816 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
3817 with_gnu_ld=$lt_cv_prog_gnu_ld
3820 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
3821 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
3822 if test "${lt_cv_ld_reload_flag+set}" = set; then
3823 echo $ECHO_N "(cached) $ECHO_C" >&6
3824 else
3825 lt_cv_ld_reload_flag='-r'
3827 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
3828 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
3829 reload_flag=$lt_cv_ld_reload_flag
3830 test -n "$reload_flag" && reload_flag=" $reload_flag"
3832 echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3833 echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3834 if test "${lt_cv_path_NM+set}" = set; then
3835 echo $ECHO_N "(cached) $ECHO_C" >&6
3836 else
3837 if test -n "$NM"; then
3838 # Let the user override the test.
3839 lt_cv_path_NM="$NM"
3840 else
3841 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3842 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3843 test -z "$ac_dir" && ac_dir=.
3844 tmp_nm=$ac_dir/${ac_tool_prefix}nm
3845 if test -f $tmp_nm || test -f $tmp_nm$ac_exeext ; then
3846 # Check to see if the nm accepts a BSD-compat flag.
3847 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3848 # nm: unknown option "B" ignored
3849 # Tru64's nm complains that /dev/null is an invalid object file
3850 if ($tmp_nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep '(/dev/null|Invalid file or object type)' >/dev/null; then
3851 lt_cv_path_NM="$tmp_nm -B"
3852 break
3853 elif ($tmp_nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3854 lt_cv_path_NM="$tmp_nm -p"
3855 break
3856 else
3857 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
3858 continue # so that we can try to find one that supports BSD flags
3861 done
3862 IFS="$ac_save_ifs"
3863 test -z "$lt_cv_path_NM" && lt_cv_path_NM=nm
3867 NM="$lt_cv_path_NM"
3868 echo "$as_me:$LINENO: result: $NM" >&5
3869 echo "${ECHO_T}$NM" >&6
3871 echo "$as_me:$LINENO: checking how to recognise dependant libraries" >&5
3872 echo $ECHO_N "checking how to recognise dependant libraries... $ECHO_C" >&6
3873 if test "${lt_cv_deplibs_check_method+set}" = set; then
3874 echo $ECHO_N "(cached) $ECHO_C" >&6
3875 else
3876 lt_cv_file_magic_cmd='$MAGIC_CMD'
3877 lt_cv_file_magic_test_file=
3878 lt_cv_deplibs_check_method='unknown'
3879 # Need to set the preceding variable on all platforms that support
3880 # interlibrary dependencies.
3881 # 'none' -- dependencies not supported.
3882 # `unknown' -- same as none, but documents that we really don't know.
3883 # 'pass_all' -- all dependencies passed with no checks.
3884 # 'test_compile' -- check by making test program.
3885 # 'file_magic [regex]' -- check by looking for files in library path
3886 # which responds to the $file_magic_cmd with a given egrep regex.
3887 # If you have `file' or equivalent on your system and you're not sure
3888 # whether `pass_all' will *always* work, you probably want this one.
3890 case $host_os in
3891 aix*)
3892 lt_cv_deplibs_check_method=pass_all
3895 beos*)
3896 lt_cv_deplibs_check_method=pass_all
3899 bsdi4*)
3900 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3901 lt_cv_file_magic_cmd='/usr/bin/file -L'
3902 lt_cv_file_magic_test_file=/shlib/libc.so
3905 cygwin* | mingw* |pw32*)
3906 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
3907 lt_cv_file_magic_cmd='$OBJDUMP -f'
3910 darwin* | rhapsody*)
3911 # this will be overwritten by pass_all, but leave it in just in case
3912 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'
3913 lt_cv_file_magic_cmd='/usr/bin/file -L'
3914 case "$host_os" in
3915 rhapsody* | darwin1.012)
3916 lt_cv_file_magic_test_file='/System/Library/Frameworks/System.framework/System'
3918 *) # Darwin 1.3 on
3919 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'
3921 esac
3922 lt_cv_deplibs_check_method=pass_all
3925 freebsd* | kfreebsd*-gnu)
3926 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3927 case $host_cpu in
3928 i*86 )
3929 # Not sure whether the presence of OpenBSD here was a mistake.
3930 # Let's accept both of them until this is cleared up.
3931 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
3932 lt_cv_file_magic_cmd=/usr/bin/file
3933 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3935 esac
3936 else
3937 lt_cv_deplibs_check_method=pass_all
3941 gnu*)
3942 lt_cv_deplibs_check_method=pass_all
3945 hpux10.20*|hpux11*)
3946 case $host_cpu in
3947 hppa*)
3948 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
3949 lt_cv_file_magic_cmd=/usr/bin/file
3950 lt_cv_file_magic_test_file=/usr/lib/libc.sl
3952 ia64*)
3953 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
3954 lt_cv_file_magic_cmd=/usr/bin/file
3955 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3957 esac
3960 irix5* | irix6*)
3961 case $host_os in
3962 irix5*)
3963 # this will be overridden with pass_all, but let us keep it just in case
3964 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1"
3967 case $LD in
3968 *-32|*"-32 ") libmagic=32-bit;;
3969 *-n32|*"-n32 ") libmagic=N32;;
3970 *-64|*"-64 ") libmagic=64-bit;;
3971 *) libmagic=never-match;;
3972 esac
3973 # this will be overridden with pass_all, but let us keep it just in case
3974 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[1234] dynamic lib MIPS - version 1"
3976 esac
3977 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`
3978 lt_cv_deplibs_check_method=pass_all
3981 # This must be Linux ELF.
3982 linux-gnu*)
3983 case $host_cpu in
3984 alpha* | mips* | hppa* | i*86 | powerpc* | sparc* | ia64* | sh* )
3985 lt_cv_deplibs_check_method=pass_all ;;
3987 # glibc up to 2.1.1 does not perform some relocations on ARM
3988 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )' ;;
3989 esac
3990 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so`
3993 netbsd* | knetbsd*-gnu)
3994 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3995 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so\.[0-9]+\.[0-9]+$'
3996 else
3997 lt_cv_deplibs_check_method='match_pattern /lib[^/\.]+\.so$'
4001 newsos6)
4002 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
4003 lt_cv_file_magic_cmd=/usr/bin/file
4004 lt_cv_file_magic_test_file=/usr/lib/libnls.so
4007 osf3* | osf4* | osf5*)
4008 # this will be overridden with pass_all, but let us keep it just in case
4009 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'
4010 lt_cv_file_magic_test_file=/shlib/libc.so
4011 lt_cv_deplibs_check_method=pass_all
4014 sco3.2v5*)
4015 lt_cv_deplibs_check_method=pass_all
4018 solaris*)
4019 lt_cv_deplibs_check_method=pass_all
4020 lt_cv_file_magic_test_file=/lib/libc.so
4023 sysv5uw[78]* | sysv4*uw2*)
4024 lt_cv_deplibs_check_method=pass_all
4027 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
4028 case $host_vendor in
4029 ncr)
4030 lt_cv_deplibs_check_method=pass_all
4032 motorola)
4033 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]'
4034 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
4036 esac
4038 esac
4041 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
4042 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
4043 file_magic_cmd=$lt_cv_file_magic_cmd
4044 deplibs_check_method=$lt_cv_deplibs_check_method
4050 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
4052 # Only perform the check for file, if the check method requires it
4053 case $deplibs_check_method in
4054 file_magic*)
4055 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
4056 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
4057 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
4058 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4059 echo $ECHO_N "(cached) $ECHO_C" >&6
4060 else
4061 case $MAGIC_CMD in
4063 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4065 ?:/*)
4066 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4069 ac_save_MAGIC_CMD="$MAGIC_CMD"
4070 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4071 ac_dummy="/usr/bin:$PATH"
4072 for ac_dir in $ac_dummy; do
4073 test -z "$ac_dir" && ac_dir=.
4074 if test -f $ac_dir/${ac_tool_prefix}file; then
4075 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
4076 if test -n "$file_magic_test_file"; then
4077 case $deplibs_check_method in
4078 "file_magic "*)
4079 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4080 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4081 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4082 egrep "$file_magic_regex" > /dev/null; then
4084 else
4085 cat <<EOF 1>&2
4087 *** Warning: the command libtool uses to detect shared libraries,
4088 *** $file_magic_cmd, produces output that libtool cannot recognize.
4089 *** The result is that libtool may fail to recognize shared libraries
4090 *** as such. This will affect the creation of libtool libraries that
4091 *** depend on shared libraries, but programs linked with such libtool
4092 *** libraries will work regardless of this problem. Nevertheless, you
4093 *** may want to report the problem to your system manager and/or to
4094 *** bug-libtool@gnu.org
4097 fi ;;
4098 esac
4100 break
4102 done
4103 IFS="$ac_save_ifs"
4104 MAGIC_CMD="$ac_save_MAGIC_CMD"
4106 esac
4109 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4110 if test -n "$MAGIC_CMD"; then
4111 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4112 echo "${ECHO_T}$MAGIC_CMD" >&6
4113 else
4114 echo "$as_me:$LINENO: result: no" >&5
4115 echo "${ECHO_T}no" >&6
4118 if test -z "$lt_cv_path_MAGIC_CMD"; then
4119 if test -n "$ac_tool_prefix"; then
4120 echo "$as_me:$LINENO: checking for file" >&5
4121 echo $ECHO_N "checking for file... $ECHO_C" >&6
4122 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
4123 echo $ECHO_N "(cached) $ECHO_C" >&6
4124 else
4125 case $MAGIC_CMD in
4127 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
4129 ?:/*)
4130 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a dos path.
4133 ac_save_MAGIC_CMD="$MAGIC_CMD"
4134 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
4135 ac_dummy="/usr/bin:$PATH"
4136 for ac_dir in $ac_dummy; do
4137 test -z "$ac_dir" && ac_dir=.
4138 if test -f $ac_dir/file; then
4139 lt_cv_path_MAGIC_CMD="$ac_dir/file"
4140 if test -n "$file_magic_test_file"; then
4141 case $deplibs_check_method in
4142 "file_magic "*)
4143 file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
4144 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4145 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
4146 egrep "$file_magic_regex" > /dev/null; then
4148 else
4149 cat <<EOF 1>&2
4151 *** Warning: the command libtool uses to detect shared libraries,
4152 *** $file_magic_cmd, produces output that libtool cannot recognize.
4153 *** The result is that libtool may fail to recognize shared libraries
4154 *** as such. This will affect the creation of libtool libraries that
4155 *** depend on shared libraries, but programs linked with such libtool
4156 *** libraries will work regardless of this problem. Nevertheless, you
4157 *** may want to report the problem to your system manager and/or to
4158 *** bug-libtool@gnu.org
4161 fi ;;
4162 esac
4164 break
4166 done
4167 IFS="$ac_save_ifs"
4168 MAGIC_CMD="$ac_save_MAGIC_CMD"
4170 esac
4173 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
4174 if test -n "$MAGIC_CMD"; then
4175 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
4176 echo "${ECHO_T}$MAGIC_CMD" >&6
4177 else
4178 echo "$as_me:$LINENO: result: no" >&5
4179 echo "${ECHO_T}no" >&6
4182 else
4183 MAGIC_CMD=:
4189 esac
4191 if test -n "$ac_tool_prefix"; then
4192 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4193 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4194 echo "$as_me:$LINENO: checking for $ac_word" >&5
4195 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4196 if test "${ac_cv_prog_RANLIB+set}" = set; then
4197 echo $ECHO_N "(cached) $ECHO_C" >&6
4198 else
4199 if test -n "$RANLIB"; then
4200 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4201 else
4202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4203 for as_dir in $PATH
4205 IFS=$as_save_IFS
4206 test -z "$as_dir" && as_dir=.
4207 for ac_exec_ext in '' $ac_executable_extensions; do
4208 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4209 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4210 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4211 break 2
4213 done
4214 done
4218 RANLIB=$ac_cv_prog_RANLIB
4219 if test -n "$RANLIB"; then
4220 echo "$as_me:$LINENO: result: $RANLIB" >&5
4221 echo "${ECHO_T}$RANLIB" >&6
4222 else
4223 echo "$as_me:$LINENO: result: no" >&5
4224 echo "${ECHO_T}no" >&6
4228 if test -z "$ac_cv_prog_RANLIB"; then
4229 ac_ct_RANLIB=$RANLIB
4230 # Extract the first word of "ranlib", so it can be a program name with args.
4231 set dummy ranlib; ac_word=$2
4232 echo "$as_me:$LINENO: checking for $ac_word" >&5
4233 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4234 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4235 echo $ECHO_N "(cached) $ECHO_C" >&6
4236 else
4237 if test -n "$ac_ct_RANLIB"; then
4238 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4239 else
4240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4241 for as_dir in $PATH
4243 IFS=$as_save_IFS
4244 test -z "$as_dir" && as_dir=.
4245 for ac_exec_ext in '' $ac_executable_extensions; do
4246 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4247 ac_cv_prog_ac_ct_RANLIB="ranlib"
4248 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4249 break 2
4251 done
4252 done
4254 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
4257 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4258 if test -n "$ac_ct_RANLIB"; then
4259 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4260 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4261 else
4262 echo "$as_me:$LINENO: result: no" >&5
4263 echo "${ECHO_T}no" >&6
4266 RANLIB=$ac_ct_RANLIB
4267 else
4268 RANLIB="$ac_cv_prog_RANLIB"
4271 if test -n "$ac_tool_prefix"; then
4272 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4273 set dummy ${ac_tool_prefix}strip; ac_word=$2
4274 echo "$as_me:$LINENO: checking for $ac_word" >&5
4275 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4276 if test "${ac_cv_prog_STRIP+set}" = set; then
4277 echo $ECHO_N "(cached) $ECHO_C" >&6
4278 else
4279 if test -n "$STRIP"; then
4280 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
4281 else
4282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4283 for as_dir in $PATH
4285 IFS=$as_save_IFS
4286 test -z "$as_dir" && as_dir=.
4287 for ac_exec_ext in '' $ac_executable_extensions; do
4288 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4289 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
4290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4291 break 2
4293 done
4294 done
4298 STRIP=$ac_cv_prog_STRIP
4299 if test -n "$STRIP"; then
4300 echo "$as_me:$LINENO: result: $STRIP" >&5
4301 echo "${ECHO_T}$STRIP" >&6
4302 else
4303 echo "$as_me:$LINENO: result: no" >&5
4304 echo "${ECHO_T}no" >&6
4308 if test -z "$ac_cv_prog_STRIP"; then
4309 ac_ct_STRIP=$STRIP
4310 # Extract the first word of "strip", so it can be a program name with args.
4311 set dummy strip; ac_word=$2
4312 echo "$as_me:$LINENO: checking for $ac_word" >&5
4313 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4314 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
4315 echo $ECHO_N "(cached) $ECHO_C" >&6
4316 else
4317 if test -n "$ac_ct_STRIP"; then
4318 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
4319 else
4320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4321 for as_dir in $PATH
4323 IFS=$as_save_IFS
4324 test -z "$as_dir" && as_dir=.
4325 for ac_exec_ext in '' $ac_executable_extensions; do
4326 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4327 ac_cv_prog_ac_ct_STRIP="strip"
4328 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4329 break 2
4331 done
4332 done
4334 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
4337 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
4338 if test -n "$ac_ct_STRIP"; then
4339 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
4340 echo "${ECHO_T}$ac_ct_STRIP" >&6
4341 else
4342 echo "$as_me:$LINENO: result: no" >&5
4343 echo "${ECHO_T}no" >&6
4346 STRIP=$ac_ct_STRIP
4347 else
4348 STRIP="$ac_cv_prog_STRIP"
4352 # Check for any special flags to pass to ltconfig.
4353 libtool_flags="--cache-file=$cache_file"
4354 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
4355 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
4356 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
4357 test "$GCC" = yes && libtool_flags="$libtool_flags --with-gcc"
4358 test "$lt_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
4361 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
4362 if test "${enable_libtool_lock+set}" = set; then
4363 enableval="$enable_libtool_lock"
4366 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
4367 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
4370 # Check whether --with-pic or --without-pic was given.
4371 if test "${with_pic+set}" = set; then
4372 withval="$with_pic"
4373 pic_mode="$withval"
4374 else
4375 pic_mode=default
4377 test x"$pic_mode" = xyes && libtool_flags="$libtool_flags --prefer-pic"
4378 test x"$pic_mode" = xno && libtool_flags="$libtool_flags --prefer-non-pic"
4380 # Some flags need to be propagated to the compiler or linker for good
4381 # libtool support.
4382 case $host in
4383 *-*-irix6*)
4384 # Find out which ABI we are using.
4385 echo '#line 4385 "configure"' > conftest.$ac_ext
4386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4387 (eval $ac_compile) 2>&5
4388 ac_status=$?
4389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4390 (exit $ac_status); }; then
4391 if test "$lt_cv_prog_gnu_ld" = yes; then
4392 case `/usr/bin/file conftest.$ac_objext` in
4393 *32-bit*)
4394 LD="${LD-ld} -melf32bsmip"
4396 *N32*)
4397 LD="${LD-ld} -melf32bmipn32"
4399 *64-bit*)
4400 LD="${LD-ld} -melf64bmip"
4402 esac
4403 else
4404 case `/usr/bin/file conftest.$ac_objext` in
4405 *32-bit*)
4406 LD="${LD-ld} -32"
4408 *N32*)
4409 LD="${LD-ld} -n32"
4411 *64-bit*)
4412 LD="${LD-ld} -64"
4414 esac
4417 rm -rf conftest*
4420 ia64-*-hpux*)
4421 # Find out which ABI we are using.
4422 echo 'int i;' > conftest.$ac_ext
4423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4424 (eval $ac_compile) 2>&5
4425 ac_status=$?
4426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4427 (exit $ac_status); }; then
4428 case "`/usr/bin/file conftest.o`" in
4429 *ELF-32*)
4430 HPUX_IA64_MODE="32"
4432 *ELF-64*)
4433 HPUX_IA64_MODE="64"
4435 esac
4437 rm -rf conftest*
4440 x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
4441 # Find out which ABI we are using.
4442 echo 'int i;' > conftest.$ac_ext
4443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4444 (eval $ac_compile) 2>&5
4445 ac_status=$?
4446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4447 (exit $ac_status); }; then
4448 case "`/usr/bin/file conftest.o`" in
4449 *32-bit*)
4450 case $host in
4451 x86_64-*linux*)
4452 LD="${LD-ld} -m elf_i386"
4454 ppc64-*linux*|powerpc64-*linux*)
4455 LD="${LD-ld} -m elf32ppclinux"
4457 s390x-*linux*)
4458 LD="${LD-ld} -m elf_s390"
4460 sparc64-*linux*)
4461 LD="${LD-ld} -m elf32_sparc"
4463 esac
4465 *64-bit*)
4466 case $host in
4467 x86_64-*linux*)
4468 LD="${LD-ld} -m elf_x86_64"
4470 ppc*-*linux*|powerpc*-*linux*)
4471 LD="${LD-ld} -m elf64ppc"
4473 s390*-*linux*)
4474 LD="${LD-ld} -m elf64_s390"
4476 sparc*-*linux*)
4477 LD="${LD-ld} -m elf64_sparc"
4479 esac
4481 esac
4483 rm -rf conftest*
4486 *-*-sco3.2v5*)
4487 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
4488 SAVE_CFLAGS="$CFLAGS"
4489 CFLAGS="$CFLAGS -belf"
4490 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
4491 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
4492 if test "${lt_cv_cc_needs_belf+set}" = set; then
4493 echo $ECHO_N "(cached) $ECHO_C" >&6
4494 else
4497 ac_ext=c
4498 ac_cpp='$CPP $CPPFLAGS'
4499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4503 if test x$gcc_no_link = xyes; then
4504 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
4505 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
4506 { (exit 1); exit 1; }; }
4508 cat >conftest.$ac_ext <<_ACEOF
4509 /* confdefs.h. */
4510 _ACEOF
4511 cat confdefs.h >>conftest.$ac_ext
4512 cat >>conftest.$ac_ext <<_ACEOF
4513 /* end confdefs.h. */
4516 main ()
4520 return 0;
4522 _ACEOF
4523 rm -f conftest.$ac_objext conftest$ac_exeext
4524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
4525 (eval $ac_link) 2>conftest.er1
4526 ac_status=$?
4527 grep -v '^ *+' conftest.er1 >conftest.err
4528 rm -f conftest.er1
4529 cat conftest.err >&5
4530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4531 (exit $ac_status); } &&
4532 { ac_try='test -z "$ac_c_werror_flag"
4533 || test ! -s conftest.err'
4534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4535 (eval $ac_try) 2>&5
4536 ac_status=$?
4537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4538 (exit $ac_status); }; } &&
4539 { ac_try='test -s conftest$ac_exeext'
4540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4541 (eval $ac_try) 2>&5
4542 ac_status=$?
4543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4544 (exit $ac_status); }; }; then
4545 lt_cv_cc_needs_belf=yes
4546 else
4547 echo "$as_me: failed program was:" >&5
4548 sed 's/^/| /' conftest.$ac_ext >&5
4550 lt_cv_cc_needs_belf=no
4552 rm -f conftest.err conftest.$ac_objext \
4553 conftest$ac_exeext conftest.$ac_ext
4554 ac_ext=c
4555 ac_cpp='$CPP $CPPFLAGS'
4556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4561 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
4562 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
4563 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
4564 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
4565 CFLAGS="$SAVE_CFLAGS"
4570 esac
4573 # Save cache, so that ltconfig can load it
4574 cat >confcache <<\_ACEOF
4575 # This file is a shell script that caches the results of configure
4576 # tests run on this system so they can be shared between configure
4577 # scripts and configure runs, see configure's option --config-cache.
4578 # It is not useful on other systems. If it contains results you don't
4579 # want to keep, you may remove or edit it.
4581 # config.status only pays attention to the cache file if you give it
4582 # the --recheck option to rerun configure.
4584 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4585 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4586 # following values.
4588 _ACEOF
4590 # The following way of writing the cache mishandles newlines in values,
4591 # but we know of no workaround that is simple, portable, and efficient.
4592 # So, don't put newlines in cache variables' values.
4593 # Ultrix sh set writes to stderr and can't be redirected directly,
4594 # and sets the high bit in the cache file unless we assign to the vars.
4596 (set) 2>&1 |
4597 case `(ac_space=' '; set | grep ac_space) 2>&1` in
4598 *ac_space=\ *)
4599 # `set' does not quote correctly, so add quotes (double-quote
4600 # substitution turns \\\\ into \\, and sed turns \\ into \).
4601 sed -n \
4602 "s/'/'\\\\''/g;
4603 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4606 # `set' quotes correctly as required by POSIX, so do not add quotes.
4607 sed -n \
4608 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
4610 esac;
4612 sed '
4613 t clear
4614 : clear
4615 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4616 t end
4617 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4618 : end' >>confcache
4619 if diff $cache_file confcache >/dev/null 2>&1; then :; else
4620 if test -w $cache_file; then
4621 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
4622 cat confcache >$cache_file
4623 else
4624 echo "not updating unwritable cache $cache_file"
4627 rm -f confcache
4629 # Actually configure libtool. ac_aux_dir is where install-sh is found.
4630 AR="$AR" LTCC="$CC" CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
4631 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4632 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4633 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4634 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4635 deplibs_check_method="$deplibs_check_method" file_magic_cmd="$file_magic_cmd" \
4636 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
4637 $libtool_flags --no-verify --build="$build" $ac_aux_dir/ltmain.sh $host \
4638 || { { echo "$as_me:$LINENO: error: libtool configure failed" >&5
4639 echo "$as_me: error: libtool configure failed" >&2;}
4640 { (exit 1); exit 1; }; }
4642 # Reload cache, that may have been modified by ltconfig
4643 if test -r "$cache_file"; then
4644 # Some versions of bash will fail to source /dev/null (special
4645 # files actually), so we avoid doing that.
4646 if test -f "$cache_file"; then
4647 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
4648 echo "$as_me: loading cache $cache_file" >&6;}
4649 case $cache_file in
4650 [\\/]* | ?:[\\/]* ) . $cache_file;;
4651 *) . ./$cache_file;;
4652 esac
4654 else
4655 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
4656 echo "$as_me: creating cache $cache_file" >&6;}
4657 >$cache_file
4661 # This can be used to rebuild libtool when needed
4662 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh $ac_aux_dir/ltcf-c.sh"
4664 # Always use our own libtool.
4665 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
4667 # Redirect the config.log output again, so that the ltconfig log is not
4668 # clobbered by the next message.
4669 exec 5>>./config.log
4671 ac_ext=cc
4672 ac_cpp='$CXXCPP $CPPFLAGS'
4673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4676 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4677 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
4678 if test -z "$CXXCPP"; then
4679 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4680 echo $ECHO_N "(cached) $ECHO_C" >&6
4681 else
4682 # Double quotes because CXXCPP needs to be expanded
4683 for CXXCPP in "$CXX -E" "/lib/cpp"
4685 ac_preproc_ok=false
4686 for ac_cxx_preproc_warn_flag in '' yes
4688 # Use a header file that comes with gcc, so configuring glibc
4689 # with a fresh cross-compiler works.
4690 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4691 # <limits.h> exists even on freestanding compilers.
4692 # On the NeXT, cc -E runs the code through the compiler's parser,
4693 # not just through cpp. "Syntax error" is here to catch this case.
4694 cat >conftest.$ac_ext <<_ACEOF
4695 /* confdefs.h. */
4696 _ACEOF
4697 cat confdefs.h >>conftest.$ac_ext
4698 cat >>conftest.$ac_ext <<_ACEOF
4699 /* end confdefs.h. */
4700 #ifdef __STDC__
4701 # include <limits.h>
4702 #else
4703 # include <assert.h>
4704 #endif
4705 Syntax error
4706 _ACEOF
4707 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4708 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4709 ac_status=$?
4710 grep -v '^ *+' conftest.er1 >conftest.err
4711 rm -f conftest.er1
4712 cat conftest.err >&5
4713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4714 (exit $ac_status); } >/dev/null; then
4715 if test -s conftest.err; then
4716 ac_cpp_err=$ac_cxx_preproc_warn_flag
4717 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4718 else
4719 ac_cpp_err=
4721 else
4722 ac_cpp_err=yes
4724 if test -z "$ac_cpp_err"; then
4726 else
4727 echo "$as_me: failed program was:" >&5
4728 sed 's/^/| /' conftest.$ac_ext >&5
4730 # Broken: fails on valid input.
4731 continue
4733 rm -f conftest.err conftest.$ac_ext
4735 # OK, works on sane cases. Now check whether non-existent headers
4736 # can be detected and how.
4737 cat >conftest.$ac_ext <<_ACEOF
4738 /* confdefs.h. */
4739 _ACEOF
4740 cat confdefs.h >>conftest.$ac_ext
4741 cat >>conftest.$ac_ext <<_ACEOF
4742 /* end confdefs.h. */
4743 #include <ac_nonexistent.h>
4744 _ACEOF
4745 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4746 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4747 ac_status=$?
4748 grep -v '^ *+' conftest.er1 >conftest.err
4749 rm -f conftest.er1
4750 cat conftest.err >&5
4751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4752 (exit $ac_status); } >/dev/null; then
4753 if test -s conftest.err; then
4754 ac_cpp_err=$ac_cxx_preproc_warn_flag
4755 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4756 else
4757 ac_cpp_err=
4759 else
4760 ac_cpp_err=yes
4762 if test -z "$ac_cpp_err"; then
4763 # Broken: success on invalid input.
4764 continue
4765 else
4766 echo "$as_me: failed program was:" >&5
4767 sed 's/^/| /' conftest.$ac_ext >&5
4769 # Passes both tests.
4770 ac_preproc_ok=:
4771 break
4773 rm -f conftest.err conftest.$ac_ext
4775 done
4776 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4777 rm -f conftest.err conftest.$ac_ext
4778 if $ac_preproc_ok; then
4779 break
4782 done
4783 ac_cv_prog_CXXCPP=$CXXCPP
4786 CXXCPP=$ac_cv_prog_CXXCPP
4787 else
4788 ac_cv_prog_CXXCPP=$CXXCPP
4790 echo "$as_me:$LINENO: result: $CXXCPP" >&5
4791 echo "${ECHO_T}$CXXCPP" >&6
4792 ac_preproc_ok=false
4793 for ac_cxx_preproc_warn_flag in '' yes
4795 # Use a header file that comes with gcc, so configuring glibc
4796 # with a fresh cross-compiler works.
4797 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4798 # <limits.h> exists even on freestanding compilers.
4799 # On the NeXT, cc -E runs the code through the compiler's parser,
4800 # not just through cpp. "Syntax error" is here to catch this case.
4801 cat >conftest.$ac_ext <<_ACEOF
4802 /* confdefs.h. */
4803 _ACEOF
4804 cat confdefs.h >>conftest.$ac_ext
4805 cat >>conftest.$ac_ext <<_ACEOF
4806 /* end confdefs.h. */
4807 #ifdef __STDC__
4808 # include <limits.h>
4809 #else
4810 # include <assert.h>
4811 #endif
4812 Syntax error
4813 _ACEOF
4814 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4815 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4816 ac_status=$?
4817 grep -v '^ *+' conftest.er1 >conftest.err
4818 rm -f conftest.er1
4819 cat conftest.err >&5
4820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4821 (exit $ac_status); } >/dev/null; then
4822 if test -s conftest.err; then
4823 ac_cpp_err=$ac_cxx_preproc_warn_flag
4824 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4825 else
4826 ac_cpp_err=
4828 else
4829 ac_cpp_err=yes
4831 if test -z "$ac_cpp_err"; then
4833 else
4834 echo "$as_me: failed program was:" >&5
4835 sed 's/^/| /' conftest.$ac_ext >&5
4837 # Broken: fails on valid input.
4838 continue
4840 rm -f conftest.err conftest.$ac_ext
4842 # OK, works on sane cases. Now check whether non-existent headers
4843 # can be detected and how.
4844 cat >conftest.$ac_ext <<_ACEOF
4845 /* confdefs.h. */
4846 _ACEOF
4847 cat confdefs.h >>conftest.$ac_ext
4848 cat >>conftest.$ac_ext <<_ACEOF
4849 /* end confdefs.h. */
4850 #include <ac_nonexistent.h>
4851 _ACEOF
4852 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4853 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4854 ac_status=$?
4855 grep -v '^ *+' conftest.er1 >conftest.err
4856 rm -f conftest.er1
4857 cat conftest.err >&5
4858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4859 (exit $ac_status); } >/dev/null; then
4860 if test -s conftest.err; then
4861 ac_cpp_err=$ac_cxx_preproc_warn_flag
4862 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4863 else
4864 ac_cpp_err=
4866 else
4867 ac_cpp_err=yes
4869 if test -z "$ac_cpp_err"; then
4870 # Broken: success on invalid input.
4871 continue
4872 else
4873 echo "$as_me: failed program was:" >&5
4874 sed 's/^/| /' conftest.$ac_ext >&5
4876 # Passes both tests.
4877 ac_preproc_ok=:
4878 break
4880 rm -f conftest.err conftest.$ac_ext
4882 done
4883 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4884 rm -f conftest.err conftest.$ac_ext
4885 if $ac_preproc_ok; then
4887 else
4888 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4889 See \`config.log' for more details." >&5
4890 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4891 See \`config.log' for more details." >&2;}
4892 { (exit 1); exit 1; }; }
4895 ac_ext=c
4896 ac_cpp='$CPP $CPPFLAGS'
4897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4903 LIBTOOL_DEPS=$LIBTOOL_DEPS" $ac_aux_dir/ltcf-cxx.sh"
4904 lt_save_CC="$CC"
4905 lt_save_CFLAGS="$CFLAGS"
4906 AR="$AR" LTCC="$CC" CC="$CXX" CXX="$CXX" CFLAGS="$CXXFLAGS" CPPFLAGS="$CPPFLAGS" \
4907 MAGIC_CMD="$MAGIC_CMD" LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
4908 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" STRIP="$STRIP" \
4909 AS="$AS" DLLTOOL="$DLLTOOL" OBJDUMP="$OBJDUMP" \
4910 objext="$OBJEXT" exeext="$EXEEXT" reload_flag="$reload_flag" \
4911 deplibs_check_method="$deplibs_check_method" \
4912 file_magic_cmd="$file_magic_cmd" \
4913 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig -o libtool $libtool_flags \
4914 --build="$build" --add-tag=CXX $ac_aux_dir/ltcf-cxx.sh $host \
4915 || { { echo "$as_me:$LINENO: error: libtool tag configuration failed" >&5
4916 echo "$as_me: error: libtool tag configuration failed" >&2;}
4917 { (exit 1); exit 1; }; }
4918 CC="$lt_save_CC"
4919 CFLAGS="$lt_save_CFLAGS"
4921 # Redirect the config.log output again, so that the ltconfig log is not
4922 # clobbered by the next message.
4923 exec 5>>./config.log
4932 #AC_MSG_NOTICE([====== Finished libtool configuration]) ; sleep 10
4934 # Possibly disable most of the library.
4935 ## XXX Consider skipping unncessary tests altogether in this case, rather
4936 ## than just ignoring the results. Faster /and/ more correct, win win.
4938 # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
4939 if test "${enable_hosted_libstdcxx+set}" = set; then
4940 enableval="$enable_hosted_libstdcxx"
4942 else
4943 case "$host" in
4944 arm*-*-symbianelf*)
4945 enable_hosted_libstdcxx=no
4948 enable_hosted_libstdcxx=yes
4950 esac
4952 if test "$enable_hosted_libstdcxx" = no; then
4953 { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
4954 echo "$as_me: Only freestanding libraries will be built" >&6;}
4955 is_hosted=no
4956 hosted_define=0
4957 enable_abi_check=no
4958 enable_libstdcxx_pch=no
4959 else
4960 is_hosted=yes
4961 hosted_define=1
4965 cat >>confdefs.h <<_ACEOF
4966 #define _GLIBCXX_HOSTED $hosted_define
4967 _ACEOF
4971 # Check for support bits and g++ features that don't require linking.
4973 echo "$as_me:$LINENO: checking for exception model to use" >&5
4974 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
4977 ac_ext=cc
4978 ac_cpp='$CXXCPP $CPPFLAGS'
4979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4983 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
4984 if test "${enable_sjlj_exceptions+set}" = set; then
4985 enableval="$enable_sjlj_exceptions"
4987 case "$enableval" in
4988 yes|no|auto) ;;
4989 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
4990 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
4991 { (exit 1); exit 1; }; } ;;
4992 esac
4994 else
4995 enable_sjlj_exceptions=auto
4999 if test $enable_sjlj_exceptions = auto; then
5000 # Botheration. Now we've got to detect the exception model. Link tests
5001 # against libgcc.a are problematic since we've not been given proper -L
5002 # bits for single-tree newlib and libgloss.
5004 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
5005 cat > conftest.$ac_ext << EOF
5006 #line 5006 "configure"
5007 struct S { ~S(); };
5008 void bar();
5009 void foo()
5011 S s;
5012 bar();
5015 old_CXXFLAGS="$CXXFLAGS"
5016 CXXFLAGS=-S
5017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5018 (eval $ac_compile) 2>&5
5019 ac_status=$?
5020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5021 (exit $ac_status); }; then
5022 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
5023 enable_sjlj_exceptions=yes
5024 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
5025 enable_sjlj_exceptions=no
5028 CXXFLAGS="$old_CXXFLAGS"
5029 rm -f conftest*
5032 # This is a tad weird, for hysterical raisins. We have to map enable/disable
5033 # to two different models.
5034 case $enable_sjlj_exceptions in
5035 yes)
5037 cat >>confdefs.h <<\_ACEOF
5038 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
5039 _ACEOF
5041 ac_exception_model_name=sjlj
5044 ac_exception_model_name="call frame"
5047 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
5048 echo "$as_me: error: unable to detect exception model" >&2;}
5049 { (exit 1); exit 1; }; }
5051 esac
5052 ac_ext=c
5053 ac_cpp='$CPP $CPPFLAGS'
5054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5058 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
5059 echo "${ECHO_T}$ac_exception_model_name" >&6
5062 echo "$as_me:$LINENO: checking for enabled PCH" >&5
5063 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
5064 # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
5065 if test "${enable_libstdcxx_pch+set}" = set; then
5066 enableval="$enable_libstdcxx_pch"
5068 case "$enableval" in
5069 yes|no) ;;
5070 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
5071 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
5072 { (exit 1); exit 1; }; } ;;
5073 esac
5075 else
5076 enable_libstdcxx_pch=$is_hosted
5079 echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
5080 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
5082 if test $enable_libstdcxx_pch = yes; then
5083 echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
5084 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
5085 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
5086 echo $ECHO_N "(cached) $ECHO_C" >&6
5087 else
5088 ac_save_CXXFLAGS="$CXXFLAGS"
5089 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
5092 ac_ext=cc
5093 ac_cpp='$CXXCPP $CPPFLAGS'
5094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5098 echo '#include <math.h>' > conftest.h
5099 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
5100 -o conftest.h.gch 1>&5 2>&1 &&
5101 echo '#error "pch failed"' > conftest.h &&
5102 echo '#include "conftest.h"' > conftest.cc &&
5103 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
5104 then
5105 glibcxx_cv_prog_CXX_pch=yes
5106 else
5107 glibcxx_cv_prog_CXX_pch=no
5109 rm -f conftest*
5110 CXXFLAGS=$ac_save_CXXFLAGS
5111 ac_ext=c
5112 ac_cpp='$CPP $CPPFLAGS'
5113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5119 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
5120 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
5121 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
5125 if test $enable_libstdcxx_pch = yes; then
5126 glibcxx_PCHFLAGS="-include bits/stdc++.h"
5127 else
5128 glibcxx_PCHFLAGS=""
5133 # Enable all the variable C++ runtime options.
5134 # NB: C_MBCHAR must come early.
5136 echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
5137 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
5138 # Check whether --enable-cstdio or --disable-cstdio was given.
5139 if test "${enable_cstdio+set}" = set; then
5140 enableval="$enable_cstdio"
5142 case "$enableval" in
5143 stdio) ;;
5144 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
5145 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
5146 { (exit 1); exit 1; }; } ;;
5147 esac
5149 else
5150 enable_cstdio=stdio
5154 # Now that libio has been removed, you can have any color you want as long
5155 # as it's black. This is one big no-op until other packages are added, but
5156 # showing the framework never hurts.
5157 case ${enable_cstdio} in
5158 stdio)
5159 CSTDIO_H=config/io/c_io_stdio.h
5160 BASIC_FILE_H=config/io/basic_file_stdio.h
5161 BASIC_FILE_CC=config/io/basic_file_stdio.cc
5162 echo "$as_me:$LINENO: result: stdio" >&5
5163 echo "${ECHO_T}stdio" >&6
5165 esac
5171 ac_ext=c
5172 ac_cpp='$CPP $CPPFLAGS'
5173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5176 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
5177 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
5178 # On Suns, sometimes $CPP names a directory.
5179 if test -n "$CPP" && test -d "$CPP"; then
5180 CPP=
5182 if test -z "$CPP"; then
5183 if test "${ac_cv_prog_CPP+set}" = set; then
5184 echo $ECHO_N "(cached) $ECHO_C" >&6
5185 else
5186 # Double quotes because CPP needs to be expanded
5187 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5189 ac_preproc_ok=false
5190 for ac_c_preproc_warn_flag in '' yes
5192 # Use a header file that comes with gcc, so configuring glibc
5193 # with a fresh cross-compiler works.
5194 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5195 # <limits.h> exists even on freestanding compilers.
5196 # On the NeXT, cc -E runs the code through the compiler's parser,
5197 # not just through cpp. "Syntax error" is here to catch this case.
5198 cat >conftest.$ac_ext <<_ACEOF
5199 /* confdefs.h. */
5200 _ACEOF
5201 cat confdefs.h >>conftest.$ac_ext
5202 cat >>conftest.$ac_ext <<_ACEOF
5203 /* end confdefs.h. */
5204 #ifdef __STDC__
5205 # include <limits.h>
5206 #else
5207 # include <assert.h>
5208 #endif
5209 Syntax error
5210 _ACEOF
5211 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5212 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5213 ac_status=$?
5214 grep -v '^ *+' conftest.er1 >conftest.err
5215 rm -f conftest.er1
5216 cat conftest.err >&5
5217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5218 (exit $ac_status); } >/dev/null; then
5219 if test -s conftest.err; then
5220 ac_cpp_err=$ac_c_preproc_warn_flag
5221 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5222 else
5223 ac_cpp_err=
5225 else
5226 ac_cpp_err=yes
5228 if test -z "$ac_cpp_err"; then
5230 else
5231 echo "$as_me: failed program was:" >&5
5232 sed 's/^/| /' conftest.$ac_ext >&5
5234 # Broken: fails on valid input.
5235 continue
5237 rm -f conftest.err conftest.$ac_ext
5239 # OK, works on sane cases. Now check whether non-existent headers
5240 # can be detected and how.
5241 cat >conftest.$ac_ext <<_ACEOF
5242 /* confdefs.h. */
5243 _ACEOF
5244 cat confdefs.h >>conftest.$ac_ext
5245 cat >>conftest.$ac_ext <<_ACEOF
5246 /* end confdefs.h. */
5247 #include <ac_nonexistent.h>
5248 _ACEOF
5249 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5250 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5251 ac_status=$?
5252 grep -v '^ *+' conftest.er1 >conftest.err
5253 rm -f conftest.er1
5254 cat conftest.err >&5
5255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5256 (exit $ac_status); } >/dev/null; then
5257 if test -s conftest.err; then
5258 ac_cpp_err=$ac_c_preproc_warn_flag
5259 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5260 else
5261 ac_cpp_err=
5263 else
5264 ac_cpp_err=yes
5266 if test -z "$ac_cpp_err"; then
5267 # Broken: success on invalid input.
5268 continue
5269 else
5270 echo "$as_me: failed program was:" >&5
5271 sed 's/^/| /' conftest.$ac_ext >&5
5273 # Passes both tests.
5274 ac_preproc_ok=:
5275 break
5277 rm -f conftest.err conftest.$ac_ext
5279 done
5280 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5281 rm -f conftest.err conftest.$ac_ext
5282 if $ac_preproc_ok; then
5283 break
5286 done
5287 ac_cv_prog_CPP=$CPP
5290 CPP=$ac_cv_prog_CPP
5291 else
5292 ac_cv_prog_CPP=$CPP
5294 echo "$as_me:$LINENO: result: $CPP" >&5
5295 echo "${ECHO_T}$CPP" >&6
5296 ac_preproc_ok=false
5297 for ac_c_preproc_warn_flag in '' yes
5299 # Use a header file that comes with gcc, so configuring glibc
5300 # with a fresh cross-compiler works.
5301 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5302 # <limits.h> exists even on freestanding compilers.
5303 # On the NeXT, cc -E runs the code through the compiler's parser,
5304 # not just through cpp. "Syntax error" is here to catch this case.
5305 cat >conftest.$ac_ext <<_ACEOF
5306 /* confdefs.h. */
5307 _ACEOF
5308 cat confdefs.h >>conftest.$ac_ext
5309 cat >>conftest.$ac_ext <<_ACEOF
5310 /* end confdefs.h. */
5311 #ifdef __STDC__
5312 # include <limits.h>
5313 #else
5314 # include <assert.h>
5315 #endif
5316 Syntax error
5317 _ACEOF
5318 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5319 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5320 ac_status=$?
5321 grep -v '^ *+' conftest.er1 >conftest.err
5322 rm -f conftest.er1
5323 cat conftest.err >&5
5324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5325 (exit $ac_status); } >/dev/null; then
5326 if test -s conftest.err; then
5327 ac_cpp_err=$ac_c_preproc_warn_flag
5328 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5329 else
5330 ac_cpp_err=
5332 else
5333 ac_cpp_err=yes
5335 if test -z "$ac_cpp_err"; then
5337 else
5338 echo "$as_me: failed program was:" >&5
5339 sed 's/^/| /' conftest.$ac_ext >&5
5341 # Broken: fails on valid input.
5342 continue
5344 rm -f conftest.err conftest.$ac_ext
5346 # OK, works on sane cases. Now check whether non-existent headers
5347 # can be detected and how.
5348 cat >conftest.$ac_ext <<_ACEOF
5349 /* confdefs.h. */
5350 _ACEOF
5351 cat confdefs.h >>conftest.$ac_ext
5352 cat >>conftest.$ac_ext <<_ACEOF
5353 /* end confdefs.h. */
5354 #include <ac_nonexistent.h>
5355 _ACEOF
5356 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5357 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5358 ac_status=$?
5359 grep -v '^ *+' conftest.er1 >conftest.err
5360 rm -f conftest.er1
5361 cat conftest.err >&5
5362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5363 (exit $ac_status); } >/dev/null; then
5364 if test -s conftest.err; then
5365 ac_cpp_err=$ac_c_preproc_warn_flag
5366 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5367 else
5368 ac_cpp_err=
5370 else
5371 ac_cpp_err=yes
5373 if test -z "$ac_cpp_err"; then
5374 # Broken: success on invalid input.
5375 continue
5376 else
5377 echo "$as_me: failed program was:" >&5
5378 sed 's/^/| /' conftest.$ac_ext >&5
5380 # Passes both tests.
5381 ac_preproc_ok=:
5382 break
5384 rm -f conftest.err conftest.$ac_ext
5386 done
5387 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5388 rm -f conftest.err conftest.$ac_ext
5389 if $ac_preproc_ok; then
5391 else
5392 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
5393 See \`config.log' for more details." >&5
5394 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
5395 See \`config.log' for more details." >&2;}
5396 { (exit 1); exit 1; }; }
5399 ac_ext=c
5400 ac_cpp='$CPP $CPPFLAGS'
5401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5406 echo "$as_me:$LINENO: checking for egrep" >&5
5407 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
5408 if test "${ac_cv_prog_egrep+set}" = set; then
5409 echo $ECHO_N "(cached) $ECHO_C" >&6
5410 else
5411 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
5412 then ac_cv_prog_egrep='grep -E'
5413 else ac_cv_prog_egrep='egrep'
5416 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
5417 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
5418 EGREP=$ac_cv_prog_egrep
5421 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5422 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5423 if test "${ac_cv_header_stdc+set}" = set; then
5424 echo $ECHO_N "(cached) $ECHO_C" >&6
5425 else
5426 cat >conftest.$ac_ext <<_ACEOF
5427 /* confdefs.h. */
5428 _ACEOF
5429 cat confdefs.h >>conftest.$ac_ext
5430 cat >>conftest.$ac_ext <<_ACEOF
5431 /* end confdefs.h. */
5432 #include <stdlib.h>
5433 #include <stdarg.h>
5434 #include <string.h>
5435 #include <float.h>
5438 main ()
5442 return 0;
5444 _ACEOF
5445 rm -f conftest.$ac_objext
5446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5447 (eval $ac_compile) 2>conftest.er1
5448 ac_status=$?
5449 grep -v '^ *+' conftest.er1 >conftest.err
5450 rm -f conftest.er1
5451 cat conftest.err >&5
5452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5453 (exit $ac_status); } &&
5454 { ac_try='test -z "$ac_c_werror_flag"
5455 || test ! -s conftest.err'
5456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5457 (eval $ac_try) 2>&5
5458 ac_status=$?
5459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5460 (exit $ac_status); }; } &&
5461 { ac_try='test -s conftest.$ac_objext'
5462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5463 (eval $ac_try) 2>&5
5464 ac_status=$?
5465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5466 (exit $ac_status); }; }; then
5467 ac_cv_header_stdc=yes
5468 else
5469 echo "$as_me: failed program was:" >&5
5470 sed 's/^/| /' conftest.$ac_ext >&5
5472 ac_cv_header_stdc=no
5474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5476 if test $ac_cv_header_stdc = yes; then
5477 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5478 cat >conftest.$ac_ext <<_ACEOF
5479 /* confdefs.h. */
5480 _ACEOF
5481 cat confdefs.h >>conftest.$ac_ext
5482 cat >>conftest.$ac_ext <<_ACEOF
5483 /* end confdefs.h. */
5484 #include <string.h>
5486 _ACEOF
5487 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5488 $EGREP "memchr" >/dev/null 2>&1; then
5490 else
5491 ac_cv_header_stdc=no
5493 rm -f conftest*
5497 if test $ac_cv_header_stdc = yes; then
5498 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5499 cat >conftest.$ac_ext <<_ACEOF
5500 /* confdefs.h. */
5501 _ACEOF
5502 cat confdefs.h >>conftest.$ac_ext
5503 cat >>conftest.$ac_ext <<_ACEOF
5504 /* end confdefs.h. */
5505 #include <stdlib.h>
5507 _ACEOF
5508 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5509 $EGREP "free" >/dev/null 2>&1; then
5511 else
5512 ac_cv_header_stdc=no
5514 rm -f conftest*
5518 if test $ac_cv_header_stdc = yes; then
5519 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5520 if test "$cross_compiling" = yes; then
5522 else
5523 cat >conftest.$ac_ext <<_ACEOF
5524 /* confdefs.h. */
5525 _ACEOF
5526 cat confdefs.h >>conftest.$ac_ext
5527 cat >>conftest.$ac_ext <<_ACEOF
5528 /* end confdefs.h. */
5529 #include <ctype.h>
5530 #if ((' ' & 0x0FF) == 0x020)
5531 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5532 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5533 #else
5534 # define ISLOWER(c) \
5535 (('a' <= (c) && (c) <= 'i') \
5536 || ('j' <= (c) && (c) <= 'r') \
5537 || ('s' <= (c) && (c) <= 'z'))
5538 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5539 #endif
5541 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5543 main ()
5545 int i;
5546 for (i = 0; i < 256; i++)
5547 if (XOR (islower (i), ISLOWER (i))
5548 || toupper (i) != TOUPPER (i))
5549 exit(2);
5550 exit (0);
5552 _ACEOF
5553 rm -f conftest$ac_exeext
5554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5555 (eval $ac_link) 2>&5
5556 ac_status=$?
5557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5558 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5560 (eval $ac_try) 2>&5
5561 ac_status=$?
5562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5563 (exit $ac_status); }; }; then
5565 else
5566 echo "$as_me: program exited with status $ac_status" >&5
5567 echo "$as_me: failed program was:" >&5
5568 sed 's/^/| /' conftest.$ac_ext >&5
5570 ( exit $ac_status )
5571 ac_cv_header_stdc=no
5573 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5577 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5578 echo "${ECHO_T}$ac_cv_header_stdc" >&6
5579 if test $ac_cv_header_stdc = yes; then
5581 cat >>confdefs.h <<\_ACEOF
5582 #define STDC_HEADERS 1
5583 _ACEOF
5587 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5597 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5598 inttypes.h stdint.h unistd.h
5600 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5601 echo "$as_me:$LINENO: checking for $ac_header" >&5
5602 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5603 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5604 echo $ECHO_N "(cached) $ECHO_C" >&6
5605 else
5606 cat >conftest.$ac_ext <<_ACEOF
5607 /* confdefs.h. */
5608 _ACEOF
5609 cat confdefs.h >>conftest.$ac_ext
5610 cat >>conftest.$ac_ext <<_ACEOF
5611 /* end confdefs.h. */
5612 $ac_includes_default
5614 #include <$ac_header>
5615 _ACEOF
5616 rm -f conftest.$ac_objext
5617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5618 (eval $ac_compile) 2>conftest.er1
5619 ac_status=$?
5620 grep -v '^ *+' conftest.er1 >conftest.err
5621 rm -f conftest.er1
5622 cat conftest.err >&5
5623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5624 (exit $ac_status); } &&
5625 { ac_try='test -z "$ac_c_werror_flag"
5626 || test ! -s conftest.err'
5627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5628 (eval $ac_try) 2>&5
5629 ac_status=$?
5630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5631 (exit $ac_status); }; } &&
5632 { ac_try='test -s conftest.$ac_objext'
5633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5634 (eval $ac_try) 2>&5
5635 ac_status=$?
5636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5637 (exit $ac_status); }; }; then
5638 eval "$as_ac_Header=yes"
5639 else
5640 echo "$as_me: failed program was:" >&5
5641 sed 's/^/| /' conftest.$ac_ext >&5
5643 eval "$as_ac_Header=no"
5645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5648 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5649 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5650 cat >>confdefs.h <<_ACEOF
5651 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5652 _ACEOF
5656 done
5660 echo "$as_me:$LINENO: checking for C locale to use" >&5
5661 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
5662 # Check whether --enable-clocale or --disable-clocale was given.
5663 if test "${enable_clocale+set}" = set; then
5664 enableval="$enable_clocale"
5666 case "$enableval" in
5667 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
5668 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
5669 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
5670 { (exit 1); exit 1; }; } ;;
5671 esac
5673 else
5674 enable_clocale=auto
5678 # If they didn't use this option switch, or if they specified --enable
5679 # with no specific model, we'll have to look for one. If they
5680 # specified --disable (???), do likewise.
5681 if test $enable_clocale = no || test $enable_clocale = yes; then
5682 enable_clocale=auto
5685 # Either a known package, or "auto"
5686 enable_clocale_flag=$enable_clocale
5688 # Probe for locale support if no specific model is specified.
5689 # Default to "generic".
5690 if test $enable_clocale_flag = auto; then
5691 case ${target_os} in
5692 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
5693 cat >conftest.$ac_ext <<_ACEOF
5694 /* confdefs.h. */
5695 _ACEOF
5696 cat confdefs.h >>conftest.$ac_ext
5697 cat >>conftest.$ac_ext <<_ACEOF
5698 /* end confdefs.h. */
5700 #include <features.h>
5701 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
5702 _GLIBCXX_ok
5703 #endif
5705 _ACEOF
5706 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5707 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
5708 enable_clocale_flag=gnu
5709 else
5710 enable_clocale_flag=generic
5712 rm -f conftest*
5715 # Test for bugs early in glibc-2.2.x series
5716 if test $enable_clocale_flag = gnu; then
5717 if test "$cross_compiling" = yes; then
5718 enable_clocale_flag=generic
5719 else
5720 cat >conftest.$ac_ext <<_ACEOF
5721 /* confdefs.h. */
5722 _ACEOF
5723 cat confdefs.h >>conftest.$ac_ext
5724 cat >>conftest.$ac_ext <<_ACEOF
5725 /* end confdefs.h. */
5727 #define _GNU_SOURCE 1
5728 #include <locale.h>
5729 #include <string.h>
5730 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
5731 extern __typeof(newlocale) __newlocale;
5732 extern __typeof(duplocale) __duplocale;
5733 extern __typeof(strcoll_l) __strcoll_l;
5734 #endif
5735 int main()
5737 const char __one[] = "Äuglein Augmen";
5738 const char __two[] = "Äuglein";
5739 int i;
5740 int j;
5741 __locale_t loc;
5742 __locale_t loc_dup;
5743 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
5744 loc_dup = __duplocale(loc);
5745 i = __strcoll_l(__one, __two, loc);
5746 j = __strcoll_l(__one, __two, loc_dup);
5747 return 0;
5750 _ACEOF
5751 rm -f conftest$ac_exeext
5752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5753 (eval $ac_link) 2>&5
5754 ac_status=$?
5755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5756 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
5757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5758 (eval $ac_try) 2>&5
5759 ac_status=$?
5760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5761 (exit $ac_status); }; }; then
5762 enable_clocale_flag=gnu
5763 else
5764 echo "$as_me: program exited with status $ac_status" >&5
5765 echo "$as_me: failed program was:" >&5
5766 sed 's/^/| /' conftest.$ac_ext >&5
5768 ( exit $ac_status )
5769 enable_clocale_flag=generic
5771 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5775 # ... at some point put __strxfrm_l tests in as well.
5778 enable_clocale_flag=generic
5780 esac
5783 # Deal with gettext issues. Default to not using it (=no) until we detect
5784 # support for it later. Let the user turn it off via --e/d, but let that
5785 # default to on for easier handling.
5786 USE_NLS=no
5787 # Check whether --enable-nls or --disable-nls was given.
5788 if test "${enable_nls+set}" = set; then
5789 enableval="$enable_nls"
5791 else
5792 enable_nls=yes
5795 # Set configure bits for specified locale package
5796 case ${enable_clocale_flag} in
5797 generic)
5798 echo "$as_me:$LINENO: result: generic" >&5
5799 echo "${ECHO_T}generic" >&6
5801 CLOCALE_H=config/locale/generic/c_locale.h
5802 CLOCALE_CC=config/locale/generic/c_locale.cc
5803 CCODECVT_H=config/locale/generic/codecvt_specializations.h
5804 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5805 CCOLLATE_CC=config/locale/generic/collate_members.cc
5806 CCTYPE_CC=config/locale/generic/ctype_members.cc
5807 CMESSAGES_H=config/locale/generic/messages_members.h
5808 CMESSAGES_CC=config/locale/generic/messages_members.cc
5809 CMONEY_CC=config/locale/generic/monetary_members.cc
5810 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5811 CTIME_H=config/locale/generic/time_members.h
5812 CTIME_CC=config/locale/generic/time_members.cc
5813 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5815 gnu)
5816 echo "$as_me:$LINENO: result: gnu" >&5
5817 echo "${ECHO_T}gnu" >&6
5819 # Declare intention to use gettext, and add support for specific
5820 # languages.
5821 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
5822 ALL_LINGUAS="de fr"
5824 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
5825 # Extract the first word of "msgfmt", so it can be a program name with args.
5826 set dummy msgfmt; ac_word=$2
5827 echo "$as_me:$LINENO: checking for $ac_word" >&5
5828 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5829 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
5830 echo $ECHO_N "(cached) $ECHO_C" >&6
5831 else
5832 if test -n "$check_msgfmt"; then
5833 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
5834 else
5835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5836 for as_dir in $PATH
5838 IFS=$as_save_IFS
5839 test -z "$as_dir" && as_dir=.
5840 for ac_exec_ext in '' $ac_executable_extensions; do
5841 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5842 ac_cv_prog_check_msgfmt="yes"
5843 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5844 break 2
5846 done
5847 done
5849 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
5852 check_msgfmt=$ac_cv_prog_check_msgfmt
5853 if test -n "$check_msgfmt"; then
5854 echo "$as_me:$LINENO: result: $check_msgfmt" >&5
5855 echo "${ECHO_T}$check_msgfmt" >&6
5856 else
5857 echo "$as_me:$LINENO: result: no" >&5
5858 echo "${ECHO_T}no" >&6
5861 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
5862 USE_NLS=yes
5864 # Export the build objects.
5865 for ling in $ALL_LINGUAS; do \
5866 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
5867 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
5868 done
5872 CLOCALE_H=config/locale/gnu/c_locale.h
5873 CLOCALE_CC=config/locale/gnu/c_locale.cc
5874 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
5875 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
5876 CCOLLATE_CC=config/locale/gnu/collate_members.cc
5877 CCTYPE_CC=config/locale/gnu/ctype_members.cc
5878 CMESSAGES_H=config/locale/gnu/messages_members.h
5879 CMESSAGES_CC=config/locale/gnu/messages_members.cc
5880 CMONEY_CC=config/locale/gnu/monetary_members.cc
5881 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
5882 CTIME_H=config/locale/gnu/time_members.h
5883 CTIME_CC=config/locale/gnu/time_members.cc
5884 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
5886 ieee_1003.1-2001)
5887 echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
5888 echo "${ECHO_T}IEEE 1003.1" >&6
5890 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
5891 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
5892 CCODECVT_H=config/locale/ieee_1003.1-2001/codecvt_specializations.h
5893 CCODECVT_CC=config/locale/generic/codecvt_members.cc
5894 CCOLLATE_CC=config/locale/generic/collate_members.cc
5895 CCTYPE_CC=config/locale/generic/ctype_members.cc
5896 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
5897 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
5898 CMONEY_CC=config/locale/generic/monetary_members.cc
5899 CNUMERIC_CC=config/locale/generic/numeric_members.cc
5900 CTIME_H=config/locale/generic/time_members.h
5901 CTIME_CC=config/locale/generic/time_members.cc
5902 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
5904 esac
5906 # This is where the testsuite looks for locale catalogs, using the
5907 # -DLOCALEDIR define during testsuite compilation.
5908 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
5911 # A standalone libintl (e.g., GNU libintl) may be in use.
5912 if test $USE_NLS = yes; then
5914 for ac_header in libintl.h
5916 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5917 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5918 echo "$as_me:$LINENO: checking for $ac_header" >&5
5919 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5920 if eval "test \"\${$as_ac_Header+set}\" = set"; then
5921 echo $ECHO_N "(cached) $ECHO_C" >&6
5923 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5924 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5925 else
5926 # Is the header compilable?
5927 echo "$as_me:$LINENO: checking $ac_header usability" >&5
5928 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5929 cat >conftest.$ac_ext <<_ACEOF
5930 /* confdefs.h. */
5931 _ACEOF
5932 cat confdefs.h >>conftest.$ac_ext
5933 cat >>conftest.$ac_ext <<_ACEOF
5934 /* end confdefs.h. */
5935 $ac_includes_default
5936 #include <$ac_header>
5937 _ACEOF
5938 rm -f conftest.$ac_objext
5939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5940 (eval $ac_compile) 2>conftest.er1
5941 ac_status=$?
5942 grep -v '^ *+' conftest.er1 >conftest.err
5943 rm -f conftest.er1
5944 cat conftest.err >&5
5945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5946 (exit $ac_status); } &&
5947 { ac_try='test -z "$ac_c_werror_flag"
5948 || test ! -s conftest.err'
5949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5950 (eval $ac_try) 2>&5
5951 ac_status=$?
5952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5953 (exit $ac_status); }; } &&
5954 { ac_try='test -s conftest.$ac_objext'
5955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5956 (eval $ac_try) 2>&5
5957 ac_status=$?
5958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5959 (exit $ac_status); }; }; then
5960 ac_header_compiler=yes
5961 else
5962 echo "$as_me: failed program was:" >&5
5963 sed 's/^/| /' conftest.$ac_ext >&5
5965 ac_header_compiler=no
5967 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5968 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5969 echo "${ECHO_T}$ac_header_compiler" >&6
5971 # Is the header present?
5972 echo "$as_me:$LINENO: checking $ac_header presence" >&5
5973 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5974 cat >conftest.$ac_ext <<_ACEOF
5975 /* confdefs.h. */
5976 _ACEOF
5977 cat confdefs.h >>conftest.$ac_ext
5978 cat >>conftest.$ac_ext <<_ACEOF
5979 /* end confdefs.h. */
5980 #include <$ac_header>
5981 _ACEOF
5982 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5983 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5984 ac_status=$?
5985 grep -v '^ *+' conftest.er1 >conftest.err
5986 rm -f conftest.er1
5987 cat conftest.err >&5
5988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5989 (exit $ac_status); } >/dev/null; then
5990 if test -s conftest.err; then
5991 ac_cpp_err=$ac_c_preproc_warn_flag
5992 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5993 else
5994 ac_cpp_err=
5996 else
5997 ac_cpp_err=yes
5999 if test -z "$ac_cpp_err"; then
6000 ac_header_preproc=yes
6001 else
6002 echo "$as_me: failed program was:" >&5
6003 sed 's/^/| /' conftest.$ac_ext >&5
6005 ac_header_preproc=no
6007 rm -f conftest.err conftest.$ac_ext
6008 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6009 echo "${ECHO_T}$ac_header_preproc" >&6
6011 # So? What about this header?
6012 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6013 yes:no: )
6014 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6015 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6016 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6017 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6018 ac_header_preproc=yes
6020 no:yes:* )
6021 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6022 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6023 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6024 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6025 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6026 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6027 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6028 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6029 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6030 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6031 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6032 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6034 cat <<\_ASBOX
6035 ## ----------------------------------------- ##
6036 ## Report this to the package-unused lists. ##
6037 ## ----------------------------------------- ##
6038 _ASBOX
6040 sed "s/^/$as_me: WARNING: /" >&2
6042 esac
6043 echo "$as_me:$LINENO: checking for $ac_header" >&5
6044 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6045 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6046 echo $ECHO_N "(cached) $ECHO_C" >&6
6047 else
6048 eval "$as_ac_Header=\$ac_header_preproc"
6050 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6051 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6054 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6055 cat >>confdefs.h <<_ACEOF
6056 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6057 _ACEOF
6059 else
6060 USE_NLS=no
6063 done
6065 echo "$as_me:$LINENO: checking for library containing gettext" >&5
6066 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
6067 if test "${ac_cv_search_gettext+set}" = set; then
6068 echo $ECHO_N "(cached) $ECHO_C" >&6
6069 else
6070 ac_func_search_save_LIBS=$LIBS
6071 ac_cv_search_gettext=no
6072 if test x$gcc_no_link = xyes; then
6073 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6074 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6075 { (exit 1); exit 1; }; }
6077 cat >conftest.$ac_ext <<_ACEOF
6078 /* confdefs.h. */
6079 _ACEOF
6080 cat confdefs.h >>conftest.$ac_ext
6081 cat >>conftest.$ac_ext <<_ACEOF
6082 /* end confdefs.h. */
6084 /* Override any gcc2 internal prototype to avoid an error. */
6085 #ifdef __cplusplus
6086 extern "C"
6087 #endif
6088 /* We use char because int might match the return type of a gcc2
6089 builtin and then its argument prototype would still apply. */
6090 char gettext ();
6092 main ()
6094 gettext ();
6096 return 0;
6098 _ACEOF
6099 rm -f conftest.$ac_objext conftest$ac_exeext
6100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6101 (eval $ac_link) 2>conftest.er1
6102 ac_status=$?
6103 grep -v '^ *+' conftest.er1 >conftest.err
6104 rm -f conftest.er1
6105 cat conftest.err >&5
6106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6107 (exit $ac_status); } &&
6108 { ac_try='test -z "$ac_c_werror_flag"
6109 || test ! -s conftest.err'
6110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6111 (eval $ac_try) 2>&5
6112 ac_status=$?
6113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6114 (exit $ac_status); }; } &&
6115 { ac_try='test -s conftest$ac_exeext'
6116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6117 (eval $ac_try) 2>&5
6118 ac_status=$?
6119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6120 (exit $ac_status); }; }; then
6121 ac_cv_search_gettext="none required"
6122 else
6123 echo "$as_me: failed program was:" >&5
6124 sed 's/^/| /' conftest.$ac_ext >&5
6127 rm -f conftest.err conftest.$ac_objext \
6128 conftest$ac_exeext conftest.$ac_ext
6129 if test "$ac_cv_search_gettext" = no; then
6130 for ac_lib in intl; do
6131 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
6132 if test x$gcc_no_link = xyes; then
6133 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6134 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6135 { (exit 1); exit 1; }; }
6137 cat >conftest.$ac_ext <<_ACEOF
6138 /* confdefs.h. */
6139 _ACEOF
6140 cat confdefs.h >>conftest.$ac_ext
6141 cat >>conftest.$ac_ext <<_ACEOF
6142 /* end confdefs.h. */
6144 /* Override any gcc2 internal prototype to avoid an error. */
6145 #ifdef __cplusplus
6146 extern "C"
6147 #endif
6148 /* We use char because int might match the return type of a gcc2
6149 builtin and then its argument prototype would still apply. */
6150 char gettext ();
6152 main ()
6154 gettext ();
6156 return 0;
6158 _ACEOF
6159 rm -f conftest.$ac_objext conftest$ac_exeext
6160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6161 (eval $ac_link) 2>conftest.er1
6162 ac_status=$?
6163 grep -v '^ *+' conftest.er1 >conftest.err
6164 rm -f conftest.er1
6165 cat conftest.err >&5
6166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6167 (exit $ac_status); } &&
6168 { ac_try='test -z "$ac_c_werror_flag"
6169 || test ! -s conftest.err'
6170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6171 (eval $ac_try) 2>&5
6172 ac_status=$?
6173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6174 (exit $ac_status); }; } &&
6175 { ac_try='test -s conftest$ac_exeext'
6176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6177 (eval $ac_try) 2>&5
6178 ac_status=$?
6179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6180 (exit $ac_status); }; }; then
6181 ac_cv_search_gettext="-l$ac_lib"
6182 break
6183 else
6184 echo "$as_me: failed program was:" >&5
6185 sed 's/^/| /' conftest.$ac_ext >&5
6188 rm -f conftest.err conftest.$ac_objext \
6189 conftest$ac_exeext conftest.$ac_ext
6190 done
6192 LIBS=$ac_func_search_save_LIBS
6194 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
6195 echo "${ECHO_T}$ac_cv_search_gettext" >&6
6196 if test "$ac_cv_search_gettext" != no; then
6197 test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
6199 else
6200 USE_NLS=no
6204 if test $USE_NLS = yes; then
6205 cat >>confdefs.h <<\_ACEOF
6206 #define _GLIBCXX_USE_NLS 1
6207 _ACEOF
6227 echo "$as_me:$LINENO: checking for std::allocator base class to use" >&5
6228 echo $ECHO_N "checking for std::allocator base class to use... $ECHO_C" >&6
6229 # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
6230 if test "${enable_libstdcxx_allocator+set}" = set; then
6231 enableval="$enable_libstdcxx_allocator"
6233 case "$enableval" in
6234 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
6235 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
6236 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
6237 { (exit 1); exit 1; }; } ;;
6238 esac
6240 else
6241 enable_libstdcxx_allocator=auto
6245 # If they didn't use this option switch, or if they specified --enable
6246 # with no specific model, we'll have to look for one. If they
6247 # specified --disable (???), do likewise.
6248 if test $enable_libstdcxx_allocator = no ||
6249 test $enable_libstdcxx_allocator = yes;
6250 then
6251 enable_libstdcxx_allocator=auto
6254 # Either a known package, or "auto". Auto implies the default choice
6255 # for a particular platform.
6256 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
6258 # Probe for host-specific support if no specific model is specified.
6259 # Default to "new".
6260 if test $enable_libstdcxx_allocator_flag = auto; then
6261 case ${target_os} in
6262 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
6263 enable_libstdcxx_allocator_flag=mt
6266 enable_libstdcxx_allocator_flag=new
6268 esac
6270 echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
6271 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
6274 # Set configure bits for specified locale package
6275 case ${enable_libstdcxx_allocator_flag} in
6276 bitmap)
6277 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
6278 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
6280 malloc)
6281 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
6282 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
6285 ALLOCATOR_H=config/allocator/mt_allocator_base.h
6286 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
6288 new)
6289 ALLOCATOR_H=config/allocator/new_allocator_base.h
6290 ALLOCATOR_NAME=__gnu_cxx::new_allocator
6292 pool)
6293 ALLOCATOR_H=config/allocator/pool_allocator_base.h
6294 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
6296 esac
6302 # Check whether --enable-cheaders or --disable-cheaders was given.
6303 if test "${enable_cheaders+set}" = set; then
6304 enableval="$enable_cheaders"
6306 case "$enableval" in
6307 c|c_std) ;;
6308 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
6309 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
6310 { (exit 1); exit 1; }; } ;;
6311 esac
6313 else
6314 enable_cheaders=$c_model
6317 { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
6318 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
6320 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
6327 # Check whether --enable-c-mbchar or --disable-c-mbchar was given.
6328 if test "${enable_c_mbchar+set}" = set; then
6329 enableval="$enable_c_mbchar"
6331 case "$enableval" in
6332 yes|no) ;;
6333 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c-mbchar must be yes or no" >&5
6334 echo "$as_me: error: Argument to enable/disable c-mbchar must be yes or no" >&2;}
6335 { (exit 1); exit 1; }; } ;;
6336 esac
6338 else
6339 enable_c_mbchar=yes
6342 # Option parsed, now other scripts can test enable_c_mbchar for yes/no.
6346 # Check whether --enable-c99 or --disable-c99 was given.
6347 if test "${enable_c99+set}" = set; then
6348 enableval="$enable_c99"
6350 case "$enableval" in
6351 yes|no) ;;
6352 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
6353 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
6354 { (exit 1); exit 1; }; } ;;
6355 esac
6357 else
6358 enable_c99=yes
6364 ac_ext=cc
6365 ac_cpp='$CXXCPP $CPPFLAGS'
6366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6371 # Check for the existence of <math.h> functions used if C99 is enabled.
6372 ac_c99_math=yes;
6373 echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
6374 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
6375 cat >conftest.$ac_ext <<_ACEOF
6376 /* confdefs.h. */
6377 _ACEOF
6378 cat confdefs.h >>conftest.$ac_ext
6379 cat >>conftest.$ac_ext <<_ACEOF
6380 /* end confdefs.h. */
6381 #include <math.h>
6383 main ()
6385 fpclassify(0.0);
6387 return 0;
6389 _ACEOF
6390 rm -f conftest.$ac_objext
6391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6392 (eval $ac_compile) 2>conftest.er1
6393 ac_status=$?
6394 grep -v '^ *+' conftest.er1 >conftest.err
6395 rm -f conftest.er1
6396 cat conftest.err >&5
6397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6398 (exit $ac_status); } &&
6399 { ac_try='test -z "$ac_cxx_werror_flag"
6400 || test ! -s conftest.err'
6401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6402 (eval $ac_try) 2>&5
6403 ac_status=$?
6404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6405 (exit $ac_status); }; } &&
6406 { ac_try='test -s conftest.$ac_objext'
6407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6408 (eval $ac_try) 2>&5
6409 ac_status=$?
6410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6411 (exit $ac_status); }; }; then
6413 else
6414 echo "$as_me: failed program was:" >&5
6415 sed 's/^/| /' conftest.$ac_ext >&5
6417 ac_c99_math=no
6419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6420 cat >conftest.$ac_ext <<_ACEOF
6421 /* confdefs.h. */
6422 _ACEOF
6423 cat confdefs.h >>conftest.$ac_ext
6424 cat >>conftest.$ac_ext <<_ACEOF
6425 /* end confdefs.h. */
6426 #include <math.h>
6428 main ()
6430 isfinite(0.0);
6432 return 0;
6434 _ACEOF
6435 rm -f conftest.$ac_objext
6436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6437 (eval $ac_compile) 2>conftest.er1
6438 ac_status=$?
6439 grep -v '^ *+' conftest.er1 >conftest.err
6440 rm -f conftest.er1
6441 cat conftest.err >&5
6442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6443 (exit $ac_status); } &&
6444 { ac_try='test -z "$ac_cxx_werror_flag"
6445 || test ! -s conftest.err'
6446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6447 (eval $ac_try) 2>&5
6448 ac_status=$?
6449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6450 (exit $ac_status); }; } &&
6451 { ac_try='test -s conftest.$ac_objext'
6452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6453 (eval $ac_try) 2>&5
6454 ac_status=$?
6455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6456 (exit $ac_status); }; }; then
6458 else
6459 echo "$as_me: failed program was:" >&5
6460 sed 's/^/| /' conftest.$ac_ext >&5
6462 ac_c99_math=no
6464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6465 cat >conftest.$ac_ext <<_ACEOF
6466 /* confdefs.h. */
6467 _ACEOF
6468 cat confdefs.h >>conftest.$ac_ext
6469 cat >>conftest.$ac_ext <<_ACEOF
6470 /* end confdefs.h. */
6471 #include <math.h>
6473 main ()
6475 isinf(0.0);
6477 return 0;
6479 _ACEOF
6480 rm -f conftest.$ac_objext
6481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6482 (eval $ac_compile) 2>conftest.er1
6483 ac_status=$?
6484 grep -v '^ *+' conftest.er1 >conftest.err
6485 rm -f conftest.er1
6486 cat conftest.err >&5
6487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6488 (exit $ac_status); } &&
6489 { ac_try='test -z "$ac_cxx_werror_flag"
6490 || test ! -s conftest.err'
6491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6492 (eval $ac_try) 2>&5
6493 ac_status=$?
6494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6495 (exit $ac_status); }; } &&
6496 { ac_try='test -s conftest.$ac_objext'
6497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6498 (eval $ac_try) 2>&5
6499 ac_status=$?
6500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6501 (exit $ac_status); }; }; then
6503 else
6504 echo "$as_me: failed program was:" >&5
6505 sed 's/^/| /' conftest.$ac_ext >&5
6507 ac_c99_math=no
6509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6510 cat >conftest.$ac_ext <<_ACEOF
6511 /* confdefs.h. */
6512 _ACEOF
6513 cat confdefs.h >>conftest.$ac_ext
6514 cat >>conftest.$ac_ext <<_ACEOF
6515 /* end confdefs.h. */
6516 #include <math.h>
6518 main ()
6520 isnan(0.0);
6522 return 0;
6524 _ACEOF
6525 rm -f conftest.$ac_objext
6526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6527 (eval $ac_compile) 2>conftest.er1
6528 ac_status=$?
6529 grep -v '^ *+' conftest.er1 >conftest.err
6530 rm -f conftest.er1
6531 cat conftest.err >&5
6532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6533 (exit $ac_status); } &&
6534 { ac_try='test -z "$ac_cxx_werror_flag"
6535 || test ! -s conftest.err'
6536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6537 (eval $ac_try) 2>&5
6538 ac_status=$?
6539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6540 (exit $ac_status); }; } &&
6541 { ac_try='test -s conftest.$ac_objext'
6542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6543 (eval $ac_try) 2>&5
6544 ac_status=$?
6545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6546 (exit $ac_status); }; }; then
6548 else
6549 echo "$as_me: failed program was:" >&5
6550 sed 's/^/| /' conftest.$ac_ext >&5
6552 ac_c99_math=no
6554 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6555 cat >conftest.$ac_ext <<_ACEOF
6556 /* confdefs.h. */
6557 _ACEOF
6558 cat confdefs.h >>conftest.$ac_ext
6559 cat >>conftest.$ac_ext <<_ACEOF
6560 /* end confdefs.h. */
6561 #include <math.h>
6563 main ()
6565 isnormal(0.0);
6567 return 0;
6569 _ACEOF
6570 rm -f conftest.$ac_objext
6571 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6572 (eval $ac_compile) 2>conftest.er1
6573 ac_status=$?
6574 grep -v '^ *+' conftest.er1 >conftest.err
6575 rm -f conftest.er1
6576 cat conftest.err >&5
6577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6578 (exit $ac_status); } &&
6579 { ac_try='test -z "$ac_cxx_werror_flag"
6580 || test ! -s conftest.err'
6581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6582 (eval $ac_try) 2>&5
6583 ac_status=$?
6584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6585 (exit $ac_status); }; } &&
6586 { ac_try='test -s conftest.$ac_objext'
6587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6588 (eval $ac_try) 2>&5
6589 ac_status=$?
6590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6591 (exit $ac_status); }; }; then
6593 else
6594 echo "$as_me: failed program was:" >&5
6595 sed 's/^/| /' conftest.$ac_ext >&5
6597 ac_c99_math=no
6599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6600 cat >conftest.$ac_ext <<_ACEOF
6601 /* confdefs.h. */
6602 _ACEOF
6603 cat confdefs.h >>conftest.$ac_ext
6604 cat >>conftest.$ac_ext <<_ACEOF
6605 /* end confdefs.h. */
6606 #include <math.h>
6608 main ()
6610 signbit(0.0);
6612 return 0;
6614 _ACEOF
6615 rm -f conftest.$ac_objext
6616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6617 (eval $ac_compile) 2>conftest.er1
6618 ac_status=$?
6619 grep -v '^ *+' conftest.er1 >conftest.err
6620 rm -f conftest.er1
6621 cat conftest.err >&5
6622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6623 (exit $ac_status); } &&
6624 { ac_try='test -z "$ac_cxx_werror_flag"
6625 || test ! -s conftest.err'
6626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6627 (eval $ac_try) 2>&5
6628 ac_status=$?
6629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6630 (exit $ac_status); }; } &&
6631 { ac_try='test -s conftest.$ac_objext'
6632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6633 (eval $ac_try) 2>&5
6634 ac_status=$?
6635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6636 (exit $ac_status); }; }; then
6638 else
6639 echo "$as_me: failed program was:" >&5
6640 sed 's/^/| /' conftest.$ac_ext >&5
6642 ac_c99_math=no
6644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6645 cat >conftest.$ac_ext <<_ACEOF
6646 /* confdefs.h. */
6647 _ACEOF
6648 cat confdefs.h >>conftest.$ac_ext
6649 cat >>conftest.$ac_ext <<_ACEOF
6650 /* end confdefs.h. */
6651 #include <math.h>
6653 main ()
6655 isgreater(0.0,0.0);
6657 return 0;
6659 _ACEOF
6660 rm -f conftest.$ac_objext
6661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6662 (eval $ac_compile) 2>conftest.er1
6663 ac_status=$?
6664 grep -v '^ *+' conftest.er1 >conftest.err
6665 rm -f conftest.er1
6666 cat conftest.err >&5
6667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6668 (exit $ac_status); } &&
6669 { ac_try='test -z "$ac_cxx_werror_flag"
6670 || test ! -s conftest.err'
6671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6672 (eval $ac_try) 2>&5
6673 ac_status=$?
6674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6675 (exit $ac_status); }; } &&
6676 { ac_try='test -s conftest.$ac_objext'
6677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6678 (eval $ac_try) 2>&5
6679 ac_status=$?
6680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6681 (exit $ac_status); }; }; then
6683 else
6684 echo "$as_me: failed program was:" >&5
6685 sed 's/^/| /' conftest.$ac_ext >&5
6687 ac_c99_math=no
6689 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6690 cat >conftest.$ac_ext <<_ACEOF
6691 /* confdefs.h. */
6692 _ACEOF
6693 cat confdefs.h >>conftest.$ac_ext
6694 cat >>conftest.$ac_ext <<_ACEOF
6695 /* end confdefs.h. */
6696 #include <math.h>
6698 main ()
6700 isgreaterequal(0.0,0.0);
6702 return 0;
6704 _ACEOF
6705 rm -f conftest.$ac_objext
6706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6707 (eval $ac_compile) 2>conftest.er1
6708 ac_status=$?
6709 grep -v '^ *+' conftest.er1 >conftest.err
6710 rm -f conftest.er1
6711 cat conftest.err >&5
6712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6713 (exit $ac_status); } &&
6714 { ac_try='test -z "$ac_cxx_werror_flag"
6715 || test ! -s conftest.err'
6716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6717 (eval $ac_try) 2>&5
6718 ac_status=$?
6719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6720 (exit $ac_status); }; } &&
6721 { ac_try='test -s conftest.$ac_objext'
6722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6723 (eval $ac_try) 2>&5
6724 ac_status=$?
6725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6726 (exit $ac_status); }; }; then
6728 else
6729 echo "$as_me: failed program was:" >&5
6730 sed 's/^/| /' conftest.$ac_ext >&5
6732 ac_c99_math=no
6734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6735 cat >conftest.$ac_ext <<_ACEOF
6736 /* confdefs.h. */
6737 _ACEOF
6738 cat confdefs.h >>conftest.$ac_ext
6739 cat >>conftest.$ac_ext <<_ACEOF
6740 /* end confdefs.h. */
6741 #include <math.h>
6743 main ()
6745 isless(0.0,0.0);
6747 return 0;
6749 _ACEOF
6750 rm -f conftest.$ac_objext
6751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6752 (eval $ac_compile) 2>conftest.er1
6753 ac_status=$?
6754 grep -v '^ *+' conftest.er1 >conftest.err
6755 rm -f conftest.er1
6756 cat conftest.err >&5
6757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6758 (exit $ac_status); } &&
6759 { ac_try='test -z "$ac_cxx_werror_flag"
6760 || test ! -s conftest.err'
6761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6762 (eval $ac_try) 2>&5
6763 ac_status=$?
6764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6765 (exit $ac_status); }; } &&
6766 { ac_try='test -s conftest.$ac_objext'
6767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6768 (eval $ac_try) 2>&5
6769 ac_status=$?
6770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6771 (exit $ac_status); }; }; then
6773 else
6774 echo "$as_me: failed program was:" >&5
6775 sed 's/^/| /' conftest.$ac_ext >&5
6777 ac_c99_math=no
6779 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6780 cat >conftest.$ac_ext <<_ACEOF
6781 /* confdefs.h. */
6782 _ACEOF
6783 cat confdefs.h >>conftest.$ac_ext
6784 cat >>conftest.$ac_ext <<_ACEOF
6785 /* end confdefs.h. */
6786 #include <math.h>
6788 main ()
6790 islessequal(0.0,0.0);
6792 return 0;
6794 _ACEOF
6795 rm -f conftest.$ac_objext
6796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6797 (eval $ac_compile) 2>conftest.er1
6798 ac_status=$?
6799 grep -v '^ *+' conftest.er1 >conftest.err
6800 rm -f conftest.er1
6801 cat conftest.err >&5
6802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6803 (exit $ac_status); } &&
6804 { ac_try='test -z "$ac_cxx_werror_flag"
6805 || test ! -s conftest.err'
6806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6807 (eval $ac_try) 2>&5
6808 ac_status=$?
6809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6810 (exit $ac_status); }; } &&
6811 { ac_try='test -s conftest.$ac_objext'
6812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6813 (eval $ac_try) 2>&5
6814 ac_status=$?
6815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6816 (exit $ac_status); }; }; then
6818 else
6819 echo "$as_me: failed program was:" >&5
6820 sed 's/^/| /' conftest.$ac_ext >&5
6822 ac_c99_math=no
6824 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6825 cat >conftest.$ac_ext <<_ACEOF
6826 /* confdefs.h. */
6827 _ACEOF
6828 cat confdefs.h >>conftest.$ac_ext
6829 cat >>conftest.$ac_ext <<_ACEOF
6830 /* end confdefs.h. */
6831 #include <math.h>
6833 main ()
6835 islessgreater(0.0,0.0);
6837 return 0;
6839 _ACEOF
6840 rm -f conftest.$ac_objext
6841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6842 (eval $ac_compile) 2>conftest.er1
6843 ac_status=$?
6844 grep -v '^ *+' conftest.er1 >conftest.err
6845 rm -f conftest.er1
6846 cat conftest.err >&5
6847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6848 (exit $ac_status); } &&
6849 { ac_try='test -z "$ac_cxx_werror_flag"
6850 || test ! -s conftest.err'
6851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6852 (eval $ac_try) 2>&5
6853 ac_status=$?
6854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6855 (exit $ac_status); }; } &&
6856 { ac_try='test -s conftest.$ac_objext'
6857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6858 (eval $ac_try) 2>&5
6859 ac_status=$?
6860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6861 (exit $ac_status); }; }; then
6863 else
6864 echo "$as_me: failed program was:" >&5
6865 sed 's/^/| /' conftest.$ac_ext >&5
6867 ac_c99_math=no
6869 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6870 cat >conftest.$ac_ext <<_ACEOF
6871 /* confdefs.h. */
6872 _ACEOF
6873 cat confdefs.h >>conftest.$ac_ext
6874 cat >>conftest.$ac_ext <<_ACEOF
6875 /* end confdefs.h. */
6876 #include <math.h>
6878 main ()
6880 isunordered(0.0,0.0);
6882 return 0;
6884 _ACEOF
6885 rm -f conftest.$ac_objext
6886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6887 (eval $ac_compile) 2>conftest.er1
6888 ac_status=$?
6889 grep -v '^ *+' conftest.er1 >conftest.err
6890 rm -f conftest.er1
6891 cat conftest.err >&5
6892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6893 (exit $ac_status); } &&
6894 { ac_try='test -z "$ac_cxx_werror_flag"
6895 || test ! -s conftest.err'
6896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6897 (eval $ac_try) 2>&5
6898 ac_status=$?
6899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6900 (exit $ac_status); }; } &&
6901 { ac_try='test -s conftest.$ac_objext'
6902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6903 (eval $ac_try) 2>&5
6904 ac_status=$?
6905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6906 (exit $ac_status); }; }; then
6908 else
6909 echo "$as_me: failed program was:" >&5
6910 sed 's/^/| /' conftest.$ac_ext >&5
6912 ac_c99_math=no
6914 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6915 echo "$as_me:$LINENO: result: $ac_c99_math" >&5
6916 echo "${ECHO_T}$ac_c99_math" >&6
6918 if test x"$ac_c99_math" = x"yes"; then
6919 cat >>confdefs.h <<\_ACEOF
6920 #define _GLIBCXX_USE_C99_MATH 1
6921 _ACEOF
6925 # Check for the existence in <stdio.h> of vscanf, et. al.
6926 ac_c99_stdio=yes;
6927 echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
6928 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
6929 cat >conftest.$ac_ext <<_ACEOF
6930 /* confdefs.h. */
6931 _ACEOF
6932 cat confdefs.h >>conftest.$ac_ext
6933 cat >>conftest.$ac_ext <<_ACEOF
6934 /* end confdefs.h. */
6935 #include <stdio.h>
6937 main ()
6939 snprintf("12", 0, "%i");
6941 return 0;
6943 _ACEOF
6944 rm -f conftest.$ac_objext
6945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6946 (eval $ac_compile) 2>conftest.er1
6947 ac_status=$?
6948 grep -v '^ *+' conftest.er1 >conftest.err
6949 rm -f conftest.er1
6950 cat conftest.err >&5
6951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6952 (exit $ac_status); } &&
6953 { ac_try='test -z "$ac_cxx_werror_flag"
6954 || test ! -s conftest.err'
6955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6956 (eval $ac_try) 2>&5
6957 ac_status=$?
6958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6959 (exit $ac_status); }; } &&
6960 { ac_try='test -s conftest.$ac_objext'
6961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6962 (eval $ac_try) 2>&5
6963 ac_status=$?
6964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6965 (exit $ac_status); }; }; then
6967 else
6968 echo "$as_me: failed program was:" >&5
6969 sed 's/^/| /' conftest.$ac_ext >&5
6971 ac_c99_stdio=no
6973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6974 cat >conftest.$ac_ext <<_ACEOF
6975 /* confdefs.h. */
6976 _ACEOF
6977 cat confdefs.h >>conftest.$ac_ext
6978 cat >>conftest.$ac_ext <<_ACEOF
6979 /* end confdefs.h. */
6980 #include <stdio.h>
6981 #include <stdarg.h>
6982 void foo(char* fmt, ...)
6983 {va_list args; va_start(args, fmt);
6984 vfscanf(stderr, "%i", args);}
6986 main ()
6990 return 0;
6992 _ACEOF
6993 rm -f conftest.$ac_objext
6994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6995 (eval $ac_compile) 2>conftest.er1
6996 ac_status=$?
6997 grep -v '^ *+' conftest.er1 >conftest.err
6998 rm -f conftest.er1
6999 cat conftest.err >&5
7000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7001 (exit $ac_status); } &&
7002 { ac_try='test -z "$ac_cxx_werror_flag"
7003 || test ! -s conftest.err'
7004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7005 (eval $ac_try) 2>&5
7006 ac_status=$?
7007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7008 (exit $ac_status); }; } &&
7009 { ac_try='test -s conftest.$ac_objext'
7010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7011 (eval $ac_try) 2>&5
7012 ac_status=$?
7013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7014 (exit $ac_status); }; }; then
7016 else
7017 echo "$as_me: failed program was:" >&5
7018 sed 's/^/| /' conftest.$ac_ext >&5
7020 ac_c99_stdio=no
7022 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7023 cat >conftest.$ac_ext <<_ACEOF
7024 /* confdefs.h. */
7025 _ACEOF
7026 cat confdefs.h >>conftest.$ac_ext
7027 cat >>conftest.$ac_ext <<_ACEOF
7028 /* end confdefs.h. */
7029 #include <stdio.h>
7030 #include <stdarg.h>
7031 void foo(char* fmt, ...)
7032 {va_list args; va_start(args, fmt);
7033 vscanf("%i", args);}
7035 main ()
7039 return 0;
7041 _ACEOF
7042 rm -f conftest.$ac_objext
7043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7044 (eval $ac_compile) 2>conftest.er1
7045 ac_status=$?
7046 grep -v '^ *+' conftest.er1 >conftest.err
7047 rm -f conftest.er1
7048 cat conftest.err >&5
7049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7050 (exit $ac_status); } &&
7051 { ac_try='test -z "$ac_cxx_werror_flag"
7052 || test ! -s conftest.err'
7053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7054 (eval $ac_try) 2>&5
7055 ac_status=$?
7056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7057 (exit $ac_status); }; } &&
7058 { ac_try='test -s conftest.$ac_objext'
7059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7060 (eval $ac_try) 2>&5
7061 ac_status=$?
7062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7063 (exit $ac_status); }; }; then
7065 else
7066 echo "$as_me: failed program was:" >&5
7067 sed 's/^/| /' conftest.$ac_ext >&5
7069 ac_c99_stdio=no
7071 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7072 cat >conftest.$ac_ext <<_ACEOF
7073 /* confdefs.h. */
7074 _ACEOF
7075 cat confdefs.h >>conftest.$ac_ext
7076 cat >>conftest.$ac_ext <<_ACEOF
7077 /* end confdefs.h. */
7078 #include <stdio.h>
7079 #include <stdarg.h>
7080 void foo(char* fmt, ...)
7081 {va_list args; va_start(args, fmt);
7082 vsnprintf(fmt, 0, "%i", args);}
7084 main ()
7088 return 0;
7090 _ACEOF
7091 rm -f conftest.$ac_objext
7092 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7093 (eval $ac_compile) 2>conftest.er1
7094 ac_status=$?
7095 grep -v '^ *+' conftest.er1 >conftest.err
7096 rm -f conftest.er1
7097 cat conftest.err >&5
7098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7099 (exit $ac_status); } &&
7100 { ac_try='test -z "$ac_cxx_werror_flag"
7101 || test ! -s conftest.err'
7102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7103 (eval $ac_try) 2>&5
7104 ac_status=$?
7105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7106 (exit $ac_status); }; } &&
7107 { ac_try='test -s conftest.$ac_objext'
7108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7109 (eval $ac_try) 2>&5
7110 ac_status=$?
7111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7112 (exit $ac_status); }; }; then
7114 else
7115 echo "$as_me: failed program was:" >&5
7116 sed 's/^/| /' conftest.$ac_ext >&5
7118 ac_c99_stdio=no
7120 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7121 cat >conftest.$ac_ext <<_ACEOF
7122 /* confdefs.h. */
7123 _ACEOF
7124 cat confdefs.h >>conftest.$ac_ext
7125 cat >>conftest.$ac_ext <<_ACEOF
7126 /* end confdefs.h. */
7127 #include <stdio.h>
7128 #include <stdarg.h>
7129 void foo(char* fmt, ...)
7130 {va_list args; va_start(args, fmt);
7131 vsscanf(fmt, "%i", args);}
7133 main ()
7137 return 0;
7139 _ACEOF
7140 rm -f conftest.$ac_objext
7141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7142 (eval $ac_compile) 2>conftest.er1
7143 ac_status=$?
7144 grep -v '^ *+' conftest.er1 >conftest.err
7145 rm -f conftest.er1
7146 cat conftest.err >&5
7147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7148 (exit $ac_status); } &&
7149 { ac_try='test -z "$ac_cxx_werror_flag"
7150 || test ! -s conftest.err'
7151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7152 (eval $ac_try) 2>&5
7153 ac_status=$?
7154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7155 (exit $ac_status); }; } &&
7156 { ac_try='test -s conftest.$ac_objext'
7157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7158 (eval $ac_try) 2>&5
7159 ac_status=$?
7160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7161 (exit $ac_status); }; }; then
7163 else
7164 echo "$as_me: failed program was:" >&5
7165 sed 's/^/| /' conftest.$ac_ext >&5
7167 ac_c99_stdio=no
7169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7170 echo "$as_me:$LINENO: result: $ac_c99_stdio" >&5
7171 echo "${ECHO_T}$ac_c99_stdio" >&6
7173 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
7174 ac_c99_stdlib=yes;
7175 echo "$as_me:$LINENO: checking for lldiv_t declaration" >&5
7176 echo $ECHO_N "checking for lldiv_t declaration... $ECHO_C" >&6
7177 if test "${ac_c99_lldiv_t+set}" = set; then
7178 echo $ECHO_N "(cached) $ECHO_C" >&6
7179 else
7181 cat >conftest.$ac_ext <<_ACEOF
7182 /* confdefs.h. */
7183 _ACEOF
7184 cat confdefs.h >>conftest.$ac_ext
7185 cat >>conftest.$ac_ext <<_ACEOF
7186 /* end confdefs.h. */
7187 #include <stdlib.h>
7189 main ()
7191 lldiv_t mydivt;
7193 return 0;
7195 _ACEOF
7196 rm -f conftest.$ac_objext
7197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7198 (eval $ac_compile) 2>conftest.er1
7199 ac_status=$?
7200 grep -v '^ *+' conftest.er1 >conftest.err
7201 rm -f conftest.er1
7202 cat conftest.err >&5
7203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7204 (exit $ac_status); } &&
7205 { ac_try='test -z "$ac_cxx_werror_flag"
7206 || test ! -s conftest.err'
7207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7208 (eval $ac_try) 2>&5
7209 ac_status=$?
7210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7211 (exit $ac_status); }; } &&
7212 { ac_try='test -s conftest.$ac_objext'
7213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7214 (eval $ac_try) 2>&5
7215 ac_status=$?
7216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7217 (exit $ac_status); }; }; then
7218 ac_c99_lldiv_t=yes
7219 else
7220 echo "$as_me: failed program was:" >&5
7221 sed 's/^/| /' conftest.$ac_ext >&5
7223 ac_c99_lldiv_t=no
7225 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7229 echo "$as_me:$LINENO: result: $ac_c99_lldiv_t" >&5
7230 echo "${ECHO_T}$ac_c99_lldiv_t" >&6
7232 echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
7233 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
7234 cat >conftest.$ac_ext <<_ACEOF
7235 /* confdefs.h. */
7236 _ACEOF
7237 cat confdefs.h >>conftest.$ac_ext
7238 cat >>conftest.$ac_ext <<_ACEOF
7239 /* end confdefs.h. */
7240 #include <stdlib.h>
7242 main ()
7244 char* tmp; strtof("gnu", &tmp);
7246 return 0;
7248 _ACEOF
7249 rm -f conftest.$ac_objext
7250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7251 (eval $ac_compile) 2>conftest.er1
7252 ac_status=$?
7253 grep -v '^ *+' conftest.er1 >conftest.err
7254 rm -f conftest.er1
7255 cat conftest.err >&5
7256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7257 (exit $ac_status); } &&
7258 { ac_try='test -z "$ac_cxx_werror_flag"
7259 || test ! -s conftest.err'
7260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7261 (eval $ac_try) 2>&5
7262 ac_status=$?
7263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7264 (exit $ac_status); }; } &&
7265 { ac_try='test -s conftest.$ac_objext'
7266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7267 (eval $ac_try) 2>&5
7268 ac_status=$?
7269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7270 (exit $ac_status); }; }; then
7272 else
7273 echo "$as_me: failed program was:" >&5
7274 sed 's/^/| /' conftest.$ac_ext >&5
7276 ac_c99_stdlib=no
7278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7279 cat >conftest.$ac_ext <<_ACEOF
7280 /* confdefs.h. */
7281 _ACEOF
7282 cat confdefs.h >>conftest.$ac_ext
7283 cat >>conftest.$ac_ext <<_ACEOF
7284 /* end confdefs.h. */
7285 #include <stdlib.h>
7287 main ()
7289 char* tmp; strtold("gnu", &tmp);
7291 return 0;
7293 _ACEOF
7294 rm -f conftest.$ac_objext
7295 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7296 (eval $ac_compile) 2>conftest.er1
7297 ac_status=$?
7298 grep -v '^ *+' conftest.er1 >conftest.err
7299 rm -f conftest.er1
7300 cat conftest.err >&5
7301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7302 (exit $ac_status); } &&
7303 { ac_try='test -z "$ac_cxx_werror_flag"
7304 || test ! -s conftest.err'
7305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7306 (eval $ac_try) 2>&5
7307 ac_status=$?
7308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7309 (exit $ac_status); }; } &&
7310 { ac_try='test -s conftest.$ac_objext'
7311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7312 (eval $ac_try) 2>&5
7313 ac_status=$?
7314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7315 (exit $ac_status); }; }; then
7317 else
7318 echo "$as_me: failed program was:" >&5
7319 sed 's/^/| /' conftest.$ac_ext >&5
7321 ac_c99_stdlib=no
7323 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7324 cat >conftest.$ac_ext <<_ACEOF
7325 /* confdefs.h. */
7326 _ACEOF
7327 cat confdefs.h >>conftest.$ac_ext
7328 cat >>conftest.$ac_ext <<_ACEOF
7329 /* end confdefs.h. */
7330 #include <stdlib.h>
7332 main ()
7334 llabs(10);
7336 return 0;
7338 _ACEOF
7339 rm -f conftest.$ac_objext
7340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7341 (eval $ac_compile) 2>conftest.er1
7342 ac_status=$?
7343 grep -v '^ *+' conftest.er1 >conftest.err
7344 rm -f conftest.er1
7345 cat conftest.err >&5
7346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7347 (exit $ac_status); } &&
7348 { ac_try='test -z "$ac_cxx_werror_flag"
7349 || test ! -s conftest.err'
7350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7351 (eval $ac_try) 2>&5
7352 ac_status=$?
7353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7354 (exit $ac_status); }; } &&
7355 { ac_try='test -s conftest.$ac_objext'
7356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7357 (eval $ac_try) 2>&5
7358 ac_status=$?
7359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7360 (exit $ac_status); }; }; then
7362 else
7363 echo "$as_me: failed program was:" >&5
7364 sed 's/^/| /' conftest.$ac_ext >&5
7366 ac_c99_stdlib=no
7368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7369 cat >conftest.$ac_ext <<_ACEOF
7370 /* confdefs.h. */
7371 _ACEOF
7372 cat confdefs.h >>conftest.$ac_ext
7373 cat >>conftest.$ac_ext <<_ACEOF
7374 /* end confdefs.h. */
7375 #include <stdlib.h>
7377 main ()
7379 lldiv(10,1);
7381 return 0;
7383 _ACEOF
7384 rm -f conftest.$ac_objext
7385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7386 (eval $ac_compile) 2>conftest.er1
7387 ac_status=$?
7388 grep -v '^ *+' conftest.er1 >conftest.err
7389 rm -f conftest.er1
7390 cat conftest.err >&5
7391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7392 (exit $ac_status); } &&
7393 { ac_try='test -z "$ac_cxx_werror_flag"
7394 || test ! -s conftest.err'
7395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7396 (eval $ac_try) 2>&5
7397 ac_status=$?
7398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7399 (exit $ac_status); }; } &&
7400 { ac_try='test -s conftest.$ac_objext'
7401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7402 (eval $ac_try) 2>&5
7403 ac_status=$?
7404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7405 (exit $ac_status); }; }; then
7407 else
7408 echo "$as_me: failed program was:" >&5
7409 sed 's/^/| /' conftest.$ac_ext >&5
7411 ac_c99_stdlib=no
7413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7414 cat >conftest.$ac_ext <<_ACEOF
7415 /* confdefs.h. */
7416 _ACEOF
7417 cat confdefs.h >>conftest.$ac_ext
7418 cat >>conftest.$ac_ext <<_ACEOF
7419 /* end confdefs.h. */
7420 #include <stdlib.h>
7422 main ()
7424 atoll("10");
7426 return 0;
7428 _ACEOF
7429 rm -f conftest.$ac_objext
7430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7431 (eval $ac_compile) 2>conftest.er1
7432 ac_status=$?
7433 grep -v '^ *+' conftest.er1 >conftest.err
7434 rm -f conftest.er1
7435 cat conftest.err >&5
7436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7437 (exit $ac_status); } &&
7438 { ac_try='test -z "$ac_cxx_werror_flag"
7439 || test ! -s conftest.err'
7440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7441 (eval $ac_try) 2>&5
7442 ac_status=$?
7443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7444 (exit $ac_status); }; } &&
7445 { ac_try='test -s conftest.$ac_objext'
7446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7447 (eval $ac_try) 2>&5
7448 ac_status=$?
7449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7450 (exit $ac_status); }; }; then
7452 else
7453 echo "$as_me: failed program was:" >&5
7454 sed 's/^/| /' conftest.$ac_ext >&5
7456 ac_c99_stdlib=no
7458 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7459 cat >conftest.$ac_ext <<_ACEOF
7460 /* confdefs.h. */
7461 _ACEOF
7462 cat confdefs.h >>conftest.$ac_ext
7463 cat >>conftest.$ac_ext <<_ACEOF
7464 /* end confdefs.h. */
7465 #include <stdlib.h>
7467 main ()
7469 _Exit(0);
7471 return 0;
7473 _ACEOF
7474 rm -f conftest.$ac_objext
7475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7476 (eval $ac_compile) 2>conftest.er1
7477 ac_status=$?
7478 grep -v '^ *+' conftest.er1 >conftest.err
7479 rm -f conftest.er1
7480 cat conftest.err >&5
7481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7482 (exit $ac_status); } &&
7483 { ac_try='test -z "$ac_cxx_werror_flag"
7484 || test ! -s conftest.err'
7485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7486 (eval $ac_try) 2>&5
7487 ac_status=$?
7488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7489 (exit $ac_status); }; } &&
7490 { ac_try='test -s conftest.$ac_objext'
7491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7492 (eval $ac_try) 2>&5
7493 ac_status=$?
7494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7495 (exit $ac_status); }; }; then
7497 else
7498 echo "$as_me: failed program was:" >&5
7499 sed 's/^/| /' conftest.$ac_ext >&5
7501 ac_c99_stdlib=no
7503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7504 if test x"$ac_c99_lldiv_t" = x"no"; then
7505 ac_c99_stdlib=no;
7507 echo "$as_me:$LINENO: result: $ac_c99_stdlib" >&5
7508 echo "${ECHO_T}$ac_c99_stdlib" >&6
7510 # Check for the existence of <wchar.h> functions used if C99 is enabled.
7511 # XXX the wchar.h checks should be rolled into the general C99 bits.
7512 ac_c99_wchar=yes;
7513 echo "$as_me:$LINENO: checking for additional ISO C99 support in <wchar.h>" >&5
7514 echo $ECHO_N "checking for additional ISO C99 support in <wchar.h>... $ECHO_C" >&6
7515 cat >conftest.$ac_ext <<_ACEOF
7516 /* confdefs.h. */
7517 _ACEOF
7518 cat confdefs.h >>conftest.$ac_ext
7519 cat >>conftest.$ac_ext <<_ACEOF
7520 /* end confdefs.h. */
7521 #include <wchar.h>
7523 main ()
7525 wcstold(L"10.0", NULL);
7527 return 0;
7529 _ACEOF
7530 rm -f conftest.$ac_objext
7531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7532 (eval $ac_compile) 2>conftest.er1
7533 ac_status=$?
7534 grep -v '^ *+' conftest.er1 >conftest.err
7535 rm -f conftest.er1
7536 cat conftest.err >&5
7537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7538 (exit $ac_status); } &&
7539 { ac_try='test -z "$ac_cxx_werror_flag"
7540 || test ! -s conftest.err'
7541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7542 (eval $ac_try) 2>&5
7543 ac_status=$?
7544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7545 (exit $ac_status); }; } &&
7546 { ac_try='test -s conftest.$ac_objext'
7547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7548 (eval $ac_try) 2>&5
7549 ac_status=$?
7550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7551 (exit $ac_status); }; }; then
7553 else
7554 echo "$as_me: failed program was:" >&5
7555 sed 's/^/| /' conftest.$ac_ext >&5
7557 ac_c99_wchar=no
7559 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7560 cat >conftest.$ac_ext <<_ACEOF
7561 /* confdefs.h. */
7562 _ACEOF
7563 cat confdefs.h >>conftest.$ac_ext
7564 cat >>conftest.$ac_ext <<_ACEOF
7565 /* end confdefs.h. */
7566 #include <wchar.h>
7568 main ()
7570 wcstoll(L"10", NULL, 10);
7572 return 0;
7574 _ACEOF
7575 rm -f conftest.$ac_objext
7576 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7577 (eval $ac_compile) 2>conftest.er1
7578 ac_status=$?
7579 grep -v '^ *+' conftest.er1 >conftest.err
7580 rm -f conftest.er1
7581 cat conftest.err >&5
7582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7583 (exit $ac_status); } &&
7584 { ac_try='test -z "$ac_cxx_werror_flag"
7585 || test ! -s conftest.err'
7586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7587 (eval $ac_try) 2>&5
7588 ac_status=$?
7589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7590 (exit $ac_status); }; } &&
7591 { ac_try='test -s conftest.$ac_objext'
7592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7593 (eval $ac_try) 2>&5
7594 ac_status=$?
7595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7596 (exit $ac_status); }; }; then
7598 else
7599 echo "$as_me: failed program was:" >&5
7600 sed 's/^/| /' conftest.$ac_ext >&5
7602 ac_c99_wchar=no
7604 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7605 cat >conftest.$ac_ext <<_ACEOF
7606 /* confdefs.h. */
7607 _ACEOF
7608 cat confdefs.h >>conftest.$ac_ext
7609 cat >>conftest.$ac_ext <<_ACEOF
7610 /* end confdefs.h. */
7611 #include <wchar.h>
7613 main ()
7615 wcstoull(L"10", NULL, 10);
7617 return 0;
7619 _ACEOF
7620 rm -f conftest.$ac_objext
7621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7622 (eval $ac_compile) 2>conftest.er1
7623 ac_status=$?
7624 grep -v '^ *+' conftest.er1 >conftest.err
7625 rm -f conftest.er1
7626 cat conftest.err >&5
7627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7628 (exit $ac_status); } &&
7629 { ac_try='test -z "$ac_cxx_werror_flag"
7630 || test ! -s conftest.err'
7631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7632 (eval $ac_try) 2>&5
7633 ac_status=$?
7634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7635 (exit $ac_status); }; } &&
7636 { ac_try='test -s conftest.$ac_objext'
7637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7638 (eval $ac_try) 2>&5
7639 ac_status=$?
7640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7641 (exit $ac_status); }; }; then
7643 else
7644 echo "$as_me: failed program was:" >&5
7645 sed 's/^/| /' conftest.$ac_ext >&5
7647 ac_c99_wchar=no
7649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7650 echo "$as_me:$LINENO: result: $ac_c99_wchar" >&5
7651 echo "${ECHO_T}$ac_c99_wchar" >&6
7653 echo "$as_me:$LINENO: checking for enabled ISO C99 support" >&5
7654 echo $ECHO_N "checking for enabled ISO C99 support... $ECHO_C" >&6
7655 if test x"$ac_c99_math" = x"no" ||
7656 test x"$ac_c99_stdio" = x"no" ||
7657 test x"$ac_c99_stdlib" = x"no" ||
7658 test x"$ac_c99_wchar" = x"no"; then
7659 enable_c99=no;
7661 echo "$as_me:$LINENO: result: $enable_c99" >&5
7662 echo "${ECHO_T}$enable_c99" >&6
7664 if test x"$ac_99_math" = x"yes"; then
7665 cat >>confdefs.h <<\_ACEOF
7666 #define _GLIBCXX_USE_C99_MATH 1
7667 _ACEOF
7671 # Option parsed, now set things appropriately
7672 if test x"$enable_c99" = x"yes"; then
7673 cat >>confdefs.h <<\_ACEOF
7674 #define _GLIBCXX_USE_C99 1
7675 _ACEOF
7679 ac_ext=c
7680 ac_cpp='$CPP $CPPFLAGS'
7681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7687 # Check whether --enable-long-long or --disable-long-long was given.
7688 if test "${enable_long_long+set}" = set; then
7689 enableval="$enable_long_long"
7691 case "$enableval" in
7692 yes|no) ;;
7693 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
7694 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
7695 { (exit 1); exit 1; }; } ;;
7696 esac
7698 else
7699 enable_long_long=yes
7702 if test $enable_long_long = yes; then
7703 cat >>confdefs.h <<\_ACEOF
7704 #define _GLIBCXX_USE_LONG_LONG 1
7705 _ACEOF
7710 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
7711 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
7712 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
7713 echo "$as_me:$LINENO: result: $target_thread_file" >&5
7714 echo "${ECHO_T}$target_thread_file" >&6
7716 if test $target_thread_file != single; then
7717 cat >>confdefs.h <<\_ACEOF
7718 #define HAVE_GTHR_DEFAULT 1
7719 _ACEOF
7723 glibcxx_thread_h=gthr-$target_thread_file.h
7727 # Check whether --enable-concept-checks or --disable-concept-checks was given.
7728 if test "${enable_concept_checks+set}" = set; then
7729 enableval="$enable_concept_checks"
7731 case "$enableval" in
7732 yes|no) ;;
7733 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
7734 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
7735 { (exit 1); exit 1; }; } ;;
7736 esac
7738 else
7739 enable_concept_checks=no
7742 if test $enable_concept_checks = yes; then
7743 cat >>confdefs.h <<\_ACEOF
7744 #define _GLIBCXX_CONCEPT_CHECKS 1
7745 _ACEOF
7750 # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
7751 if test "${enable_libstdcxx_debug_flags+set}" = set; then
7752 enableval="$enable_libstdcxx_debug_flags"
7753 case "x$enable_libstdcxx_debug_flags" in
7754 xno | x) enable_libstdcxx_debug_flags= ;;
7755 x-*) ;;
7756 *) { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
7757 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
7758 { (exit 1); exit 1; }; } ;;
7759 esac
7760 else
7761 enable_libstdcxx_debug_flags="-g3 -O0"
7765 # Option parsed, now set things appropriately
7766 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
7769 { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
7770 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
7773 echo "$as_me:$LINENO: checking for additional debug build" >&5
7774 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
7775 # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
7776 if test "${enable_libstdcxx_debug+set}" = set; then
7777 enableval="$enable_libstdcxx_debug"
7779 case "$enableval" in
7780 yes|no) ;;
7781 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
7782 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
7783 { (exit 1); exit 1; }; } ;;
7784 esac
7786 else
7787 enable_libstdcxx_debug=no
7790 echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
7791 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
7794 echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
7795 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
7796 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
7797 if test "${enable_cxx_flags+set}" = set; then
7798 enableval="$enable_cxx_flags"
7799 case "x$enable_cxx_flags" in
7800 xno | x) enable_cxx_flags= ;;
7801 x-*) ;;
7802 *) { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
7803 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
7804 { (exit 1); exit 1; }; } ;;
7805 esac
7806 else
7807 enable_cxx_flags=
7811 # Run through flags (either default or command-line) and set anything
7812 # extra (e.g., #defines) that must accompany particular g++ options.
7813 if test -n "$enable_cxx_flags"; then
7814 for f in $enable_cxx_flags; do
7815 case "$f" in
7816 -fhonor-std) ;;
7817 -*) ;;
7818 *) # and we're trying to pass /what/ exactly?
7819 { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
7820 echo "$as_me: error: compiler flags start with a -" >&2;}
7821 { (exit 1); exit 1; }; } ;;
7822 esac
7823 done
7826 EXTRA_CXX_FLAGS="$enable_cxx_flags"
7827 echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
7828 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
7832 # No surprises, no surprises...
7833 if test $atomicity_dir = cpu/generic ; then
7834 { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
7835 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
7836 if test $target_thread_file = single; then
7837 { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
7838 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
7839 { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
7840 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
7841 else
7842 { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
7843 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
7844 { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
7845 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
7850 if $GLIBCXX_IS_NATIVE; then
7852 # We can do more elaborate tests that assume a working linker.
7853 CANADIAN=no
7855 # Check for available headers.
7869 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
7870 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
7871 sys/types.h
7873 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7874 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7875 echo "$as_me:$LINENO: checking for $ac_header" >&5
7876 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
7877 if eval "test \"\${$as_ac_Header+set}\" = set"; then
7878 echo $ECHO_N "(cached) $ECHO_C" >&6
7880 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
7881 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
7882 else
7883 # Is the header compilable?
7884 echo "$as_me:$LINENO: checking $ac_header usability" >&5
7885 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
7886 cat >conftest.$ac_ext <<_ACEOF
7887 /* confdefs.h. */
7888 _ACEOF
7889 cat confdefs.h >>conftest.$ac_ext
7890 cat >>conftest.$ac_ext <<_ACEOF
7891 /* end confdefs.h. */
7892 $ac_includes_default
7893 #include <$ac_header>
7894 _ACEOF
7895 rm -f conftest.$ac_objext
7896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7897 (eval $ac_compile) 2>conftest.er1
7898 ac_status=$?
7899 grep -v '^ *+' conftest.er1 >conftest.err
7900 rm -f conftest.er1
7901 cat conftest.err >&5
7902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7903 (exit $ac_status); } &&
7904 { ac_try='test -z "$ac_c_werror_flag"
7905 || test ! -s conftest.err'
7906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7907 (eval $ac_try) 2>&5
7908 ac_status=$?
7909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7910 (exit $ac_status); }; } &&
7911 { ac_try='test -s conftest.$ac_objext'
7912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7913 (eval $ac_try) 2>&5
7914 ac_status=$?
7915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7916 (exit $ac_status); }; }; then
7917 ac_header_compiler=yes
7918 else
7919 echo "$as_me: failed program was:" >&5
7920 sed 's/^/| /' conftest.$ac_ext >&5
7922 ac_header_compiler=no
7924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7925 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7926 echo "${ECHO_T}$ac_header_compiler" >&6
7928 # Is the header present?
7929 echo "$as_me:$LINENO: checking $ac_header presence" >&5
7930 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
7931 cat >conftest.$ac_ext <<_ACEOF
7932 /* confdefs.h. */
7933 _ACEOF
7934 cat confdefs.h >>conftest.$ac_ext
7935 cat >>conftest.$ac_ext <<_ACEOF
7936 /* end confdefs.h. */
7937 #include <$ac_header>
7938 _ACEOF
7939 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7940 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7941 ac_status=$?
7942 grep -v '^ *+' conftest.er1 >conftest.err
7943 rm -f conftest.er1
7944 cat conftest.err >&5
7945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7946 (exit $ac_status); } >/dev/null; then
7947 if test -s conftest.err; then
7948 ac_cpp_err=$ac_c_preproc_warn_flag
7949 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
7950 else
7951 ac_cpp_err=
7953 else
7954 ac_cpp_err=yes
7956 if test -z "$ac_cpp_err"; then
7957 ac_header_preproc=yes
7958 else
7959 echo "$as_me: failed program was:" >&5
7960 sed 's/^/| /' conftest.$ac_ext >&5
7962 ac_header_preproc=no
7964 rm -f conftest.err conftest.$ac_ext
7965 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7966 echo "${ECHO_T}$ac_header_preproc" >&6
7968 # So? What about this header?
7969 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7970 yes:no: )
7971 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7972 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7973 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7974 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7975 ac_header_preproc=yes
7977 no:yes:* )
7978 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7979 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7980 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7981 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7982 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7983 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7984 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7985 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7986 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7987 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7988 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7989 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7991 cat <<\_ASBOX
7992 ## ----------------------------------------- ##
7993 ## Report this to the package-unused lists. ##
7994 ## ----------------------------------------- ##
7995 _ASBOX
7997 sed "s/^/$as_me: WARNING: /" >&2
7999 esac
8000 echo "$as_me:$LINENO: checking for $ac_header" >&5
8001 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
8002 if eval "test \"\${$as_ac_Header+set}\" = set"; then
8003 echo $ECHO_N "(cached) $ECHO_C" >&6
8004 else
8005 eval "$as_ac_Header=\$ac_header_preproc"
8007 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
8008 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
8011 if test `eval echo '${'$as_ac_Header'}'` = yes; then
8012 cat >>confdefs.h <<_ACEOF
8013 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8014 _ACEOF
8018 done
8022 # All these tests are for C++; save the language and the compiler flags.
8023 # The CXXFLAGS thing is suspicious, but based on similar bits previously
8024 # found in GLIBCXX_CONFIGURE.
8027 ac_ext=cc
8028 ac_cpp='$CXXCPP $CPPFLAGS'
8029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8033 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8034 ac_save_CXXFLAGS="$CXXFLAGS"
8036 # Check for maintainer-mode bits.
8037 if test x"$USE_MAINTAINER_MODE" = xno; then
8038 WERROR=''
8039 else
8040 WERROR='-Werror'
8043 # Check for -ffunction-sections -fdata-sections
8044 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
8045 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
8046 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
8047 cat >conftest.$ac_ext <<_ACEOF
8048 /* confdefs.h. */
8049 _ACEOF
8050 cat confdefs.h >>conftest.$ac_ext
8051 cat >>conftest.$ac_ext <<_ACEOF
8052 /* end confdefs.h. */
8055 main ()
8057 int foo;
8059 return 0;
8061 _ACEOF
8062 rm -f conftest.$ac_objext
8063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8064 (eval $ac_compile) 2>conftest.er1
8065 ac_status=$?
8066 grep -v '^ *+' conftest.er1 >conftest.err
8067 rm -f conftest.er1
8068 cat conftest.err >&5
8069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8070 (exit $ac_status); } &&
8071 { ac_try='test -z "$ac_cxx_werror_flag"
8072 || test ! -s conftest.err'
8073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8074 (eval $ac_try) 2>&5
8075 ac_status=$?
8076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8077 (exit $ac_status); }; } &&
8078 { ac_try='test -s conftest.$ac_objext'
8079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8080 (eval $ac_try) 2>&5
8081 ac_status=$?
8082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8083 (exit $ac_status); }; }; then
8084 ac_fdsections=yes
8085 else
8086 echo "$as_me: failed program was:" >&5
8087 sed 's/^/| /' conftest.$ac_ext >&5
8089 ac_fdsections=no
8091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8092 if test "$ac_test_CXXFLAGS" = set; then
8093 CXXFLAGS="$ac_save_CXXFLAGS"
8094 else
8095 # this is the suspicious part
8096 CXXFLAGS=''
8098 if test x"$ac_fdsections" = x"yes"; then
8099 SECTION_FLAGS='-ffunction-sections -fdata-sections'
8101 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
8102 echo "${ECHO_T}$ac_fdsections" >&6
8104 ac_ext=c
8105 ac_cpp='$CPP $CPPFLAGS'
8106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8114 # If we're not using GNU ld, then there's no point in even trying these
8115 # tests. Check for that first. We should have already tested for gld
8116 # by now (in libtool), but require it now just to be safe...
8117 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
8118 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
8122 # The name set by libtool depends on the version of libtool. Shame on us
8123 # for depending on an impl detail, but c'est la vie. Older versions used
8124 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
8125 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
8126 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
8127 # set (hence we're using an older libtool), then set it.
8128 if test x${with_gnu_ld+set} != xset; then
8129 if test x${ac_cv_prog_gnu_ld+set} != xset; then
8130 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
8131 with_gnu_ld=no
8132 else
8133 with_gnu_ld=$ac_cv_prog_gnu_ld
8137 # Start by getting the version number. I think the libtool test already
8138 # does some of this, but throws away the result.
8140 ldver=`$LD --version 2>/dev/null | head -1 | \
8141 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
8143 glibcxx_gnu_ld_version=`echo $ldver | \
8144 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
8146 # Set --gc-sections.
8147 if test "$with_gnu_ld" = "notbroken"; then
8148 # GNU ld it is! Joy and bunny rabbits!
8150 # All these tests are for C++; save the language and the compiler flags.
8151 # Need to do this so that g++ won't try to link in libstdc++
8152 ac_test_CFLAGS="${CFLAGS+set}"
8153 ac_save_CFLAGS="$CFLAGS"
8154 CFLAGS='-x c++ -Wl,--gc-sections'
8156 # Check for -Wl,--gc-sections
8157 # XXX This test is broken at the moment, as symbols required for linking
8158 # are now in libsupc++ (not built yet). In addition, this test has
8159 # cored on solaris in the past. In addition, --gc-sections doesn't
8160 # really work at the moment (keeps on discarding used sections, first
8161 # .eh_frame and now some of the glibc sections for iconv).
8162 # Bzzzzt. Thanks for playing, maybe next time.
8163 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
8164 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
8165 if test "$cross_compiling" = yes; then
8166 ac_sectionLDflags=yes
8167 else
8168 cat >conftest.$ac_ext <<_ACEOF
8169 /* confdefs.h. */
8170 _ACEOF
8171 cat confdefs.h >>conftest.$ac_ext
8172 cat >>conftest.$ac_ext <<_ACEOF
8173 /* end confdefs.h. */
8175 int main(void)
8177 try { throw 1; }
8178 catch (...) { };
8179 return 0;
8182 _ACEOF
8183 rm -f conftest$ac_exeext
8184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8185 (eval $ac_link) 2>&5
8186 ac_status=$?
8187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8188 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8190 (eval $ac_try) 2>&5
8191 ac_status=$?
8192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8193 (exit $ac_status); }; }; then
8194 ac_sectionLDflags=yes
8195 else
8196 echo "$as_me: program exited with status $ac_status" >&5
8197 echo "$as_me: failed program was:" >&5
8198 sed 's/^/| /' conftest.$ac_ext >&5
8200 ( exit $ac_status )
8201 ac_sectionLDflags=no
8203 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8205 if test "$ac_test_CFLAGS" = set; then
8206 CFLAGS="$ac_save_CFLAGS"
8207 else
8208 # this is the suspicious part
8209 CFLAGS=''
8211 if test "$ac_sectionLDflags" = "yes"; then
8212 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
8214 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
8215 echo "${ECHO_T}$ac_sectionLDflags" >&6
8218 # Set linker optimization flags.
8219 if test x"$with_gnu_ld" = x"yes"; then
8220 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
8227 ac_test_CXXFLAGS="${CXXFLAGS+set}"
8228 ac_save_CXXFLAGS="$CXXFLAGS"
8229 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
8231 echo "$as_me:$LINENO: checking for sin in -lm" >&5
8232 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
8233 if test "${ac_cv_lib_m_sin+set}" = set; then
8234 echo $ECHO_N "(cached) $ECHO_C" >&6
8235 else
8236 ac_check_lib_save_LIBS=$LIBS
8237 LIBS="-lm $LIBS"
8238 if test x$gcc_no_link = xyes; then
8239 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8240 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8241 { (exit 1); exit 1; }; }
8243 cat >conftest.$ac_ext <<_ACEOF
8244 /* confdefs.h. */
8245 _ACEOF
8246 cat confdefs.h >>conftest.$ac_ext
8247 cat >>conftest.$ac_ext <<_ACEOF
8248 /* end confdefs.h. */
8250 /* Override any gcc2 internal prototype to avoid an error. */
8251 #ifdef __cplusplus
8252 extern "C"
8253 #endif
8254 /* We use char because int might match the return type of a gcc2
8255 builtin and then its argument prototype would still apply. */
8256 char sin ();
8258 main ()
8260 sin ();
8262 return 0;
8264 _ACEOF
8265 rm -f conftest.$ac_objext conftest$ac_exeext
8266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8267 (eval $ac_link) 2>conftest.er1
8268 ac_status=$?
8269 grep -v '^ *+' conftest.er1 >conftest.err
8270 rm -f conftest.er1
8271 cat conftest.err >&5
8272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8273 (exit $ac_status); } &&
8274 { ac_try='test -z "$ac_c_werror_flag"
8275 || test ! -s conftest.err'
8276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8277 (eval $ac_try) 2>&5
8278 ac_status=$?
8279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8280 (exit $ac_status); }; } &&
8281 { ac_try='test -s conftest$ac_exeext'
8282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8283 (eval $ac_try) 2>&5
8284 ac_status=$?
8285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8286 (exit $ac_status); }; }; then
8287 ac_cv_lib_m_sin=yes
8288 else
8289 echo "$as_me: failed program was:" >&5
8290 sed 's/^/| /' conftest.$ac_ext >&5
8292 ac_cv_lib_m_sin=no
8294 rm -f conftest.err conftest.$ac_objext \
8295 conftest$ac_exeext conftest.$ac_ext
8296 LIBS=$ac_check_lib_save_LIBS
8298 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
8299 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
8300 if test $ac_cv_lib_m_sin = yes; then
8301 libm="-lm"
8304 ac_save_LIBS="$LIBS"
8305 LIBS="$LIBS $libm"
8309 echo "$as_me:$LINENO: checking for isinf declaration" >&5
8310 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
8311 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
8312 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
8313 echo $ECHO_N "(cached) $ECHO_C" >&6
8314 else
8318 ac_ext=cc
8319 ac_cpp='$CXXCPP $CPPFLAGS'
8320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8324 cat >conftest.$ac_ext <<_ACEOF
8325 /* confdefs.h. */
8326 _ACEOF
8327 cat confdefs.h >>conftest.$ac_ext
8328 cat >>conftest.$ac_ext <<_ACEOF
8329 /* end confdefs.h. */
8330 #include <math.h>
8331 #ifdef HAVE_IEEEFP_H
8332 #include <ieeefp.h>
8333 #endif
8336 main ()
8338 isinf(0);
8340 return 0;
8342 _ACEOF
8343 rm -f conftest.$ac_objext
8344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8345 (eval $ac_compile) 2>conftest.er1
8346 ac_status=$?
8347 grep -v '^ *+' conftest.er1 >conftest.err
8348 rm -f conftest.er1
8349 cat conftest.err >&5
8350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8351 (exit $ac_status); } &&
8352 { ac_try='test -z "$ac_cxx_werror_flag"
8353 || test ! -s conftest.err'
8354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8355 (eval $ac_try) 2>&5
8356 ac_status=$?
8357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8358 (exit $ac_status); }; } &&
8359 { ac_try='test -s conftest.$ac_objext'
8360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8361 (eval $ac_try) 2>&5
8362 ac_status=$?
8363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8364 (exit $ac_status); }; }; then
8365 glibcxx_cv_func_isinf_use=yes
8366 else
8367 echo "$as_me: failed program was:" >&5
8368 sed 's/^/| /' conftest.$ac_ext >&5
8370 glibcxx_cv_func_isinf_use=no
8372 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8373 ac_ext=c
8374 ac_cpp='$CPP $CPPFLAGS'
8375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8383 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
8384 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
8386 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
8388 for ac_func in isinf
8390 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8391 echo "$as_me:$LINENO: checking for $ac_func" >&5
8392 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8393 if eval "test \"\${$as_ac_var+set}\" = set"; then
8394 echo $ECHO_N "(cached) $ECHO_C" >&6
8395 else
8396 if test x$gcc_no_link = xyes; then
8397 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8398 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8399 { (exit 1); exit 1; }; }
8401 cat >conftest.$ac_ext <<_ACEOF
8402 /* confdefs.h. */
8403 _ACEOF
8404 cat confdefs.h >>conftest.$ac_ext
8405 cat >>conftest.$ac_ext <<_ACEOF
8406 /* end confdefs.h. */
8407 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8408 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8409 #define $ac_func innocuous_$ac_func
8411 /* System header to define __stub macros and hopefully few prototypes,
8412 which can conflict with char $ac_func (); below.
8413 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8414 <limits.h> exists even on freestanding compilers. */
8416 #ifdef __STDC__
8417 # include <limits.h>
8418 #else
8419 # include <assert.h>
8420 #endif
8422 #undef $ac_func
8424 /* Override any gcc2 internal prototype to avoid an error. */
8425 #ifdef __cplusplus
8426 extern "C"
8428 #endif
8429 /* We use char because int might match the return type of a gcc2
8430 builtin and then its argument prototype would still apply. */
8431 char $ac_func ();
8432 /* The GNU C library defines this for functions which it implements
8433 to always fail with ENOSYS. Some functions are actually named
8434 something starting with __ and the normal name is an alias. */
8435 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8436 choke me
8437 #else
8438 char (*f) () = $ac_func;
8439 #endif
8440 #ifdef __cplusplus
8442 #endif
8445 main ()
8447 return f != $ac_func;
8449 return 0;
8451 _ACEOF
8452 rm -f conftest.$ac_objext conftest$ac_exeext
8453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8454 (eval $ac_link) 2>conftest.er1
8455 ac_status=$?
8456 grep -v '^ *+' conftest.er1 >conftest.err
8457 rm -f conftest.er1
8458 cat conftest.err >&5
8459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8460 (exit $ac_status); } &&
8461 { ac_try='test -z "$ac_c_werror_flag"
8462 || test ! -s conftest.err'
8463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8464 (eval $ac_try) 2>&5
8465 ac_status=$?
8466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8467 (exit $ac_status); }; } &&
8468 { ac_try='test -s conftest$ac_exeext'
8469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8470 (eval $ac_try) 2>&5
8471 ac_status=$?
8472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8473 (exit $ac_status); }; }; then
8474 eval "$as_ac_var=yes"
8475 else
8476 echo "$as_me: failed program was:" >&5
8477 sed 's/^/| /' conftest.$ac_ext >&5
8479 eval "$as_ac_var=no"
8481 rm -f conftest.err conftest.$ac_objext \
8482 conftest$ac_exeext conftest.$ac_ext
8484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8485 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8486 if test `eval echo '${'$as_ac_var'}'` = yes; then
8487 cat >>confdefs.h <<_ACEOF
8488 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8489 _ACEOF
8492 done
8494 else
8496 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
8497 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
8498 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
8499 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
8500 echo $ECHO_N "(cached) $ECHO_C" >&6
8501 else
8505 ac_ext=cc
8506 ac_cpp='$CXXCPP $CPPFLAGS'
8507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8511 cat >conftest.$ac_ext <<_ACEOF
8512 /* confdefs.h. */
8513 _ACEOF
8514 cat confdefs.h >>conftest.$ac_ext
8515 cat >>conftest.$ac_ext <<_ACEOF
8516 /* end confdefs.h. */
8517 #include <math.h>
8518 #ifdef HAVE_IEEEFP_H
8519 #include <ieeefp.h>
8520 #endif
8523 main ()
8525 _isinf(0);
8527 return 0;
8529 _ACEOF
8530 rm -f conftest.$ac_objext
8531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8532 (eval $ac_compile) 2>conftest.er1
8533 ac_status=$?
8534 grep -v '^ *+' conftest.er1 >conftest.err
8535 rm -f conftest.er1
8536 cat conftest.err >&5
8537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8538 (exit $ac_status); } &&
8539 { ac_try='test -z "$ac_cxx_werror_flag"
8540 || test ! -s conftest.err'
8541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8542 (eval $ac_try) 2>&5
8543 ac_status=$?
8544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8545 (exit $ac_status); }; } &&
8546 { ac_try='test -s conftest.$ac_objext'
8547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8548 (eval $ac_try) 2>&5
8549 ac_status=$?
8550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8551 (exit $ac_status); }; }; then
8552 glibcxx_cv_func__isinf_use=yes
8553 else
8554 echo "$as_me: failed program was:" >&5
8555 sed 's/^/| /' conftest.$ac_ext >&5
8557 glibcxx_cv_func__isinf_use=no
8559 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8560 ac_ext=c
8561 ac_cpp='$CPP $CPPFLAGS'
8562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8570 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
8571 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
8573 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
8575 for ac_func in _isinf
8577 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8578 echo "$as_me:$LINENO: checking for $ac_func" >&5
8579 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8580 if eval "test \"\${$as_ac_var+set}\" = set"; then
8581 echo $ECHO_N "(cached) $ECHO_C" >&6
8582 else
8583 if test x$gcc_no_link = xyes; then
8584 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8585 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8586 { (exit 1); exit 1; }; }
8588 cat >conftest.$ac_ext <<_ACEOF
8589 /* confdefs.h. */
8590 _ACEOF
8591 cat confdefs.h >>conftest.$ac_ext
8592 cat >>conftest.$ac_ext <<_ACEOF
8593 /* end confdefs.h. */
8594 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8595 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8596 #define $ac_func innocuous_$ac_func
8598 /* System header to define __stub macros and hopefully few prototypes,
8599 which can conflict with char $ac_func (); below.
8600 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8601 <limits.h> exists even on freestanding compilers. */
8603 #ifdef __STDC__
8604 # include <limits.h>
8605 #else
8606 # include <assert.h>
8607 #endif
8609 #undef $ac_func
8611 /* Override any gcc2 internal prototype to avoid an error. */
8612 #ifdef __cplusplus
8613 extern "C"
8615 #endif
8616 /* We use char because int might match the return type of a gcc2
8617 builtin and then its argument prototype would still apply. */
8618 char $ac_func ();
8619 /* The GNU C library defines this for functions which it implements
8620 to always fail with ENOSYS. Some functions are actually named
8621 something starting with __ and the normal name is an alias. */
8622 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8623 choke me
8624 #else
8625 char (*f) () = $ac_func;
8626 #endif
8627 #ifdef __cplusplus
8629 #endif
8632 main ()
8634 return f != $ac_func;
8636 return 0;
8638 _ACEOF
8639 rm -f conftest.$ac_objext conftest$ac_exeext
8640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8641 (eval $ac_link) 2>conftest.er1
8642 ac_status=$?
8643 grep -v '^ *+' conftest.er1 >conftest.err
8644 rm -f conftest.er1
8645 cat conftest.err >&5
8646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8647 (exit $ac_status); } &&
8648 { ac_try='test -z "$ac_c_werror_flag"
8649 || test ! -s conftest.err'
8650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8651 (eval $ac_try) 2>&5
8652 ac_status=$?
8653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8654 (exit $ac_status); }; } &&
8655 { ac_try='test -s conftest$ac_exeext'
8656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8657 (eval $ac_try) 2>&5
8658 ac_status=$?
8659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8660 (exit $ac_status); }; }; then
8661 eval "$as_ac_var=yes"
8662 else
8663 echo "$as_me: failed program was:" >&5
8664 sed 's/^/| /' conftest.$ac_ext >&5
8666 eval "$as_ac_var=no"
8668 rm -f conftest.err conftest.$ac_objext \
8669 conftest$ac_exeext conftest.$ac_ext
8671 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8672 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8673 if test `eval echo '${'$as_ac_var'}'` = yes; then
8674 cat >>confdefs.h <<_ACEOF
8675 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8676 _ACEOF
8679 done
8686 echo "$as_me:$LINENO: checking for isnan declaration" >&5
8687 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
8688 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
8689 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
8690 echo $ECHO_N "(cached) $ECHO_C" >&6
8691 else
8695 ac_ext=cc
8696 ac_cpp='$CXXCPP $CPPFLAGS'
8697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8701 cat >conftest.$ac_ext <<_ACEOF
8702 /* confdefs.h. */
8703 _ACEOF
8704 cat confdefs.h >>conftest.$ac_ext
8705 cat >>conftest.$ac_ext <<_ACEOF
8706 /* end confdefs.h. */
8707 #include <math.h>
8708 #ifdef HAVE_IEEEFP_H
8709 #include <ieeefp.h>
8710 #endif
8713 main ()
8715 isnan(0);
8717 return 0;
8719 _ACEOF
8720 rm -f conftest.$ac_objext
8721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8722 (eval $ac_compile) 2>conftest.er1
8723 ac_status=$?
8724 grep -v '^ *+' conftest.er1 >conftest.err
8725 rm -f conftest.er1
8726 cat conftest.err >&5
8727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8728 (exit $ac_status); } &&
8729 { ac_try='test -z "$ac_cxx_werror_flag"
8730 || test ! -s conftest.err'
8731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8732 (eval $ac_try) 2>&5
8733 ac_status=$?
8734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8735 (exit $ac_status); }; } &&
8736 { ac_try='test -s conftest.$ac_objext'
8737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8738 (eval $ac_try) 2>&5
8739 ac_status=$?
8740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8741 (exit $ac_status); }; }; then
8742 glibcxx_cv_func_isnan_use=yes
8743 else
8744 echo "$as_me: failed program was:" >&5
8745 sed 's/^/| /' conftest.$ac_ext >&5
8747 glibcxx_cv_func_isnan_use=no
8749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8750 ac_ext=c
8751 ac_cpp='$CPP $CPPFLAGS'
8752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8760 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
8761 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
8763 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
8765 for ac_func in isnan
8767 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8768 echo "$as_me:$LINENO: checking for $ac_func" >&5
8769 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8770 if eval "test \"\${$as_ac_var+set}\" = set"; then
8771 echo $ECHO_N "(cached) $ECHO_C" >&6
8772 else
8773 if test x$gcc_no_link = xyes; then
8774 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8775 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8776 { (exit 1); exit 1; }; }
8778 cat >conftest.$ac_ext <<_ACEOF
8779 /* confdefs.h. */
8780 _ACEOF
8781 cat confdefs.h >>conftest.$ac_ext
8782 cat >>conftest.$ac_ext <<_ACEOF
8783 /* end confdefs.h. */
8784 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8785 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8786 #define $ac_func innocuous_$ac_func
8788 /* System header to define __stub macros and hopefully few prototypes,
8789 which can conflict with char $ac_func (); below.
8790 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8791 <limits.h> exists even on freestanding compilers. */
8793 #ifdef __STDC__
8794 # include <limits.h>
8795 #else
8796 # include <assert.h>
8797 #endif
8799 #undef $ac_func
8801 /* Override any gcc2 internal prototype to avoid an error. */
8802 #ifdef __cplusplus
8803 extern "C"
8805 #endif
8806 /* We use char because int might match the return type of a gcc2
8807 builtin and then its argument prototype would still apply. */
8808 char $ac_func ();
8809 /* The GNU C library defines this for functions which it implements
8810 to always fail with ENOSYS. Some functions are actually named
8811 something starting with __ and the normal name is an alias. */
8812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
8813 choke me
8814 #else
8815 char (*f) () = $ac_func;
8816 #endif
8817 #ifdef __cplusplus
8819 #endif
8822 main ()
8824 return f != $ac_func;
8826 return 0;
8828 _ACEOF
8829 rm -f conftest.$ac_objext conftest$ac_exeext
8830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8831 (eval $ac_link) 2>conftest.er1
8832 ac_status=$?
8833 grep -v '^ *+' conftest.er1 >conftest.err
8834 rm -f conftest.er1
8835 cat conftest.err >&5
8836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8837 (exit $ac_status); } &&
8838 { ac_try='test -z "$ac_c_werror_flag"
8839 || test ! -s conftest.err'
8840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8841 (eval $ac_try) 2>&5
8842 ac_status=$?
8843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8844 (exit $ac_status); }; } &&
8845 { ac_try='test -s conftest$ac_exeext'
8846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8847 (eval $ac_try) 2>&5
8848 ac_status=$?
8849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8850 (exit $ac_status); }; }; then
8851 eval "$as_ac_var=yes"
8852 else
8853 echo "$as_me: failed program was:" >&5
8854 sed 's/^/| /' conftest.$ac_ext >&5
8856 eval "$as_ac_var=no"
8858 rm -f conftest.err conftest.$ac_objext \
8859 conftest$ac_exeext conftest.$ac_ext
8861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
8862 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
8863 if test `eval echo '${'$as_ac_var'}'` = yes; then
8864 cat >>confdefs.h <<_ACEOF
8865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8866 _ACEOF
8869 done
8871 else
8873 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
8874 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
8875 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
8876 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
8877 echo $ECHO_N "(cached) $ECHO_C" >&6
8878 else
8882 ac_ext=cc
8883 ac_cpp='$CXXCPP $CPPFLAGS'
8884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8888 cat >conftest.$ac_ext <<_ACEOF
8889 /* confdefs.h. */
8890 _ACEOF
8891 cat confdefs.h >>conftest.$ac_ext
8892 cat >>conftest.$ac_ext <<_ACEOF
8893 /* end confdefs.h. */
8894 #include <math.h>
8895 #ifdef HAVE_IEEEFP_H
8896 #include <ieeefp.h>
8897 #endif
8900 main ()
8902 _isnan(0);
8904 return 0;
8906 _ACEOF
8907 rm -f conftest.$ac_objext
8908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8909 (eval $ac_compile) 2>conftest.er1
8910 ac_status=$?
8911 grep -v '^ *+' conftest.er1 >conftest.err
8912 rm -f conftest.er1
8913 cat conftest.err >&5
8914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8915 (exit $ac_status); } &&
8916 { ac_try='test -z "$ac_cxx_werror_flag"
8917 || test ! -s conftest.err'
8918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8919 (eval $ac_try) 2>&5
8920 ac_status=$?
8921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8922 (exit $ac_status); }; } &&
8923 { ac_try='test -s conftest.$ac_objext'
8924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8925 (eval $ac_try) 2>&5
8926 ac_status=$?
8927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8928 (exit $ac_status); }; }; then
8929 glibcxx_cv_func__isnan_use=yes
8930 else
8931 echo "$as_me: failed program was:" >&5
8932 sed 's/^/| /' conftest.$ac_ext >&5
8934 glibcxx_cv_func__isnan_use=no
8936 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
8937 ac_ext=c
8938 ac_cpp='$CPP $CPPFLAGS'
8939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8947 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
8948 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
8950 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
8952 for ac_func in _isnan
8954 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8955 echo "$as_me:$LINENO: checking for $ac_func" >&5
8956 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
8957 if eval "test \"\${$as_ac_var+set}\" = set"; then
8958 echo $ECHO_N "(cached) $ECHO_C" >&6
8959 else
8960 if test x$gcc_no_link = xyes; then
8961 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8962 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8963 { (exit 1); exit 1; }; }
8965 cat >conftest.$ac_ext <<_ACEOF
8966 /* confdefs.h. */
8967 _ACEOF
8968 cat confdefs.h >>conftest.$ac_ext
8969 cat >>conftest.$ac_ext <<_ACEOF
8970 /* end confdefs.h. */
8971 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8972 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8973 #define $ac_func innocuous_$ac_func
8975 /* System header to define __stub macros and hopefully few prototypes,
8976 which can conflict with char $ac_func (); below.
8977 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8978 <limits.h> exists even on freestanding compilers. */
8980 #ifdef __STDC__
8981 # include <limits.h>
8982 #else
8983 # include <assert.h>
8984 #endif
8986 #undef $ac_func
8988 /* Override any gcc2 internal prototype to avoid an error. */
8989 #ifdef __cplusplus
8990 extern "C"
8992 #endif
8993 /* We use char because int might match the return type of a gcc2
8994 builtin and then its argument prototype would still apply. */
8995 char $ac_func ();
8996 /* The GNU C library defines this for functions which it implements
8997 to always fail with ENOSYS. Some functions are actually named
8998 something starting with __ and the normal name is an alias. */
8999 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9000 choke me
9001 #else
9002 char (*f) () = $ac_func;
9003 #endif
9004 #ifdef __cplusplus
9006 #endif
9009 main ()
9011 return f != $ac_func;
9013 return 0;
9015 _ACEOF
9016 rm -f conftest.$ac_objext conftest$ac_exeext
9017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9018 (eval $ac_link) 2>conftest.er1
9019 ac_status=$?
9020 grep -v '^ *+' conftest.er1 >conftest.err
9021 rm -f conftest.er1
9022 cat conftest.err >&5
9023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9024 (exit $ac_status); } &&
9025 { ac_try='test -z "$ac_c_werror_flag"
9026 || test ! -s conftest.err'
9027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9028 (eval $ac_try) 2>&5
9029 ac_status=$?
9030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9031 (exit $ac_status); }; } &&
9032 { ac_try='test -s conftest$ac_exeext'
9033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9034 (eval $ac_try) 2>&5
9035 ac_status=$?
9036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9037 (exit $ac_status); }; }; then
9038 eval "$as_ac_var=yes"
9039 else
9040 echo "$as_me: failed program was:" >&5
9041 sed 's/^/| /' conftest.$ac_ext >&5
9043 eval "$as_ac_var=no"
9045 rm -f conftest.err conftest.$ac_objext \
9046 conftest$ac_exeext conftest.$ac_ext
9048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9049 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9050 if test `eval echo '${'$as_ac_var'}'` = yes; then
9051 cat >>confdefs.h <<_ACEOF
9052 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9053 _ACEOF
9056 done
9063 echo "$as_me:$LINENO: checking for finite declaration" >&5
9064 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
9065 if test x${glibcxx_cv_func_finite_use+set} != xset; then
9066 if test "${glibcxx_cv_func_finite_use+set}" = set; then
9067 echo $ECHO_N "(cached) $ECHO_C" >&6
9068 else
9072 ac_ext=cc
9073 ac_cpp='$CXXCPP $CPPFLAGS'
9074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9078 cat >conftest.$ac_ext <<_ACEOF
9079 /* confdefs.h. */
9080 _ACEOF
9081 cat confdefs.h >>conftest.$ac_ext
9082 cat >>conftest.$ac_ext <<_ACEOF
9083 /* end confdefs.h. */
9084 #include <math.h>
9085 #ifdef HAVE_IEEEFP_H
9086 #include <ieeefp.h>
9087 #endif
9090 main ()
9092 finite(0);
9094 return 0;
9096 _ACEOF
9097 rm -f conftest.$ac_objext
9098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9099 (eval $ac_compile) 2>conftest.er1
9100 ac_status=$?
9101 grep -v '^ *+' conftest.er1 >conftest.err
9102 rm -f conftest.er1
9103 cat conftest.err >&5
9104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9105 (exit $ac_status); } &&
9106 { ac_try='test -z "$ac_cxx_werror_flag"
9107 || test ! -s conftest.err'
9108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9109 (eval $ac_try) 2>&5
9110 ac_status=$?
9111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9112 (exit $ac_status); }; } &&
9113 { ac_try='test -s conftest.$ac_objext'
9114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9115 (eval $ac_try) 2>&5
9116 ac_status=$?
9117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9118 (exit $ac_status); }; }; then
9119 glibcxx_cv_func_finite_use=yes
9120 else
9121 echo "$as_me: failed program was:" >&5
9122 sed 's/^/| /' conftest.$ac_ext >&5
9124 glibcxx_cv_func_finite_use=no
9126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9127 ac_ext=c
9128 ac_cpp='$CPP $CPPFLAGS'
9129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9137 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
9138 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
9140 if test x$glibcxx_cv_func_finite_use = x"yes"; then
9142 for ac_func in finite
9144 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9145 echo "$as_me:$LINENO: checking for $ac_func" >&5
9146 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9147 if eval "test \"\${$as_ac_var+set}\" = set"; then
9148 echo $ECHO_N "(cached) $ECHO_C" >&6
9149 else
9150 if test x$gcc_no_link = xyes; then
9151 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9152 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9153 { (exit 1); exit 1; }; }
9155 cat >conftest.$ac_ext <<_ACEOF
9156 /* confdefs.h. */
9157 _ACEOF
9158 cat confdefs.h >>conftest.$ac_ext
9159 cat >>conftest.$ac_ext <<_ACEOF
9160 /* end confdefs.h. */
9161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9163 #define $ac_func innocuous_$ac_func
9165 /* System header to define __stub macros and hopefully few prototypes,
9166 which can conflict with char $ac_func (); below.
9167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9168 <limits.h> exists even on freestanding compilers. */
9170 #ifdef __STDC__
9171 # include <limits.h>
9172 #else
9173 # include <assert.h>
9174 #endif
9176 #undef $ac_func
9178 /* Override any gcc2 internal prototype to avoid an error. */
9179 #ifdef __cplusplus
9180 extern "C"
9182 #endif
9183 /* We use char because int might match the return type of a gcc2
9184 builtin and then its argument prototype would still apply. */
9185 char $ac_func ();
9186 /* The GNU C library defines this for functions which it implements
9187 to always fail with ENOSYS. Some functions are actually named
9188 something starting with __ and the normal name is an alias. */
9189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9190 choke me
9191 #else
9192 char (*f) () = $ac_func;
9193 #endif
9194 #ifdef __cplusplus
9196 #endif
9199 main ()
9201 return f != $ac_func;
9203 return 0;
9205 _ACEOF
9206 rm -f conftest.$ac_objext conftest$ac_exeext
9207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9208 (eval $ac_link) 2>conftest.er1
9209 ac_status=$?
9210 grep -v '^ *+' conftest.er1 >conftest.err
9211 rm -f conftest.er1
9212 cat conftest.err >&5
9213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9214 (exit $ac_status); } &&
9215 { ac_try='test -z "$ac_c_werror_flag"
9216 || test ! -s conftest.err'
9217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9218 (eval $ac_try) 2>&5
9219 ac_status=$?
9220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9221 (exit $ac_status); }; } &&
9222 { ac_try='test -s conftest$ac_exeext'
9223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9224 (eval $ac_try) 2>&5
9225 ac_status=$?
9226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9227 (exit $ac_status); }; }; then
9228 eval "$as_ac_var=yes"
9229 else
9230 echo "$as_me: failed program was:" >&5
9231 sed 's/^/| /' conftest.$ac_ext >&5
9233 eval "$as_ac_var=no"
9235 rm -f conftest.err conftest.$ac_objext \
9236 conftest$ac_exeext conftest.$ac_ext
9238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9239 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9240 if test `eval echo '${'$as_ac_var'}'` = yes; then
9241 cat >>confdefs.h <<_ACEOF
9242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9243 _ACEOF
9246 done
9248 else
9250 echo "$as_me:$LINENO: checking for _finite declaration" >&5
9251 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
9252 if test x${glibcxx_cv_func__finite_use+set} != xset; then
9253 if test "${glibcxx_cv_func__finite_use+set}" = set; then
9254 echo $ECHO_N "(cached) $ECHO_C" >&6
9255 else
9259 ac_ext=cc
9260 ac_cpp='$CXXCPP $CPPFLAGS'
9261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9265 cat >conftest.$ac_ext <<_ACEOF
9266 /* confdefs.h. */
9267 _ACEOF
9268 cat confdefs.h >>conftest.$ac_ext
9269 cat >>conftest.$ac_ext <<_ACEOF
9270 /* end confdefs.h. */
9271 #include <math.h>
9272 #ifdef HAVE_IEEEFP_H
9273 #include <ieeefp.h>
9274 #endif
9277 main ()
9279 _finite(0);
9281 return 0;
9283 _ACEOF
9284 rm -f conftest.$ac_objext
9285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9286 (eval $ac_compile) 2>conftest.er1
9287 ac_status=$?
9288 grep -v '^ *+' conftest.er1 >conftest.err
9289 rm -f conftest.er1
9290 cat conftest.err >&5
9291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9292 (exit $ac_status); } &&
9293 { ac_try='test -z "$ac_cxx_werror_flag"
9294 || test ! -s conftest.err'
9295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9296 (eval $ac_try) 2>&5
9297 ac_status=$?
9298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9299 (exit $ac_status); }; } &&
9300 { ac_try='test -s conftest.$ac_objext'
9301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9302 (eval $ac_try) 2>&5
9303 ac_status=$?
9304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9305 (exit $ac_status); }; }; then
9306 glibcxx_cv_func__finite_use=yes
9307 else
9308 echo "$as_me: failed program was:" >&5
9309 sed 's/^/| /' conftest.$ac_ext >&5
9311 glibcxx_cv_func__finite_use=no
9313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9314 ac_ext=c
9315 ac_cpp='$CPP $CPPFLAGS'
9316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9324 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
9325 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
9327 if test x$glibcxx_cv_func__finite_use = x"yes"; then
9329 for ac_func in _finite
9331 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9332 echo "$as_me:$LINENO: checking for $ac_func" >&5
9333 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9334 if eval "test \"\${$as_ac_var+set}\" = set"; then
9335 echo $ECHO_N "(cached) $ECHO_C" >&6
9336 else
9337 if test x$gcc_no_link = xyes; then
9338 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9339 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9340 { (exit 1); exit 1; }; }
9342 cat >conftest.$ac_ext <<_ACEOF
9343 /* confdefs.h. */
9344 _ACEOF
9345 cat confdefs.h >>conftest.$ac_ext
9346 cat >>conftest.$ac_ext <<_ACEOF
9347 /* end confdefs.h. */
9348 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9349 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9350 #define $ac_func innocuous_$ac_func
9352 /* System header to define __stub macros and hopefully few prototypes,
9353 which can conflict with char $ac_func (); below.
9354 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9355 <limits.h> exists even on freestanding compilers. */
9357 #ifdef __STDC__
9358 # include <limits.h>
9359 #else
9360 # include <assert.h>
9361 #endif
9363 #undef $ac_func
9365 /* Override any gcc2 internal prototype to avoid an error. */
9366 #ifdef __cplusplus
9367 extern "C"
9369 #endif
9370 /* We use char because int might match the return type of a gcc2
9371 builtin and then its argument prototype would still apply. */
9372 char $ac_func ();
9373 /* The GNU C library defines this for functions which it implements
9374 to always fail with ENOSYS. Some functions are actually named
9375 something starting with __ and the normal name is an alias. */
9376 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9377 choke me
9378 #else
9379 char (*f) () = $ac_func;
9380 #endif
9381 #ifdef __cplusplus
9383 #endif
9386 main ()
9388 return f != $ac_func;
9390 return 0;
9392 _ACEOF
9393 rm -f conftest.$ac_objext conftest$ac_exeext
9394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9395 (eval $ac_link) 2>conftest.er1
9396 ac_status=$?
9397 grep -v '^ *+' conftest.er1 >conftest.err
9398 rm -f conftest.er1
9399 cat conftest.err >&5
9400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9401 (exit $ac_status); } &&
9402 { ac_try='test -z "$ac_c_werror_flag"
9403 || test ! -s conftest.err'
9404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9405 (eval $ac_try) 2>&5
9406 ac_status=$?
9407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9408 (exit $ac_status); }; } &&
9409 { ac_try='test -s conftest$ac_exeext'
9410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9411 (eval $ac_try) 2>&5
9412 ac_status=$?
9413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9414 (exit $ac_status); }; }; then
9415 eval "$as_ac_var=yes"
9416 else
9417 echo "$as_me: failed program was:" >&5
9418 sed 's/^/| /' conftest.$ac_ext >&5
9420 eval "$as_ac_var=no"
9422 rm -f conftest.err conftest.$ac_objext \
9423 conftest$ac_exeext conftest.$ac_ext
9425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9426 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9427 if test `eval echo '${'$as_ac_var'}'` = yes; then
9428 cat >>confdefs.h <<_ACEOF
9429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9430 _ACEOF
9433 done
9440 echo "$as_me:$LINENO: checking for copysign declaration" >&5
9441 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
9442 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
9443 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
9444 echo $ECHO_N "(cached) $ECHO_C" >&6
9445 else
9449 ac_ext=cc
9450 ac_cpp='$CXXCPP $CPPFLAGS'
9451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9455 cat >conftest.$ac_ext <<_ACEOF
9456 /* confdefs.h. */
9457 _ACEOF
9458 cat confdefs.h >>conftest.$ac_ext
9459 cat >>conftest.$ac_ext <<_ACEOF
9460 /* end confdefs.h. */
9461 #include <math.h>
9463 main ()
9465 copysign(0, 0);
9467 return 0;
9469 _ACEOF
9470 rm -f conftest.$ac_objext
9471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9472 (eval $ac_compile) 2>conftest.er1
9473 ac_status=$?
9474 grep -v '^ *+' conftest.er1 >conftest.err
9475 rm -f conftest.er1
9476 cat conftest.err >&5
9477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9478 (exit $ac_status); } &&
9479 { ac_try='test -z "$ac_cxx_werror_flag"
9480 || test ! -s conftest.err'
9481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9482 (eval $ac_try) 2>&5
9483 ac_status=$?
9484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9485 (exit $ac_status); }; } &&
9486 { ac_try='test -s conftest.$ac_objext'
9487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9488 (eval $ac_try) 2>&5
9489 ac_status=$?
9490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9491 (exit $ac_status); }; }; then
9492 glibcxx_cv_func_copysign_use=yes
9493 else
9494 echo "$as_me: failed program was:" >&5
9495 sed 's/^/| /' conftest.$ac_ext >&5
9497 glibcxx_cv_func_copysign_use=no
9499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9500 ac_ext=c
9501 ac_cpp='$CPP $CPPFLAGS'
9502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9510 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
9511 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
9513 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
9515 for ac_func in copysign
9517 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9518 echo "$as_me:$LINENO: checking for $ac_func" >&5
9519 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9520 if eval "test \"\${$as_ac_var+set}\" = set"; then
9521 echo $ECHO_N "(cached) $ECHO_C" >&6
9522 else
9523 if test x$gcc_no_link = xyes; then
9524 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9525 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9526 { (exit 1); exit 1; }; }
9528 cat >conftest.$ac_ext <<_ACEOF
9529 /* confdefs.h. */
9530 _ACEOF
9531 cat confdefs.h >>conftest.$ac_ext
9532 cat >>conftest.$ac_ext <<_ACEOF
9533 /* end confdefs.h. */
9534 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9535 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9536 #define $ac_func innocuous_$ac_func
9538 /* System header to define __stub macros and hopefully few prototypes,
9539 which can conflict with char $ac_func (); below.
9540 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9541 <limits.h> exists even on freestanding compilers. */
9543 #ifdef __STDC__
9544 # include <limits.h>
9545 #else
9546 # include <assert.h>
9547 #endif
9549 #undef $ac_func
9551 /* Override any gcc2 internal prototype to avoid an error. */
9552 #ifdef __cplusplus
9553 extern "C"
9555 #endif
9556 /* We use char because int might match the return type of a gcc2
9557 builtin and then its argument prototype would still apply. */
9558 char $ac_func ();
9559 /* The GNU C library defines this for functions which it implements
9560 to always fail with ENOSYS. Some functions are actually named
9561 something starting with __ and the normal name is an alias. */
9562 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9563 choke me
9564 #else
9565 char (*f) () = $ac_func;
9566 #endif
9567 #ifdef __cplusplus
9569 #endif
9572 main ()
9574 return f != $ac_func;
9576 return 0;
9578 _ACEOF
9579 rm -f conftest.$ac_objext conftest$ac_exeext
9580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9581 (eval $ac_link) 2>conftest.er1
9582 ac_status=$?
9583 grep -v '^ *+' conftest.er1 >conftest.err
9584 rm -f conftest.er1
9585 cat conftest.err >&5
9586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9587 (exit $ac_status); } &&
9588 { ac_try='test -z "$ac_c_werror_flag"
9589 || test ! -s conftest.err'
9590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9591 (eval $ac_try) 2>&5
9592 ac_status=$?
9593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9594 (exit $ac_status); }; } &&
9595 { ac_try='test -s conftest$ac_exeext'
9596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9597 (eval $ac_try) 2>&5
9598 ac_status=$?
9599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9600 (exit $ac_status); }; }; then
9601 eval "$as_ac_var=yes"
9602 else
9603 echo "$as_me: failed program was:" >&5
9604 sed 's/^/| /' conftest.$ac_ext >&5
9606 eval "$as_ac_var=no"
9608 rm -f conftest.err conftest.$ac_objext \
9609 conftest$ac_exeext conftest.$ac_ext
9611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9612 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9613 if test `eval echo '${'$as_ac_var'}'` = yes; then
9614 cat >>confdefs.h <<_ACEOF
9615 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9616 _ACEOF
9619 done
9621 else
9623 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
9624 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
9625 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
9626 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
9627 echo $ECHO_N "(cached) $ECHO_C" >&6
9628 else
9632 ac_ext=cc
9633 ac_cpp='$CXXCPP $CPPFLAGS'
9634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9638 cat >conftest.$ac_ext <<_ACEOF
9639 /* confdefs.h. */
9640 _ACEOF
9641 cat confdefs.h >>conftest.$ac_ext
9642 cat >>conftest.$ac_ext <<_ACEOF
9643 /* end confdefs.h. */
9644 #include <math.h>
9646 main ()
9648 _copysign(0, 0);
9650 return 0;
9652 _ACEOF
9653 rm -f conftest.$ac_objext
9654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9655 (eval $ac_compile) 2>conftest.er1
9656 ac_status=$?
9657 grep -v '^ *+' conftest.er1 >conftest.err
9658 rm -f conftest.er1
9659 cat conftest.err >&5
9660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9661 (exit $ac_status); } &&
9662 { ac_try='test -z "$ac_cxx_werror_flag"
9663 || test ! -s conftest.err'
9664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9665 (eval $ac_try) 2>&5
9666 ac_status=$?
9667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9668 (exit $ac_status); }; } &&
9669 { ac_try='test -s conftest.$ac_objext'
9670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9671 (eval $ac_try) 2>&5
9672 ac_status=$?
9673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9674 (exit $ac_status); }; }; then
9675 glibcxx_cv_func__copysign_use=yes
9676 else
9677 echo "$as_me: failed program was:" >&5
9678 sed 's/^/| /' conftest.$ac_ext >&5
9680 glibcxx_cv_func__copysign_use=no
9682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9683 ac_ext=c
9684 ac_cpp='$CPP $CPPFLAGS'
9685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9693 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
9694 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
9696 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
9698 for ac_func in _copysign
9700 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9701 echo "$as_me:$LINENO: checking for $ac_func" >&5
9702 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9703 if eval "test \"\${$as_ac_var+set}\" = set"; then
9704 echo $ECHO_N "(cached) $ECHO_C" >&6
9705 else
9706 if test x$gcc_no_link = xyes; then
9707 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9708 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9709 { (exit 1); exit 1; }; }
9711 cat >conftest.$ac_ext <<_ACEOF
9712 /* confdefs.h. */
9713 _ACEOF
9714 cat confdefs.h >>conftest.$ac_ext
9715 cat >>conftest.$ac_ext <<_ACEOF
9716 /* end confdefs.h. */
9717 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9718 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9719 #define $ac_func innocuous_$ac_func
9721 /* System header to define __stub macros and hopefully few prototypes,
9722 which can conflict with char $ac_func (); below.
9723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9724 <limits.h> exists even on freestanding compilers. */
9726 #ifdef __STDC__
9727 # include <limits.h>
9728 #else
9729 # include <assert.h>
9730 #endif
9732 #undef $ac_func
9734 /* Override any gcc2 internal prototype to avoid an error. */
9735 #ifdef __cplusplus
9736 extern "C"
9738 #endif
9739 /* We use char because int might match the return type of a gcc2
9740 builtin and then its argument prototype would still apply. */
9741 char $ac_func ();
9742 /* The GNU C library defines this for functions which it implements
9743 to always fail with ENOSYS. Some functions are actually named
9744 something starting with __ and the normal name is an alias. */
9745 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9746 choke me
9747 #else
9748 char (*f) () = $ac_func;
9749 #endif
9750 #ifdef __cplusplus
9752 #endif
9755 main ()
9757 return f != $ac_func;
9759 return 0;
9761 _ACEOF
9762 rm -f conftest.$ac_objext conftest$ac_exeext
9763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9764 (eval $ac_link) 2>conftest.er1
9765 ac_status=$?
9766 grep -v '^ *+' conftest.er1 >conftest.err
9767 rm -f conftest.er1
9768 cat conftest.err >&5
9769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9770 (exit $ac_status); } &&
9771 { ac_try='test -z "$ac_c_werror_flag"
9772 || test ! -s conftest.err'
9773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9774 (eval $ac_try) 2>&5
9775 ac_status=$?
9776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9777 (exit $ac_status); }; } &&
9778 { ac_try='test -s conftest$ac_exeext'
9779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9780 (eval $ac_try) 2>&5
9781 ac_status=$?
9782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9783 (exit $ac_status); }; }; then
9784 eval "$as_ac_var=yes"
9785 else
9786 echo "$as_me: failed program was:" >&5
9787 sed 's/^/| /' conftest.$ac_ext >&5
9789 eval "$as_ac_var=no"
9791 rm -f conftest.err conftest.$ac_objext \
9792 conftest$ac_exeext conftest.$ac_ext
9794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9795 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9796 if test `eval echo '${'$as_ac_var'}'` = yes; then
9797 cat >>confdefs.h <<_ACEOF
9798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9799 _ACEOF
9802 done
9809 echo "$as_me:$LINENO: checking for sincos declaration" >&5
9810 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
9811 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
9812 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
9813 echo $ECHO_N "(cached) $ECHO_C" >&6
9814 else
9818 ac_ext=cc
9819 ac_cpp='$CXXCPP $CPPFLAGS'
9820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
9824 cat >conftest.$ac_ext <<_ACEOF
9825 /* confdefs.h. */
9826 _ACEOF
9827 cat confdefs.h >>conftest.$ac_ext
9828 cat >>conftest.$ac_ext <<_ACEOF
9829 /* end confdefs.h. */
9830 #include <math.h>
9832 main ()
9834 sincos(0, 0, 0);
9836 return 0;
9838 _ACEOF
9839 rm -f conftest.$ac_objext
9840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9841 (eval $ac_compile) 2>conftest.er1
9842 ac_status=$?
9843 grep -v '^ *+' conftest.er1 >conftest.err
9844 rm -f conftest.er1
9845 cat conftest.err >&5
9846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9847 (exit $ac_status); } &&
9848 { ac_try='test -z "$ac_cxx_werror_flag"
9849 || test ! -s conftest.err'
9850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9851 (eval $ac_try) 2>&5
9852 ac_status=$?
9853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9854 (exit $ac_status); }; } &&
9855 { ac_try='test -s conftest.$ac_objext'
9856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9857 (eval $ac_try) 2>&5
9858 ac_status=$?
9859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9860 (exit $ac_status); }; }; then
9861 glibcxx_cv_func_sincos_use=yes
9862 else
9863 echo "$as_me: failed program was:" >&5
9864 sed 's/^/| /' conftest.$ac_ext >&5
9866 glibcxx_cv_func_sincos_use=no
9868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
9869 ac_ext=c
9870 ac_cpp='$CPP $CPPFLAGS'
9871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9879 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
9880 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
9882 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
9884 for ac_func in sincos
9886 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9887 echo "$as_me:$LINENO: checking for $ac_func" >&5
9888 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
9889 if eval "test \"\${$as_ac_var+set}\" = set"; then
9890 echo $ECHO_N "(cached) $ECHO_C" >&6
9891 else
9892 if test x$gcc_no_link = xyes; then
9893 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9894 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9895 { (exit 1); exit 1; }; }
9897 cat >conftest.$ac_ext <<_ACEOF
9898 /* confdefs.h. */
9899 _ACEOF
9900 cat confdefs.h >>conftest.$ac_ext
9901 cat >>conftest.$ac_ext <<_ACEOF
9902 /* end confdefs.h. */
9903 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9904 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9905 #define $ac_func innocuous_$ac_func
9907 /* System header to define __stub macros and hopefully few prototypes,
9908 which can conflict with char $ac_func (); below.
9909 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9910 <limits.h> exists even on freestanding compilers. */
9912 #ifdef __STDC__
9913 # include <limits.h>
9914 #else
9915 # include <assert.h>
9916 #endif
9918 #undef $ac_func
9920 /* Override any gcc2 internal prototype to avoid an error. */
9921 #ifdef __cplusplus
9922 extern "C"
9924 #endif
9925 /* We use char because int might match the return type of a gcc2
9926 builtin and then its argument prototype would still apply. */
9927 char $ac_func ();
9928 /* The GNU C library defines this for functions which it implements
9929 to always fail with ENOSYS. Some functions are actually named
9930 something starting with __ and the normal name is an alias. */
9931 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9932 choke me
9933 #else
9934 char (*f) () = $ac_func;
9935 #endif
9936 #ifdef __cplusplus
9938 #endif
9941 main ()
9943 return f != $ac_func;
9945 return 0;
9947 _ACEOF
9948 rm -f conftest.$ac_objext conftest$ac_exeext
9949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9950 (eval $ac_link) 2>conftest.er1
9951 ac_status=$?
9952 grep -v '^ *+' conftest.er1 >conftest.err
9953 rm -f conftest.er1
9954 cat conftest.err >&5
9955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9956 (exit $ac_status); } &&
9957 { ac_try='test -z "$ac_c_werror_flag"
9958 || test ! -s conftest.err'
9959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9960 (eval $ac_try) 2>&5
9961 ac_status=$?
9962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9963 (exit $ac_status); }; } &&
9964 { ac_try='test -s conftest$ac_exeext'
9965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9966 (eval $ac_try) 2>&5
9967 ac_status=$?
9968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9969 (exit $ac_status); }; }; then
9970 eval "$as_ac_var=yes"
9971 else
9972 echo "$as_me: failed program was:" >&5
9973 sed 's/^/| /' conftest.$ac_ext >&5
9975 eval "$as_ac_var=no"
9977 rm -f conftest.err conftest.$ac_objext \
9978 conftest$ac_exeext conftest.$ac_ext
9980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
9981 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
9982 if test `eval echo '${'$as_ac_var'}'` = yes; then
9983 cat >>confdefs.h <<_ACEOF
9984 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9985 _ACEOF
9988 done
9990 else
9992 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
9993 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
9994 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
9995 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
9996 echo $ECHO_N "(cached) $ECHO_C" >&6
9997 else
10001 ac_ext=cc
10002 ac_cpp='$CXXCPP $CPPFLAGS'
10003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10007 cat >conftest.$ac_ext <<_ACEOF
10008 /* confdefs.h. */
10009 _ACEOF
10010 cat confdefs.h >>conftest.$ac_ext
10011 cat >>conftest.$ac_ext <<_ACEOF
10012 /* end confdefs.h. */
10013 #include <math.h>
10015 main ()
10017 _sincos(0, 0, 0);
10019 return 0;
10021 _ACEOF
10022 rm -f conftest.$ac_objext
10023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10024 (eval $ac_compile) 2>conftest.er1
10025 ac_status=$?
10026 grep -v '^ *+' conftest.er1 >conftest.err
10027 rm -f conftest.er1
10028 cat conftest.err >&5
10029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10030 (exit $ac_status); } &&
10031 { ac_try='test -z "$ac_cxx_werror_flag"
10032 || test ! -s conftest.err'
10033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10034 (eval $ac_try) 2>&5
10035 ac_status=$?
10036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10037 (exit $ac_status); }; } &&
10038 { ac_try='test -s conftest.$ac_objext'
10039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10040 (eval $ac_try) 2>&5
10041 ac_status=$?
10042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10043 (exit $ac_status); }; }; then
10044 glibcxx_cv_func__sincos_use=yes
10045 else
10046 echo "$as_me: failed program was:" >&5
10047 sed 's/^/| /' conftest.$ac_ext >&5
10049 glibcxx_cv_func__sincos_use=no
10051 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10052 ac_ext=c
10053 ac_cpp='$CPP $CPPFLAGS'
10054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10062 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
10063 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
10065 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
10067 for ac_func in _sincos
10069 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10070 echo "$as_me:$LINENO: checking for $ac_func" >&5
10071 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10072 if eval "test \"\${$as_ac_var+set}\" = set"; then
10073 echo $ECHO_N "(cached) $ECHO_C" >&6
10074 else
10075 if test x$gcc_no_link = xyes; then
10076 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10077 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10078 { (exit 1); exit 1; }; }
10080 cat >conftest.$ac_ext <<_ACEOF
10081 /* confdefs.h. */
10082 _ACEOF
10083 cat confdefs.h >>conftest.$ac_ext
10084 cat >>conftest.$ac_ext <<_ACEOF
10085 /* end confdefs.h. */
10086 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10087 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10088 #define $ac_func innocuous_$ac_func
10090 /* System header to define __stub macros and hopefully few prototypes,
10091 which can conflict with char $ac_func (); below.
10092 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10093 <limits.h> exists even on freestanding compilers. */
10095 #ifdef __STDC__
10096 # include <limits.h>
10097 #else
10098 # include <assert.h>
10099 #endif
10101 #undef $ac_func
10103 /* Override any gcc2 internal prototype to avoid an error. */
10104 #ifdef __cplusplus
10105 extern "C"
10107 #endif
10108 /* We use char because int might match the return type of a gcc2
10109 builtin and then its argument prototype would still apply. */
10110 char $ac_func ();
10111 /* The GNU C library defines this for functions which it implements
10112 to always fail with ENOSYS. Some functions are actually named
10113 something starting with __ and the normal name is an alias. */
10114 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10115 choke me
10116 #else
10117 char (*f) () = $ac_func;
10118 #endif
10119 #ifdef __cplusplus
10121 #endif
10124 main ()
10126 return f != $ac_func;
10128 return 0;
10130 _ACEOF
10131 rm -f conftest.$ac_objext conftest$ac_exeext
10132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10133 (eval $ac_link) 2>conftest.er1
10134 ac_status=$?
10135 grep -v '^ *+' conftest.er1 >conftest.err
10136 rm -f conftest.er1
10137 cat conftest.err >&5
10138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10139 (exit $ac_status); } &&
10140 { ac_try='test -z "$ac_c_werror_flag"
10141 || test ! -s conftest.err'
10142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10143 (eval $ac_try) 2>&5
10144 ac_status=$?
10145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10146 (exit $ac_status); }; } &&
10147 { ac_try='test -s conftest$ac_exeext'
10148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10149 (eval $ac_try) 2>&5
10150 ac_status=$?
10151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10152 (exit $ac_status); }; }; then
10153 eval "$as_ac_var=yes"
10154 else
10155 echo "$as_me: failed program was:" >&5
10156 sed 's/^/| /' conftest.$ac_ext >&5
10158 eval "$as_ac_var=no"
10160 rm -f conftest.err conftest.$ac_objext \
10161 conftest$ac_exeext conftest.$ac_ext
10163 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10164 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10165 if test `eval echo '${'$as_ac_var'}'` = yes; then
10166 cat >>confdefs.h <<_ACEOF
10167 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10168 _ACEOF
10171 done
10178 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
10179 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
10180 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
10181 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
10182 echo $ECHO_N "(cached) $ECHO_C" >&6
10183 else
10187 ac_ext=cc
10188 ac_cpp='$CXXCPP $CPPFLAGS'
10189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10193 cat >conftest.$ac_ext <<_ACEOF
10194 /* confdefs.h. */
10195 _ACEOF
10196 cat confdefs.h >>conftest.$ac_ext
10197 cat >>conftest.$ac_ext <<_ACEOF
10198 /* end confdefs.h. */
10199 #include <math.h>
10200 #ifdef HAVE_IEEEFP_H
10201 #include <ieeefp.h>
10202 #endif
10205 main ()
10207 fpclass(0);
10209 return 0;
10211 _ACEOF
10212 rm -f conftest.$ac_objext
10213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10214 (eval $ac_compile) 2>conftest.er1
10215 ac_status=$?
10216 grep -v '^ *+' conftest.er1 >conftest.err
10217 rm -f conftest.er1
10218 cat conftest.err >&5
10219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10220 (exit $ac_status); } &&
10221 { ac_try='test -z "$ac_cxx_werror_flag"
10222 || test ! -s conftest.err'
10223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10224 (eval $ac_try) 2>&5
10225 ac_status=$?
10226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10227 (exit $ac_status); }; } &&
10228 { ac_try='test -s conftest.$ac_objext'
10229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10230 (eval $ac_try) 2>&5
10231 ac_status=$?
10232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10233 (exit $ac_status); }; }; then
10234 glibcxx_cv_func_fpclass_use=yes
10235 else
10236 echo "$as_me: failed program was:" >&5
10237 sed 's/^/| /' conftest.$ac_ext >&5
10239 glibcxx_cv_func_fpclass_use=no
10241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10242 ac_ext=c
10243 ac_cpp='$CPP $CPPFLAGS'
10244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10252 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
10253 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
10255 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
10257 for ac_func in fpclass
10259 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10260 echo "$as_me:$LINENO: checking for $ac_func" >&5
10261 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10262 if eval "test \"\${$as_ac_var+set}\" = set"; then
10263 echo $ECHO_N "(cached) $ECHO_C" >&6
10264 else
10265 if test x$gcc_no_link = xyes; then
10266 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10267 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10268 { (exit 1); exit 1; }; }
10270 cat >conftest.$ac_ext <<_ACEOF
10271 /* confdefs.h. */
10272 _ACEOF
10273 cat confdefs.h >>conftest.$ac_ext
10274 cat >>conftest.$ac_ext <<_ACEOF
10275 /* end confdefs.h. */
10276 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10277 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10278 #define $ac_func innocuous_$ac_func
10280 /* System header to define __stub macros and hopefully few prototypes,
10281 which can conflict with char $ac_func (); below.
10282 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10283 <limits.h> exists even on freestanding compilers. */
10285 #ifdef __STDC__
10286 # include <limits.h>
10287 #else
10288 # include <assert.h>
10289 #endif
10291 #undef $ac_func
10293 /* Override any gcc2 internal prototype to avoid an error. */
10294 #ifdef __cplusplus
10295 extern "C"
10297 #endif
10298 /* We use char because int might match the return type of a gcc2
10299 builtin and then its argument prototype would still apply. */
10300 char $ac_func ();
10301 /* The GNU C library defines this for functions which it implements
10302 to always fail with ENOSYS. Some functions are actually named
10303 something starting with __ and the normal name is an alias. */
10304 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10305 choke me
10306 #else
10307 char (*f) () = $ac_func;
10308 #endif
10309 #ifdef __cplusplus
10311 #endif
10314 main ()
10316 return f != $ac_func;
10318 return 0;
10320 _ACEOF
10321 rm -f conftest.$ac_objext conftest$ac_exeext
10322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10323 (eval $ac_link) 2>conftest.er1
10324 ac_status=$?
10325 grep -v '^ *+' conftest.er1 >conftest.err
10326 rm -f conftest.er1
10327 cat conftest.err >&5
10328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10329 (exit $ac_status); } &&
10330 { ac_try='test -z "$ac_c_werror_flag"
10331 || test ! -s conftest.err'
10332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10333 (eval $ac_try) 2>&5
10334 ac_status=$?
10335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10336 (exit $ac_status); }; } &&
10337 { ac_try='test -s conftest$ac_exeext'
10338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10339 (eval $ac_try) 2>&5
10340 ac_status=$?
10341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10342 (exit $ac_status); }; }; then
10343 eval "$as_ac_var=yes"
10344 else
10345 echo "$as_me: failed program was:" >&5
10346 sed 's/^/| /' conftest.$ac_ext >&5
10348 eval "$as_ac_var=no"
10350 rm -f conftest.err conftest.$ac_objext \
10351 conftest$ac_exeext conftest.$ac_ext
10353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10354 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10355 if test `eval echo '${'$as_ac_var'}'` = yes; then
10356 cat >>confdefs.h <<_ACEOF
10357 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10358 _ACEOF
10361 done
10363 else
10365 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
10366 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
10367 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
10368 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
10369 echo $ECHO_N "(cached) $ECHO_C" >&6
10370 else
10374 ac_ext=cc
10375 ac_cpp='$CXXCPP $CPPFLAGS'
10376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10380 cat >conftest.$ac_ext <<_ACEOF
10381 /* confdefs.h. */
10382 _ACEOF
10383 cat confdefs.h >>conftest.$ac_ext
10384 cat >>conftest.$ac_ext <<_ACEOF
10385 /* end confdefs.h. */
10386 #include <math.h>
10387 #ifdef HAVE_IEEEFP_H
10388 #include <ieeefp.h>
10389 #endif
10392 main ()
10394 _fpclass(0);
10396 return 0;
10398 _ACEOF
10399 rm -f conftest.$ac_objext
10400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10401 (eval $ac_compile) 2>conftest.er1
10402 ac_status=$?
10403 grep -v '^ *+' conftest.er1 >conftest.err
10404 rm -f conftest.er1
10405 cat conftest.err >&5
10406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10407 (exit $ac_status); } &&
10408 { ac_try='test -z "$ac_cxx_werror_flag"
10409 || test ! -s conftest.err'
10410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10411 (eval $ac_try) 2>&5
10412 ac_status=$?
10413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10414 (exit $ac_status); }; } &&
10415 { ac_try='test -s conftest.$ac_objext'
10416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10417 (eval $ac_try) 2>&5
10418 ac_status=$?
10419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10420 (exit $ac_status); }; }; then
10421 glibcxx_cv_func__fpclass_use=yes
10422 else
10423 echo "$as_me: failed program was:" >&5
10424 sed 's/^/| /' conftest.$ac_ext >&5
10426 glibcxx_cv_func__fpclass_use=no
10428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10429 ac_ext=c
10430 ac_cpp='$CPP $CPPFLAGS'
10431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10439 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
10440 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
10442 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
10444 for ac_func in _fpclass
10446 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10447 echo "$as_me:$LINENO: checking for $ac_func" >&5
10448 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10449 if eval "test \"\${$as_ac_var+set}\" = set"; then
10450 echo $ECHO_N "(cached) $ECHO_C" >&6
10451 else
10452 if test x$gcc_no_link = xyes; then
10453 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10454 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10455 { (exit 1); exit 1; }; }
10457 cat >conftest.$ac_ext <<_ACEOF
10458 /* confdefs.h. */
10459 _ACEOF
10460 cat confdefs.h >>conftest.$ac_ext
10461 cat >>conftest.$ac_ext <<_ACEOF
10462 /* end confdefs.h. */
10463 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10464 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10465 #define $ac_func innocuous_$ac_func
10467 /* System header to define __stub macros and hopefully few prototypes,
10468 which can conflict with char $ac_func (); below.
10469 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10470 <limits.h> exists even on freestanding compilers. */
10472 #ifdef __STDC__
10473 # include <limits.h>
10474 #else
10475 # include <assert.h>
10476 #endif
10478 #undef $ac_func
10480 /* Override any gcc2 internal prototype to avoid an error. */
10481 #ifdef __cplusplus
10482 extern "C"
10484 #endif
10485 /* We use char because int might match the return type of a gcc2
10486 builtin and then its argument prototype would still apply. */
10487 char $ac_func ();
10488 /* The GNU C library defines this for functions which it implements
10489 to always fail with ENOSYS. Some functions are actually named
10490 something starting with __ and the normal name is an alias. */
10491 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10492 choke me
10493 #else
10494 char (*f) () = $ac_func;
10495 #endif
10496 #ifdef __cplusplus
10498 #endif
10501 main ()
10503 return f != $ac_func;
10505 return 0;
10507 _ACEOF
10508 rm -f conftest.$ac_objext conftest$ac_exeext
10509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10510 (eval $ac_link) 2>conftest.er1
10511 ac_status=$?
10512 grep -v '^ *+' conftest.er1 >conftest.err
10513 rm -f conftest.er1
10514 cat conftest.err >&5
10515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10516 (exit $ac_status); } &&
10517 { ac_try='test -z "$ac_c_werror_flag"
10518 || test ! -s conftest.err'
10519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10520 (eval $ac_try) 2>&5
10521 ac_status=$?
10522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10523 (exit $ac_status); }; } &&
10524 { ac_try='test -s conftest$ac_exeext'
10525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10526 (eval $ac_try) 2>&5
10527 ac_status=$?
10528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10529 (exit $ac_status); }; }; then
10530 eval "$as_ac_var=yes"
10531 else
10532 echo "$as_me: failed program was:" >&5
10533 sed 's/^/| /' conftest.$ac_ext >&5
10535 eval "$as_ac_var=no"
10537 rm -f conftest.err conftest.$ac_objext \
10538 conftest$ac_exeext conftest.$ac_ext
10540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10541 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10542 if test `eval echo '${'$as_ac_var'}'` = yes; then
10543 cat >>confdefs.h <<_ACEOF
10544 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10545 _ACEOF
10548 done
10555 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
10556 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
10557 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
10558 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
10559 echo $ECHO_N "(cached) $ECHO_C" >&6
10560 else
10564 ac_ext=cc
10565 ac_cpp='$CXXCPP $CPPFLAGS'
10566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10570 cat >conftest.$ac_ext <<_ACEOF
10571 /* confdefs.h. */
10572 _ACEOF
10573 cat confdefs.h >>conftest.$ac_ext
10574 cat >>conftest.$ac_ext <<_ACEOF
10575 /* end confdefs.h. */
10576 #include <math.h>
10577 #ifdef HAVE_IEEEFP_H
10578 #include <ieeefp.h>
10579 #endif
10582 main ()
10584 qfpclass(0);
10586 return 0;
10588 _ACEOF
10589 rm -f conftest.$ac_objext
10590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10591 (eval $ac_compile) 2>conftest.er1
10592 ac_status=$?
10593 grep -v '^ *+' conftest.er1 >conftest.err
10594 rm -f conftest.er1
10595 cat conftest.err >&5
10596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10597 (exit $ac_status); } &&
10598 { ac_try='test -z "$ac_cxx_werror_flag"
10599 || test ! -s conftest.err'
10600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10601 (eval $ac_try) 2>&5
10602 ac_status=$?
10603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10604 (exit $ac_status); }; } &&
10605 { ac_try='test -s conftest.$ac_objext'
10606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10607 (eval $ac_try) 2>&5
10608 ac_status=$?
10609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10610 (exit $ac_status); }; }; then
10611 glibcxx_cv_func_qfpclass_use=yes
10612 else
10613 echo "$as_me: failed program was:" >&5
10614 sed 's/^/| /' conftest.$ac_ext >&5
10616 glibcxx_cv_func_qfpclass_use=no
10618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10619 ac_ext=c
10620 ac_cpp='$CPP $CPPFLAGS'
10621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10629 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
10630 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
10632 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
10634 for ac_func in qfpclass
10636 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10637 echo "$as_me:$LINENO: checking for $ac_func" >&5
10638 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10639 if eval "test \"\${$as_ac_var+set}\" = set"; then
10640 echo $ECHO_N "(cached) $ECHO_C" >&6
10641 else
10642 if test x$gcc_no_link = xyes; then
10643 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10644 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10645 { (exit 1); exit 1; }; }
10647 cat >conftest.$ac_ext <<_ACEOF
10648 /* confdefs.h. */
10649 _ACEOF
10650 cat confdefs.h >>conftest.$ac_ext
10651 cat >>conftest.$ac_ext <<_ACEOF
10652 /* end confdefs.h. */
10653 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10654 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10655 #define $ac_func innocuous_$ac_func
10657 /* System header to define __stub macros and hopefully few prototypes,
10658 which can conflict with char $ac_func (); below.
10659 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10660 <limits.h> exists even on freestanding compilers. */
10662 #ifdef __STDC__
10663 # include <limits.h>
10664 #else
10665 # include <assert.h>
10666 #endif
10668 #undef $ac_func
10670 /* Override any gcc2 internal prototype to avoid an error. */
10671 #ifdef __cplusplus
10672 extern "C"
10674 #endif
10675 /* We use char because int might match the return type of a gcc2
10676 builtin and then its argument prototype would still apply. */
10677 char $ac_func ();
10678 /* The GNU C library defines this for functions which it implements
10679 to always fail with ENOSYS. Some functions are actually named
10680 something starting with __ and the normal name is an alias. */
10681 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10682 choke me
10683 #else
10684 char (*f) () = $ac_func;
10685 #endif
10686 #ifdef __cplusplus
10688 #endif
10691 main ()
10693 return f != $ac_func;
10695 return 0;
10697 _ACEOF
10698 rm -f conftest.$ac_objext conftest$ac_exeext
10699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10700 (eval $ac_link) 2>conftest.er1
10701 ac_status=$?
10702 grep -v '^ *+' conftest.er1 >conftest.err
10703 rm -f conftest.er1
10704 cat conftest.err >&5
10705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10706 (exit $ac_status); } &&
10707 { ac_try='test -z "$ac_c_werror_flag"
10708 || test ! -s conftest.err'
10709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10710 (eval $ac_try) 2>&5
10711 ac_status=$?
10712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10713 (exit $ac_status); }; } &&
10714 { ac_try='test -s conftest$ac_exeext'
10715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10716 (eval $ac_try) 2>&5
10717 ac_status=$?
10718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10719 (exit $ac_status); }; }; then
10720 eval "$as_ac_var=yes"
10721 else
10722 echo "$as_me: failed program was:" >&5
10723 sed 's/^/| /' conftest.$ac_ext >&5
10725 eval "$as_ac_var=no"
10727 rm -f conftest.err conftest.$ac_objext \
10728 conftest$ac_exeext conftest.$ac_ext
10730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10731 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10732 if test `eval echo '${'$as_ac_var'}'` = yes; then
10733 cat >>confdefs.h <<_ACEOF
10734 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10735 _ACEOF
10738 done
10740 else
10742 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
10743 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
10744 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
10745 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
10746 echo $ECHO_N "(cached) $ECHO_C" >&6
10747 else
10751 ac_ext=cc
10752 ac_cpp='$CXXCPP $CPPFLAGS'
10753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10757 cat >conftest.$ac_ext <<_ACEOF
10758 /* confdefs.h. */
10759 _ACEOF
10760 cat confdefs.h >>conftest.$ac_ext
10761 cat >>conftest.$ac_ext <<_ACEOF
10762 /* end confdefs.h. */
10763 #include <math.h>
10764 #ifdef HAVE_IEEEFP_H
10765 #include <ieeefp.h>
10766 #endif
10769 main ()
10771 _qfpclass(0);
10773 return 0;
10775 _ACEOF
10776 rm -f conftest.$ac_objext
10777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10778 (eval $ac_compile) 2>conftest.er1
10779 ac_status=$?
10780 grep -v '^ *+' conftest.er1 >conftest.err
10781 rm -f conftest.er1
10782 cat conftest.err >&5
10783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10784 (exit $ac_status); } &&
10785 { ac_try='test -z "$ac_cxx_werror_flag"
10786 || test ! -s conftest.err'
10787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10788 (eval $ac_try) 2>&5
10789 ac_status=$?
10790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10791 (exit $ac_status); }; } &&
10792 { ac_try='test -s conftest.$ac_objext'
10793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10794 (eval $ac_try) 2>&5
10795 ac_status=$?
10796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10797 (exit $ac_status); }; }; then
10798 glibcxx_cv_func__qfpclass_use=yes
10799 else
10800 echo "$as_me: failed program was:" >&5
10801 sed 's/^/| /' conftest.$ac_ext >&5
10803 glibcxx_cv_func__qfpclass_use=no
10805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10806 ac_ext=c
10807 ac_cpp='$CPP $CPPFLAGS'
10808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10816 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
10817 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
10819 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
10821 for ac_func in _qfpclass
10823 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10824 echo "$as_me:$LINENO: checking for $ac_func" >&5
10825 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
10826 if eval "test \"\${$as_ac_var+set}\" = set"; then
10827 echo $ECHO_N "(cached) $ECHO_C" >&6
10828 else
10829 if test x$gcc_no_link = xyes; then
10830 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10831 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10832 { (exit 1); exit 1; }; }
10834 cat >conftest.$ac_ext <<_ACEOF
10835 /* confdefs.h. */
10836 _ACEOF
10837 cat confdefs.h >>conftest.$ac_ext
10838 cat >>conftest.$ac_ext <<_ACEOF
10839 /* end confdefs.h. */
10840 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10841 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10842 #define $ac_func innocuous_$ac_func
10844 /* System header to define __stub macros and hopefully few prototypes,
10845 which can conflict with char $ac_func (); below.
10846 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10847 <limits.h> exists even on freestanding compilers. */
10849 #ifdef __STDC__
10850 # include <limits.h>
10851 #else
10852 # include <assert.h>
10853 #endif
10855 #undef $ac_func
10857 /* Override any gcc2 internal prototype to avoid an error. */
10858 #ifdef __cplusplus
10859 extern "C"
10861 #endif
10862 /* We use char because int might match the return type of a gcc2
10863 builtin and then its argument prototype would still apply. */
10864 char $ac_func ();
10865 /* The GNU C library defines this for functions which it implements
10866 to always fail with ENOSYS. Some functions are actually named
10867 something starting with __ and the normal name is an alias. */
10868 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10869 choke me
10870 #else
10871 char (*f) () = $ac_func;
10872 #endif
10873 #ifdef __cplusplus
10875 #endif
10878 main ()
10880 return f != $ac_func;
10882 return 0;
10884 _ACEOF
10885 rm -f conftest.$ac_objext conftest$ac_exeext
10886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10887 (eval $ac_link) 2>conftest.er1
10888 ac_status=$?
10889 grep -v '^ *+' conftest.er1 >conftest.err
10890 rm -f conftest.er1
10891 cat conftest.err >&5
10892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10893 (exit $ac_status); } &&
10894 { ac_try='test -z "$ac_c_werror_flag"
10895 || test ! -s conftest.err'
10896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10897 (eval $ac_try) 2>&5
10898 ac_status=$?
10899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10900 (exit $ac_status); }; } &&
10901 { ac_try='test -s conftest$ac_exeext'
10902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10903 (eval $ac_try) 2>&5
10904 ac_status=$?
10905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10906 (exit $ac_status); }; }; then
10907 eval "$as_ac_var=yes"
10908 else
10909 echo "$as_me: failed program was:" >&5
10910 sed 's/^/| /' conftest.$ac_ext >&5
10912 eval "$as_ac_var=no"
10914 rm -f conftest.err conftest.$ac_objext \
10915 conftest$ac_exeext conftest.$ac_ext
10917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
10918 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
10919 if test `eval echo '${'$as_ac_var'}'` = yes; then
10920 cat >>confdefs.h <<_ACEOF
10921 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10922 _ACEOF
10925 done
10932 echo "$as_me:$LINENO: checking for hypot declaration" >&5
10933 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
10934 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
10935 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
10936 echo $ECHO_N "(cached) $ECHO_C" >&6
10937 else
10941 ac_ext=cc
10942 ac_cpp='$CXXCPP $CPPFLAGS'
10943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10947 cat >conftest.$ac_ext <<_ACEOF
10948 /* confdefs.h. */
10949 _ACEOF
10950 cat confdefs.h >>conftest.$ac_ext
10951 cat >>conftest.$ac_ext <<_ACEOF
10952 /* end confdefs.h. */
10953 #include <math.h>
10955 main ()
10957 hypot(0, 0);
10959 return 0;
10961 _ACEOF
10962 rm -f conftest.$ac_objext
10963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10964 (eval $ac_compile) 2>conftest.er1
10965 ac_status=$?
10966 grep -v '^ *+' conftest.er1 >conftest.err
10967 rm -f conftest.er1
10968 cat conftest.err >&5
10969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10970 (exit $ac_status); } &&
10971 { ac_try='test -z "$ac_cxx_werror_flag"
10972 || test ! -s conftest.err'
10973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10974 (eval $ac_try) 2>&5
10975 ac_status=$?
10976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10977 (exit $ac_status); }; } &&
10978 { ac_try='test -s conftest.$ac_objext'
10979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10980 (eval $ac_try) 2>&5
10981 ac_status=$?
10982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10983 (exit $ac_status); }; }; then
10984 glibcxx_cv_func_hypot_use=yes
10985 else
10986 echo "$as_me: failed program was:" >&5
10987 sed 's/^/| /' conftest.$ac_ext >&5
10989 glibcxx_cv_func_hypot_use=no
10991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10992 ac_ext=c
10993 ac_cpp='$CPP $CPPFLAGS'
10994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11002 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
11003 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
11005 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
11007 for ac_func in hypot
11009 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11010 echo "$as_me:$LINENO: checking for $ac_func" >&5
11011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11012 if eval "test \"\${$as_ac_var+set}\" = set"; then
11013 echo $ECHO_N "(cached) $ECHO_C" >&6
11014 else
11015 if test x$gcc_no_link = xyes; then
11016 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11017 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11018 { (exit 1); exit 1; }; }
11020 cat >conftest.$ac_ext <<_ACEOF
11021 /* confdefs.h. */
11022 _ACEOF
11023 cat confdefs.h >>conftest.$ac_ext
11024 cat >>conftest.$ac_ext <<_ACEOF
11025 /* end confdefs.h. */
11026 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11027 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11028 #define $ac_func innocuous_$ac_func
11030 /* System header to define __stub macros and hopefully few prototypes,
11031 which can conflict with char $ac_func (); below.
11032 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11033 <limits.h> exists even on freestanding compilers. */
11035 #ifdef __STDC__
11036 # include <limits.h>
11037 #else
11038 # include <assert.h>
11039 #endif
11041 #undef $ac_func
11043 /* Override any gcc2 internal prototype to avoid an error. */
11044 #ifdef __cplusplus
11045 extern "C"
11047 #endif
11048 /* We use char because int might match the return type of a gcc2
11049 builtin and then its argument prototype would still apply. */
11050 char $ac_func ();
11051 /* The GNU C library defines this for functions which it implements
11052 to always fail with ENOSYS. Some functions are actually named
11053 something starting with __ and the normal name is an alias. */
11054 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11055 choke me
11056 #else
11057 char (*f) () = $ac_func;
11058 #endif
11059 #ifdef __cplusplus
11061 #endif
11064 main ()
11066 return f != $ac_func;
11068 return 0;
11070 _ACEOF
11071 rm -f conftest.$ac_objext conftest$ac_exeext
11072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11073 (eval $ac_link) 2>conftest.er1
11074 ac_status=$?
11075 grep -v '^ *+' conftest.er1 >conftest.err
11076 rm -f conftest.er1
11077 cat conftest.err >&5
11078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11079 (exit $ac_status); } &&
11080 { ac_try='test -z "$ac_c_werror_flag"
11081 || test ! -s conftest.err'
11082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11083 (eval $ac_try) 2>&5
11084 ac_status=$?
11085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11086 (exit $ac_status); }; } &&
11087 { ac_try='test -s conftest$ac_exeext'
11088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11089 (eval $ac_try) 2>&5
11090 ac_status=$?
11091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11092 (exit $ac_status); }; }; then
11093 eval "$as_ac_var=yes"
11094 else
11095 echo "$as_me: failed program was:" >&5
11096 sed 's/^/| /' conftest.$ac_ext >&5
11098 eval "$as_ac_var=no"
11100 rm -f conftest.err conftest.$ac_objext \
11101 conftest$ac_exeext conftest.$ac_ext
11103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11104 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11105 if test `eval echo '${'$as_ac_var'}'` = yes; then
11106 cat >>confdefs.h <<_ACEOF
11107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11108 _ACEOF
11111 done
11113 else
11115 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
11116 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
11117 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
11118 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
11119 echo $ECHO_N "(cached) $ECHO_C" >&6
11120 else
11124 ac_ext=cc
11125 ac_cpp='$CXXCPP $CPPFLAGS'
11126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11130 cat >conftest.$ac_ext <<_ACEOF
11131 /* confdefs.h. */
11132 _ACEOF
11133 cat confdefs.h >>conftest.$ac_ext
11134 cat >>conftest.$ac_ext <<_ACEOF
11135 /* end confdefs.h. */
11136 #include <math.h>
11138 main ()
11140 _hypot(0, 0);
11142 return 0;
11144 _ACEOF
11145 rm -f conftest.$ac_objext
11146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11147 (eval $ac_compile) 2>conftest.er1
11148 ac_status=$?
11149 grep -v '^ *+' conftest.er1 >conftest.err
11150 rm -f conftest.er1
11151 cat conftest.err >&5
11152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11153 (exit $ac_status); } &&
11154 { ac_try='test -z "$ac_cxx_werror_flag"
11155 || test ! -s conftest.err'
11156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11157 (eval $ac_try) 2>&5
11158 ac_status=$?
11159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11160 (exit $ac_status); }; } &&
11161 { ac_try='test -s conftest.$ac_objext'
11162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11163 (eval $ac_try) 2>&5
11164 ac_status=$?
11165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11166 (exit $ac_status); }; }; then
11167 glibcxx_cv_func__hypot_use=yes
11168 else
11169 echo "$as_me: failed program was:" >&5
11170 sed 's/^/| /' conftest.$ac_ext >&5
11172 glibcxx_cv_func__hypot_use=no
11174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11175 ac_ext=c
11176 ac_cpp='$CPP $CPPFLAGS'
11177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11185 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
11186 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
11188 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
11190 for ac_func in _hypot
11192 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11193 echo "$as_me:$LINENO: checking for $ac_func" >&5
11194 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11195 if eval "test \"\${$as_ac_var+set}\" = set"; then
11196 echo $ECHO_N "(cached) $ECHO_C" >&6
11197 else
11198 if test x$gcc_no_link = xyes; then
11199 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11200 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11201 { (exit 1); exit 1; }; }
11203 cat >conftest.$ac_ext <<_ACEOF
11204 /* confdefs.h. */
11205 _ACEOF
11206 cat confdefs.h >>conftest.$ac_ext
11207 cat >>conftest.$ac_ext <<_ACEOF
11208 /* end confdefs.h. */
11209 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11210 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11211 #define $ac_func innocuous_$ac_func
11213 /* System header to define __stub macros and hopefully few prototypes,
11214 which can conflict with char $ac_func (); below.
11215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11216 <limits.h> exists even on freestanding compilers. */
11218 #ifdef __STDC__
11219 # include <limits.h>
11220 #else
11221 # include <assert.h>
11222 #endif
11224 #undef $ac_func
11226 /* Override any gcc2 internal prototype to avoid an error. */
11227 #ifdef __cplusplus
11228 extern "C"
11230 #endif
11231 /* We use char because int might match the return type of a gcc2
11232 builtin and then its argument prototype would still apply. */
11233 char $ac_func ();
11234 /* The GNU C library defines this for functions which it implements
11235 to always fail with ENOSYS. Some functions are actually named
11236 something starting with __ and the normal name is an alias. */
11237 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11238 choke me
11239 #else
11240 char (*f) () = $ac_func;
11241 #endif
11242 #ifdef __cplusplus
11244 #endif
11247 main ()
11249 return f != $ac_func;
11251 return 0;
11253 _ACEOF
11254 rm -f conftest.$ac_objext conftest$ac_exeext
11255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11256 (eval $ac_link) 2>conftest.er1
11257 ac_status=$?
11258 grep -v '^ *+' conftest.er1 >conftest.err
11259 rm -f conftest.er1
11260 cat conftest.err >&5
11261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11262 (exit $ac_status); } &&
11263 { ac_try='test -z "$ac_c_werror_flag"
11264 || test ! -s conftest.err'
11265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11266 (eval $ac_try) 2>&5
11267 ac_status=$?
11268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11269 (exit $ac_status); }; } &&
11270 { ac_try='test -s conftest$ac_exeext'
11271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11272 (eval $ac_try) 2>&5
11273 ac_status=$?
11274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11275 (exit $ac_status); }; }; then
11276 eval "$as_ac_var=yes"
11277 else
11278 echo "$as_me: failed program was:" >&5
11279 sed 's/^/| /' conftest.$ac_ext >&5
11281 eval "$as_ac_var=no"
11283 rm -f conftest.err conftest.$ac_objext \
11284 conftest$ac_exeext conftest.$ac_ext
11286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11287 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11288 if test `eval echo '${'$as_ac_var'}'` = yes; then
11289 cat >>confdefs.h <<_ACEOF
11290 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11291 _ACEOF
11294 done
11301 echo "$as_me:$LINENO: checking for float trig functions" >&5
11302 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
11303 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
11304 echo $ECHO_N "(cached) $ECHO_C" >&6
11305 else
11309 ac_ext=cc
11310 ac_cpp='$CXXCPP $CPPFLAGS'
11311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11315 cat >conftest.$ac_ext <<_ACEOF
11316 /* confdefs.h. */
11317 _ACEOF
11318 cat confdefs.h >>conftest.$ac_ext
11319 cat >>conftest.$ac_ext <<_ACEOF
11320 /* end confdefs.h. */
11321 #include <math.h>
11323 main ()
11325 `for x in acosf asinf atanf \
11326 cosf sinf tanf \
11327 coshf sinhf tanhf; do echo "$x (0);"; done`
11329 return 0;
11331 _ACEOF
11332 rm -f conftest.$ac_objext
11333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11334 (eval $ac_compile) 2>conftest.er1
11335 ac_status=$?
11336 grep -v '^ *+' conftest.er1 >conftest.err
11337 rm -f conftest.er1
11338 cat conftest.err >&5
11339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11340 (exit $ac_status); } &&
11341 { ac_try='test -z "$ac_cxx_werror_flag"
11342 || test ! -s conftest.err'
11343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11344 (eval $ac_try) 2>&5
11345 ac_status=$?
11346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11347 (exit $ac_status); }; } &&
11348 { ac_try='test -s conftest.$ac_objext'
11349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11350 (eval $ac_try) 2>&5
11351 ac_status=$?
11352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11353 (exit $ac_status); }; }; then
11354 glibcxx_cv_func_float_trig_use=yes
11355 else
11356 echo "$as_me: failed program was:" >&5
11357 sed 's/^/| /' conftest.$ac_ext >&5
11359 glibcxx_cv_func_float_trig_use=no
11361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11362 ac_ext=c
11363 ac_cpp='$CPP $CPPFLAGS'
11364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11370 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
11371 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
11372 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
11382 for ac_func in acosf asinf atanf \
11383 cosf sinf tanf \
11384 coshf sinhf tanhf
11386 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11387 echo "$as_me:$LINENO: checking for $ac_func" >&5
11388 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11389 if eval "test \"\${$as_ac_var+set}\" = set"; then
11390 echo $ECHO_N "(cached) $ECHO_C" >&6
11391 else
11392 if test x$gcc_no_link = xyes; then
11393 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11394 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11395 { (exit 1); exit 1; }; }
11397 cat >conftest.$ac_ext <<_ACEOF
11398 /* confdefs.h. */
11399 _ACEOF
11400 cat confdefs.h >>conftest.$ac_ext
11401 cat >>conftest.$ac_ext <<_ACEOF
11402 /* end confdefs.h. */
11403 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11404 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11405 #define $ac_func innocuous_$ac_func
11407 /* System header to define __stub macros and hopefully few prototypes,
11408 which can conflict with char $ac_func (); below.
11409 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11410 <limits.h> exists even on freestanding compilers. */
11412 #ifdef __STDC__
11413 # include <limits.h>
11414 #else
11415 # include <assert.h>
11416 #endif
11418 #undef $ac_func
11420 /* Override any gcc2 internal prototype to avoid an error. */
11421 #ifdef __cplusplus
11422 extern "C"
11424 #endif
11425 /* We use char because int might match the return type of a gcc2
11426 builtin and then its argument prototype would still apply. */
11427 char $ac_func ();
11428 /* The GNU C library defines this for functions which it implements
11429 to always fail with ENOSYS. Some functions are actually named
11430 something starting with __ and the normal name is an alias. */
11431 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11432 choke me
11433 #else
11434 char (*f) () = $ac_func;
11435 #endif
11436 #ifdef __cplusplus
11438 #endif
11441 main ()
11443 return f != $ac_func;
11445 return 0;
11447 _ACEOF
11448 rm -f conftest.$ac_objext conftest$ac_exeext
11449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11450 (eval $ac_link) 2>conftest.er1
11451 ac_status=$?
11452 grep -v '^ *+' conftest.er1 >conftest.err
11453 rm -f conftest.er1
11454 cat conftest.err >&5
11455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11456 (exit $ac_status); } &&
11457 { ac_try='test -z "$ac_c_werror_flag"
11458 || test ! -s conftest.err'
11459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11460 (eval $ac_try) 2>&5
11461 ac_status=$?
11462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11463 (exit $ac_status); }; } &&
11464 { ac_try='test -s conftest$ac_exeext'
11465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11466 (eval $ac_try) 2>&5
11467 ac_status=$?
11468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11469 (exit $ac_status); }; }; then
11470 eval "$as_ac_var=yes"
11471 else
11472 echo "$as_me: failed program was:" >&5
11473 sed 's/^/| /' conftest.$ac_ext >&5
11475 eval "$as_ac_var=no"
11477 rm -f conftest.err conftest.$ac_objext \
11478 conftest$ac_exeext conftest.$ac_ext
11480 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11481 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11482 if test `eval echo '${'$as_ac_var'}'` = yes; then
11483 cat >>confdefs.h <<_ACEOF
11484 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11485 _ACEOF
11488 done
11493 echo "$as_me:$LINENO: checking for float round functions" >&5
11494 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
11495 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
11496 echo $ECHO_N "(cached) $ECHO_C" >&6
11497 else
11501 ac_ext=cc
11502 ac_cpp='$CXXCPP $CPPFLAGS'
11503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11507 cat >conftest.$ac_ext <<_ACEOF
11508 /* confdefs.h. */
11509 _ACEOF
11510 cat confdefs.h >>conftest.$ac_ext
11511 cat >>conftest.$ac_ext <<_ACEOF
11512 /* end confdefs.h. */
11513 #include <math.h>
11515 main ()
11517 `for x in ceilf floorf; do echo "$x (0);"; done`
11519 return 0;
11521 _ACEOF
11522 rm -f conftest.$ac_objext
11523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11524 (eval $ac_compile) 2>conftest.er1
11525 ac_status=$?
11526 grep -v '^ *+' conftest.er1 >conftest.err
11527 rm -f conftest.er1
11528 cat conftest.err >&5
11529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11530 (exit $ac_status); } &&
11531 { ac_try='test -z "$ac_cxx_werror_flag"
11532 || test ! -s conftest.err'
11533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11534 (eval $ac_try) 2>&5
11535 ac_status=$?
11536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11537 (exit $ac_status); }; } &&
11538 { ac_try='test -s conftest.$ac_objext'
11539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11540 (eval $ac_try) 2>&5
11541 ac_status=$?
11542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11543 (exit $ac_status); }; }; then
11544 glibcxx_cv_func_float_round_use=yes
11545 else
11546 echo "$as_me: failed program was:" >&5
11547 sed 's/^/| /' conftest.$ac_ext >&5
11549 glibcxx_cv_func_float_round_use=no
11551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11552 ac_ext=c
11553 ac_cpp='$CPP $CPPFLAGS'
11554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11560 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
11561 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
11562 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
11565 for ac_func in ceilf floorf
11567 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11568 echo "$as_me:$LINENO: checking for $ac_func" >&5
11569 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11570 if eval "test \"\${$as_ac_var+set}\" = set"; then
11571 echo $ECHO_N "(cached) $ECHO_C" >&6
11572 else
11573 if test x$gcc_no_link = xyes; then
11574 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11575 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11576 { (exit 1); exit 1; }; }
11578 cat >conftest.$ac_ext <<_ACEOF
11579 /* confdefs.h. */
11580 _ACEOF
11581 cat confdefs.h >>conftest.$ac_ext
11582 cat >>conftest.$ac_ext <<_ACEOF
11583 /* end confdefs.h. */
11584 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11585 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11586 #define $ac_func innocuous_$ac_func
11588 /* System header to define __stub macros and hopefully few prototypes,
11589 which can conflict with char $ac_func (); below.
11590 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11591 <limits.h> exists even on freestanding compilers. */
11593 #ifdef __STDC__
11594 # include <limits.h>
11595 #else
11596 # include <assert.h>
11597 #endif
11599 #undef $ac_func
11601 /* Override any gcc2 internal prototype to avoid an error. */
11602 #ifdef __cplusplus
11603 extern "C"
11605 #endif
11606 /* We use char because int might match the return type of a gcc2
11607 builtin and then its argument prototype would still apply. */
11608 char $ac_func ();
11609 /* The GNU C library defines this for functions which it implements
11610 to always fail with ENOSYS. Some functions are actually named
11611 something starting with __ and the normal name is an alias. */
11612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11613 choke me
11614 #else
11615 char (*f) () = $ac_func;
11616 #endif
11617 #ifdef __cplusplus
11619 #endif
11622 main ()
11624 return f != $ac_func;
11626 return 0;
11628 _ACEOF
11629 rm -f conftest.$ac_objext conftest$ac_exeext
11630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11631 (eval $ac_link) 2>conftest.er1
11632 ac_status=$?
11633 grep -v '^ *+' conftest.er1 >conftest.err
11634 rm -f conftest.er1
11635 cat conftest.err >&5
11636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11637 (exit $ac_status); } &&
11638 { ac_try='test -z "$ac_c_werror_flag"
11639 || test ! -s conftest.err'
11640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11641 (eval $ac_try) 2>&5
11642 ac_status=$?
11643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11644 (exit $ac_status); }; } &&
11645 { ac_try='test -s conftest$ac_exeext'
11646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11647 (eval $ac_try) 2>&5
11648 ac_status=$?
11649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11650 (exit $ac_status); }; }; then
11651 eval "$as_ac_var=yes"
11652 else
11653 echo "$as_me: failed program was:" >&5
11654 sed 's/^/| /' conftest.$ac_ext >&5
11656 eval "$as_ac_var=no"
11658 rm -f conftest.err conftest.$ac_objext \
11659 conftest$ac_exeext conftest.$ac_ext
11661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11662 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11663 if test `eval echo '${'$as_ac_var'}'` = yes; then
11664 cat >>confdefs.h <<_ACEOF
11665 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11666 _ACEOF
11669 done
11675 echo "$as_me:$LINENO: checking for expf declaration" >&5
11676 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
11677 if test x${glibcxx_cv_func_expf_use+set} != xset; then
11678 if test "${glibcxx_cv_func_expf_use+set}" = set; then
11679 echo $ECHO_N "(cached) $ECHO_C" >&6
11680 else
11684 ac_ext=cc
11685 ac_cpp='$CXXCPP $CPPFLAGS'
11686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11690 cat >conftest.$ac_ext <<_ACEOF
11691 /* confdefs.h. */
11692 _ACEOF
11693 cat confdefs.h >>conftest.$ac_ext
11694 cat >>conftest.$ac_ext <<_ACEOF
11695 /* end confdefs.h. */
11696 #include <math.h>
11697 #ifdef HAVE_IEEEFP_H
11698 #include <ieeefp.h>
11699 #endif
11702 main ()
11704 expf(0);
11706 return 0;
11708 _ACEOF
11709 rm -f conftest.$ac_objext
11710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11711 (eval $ac_compile) 2>conftest.er1
11712 ac_status=$?
11713 grep -v '^ *+' conftest.er1 >conftest.err
11714 rm -f conftest.er1
11715 cat conftest.err >&5
11716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11717 (exit $ac_status); } &&
11718 { ac_try='test -z "$ac_cxx_werror_flag"
11719 || test ! -s conftest.err'
11720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11721 (eval $ac_try) 2>&5
11722 ac_status=$?
11723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11724 (exit $ac_status); }; } &&
11725 { ac_try='test -s conftest.$ac_objext'
11726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11727 (eval $ac_try) 2>&5
11728 ac_status=$?
11729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11730 (exit $ac_status); }; }; then
11731 glibcxx_cv_func_expf_use=yes
11732 else
11733 echo "$as_me: failed program was:" >&5
11734 sed 's/^/| /' conftest.$ac_ext >&5
11736 glibcxx_cv_func_expf_use=no
11738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11739 ac_ext=c
11740 ac_cpp='$CPP $CPPFLAGS'
11741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11749 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
11750 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
11752 if test x$glibcxx_cv_func_expf_use = x"yes"; then
11754 for ac_func in expf
11756 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11757 echo "$as_me:$LINENO: checking for $ac_func" >&5
11758 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11759 if eval "test \"\${$as_ac_var+set}\" = set"; then
11760 echo $ECHO_N "(cached) $ECHO_C" >&6
11761 else
11762 if test x$gcc_no_link = xyes; then
11763 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11764 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11765 { (exit 1); exit 1; }; }
11767 cat >conftest.$ac_ext <<_ACEOF
11768 /* confdefs.h. */
11769 _ACEOF
11770 cat confdefs.h >>conftest.$ac_ext
11771 cat >>conftest.$ac_ext <<_ACEOF
11772 /* end confdefs.h. */
11773 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11774 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11775 #define $ac_func innocuous_$ac_func
11777 /* System header to define __stub macros and hopefully few prototypes,
11778 which can conflict with char $ac_func (); below.
11779 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11780 <limits.h> exists even on freestanding compilers. */
11782 #ifdef __STDC__
11783 # include <limits.h>
11784 #else
11785 # include <assert.h>
11786 #endif
11788 #undef $ac_func
11790 /* Override any gcc2 internal prototype to avoid an error. */
11791 #ifdef __cplusplus
11792 extern "C"
11794 #endif
11795 /* We use char because int might match the return type of a gcc2
11796 builtin and then its argument prototype would still apply. */
11797 char $ac_func ();
11798 /* The GNU C library defines this for functions which it implements
11799 to always fail with ENOSYS. Some functions are actually named
11800 something starting with __ and the normal name is an alias. */
11801 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11802 choke me
11803 #else
11804 char (*f) () = $ac_func;
11805 #endif
11806 #ifdef __cplusplus
11808 #endif
11811 main ()
11813 return f != $ac_func;
11815 return 0;
11817 _ACEOF
11818 rm -f conftest.$ac_objext conftest$ac_exeext
11819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11820 (eval $ac_link) 2>conftest.er1
11821 ac_status=$?
11822 grep -v '^ *+' conftest.er1 >conftest.err
11823 rm -f conftest.er1
11824 cat conftest.err >&5
11825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11826 (exit $ac_status); } &&
11827 { ac_try='test -z "$ac_c_werror_flag"
11828 || test ! -s conftest.err'
11829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11830 (eval $ac_try) 2>&5
11831 ac_status=$?
11832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11833 (exit $ac_status); }; } &&
11834 { ac_try='test -s conftest$ac_exeext'
11835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11836 (eval $ac_try) 2>&5
11837 ac_status=$?
11838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11839 (exit $ac_status); }; }; then
11840 eval "$as_ac_var=yes"
11841 else
11842 echo "$as_me: failed program was:" >&5
11843 sed 's/^/| /' conftest.$ac_ext >&5
11845 eval "$as_ac_var=no"
11847 rm -f conftest.err conftest.$ac_objext \
11848 conftest$ac_exeext conftest.$ac_ext
11850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
11851 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
11852 if test `eval echo '${'$as_ac_var'}'` = yes; then
11853 cat >>confdefs.h <<_ACEOF
11854 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11855 _ACEOF
11858 done
11860 else
11862 echo "$as_me:$LINENO: checking for _expf declaration" >&5
11863 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
11864 if test x${glibcxx_cv_func__expf_use+set} != xset; then
11865 if test "${glibcxx_cv_func__expf_use+set}" = set; then
11866 echo $ECHO_N "(cached) $ECHO_C" >&6
11867 else
11871 ac_ext=cc
11872 ac_cpp='$CXXCPP $CPPFLAGS'
11873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11877 cat >conftest.$ac_ext <<_ACEOF
11878 /* confdefs.h. */
11879 _ACEOF
11880 cat confdefs.h >>conftest.$ac_ext
11881 cat >>conftest.$ac_ext <<_ACEOF
11882 /* end confdefs.h. */
11883 #include <math.h>
11884 #ifdef HAVE_IEEEFP_H
11885 #include <ieeefp.h>
11886 #endif
11889 main ()
11891 _expf(0);
11893 return 0;
11895 _ACEOF
11896 rm -f conftest.$ac_objext
11897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
11898 (eval $ac_compile) 2>conftest.er1
11899 ac_status=$?
11900 grep -v '^ *+' conftest.er1 >conftest.err
11901 rm -f conftest.er1
11902 cat conftest.err >&5
11903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11904 (exit $ac_status); } &&
11905 { ac_try='test -z "$ac_cxx_werror_flag"
11906 || test ! -s conftest.err'
11907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11908 (eval $ac_try) 2>&5
11909 ac_status=$?
11910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11911 (exit $ac_status); }; } &&
11912 { ac_try='test -s conftest.$ac_objext'
11913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11914 (eval $ac_try) 2>&5
11915 ac_status=$?
11916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11917 (exit $ac_status); }; }; then
11918 glibcxx_cv_func__expf_use=yes
11919 else
11920 echo "$as_me: failed program was:" >&5
11921 sed 's/^/| /' conftest.$ac_ext >&5
11923 glibcxx_cv_func__expf_use=no
11925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
11926 ac_ext=c
11927 ac_cpp='$CPP $CPPFLAGS'
11928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11936 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
11937 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
11939 if test x$glibcxx_cv_func__expf_use = x"yes"; then
11941 for ac_func in _expf
11943 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11944 echo "$as_me:$LINENO: checking for $ac_func" >&5
11945 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
11946 if eval "test \"\${$as_ac_var+set}\" = set"; then
11947 echo $ECHO_N "(cached) $ECHO_C" >&6
11948 else
11949 if test x$gcc_no_link = xyes; then
11950 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11952 { (exit 1); exit 1; }; }
11954 cat >conftest.$ac_ext <<_ACEOF
11955 /* confdefs.h. */
11956 _ACEOF
11957 cat confdefs.h >>conftest.$ac_ext
11958 cat >>conftest.$ac_ext <<_ACEOF
11959 /* end confdefs.h. */
11960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11962 #define $ac_func innocuous_$ac_func
11964 /* System header to define __stub macros and hopefully few prototypes,
11965 which can conflict with char $ac_func (); below.
11966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11967 <limits.h> exists even on freestanding compilers. */
11969 #ifdef __STDC__
11970 # include <limits.h>
11971 #else
11972 # include <assert.h>
11973 #endif
11975 #undef $ac_func
11977 /* Override any gcc2 internal prototype to avoid an error. */
11978 #ifdef __cplusplus
11979 extern "C"
11981 #endif
11982 /* We use char because int might match the return type of a gcc2
11983 builtin and then its argument prototype would still apply. */
11984 char $ac_func ();
11985 /* The GNU C library defines this for functions which it implements
11986 to always fail with ENOSYS. Some functions are actually named
11987 something starting with __ and the normal name is an alias. */
11988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11989 choke me
11990 #else
11991 char (*f) () = $ac_func;
11992 #endif
11993 #ifdef __cplusplus
11995 #endif
11998 main ()
12000 return f != $ac_func;
12002 return 0;
12004 _ACEOF
12005 rm -f conftest.$ac_objext conftest$ac_exeext
12006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12007 (eval $ac_link) 2>conftest.er1
12008 ac_status=$?
12009 grep -v '^ *+' conftest.er1 >conftest.err
12010 rm -f conftest.er1
12011 cat conftest.err >&5
12012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12013 (exit $ac_status); } &&
12014 { ac_try='test -z "$ac_c_werror_flag"
12015 || test ! -s conftest.err'
12016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12017 (eval $ac_try) 2>&5
12018 ac_status=$?
12019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12020 (exit $ac_status); }; } &&
12021 { ac_try='test -s conftest$ac_exeext'
12022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12023 (eval $ac_try) 2>&5
12024 ac_status=$?
12025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12026 (exit $ac_status); }; }; then
12027 eval "$as_ac_var=yes"
12028 else
12029 echo "$as_me: failed program was:" >&5
12030 sed 's/^/| /' conftest.$ac_ext >&5
12032 eval "$as_ac_var=no"
12034 rm -f conftest.err conftest.$ac_objext \
12035 conftest$ac_exeext conftest.$ac_ext
12037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12038 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12039 if test `eval echo '${'$as_ac_var'}'` = yes; then
12040 cat >>confdefs.h <<_ACEOF
12041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12042 _ACEOF
12045 done
12052 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
12053 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
12054 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
12055 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
12056 echo $ECHO_N "(cached) $ECHO_C" >&6
12057 else
12061 ac_ext=cc
12062 ac_cpp='$CXXCPP $CPPFLAGS'
12063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12067 cat >conftest.$ac_ext <<_ACEOF
12068 /* confdefs.h. */
12069 _ACEOF
12070 cat confdefs.h >>conftest.$ac_ext
12071 cat >>conftest.$ac_ext <<_ACEOF
12072 /* end confdefs.h. */
12073 #include <math.h>
12074 #ifdef HAVE_IEEEFP_H
12075 #include <ieeefp.h>
12076 #endif
12079 main ()
12081 isnanf(0);
12083 return 0;
12085 _ACEOF
12086 rm -f conftest.$ac_objext
12087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12088 (eval $ac_compile) 2>conftest.er1
12089 ac_status=$?
12090 grep -v '^ *+' conftest.er1 >conftest.err
12091 rm -f conftest.er1
12092 cat conftest.err >&5
12093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12094 (exit $ac_status); } &&
12095 { ac_try='test -z "$ac_cxx_werror_flag"
12096 || test ! -s conftest.err'
12097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12098 (eval $ac_try) 2>&5
12099 ac_status=$?
12100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12101 (exit $ac_status); }; } &&
12102 { ac_try='test -s conftest.$ac_objext'
12103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12104 (eval $ac_try) 2>&5
12105 ac_status=$?
12106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12107 (exit $ac_status); }; }; then
12108 glibcxx_cv_func_isnanf_use=yes
12109 else
12110 echo "$as_me: failed program was:" >&5
12111 sed 's/^/| /' conftest.$ac_ext >&5
12113 glibcxx_cv_func_isnanf_use=no
12115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12116 ac_ext=c
12117 ac_cpp='$CPP $CPPFLAGS'
12118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12126 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
12127 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
12129 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
12131 for ac_func in isnanf
12133 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12134 echo "$as_me:$LINENO: checking for $ac_func" >&5
12135 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12136 if eval "test \"\${$as_ac_var+set}\" = set"; then
12137 echo $ECHO_N "(cached) $ECHO_C" >&6
12138 else
12139 if test x$gcc_no_link = xyes; then
12140 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12141 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12142 { (exit 1); exit 1; }; }
12144 cat >conftest.$ac_ext <<_ACEOF
12145 /* confdefs.h. */
12146 _ACEOF
12147 cat confdefs.h >>conftest.$ac_ext
12148 cat >>conftest.$ac_ext <<_ACEOF
12149 /* end confdefs.h. */
12150 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12151 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12152 #define $ac_func innocuous_$ac_func
12154 /* System header to define __stub macros and hopefully few prototypes,
12155 which can conflict with char $ac_func (); below.
12156 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12157 <limits.h> exists even on freestanding compilers. */
12159 #ifdef __STDC__
12160 # include <limits.h>
12161 #else
12162 # include <assert.h>
12163 #endif
12165 #undef $ac_func
12167 /* Override any gcc2 internal prototype to avoid an error. */
12168 #ifdef __cplusplus
12169 extern "C"
12171 #endif
12172 /* We use char because int might match the return type of a gcc2
12173 builtin and then its argument prototype would still apply. */
12174 char $ac_func ();
12175 /* The GNU C library defines this for functions which it implements
12176 to always fail with ENOSYS. Some functions are actually named
12177 something starting with __ and the normal name is an alias. */
12178 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12179 choke me
12180 #else
12181 char (*f) () = $ac_func;
12182 #endif
12183 #ifdef __cplusplus
12185 #endif
12188 main ()
12190 return f != $ac_func;
12192 return 0;
12194 _ACEOF
12195 rm -f conftest.$ac_objext conftest$ac_exeext
12196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12197 (eval $ac_link) 2>conftest.er1
12198 ac_status=$?
12199 grep -v '^ *+' conftest.er1 >conftest.err
12200 rm -f conftest.er1
12201 cat conftest.err >&5
12202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12203 (exit $ac_status); } &&
12204 { ac_try='test -z "$ac_c_werror_flag"
12205 || test ! -s conftest.err'
12206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12207 (eval $ac_try) 2>&5
12208 ac_status=$?
12209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12210 (exit $ac_status); }; } &&
12211 { ac_try='test -s conftest$ac_exeext'
12212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12213 (eval $ac_try) 2>&5
12214 ac_status=$?
12215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12216 (exit $ac_status); }; }; then
12217 eval "$as_ac_var=yes"
12218 else
12219 echo "$as_me: failed program was:" >&5
12220 sed 's/^/| /' conftest.$ac_ext >&5
12222 eval "$as_ac_var=no"
12224 rm -f conftest.err conftest.$ac_objext \
12225 conftest$ac_exeext conftest.$ac_ext
12227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12228 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12229 if test `eval echo '${'$as_ac_var'}'` = yes; then
12230 cat >>confdefs.h <<_ACEOF
12231 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12232 _ACEOF
12235 done
12237 else
12239 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
12240 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
12241 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
12242 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
12243 echo $ECHO_N "(cached) $ECHO_C" >&6
12244 else
12248 ac_ext=cc
12249 ac_cpp='$CXXCPP $CPPFLAGS'
12250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12254 cat >conftest.$ac_ext <<_ACEOF
12255 /* confdefs.h. */
12256 _ACEOF
12257 cat confdefs.h >>conftest.$ac_ext
12258 cat >>conftest.$ac_ext <<_ACEOF
12259 /* end confdefs.h. */
12260 #include <math.h>
12261 #ifdef HAVE_IEEEFP_H
12262 #include <ieeefp.h>
12263 #endif
12266 main ()
12268 _isnanf(0);
12270 return 0;
12272 _ACEOF
12273 rm -f conftest.$ac_objext
12274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12275 (eval $ac_compile) 2>conftest.er1
12276 ac_status=$?
12277 grep -v '^ *+' conftest.er1 >conftest.err
12278 rm -f conftest.er1
12279 cat conftest.err >&5
12280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12281 (exit $ac_status); } &&
12282 { ac_try='test -z "$ac_cxx_werror_flag"
12283 || test ! -s conftest.err'
12284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12285 (eval $ac_try) 2>&5
12286 ac_status=$?
12287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12288 (exit $ac_status); }; } &&
12289 { ac_try='test -s conftest.$ac_objext'
12290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12291 (eval $ac_try) 2>&5
12292 ac_status=$?
12293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12294 (exit $ac_status); }; }; then
12295 glibcxx_cv_func__isnanf_use=yes
12296 else
12297 echo "$as_me: failed program was:" >&5
12298 sed 's/^/| /' conftest.$ac_ext >&5
12300 glibcxx_cv_func__isnanf_use=no
12302 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12303 ac_ext=c
12304 ac_cpp='$CPP $CPPFLAGS'
12305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12313 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
12314 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
12316 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
12318 for ac_func in _isnanf
12320 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12321 echo "$as_me:$LINENO: checking for $ac_func" >&5
12322 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12323 if eval "test \"\${$as_ac_var+set}\" = set"; then
12324 echo $ECHO_N "(cached) $ECHO_C" >&6
12325 else
12326 if test x$gcc_no_link = xyes; then
12327 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12328 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12329 { (exit 1); exit 1; }; }
12331 cat >conftest.$ac_ext <<_ACEOF
12332 /* confdefs.h. */
12333 _ACEOF
12334 cat confdefs.h >>conftest.$ac_ext
12335 cat >>conftest.$ac_ext <<_ACEOF
12336 /* end confdefs.h. */
12337 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12338 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12339 #define $ac_func innocuous_$ac_func
12341 /* System header to define __stub macros and hopefully few prototypes,
12342 which can conflict with char $ac_func (); below.
12343 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12344 <limits.h> exists even on freestanding compilers. */
12346 #ifdef __STDC__
12347 # include <limits.h>
12348 #else
12349 # include <assert.h>
12350 #endif
12352 #undef $ac_func
12354 /* Override any gcc2 internal prototype to avoid an error. */
12355 #ifdef __cplusplus
12356 extern "C"
12358 #endif
12359 /* We use char because int might match the return type of a gcc2
12360 builtin and then its argument prototype would still apply. */
12361 char $ac_func ();
12362 /* The GNU C library defines this for functions which it implements
12363 to always fail with ENOSYS. Some functions are actually named
12364 something starting with __ and the normal name is an alias. */
12365 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12366 choke me
12367 #else
12368 char (*f) () = $ac_func;
12369 #endif
12370 #ifdef __cplusplus
12372 #endif
12375 main ()
12377 return f != $ac_func;
12379 return 0;
12381 _ACEOF
12382 rm -f conftest.$ac_objext conftest$ac_exeext
12383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12384 (eval $ac_link) 2>conftest.er1
12385 ac_status=$?
12386 grep -v '^ *+' conftest.er1 >conftest.err
12387 rm -f conftest.er1
12388 cat conftest.err >&5
12389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12390 (exit $ac_status); } &&
12391 { ac_try='test -z "$ac_c_werror_flag"
12392 || test ! -s conftest.err'
12393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12394 (eval $ac_try) 2>&5
12395 ac_status=$?
12396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12397 (exit $ac_status); }; } &&
12398 { ac_try='test -s conftest$ac_exeext'
12399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12400 (eval $ac_try) 2>&5
12401 ac_status=$?
12402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12403 (exit $ac_status); }; }; then
12404 eval "$as_ac_var=yes"
12405 else
12406 echo "$as_me: failed program was:" >&5
12407 sed 's/^/| /' conftest.$ac_ext >&5
12409 eval "$as_ac_var=no"
12411 rm -f conftest.err conftest.$ac_objext \
12412 conftest$ac_exeext conftest.$ac_ext
12414 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12415 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12416 if test `eval echo '${'$as_ac_var'}'` = yes; then
12417 cat >>confdefs.h <<_ACEOF
12418 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12419 _ACEOF
12422 done
12429 echo "$as_me:$LINENO: checking for isinff declaration" >&5
12430 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
12431 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
12432 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
12433 echo $ECHO_N "(cached) $ECHO_C" >&6
12434 else
12438 ac_ext=cc
12439 ac_cpp='$CXXCPP $CPPFLAGS'
12440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12444 cat >conftest.$ac_ext <<_ACEOF
12445 /* confdefs.h. */
12446 _ACEOF
12447 cat confdefs.h >>conftest.$ac_ext
12448 cat >>conftest.$ac_ext <<_ACEOF
12449 /* end confdefs.h. */
12450 #include <math.h>
12451 #ifdef HAVE_IEEEFP_H
12452 #include <ieeefp.h>
12453 #endif
12456 main ()
12458 isinff(0);
12460 return 0;
12462 _ACEOF
12463 rm -f conftest.$ac_objext
12464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12465 (eval $ac_compile) 2>conftest.er1
12466 ac_status=$?
12467 grep -v '^ *+' conftest.er1 >conftest.err
12468 rm -f conftest.er1
12469 cat conftest.err >&5
12470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12471 (exit $ac_status); } &&
12472 { ac_try='test -z "$ac_cxx_werror_flag"
12473 || test ! -s conftest.err'
12474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12475 (eval $ac_try) 2>&5
12476 ac_status=$?
12477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12478 (exit $ac_status); }; } &&
12479 { ac_try='test -s conftest.$ac_objext'
12480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12481 (eval $ac_try) 2>&5
12482 ac_status=$?
12483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12484 (exit $ac_status); }; }; then
12485 glibcxx_cv_func_isinff_use=yes
12486 else
12487 echo "$as_me: failed program was:" >&5
12488 sed 's/^/| /' conftest.$ac_ext >&5
12490 glibcxx_cv_func_isinff_use=no
12492 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12493 ac_ext=c
12494 ac_cpp='$CPP $CPPFLAGS'
12495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12503 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
12504 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
12506 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
12508 for ac_func in isinff
12510 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12511 echo "$as_me:$LINENO: checking for $ac_func" >&5
12512 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12513 if eval "test \"\${$as_ac_var+set}\" = set"; then
12514 echo $ECHO_N "(cached) $ECHO_C" >&6
12515 else
12516 if test x$gcc_no_link = xyes; then
12517 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12518 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12519 { (exit 1); exit 1; }; }
12521 cat >conftest.$ac_ext <<_ACEOF
12522 /* confdefs.h. */
12523 _ACEOF
12524 cat confdefs.h >>conftest.$ac_ext
12525 cat >>conftest.$ac_ext <<_ACEOF
12526 /* end confdefs.h. */
12527 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12528 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12529 #define $ac_func innocuous_$ac_func
12531 /* System header to define __stub macros and hopefully few prototypes,
12532 which can conflict with char $ac_func (); below.
12533 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12534 <limits.h> exists even on freestanding compilers. */
12536 #ifdef __STDC__
12537 # include <limits.h>
12538 #else
12539 # include <assert.h>
12540 #endif
12542 #undef $ac_func
12544 /* Override any gcc2 internal prototype to avoid an error. */
12545 #ifdef __cplusplus
12546 extern "C"
12548 #endif
12549 /* We use char because int might match the return type of a gcc2
12550 builtin and then its argument prototype would still apply. */
12551 char $ac_func ();
12552 /* The GNU C library defines this for functions which it implements
12553 to always fail with ENOSYS. Some functions are actually named
12554 something starting with __ and the normal name is an alias. */
12555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12556 choke me
12557 #else
12558 char (*f) () = $ac_func;
12559 #endif
12560 #ifdef __cplusplus
12562 #endif
12565 main ()
12567 return f != $ac_func;
12569 return 0;
12571 _ACEOF
12572 rm -f conftest.$ac_objext conftest$ac_exeext
12573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12574 (eval $ac_link) 2>conftest.er1
12575 ac_status=$?
12576 grep -v '^ *+' conftest.er1 >conftest.err
12577 rm -f conftest.er1
12578 cat conftest.err >&5
12579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12580 (exit $ac_status); } &&
12581 { ac_try='test -z "$ac_c_werror_flag"
12582 || test ! -s conftest.err'
12583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12584 (eval $ac_try) 2>&5
12585 ac_status=$?
12586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12587 (exit $ac_status); }; } &&
12588 { ac_try='test -s conftest$ac_exeext'
12589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12590 (eval $ac_try) 2>&5
12591 ac_status=$?
12592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12593 (exit $ac_status); }; }; then
12594 eval "$as_ac_var=yes"
12595 else
12596 echo "$as_me: failed program was:" >&5
12597 sed 's/^/| /' conftest.$ac_ext >&5
12599 eval "$as_ac_var=no"
12601 rm -f conftest.err conftest.$ac_objext \
12602 conftest$ac_exeext conftest.$ac_ext
12604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12605 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12606 if test `eval echo '${'$as_ac_var'}'` = yes; then
12607 cat >>confdefs.h <<_ACEOF
12608 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12609 _ACEOF
12612 done
12614 else
12616 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
12617 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
12618 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
12619 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
12620 echo $ECHO_N "(cached) $ECHO_C" >&6
12621 else
12625 ac_ext=cc
12626 ac_cpp='$CXXCPP $CPPFLAGS'
12627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12631 cat >conftest.$ac_ext <<_ACEOF
12632 /* confdefs.h. */
12633 _ACEOF
12634 cat confdefs.h >>conftest.$ac_ext
12635 cat >>conftest.$ac_ext <<_ACEOF
12636 /* end confdefs.h. */
12637 #include <math.h>
12638 #ifdef HAVE_IEEEFP_H
12639 #include <ieeefp.h>
12640 #endif
12643 main ()
12645 _isinff(0);
12647 return 0;
12649 _ACEOF
12650 rm -f conftest.$ac_objext
12651 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12652 (eval $ac_compile) 2>conftest.er1
12653 ac_status=$?
12654 grep -v '^ *+' conftest.er1 >conftest.err
12655 rm -f conftest.er1
12656 cat conftest.err >&5
12657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12658 (exit $ac_status); } &&
12659 { ac_try='test -z "$ac_cxx_werror_flag"
12660 || test ! -s conftest.err'
12661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12662 (eval $ac_try) 2>&5
12663 ac_status=$?
12664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12665 (exit $ac_status); }; } &&
12666 { ac_try='test -s conftest.$ac_objext'
12667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12668 (eval $ac_try) 2>&5
12669 ac_status=$?
12670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12671 (exit $ac_status); }; }; then
12672 glibcxx_cv_func__isinff_use=yes
12673 else
12674 echo "$as_me: failed program was:" >&5
12675 sed 's/^/| /' conftest.$ac_ext >&5
12677 glibcxx_cv_func__isinff_use=no
12679 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12680 ac_ext=c
12681 ac_cpp='$CPP $CPPFLAGS'
12682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12690 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
12691 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
12693 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
12695 for ac_func in _isinff
12697 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12698 echo "$as_me:$LINENO: checking for $ac_func" >&5
12699 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12700 if eval "test \"\${$as_ac_var+set}\" = set"; then
12701 echo $ECHO_N "(cached) $ECHO_C" >&6
12702 else
12703 if test x$gcc_no_link = xyes; then
12704 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12705 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12706 { (exit 1); exit 1; }; }
12708 cat >conftest.$ac_ext <<_ACEOF
12709 /* confdefs.h. */
12710 _ACEOF
12711 cat confdefs.h >>conftest.$ac_ext
12712 cat >>conftest.$ac_ext <<_ACEOF
12713 /* end confdefs.h. */
12714 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12715 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12716 #define $ac_func innocuous_$ac_func
12718 /* System header to define __stub macros and hopefully few prototypes,
12719 which can conflict with char $ac_func (); below.
12720 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12721 <limits.h> exists even on freestanding compilers. */
12723 #ifdef __STDC__
12724 # include <limits.h>
12725 #else
12726 # include <assert.h>
12727 #endif
12729 #undef $ac_func
12731 /* Override any gcc2 internal prototype to avoid an error. */
12732 #ifdef __cplusplus
12733 extern "C"
12735 #endif
12736 /* We use char because int might match the return type of a gcc2
12737 builtin and then its argument prototype would still apply. */
12738 char $ac_func ();
12739 /* The GNU C library defines this for functions which it implements
12740 to always fail with ENOSYS. Some functions are actually named
12741 something starting with __ and the normal name is an alias. */
12742 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12743 choke me
12744 #else
12745 char (*f) () = $ac_func;
12746 #endif
12747 #ifdef __cplusplus
12749 #endif
12752 main ()
12754 return f != $ac_func;
12756 return 0;
12758 _ACEOF
12759 rm -f conftest.$ac_objext conftest$ac_exeext
12760 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12761 (eval $ac_link) 2>conftest.er1
12762 ac_status=$?
12763 grep -v '^ *+' conftest.er1 >conftest.err
12764 rm -f conftest.er1
12765 cat conftest.err >&5
12766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12767 (exit $ac_status); } &&
12768 { ac_try='test -z "$ac_c_werror_flag"
12769 || test ! -s conftest.err'
12770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12771 (eval $ac_try) 2>&5
12772 ac_status=$?
12773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12774 (exit $ac_status); }; } &&
12775 { ac_try='test -s conftest$ac_exeext'
12776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12777 (eval $ac_try) 2>&5
12778 ac_status=$?
12779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12780 (exit $ac_status); }; }; then
12781 eval "$as_ac_var=yes"
12782 else
12783 echo "$as_me: failed program was:" >&5
12784 sed 's/^/| /' conftest.$ac_ext >&5
12786 eval "$as_ac_var=no"
12788 rm -f conftest.err conftest.$ac_objext \
12789 conftest$ac_exeext conftest.$ac_ext
12791 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12792 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12793 if test `eval echo '${'$as_ac_var'}'` = yes; then
12794 cat >>confdefs.h <<_ACEOF
12795 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12796 _ACEOF
12799 done
12806 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
12807 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
12808 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
12809 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
12810 echo $ECHO_N "(cached) $ECHO_C" >&6
12811 else
12815 ac_ext=cc
12816 ac_cpp='$CXXCPP $CPPFLAGS'
12817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12821 cat >conftest.$ac_ext <<_ACEOF
12822 /* confdefs.h. */
12823 _ACEOF
12824 cat confdefs.h >>conftest.$ac_ext
12825 cat >>conftest.$ac_ext <<_ACEOF
12826 /* end confdefs.h. */
12827 #include <math.h>
12829 main ()
12831 atan2f(0, 0);
12833 return 0;
12835 _ACEOF
12836 rm -f conftest.$ac_objext
12837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12838 (eval $ac_compile) 2>conftest.er1
12839 ac_status=$?
12840 grep -v '^ *+' conftest.er1 >conftest.err
12841 rm -f conftest.er1
12842 cat conftest.err >&5
12843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12844 (exit $ac_status); } &&
12845 { ac_try='test -z "$ac_cxx_werror_flag"
12846 || test ! -s conftest.err'
12847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12848 (eval $ac_try) 2>&5
12849 ac_status=$?
12850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12851 (exit $ac_status); }; } &&
12852 { ac_try='test -s conftest.$ac_objext'
12853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12854 (eval $ac_try) 2>&5
12855 ac_status=$?
12856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12857 (exit $ac_status); }; }; then
12858 glibcxx_cv_func_atan2f_use=yes
12859 else
12860 echo "$as_me: failed program was:" >&5
12861 sed 's/^/| /' conftest.$ac_ext >&5
12863 glibcxx_cv_func_atan2f_use=no
12865 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12866 ac_ext=c
12867 ac_cpp='$CPP $CPPFLAGS'
12868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12876 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
12877 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
12879 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
12881 for ac_func in atan2f
12883 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12884 echo "$as_me:$LINENO: checking for $ac_func" >&5
12885 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
12886 if eval "test \"\${$as_ac_var+set}\" = set"; then
12887 echo $ECHO_N "(cached) $ECHO_C" >&6
12888 else
12889 if test x$gcc_no_link = xyes; then
12890 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12891 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12892 { (exit 1); exit 1; }; }
12894 cat >conftest.$ac_ext <<_ACEOF
12895 /* confdefs.h. */
12896 _ACEOF
12897 cat confdefs.h >>conftest.$ac_ext
12898 cat >>conftest.$ac_ext <<_ACEOF
12899 /* end confdefs.h. */
12900 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12901 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12902 #define $ac_func innocuous_$ac_func
12904 /* System header to define __stub macros and hopefully few prototypes,
12905 which can conflict with char $ac_func (); below.
12906 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12907 <limits.h> exists even on freestanding compilers. */
12909 #ifdef __STDC__
12910 # include <limits.h>
12911 #else
12912 # include <assert.h>
12913 #endif
12915 #undef $ac_func
12917 /* Override any gcc2 internal prototype to avoid an error. */
12918 #ifdef __cplusplus
12919 extern "C"
12921 #endif
12922 /* We use char because int might match the return type of a gcc2
12923 builtin and then its argument prototype would still apply. */
12924 char $ac_func ();
12925 /* The GNU C library defines this for functions which it implements
12926 to always fail with ENOSYS. Some functions are actually named
12927 something starting with __ and the normal name is an alias. */
12928 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12929 choke me
12930 #else
12931 char (*f) () = $ac_func;
12932 #endif
12933 #ifdef __cplusplus
12935 #endif
12938 main ()
12940 return f != $ac_func;
12942 return 0;
12944 _ACEOF
12945 rm -f conftest.$ac_objext conftest$ac_exeext
12946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12947 (eval $ac_link) 2>conftest.er1
12948 ac_status=$?
12949 grep -v '^ *+' conftest.er1 >conftest.err
12950 rm -f conftest.er1
12951 cat conftest.err >&5
12952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12953 (exit $ac_status); } &&
12954 { ac_try='test -z "$ac_c_werror_flag"
12955 || test ! -s conftest.err'
12956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12957 (eval $ac_try) 2>&5
12958 ac_status=$?
12959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12960 (exit $ac_status); }; } &&
12961 { ac_try='test -s conftest$ac_exeext'
12962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12963 (eval $ac_try) 2>&5
12964 ac_status=$?
12965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12966 (exit $ac_status); }; }; then
12967 eval "$as_ac_var=yes"
12968 else
12969 echo "$as_me: failed program was:" >&5
12970 sed 's/^/| /' conftest.$ac_ext >&5
12972 eval "$as_ac_var=no"
12974 rm -f conftest.err conftest.$ac_objext \
12975 conftest$ac_exeext conftest.$ac_ext
12977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
12978 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
12979 if test `eval echo '${'$as_ac_var'}'` = yes; then
12980 cat >>confdefs.h <<_ACEOF
12981 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12982 _ACEOF
12985 done
12987 else
12989 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
12990 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
12991 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
12992 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
12993 echo $ECHO_N "(cached) $ECHO_C" >&6
12994 else
12998 ac_ext=cc
12999 ac_cpp='$CXXCPP $CPPFLAGS'
13000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13004 cat >conftest.$ac_ext <<_ACEOF
13005 /* confdefs.h. */
13006 _ACEOF
13007 cat confdefs.h >>conftest.$ac_ext
13008 cat >>conftest.$ac_ext <<_ACEOF
13009 /* end confdefs.h. */
13010 #include <math.h>
13012 main ()
13014 _atan2f(0, 0);
13016 return 0;
13018 _ACEOF
13019 rm -f conftest.$ac_objext
13020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13021 (eval $ac_compile) 2>conftest.er1
13022 ac_status=$?
13023 grep -v '^ *+' conftest.er1 >conftest.err
13024 rm -f conftest.er1
13025 cat conftest.err >&5
13026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13027 (exit $ac_status); } &&
13028 { ac_try='test -z "$ac_cxx_werror_flag"
13029 || test ! -s conftest.err'
13030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13031 (eval $ac_try) 2>&5
13032 ac_status=$?
13033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13034 (exit $ac_status); }; } &&
13035 { ac_try='test -s conftest.$ac_objext'
13036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13037 (eval $ac_try) 2>&5
13038 ac_status=$?
13039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13040 (exit $ac_status); }; }; then
13041 glibcxx_cv_func__atan2f_use=yes
13042 else
13043 echo "$as_me: failed program was:" >&5
13044 sed 's/^/| /' conftest.$ac_ext >&5
13046 glibcxx_cv_func__atan2f_use=no
13048 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13049 ac_ext=c
13050 ac_cpp='$CPP $CPPFLAGS'
13051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13059 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
13060 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
13062 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
13064 for ac_func in _atan2f
13066 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13067 echo "$as_me:$LINENO: checking for $ac_func" >&5
13068 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13069 if eval "test \"\${$as_ac_var+set}\" = set"; then
13070 echo $ECHO_N "(cached) $ECHO_C" >&6
13071 else
13072 if test x$gcc_no_link = xyes; then
13073 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13074 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13075 { (exit 1); exit 1; }; }
13077 cat >conftest.$ac_ext <<_ACEOF
13078 /* confdefs.h. */
13079 _ACEOF
13080 cat confdefs.h >>conftest.$ac_ext
13081 cat >>conftest.$ac_ext <<_ACEOF
13082 /* end confdefs.h. */
13083 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13084 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13085 #define $ac_func innocuous_$ac_func
13087 /* System header to define __stub macros and hopefully few prototypes,
13088 which can conflict with char $ac_func (); below.
13089 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13090 <limits.h> exists even on freestanding compilers. */
13092 #ifdef __STDC__
13093 # include <limits.h>
13094 #else
13095 # include <assert.h>
13096 #endif
13098 #undef $ac_func
13100 /* Override any gcc2 internal prototype to avoid an error. */
13101 #ifdef __cplusplus
13102 extern "C"
13104 #endif
13105 /* We use char because int might match the return type of a gcc2
13106 builtin and then its argument prototype would still apply. */
13107 char $ac_func ();
13108 /* The GNU C library defines this for functions which it implements
13109 to always fail with ENOSYS. Some functions are actually named
13110 something starting with __ and the normal name is an alias. */
13111 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13112 choke me
13113 #else
13114 char (*f) () = $ac_func;
13115 #endif
13116 #ifdef __cplusplus
13118 #endif
13121 main ()
13123 return f != $ac_func;
13125 return 0;
13127 _ACEOF
13128 rm -f conftest.$ac_objext conftest$ac_exeext
13129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13130 (eval $ac_link) 2>conftest.er1
13131 ac_status=$?
13132 grep -v '^ *+' conftest.er1 >conftest.err
13133 rm -f conftest.er1
13134 cat conftest.err >&5
13135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13136 (exit $ac_status); } &&
13137 { ac_try='test -z "$ac_c_werror_flag"
13138 || test ! -s conftest.err'
13139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13140 (eval $ac_try) 2>&5
13141 ac_status=$?
13142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13143 (exit $ac_status); }; } &&
13144 { ac_try='test -s conftest$ac_exeext'
13145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13146 (eval $ac_try) 2>&5
13147 ac_status=$?
13148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13149 (exit $ac_status); }; }; then
13150 eval "$as_ac_var=yes"
13151 else
13152 echo "$as_me: failed program was:" >&5
13153 sed 's/^/| /' conftest.$ac_ext >&5
13155 eval "$as_ac_var=no"
13157 rm -f conftest.err conftest.$ac_objext \
13158 conftest$ac_exeext conftest.$ac_ext
13160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13161 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13162 if test `eval echo '${'$as_ac_var'}'` = yes; then
13163 cat >>confdefs.h <<_ACEOF
13164 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13165 _ACEOF
13168 done
13175 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
13176 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
13177 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
13178 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
13179 echo $ECHO_N "(cached) $ECHO_C" >&6
13180 else
13184 ac_ext=cc
13185 ac_cpp='$CXXCPP $CPPFLAGS'
13186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13190 cat >conftest.$ac_ext <<_ACEOF
13191 /* confdefs.h. */
13192 _ACEOF
13193 cat confdefs.h >>conftest.$ac_ext
13194 cat >>conftest.$ac_ext <<_ACEOF
13195 /* end confdefs.h. */
13196 #include <math.h>
13197 #ifdef HAVE_IEEEFP_H
13198 #include <ieeefp.h>
13199 #endif
13202 main ()
13204 fabsf(0);
13206 return 0;
13208 _ACEOF
13209 rm -f conftest.$ac_objext
13210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13211 (eval $ac_compile) 2>conftest.er1
13212 ac_status=$?
13213 grep -v '^ *+' conftest.er1 >conftest.err
13214 rm -f conftest.er1
13215 cat conftest.err >&5
13216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13217 (exit $ac_status); } &&
13218 { ac_try='test -z "$ac_cxx_werror_flag"
13219 || test ! -s conftest.err'
13220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13221 (eval $ac_try) 2>&5
13222 ac_status=$?
13223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13224 (exit $ac_status); }; } &&
13225 { ac_try='test -s conftest.$ac_objext'
13226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13227 (eval $ac_try) 2>&5
13228 ac_status=$?
13229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13230 (exit $ac_status); }; }; then
13231 glibcxx_cv_func_fabsf_use=yes
13232 else
13233 echo "$as_me: failed program was:" >&5
13234 sed 's/^/| /' conftest.$ac_ext >&5
13236 glibcxx_cv_func_fabsf_use=no
13238 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13239 ac_ext=c
13240 ac_cpp='$CPP $CPPFLAGS'
13241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13249 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
13250 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
13252 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
13254 for ac_func in fabsf
13256 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13257 echo "$as_me:$LINENO: checking for $ac_func" >&5
13258 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13259 if eval "test \"\${$as_ac_var+set}\" = set"; then
13260 echo $ECHO_N "(cached) $ECHO_C" >&6
13261 else
13262 if test x$gcc_no_link = xyes; then
13263 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13264 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13265 { (exit 1); exit 1; }; }
13267 cat >conftest.$ac_ext <<_ACEOF
13268 /* confdefs.h. */
13269 _ACEOF
13270 cat confdefs.h >>conftest.$ac_ext
13271 cat >>conftest.$ac_ext <<_ACEOF
13272 /* end confdefs.h. */
13273 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13274 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13275 #define $ac_func innocuous_$ac_func
13277 /* System header to define __stub macros and hopefully few prototypes,
13278 which can conflict with char $ac_func (); below.
13279 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13280 <limits.h> exists even on freestanding compilers. */
13282 #ifdef __STDC__
13283 # include <limits.h>
13284 #else
13285 # include <assert.h>
13286 #endif
13288 #undef $ac_func
13290 /* Override any gcc2 internal prototype to avoid an error. */
13291 #ifdef __cplusplus
13292 extern "C"
13294 #endif
13295 /* We use char because int might match the return type of a gcc2
13296 builtin and then its argument prototype would still apply. */
13297 char $ac_func ();
13298 /* The GNU C library defines this for functions which it implements
13299 to always fail with ENOSYS. Some functions are actually named
13300 something starting with __ and the normal name is an alias. */
13301 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13302 choke me
13303 #else
13304 char (*f) () = $ac_func;
13305 #endif
13306 #ifdef __cplusplus
13308 #endif
13311 main ()
13313 return f != $ac_func;
13315 return 0;
13317 _ACEOF
13318 rm -f conftest.$ac_objext conftest$ac_exeext
13319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13320 (eval $ac_link) 2>conftest.er1
13321 ac_status=$?
13322 grep -v '^ *+' conftest.er1 >conftest.err
13323 rm -f conftest.er1
13324 cat conftest.err >&5
13325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13326 (exit $ac_status); } &&
13327 { ac_try='test -z "$ac_c_werror_flag"
13328 || test ! -s conftest.err'
13329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13330 (eval $ac_try) 2>&5
13331 ac_status=$?
13332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13333 (exit $ac_status); }; } &&
13334 { ac_try='test -s conftest$ac_exeext'
13335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13336 (eval $ac_try) 2>&5
13337 ac_status=$?
13338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13339 (exit $ac_status); }; }; then
13340 eval "$as_ac_var=yes"
13341 else
13342 echo "$as_me: failed program was:" >&5
13343 sed 's/^/| /' conftest.$ac_ext >&5
13345 eval "$as_ac_var=no"
13347 rm -f conftest.err conftest.$ac_objext \
13348 conftest$ac_exeext conftest.$ac_ext
13350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13351 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13352 if test `eval echo '${'$as_ac_var'}'` = yes; then
13353 cat >>confdefs.h <<_ACEOF
13354 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13355 _ACEOF
13358 done
13360 else
13362 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
13363 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
13364 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
13365 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
13366 echo $ECHO_N "(cached) $ECHO_C" >&6
13367 else
13371 ac_ext=cc
13372 ac_cpp='$CXXCPP $CPPFLAGS'
13373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13377 cat >conftest.$ac_ext <<_ACEOF
13378 /* confdefs.h. */
13379 _ACEOF
13380 cat confdefs.h >>conftest.$ac_ext
13381 cat >>conftest.$ac_ext <<_ACEOF
13382 /* end confdefs.h. */
13383 #include <math.h>
13384 #ifdef HAVE_IEEEFP_H
13385 #include <ieeefp.h>
13386 #endif
13389 main ()
13391 _fabsf(0);
13393 return 0;
13395 _ACEOF
13396 rm -f conftest.$ac_objext
13397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13398 (eval $ac_compile) 2>conftest.er1
13399 ac_status=$?
13400 grep -v '^ *+' conftest.er1 >conftest.err
13401 rm -f conftest.er1
13402 cat conftest.err >&5
13403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13404 (exit $ac_status); } &&
13405 { ac_try='test -z "$ac_cxx_werror_flag"
13406 || test ! -s conftest.err'
13407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13408 (eval $ac_try) 2>&5
13409 ac_status=$?
13410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13411 (exit $ac_status); }; } &&
13412 { ac_try='test -s conftest.$ac_objext'
13413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13414 (eval $ac_try) 2>&5
13415 ac_status=$?
13416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13417 (exit $ac_status); }; }; then
13418 glibcxx_cv_func__fabsf_use=yes
13419 else
13420 echo "$as_me: failed program was:" >&5
13421 sed 's/^/| /' conftest.$ac_ext >&5
13423 glibcxx_cv_func__fabsf_use=no
13425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13426 ac_ext=c
13427 ac_cpp='$CPP $CPPFLAGS'
13428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13436 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
13437 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
13439 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
13441 for ac_func in _fabsf
13443 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13444 echo "$as_me:$LINENO: checking for $ac_func" >&5
13445 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13446 if eval "test \"\${$as_ac_var+set}\" = set"; then
13447 echo $ECHO_N "(cached) $ECHO_C" >&6
13448 else
13449 if test x$gcc_no_link = xyes; then
13450 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13451 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13452 { (exit 1); exit 1; }; }
13454 cat >conftest.$ac_ext <<_ACEOF
13455 /* confdefs.h. */
13456 _ACEOF
13457 cat confdefs.h >>conftest.$ac_ext
13458 cat >>conftest.$ac_ext <<_ACEOF
13459 /* end confdefs.h. */
13460 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13461 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13462 #define $ac_func innocuous_$ac_func
13464 /* System header to define __stub macros and hopefully few prototypes,
13465 which can conflict with char $ac_func (); below.
13466 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13467 <limits.h> exists even on freestanding compilers. */
13469 #ifdef __STDC__
13470 # include <limits.h>
13471 #else
13472 # include <assert.h>
13473 #endif
13475 #undef $ac_func
13477 /* Override any gcc2 internal prototype to avoid an error. */
13478 #ifdef __cplusplus
13479 extern "C"
13481 #endif
13482 /* We use char because int might match the return type of a gcc2
13483 builtin and then its argument prototype would still apply. */
13484 char $ac_func ();
13485 /* The GNU C library defines this for functions which it implements
13486 to always fail with ENOSYS. Some functions are actually named
13487 something starting with __ and the normal name is an alias. */
13488 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13489 choke me
13490 #else
13491 char (*f) () = $ac_func;
13492 #endif
13493 #ifdef __cplusplus
13495 #endif
13498 main ()
13500 return f != $ac_func;
13502 return 0;
13504 _ACEOF
13505 rm -f conftest.$ac_objext conftest$ac_exeext
13506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13507 (eval $ac_link) 2>conftest.er1
13508 ac_status=$?
13509 grep -v '^ *+' conftest.er1 >conftest.err
13510 rm -f conftest.er1
13511 cat conftest.err >&5
13512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13513 (exit $ac_status); } &&
13514 { ac_try='test -z "$ac_c_werror_flag"
13515 || test ! -s conftest.err'
13516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13517 (eval $ac_try) 2>&5
13518 ac_status=$?
13519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13520 (exit $ac_status); }; } &&
13521 { ac_try='test -s conftest$ac_exeext'
13522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13523 (eval $ac_try) 2>&5
13524 ac_status=$?
13525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13526 (exit $ac_status); }; }; then
13527 eval "$as_ac_var=yes"
13528 else
13529 echo "$as_me: failed program was:" >&5
13530 sed 's/^/| /' conftest.$ac_ext >&5
13532 eval "$as_ac_var=no"
13534 rm -f conftest.err conftest.$ac_objext \
13535 conftest$ac_exeext conftest.$ac_ext
13537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13538 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13539 if test `eval echo '${'$as_ac_var'}'` = yes; then
13540 cat >>confdefs.h <<_ACEOF
13541 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13542 _ACEOF
13545 done
13552 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
13553 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
13554 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
13555 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
13556 echo $ECHO_N "(cached) $ECHO_C" >&6
13557 else
13561 ac_ext=cc
13562 ac_cpp='$CXXCPP $CPPFLAGS'
13563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13567 cat >conftest.$ac_ext <<_ACEOF
13568 /* confdefs.h. */
13569 _ACEOF
13570 cat confdefs.h >>conftest.$ac_ext
13571 cat >>conftest.$ac_ext <<_ACEOF
13572 /* end confdefs.h. */
13573 #include <math.h>
13575 main ()
13577 fmodf(0, 0);
13579 return 0;
13581 _ACEOF
13582 rm -f conftest.$ac_objext
13583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13584 (eval $ac_compile) 2>conftest.er1
13585 ac_status=$?
13586 grep -v '^ *+' conftest.er1 >conftest.err
13587 rm -f conftest.er1
13588 cat conftest.err >&5
13589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13590 (exit $ac_status); } &&
13591 { ac_try='test -z "$ac_cxx_werror_flag"
13592 || test ! -s conftest.err'
13593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13594 (eval $ac_try) 2>&5
13595 ac_status=$?
13596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13597 (exit $ac_status); }; } &&
13598 { ac_try='test -s conftest.$ac_objext'
13599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13600 (eval $ac_try) 2>&5
13601 ac_status=$?
13602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13603 (exit $ac_status); }; }; then
13604 glibcxx_cv_func_fmodf_use=yes
13605 else
13606 echo "$as_me: failed program was:" >&5
13607 sed 's/^/| /' conftest.$ac_ext >&5
13609 glibcxx_cv_func_fmodf_use=no
13611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13612 ac_ext=c
13613 ac_cpp='$CPP $CPPFLAGS'
13614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13622 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
13623 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
13625 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
13627 for ac_func in fmodf
13629 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13630 echo "$as_me:$LINENO: checking for $ac_func" >&5
13631 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13632 if eval "test \"\${$as_ac_var+set}\" = set"; then
13633 echo $ECHO_N "(cached) $ECHO_C" >&6
13634 else
13635 if test x$gcc_no_link = xyes; then
13636 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13637 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13638 { (exit 1); exit 1; }; }
13640 cat >conftest.$ac_ext <<_ACEOF
13641 /* confdefs.h. */
13642 _ACEOF
13643 cat confdefs.h >>conftest.$ac_ext
13644 cat >>conftest.$ac_ext <<_ACEOF
13645 /* end confdefs.h. */
13646 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13647 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13648 #define $ac_func innocuous_$ac_func
13650 /* System header to define __stub macros and hopefully few prototypes,
13651 which can conflict with char $ac_func (); below.
13652 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13653 <limits.h> exists even on freestanding compilers. */
13655 #ifdef __STDC__
13656 # include <limits.h>
13657 #else
13658 # include <assert.h>
13659 #endif
13661 #undef $ac_func
13663 /* Override any gcc2 internal prototype to avoid an error. */
13664 #ifdef __cplusplus
13665 extern "C"
13667 #endif
13668 /* We use char because int might match the return type of a gcc2
13669 builtin and then its argument prototype would still apply. */
13670 char $ac_func ();
13671 /* The GNU C library defines this for functions which it implements
13672 to always fail with ENOSYS. Some functions are actually named
13673 something starting with __ and the normal name is an alias. */
13674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13675 choke me
13676 #else
13677 char (*f) () = $ac_func;
13678 #endif
13679 #ifdef __cplusplus
13681 #endif
13684 main ()
13686 return f != $ac_func;
13688 return 0;
13690 _ACEOF
13691 rm -f conftest.$ac_objext conftest$ac_exeext
13692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13693 (eval $ac_link) 2>conftest.er1
13694 ac_status=$?
13695 grep -v '^ *+' conftest.er1 >conftest.err
13696 rm -f conftest.er1
13697 cat conftest.err >&5
13698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13699 (exit $ac_status); } &&
13700 { ac_try='test -z "$ac_c_werror_flag"
13701 || test ! -s conftest.err'
13702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13703 (eval $ac_try) 2>&5
13704 ac_status=$?
13705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13706 (exit $ac_status); }; } &&
13707 { ac_try='test -s conftest$ac_exeext'
13708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13709 (eval $ac_try) 2>&5
13710 ac_status=$?
13711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13712 (exit $ac_status); }; }; then
13713 eval "$as_ac_var=yes"
13714 else
13715 echo "$as_me: failed program was:" >&5
13716 sed 's/^/| /' conftest.$ac_ext >&5
13718 eval "$as_ac_var=no"
13720 rm -f conftest.err conftest.$ac_objext \
13721 conftest$ac_exeext conftest.$ac_ext
13723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13725 if test `eval echo '${'$as_ac_var'}'` = yes; then
13726 cat >>confdefs.h <<_ACEOF
13727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13728 _ACEOF
13731 done
13733 else
13735 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
13736 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
13737 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
13738 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
13739 echo $ECHO_N "(cached) $ECHO_C" >&6
13740 else
13744 ac_ext=cc
13745 ac_cpp='$CXXCPP $CPPFLAGS'
13746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13750 cat >conftest.$ac_ext <<_ACEOF
13751 /* confdefs.h. */
13752 _ACEOF
13753 cat confdefs.h >>conftest.$ac_ext
13754 cat >>conftest.$ac_ext <<_ACEOF
13755 /* end confdefs.h. */
13756 #include <math.h>
13758 main ()
13760 _fmodf(0, 0);
13762 return 0;
13764 _ACEOF
13765 rm -f conftest.$ac_objext
13766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13767 (eval $ac_compile) 2>conftest.er1
13768 ac_status=$?
13769 grep -v '^ *+' conftest.er1 >conftest.err
13770 rm -f conftest.er1
13771 cat conftest.err >&5
13772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13773 (exit $ac_status); } &&
13774 { ac_try='test -z "$ac_cxx_werror_flag"
13775 || test ! -s conftest.err'
13776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13777 (eval $ac_try) 2>&5
13778 ac_status=$?
13779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13780 (exit $ac_status); }; } &&
13781 { ac_try='test -s conftest.$ac_objext'
13782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13783 (eval $ac_try) 2>&5
13784 ac_status=$?
13785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13786 (exit $ac_status); }; }; then
13787 glibcxx_cv_func__fmodf_use=yes
13788 else
13789 echo "$as_me: failed program was:" >&5
13790 sed 's/^/| /' conftest.$ac_ext >&5
13792 glibcxx_cv_func__fmodf_use=no
13794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13795 ac_ext=c
13796 ac_cpp='$CPP $CPPFLAGS'
13797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13805 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
13806 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
13808 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
13810 for ac_func in _fmodf
13812 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13813 echo "$as_me:$LINENO: checking for $ac_func" >&5
13814 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
13815 if eval "test \"\${$as_ac_var+set}\" = set"; then
13816 echo $ECHO_N "(cached) $ECHO_C" >&6
13817 else
13818 if test x$gcc_no_link = xyes; then
13819 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13820 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13821 { (exit 1); exit 1; }; }
13823 cat >conftest.$ac_ext <<_ACEOF
13824 /* confdefs.h. */
13825 _ACEOF
13826 cat confdefs.h >>conftest.$ac_ext
13827 cat >>conftest.$ac_ext <<_ACEOF
13828 /* end confdefs.h. */
13829 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
13830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
13831 #define $ac_func innocuous_$ac_func
13833 /* System header to define __stub macros and hopefully few prototypes,
13834 which can conflict with char $ac_func (); below.
13835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13836 <limits.h> exists even on freestanding compilers. */
13838 #ifdef __STDC__
13839 # include <limits.h>
13840 #else
13841 # include <assert.h>
13842 #endif
13844 #undef $ac_func
13846 /* Override any gcc2 internal prototype to avoid an error. */
13847 #ifdef __cplusplus
13848 extern "C"
13850 #endif
13851 /* We use char because int might match the return type of a gcc2
13852 builtin and then its argument prototype would still apply. */
13853 char $ac_func ();
13854 /* The GNU C library defines this for functions which it implements
13855 to always fail with ENOSYS. Some functions are actually named
13856 something starting with __ and the normal name is an alias. */
13857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13858 choke me
13859 #else
13860 char (*f) () = $ac_func;
13861 #endif
13862 #ifdef __cplusplus
13864 #endif
13867 main ()
13869 return f != $ac_func;
13871 return 0;
13873 _ACEOF
13874 rm -f conftest.$ac_objext conftest$ac_exeext
13875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13876 (eval $ac_link) 2>conftest.er1
13877 ac_status=$?
13878 grep -v '^ *+' conftest.er1 >conftest.err
13879 rm -f conftest.er1
13880 cat conftest.err >&5
13881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13882 (exit $ac_status); } &&
13883 { ac_try='test -z "$ac_c_werror_flag"
13884 || test ! -s conftest.err'
13885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13886 (eval $ac_try) 2>&5
13887 ac_status=$?
13888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13889 (exit $ac_status); }; } &&
13890 { ac_try='test -s conftest$ac_exeext'
13891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13892 (eval $ac_try) 2>&5
13893 ac_status=$?
13894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13895 (exit $ac_status); }; }; then
13896 eval "$as_ac_var=yes"
13897 else
13898 echo "$as_me: failed program was:" >&5
13899 sed 's/^/| /' conftest.$ac_ext >&5
13901 eval "$as_ac_var=no"
13903 rm -f conftest.err conftest.$ac_objext \
13904 conftest$ac_exeext conftest.$ac_ext
13906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
13907 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
13908 if test `eval echo '${'$as_ac_var'}'` = yes; then
13909 cat >>confdefs.h <<_ACEOF
13910 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
13911 _ACEOF
13914 done
13921 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
13922 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
13923 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
13924 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
13925 echo $ECHO_N "(cached) $ECHO_C" >&6
13926 else
13930 ac_ext=cc
13931 ac_cpp='$CXXCPP $CPPFLAGS'
13932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13936 cat >conftest.$ac_ext <<_ACEOF
13937 /* confdefs.h. */
13938 _ACEOF
13939 cat confdefs.h >>conftest.$ac_ext
13940 cat >>conftest.$ac_ext <<_ACEOF
13941 /* end confdefs.h. */
13942 #include <math.h>
13944 main ()
13946 frexpf(0, 0);
13948 return 0;
13950 _ACEOF
13951 rm -f conftest.$ac_objext
13952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13953 (eval $ac_compile) 2>conftest.er1
13954 ac_status=$?
13955 grep -v '^ *+' conftest.er1 >conftest.err
13956 rm -f conftest.er1
13957 cat conftest.err >&5
13958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13959 (exit $ac_status); } &&
13960 { ac_try='test -z "$ac_cxx_werror_flag"
13961 || test ! -s conftest.err'
13962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13963 (eval $ac_try) 2>&5
13964 ac_status=$?
13965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13966 (exit $ac_status); }; } &&
13967 { ac_try='test -s conftest.$ac_objext'
13968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13969 (eval $ac_try) 2>&5
13970 ac_status=$?
13971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13972 (exit $ac_status); }; }; then
13973 glibcxx_cv_func_frexpf_use=yes
13974 else
13975 echo "$as_me: failed program was:" >&5
13976 sed 's/^/| /' conftest.$ac_ext >&5
13978 glibcxx_cv_func_frexpf_use=no
13980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13981 ac_ext=c
13982 ac_cpp='$CPP $CPPFLAGS'
13983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13991 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
13992 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
13994 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
13996 for ac_func in frexpf
13998 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
13999 echo "$as_me:$LINENO: checking for $ac_func" >&5
14000 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14001 if eval "test \"\${$as_ac_var+set}\" = set"; then
14002 echo $ECHO_N "(cached) $ECHO_C" >&6
14003 else
14004 if test x$gcc_no_link = xyes; then
14005 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14006 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14007 { (exit 1); exit 1; }; }
14009 cat >conftest.$ac_ext <<_ACEOF
14010 /* confdefs.h. */
14011 _ACEOF
14012 cat confdefs.h >>conftest.$ac_ext
14013 cat >>conftest.$ac_ext <<_ACEOF
14014 /* end confdefs.h. */
14015 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14016 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14017 #define $ac_func innocuous_$ac_func
14019 /* System header to define __stub macros and hopefully few prototypes,
14020 which can conflict with char $ac_func (); below.
14021 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14022 <limits.h> exists even on freestanding compilers. */
14024 #ifdef __STDC__
14025 # include <limits.h>
14026 #else
14027 # include <assert.h>
14028 #endif
14030 #undef $ac_func
14032 /* Override any gcc2 internal prototype to avoid an error. */
14033 #ifdef __cplusplus
14034 extern "C"
14036 #endif
14037 /* We use char because int might match the return type of a gcc2
14038 builtin and then its argument prototype would still apply. */
14039 char $ac_func ();
14040 /* The GNU C library defines this for functions which it implements
14041 to always fail with ENOSYS. Some functions are actually named
14042 something starting with __ and the normal name is an alias. */
14043 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14044 choke me
14045 #else
14046 char (*f) () = $ac_func;
14047 #endif
14048 #ifdef __cplusplus
14050 #endif
14053 main ()
14055 return f != $ac_func;
14057 return 0;
14059 _ACEOF
14060 rm -f conftest.$ac_objext conftest$ac_exeext
14061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14062 (eval $ac_link) 2>conftest.er1
14063 ac_status=$?
14064 grep -v '^ *+' conftest.er1 >conftest.err
14065 rm -f conftest.er1
14066 cat conftest.err >&5
14067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14068 (exit $ac_status); } &&
14069 { ac_try='test -z "$ac_c_werror_flag"
14070 || test ! -s conftest.err'
14071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14072 (eval $ac_try) 2>&5
14073 ac_status=$?
14074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14075 (exit $ac_status); }; } &&
14076 { ac_try='test -s conftest$ac_exeext'
14077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14078 (eval $ac_try) 2>&5
14079 ac_status=$?
14080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14081 (exit $ac_status); }; }; then
14082 eval "$as_ac_var=yes"
14083 else
14084 echo "$as_me: failed program was:" >&5
14085 sed 's/^/| /' conftest.$ac_ext >&5
14087 eval "$as_ac_var=no"
14089 rm -f conftest.err conftest.$ac_objext \
14090 conftest$ac_exeext conftest.$ac_ext
14092 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14093 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14094 if test `eval echo '${'$as_ac_var'}'` = yes; then
14095 cat >>confdefs.h <<_ACEOF
14096 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14097 _ACEOF
14100 done
14102 else
14104 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
14105 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
14106 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
14107 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
14108 echo $ECHO_N "(cached) $ECHO_C" >&6
14109 else
14113 ac_ext=cc
14114 ac_cpp='$CXXCPP $CPPFLAGS'
14115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14119 cat >conftest.$ac_ext <<_ACEOF
14120 /* confdefs.h. */
14121 _ACEOF
14122 cat confdefs.h >>conftest.$ac_ext
14123 cat >>conftest.$ac_ext <<_ACEOF
14124 /* end confdefs.h. */
14125 #include <math.h>
14127 main ()
14129 _frexpf(0, 0);
14131 return 0;
14133 _ACEOF
14134 rm -f conftest.$ac_objext
14135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14136 (eval $ac_compile) 2>conftest.er1
14137 ac_status=$?
14138 grep -v '^ *+' conftest.er1 >conftest.err
14139 rm -f conftest.er1
14140 cat conftest.err >&5
14141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14142 (exit $ac_status); } &&
14143 { ac_try='test -z "$ac_cxx_werror_flag"
14144 || test ! -s conftest.err'
14145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14146 (eval $ac_try) 2>&5
14147 ac_status=$?
14148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14149 (exit $ac_status); }; } &&
14150 { ac_try='test -s conftest.$ac_objext'
14151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14152 (eval $ac_try) 2>&5
14153 ac_status=$?
14154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14155 (exit $ac_status); }; }; then
14156 glibcxx_cv_func__frexpf_use=yes
14157 else
14158 echo "$as_me: failed program was:" >&5
14159 sed 's/^/| /' conftest.$ac_ext >&5
14161 glibcxx_cv_func__frexpf_use=no
14163 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14164 ac_ext=c
14165 ac_cpp='$CPP $CPPFLAGS'
14166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14174 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
14175 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
14177 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
14179 for ac_func in _frexpf
14181 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14182 echo "$as_me:$LINENO: checking for $ac_func" >&5
14183 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14184 if eval "test \"\${$as_ac_var+set}\" = set"; then
14185 echo $ECHO_N "(cached) $ECHO_C" >&6
14186 else
14187 if test x$gcc_no_link = xyes; then
14188 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14189 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14190 { (exit 1); exit 1; }; }
14192 cat >conftest.$ac_ext <<_ACEOF
14193 /* confdefs.h. */
14194 _ACEOF
14195 cat confdefs.h >>conftest.$ac_ext
14196 cat >>conftest.$ac_ext <<_ACEOF
14197 /* end confdefs.h. */
14198 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14199 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14200 #define $ac_func innocuous_$ac_func
14202 /* System header to define __stub macros and hopefully few prototypes,
14203 which can conflict with char $ac_func (); below.
14204 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14205 <limits.h> exists even on freestanding compilers. */
14207 #ifdef __STDC__
14208 # include <limits.h>
14209 #else
14210 # include <assert.h>
14211 #endif
14213 #undef $ac_func
14215 /* Override any gcc2 internal prototype to avoid an error. */
14216 #ifdef __cplusplus
14217 extern "C"
14219 #endif
14220 /* We use char because int might match the return type of a gcc2
14221 builtin and then its argument prototype would still apply. */
14222 char $ac_func ();
14223 /* The GNU C library defines this for functions which it implements
14224 to always fail with ENOSYS. Some functions are actually named
14225 something starting with __ and the normal name is an alias. */
14226 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14227 choke me
14228 #else
14229 char (*f) () = $ac_func;
14230 #endif
14231 #ifdef __cplusplus
14233 #endif
14236 main ()
14238 return f != $ac_func;
14240 return 0;
14242 _ACEOF
14243 rm -f conftest.$ac_objext conftest$ac_exeext
14244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14245 (eval $ac_link) 2>conftest.er1
14246 ac_status=$?
14247 grep -v '^ *+' conftest.er1 >conftest.err
14248 rm -f conftest.er1
14249 cat conftest.err >&5
14250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14251 (exit $ac_status); } &&
14252 { ac_try='test -z "$ac_c_werror_flag"
14253 || test ! -s conftest.err'
14254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14255 (eval $ac_try) 2>&5
14256 ac_status=$?
14257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14258 (exit $ac_status); }; } &&
14259 { ac_try='test -s conftest$ac_exeext'
14260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14261 (eval $ac_try) 2>&5
14262 ac_status=$?
14263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14264 (exit $ac_status); }; }; then
14265 eval "$as_ac_var=yes"
14266 else
14267 echo "$as_me: failed program was:" >&5
14268 sed 's/^/| /' conftest.$ac_ext >&5
14270 eval "$as_ac_var=no"
14272 rm -f conftest.err conftest.$ac_objext \
14273 conftest$ac_exeext conftest.$ac_ext
14275 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14276 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14277 if test `eval echo '${'$as_ac_var'}'` = yes; then
14278 cat >>confdefs.h <<_ACEOF
14279 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14280 _ACEOF
14283 done
14290 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
14291 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
14292 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
14293 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
14294 echo $ECHO_N "(cached) $ECHO_C" >&6
14295 else
14299 ac_ext=cc
14300 ac_cpp='$CXXCPP $CPPFLAGS'
14301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14305 cat >conftest.$ac_ext <<_ACEOF
14306 /* confdefs.h. */
14307 _ACEOF
14308 cat confdefs.h >>conftest.$ac_ext
14309 cat >>conftest.$ac_ext <<_ACEOF
14310 /* end confdefs.h. */
14311 #include <math.h>
14313 main ()
14315 hypotf(0, 0);
14317 return 0;
14319 _ACEOF
14320 rm -f conftest.$ac_objext
14321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14322 (eval $ac_compile) 2>conftest.er1
14323 ac_status=$?
14324 grep -v '^ *+' conftest.er1 >conftest.err
14325 rm -f conftest.er1
14326 cat conftest.err >&5
14327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14328 (exit $ac_status); } &&
14329 { ac_try='test -z "$ac_cxx_werror_flag"
14330 || test ! -s conftest.err'
14331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14332 (eval $ac_try) 2>&5
14333 ac_status=$?
14334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14335 (exit $ac_status); }; } &&
14336 { ac_try='test -s conftest.$ac_objext'
14337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14338 (eval $ac_try) 2>&5
14339 ac_status=$?
14340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14341 (exit $ac_status); }; }; then
14342 glibcxx_cv_func_hypotf_use=yes
14343 else
14344 echo "$as_me: failed program was:" >&5
14345 sed 's/^/| /' conftest.$ac_ext >&5
14347 glibcxx_cv_func_hypotf_use=no
14349 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14350 ac_ext=c
14351 ac_cpp='$CPP $CPPFLAGS'
14352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14360 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
14361 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
14363 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
14365 for ac_func in hypotf
14367 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14368 echo "$as_me:$LINENO: checking for $ac_func" >&5
14369 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14370 if eval "test \"\${$as_ac_var+set}\" = set"; then
14371 echo $ECHO_N "(cached) $ECHO_C" >&6
14372 else
14373 if test x$gcc_no_link = xyes; then
14374 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14375 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14376 { (exit 1); exit 1; }; }
14378 cat >conftest.$ac_ext <<_ACEOF
14379 /* confdefs.h. */
14380 _ACEOF
14381 cat confdefs.h >>conftest.$ac_ext
14382 cat >>conftest.$ac_ext <<_ACEOF
14383 /* end confdefs.h. */
14384 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14385 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14386 #define $ac_func innocuous_$ac_func
14388 /* System header to define __stub macros and hopefully few prototypes,
14389 which can conflict with char $ac_func (); below.
14390 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14391 <limits.h> exists even on freestanding compilers. */
14393 #ifdef __STDC__
14394 # include <limits.h>
14395 #else
14396 # include <assert.h>
14397 #endif
14399 #undef $ac_func
14401 /* Override any gcc2 internal prototype to avoid an error. */
14402 #ifdef __cplusplus
14403 extern "C"
14405 #endif
14406 /* We use char because int might match the return type of a gcc2
14407 builtin and then its argument prototype would still apply. */
14408 char $ac_func ();
14409 /* The GNU C library defines this for functions which it implements
14410 to always fail with ENOSYS. Some functions are actually named
14411 something starting with __ and the normal name is an alias. */
14412 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14413 choke me
14414 #else
14415 char (*f) () = $ac_func;
14416 #endif
14417 #ifdef __cplusplus
14419 #endif
14422 main ()
14424 return f != $ac_func;
14426 return 0;
14428 _ACEOF
14429 rm -f conftest.$ac_objext conftest$ac_exeext
14430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14431 (eval $ac_link) 2>conftest.er1
14432 ac_status=$?
14433 grep -v '^ *+' conftest.er1 >conftest.err
14434 rm -f conftest.er1
14435 cat conftest.err >&5
14436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14437 (exit $ac_status); } &&
14438 { ac_try='test -z "$ac_c_werror_flag"
14439 || test ! -s conftest.err'
14440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14441 (eval $ac_try) 2>&5
14442 ac_status=$?
14443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14444 (exit $ac_status); }; } &&
14445 { ac_try='test -s conftest$ac_exeext'
14446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14447 (eval $ac_try) 2>&5
14448 ac_status=$?
14449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14450 (exit $ac_status); }; }; then
14451 eval "$as_ac_var=yes"
14452 else
14453 echo "$as_me: failed program was:" >&5
14454 sed 's/^/| /' conftest.$ac_ext >&5
14456 eval "$as_ac_var=no"
14458 rm -f conftest.err conftest.$ac_objext \
14459 conftest$ac_exeext conftest.$ac_ext
14461 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14462 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14463 if test `eval echo '${'$as_ac_var'}'` = yes; then
14464 cat >>confdefs.h <<_ACEOF
14465 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14466 _ACEOF
14469 done
14471 else
14473 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
14474 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
14475 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
14476 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
14477 echo $ECHO_N "(cached) $ECHO_C" >&6
14478 else
14482 ac_ext=cc
14483 ac_cpp='$CXXCPP $CPPFLAGS'
14484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14488 cat >conftest.$ac_ext <<_ACEOF
14489 /* confdefs.h. */
14490 _ACEOF
14491 cat confdefs.h >>conftest.$ac_ext
14492 cat >>conftest.$ac_ext <<_ACEOF
14493 /* end confdefs.h. */
14494 #include <math.h>
14496 main ()
14498 _hypotf(0, 0);
14500 return 0;
14502 _ACEOF
14503 rm -f conftest.$ac_objext
14504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14505 (eval $ac_compile) 2>conftest.er1
14506 ac_status=$?
14507 grep -v '^ *+' conftest.er1 >conftest.err
14508 rm -f conftest.er1
14509 cat conftest.err >&5
14510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14511 (exit $ac_status); } &&
14512 { ac_try='test -z "$ac_cxx_werror_flag"
14513 || test ! -s conftest.err'
14514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14515 (eval $ac_try) 2>&5
14516 ac_status=$?
14517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14518 (exit $ac_status); }; } &&
14519 { ac_try='test -s conftest.$ac_objext'
14520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14521 (eval $ac_try) 2>&5
14522 ac_status=$?
14523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14524 (exit $ac_status); }; }; then
14525 glibcxx_cv_func__hypotf_use=yes
14526 else
14527 echo "$as_me: failed program was:" >&5
14528 sed 's/^/| /' conftest.$ac_ext >&5
14530 glibcxx_cv_func__hypotf_use=no
14532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14533 ac_ext=c
14534 ac_cpp='$CPP $CPPFLAGS'
14535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14543 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
14544 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
14546 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
14548 for ac_func in _hypotf
14550 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14551 echo "$as_me:$LINENO: checking for $ac_func" >&5
14552 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14553 if eval "test \"\${$as_ac_var+set}\" = set"; then
14554 echo $ECHO_N "(cached) $ECHO_C" >&6
14555 else
14556 if test x$gcc_no_link = xyes; then
14557 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14558 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14559 { (exit 1); exit 1; }; }
14561 cat >conftest.$ac_ext <<_ACEOF
14562 /* confdefs.h. */
14563 _ACEOF
14564 cat confdefs.h >>conftest.$ac_ext
14565 cat >>conftest.$ac_ext <<_ACEOF
14566 /* end confdefs.h. */
14567 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14568 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14569 #define $ac_func innocuous_$ac_func
14571 /* System header to define __stub macros and hopefully few prototypes,
14572 which can conflict with char $ac_func (); below.
14573 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14574 <limits.h> exists even on freestanding compilers. */
14576 #ifdef __STDC__
14577 # include <limits.h>
14578 #else
14579 # include <assert.h>
14580 #endif
14582 #undef $ac_func
14584 /* Override any gcc2 internal prototype to avoid an error. */
14585 #ifdef __cplusplus
14586 extern "C"
14588 #endif
14589 /* We use char because int might match the return type of a gcc2
14590 builtin and then its argument prototype would still apply. */
14591 char $ac_func ();
14592 /* The GNU C library defines this for functions which it implements
14593 to always fail with ENOSYS. Some functions are actually named
14594 something starting with __ and the normal name is an alias. */
14595 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14596 choke me
14597 #else
14598 char (*f) () = $ac_func;
14599 #endif
14600 #ifdef __cplusplus
14602 #endif
14605 main ()
14607 return f != $ac_func;
14609 return 0;
14611 _ACEOF
14612 rm -f conftest.$ac_objext conftest$ac_exeext
14613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14614 (eval $ac_link) 2>conftest.er1
14615 ac_status=$?
14616 grep -v '^ *+' conftest.er1 >conftest.err
14617 rm -f conftest.er1
14618 cat conftest.err >&5
14619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14620 (exit $ac_status); } &&
14621 { ac_try='test -z "$ac_c_werror_flag"
14622 || test ! -s conftest.err'
14623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14624 (eval $ac_try) 2>&5
14625 ac_status=$?
14626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14627 (exit $ac_status); }; } &&
14628 { ac_try='test -s conftest$ac_exeext'
14629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14630 (eval $ac_try) 2>&5
14631 ac_status=$?
14632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14633 (exit $ac_status); }; }; then
14634 eval "$as_ac_var=yes"
14635 else
14636 echo "$as_me: failed program was:" >&5
14637 sed 's/^/| /' conftest.$ac_ext >&5
14639 eval "$as_ac_var=no"
14641 rm -f conftest.err conftest.$ac_objext \
14642 conftest$ac_exeext conftest.$ac_ext
14644 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14645 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14646 if test `eval echo '${'$as_ac_var'}'` = yes; then
14647 cat >>confdefs.h <<_ACEOF
14648 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14649 _ACEOF
14652 done
14659 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
14660 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
14661 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
14662 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
14663 echo $ECHO_N "(cached) $ECHO_C" >&6
14664 else
14668 ac_ext=cc
14669 ac_cpp='$CXXCPP $CPPFLAGS'
14670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14674 cat >conftest.$ac_ext <<_ACEOF
14675 /* confdefs.h. */
14676 _ACEOF
14677 cat confdefs.h >>conftest.$ac_ext
14678 cat >>conftest.$ac_ext <<_ACEOF
14679 /* end confdefs.h. */
14680 #include <math.h>
14682 main ()
14684 ldexpf(0, 0);
14686 return 0;
14688 _ACEOF
14689 rm -f conftest.$ac_objext
14690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14691 (eval $ac_compile) 2>conftest.er1
14692 ac_status=$?
14693 grep -v '^ *+' conftest.er1 >conftest.err
14694 rm -f conftest.er1
14695 cat conftest.err >&5
14696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14697 (exit $ac_status); } &&
14698 { ac_try='test -z "$ac_cxx_werror_flag"
14699 || test ! -s conftest.err'
14700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14701 (eval $ac_try) 2>&5
14702 ac_status=$?
14703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14704 (exit $ac_status); }; } &&
14705 { ac_try='test -s conftest.$ac_objext'
14706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14707 (eval $ac_try) 2>&5
14708 ac_status=$?
14709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14710 (exit $ac_status); }; }; then
14711 glibcxx_cv_func_ldexpf_use=yes
14712 else
14713 echo "$as_me: failed program was:" >&5
14714 sed 's/^/| /' conftest.$ac_ext >&5
14716 glibcxx_cv_func_ldexpf_use=no
14718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14719 ac_ext=c
14720 ac_cpp='$CPP $CPPFLAGS'
14721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14729 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
14730 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
14732 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
14734 for ac_func in ldexpf
14736 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14737 echo "$as_me:$LINENO: checking for $ac_func" >&5
14738 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14739 if eval "test \"\${$as_ac_var+set}\" = set"; then
14740 echo $ECHO_N "(cached) $ECHO_C" >&6
14741 else
14742 if test x$gcc_no_link = xyes; then
14743 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14744 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14745 { (exit 1); exit 1; }; }
14747 cat >conftest.$ac_ext <<_ACEOF
14748 /* confdefs.h. */
14749 _ACEOF
14750 cat confdefs.h >>conftest.$ac_ext
14751 cat >>conftest.$ac_ext <<_ACEOF
14752 /* end confdefs.h. */
14753 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14754 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14755 #define $ac_func innocuous_$ac_func
14757 /* System header to define __stub macros and hopefully few prototypes,
14758 which can conflict with char $ac_func (); below.
14759 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14760 <limits.h> exists even on freestanding compilers. */
14762 #ifdef __STDC__
14763 # include <limits.h>
14764 #else
14765 # include <assert.h>
14766 #endif
14768 #undef $ac_func
14770 /* Override any gcc2 internal prototype to avoid an error. */
14771 #ifdef __cplusplus
14772 extern "C"
14774 #endif
14775 /* We use char because int might match the return type of a gcc2
14776 builtin and then its argument prototype would still apply. */
14777 char $ac_func ();
14778 /* The GNU C library defines this for functions which it implements
14779 to always fail with ENOSYS. Some functions are actually named
14780 something starting with __ and the normal name is an alias. */
14781 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14782 choke me
14783 #else
14784 char (*f) () = $ac_func;
14785 #endif
14786 #ifdef __cplusplus
14788 #endif
14791 main ()
14793 return f != $ac_func;
14795 return 0;
14797 _ACEOF
14798 rm -f conftest.$ac_objext conftest$ac_exeext
14799 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14800 (eval $ac_link) 2>conftest.er1
14801 ac_status=$?
14802 grep -v '^ *+' conftest.er1 >conftest.err
14803 rm -f conftest.er1
14804 cat conftest.err >&5
14805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14806 (exit $ac_status); } &&
14807 { ac_try='test -z "$ac_c_werror_flag"
14808 || test ! -s conftest.err'
14809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14810 (eval $ac_try) 2>&5
14811 ac_status=$?
14812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14813 (exit $ac_status); }; } &&
14814 { ac_try='test -s conftest$ac_exeext'
14815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14816 (eval $ac_try) 2>&5
14817 ac_status=$?
14818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14819 (exit $ac_status); }; }; then
14820 eval "$as_ac_var=yes"
14821 else
14822 echo "$as_me: failed program was:" >&5
14823 sed 's/^/| /' conftest.$ac_ext >&5
14825 eval "$as_ac_var=no"
14827 rm -f conftest.err conftest.$ac_objext \
14828 conftest$ac_exeext conftest.$ac_ext
14830 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
14831 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
14832 if test `eval echo '${'$as_ac_var'}'` = yes; then
14833 cat >>confdefs.h <<_ACEOF
14834 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
14835 _ACEOF
14838 done
14840 else
14842 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
14843 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
14844 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
14845 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
14846 echo $ECHO_N "(cached) $ECHO_C" >&6
14847 else
14851 ac_ext=cc
14852 ac_cpp='$CXXCPP $CPPFLAGS'
14853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14857 cat >conftest.$ac_ext <<_ACEOF
14858 /* confdefs.h. */
14859 _ACEOF
14860 cat confdefs.h >>conftest.$ac_ext
14861 cat >>conftest.$ac_ext <<_ACEOF
14862 /* end confdefs.h. */
14863 #include <math.h>
14865 main ()
14867 _ldexpf(0, 0);
14869 return 0;
14871 _ACEOF
14872 rm -f conftest.$ac_objext
14873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14874 (eval $ac_compile) 2>conftest.er1
14875 ac_status=$?
14876 grep -v '^ *+' conftest.er1 >conftest.err
14877 rm -f conftest.er1
14878 cat conftest.err >&5
14879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14880 (exit $ac_status); } &&
14881 { ac_try='test -z "$ac_cxx_werror_flag"
14882 || test ! -s conftest.err'
14883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14884 (eval $ac_try) 2>&5
14885 ac_status=$?
14886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14887 (exit $ac_status); }; } &&
14888 { ac_try='test -s conftest.$ac_objext'
14889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14890 (eval $ac_try) 2>&5
14891 ac_status=$?
14892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14893 (exit $ac_status); }; }; then
14894 glibcxx_cv_func__ldexpf_use=yes
14895 else
14896 echo "$as_me: failed program was:" >&5
14897 sed 's/^/| /' conftest.$ac_ext >&5
14899 glibcxx_cv_func__ldexpf_use=no
14901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14902 ac_ext=c
14903 ac_cpp='$CPP $CPPFLAGS'
14904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14912 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
14913 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
14915 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
14917 for ac_func in _ldexpf
14919 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
14920 echo "$as_me:$LINENO: checking for $ac_func" >&5
14921 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
14922 if eval "test \"\${$as_ac_var+set}\" = set"; then
14923 echo $ECHO_N "(cached) $ECHO_C" >&6
14924 else
14925 if test x$gcc_no_link = xyes; then
14926 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14927 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14928 { (exit 1); exit 1; }; }
14930 cat >conftest.$ac_ext <<_ACEOF
14931 /* confdefs.h. */
14932 _ACEOF
14933 cat confdefs.h >>conftest.$ac_ext
14934 cat >>conftest.$ac_ext <<_ACEOF
14935 /* end confdefs.h. */
14936 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
14937 For example, HP-UX 11i <limits.h> declares gettimeofday. */
14938 #define $ac_func innocuous_$ac_func
14940 /* System header to define __stub macros and hopefully few prototypes,
14941 which can conflict with char $ac_func (); below.
14942 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14943 <limits.h> exists even on freestanding compilers. */
14945 #ifdef __STDC__
14946 # include <limits.h>
14947 #else
14948 # include <assert.h>
14949 #endif
14951 #undef $ac_func
14953 /* Override any gcc2 internal prototype to avoid an error. */
14954 #ifdef __cplusplus
14955 extern "C"
14957 #endif
14958 /* We use char because int might match the return type of a gcc2
14959 builtin and then its argument prototype would still apply. */
14960 char $ac_func ();
14961 /* The GNU C library defines this for functions which it implements
14962 to always fail with ENOSYS. Some functions are actually named
14963 something starting with __ and the normal name is an alias. */
14964 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14965 choke me
14966 #else
14967 char (*f) () = $ac_func;
14968 #endif
14969 #ifdef __cplusplus
14971 #endif
14974 main ()
14976 return f != $ac_func;
14978 return 0;
14980 _ACEOF
14981 rm -f conftest.$ac_objext conftest$ac_exeext
14982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14983 (eval $ac_link) 2>conftest.er1
14984 ac_status=$?
14985 grep -v '^ *+' conftest.er1 >conftest.err
14986 rm -f conftest.er1
14987 cat conftest.err >&5
14988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14989 (exit $ac_status); } &&
14990 { ac_try='test -z "$ac_c_werror_flag"
14991 || test ! -s conftest.err'
14992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14993 (eval $ac_try) 2>&5
14994 ac_status=$?
14995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14996 (exit $ac_status); }; } &&
14997 { ac_try='test -s conftest$ac_exeext'
14998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14999 (eval $ac_try) 2>&5
15000 ac_status=$?
15001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15002 (exit $ac_status); }; }; then
15003 eval "$as_ac_var=yes"
15004 else
15005 echo "$as_me: failed program was:" >&5
15006 sed 's/^/| /' conftest.$ac_ext >&5
15008 eval "$as_ac_var=no"
15010 rm -f conftest.err conftest.$ac_objext \
15011 conftest$ac_exeext conftest.$ac_ext
15013 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15014 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15015 if test `eval echo '${'$as_ac_var'}'` = yes; then
15016 cat >>confdefs.h <<_ACEOF
15017 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15018 _ACEOF
15021 done
15028 echo "$as_me:$LINENO: checking for logf declaration" >&5
15029 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
15030 if test x${glibcxx_cv_func_logf_use+set} != xset; then
15031 if test "${glibcxx_cv_func_logf_use+set}" = set; then
15032 echo $ECHO_N "(cached) $ECHO_C" >&6
15033 else
15037 ac_ext=cc
15038 ac_cpp='$CXXCPP $CPPFLAGS'
15039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15043 cat >conftest.$ac_ext <<_ACEOF
15044 /* confdefs.h. */
15045 _ACEOF
15046 cat confdefs.h >>conftest.$ac_ext
15047 cat >>conftest.$ac_ext <<_ACEOF
15048 /* end confdefs.h. */
15049 #include <math.h>
15050 #ifdef HAVE_IEEEFP_H
15051 #include <ieeefp.h>
15052 #endif
15055 main ()
15057 logf(0);
15059 return 0;
15061 _ACEOF
15062 rm -f conftest.$ac_objext
15063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15064 (eval $ac_compile) 2>conftest.er1
15065 ac_status=$?
15066 grep -v '^ *+' conftest.er1 >conftest.err
15067 rm -f conftest.er1
15068 cat conftest.err >&5
15069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15070 (exit $ac_status); } &&
15071 { ac_try='test -z "$ac_cxx_werror_flag"
15072 || test ! -s conftest.err'
15073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15074 (eval $ac_try) 2>&5
15075 ac_status=$?
15076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15077 (exit $ac_status); }; } &&
15078 { ac_try='test -s conftest.$ac_objext'
15079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15080 (eval $ac_try) 2>&5
15081 ac_status=$?
15082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15083 (exit $ac_status); }; }; then
15084 glibcxx_cv_func_logf_use=yes
15085 else
15086 echo "$as_me: failed program was:" >&5
15087 sed 's/^/| /' conftest.$ac_ext >&5
15089 glibcxx_cv_func_logf_use=no
15091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15092 ac_ext=c
15093 ac_cpp='$CPP $CPPFLAGS'
15094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15102 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
15103 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
15105 if test x$glibcxx_cv_func_logf_use = x"yes"; then
15107 for ac_func in logf
15109 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15110 echo "$as_me:$LINENO: checking for $ac_func" >&5
15111 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15112 if eval "test \"\${$as_ac_var+set}\" = set"; then
15113 echo $ECHO_N "(cached) $ECHO_C" >&6
15114 else
15115 if test x$gcc_no_link = xyes; then
15116 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15117 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15118 { (exit 1); exit 1; }; }
15120 cat >conftest.$ac_ext <<_ACEOF
15121 /* confdefs.h. */
15122 _ACEOF
15123 cat confdefs.h >>conftest.$ac_ext
15124 cat >>conftest.$ac_ext <<_ACEOF
15125 /* end confdefs.h. */
15126 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15127 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15128 #define $ac_func innocuous_$ac_func
15130 /* System header to define __stub macros and hopefully few prototypes,
15131 which can conflict with char $ac_func (); below.
15132 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15133 <limits.h> exists even on freestanding compilers. */
15135 #ifdef __STDC__
15136 # include <limits.h>
15137 #else
15138 # include <assert.h>
15139 #endif
15141 #undef $ac_func
15143 /* Override any gcc2 internal prototype to avoid an error. */
15144 #ifdef __cplusplus
15145 extern "C"
15147 #endif
15148 /* We use char because int might match the return type of a gcc2
15149 builtin and then its argument prototype would still apply. */
15150 char $ac_func ();
15151 /* The GNU C library defines this for functions which it implements
15152 to always fail with ENOSYS. Some functions are actually named
15153 something starting with __ and the normal name is an alias. */
15154 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15155 choke me
15156 #else
15157 char (*f) () = $ac_func;
15158 #endif
15159 #ifdef __cplusplus
15161 #endif
15164 main ()
15166 return f != $ac_func;
15168 return 0;
15170 _ACEOF
15171 rm -f conftest.$ac_objext conftest$ac_exeext
15172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15173 (eval $ac_link) 2>conftest.er1
15174 ac_status=$?
15175 grep -v '^ *+' conftest.er1 >conftest.err
15176 rm -f conftest.er1
15177 cat conftest.err >&5
15178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15179 (exit $ac_status); } &&
15180 { ac_try='test -z "$ac_c_werror_flag"
15181 || test ! -s conftest.err'
15182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15183 (eval $ac_try) 2>&5
15184 ac_status=$?
15185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15186 (exit $ac_status); }; } &&
15187 { ac_try='test -s conftest$ac_exeext'
15188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15189 (eval $ac_try) 2>&5
15190 ac_status=$?
15191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15192 (exit $ac_status); }; }; then
15193 eval "$as_ac_var=yes"
15194 else
15195 echo "$as_me: failed program was:" >&5
15196 sed 's/^/| /' conftest.$ac_ext >&5
15198 eval "$as_ac_var=no"
15200 rm -f conftest.err conftest.$ac_objext \
15201 conftest$ac_exeext conftest.$ac_ext
15203 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15204 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15205 if test `eval echo '${'$as_ac_var'}'` = yes; then
15206 cat >>confdefs.h <<_ACEOF
15207 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15208 _ACEOF
15211 done
15213 else
15215 echo "$as_me:$LINENO: checking for _logf declaration" >&5
15216 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
15217 if test x${glibcxx_cv_func__logf_use+set} != xset; then
15218 if test "${glibcxx_cv_func__logf_use+set}" = set; then
15219 echo $ECHO_N "(cached) $ECHO_C" >&6
15220 else
15224 ac_ext=cc
15225 ac_cpp='$CXXCPP $CPPFLAGS'
15226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15230 cat >conftest.$ac_ext <<_ACEOF
15231 /* confdefs.h. */
15232 _ACEOF
15233 cat confdefs.h >>conftest.$ac_ext
15234 cat >>conftest.$ac_ext <<_ACEOF
15235 /* end confdefs.h. */
15236 #include <math.h>
15237 #ifdef HAVE_IEEEFP_H
15238 #include <ieeefp.h>
15239 #endif
15242 main ()
15244 _logf(0);
15246 return 0;
15248 _ACEOF
15249 rm -f conftest.$ac_objext
15250 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15251 (eval $ac_compile) 2>conftest.er1
15252 ac_status=$?
15253 grep -v '^ *+' conftest.er1 >conftest.err
15254 rm -f conftest.er1
15255 cat conftest.err >&5
15256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15257 (exit $ac_status); } &&
15258 { ac_try='test -z "$ac_cxx_werror_flag"
15259 || test ! -s conftest.err'
15260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15261 (eval $ac_try) 2>&5
15262 ac_status=$?
15263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15264 (exit $ac_status); }; } &&
15265 { ac_try='test -s conftest.$ac_objext'
15266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15267 (eval $ac_try) 2>&5
15268 ac_status=$?
15269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15270 (exit $ac_status); }; }; then
15271 glibcxx_cv_func__logf_use=yes
15272 else
15273 echo "$as_me: failed program was:" >&5
15274 sed 's/^/| /' conftest.$ac_ext >&5
15276 glibcxx_cv_func__logf_use=no
15278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15279 ac_ext=c
15280 ac_cpp='$CPP $CPPFLAGS'
15281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15289 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
15290 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
15292 if test x$glibcxx_cv_func__logf_use = x"yes"; then
15294 for ac_func in _logf
15296 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15297 echo "$as_me:$LINENO: checking for $ac_func" >&5
15298 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15299 if eval "test \"\${$as_ac_var+set}\" = set"; then
15300 echo $ECHO_N "(cached) $ECHO_C" >&6
15301 else
15302 if test x$gcc_no_link = xyes; then
15303 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15304 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15305 { (exit 1); exit 1; }; }
15307 cat >conftest.$ac_ext <<_ACEOF
15308 /* confdefs.h. */
15309 _ACEOF
15310 cat confdefs.h >>conftest.$ac_ext
15311 cat >>conftest.$ac_ext <<_ACEOF
15312 /* end confdefs.h. */
15313 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15314 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15315 #define $ac_func innocuous_$ac_func
15317 /* System header to define __stub macros and hopefully few prototypes,
15318 which can conflict with char $ac_func (); below.
15319 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15320 <limits.h> exists even on freestanding compilers. */
15322 #ifdef __STDC__
15323 # include <limits.h>
15324 #else
15325 # include <assert.h>
15326 #endif
15328 #undef $ac_func
15330 /* Override any gcc2 internal prototype to avoid an error. */
15331 #ifdef __cplusplus
15332 extern "C"
15334 #endif
15335 /* We use char because int might match the return type of a gcc2
15336 builtin and then its argument prototype would still apply. */
15337 char $ac_func ();
15338 /* The GNU C library defines this for functions which it implements
15339 to always fail with ENOSYS. Some functions are actually named
15340 something starting with __ and the normal name is an alias. */
15341 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15342 choke me
15343 #else
15344 char (*f) () = $ac_func;
15345 #endif
15346 #ifdef __cplusplus
15348 #endif
15351 main ()
15353 return f != $ac_func;
15355 return 0;
15357 _ACEOF
15358 rm -f conftest.$ac_objext conftest$ac_exeext
15359 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15360 (eval $ac_link) 2>conftest.er1
15361 ac_status=$?
15362 grep -v '^ *+' conftest.er1 >conftest.err
15363 rm -f conftest.er1
15364 cat conftest.err >&5
15365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15366 (exit $ac_status); } &&
15367 { ac_try='test -z "$ac_c_werror_flag"
15368 || test ! -s conftest.err'
15369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15370 (eval $ac_try) 2>&5
15371 ac_status=$?
15372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15373 (exit $ac_status); }; } &&
15374 { ac_try='test -s conftest$ac_exeext'
15375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15376 (eval $ac_try) 2>&5
15377 ac_status=$?
15378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15379 (exit $ac_status); }; }; then
15380 eval "$as_ac_var=yes"
15381 else
15382 echo "$as_me: failed program was:" >&5
15383 sed 's/^/| /' conftest.$ac_ext >&5
15385 eval "$as_ac_var=no"
15387 rm -f conftest.err conftest.$ac_objext \
15388 conftest$ac_exeext conftest.$ac_ext
15390 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15391 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15392 if test `eval echo '${'$as_ac_var'}'` = yes; then
15393 cat >>confdefs.h <<_ACEOF
15394 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15395 _ACEOF
15398 done
15405 echo "$as_me:$LINENO: checking for log10f declaration" >&5
15406 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
15407 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
15408 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
15409 echo $ECHO_N "(cached) $ECHO_C" >&6
15410 else
15414 ac_ext=cc
15415 ac_cpp='$CXXCPP $CPPFLAGS'
15416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15420 cat >conftest.$ac_ext <<_ACEOF
15421 /* confdefs.h. */
15422 _ACEOF
15423 cat confdefs.h >>conftest.$ac_ext
15424 cat >>conftest.$ac_ext <<_ACEOF
15425 /* end confdefs.h. */
15426 #include <math.h>
15427 #ifdef HAVE_IEEEFP_H
15428 #include <ieeefp.h>
15429 #endif
15432 main ()
15434 log10f(0);
15436 return 0;
15438 _ACEOF
15439 rm -f conftest.$ac_objext
15440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15441 (eval $ac_compile) 2>conftest.er1
15442 ac_status=$?
15443 grep -v '^ *+' conftest.er1 >conftest.err
15444 rm -f conftest.er1
15445 cat conftest.err >&5
15446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15447 (exit $ac_status); } &&
15448 { ac_try='test -z "$ac_cxx_werror_flag"
15449 || test ! -s conftest.err'
15450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15451 (eval $ac_try) 2>&5
15452 ac_status=$?
15453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15454 (exit $ac_status); }; } &&
15455 { ac_try='test -s conftest.$ac_objext'
15456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15457 (eval $ac_try) 2>&5
15458 ac_status=$?
15459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15460 (exit $ac_status); }; }; then
15461 glibcxx_cv_func_log10f_use=yes
15462 else
15463 echo "$as_me: failed program was:" >&5
15464 sed 's/^/| /' conftest.$ac_ext >&5
15466 glibcxx_cv_func_log10f_use=no
15468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15469 ac_ext=c
15470 ac_cpp='$CPP $CPPFLAGS'
15471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15479 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
15480 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
15482 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
15484 for ac_func in log10f
15486 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15487 echo "$as_me:$LINENO: checking for $ac_func" >&5
15488 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15489 if eval "test \"\${$as_ac_var+set}\" = set"; then
15490 echo $ECHO_N "(cached) $ECHO_C" >&6
15491 else
15492 if test x$gcc_no_link = xyes; then
15493 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15494 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15495 { (exit 1); exit 1; }; }
15497 cat >conftest.$ac_ext <<_ACEOF
15498 /* confdefs.h. */
15499 _ACEOF
15500 cat confdefs.h >>conftest.$ac_ext
15501 cat >>conftest.$ac_ext <<_ACEOF
15502 /* end confdefs.h. */
15503 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15504 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15505 #define $ac_func innocuous_$ac_func
15507 /* System header to define __stub macros and hopefully few prototypes,
15508 which can conflict with char $ac_func (); below.
15509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15510 <limits.h> exists even on freestanding compilers. */
15512 #ifdef __STDC__
15513 # include <limits.h>
15514 #else
15515 # include <assert.h>
15516 #endif
15518 #undef $ac_func
15520 /* Override any gcc2 internal prototype to avoid an error. */
15521 #ifdef __cplusplus
15522 extern "C"
15524 #endif
15525 /* We use char because int might match the return type of a gcc2
15526 builtin and then its argument prototype would still apply. */
15527 char $ac_func ();
15528 /* The GNU C library defines this for functions which it implements
15529 to always fail with ENOSYS. Some functions are actually named
15530 something starting with __ and the normal name is an alias. */
15531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15532 choke me
15533 #else
15534 char (*f) () = $ac_func;
15535 #endif
15536 #ifdef __cplusplus
15538 #endif
15541 main ()
15543 return f != $ac_func;
15545 return 0;
15547 _ACEOF
15548 rm -f conftest.$ac_objext conftest$ac_exeext
15549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15550 (eval $ac_link) 2>conftest.er1
15551 ac_status=$?
15552 grep -v '^ *+' conftest.er1 >conftest.err
15553 rm -f conftest.er1
15554 cat conftest.err >&5
15555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15556 (exit $ac_status); } &&
15557 { ac_try='test -z "$ac_c_werror_flag"
15558 || test ! -s conftest.err'
15559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15560 (eval $ac_try) 2>&5
15561 ac_status=$?
15562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15563 (exit $ac_status); }; } &&
15564 { ac_try='test -s conftest$ac_exeext'
15565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15566 (eval $ac_try) 2>&5
15567 ac_status=$?
15568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15569 (exit $ac_status); }; }; then
15570 eval "$as_ac_var=yes"
15571 else
15572 echo "$as_me: failed program was:" >&5
15573 sed 's/^/| /' conftest.$ac_ext >&5
15575 eval "$as_ac_var=no"
15577 rm -f conftest.err conftest.$ac_objext \
15578 conftest$ac_exeext conftest.$ac_ext
15580 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15581 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15582 if test `eval echo '${'$as_ac_var'}'` = yes; then
15583 cat >>confdefs.h <<_ACEOF
15584 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15585 _ACEOF
15588 done
15590 else
15592 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
15593 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
15594 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
15595 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
15596 echo $ECHO_N "(cached) $ECHO_C" >&6
15597 else
15601 ac_ext=cc
15602 ac_cpp='$CXXCPP $CPPFLAGS'
15603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15607 cat >conftest.$ac_ext <<_ACEOF
15608 /* confdefs.h. */
15609 _ACEOF
15610 cat confdefs.h >>conftest.$ac_ext
15611 cat >>conftest.$ac_ext <<_ACEOF
15612 /* end confdefs.h. */
15613 #include <math.h>
15614 #ifdef HAVE_IEEEFP_H
15615 #include <ieeefp.h>
15616 #endif
15619 main ()
15621 _log10f(0);
15623 return 0;
15625 _ACEOF
15626 rm -f conftest.$ac_objext
15627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15628 (eval $ac_compile) 2>conftest.er1
15629 ac_status=$?
15630 grep -v '^ *+' conftest.er1 >conftest.err
15631 rm -f conftest.er1
15632 cat conftest.err >&5
15633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15634 (exit $ac_status); } &&
15635 { ac_try='test -z "$ac_cxx_werror_flag"
15636 || test ! -s conftest.err'
15637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15638 (eval $ac_try) 2>&5
15639 ac_status=$?
15640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15641 (exit $ac_status); }; } &&
15642 { ac_try='test -s conftest.$ac_objext'
15643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15644 (eval $ac_try) 2>&5
15645 ac_status=$?
15646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15647 (exit $ac_status); }; }; then
15648 glibcxx_cv_func__log10f_use=yes
15649 else
15650 echo "$as_me: failed program was:" >&5
15651 sed 's/^/| /' conftest.$ac_ext >&5
15653 glibcxx_cv_func__log10f_use=no
15655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15656 ac_ext=c
15657 ac_cpp='$CPP $CPPFLAGS'
15658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15666 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
15667 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
15669 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
15671 for ac_func in _log10f
15673 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15674 echo "$as_me:$LINENO: checking for $ac_func" >&5
15675 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15676 if eval "test \"\${$as_ac_var+set}\" = set"; then
15677 echo $ECHO_N "(cached) $ECHO_C" >&6
15678 else
15679 if test x$gcc_no_link = xyes; then
15680 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15681 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15682 { (exit 1); exit 1; }; }
15684 cat >conftest.$ac_ext <<_ACEOF
15685 /* confdefs.h. */
15686 _ACEOF
15687 cat confdefs.h >>conftest.$ac_ext
15688 cat >>conftest.$ac_ext <<_ACEOF
15689 /* end confdefs.h. */
15690 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15691 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15692 #define $ac_func innocuous_$ac_func
15694 /* System header to define __stub macros and hopefully few prototypes,
15695 which can conflict with char $ac_func (); below.
15696 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15697 <limits.h> exists even on freestanding compilers. */
15699 #ifdef __STDC__
15700 # include <limits.h>
15701 #else
15702 # include <assert.h>
15703 #endif
15705 #undef $ac_func
15707 /* Override any gcc2 internal prototype to avoid an error. */
15708 #ifdef __cplusplus
15709 extern "C"
15711 #endif
15712 /* We use char because int might match the return type of a gcc2
15713 builtin and then its argument prototype would still apply. */
15714 char $ac_func ();
15715 /* The GNU C library defines this for functions which it implements
15716 to always fail with ENOSYS. Some functions are actually named
15717 something starting with __ and the normal name is an alias. */
15718 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15719 choke me
15720 #else
15721 char (*f) () = $ac_func;
15722 #endif
15723 #ifdef __cplusplus
15725 #endif
15728 main ()
15730 return f != $ac_func;
15732 return 0;
15734 _ACEOF
15735 rm -f conftest.$ac_objext conftest$ac_exeext
15736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15737 (eval $ac_link) 2>conftest.er1
15738 ac_status=$?
15739 grep -v '^ *+' conftest.er1 >conftest.err
15740 rm -f conftest.er1
15741 cat conftest.err >&5
15742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15743 (exit $ac_status); } &&
15744 { ac_try='test -z "$ac_c_werror_flag"
15745 || test ! -s conftest.err'
15746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15747 (eval $ac_try) 2>&5
15748 ac_status=$?
15749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15750 (exit $ac_status); }; } &&
15751 { ac_try='test -s conftest$ac_exeext'
15752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15753 (eval $ac_try) 2>&5
15754 ac_status=$?
15755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15756 (exit $ac_status); }; }; then
15757 eval "$as_ac_var=yes"
15758 else
15759 echo "$as_me: failed program was:" >&5
15760 sed 's/^/| /' conftest.$ac_ext >&5
15762 eval "$as_ac_var=no"
15764 rm -f conftest.err conftest.$ac_objext \
15765 conftest$ac_exeext conftest.$ac_ext
15767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15768 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15769 if test `eval echo '${'$as_ac_var'}'` = yes; then
15770 cat >>confdefs.h <<_ACEOF
15771 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15772 _ACEOF
15775 done
15782 echo "$as_me:$LINENO: checking for modff declaration" >&5
15783 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
15784 if test x${glibcxx_cv_func_modff_use+set} != xset; then
15785 if test "${glibcxx_cv_func_modff_use+set}" = set; then
15786 echo $ECHO_N "(cached) $ECHO_C" >&6
15787 else
15791 ac_ext=cc
15792 ac_cpp='$CXXCPP $CPPFLAGS'
15793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15797 cat >conftest.$ac_ext <<_ACEOF
15798 /* confdefs.h. */
15799 _ACEOF
15800 cat confdefs.h >>conftest.$ac_ext
15801 cat >>conftest.$ac_ext <<_ACEOF
15802 /* end confdefs.h. */
15803 #include <math.h>
15805 main ()
15807 modff(0, 0);
15809 return 0;
15811 _ACEOF
15812 rm -f conftest.$ac_objext
15813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15814 (eval $ac_compile) 2>conftest.er1
15815 ac_status=$?
15816 grep -v '^ *+' conftest.er1 >conftest.err
15817 rm -f conftest.er1
15818 cat conftest.err >&5
15819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15820 (exit $ac_status); } &&
15821 { ac_try='test -z "$ac_cxx_werror_flag"
15822 || test ! -s conftest.err'
15823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15824 (eval $ac_try) 2>&5
15825 ac_status=$?
15826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15827 (exit $ac_status); }; } &&
15828 { ac_try='test -s conftest.$ac_objext'
15829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15830 (eval $ac_try) 2>&5
15831 ac_status=$?
15832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15833 (exit $ac_status); }; }; then
15834 glibcxx_cv_func_modff_use=yes
15835 else
15836 echo "$as_me: failed program was:" >&5
15837 sed 's/^/| /' conftest.$ac_ext >&5
15839 glibcxx_cv_func_modff_use=no
15841 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15842 ac_ext=c
15843 ac_cpp='$CPP $CPPFLAGS'
15844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15852 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
15853 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
15855 if test x$glibcxx_cv_func_modff_use = x"yes"; then
15857 for ac_func in modff
15859 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
15860 echo "$as_me:$LINENO: checking for $ac_func" >&5
15861 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
15862 if eval "test \"\${$as_ac_var+set}\" = set"; then
15863 echo $ECHO_N "(cached) $ECHO_C" >&6
15864 else
15865 if test x$gcc_no_link = xyes; then
15866 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15867 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15868 { (exit 1); exit 1; }; }
15870 cat >conftest.$ac_ext <<_ACEOF
15871 /* confdefs.h. */
15872 _ACEOF
15873 cat confdefs.h >>conftest.$ac_ext
15874 cat >>conftest.$ac_ext <<_ACEOF
15875 /* end confdefs.h. */
15876 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
15877 For example, HP-UX 11i <limits.h> declares gettimeofday. */
15878 #define $ac_func innocuous_$ac_func
15880 /* System header to define __stub macros and hopefully few prototypes,
15881 which can conflict with char $ac_func (); below.
15882 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15883 <limits.h> exists even on freestanding compilers. */
15885 #ifdef __STDC__
15886 # include <limits.h>
15887 #else
15888 # include <assert.h>
15889 #endif
15891 #undef $ac_func
15893 /* Override any gcc2 internal prototype to avoid an error. */
15894 #ifdef __cplusplus
15895 extern "C"
15897 #endif
15898 /* We use char because int might match the return type of a gcc2
15899 builtin and then its argument prototype would still apply. */
15900 char $ac_func ();
15901 /* The GNU C library defines this for functions which it implements
15902 to always fail with ENOSYS. Some functions are actually named
15903 something starting with __ and the normal name is an alias. */
15904 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15905 choke me
15906 #else
15907 char (*f) () = $ac_func;
15908 #endif
15909 #ifdef __cplusplus
15911 #endif
15914 main ()
15916 return f != $ac_func;
15918 return 0;
15920 _ACEOF
15921 rm -f conftest.$ac_objext conftest$ac_exeext
15922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15923 (eval $ac_link) 2>conftest.er1
15924 ac_status=$?
15925 grep -v '^ *+' conftest.er1 >conftest.err
15926 rm -f conftest.er1
15927 cat conftest.err >&5
15928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15929 (exit $ac_status); } &&
15930 { ac_try='test -z "$ac_c_werror_flag"
15931 || test ! -s conftest.err'
15932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15933 (eval $ac_try) 2>&5
15934 ac_status=$?
15935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15936 (exit $ac_status); }; } &&
15937 { ac_try='test -s conftest$ac_exeext'
15938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15939 (eval $ac_try) 2>&5
15940 ac_status=$?
15941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15942 (exit $ac_status); }; }; then
15943 eval "$as_ac_var=yes"
15944 else
15945 echo "$as_me: failed program was:" >&5
15946 sed 's/^/| /' conftest.$ac_ext >&5
15948 eval "$as_ac_var=no"
15950 rm -f conftest.err conftest.$ac_objext \
15951 conftest$ac_exeext conftest.$ac_ext
15953 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
15954 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
15955 if test `eval echo '${'$as_ac_var'}'` = yes; then
15956 cat >>confdefs.h <<_ACEOF
15957 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
15958 _ACEOF
15961 done
15963 else
15965 echo "$as_me:$LINENO: checking for _modff declaration" >&5
15966 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
15967 if test x${glibcxx_cv_func__modff_use+set} != xset; then
15968 if test "${glibcxx_cv_func__modff_use+set}" = set; then
15969 echo $ECHO_N "(cached) $ECHO_C" >&6
15970 else
15974 ac_ext=cc
15975 ac_cpp='$CXXCPP $CPPFLAGS'
15976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15980 cat >conftest.$ac_ext <<_ACEOF
15981 /* confdefs.h. */
15982 _ACEOF
15983 cat confdefs.h >>conftest.$ac_ext
15984 cat >>conftest.$ac_ext <<_ACEOF
15985 /* end confdefs.h. */
15986 #include <math.h>
15988 main ()
15990 _modff(0, 0);
15992 return 0;
15994 _ACEOF
15995 rm -f conftest.$ac_objext
15996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15997 (eval $ac_compile) 2>conftest.er1
15998 ac_status=$?
15999 grep -v '^ *+' conftest.er1 >conftest.err
16000 rm -f conftest.er1
16001 cat conftest.err >&5
16002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16003 (exit $ac_status); } &&
16004 { ac_try='test -z "$ac_cxx_werror_flag"
16005 || test ! -s conftest.err'
16006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16007 (eval $ac_try) 2>&5
16008 ac_status=$?
16009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16010 (exit $ac_status); }; } &&
16011 { ac_try='test -s conftest.$ac_objext'
16012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16013 (eval $ac_try) 2>&5
16014 ac_status=$?
16015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16016 (exit $ac_status); }; }; then
16017 glibcxx_cv_func__modff_use=yes
16018 else
16019 echo "$as_me: failed program was:" >&5
16020 sed 's/^/| /' conftest.$ac_ext >&5
16022 glibcxx_cv_func__modff_use=no
16024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16025 ac_ext=c
16026 ac_cpp='$CPP $CPPFLAGS'
16027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16035 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
16036 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
16038 if test x$glibcxx_cv_func__modff_use = x"yes"; then
16040 for ac_func in _modff
16042 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16043 echo "$as_me:$LINENO: checking for $ac_func" >&5
16044 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16045 if eval "test \"\${$as_ac_var+set}\" = set"; then
16046 echo $ECHO_N "(cached) $ECHO_C" >&6
16047 else
16048 if test x$gcc_no_link = xyes; then
16049 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16050 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16051 { (exit 1); exit 1; }; }
16053 cat >conftest.$ac_ext <<_ACEOF
16054 /* confdefs.h. */
16055 _ACEOF
16056 cat confdefs.h >>conftest.$ac_ext
16057 cat >>conftest.$ac_ext <<_ACEOF
16058 /* end confdefs.h. */
16059 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16060 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16061 #define $ac_func innocuous_$ac_func
16063 /* System header to define __stub macros and hopefully few prototypes,
16064 which can conflict with char $ac_func (); below.
16065 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16066 <limits.h> exists even on freestanding compilers. */
16068 #ifdef __STDC__
16069 # include <limits.h>
16070 #else
16071 # include <assert.h>
16072 #endif
16074 #undef $ac_func
16076 /* Override any gcc2 internal prototype to avoid an error. */
16077 #ifdef __cplusplus
16078 extern "C"
16080 #endif
16081 /* We use char because int might match the return type of a gcc2
16082 builtin and then its argument prototype would still apply. */
16083 char $ac_func ();
16084 /* The GNU C library defines this for functions which it implements
16085 to always fail with ENOSYS. Some functions are actually named
16086 something starting with __ and the normal name is an alias. */
16087 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16088 choke me
16089 #else
16090 char (*f) () = $ac_func;
16091 #endif
16092 #ifdef __cplusplus
16094 #endif
16097 main ()
16099 return f != $ac_func;
16101 return 0;
16103 _ACEOF
16104 rm -f conftest.$ac_objext conftest$ac_exeext
16105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16106 (eval $ac_link) 2>conftest.er1
16107 ac_status=$?
16108 grep -v '^ *+' conftest.er1 >conftest.err
16109 rm -f conftest.er1
16110 cat conftest.err >&5
16111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16112 (exit $ac_status); } &&
16113 { ac_try='test -z "$ac_c_werror_flag"
16114 || test ! -s conftest.err'
16115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16116 (eval $ac_try) 2>&5
16117 ac_status=$?
16118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16119 (exit $ac_status); }; } &&
16120 { ac_try='test -s conftest$ac_exeext'
16121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16122 (eval $ac_try) 2>&5
16123 ac_status=$?
16124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16125 (exit $ac_status); }; }; then
16126 eval "$as_ac_var=yes"
16127 else
16128 echo "$as_me: failed program was:" >&5
16129 sed 's/^/| /' conftest.$ac_ext >&5
16131 eval "$as_ac_var=no"
16133 rm -f conftest.err conftest.$ac_objext \
16134 conftest$ac_exeext conftest.$ac_ext
16136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16137 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16138 if test `eval echo '${'$as_ac_var'}'` = yes; then
16139 cat >>confdefs.h <<_ACEOF
16140 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16141 _ACEOF
16144 done
16151 echo "$as_me:$LINENO: checking for powf declaration" >&5
16152 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
16153 if test x${glibcxx_cv_func_powf_use+set} != xset; then
16154 if test "${glibcxx_cv_func_powf_use+set}" = set; then
16155 echo $ECHO_N "(cached) $ECHO_C" >&6
16156 else
16160 ac_ext=cc
16161 ac_cpp='$CXXCPP $CPPFLAGS'
16162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16166 cat >conftest.$ac_ext <<_ACEOF
16167 /* confdefs.h. */
16168 _ACEOF
16169 cat confdefs.h >>conftest.$ac_ext
16170 cat >>conftest.$ac_ext <<_ACEOF
16171 /* end confdefs.h. */
16172 #include <math.h>
16174 main ()
16176 powf(0, 0);
16178 return 0;
16180 _ACEOF
16181 rm -f conftest.$ac_objext
16182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16183 (eval $ac_compile) 2>conftest.er1
16184 ac_status=$?
16185 grep -v '^ *+' conftest.er1 >conftest.err
16186 rm -f conftest.er1
16187 cat conftest.err >&5
16188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16189 (exit $ac_status); } &&
16190 { ac_try='test -z "$ac_cxx_werror_flag"
16191 || test ! -s conftest.err'
16192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16193 (eval $ac_try) 2>&5
16194 ac_status=$?
16195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16196 (exit $ac_status); }; } &&
16197 { ac_try='test -s conftest.$ac_objext'
16198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16199 (eval $ac_try) 2>&5
16200 ac_status=$?
16201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16202 (exit $ac_status); }; }; then
16203 glibcxx_cv_func_powf_use=yes
16204 else
16205 echo "$as_me: failed program was:" >&5
16206 sed 's/^/| /' conftest.$ac_ext >&5
16208 glibcxx_cv_func_powf_use=no
16210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16211 ac_ext=c
16212 ac_cpp='$CPP $CPPFLAGS'
16213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16221 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
16222 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
16224 if test x$glibcxx_cv_func_powf_use = x"yes"; then
16226 for ac_func in powf
16228 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16229 echo "$as_me:$LINENO: checking for $ac_func" >&5
16230 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16231 if eval "test \"\${$as_ac_var+set}\" = set"; then
16232 echo $ECHO_N "(cached) $ECHO_C" >&6
16233 else
16234 if test x$gcc_no_link = xyes; then
16235 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16236 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16237 { (exit 1); exit 1; }; }
16239 cat >conftest.$ac_ext <<_ACEOF
16240 /* confdefs.h. */
16241 _ACEOF
16242 cat confdefs.h >>conftest.$ac_ext
16243 cat >>conftest.$ac_ext <<_ACEOF
16244 /* end confdefs.h. */
16245 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16246 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16247 #define $ac_func innocuous_$ac_func
16249 /* System header to define __stub macros and hopefully few prototypes,
16250 which can conflict with char $ac_func (); below.
16251 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16252 <limits.h> exists even on freestanding compilers. */
16254 #ifdef __STDC__
16255 # include <limits.h>
16256 #else
16257 # include <assert.h>
16258 #endif
16260 #undef $ac_func
16262 /* Override any gcc2 internal prototype to avoid an error. */
16263 #ifdef __cplusplus
16264 extern "C"
16266 #endif
16267 /* We use char because int might match the return type of a gcc2
16268 builtin and then its argument prototype would still apply. */
16269 char $ac_func ();
16270 /* The GNU C library defines this for functions which it implements
16271 to always fail with ENOSYS. Some functions are actually named
16272 something starting with __ and the normal name is an alias. */
16273 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16274 choke me
16275 #else
16276 char (*f) () = $ac_func;
16277 #endif
16278 #ifdef __cplusplus
16280 #endif
16283 main ()
16285 return f != $ac_func;
16287 return 0;
16289 _ACEOF
16290 rm -f conftest.$ac_objext conftest$ac_exeext
16291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16292 (eval $ac_link) 2>conftest.er1
16293 ac_status=$?
16294 grep -v '^ *+' conftest.er1 >conftest.err
16295 rm -f conftest.er1
16296 cat conftest.err >&5
16297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16298 (exit $ac_status); } &&
16299 { ac_try='test -z "$ac_c_werror_flag"
16300 || test ! -s conftest.err'
16301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16302 (eval $ac_try) 2>&5
16303 ac_status=$?
16304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16305 (exit $ac_status); }; } &&
16306 { ac_try='test -s conftest$ac_exeext'
16307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16308 (eval $ac_try) 2>&5
16309 ac_status=$?
16310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16311 (exit $ac_status); }; }; then
16312 eval "$as_ac_var=yes"
16313 else
16314 echo "$as_me: failed program was:" >&5
16315 sed 's/^/| /' conftest.$ac_ext >&5
16317 eval "$as_ac_var=no"
16319 rm -f conftest.err conftest.$ac_objext \
16320 conftest$ac_exeext conftest.$ac_ext
16322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16323 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16324 if test `eval echo '${'$as_ac_var'}'` = yes; then
16325 cat >>confdefs.h <<_ACEOF
16326 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16327 _ACEOF
16330 done
16332 else
16334 echo "$as_me:$LINENO: checking for _powf declaration" >&5
16335 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
16336 if test x${glibcxx_cv_func__powf_use+set} != xset; then
16337 if test "${glibcxx_cv_func__powf_use+set}" = set; then
16338 echo $ECHO_N "(cached) $ECHO_C" >&6
16339 else
16343 ac_ext=cc
16344 ac_cpp='$CXXCPP $CPPFLAGS'
16345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16349 cat >conftest.$ac_ext <<_ACEOF
16350 /* confdefs.h. */
16351 _ACEOF
16352 cat confdefs.h >>conftest.$ac_ext
16353 cat >>conftest.$ac_ext <<_ACEOF
16354 /* end confdefs.h. */
16355 #include <math.h>
16357 main ()
16359 _powf(0, 0);
16361 return 0;
16363 _ACEOF
16364 rm -f conftest.$ac_objext
16365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16366 (eval $ac_compile) 2>conftest.er1
16367 ac_status=$?
16368 grep -v '^ *+' conftest.er1 >conftest.err
16369 rm -f conftest.er1
16370 cat conftest.err >&5
16371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16372 (exit $ac_status); } &&
16373 { ac_try='test -z "$ac_cxx_werror_flag"
16374 || test ! -s conftest.err'
16375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16376 (eval $ac_try) 2>&5
16377 ac_status=$?
16378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16379 (exit $ac_status); }; } &&
16380 { ac_try='test -s conftest.$ac_objext'
16381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16382 (eval $ac_try) 2>&5
16383 ac_status=$?
16384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16385 (exit $ac_status); }; }; then
16386 glibcxx_cv_func__powf_use=yes
16387 else
16388 echo "$as_me: failed program was:" >&5
16389 sed 's/^/| /' conftest.$ac_ext >&5
16391 glibcxx_cv_func__powf_use=no
16393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16394 ac_ext=c
16395 ac_cpp='$CPP $CPPFLAGS'
16396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16404 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
16405 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
16407 if test x$glibcxx_cv_func__powf_use = x"yes"; then
16409 for ac_func in _powf
16411 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16412 echo "$as_me:$LINENO: checking for $ac_func" >&5
16413 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16414 if eval "test \"\${$as_ac_var+set}\" = set"; then
16415 echo $ECHO_N "(cached) $ECHO_C" >&6
16416 else
16417 if test x$gcc_no_link = xyes; then
16418 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16420 { (exit 1); exit 1; }; }
16422 cat >conftest.$ac_ext <<_ACEOF
16423 /* confdefs.h. */
16424 _ACEOF
16425 cat confdefs.h >>conftest.$ac_ext
16426 cat >>conftest.$ac_ext <<_ACEOF
16427 /* end confdefs.h. */
16428 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16429 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16430 #define $ac_func innocuous_$ac_func
16432 /* System header to define __stub macros and hopefully few prototypes,
16433 which can conflict with char $ac_func (); below.
16434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16435 <limits.h> exists even on freestanding compilers. */
16437 #ifdef __STDC__
16438 # include <limits.h>
16439 #else
16440 # include <assert.h>
16441 #endif
16443 #undef $ac_func
16445 /* Override any gcc2 internal prototype to avoid an error. */
16446 #ifdef __cplusplus
16447 extern "C"
16449 #endif
16450 /* We use char because int might match the return type of a gcc2
16451 builtin and then its argument prototype would still apply. */
16452 char $ac_func ();
16453 /* The GNU C library defines this for functions which it implements
16454 to always fail with ENOSYS. Some functions are actually named
16455 something starting with __ and the normal name is an alias. */
16456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16457 choke me
16458 #else
16459 char (*f) () = $ac_func;
16460 #endif
16461 #ifdef __cplusplus
16463 #endif
16466 main ()
16468 return f != $ac_func;
16470 return 0;
16472 _ACEOF
16473 rm -f conftest.$ac_objext conftest$ac_exeext
16474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16475 (eval $ac_link) 2>conftest.er1
16476 ac_status=$?
16477 grep -v '^ *+' conftest.er1 >conftest.err
16478 rm -f conftest.er1
16479 cat conftest.err >&5
16480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16481 (exit $ac_status); } &&
16482 { ac_try='test -z "$ac_c_werror_flag"
16483 || test ! -s conftest.err'
16484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16485 (eval $ac_try) 2>&5
16486 ac_status=$?
16487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16488 (exit $ac_status); }; } &&
16489 { ac_try='test -s conftest$ac_exeext'
16490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16491 (eval $ac_try) 2>&5
16492 ac_status=$?
16493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16494 (exit $ac_status); }; }; then
16495 eval "$as_ac_var=yes"
16496 else
16497 echo "$as_me: failed program was:" >&5
16498 sed 's/^/| /' conftest.$ac_ext >&5
16500 eval "$as_ac_var=no"
16502 rm -f conftest.err conftest.$ac_objext \
16503 conftest$ac_exeext conftest.$ac_ext
16505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16506 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16507 if test `eval echo '${'$as_ac_var'}'` = yes; then
16508 cat >>confdefs.h <<_ACEOF
16509 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16510 _ACEOF
16513 done
16520 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
16521 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
16522 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
16523 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
16524 echo $ECHO_N "(cached) $ECHO_C" >&6
16525 else
16529 ac_ext=cc
16530 ac_cpp='$CXXCPP $CPPFLAGS'
16531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16535 cat >conftest.$ac_ext <<_ACEOF
16536 /* confdefs.h. */
16537 _ACEOF
16538 cat confdefs.h >>conftest.$ac_ext
16539 cat >>conftest.$ac_ext <<_ACEOF
16540 /* end confdefs.h. */
16541 #include <math.h>
16542 #ifdef HAVE_IEEEFP_H
16543 #include <ieeefp.h>
16544 #endif
16547 main ()
16549 sqrtf(0);
16551 return 0;
16553 _ACEOF
16554 rm -f conftest.$ac_objext
16555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16556 (eval $ac_compile) 2>conftest.er1
16557 ac_status=$?
16558 grep -v '^ *+' conftest.er1 >conftest.err
16559 rm -f conftest.er1
16560 cat conftest.err >&5
16561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16562 (exit $ac_status); } &&
16563 { ac_try='test -z "$ac_cxx_werror_flag"
16564 || test ! -s conftest.err'
16565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16566 (eval $ac_try) 2>&5
16567 ac_status=$?
16568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16569 (exit $ac_status); }; } &&
16570 { ac_try='test -s conftest.$ac_objext'
16571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16572 (eval $ac_try) 2>&5
16573 ac_status=$?
16574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16575 (exit $ac_status); }; }; then
16576 glibcxx_cv_func_sqrtf_use=yes
16577 else
16578 echo "$as_me: failed program was:" >&5
16579 sed 's/^/| /' conftest.$ac_ext >&5
16581 glibcxx_cv_func_sqrtf_use=no
16583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16584 ac_ext=c
16585 ac_cpp='$CPP $CPPFLAGS'
16586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16594 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
16595 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
16597 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
16599 for ac_func in sqrtf
16601 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16602 echo "$as_me:$LINENO: checking for $ac_func" >&5
16603 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16604 if eval "test \"\${$as_ac_var+set}\" = set"; then
16605 echo $ECHO_N "(cached) $ECHO_C" >&6
16606 else
16607 if test x$gcc_no_link = xyes; then
16608 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16609 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16610 { (exit 1); exit 1; }; }
16612 cat >conftest.$ac_ext <<_ACEOF
16613 /* confdefs.h. */
16614 _ACEOF
16615 cat confdefs.h >>conftest.$ac_ext
16616 cat >>conftest.$ac_ext <<_ACEOF
16617 /* end confdefs.h. */
16618 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16619 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16620 #define $ac_func innocuous_$ac_func
16622 /* System header to define __stub macros and hopefully few prototypes,
16623 which can conflict with char $ac_func (); below.
16624 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16625 <limits.h> exists even on freestanding compilers. */
16627 #ifdef __STDC__
16628 # include <limits.h>
16629 #else
16630 # include <assert.h>
16631 #endif
16633 #undef $ac_func
16635 /* Override any gcc2 internal prototype to avoid an error. */
16636 #ifdef __cplusplus
16637 extern "C"
16639 #endif
16640 /* We use char because int might match the return type of a gcc2
16641 builtin and then its argument prototype would still apply. */
16642 char $ac_func ();
16643 /* The GNU C library defines this for functions which it implements
16644 to always fail with ENOSYS. Some functions are actually named
16645 something starting with __ and the normal name is an alias. */
16646 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16647 choke me
16648 #else
16649 char (*f) () = $ac_func;
16650 #endif
16651 #ifdef __cplusplus
16653 #endif
16656 main ()
16658 return f != $ac_func;
16660 return 0;
16662 _ACEOF
16663 rm -f conftest.$ac_objext conftest$ac_exeext
16664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16665 (eval $ac_link) 2>conftest.er1
16666 ac_status=$?
16667 grep -v '^ *+' conftest.er1 >conftest.err
16668 rm -f conftest.er1
16669 cat conftest.err >&5
16670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16671 (exit $ac_status); } &&
16672 { ac_try='test -z "$ac_c_werror_flag"
16673 || test ! -s conftest.err'
16674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16675 (eval $ac_try) 2>&5
16676 ac_status=$?
16677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16678 (exit $ac_status); }; } &&
16679 { ac_try='test -s conftest$ac_exeext'
16680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16681 (eval $ac_try) 2>&5
16682 ac_status=$?
16683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16684 (exit $ac_status); }; }; then
16685 eval "$as_ac_var=yes"
16686 else
16687 echo "$as_me: failed program was:" >&5
16688 sed 's/^/| /' conftest.$ac_ext >&5
16690 eval "$as_ac_var=no"
16692 rm -f conftest.err conftest.$ac_objext \
16693 conftest$ac_exeext conftest.$ac_ext
16695 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16696 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16697 if test `eval echo '${'$as_ac_var'}'` = yes; then
16698 cat >>confdefs.h <<_ACEOF
16699 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16700 _ACEOF
16703 done
16705 else
16707 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
16708 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
16709 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
16710 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
16711 echo $ECHO_N "(cached) $ECHO_C" >&6
16712 else
16716 ac_ext=cc
16717 ac_cpp='$CXXCPP $CPPFLAGS'
16718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16722 cat >conftest.$ac_ext <<_ACEOF
16723 /* confdefs.h. */
16724 _ACEOF
16725 cat confdefs.h >>conftest.$ac_ext
16726 cat >>conftest.$ac_ext <<_ACEOF
16727 /* end confdefs.h. */
16728 #include <math.h>
16729 #ifdef HAVE_IEEEFP_H
16730 #include <ieeefp.h>
16731 #endif
16734 main ()
16736 _sqrtf(0);
16738 return 0;
16740 _ACEOF
16741 rm -f conftest.$ac_objext
16742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16743 (eval $ac_compile) 2>conftest.er1
16744 ac_status=$?
16745 grep -v '^ *+' conftest.er1 >conftest.err
16746 rm -f conftest.er1
16747 cat conftest.err >&5
16748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16749 (exit $ac_status); } &&
16750 { ac_try='test -z "$ac_cxx_werror_flag"
16751 || test ! -s conftest.err'
16752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16753 (eval $ac_try) 2>&5
16754 ac_status=$?
16755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16756 (exit $ac_status); }; } &&
16757 { ac_try='test -s conftest.$ac_objext'
16758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16759 (eval $ac_try) 2>&5
16760 ac_status=$?
16761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16762 (exit $ac_status); }; }; then
16763 glibcxx_cv_func__sqrtf_use=yes
16764 else
16765 echo "$as_me: failed program was:" >&5
16766 sed 's/^/| /' conftest.$ac_ext >&5
16768 glibcxx_cv_func__sqrtf_use=no
16770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16771 ac_ext=c
16772 ac_cpp='$CPP $CPPFLAGS'
16773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16781 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
16782 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
16784 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
16786 for ac_func in _sqrtf
16788 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16789 echo "$as_me:$LINENO: checking for $ac_func" >&5
16790 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16791 if eval "test \"\${$as_ac_var+set}\" = set"; then
16792 echo $ECHO_N "(cached) $ECHO_C" >&6
16793 else
16794 if test x$gcc_no_link = xyes; then
16795 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16797 { (exit 1); exit 1; }; }
16799 cat >conftest.$ac_ext <<_ACEOF
16800 /* confdefs.h. */
16801 _ACEOF
16802 cat confdefs.h >>conftest.$ac_ext
16803 cat >>conftest.$ac_ext <<_ACEOF
16804 /* end confdefs.h. */
16805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16807 #define $ac_func innocuous_$ac_func
16809 /* System header to define __stub macros and hopefully few prototypes,
16810 which can conflict with char $ac_func (); below.
16811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16812 <limits.h> exists even on freestanding compilers. */
16814 #ifdef __STDC__
16815 # include <limits.h>
16816 #else
16817 # include <assert.h>
16818 #endif
16820 #undef $ac_func
16822 /* Override any gcc2 internal prototype to avoid an error. */
16823 #ifdef __cplusplus
16824 extern "C"
16826 #endif
16827 /* We use char because int might match the return type of a gcc2
16828 builtin and then its argument prototype would still apply. */
16829 char $ac_func ();
16830 /* The GNU C library defines this for functions which it implements
16831 to always fail with ENOSYS. Some functions are actually named
16832 something starting with __ and the normal name is an alias. */
16833 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16834 choke me
16835 #else
16836 char (*f) () = $ac_func;
16837 #endif
16838 #ifdef __cplusplus
16840 #endif
16843 main ()
16845 return f != $ac_func;
16847 return 0;
16849 _ACEOF
16850 rm -f conftest.$ac_objext conftest$ac_exeext
16851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16852 (eval $ac_link) 2>conftest.er1
16853 ac_status=$?
16854 grep -v '^ *+' conftest.er1 >conftest.err
16855 rm -f conftest.er1
16856 cat conftest.err >&5
16857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16858 (exit $ac_status); } &&
16859 { ac_try='test -z "$ac_c_werror_flag"
16860 || test ! -s conftest.err'
16861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16862 (eval $ac_try) 2>&5
16863 ac_status=$?
16864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16865 (exit $ac_status); }; } &&
16866 { ac_try='test -s conftest$ac_exeext'
16867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16868 (eval $ac_try) 2>&5
16869 ac_status=$?
16870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16871 (exit $ac_status); }; }; then
16872 eval "$as_ac_var=yes"
16873 else
16874 echo "$as_me: failed program was:" >&5
16875 sed 's/^/| /' conftest.$ac_ext >&5
16877 eval "$as_ac_var=no"
16879 rm -f conftest.err conftest.$ac_objext \
16880 conftest$ac_exeext conftest.$ac_ext
16882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
16883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
16884 if test `eval echo '${'$as_ac_var'}'` = yes; then
16885 cat >>confdefs.h <<_ACEOF
16886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
16887 _ACEOF
16890 done
16897 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
16898 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
16899 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
16900 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
16901 echo $ECHO_N "(cached) $ECHO_C" >&6
16902 else
16906 ac_ext=cc
16907 ac_cpp='$CXXCPP $CPPFLAGS'
16908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16912 cat >conftest.$ac_ext <<_ACEOF
16913 /* confdefs.h. */
16914 _ACEOF
16915 cat confdefs.h >>conftest.$ac_ext
16916 cat >>conftest.$ac_ext <<_ACEOF
16917 /* end confdefs.h. */
16918 #include <math.h>
16920 main ()
16922 sincosf(0, 0, 0);
16924 return 0;
16926 _ACEOF
16927 rm -f conftest.$ac_objext
16928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16929 (eval $ac_compile) 2>conftest.er1
16930 ac_status=$?
16931 grep -v '^ *+' conftest.er1 >conftest.err
16932 rm -f conftest.er1
16933 cat conftest.err >&5
16934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16935 (exit $ac_status); } &&
16936 { ac_try='test -z "$ac_cxx_werror_flag"
16937 || test ! -s conftest.err'
16938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16939 (eval $ac_try) 2>&5
16940 ac_status=$?
16941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16942 (exit $ac_status); }; } &&
16943 { ac_try='test -s conftest.$ac_objext'
16944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16945 (eval $ac_try) 2>&5
16946 ac_status=$?
16947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16948 (exit $ac_status); }; }; then
16949 glibcxx_cv_func_sincosf_use=yes
16950 else
16951 echo "$as_me: failed program was:" >&5
16952 sed 's/^/| /' conftest.$ac_ext >&5
16954 glibcxx_cv_func_sincosf_use=no
16956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16957 ac_ext=c
16958 ac_cpp='$CPP $CPPFLAGS'
16959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16967 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
16968 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
16970 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
16972 for ac_func in sincosf
16974 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
16975 echo "$as_me:$LINENO: checking for $ac_func" >&5
16976 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
16977 if eval "test \"\${$as_ac_var+set}\" = set"; then
16978 echo $ECHO_N "(cached) $ECHO_C" >&6
16979 else
16980 if test x$gcc_no_link = xyes; then
16981 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16982 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16983 { (exit 1); exit 1; }; }
16985 cat >conftest.$ac_ext <<_ACEOF
16986 /* confdefs.h. */
16987 _ACEOF
16988 cat confdefs.h >>conftest.$ac_ext
16989 cat >>conftest.$ac_ext <<_ACEOF
16990 /* end confdefs.h. */
16991 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
16992 For example, HP-UX 11i <limits.h> declares gettimeofday. */
16993 #define $ac_func innocuous_$ac_func
16995 /* System header to define __stub macros and hopefully few prototypes,
16996 which can conflict with char $ac_func (); below.
16997 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16998 <limits.h> exists even on freestanding compilers. */
17000 #ifdef __STDC__
17001 # include <limits.h>
17002 #else
17003 # include <assert.h>
17004 #endif
17006 #undef $ac_func
17008 /* Override any gcc2 internal prototype to avoid an error. */
17009 #ifdef __cplusplus
17010 extern "C"
17012 #endif
17013 /* We use char because int might match the return type of a gcc2
17014 builtin and then its argument prototype would still apply. */
17015 char $ac_func ();
17016 /* The GNU C library defines this for functions which it implements
17017 to always fail with ENOSYS. Some functions are actually named
17018 something starting with __ and the normal name is an alias. */
17019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17020 choke me
17021 #else
17022 char (*f) () = $ac_func;
17023 #endif
17024 #ifdef __cplusplus
17026 #endif
17029 main ()
17031 return f != $ac_func;
17033 return 0;
17035 _ACEOF
17036 rm -f conftest.$ac_objext conftest$ac_exeext
17037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17038 (eval $ac_link) 2>conftest.er1
17039 ac_status=$?
17040 grep -v '^ *+' conftest.er1 >conftest.err
17041 rm -f conftest.er1
17042 cat conftest.err >&5
17043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17044 (exit $ac_status); } &&
17045 { ac_try='test -z "$ac_c_werror_flag"
17046 || test ! -s conftest.err'
17047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17048 (eval $ac_try) 2>&5
17049 ac_status=$?
17050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17051 (exit $ac_status); }; } &&
17052 { ac_try='test -s conftest$ac_exeext'
17053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17054 (eval $ac_try) 2>&5
17055 ac_status=$?
17056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17057 (exit $ac_status); }; }; then
17058 eval "$as_ac_var=yes"
17059 else
17060 echo "$as_me: failed program was:" >&5
17061 sed 's/^/| /' conftest.$ac_ext >&5
17063 eval "$as_ac_var=no"
17065 rm -f conftest.err conftest.$ac_objext \
17066 conftest$ac_exeext conftest.$ac_ext
17068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17069 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17070 if test `eval echo '${'$as_ac_var'}'` = yes; then
17071 cat >>confdefs.h <<_ACEOF
17072 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17073 _ACEOF
17076 done
17078 else
17080 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
17081 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
17082 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
17083 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
17084 echo $ECHO_N "(cached) $ECHO_C" >&6
17085 else
17089 ac_ext=cc
17090 ac_cpp='$CXXCPP $CPPFLAGS'
17091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17095 cat >conftest.$ac_ext <<_ACEOF
17096 /* confdefs.h. */
17097 _ACEOF
17098 cat confdefs.h >>conftest.$ac_ext
17099 cat >>conftest.$ac_ext <<_ACEOF
17100 /* end confdefs.h. */
17101 #include <math.h>
17103 main ()
17105 _sincosf(0, 0, 0);
17107 return 0;
17109 _ACEOF
17110 rm -f conftest.$ac_objext
17111 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17112 (eval $ac_compile) 2>conftest.er1
17113 ac_status=$?
17114 grep -v '^ *+' conftest.er1 >conftest.err
17115 rm -f conftest.er1
17116 cat conftest.err >&5
17117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17118 (exit $ac_status); } &&
17119 { ac_try='test -z "$ac_cxx_werror_flag"
17120 || test ! -s conftest.err'
17121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17122 (eval $ac_try) 2>&5
17123 ac_status=$?
17124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17125 (exit $ac_status); }; } &&
17126 { ac_try='test -s conftest.$ac_objext'
17127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17128 (eval $ac_try) 2>&5
17129 ac_status=$?
17130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17131 (exit $ac_status); }; }; then
17132 glibcxx_cv_func__sincosf_use=yes
17133 else
17134 echo "$as_me: failed program was:" >&5
17135 sed 's/^/| /' conftest.$ac_ext >&5
17137 glibcxx_cv_func__sincosf_use=no
17139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17140 ac_ext=c
17141 ac_cpp='$CPP $CPPFLAGS'
17142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17150 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
17151 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
17153 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
17155 for ac_func in _sincosf
17157 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17158 echo "$as_me:$LINENO: checking for $ac_func" >&5
17159 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17160 if eval "test \"\${$as_ac_var+set}\" = set"; then
17161 echo $ECHO_N "(cached) $ECHO_C" >&6
17162 else
17163 if test x$gcc_no_link = xyes; then
17164 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17165 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17166 { (exit 1); exit 1; }; }
17168 cat >conftest.$ac_ext <<_ACEOF
17169 /* confdefs.h. */
17170 _ACEOF
17171 cat confdefs.h >>conftest.$ac_ext
17172 cat >>conftest.$ac_ext <<_ACEOF
17173 /* end confdefs.h. */
17174 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17175 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17176 #define $ac_func innocuous_$ac_func
17178 /* System header to define __stub macros and hopefully few prototypes,
17179 which can conflict with char $ac_func (); below.
17180 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17181 <limits.h> exists even on freestanding compilers. */
17183 #ifdef __STDC__
17184 # include <limits.h>
17185 #else
17186 # include <assert.h>
17187 #endif
17189 #undef $ac_func
17191 /* Override any gcc2 internal prototype to avoid an error. */
17192 #ifdef __cplusplus
17193 extern "C"
17195 #endif
17196 /* We use char because int might match the return type of a gcc2
17197 builtin and then its argument prototype would still apply. */
17198 char $ac_func ();
17199 /* The GNU C library defines this for functions which it implements
17200 to always fail with ENOSYS. Some functions are actually named
17201 something starting with __ and the normal name is an alias. */
17202 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17203 choke me
17204 #else
17205 char (*f) () = $ac_func;
17206 #endif
17207 #ifdef __cplusplus
17209 #endif
17212 main ()
17214 return f != $ac_func;
17216 return 0;
17218 _ACEOF
17219 rm -f conftest.$ac_objext conftest$ac_exeext
17220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17221 (eval $ac_link) 2>conftest.er1
17222 ac_status=$?
17223 grep -v '^ *+' conftest.er1 >conftest.err
17224 rm -f conftest.er1
17225 cat conftest.err >&5
17226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17227 (exit $ac_status); } &&
17228 { ac_try='test -z "$ac_c_werror_flag"
17229 || test ! -s conftest.err'
17230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17231 (eval $ac_try) 2>&5
17232 ac_status=$?
17233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17234 (exit $ac_status); }; } &&
17235 { ac_try='test -s conftest$ac_exeext'
17236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17237 (eval $ac_try) 2>&5
17238 ac_status=$?
17239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17240 (exit $ac_status); }; }; then
17241 eval "$as_ac_var=yes"
17242 else
17243 echo "$as_me: failed program was:" >&5
17244 sed 's/^/| /' conftest.$ac_ext >&5
17246 eval "$as_ac_var=no"
17248 rm -f conftest.err conftest.$ac_objext \
17249 conftest$ac_exeext conftest.$ac_ext
17251 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17252 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17253 if test `eval echo '${'$as_ac_var'}'` = yes; then
17254 cat >>confdefs.h <<_ACEOF
17255 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17256 _ACEOF
17259 done
17266 echo "$as_me:$LINENO: checking for finitef declaration" >&5
17267 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
17268 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
17269 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
17270 echo $ECHO_N "(cached) $ECHO_C" >&6
17271 else
17275 ac_ext=cc
17276 ac_cpp='$CXXCPP $CPPFLAGS'
17277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17281 cat >conftest.$ac_ext <<_ACEOF
17282 /* confdefs.h. */
17283 _ACEOF
17284 cat confdefs.h >>conftest.$ac_ext
17285 cat >>conftest.$ac_ext <<_ACEOF
17286 /* end confdefs.h. */
17287 #include <math.h>
17288 #ifdef HAVE_IEEEFP_H
17289 #include <ieeefp.h>
17290 #endif
17293 main ()
17295 finitef(0);
17297 return 0;
17299 _ACEOF
17300 rm -f conftest.$ac_objext
17301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17302 (eval $ac_compile) 2>conftest.er1
17303 ac_status=$?
17304 grep -v '^ *+' conftest.er1 >conftest.err
17305 rm -f conftest.er1
17306 cat conftest.err >&5
17307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17308 (exit $ac_status); } &&
17309 { ac_try='test -z "$ac_cxx_werror_flag"
17310 || test ! -s conftest.err'
17311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17312 (eval $ac_try) 2>&5
17313 ac_status=$?
17314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17315 (exit $ac_status); }; } &&
17316 { ac_try='test -s conftest.$ac_objext'
17317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17318 (eval $ac_try) 2>&5
17319 ac_status=$?
17320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17321 (exit $ac_status); }; }; then
17322 glibcxx_cv_func_finitef_use=yes
17323 else
17324 echo "$as_me: failed program was:" >&5
17325 sed 's/^/| /' conftest.$ac_ext >&5
17327 glibcxx_cv_func_finitef_use=no
17329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17330 ac_ext=c
17331 ac_cpp='$CPP $CPPFLAGS'
17332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17340 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
17341 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
17343 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
17345 for ac_func in finitef
17347 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17348 echo "$as_me:$LINENO: checking for $ac_func" >&5
17349 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17350 if eval "test \"\${$as_ac_var+set}\" = set"; then
17351 echo $ECHO_N "(cached) $ECHO_C" >&6
17352 else
17353 if test x$gcc_no_link = xyes; then
17354 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17355 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17356 { (exit 1); exit 1; }; }
17358 cat >conftest.$ac_ext <<_ACEOF
17359 /* confdefs.h. */
17360 _ACEOF
17361 cat confdefs.h >>conftest.$ac_ext
17362 cat >>conftest.$ac_ext <<_ACEOF
17363 /* end confdefs.h. */
17364 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17365 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17366 #define $ac_func innocuous_$ac_func
17368 /* System header to define __stub macros and hopefully few prototypes,
17369 which can conflict with char $ac_func (); below.
17370 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17371 <limits.h> exists even on freestanding compilers. */
17373 #ifdef __STDC__
17374 # include <limits.h>
17375 #else
17376 # include <assert.h>
17377 #endif
17379 #undef $ac_func
17381 /* Override any gcc2 internal prototype to avoid an error. */
17382 #ifdef __cplusplus
17383 extern "C"
17385 #endif
17386 /* We use char because int might match the return type of a gcc2
17387 builtin and then its argument prototype would still apply. */
17388 char $ac_func ();
17389 /* The GNU C library defines this for functions which it implements
17390 to always fail with ENOSYS. Some functions are actually named
17391 something starting with __ and the normal name is an alias. */
17392 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17393 choke me
17394 #else
17395 char (*f) () = $ac_func;
17396 #endif
17397 #ifdef __cplusplus
17399 #endif
17402 main ()
17404 return f != $ac_func;
17406 return 0;
17408 _ACEOF
17409 rm -f conftest.$ac_objext conftest$ac_exeext
17410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17411 (eval $ac_link) 2>conftest.er1
17412 ac_status=$?
17413 grep -v '^ *+' conftest.er1 >conftest.err
17414 rm -f conftest.er1
17415 cat conftest.err >&5
17416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17417 (exit $ac_status); } &&
17418 { ac_try='test -z "$ac_c_werror_flag"
17419 || test ! -s conftest.err'
17420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17421 (eval $ac_try) 2>&5
17422 ac_status=$?
17423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17424 (exit $ac_status); }; } &&
17425 { ac_try='test -s conftest$ac_exeext'
17426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17427 (eval $ac_try) 2>&5
17428 ac_status=$?
17429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17430 (exit $ac_status); }; }; then
17431 eval "$as_ac_var=yes"
17432 else
17433 echo "$as_me: failed program was:" >&5
17434 sed 's/^/| /' conftest.$ac_ext >&5
17436 eval "$as_ac_var=no"
17438 rm -f conftest.err conftest.$ac_objext \
17439 conftest$ac_exeext conftest.$ac_ext
17441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17442 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17443 if test `eval echo '${'$as_ac_var'}'` = yes; then
17444 cat >>confdefs.h <<_ACEOF
17445 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17446 _ACEOF
17449 done
17451 else
17453 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
17454 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
17455 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
17456 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
17457 echo $ECHO_N "(cached) $ECHO_C" >&6
17458 else
17462 ac_ext=cc
17463 ac_cpp='$CXXCPP $CPPFLAGS'
17464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17468 cat >conftest.$ac_ext <<_ACEOF
17469 /* confdefs.h. */
17470 _ACEOF
17471 cat confdefs.h >>conftest.$ac_ext
17472 cat >>conftest.$ac_ext <<_ACEOF
17473 /* end confdefs.h. */
17474 #include <math.h>
17475 #ifdef HAVE_IEEEFP_H
17476 #include <ieeefp.h>
17477 #endif
17480 main ()
17482 _finitef(0);
17484 return 0;
17486 _ACEOF
17487 rm -f conftest.$ac_objext
17488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17489 (eval $ac_compile) 2>conftest.er1
17490 ac_status=$?
17491 grep -v '^ *+' conftest.er1 >conftest.err
17492 rm -f conftest.er1
17493 cat conftest.err >&5
17494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17495 (exit $ac_status); } &&
17496 { ac_try='test -z "$ac_cxx_werror_flag"
17497 || test ! -s conftest.err'
17498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17499 (eval $ac_try) 2>&5
17500 ac_status=$?
17501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17502 (exit $ac_status); }; } &&
17503 { ac_try='test -s conftest.$ac_objext'
17504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17505 (eval $ac_try) 2>&5
17506 ac_status=$?
17507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17508 (exit $ac_status); }; }; then
17509 glibcxx_cv_func__finitef_use=yes
17510 else
17511 echo "$as_me: failed program was:" >&5
17512 sed 's/^/| /' conftest.$ac_ext >&5
17514 glibcxx_cv_func__finitef_use=no
17516 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17517 ac_ext=c
17518 ac_cpp='$CPP $CPPFLAGS'
17519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17527 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
17528 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
17530 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
17532 for ac_func in _finitef
17534 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17535 echo "$as_me:$LINENO: checking for $ac_func" >&5
17536 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17537 if eval "test \"\${$as_ac_var+set}\" = set"; then
17538 echo $ECHO_N "(cached) $ECHO_C" >&6
17539 else
17540 if test x$gcc_no_link = xyes; then
17541 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17542 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17543 { (exit 1); exit 1; }; }
17545 cat >conftest.$ac_ext <<_ACEOF
17546 /* confdefs.h. */
17547 _ACEOF
17548 cat confdefs.h >>conftest.$ac_ext
17549 cat >>conftest.$ac_ext <<_ACEOF
17550 /* end confdefs.h. */
17551 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17552 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17553 #define $ac_func innocuous_$ac_func
17555 /* System header to define __stub macros and hopefully few prototypes,
17556 which can conflict with char $ac_func (); below.
17557 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17558 <limits.h> exists even on freestanding compilers. */
17560 #ifdef __STDC__
17561 # include <limits.h>
17562 #else
17563 # include <assert.h>
17564 #endif
17566 #undef $ac_func
17568 /* Override any gcc2 internal prototype to avoid an error. */
17569 #ifdef __cplusplus
17570 extern "C"
17572 #endif
17573 /* We use char because int might match the return type of a gcc2
17574 builtin and then its argument prototype would still apply. */
17575 char $ac_func ();
17576 /* The GNU C library defines this for functions which it implements
17577 to always fail with ENOSYS. Some functions are actually named
17578 something starting with __ and the normal name is an alias. */
17579 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17580 choke me
17581 #else
17582 char (*f) () = $ac_func;
17583 #endif
17584 #ifdef __cplusplus
17586 #endif
17589 main ()
17591 return f != $ac_func;
17593 return 0;
17595 _ACEOF
17596 rm -f conftest.$ac_objext conftest$ac_exeext
17597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17598 (eval $ac_link) 2>conftest.er1
17599 ac_status=$?
17600 grep -v '^ *+' conftest.er1 >conftest.err
17601 rm -f conftest.er1
17602 cat conftest.err >&5
17603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17604 (exit $ac_status); } &&
17605 { ac_try='test -z "$ac_c_werror_flag"
17606 || test ! -s conftest.err'
17607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17608 (eval $ac_try) 2>&5
17609 ac_status=$?
17610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17611 (exit $ac_status); }; } &&
17612 { ac_try='test -s conftest$ac_exeext'
17613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17614 (eval $ac_try) 2>&5
17615 ac_status=$?
17616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17617 (exit $ac_status); }; }; then
17618 eval "$as_ac_var=yes"
17619 else
17620 echo "$as_me: failed program was:" >&5
17621 sed 's/^/| /' conftest.$ac_ext >&5
17623 eval "$as_ac_var=no"
17625 rm -f conftest.err conftest.$ac_objext \
17626 conftest$ac_exeext conftest.$ac_ext
17628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17629 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17630 if test `eval echo '${'$as_ac_var'}'` = yes; then
17631 cat >>confdefs.h <<_ACEOF
17632 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17633 _ACEOF
17636 done
17643 echo "$as_me:$LINENO: checking for long double trig functions" >&5
17644 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
17645 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
17646 echo $ECHO_N "(cached) $ECHO_C" >&6
17647 else
17651 ac_ext=cc
17652 ac_cpp='$CXXCPP $CPPFLAGS'
17653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17657 cat >conftest.$ac_ext <<_ACEOF
17658 /* confdefs.h. */
17659 _ACEOF
17660 cat confdefs.h >>conftest.$ac_ext
17661 cat >>conftest.$ac_ext <<_ACEOF
17662 /* end confdefs.h. */
17663 #include <math.h>
17665 main ()
17667 `for x in acosl asinl atanl \
17668 cosl sinl tanl \
17669 coshl sinhl tanhl; do echo "$x (0);"; done`
17671 return 0;
17673 _ACEOF
17674 rm -f conftest.$ac_objext
17675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17676 (eval $ac_compile) 2>conftest.er1
17677 ac_status=$?
17678 grep -v '^ *+' conftest.er1 >conftest.err
17679 rm -f conftest.er1
17680 cat conftest.err >&5
17681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17682 (exit $ac_status); } &&
17683 { ac_try='test -z "$ac_cxx_werror_flag"
17684 || test ! -s conftest.err'
17685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17686 (eval $ac_try) 2>&5
17687 ac_status=$?
17688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17689 (exit $ac_status); }; } &&
17690 { ac_try='test -s conftest.$ac_objext'
17691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17692 (eval $ac_try) 2>&5
17693 ac_status=$?
17694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17695 (exit $ac_status); }; }; then
17696 glibcxx_cv_func_long_double_trig_use=yes
17697 else
17698 echo "$as_me: failed program was:" >&5
17699 sed 's/^/| /' conftest.$ac_ext >&5
17701 glibcxx_cv_func_long_double_trig_use=no
17703 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17704 ac_ext=c
17705 ac_cpp='$CPP $CPPFLAGS'
17706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17712 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
17713 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
17714 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
17724 for ac_func in acosl asinl atanl \
17725 cosl sinl tanl \
17726 coshl sinhl tanhl
17728 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17729 echo "$as_me:$LINENO: checking for $ac_func" >&5
17730 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17731 if eval "test \"\${$as_ac_var+set}\" = set"; then
17732 echo $ECHO_N "(cached) $ECHO_C" >&6
17733 else
17734 if test x$gcc_no_link = xyes; then
17735 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17736 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17737 { (exit 1); exit 1; }; }
17739 cat >conftest.$ac_ext <<_ACEOF
17740 /* confdefs.h. */
17741 _ACEOF
17742 cat confdefs.h >>conftest.$ac_ext
17743 cat >>conftest.$ac_ext <<_ACEOF
17744 /* end confdefs.h. */
17745 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17746 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17747 #define $ac_func innocuous_$ac_func
17749 /* System header to define __stub macros and hopefully few prototypes,
17750 which can conflict with char $ac_func (); below.
17751 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17752 <limits.h> exists even on freestanding compilers. */
17754 #ifdef __STDC__
17755 # include <limits.h>
17756 #else
17757 # include <assert.h>
17758 #endif
17760 #undef $ac_func
17762 /* Override any gcc2 internal prototype to avoid an error. */
17763 #ifdef __cplusplus
17764 extern "C"
17766 #endif
17767 /* We use char because int might match the return type of a gcc2
17768 builtin and then its argument prototype would still apply. */
17769 char $ac_func ();
17770 /* The GNU C library defines this for functions which it implements
17771 to always fail with ENOSYS. Some functions are actually named
17772 something starting with __ and the normal name is an alias. */
17773 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17774 choke me
17775 #else
17776 char (*f) () = $ac_func;
17777 #endif
17778 #ifdef __cplusplus
17780 #endif
17783 main ()
17785 return f != $ac_func;
17787 return 0;
17789 _ACEOF
17790 rm -f conftest.$ac_objext conftest$ac_exeext
17791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17792 (eval $ac_link) 2>conftest.er1
17793 ac_status=$?
17794 grep -v '^ *+' conftest.er1 >conftest.err
17795 rm -f conftest.er1
17796 cat conftest.err >&5
17797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17798 (exit $ac_status); } &&
17799 { ac_try='test -z "$ac_c_werror_flag"
17800 || test ! -s conftest.err'
17801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17802 (eval $ac_try) 2>&5
17803 ac_status=$?
17804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17805 (exit $ac_status); }; } &&
17806 { ac_try='test -s conftest$ac_exeext'
17807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17808 (eval $ac_try) 2>&5
17809 ac_status=$?
17810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17811 (exit $ac_status); }; }; then
17812 eval "$as_ac_var=yes"
17813 else
17814 echo "$as_me: failed program was:" >&5
17815 sed 's/^/| /' conftest.$ac_ext >&5
17817 eval "$as_ac_var=no"
17819 rm -f conftest.err conftest.$ac_objext \
17820 conftest$ac_exeext conftest.$ac_ext
17822 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
17823 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
17824 if test `eval echo '${'$as_ac_var'}'` = yes; then
17825 cat >>confdefs.h <<_ACEOF
17826 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
17827 _ACEOF
17830 done
17835 echo "$as_me:$LINENO: checking for long double round functions" >&5
17836 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
17837 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
17838 echo $ECHO_N "(cached) $ECHO_C" >&6
17839 else
17843 ac_ext=cc
17844 ac_cpp='$CXXCPP $CPPFLAGS'
17845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17849 cat >conftest.$ac_ext <<_ACEOF
17850 /* confdefs.h. */
17851 _ACEOF
17852 cat confdefs.h >>conftest.$ac_ext
17853 cat >>conftest.$ac_ext <<_ACEOF
17854 /* end confdefs.h. */
17855 #include <math.h>
17857 main ()
17859 `for x in ceill floorl; do echo "$x (0);"; done`
17861 return 0;
17863 _ACEOF
17864 rm -f conftest.$ac_objext
17865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17866 (eval $ac_compile) 2>conftest.er1
17867 ac_status=$?
17868 grep -v '^ *+' conftest.er1 >conftest.err
17869 rm -f conftest.er1
17870 cat conftest.err >&5
17871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17872 (exit $ac_status); } &&
17873 { ac_try='test -z "$ac_cxx_werror_flag"
17874 || test ! -s conftest.err'
17875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17876 (eval $ac_try) 2>&5
17877 ac_status=$?
17878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17879 (exit $ac_status); }; } &&
17880 { ac_try='test -s conftest.$ac_objext'
17881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17882 (eval $ac_try) 2>&5
17883 ac_status=$?
17884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17885 (exit $ac_status); }; }; then
17886 glibcxx_cv_func_long_double_round_use=yes
17887 else
17888 echo "$as_me: failed program was:" >&5
17889 sed 's/^/| /' conftest.$ac_ext >&5
17891 glibcxx_cv_func_long_double_round_use=no
17893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17894 ac_ext=c
17895 ac_cpp='$CPP $CPPFLAGS'
17896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17902 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
17903 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
17904 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
17907 for ac_func in ceill floorl
17909 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
17910 echo "$as_me:$LINENO: checking for $ac_func" >&5
17911 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
17912 if eval "test \"\${$as_ac_var+set}\" = set"; then
17913 echo $ECHO_N "(cached) $ECHO_C" >&6
17914 else
17915 if test x$gcc_no_link = xyes; then
17916 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17917 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17918 { (exit 1); exit 1; }; }
17920 cat >conftest.$ac_ext <<_ACEOF
17921 /* confdefs.h. */
17922 _ACEOF
17923 cat confdefs.h >>conftest.$ac_ext
17924 cat >>conftest.$ac_ext <<_ACEOF
17925 /* end confdefs.h. */
17926 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
17927 For example, HP-UX 11i <limits.h> declares gettimeofday. */
17928 #define $ac_func innocuous_$ac_func
17930 /* System header to define __stub macros and hopefully few prototypes,
17931 which can conflict with char $ac_func (); below.
17932 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
17933 <limits.h> exists even on freestanding compilers. */
17935 #ifdef __STDC__
17936 # include <limits.h>
17937 #else
17938 # include <assert.h>
17939 #endif
17941 #undef $ac_func
17943 /* Override any gcc2 internal prototype to avoid an error. */
17944 #ifdef __cplusplus
17945 extern "C"
17947 #endif
17948 /* We use char because int might match the return type of a gcc2
17949 builtin and then its argument prototype would still apply. */
17950 char $ac_func ();
17951 /* The GNU C library defines this for functions which it implements
17952 to always fail with ENOSYS. Some functions are actually named
17953 something starting with __ and the normal name is an alias. */
17954 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17955 choke me
17956 #else
17957 char (*f) () = $ac_func;
17958 #endif
17959 #ifdef __cplusplus
17961 #endif
17964 main ()
17966 return f != $ac_func;
17968 return 0;
17970 _ACEOF
17971 rm -f conftest.$ac_objext conftest$ac_exeext
17972 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17973 (eval $ac_link) 2>conftest.er1
17974 ac_status=$?
17975 grep -v '^ *+' conftest.er1 >conftest.err
17976 rm -f conftest.er1
17977 cat conftest.err >&5
17978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17979 (exit $ac_status); } &&
17980 { ac_try='test -z "$ac_c_werror_flag"
17981 || test ! -s conftest.err'
17982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17983 (eval $ac_try) 2>&5
17984 ac_status=$?
17985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17986 (exit $ac_status); }; } &&
17987 { ac_try='test -s conftest$ac_exeext'
17988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17989 (eval $ac_try) 2>&5
17990 ac_status=$?
17991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17992 (exit $ac_status); }; }; then
17993 eval "$as_ac_var=yes"
17994 else
17995 echo "$as_me: failed program was:" >&5
17996 sed 's/^/| /' conftest.$ac_ext >&5
17998 eval "$as_ac_var=no"
18000 rm -f conftest.err conftest.$ac_objext \
18001 conftest$ac_exeext conftest.$ac_ext
18003 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18004 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18005 if test `eval echo '${'$as_ac_var'}'` = yes; then
18006 cat >>confdefs.h <<_ACEOF
18007 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18008 _ACEOF
18011 done
18017 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
18018 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
18019 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
18020 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
18021 echo $ECHO_N "(cached) $ECHO_C" >&6
18022 else
18026 ac_ext=cc
18027 ac_cpp='$CXXCPP $CPPFLAGS'
18028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18032 cat >conftest.$ac_ext <<_ACEOF
18033 /* confdefs.h. */
18034 _ACEOF
18035 cat confdefs.h >>conftest.$ac_ext
18036 cat >>conftest.$ac_ext <<_ACEOF
18037 /* end confdefs.h. */
18038 #include <math.h>
18039 #ifdef HAVE_IEEEFP_H
18040 #include <ieeefp.h>
18041 #endif
18044 main ()
18046 isnanl(0);
18048 return 0;
18050 _ACEOF
18051 rm -f conftest.$ac_objext
18052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18053 (eval $ac_compile) 2>conftest.er1
18054 ac_status=$?
18055 grep -v '^ *+' conftest.er1 >conftest.err
18056 rm -f conftest.er1
18057 cat conftest.err >&5
18058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18059 (exit $ac_status); } &&
18060 { ac_try='test -z "$ac_cxx_werror_flag"
18061 || test ! -s conftest.err'
18062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18063 (eval $ac_try) 2>&5
18064 ac_status=$?
18065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18066 (exit $ac_status); }; } &&
18067 { ac_try='test -s conftest.$ac_objext'
18068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18069 (eval $ac_try) 2>&5
18070 ac_status=$?
18071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18072 (exit $ac_status); }; }; then
18073 glibcxx_cv_func_isnanl_use=yes
18074 else
18075 echo "$as_me: failed program was:" >&5
18076 sed 's/^/| /' conftest.$ac_ext >&5
18078 glibcxx_cv_func_isnanl_use=no
18080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18081 ac_ext=c
18082 ac_cpp='$CPP $CPPFLAGS'
18083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18091 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
18092 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
18094 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
18096 for ac_func in isnanl
18098 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18099 echo "$as_me:$LINENO: checking for $ac_func" >&5
18100 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18101 if eval "test \"\${$as_ac_var+set}\" = set"; then
18102 echo $ECHO_N "(cached) $ECHO_C" >&6
18103 else
18104 if test x$gcc_no_link = xyes; then
18105 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18107 { (exit 1); exit 1; }; }
18109 cat >conftest.$ac_ext <<_ACEOF
18110 /* confdefs.h. */
18111 _ACEOF
18112 cat confdefs.h >>conftest.$ac_ext
18113 cat >>conftest.$ac_ext <<_ACEOF
18114 /* end confdefs.h. */
18115 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18116 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18117 #define $ac_func innocuous_$ac_func
18119 /* System header to define __stub macros and hopefully few prototypes,
18120 which can conflict with char $ac_func (); below.
18121 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18122 <limits.h> exists even on freestanding compilers. */
18124 #ifdef __STDC__
18125 # include <limits.h>
18126 #else
18127 # include <assert.h>
18128 #endif
18130 #undef $ac_func
18132 /* Override any gcc2 internal prototype to avoid an error. */
18133 #ifdef __cplusplus
18134 extern "C"
18136 #endif
18137 /* We use char because int might match the return type of a gcc2
18138 builtin and then its argument prototype would still apply. */
18139 char $ac_func ();
18140 /* The GNU C library defines this for functions which it implements
18141 to always fail with ENOSYS. Some functions are actually named
18142 something starting with __ and the normal name is an alias. */
18143 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18144 choke me
18145 #else
18146 char (*f) () = $ac_func;
18147 #endif
18148 #ifdef __cplusplus
18150 #endif
18153 main ()
18155 return f != $ac_func;
18157 return 0;
18159 _ACEOF
18160 rm -f conftest.$ac_objext conftest$ac_exeext
18161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18162 (eval $ac_link) 2>conftest.er1
18163 ac_status=$?
18164 grep -v '^ *+' conftest.er1 >conftest.err
18165 rm -f conftest.er1
18166 cat conftest.err >&5
18167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18168 (exit $ac_status); } &&
18169 { ac_try='test -z "$ac_c_werror_flag"
18170 || test ! -s conftest.err'
18171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18172 (eval $ac_try) 2>&5
18173 ac_status=$?
18174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18175 (exit $ac_status); }; } &&
18176 { ac_try='test -s conftest$ac_exeext'
18177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18178 (eval $ac_try) 2>&5
18179 ac_status=$?
18180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18181 (exit $ac_status); }; }; then
18182 eval "$as_ac_var=yes"
18183 else
18184 echo "$as_me: failed program was:" >&5
18185 sed 's/^/| /' conftest.$ac_ext >&5
18187 eval "$as_ac_var=no"
18189 rm -f conftest.err conftest.$ac_objext \
18190 conftest$ac_exeext conftest.$ac_ext
18192 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18193 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18194 if test `eval echo '${'$as_ac_var'}'` = yes; then
18195 cat >>confdefs.h <<_ACEOF
18196 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18197 _ACEOF
18200 done
18202 else
18204 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
18205 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
18206 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
18207 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
18208 echo $ECHO_N "(cached) $ECHO_C" >&6
18209 else
18213 ac_ext=cc
18214 ac_cpp='$CXXCPP $CPPFLAGS'
18215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18219 cat >conftest.$ac_ext <<_ACEOF
18220 /* confdefs.h. */
18221 _ACEOF
18222 cat confdefs.h >>conftest.$ac_ext
18223 cat >>conftest.$ac_ext <<_ACEOF
18224 /* end confdefs.h. */
18225 #include <math.h>
18226 #ifdef HAVE_IEEEFP_H
18227 #include <ieeefp.h>
18228 #endif
18231 main ()
18233 _isnanl(0);
18235 return 0;
18237 _ACEOF
18238 rm -f conftest.$ac_objext
18239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18240 (eval $ac_compile) 2>conftest.er1
18241 ac_status=$?
18242 grep -v '^ *+' conftest.er1 >conftest.err
18243 rm -f conftest.er1
18244 cat conftest.err >&5
18245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18246 (exit $ac_status); } &&
18247 { ac_try='test -z "$ac_cxx_werror_flag"
18248 || test ! -s conftest.err'
18249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18250 (eval $ac_try) 2>&5
18251 ac_status=$?
18252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18253 (exit $ac_status); }; } &&
18254 { ac_try='test -s conftest.$ac_objext'
18255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18256 (eval $ac_try) 2>&5
18257 ac_status=$?
18258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18259 (exit $ac_status); }; }; then
18260 glibcxx_cv_func__isnanl_use=yes
18261 else
18262 echo "$as_me: failed program was:" >&5
18263 sed 's/^/| /' conftest.$ac_ext >&5
18265 glibcxx_cv_func__isnanl_use=no
18267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18268 ac_ext=c
18269 ac_cpp='$CPP $CPPFLAGS'
18270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18278 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
18279 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
18281 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
18283 for ac_func in _isnanl
18285 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18286 echo "$as_me:$LINENO: checking for $ac_func" >&5
18287 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18288 if eval "test \"\${$as_ac_var+set}\" = set"; then
18289 echo $ECHO_N "(cached) $ECHO_C" >&6
18290 else
18291 if test x$gcc_no_link = xyes; then
18292 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18293 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18294 { (exit 1); exit 1; }; }
18296 cat >conftest.$ac_ext <<_ACEOF
18297 /* confdefs.h. */
18298 _ACEOF
18299 cat confdefs.h >>conftest.$ac_ext
18300 cat >>conftest.$ac_ext <<_ACEOF
18301 /* end confdefs.h. */
18302 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18303 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18304 #define $ac_func innocuous_$ac_func
18306 /* System header to define __stub macros and hopefully few prototypes,
18307 which can conflict with char $ac_func (); below.
18308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18309 <limits.h> exists even on freestanding compilers. */
18311 #ifdef __STDC__
18312 # include <limits.h>
18313 #else
18314 # include <assert.h>
18315 #endif
18317 #undef $ac_func
18319 /* Override any gcc2 internal prototype to avoid an error. */
18320 #ifdef __cplusplus
18321 extern "C"
18323 #endif
18324 /* We use char because int might match the return type of a gcc2
18325 builtin and then its argument prototype would still apply. */
18326 char $ac_func ();
18327 /* The GNU C library defines this for functions which it implements
18328 to always fail with ENOSYS. Some functions are actually named
18329 something starting with __ and the normal name is an alias. */
18330 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18331 choke me
18332 #else
18333 char (*f) () = $ac_func;
18334 #endif
18335 #ifdef __cplusplus
18337 #endif
18340 main ()
18342 return f != $ac_func;
18344 return 0;
18346 _ACEOF
18347 rm -f conftest.$ac_objext conftest$ac_exeext
18348 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18349 (eval $ac_link) 2>conftest.er1
18350 ac_status=$?
18351 grep -v '^ *+' conftest.er1 >conftest.err
18352 rm -f conftest.er1
18353 cat conftest.err >&5
18354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18355 (exit $ac_status); } &&
18356 { ac_try='test -z "$ac_c_werror_flag"
18357 || test ! -s conftest.err'
18358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18359 (eval $ac_try) 2>&5
18360 ac_status=$?
18361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18362 (exit $ac_status); }; } &&
18363 { ac_try='test -s conftest$ac_exeext'
18364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18365 (eval $ac_try) 2>&5
18366 ac_status=$?
18367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18368 (exit $ac_status); }; }; then
18369 eval "$as_ac_var=yes"
18370 else
18371 echo "$as_me: failed program was:" >&5
18372 sed 's/^/| /' conftest.$ac_ext >&5
18374 eval "$as_ac_var=no"
18376 rm -f conftest.err conftest.$ac_objext \
18377 conftest$ac_exeext conftest.$ac_ext
18379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18380 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18381 if test `eval echo '${'$as_ac_var'}'` = yes; then
18382 cat >>confdefs.h <<_ACEOF
18383 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18384 _ACEOF
18387 done
18394 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
18395 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
18396 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
18397 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
18398 echo $ECHO_N "(cached) $ECHO_C" >&6
18399 else
18403 ac_ext=cc
18404 ac_cpp='$CXXCPP $CPPFLAGS'
18405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18409 cat >conftest.$ac_ext <<_ACEOF
18410 /* confdefs.h. */
18411 _ACEOF
18412 cat confdefs.h >>conftest.$ac_ext
18413 cat >>conftest.$ac_ext <<_ACEOF
18414 /* end confdefs.h. */
18415 #include <math.h>
18416 #ifdef HAVE_IEEEFP_H
18417 #include <ieeefp.h>
18418 #endif
18421 main ()
18423 isinfl(0);
18425 return 0;
18427 _ACEOF
18428 rm -f conftest.$ac_objext
18429 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18430 (eval $ac_compile) 2>conftest.er1
18431 ac_status=$?
18432 grep -v '^ *+' conftest.er1 >conftest.err
18433 rm -f conftest.er1
18434 cat conftest.err >&5
18435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18436 (exit $ac_status); } &&
18437 { ac_try='test -z "$ac_cxx_werror_flag"
18438 || test ! -s conftest.err'
18439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18440 (eval $ac_try) 2>&5
18441 ac_status=$?
18442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18443 (exit $ac_status); }; } &&
18444 { ac_try='test -s conftest.$ac_objext'
18445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18446 (eval $ac_try) 2>&5
18447 ac_status=$?
18448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18449 (exit $ac_status); }; }; then
18450 glibcxx_cv_func_isinfl_use=yes
18451 else
18452 echo "$as_me: failed program was:" >&5
18453 sed 's/^/| /' conftest.$ac_ext >&5
18455 glibcxx_cv_func_isinfl_use=no
18457 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18458 ac_ext=c
18459 ac_cpp='$CPP $CPPFLAGS'
18460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18468 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
18469 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
18471 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
18473 for ac_func in isinfl
18475 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18476 echo "$as_me:$LINENO: checking for $ac_func" >&5
18477 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18478 if eval "test \"\${$as_ac_var+set}\" = set"; then
18479 echo $ECHO_N "(cached) $ECHO_C" >&6
18480 else
18481 if test x$gcc_no_link = xyes; then
18482 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18483 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18484 { (exit 1); exit 1; }; }
18486 cat >conftest.$ac_ext <<_ACEOF
18487 /* confdefs.h. */
18488 _ACEOF
18489 cat confdefs.h >>conftest.$ac_ext
18490 cat >>conftest.$ac_ext <<_ACEOF
18491 /* end confdefs.h. */
18492 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18493 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18494 #define $ac_func innocuous_$ac_func
18496 /* System header to define __stub macros and hopefully few prototypes,
18497 which can conflict with char $ac_func (); below.
18498 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18499 <limits.h> exists even on freestanding compilers. */
18501 #ifdef __STDC__
18502 # include <limits.h>
18503 #else
18504 # include <assert.h>
18505 #endif
18507 #undef $ac_func
18509 /* Override any gcc2 internal prototype to avoid an error. */
18510 #ifdef __cplusplus
18511 extern "C"
18513 #endif
18514 /* We use char because int might match the return type of a gcc2
18515 builtin and then its argument prototype would still apply. */
18516 char $ac_func ();
18517 /* The GNU C library defines this for functions which it implements
18518 to always fail with ENOSYS. Some functions are actually named
18519 something starting with __ and the normal name is an alias. */
18520 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18521 choke me
18522 #else
18523 char (*f) () = $ac_func;
18524 #endif
18525 #ifdef __cplusplus
18527 #endif
18530 main ()
18532 return f != $ac_func;
18534 return 0;
18536 _ACEOF
18537 rm -f conftest.$ac_objext conftest$ac_exeext
18538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18539 (eval $ac_link) 2>conftest.er1
18540 ac_status=$?
18541 grep -v '^ *+' conftest.er1 >conftest.err
18542 rm -f conftest.er1
18543 cat conftest.err >&5
18544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18545 (exit $ac_status); } &&
18546 { ac_try='test -z "$ac_c_werror_flag"
18547 || test ! -s conftest.err'
18548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18549 (eval $ac_try) 2>&5
18550 ac_status=$?
18551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18552 (exit $ac_status); }; } &&
18553 { ac_try='test -s conftest$ac_exeext'
18554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18555 (eval $ac_try) 2>&5
18556 ac_status=$?
18557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18558 (exit $ac_status); }; }; then
18559 eval "$as_ac_var=yes"
18560 else
18561 echo "$as_me: failed program was:" >&5
18562 sed 's/^/| /' conftest.$ac_ext >&5
18564 eval "$as_ac_var=no"
18566 rm -f conftest.err conftest.$ac_objext \
18567 conftest$ac_exeext conftest.$ac_ext
18569 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18570 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18571 if test `eval echo '${'$as_ac_var'}'` = yes; then
18572 cat >>confdefs.h <<_ACEOF
18573 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18574 _ACEOF
18577 done
18579 else
18581 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
18582 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
18583 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
18584 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
18585 echo $ECHO_N "(cached) $ECHO_C" >&6
18586 else
18590 ac_ext=cc
18591 ac_cpp='$CXXCPP $CPPFLAGS'
18592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18596 cat >conftest.$ac_ext <<_ACEOF
18597 /* confdefs.h. */
18598 _ACEOF
18599 cat confdefs.h >>conftest.$ac_ext
18600 cat >>conftest.$ac_ext <<_ACEOF
18601 /* end confdefs.h. */
18602 #include <math.h>
18603 #ifdef HAVE_IEEEFP_H
18604 #include <ieeefp.h>
18605 #endif
18608 main ()
18610 _isinfl(0);
18612 return 0;
18614 _ACEOF
18615 rm -f conftest.$ac_objext
18616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18617 (eval $ac_compile) 2>conftest.er1
18618 ac_status=$?
18619 grep -v '^ *+' conftest.er1 >conftest.err
18620 rm -f conftest.er1
18621 cat conftest.err >&5
18622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18623 (exit $ac_status); } &&
18624 { ac_try='test -z "$ac_cxx_werror_flag"
18625 || test ! -s conftest.err'
18626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18627 (eval $ac_try) 2>&5
18628 ac_status=$?
18629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18630 (exit $ac_status); }; } &&
18631 { ac_try='test -s conftest.$ac_objext'
18632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18633 (eval $ac_try) 2>&5
18634 ac_status=$?
18635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18636 (exit $ac_status); }; }; then
18637 glibcxx_cv_func__isinfl_use=yes
18638 else
18639 echo "$as_me: failed program was:" >&5
18640 sed 's/^/| /' conftest.$ac_ext >&5
18642 glibcxx_cv_func__isinfl_use=no
18644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18645 ac_ext=c
18646 ac_cpp='$CPP $CPPFLAGS'
18647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18655 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
18656 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
18658 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
18660 for ac_func in _isinfl
18662 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18663 echo "$as_me:$LINENO: checking for $ac_func" >&5
18664 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18665 if eval "test \"\${$as_ac_var+set}\" = set"; then
18666 echo $ECHO_N "(cached) $ECHO_C" >&6
18667 else
18668 if test x$gcc_no_link = xyes; then
18669 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18670 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18671 { (exit 1); exit 1; }; }
18673 cat >conftest.$ac_ext <<_ACEOF
18674 /* confdefs.h. */
18675 _ACEOF
18676 cat confdefs.h >>conftest.$ac_ext
18677 cat >>conftest.$ac_ext <<_ACEOF
18678 /* end confdefs.h. */
18679 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18680 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18681 #define $ac_func innocuous_$ac_func
18683 /* System header to define __stub macros and hopefully few prototypes,
18684 which can conflict with char $ac_func (); below.
18685 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18686 <limits.h> exists even on freestanding compilers. */
18688 #ifdef __STDC__
18689 # include <limits.h>
18690 #else
18691 # include <assert.h>
18692 #endif
18694 #undef $ac_func
18696 /* Override any gcc2 internal prototype to avoid an error. */
18697 #ifdef __cplusplus
18698 extern "C"
18700 #endif
18701 /* We use char because int might match the return type of a gcc2
18702 builtin and then its argument prototype would still apply. */
18703 char $ac_func ();
18704 /* The GNU C library defines this for functions which it implements
18705 to always fail with ENOSYS. Some functions are actually named
18706 something starting with __ and the normal name is an alias. */
18707 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18708 choke me
18709 #else
18710 char (*f) () = $ac_func;
18711 #endif
18712 #ifdef __cplusplus
18714 #endif
18717 main ()
18719 return f != $ac_func;
18721 return 0;
18723 _ACEOF
18724 rm -f conftest.$ac_objext conftest$ac_exeext
18725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18726 (eval $ac_link) 2>conftest.er1
18727 ac_status=$?
18728 grep -v '^ *+' conftest.er1 >conftest.err
18729 rm -f conftest.er1
18730 cat conftest.err >&5
18731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18732 (exit $ac_status); } &&
18733 { ac_try='test -z "$ac_c_werror_flag"
18734 || test ! -s conftest.err'
18735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18736 (eval $ac_try) 2>&5
18737 ac_status=$?
18738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18739 (exit $ac_status); }; } &&
18740 { ac_try='test -s conftest$ac_exeext'
18741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18742 (eval $ac_try) 2>&5
18743 ac_status=$?
18744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18745 (exit $ac_status); }; }; then
18746 eval "$as_ac_var=yes"
18747 else
18748 echo "$as_me: failed program was:" >&5
18749 sed 's/^/| /' conftest.$ac_ext >&5
18751 eval "$as_ac_var=no"
18753 rm -f conftest.err conftest.$ac_objext \
18754 conftest$ac_exeext conftest.$ac_ext
18756 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18757 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18758 if test `eval echo '${'$as_ac_var'}'` = yes; then
18759 cat >>confdefs.h <<_ACEOF
18760 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18761 _ACEOF
18764 done
18771 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
18772 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
18773 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
18774 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
18775 echo $ECHO_N "(cached) $ECHO_C" >&6
18776 else
18780 ac_ext=cc
18781 ac_cpp='$CXXCPP $CPPFLAGS'
18782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18786 cat >conftest.$ac_ext <<_ACEOF
18787 /* confdefs.h. */
18788 _ACEOF
18789 cat confdefs.h >>conftest.$ac_ext
18790 cat >>conftest.$ac_ext <<_ACEOF
18791 /* end confdefs.h. */
18792 #include <math.h>
18794 main ()
18796 copysignl(0, 0);
18798 return 0;
18800 _ACEOF
18801 rm -f conftest.$ac_objext
18802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18803 (eval $ac_compile) 2>conftest.er1
18804 ac_status=$?
18805 grep -v '^ *+' conftest.er1 >conftest.err
18806 rm -f conftest.er1
18807 cat conftest.err >&5
18808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18809 (exit $ac_status); } &&
18810 { ac_try='test -z "$ac_cxx_werror_flag"
18811 || test ! -s conftest.err'
18812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18813 (eval $ac_try) 2>&5
18814 ac_status=$?
18815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18816 (exit $ac_status); }; } &&
18817 { ac_try='test -s conftest.$ac_objext'
18818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18819 (eval $ac_try) 2>&5
18820 ac_status=$?
18821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18822 (exit $ac_status); }; }; then
18823 glibcxx_cv_func_copysignl_use=yes
18824 else
18825 echo "$as_me: failed program was:" >&5
18826 sed 's/^/| /' conftest.$ac_ext >&5
18828 glibcxx_cv_func_copysignl_use=no
18830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18831 ac_ext=c
18832 ac_cpp='$CPP $CPPFLAGS'
18833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18841 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
18842 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
18844 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
18846 for ac_func in copysignl
18848 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18849 echo "$as_me:$LINENO: checking for $ac_func" >&5
18850 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18851 if eval "test \"\${$as_ac_var+set}\" = set"; then
18852 echo $ECHO_N "(cached) $ECHO_C" >&6
18853 else
18854 if test x$gcc_no_link = xyes; then
18855 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18856 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18857 { (exit 1); exit 1; }; }
18859 cat >conftest.$ac_ext <<_ACEOF
18860 /* confdefs.h. */
18861 _ACEOF
18862 cat confdefs.h >>conftest.$ac_ext
18863 cat >>conftest.$ac_ext <<_ACEOF
18864 /* end confdefs.h. */
18865 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18867 #define $ac_func innocuous_$ac_func
18869 /* System header to define __stub macros and hopefully few prototypes,
18870 which can conflict with char $ac_func (); below.
18871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18872 <limits.h> exists even on freestanding compilers. */
18874 #ifdef __STDC__
18875 # include <limits.h>
18876 #else
18877 # include <assert.h>
18878 #endif
18880 #undef $ac_func
18882 /* Override any gcc2 internal prototype to avoid an error. */
18883 #ifdef __cplusplus
18884 extern "C"
18886 #endif
18887 /* We use char because int might match the return type of a gcc2
18888 builtin and then its argument prototype would still apply. */
18889 char $ac_func ();
18890 /* The GNU C library defines this for functions which it implements
18891 to always fail with ENOSYS. Some functions are actually named
18892 something starting with __ and the normal name is an alias. */
18893 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18894 choke me
18895 #else
18896 char (*f) () = $ac_func;
18897 #endif
18898 #ifdef __cplusplus
18900 #endif
18903 main ()
18905 return f != $ac_func;
18907 return 0;
18909 _ACEOF
18910 rm -f conftest.$ac_objext conftest$ac_exeext
18911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18912 (eval $ac_link) 2>conftest.er1
18913 ac_status=$?
18914 grep -v '^ *+' conftest.er1 >conftest.err
18915 rm -f conftest.er1
18916 cat conftest.err >&5
18917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18918 (exit $ac_status); } &&
18919 { ac_try='test -z "$ac_c_werror_flag"
18920 || test ! -s conftest.err'
18921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18922 (eval $ac_try) 2>&5
18923 ac_status=$?
18924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18925 (exit $ac_status); }; } &&
18926 { ac_try='test -s conftest$ac_exeext'
18927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18928 (eval $ac_try) 2>&5
18929 ac_status=$?
18930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18931 (exit $ac_status); }; }; then
18932 eval "$as_ac_var=yes"
18933 else
18934 echo "$as_me: failed program was:" >&5
18935 sed 's/^/| /' conftest.$ac_ext >&5
18937 eval "$as_ac_var=no"
18939 rm -f conftest.err conftest.$ac_objext \
18940 conftest$ac_exeext conftest.$ac_ext
18942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18943 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18944 if test `eval echo '${'$as_ac_var'}'` = yes; then
18945 cat >>confdefs.h <<_ACEOF
18946 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18947 _ACEOF
18950 done
18952 else
18954 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
18955 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
18956 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
18957 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
18958 echo $ECHO_N "(cached) $ECHO_C" >&6
18959 else
18963 ac_ext=cc
18964 ac_cpp='$CXXCPP $CPPFLAGS'
18965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18969 cat >conftest.$ac_ext <<_ACEOF
18970 /* confdefs.h. */
18971 _ACEOF
18972 cat confdefs.h >>conftest.$ac_ext
18973 cat >>conftest.$ac_ext <<_ACEOF
18974 /* end confdefs.h. */
18975 #include <math.h>
18977 main ()
18979 _copysignl(0, 0);
18981 return 0;
18983 _ACEOF
18984 rm -f conftest.$ac_objext
18985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18986 (eval $ac_compile) 2>conftest.er1
18987 ac_status=$?
18988 grep -v '^ *+' conftest.er1 >conftest.err
18989 rm -f conftest.er1
18990 cat conftest.err >&5
18991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18992 (exit $ac_status); } &&
18993 { ac_try='test -z "$ac_cxx_werror_flag"
18994 || test ! -s conftest.err'
18995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18996 (eval $ac_try) 2>&5
18997 ac_status=$?
18998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18999 (exit $ac_status); }; } &&
19000 { ac_try='test -s conftest.$ac_objext'
19001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19002 (eval $ac_try) 2>&5
19003 ac_status=$?
19004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19005 (exit $ac_status); }; }; then
19006 glibcxx_cv_func__copysignl_use=yes
19007 else
19008 echo "$as_me: failed program was:" >&5
19009 sed 's/^/| /' conftest.$ac_ext >&5
19011 glibcxx_cv_func__copysignl_use=no
19013 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19014 ac_ext=c
19015 ac_cpp='$CPP $CPPFLAGS'
19016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19024 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
19025 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
19027 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
19029 for ac_func in _copysignl
19031 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19032 echo "$as_me:$LINENO: checking for $ac_func" >&5
19033 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19034 if eval "test \"\${$as_ac_var+set}\" = set"; then
19035 echo $ECHO_N "(cached) $ECHO_C" >&6
19036 else
19037 if test x$gcc_no_link = xyes; then
19038 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19039 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19040 { (exit 1); exit 1; }; }
19042 cat >conftest.$ac_ext <<_ACEOF
19043 /* confdefs.h. */
19044 _ACEOF
19045 cat confdefs.h >>conftest.$ac_ext
19046 cat >>conftest.$ac_ext <<_ACEOF
19047 /* end confdefs.h. */
19048 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19049 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19050 #define $ac_func innocuous_$ac_func
19052 /* System header to define __stub macros and hopefully few prototypes,
19053 which can conflict with char $ac_func (); below.
19054 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19055 <limits.h> exists even on freestanding compilers. */
19057 #ifdef __STDC__
19058 # include <limits.h>
19059 #else
19060 # include <assert.h>
19061 #endif
19063 #undef $ac_func
19065 /* Override any gcc2 internal prototype to avoid an error. */
19066 #ifdef __cplusplus
19067 extern "C"
19069 #endif
19070 /* We use char because int might match the return type of a gcc2
19071 builtin and then its argument prototype would still apply. */
19072 char $ac_func ();
19073 /* The GNU C library defines this for functions which it implements
19074 to always fail with ENOSYS. Some functions are actually named
19075 something starting with __ and the normal name is an alias. */
19076 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19077 choke me
19078 #else
19079 char (*f) () = $ac_func;
19080 #endif
19081 #ifdef __cplusplus
19083 #endif
19086 main ()
19088 return f != $ac_func;
19090 return 0;
19092 _ACEOF
19093 rm -f conftest.$ac_objext conftest$ac_exeext
19094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19095 (eval $ac_link) 2>conftest.er1
19096 ac_status=$?
19097 grep -v '^ *+' conftest.er1 >conftest.err
19098 rm -f conftest.er1
19099 cat conftest.err >&5
19100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19101 (exit $ac_status); } &&
19102 { ac_try='test -z "$ac_c_werror_flag"
19103 || test ! -s conftest.err'
19104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19105 (eval $ac_try) 2>&5
19106 ac_status=$?
19107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19108 (exit $ac_status); }; } &&
19109 { ac_try='test -s conftest$ac_exeext'
19110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19111 (eval $ac_try) 2>&5
19112 ac_status=$?
19113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19114 (exit $ac_status); }; }; then
19115 eval "$as_ac_var=yes"
19116 else
19117 echo "$as_me: failed program was:" >&5
19118 sed 's/^/| /' conftest.$ac_ext >&5
19120 eval "$as_ac_var=no"
19122 rm -f conftest.err conftest.$ac_objext \
19123 conftest$ac_exeext conftest.$ac_ext
19125 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19126 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19127 if test `eval echo '${'$as_ac_var'}'` = yes; then
19128 cat >>confdefs.h <<_ACEOF
19129 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19130 _ACEOF
19133 done
19140 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
19141 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
19142 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
19143 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
19144 echo $ECHO_N "(cached) $ECHO_C" >&6
19145 else
19149 ac_ext=cc
19150 ac_cpp='$CXXCPP $CPPFLAGS'
19151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19155 cat >conftest.$ac_ext <<_ACEOF
19156 /* confdefs.h. */
19157 _ACEOF
19158 cat confdefs.h >>conftest.$ac_ext
19159 cat >>conftest.$ac_ext <<_ACEOF
19160 /* end confdefs.h. */
19161 #include <math.h>
19163 main ()
19165 atan2l(0, 0);
19167 return 0;
19169 _ACEOF
19170 rm -f conftest.$ac_objext
19171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19172 (eval $ac_compile) 2>conftest.er1
19173 ac_status=$?
19174 grep -v '^ *+' conftest.er1 >conftest.err
19175 rm -f conftest.er1
19176 cat conftest.err >&5
19177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19178 (exit $ac_status); } &&
19179 { ac_try='test -z "$ac_cxx_werror_flag"
19180 || test ! -s conftest.err'
19181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19182 (eval $ac_try) 2>&5
19183 ac_status=$?
19184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19185 (exit $ac_status); }; } &&
19186 { ac_try='test -s conftest.$ac_objext'
19187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19188 (eval $ac_try) 2>&5
19189 ac_status=$?
19190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19191 (exit $ac_status); }; }; then
19192 glibcxx_cv_func_atan2l_use=yes
19193 else
19194 echo "$as_me: failed program was:" >&5
19195 sed 's/^/| /' conftest.$ac_ext >&5
19197 glibcxx_cv_func_atan2l_use=no
19199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19200 ac_ext=c
19201 ac_cpp='$CPP $CPPFLAGS'
19202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19210 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
19211 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
19213 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
19215 for ac_func in atan2l
19217 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19218 echo "$as_me:$LINENO: checking for $ac_func" >&5
19219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19220 if eval "test \"\${$as_ac_var+set}\" = set"; then
19221 echo $ECHO_N "(cached) $ECHO_C" >&6
19222 else
19223 if test x$gcc_no_link = xyes; then
19224 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19225 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19226 { (exit 1); exit 1; }; }
19228 cat >conftest.$ac_ext <<_ACEOF
19229 /* confdefs.h. */
19230 _ACEOF
19231 cat confdefs.h >>conftest.$ac_ext
19232 cat >>conftest.$ac_ext <<_ACEOF
19233 /* end confdefs.h. */
19234 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19235 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19236 #define $ac_func innocuous_$ac_func
19238 /* System header to define __stub macros and hopefully few prototypes,
19239 which can conflict with char $ac_func (); below.
19240 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19241 <limits.h> exists even on freestanding compilers. */
19243 #ifdef __STDC__
19244 # include <limits.h>
19245 #else
19246 # include <assert.h>
19247 #endif
19249 #undef $ac_func
19251 /* Override any gcc2 internal prototype to avoid an error. */
19252 #ifdef __cplusplus
19253 extern "C"
19255 #endif
19256 /* We use char because int might match the return type of a gcc2
19257 builtin and then its argument prototype would still apply. */
19258 char $ac_func ();
19259 /* The GNU C library defines this for functions which it implements
19260 to always fail with ENOSYS. Some functions are actually named
19261 something starting with __ and the normal name is an alias. */
19262 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19263 choke me
19264 #else
19265 char (*f) () = $ac_func;
19266 #endif
19267 #ifdef __cplusplus
19269 #endif
19272 main ()
19274 return f != $ac_func;
19276 return 0;
19278 _ACEOF
19279 rm -f conftest.$ac_objext conftest$ac_exeext
19280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19281 (eval $ac_link) 2>conftest.er1
19282 ac_status=$?
19283 grep -v '^ *+' conftest.er1 >conftest.err
19284 rm -f conftest.er1
19285 cat conftest.err >&5
19286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19287 (exit $ac_status); } &&
19288 { ac_try='test -z "$ac_c_werror_flag"
19289 || test ! -s conftest.err'
19290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19291 (eval $ac_try) 2>&5
19292 ac_status=$?
19293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19294 (exit $ac_status); }; } &&
19295 { ac_try='test -s conftest$ac_exeext'
19296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19297 (eval $ac_try) 2>&5
19298 ac_status=$?
19299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19300 (exit $ac_status); }; }; then
19301 eval "$as_ac_var=yes"
19302 else
19303 echo "$as_me: failed program was:" >&5
19304 sed 's/^/| /' conftest.$ac_ext >&5
19306 eval "$as_ac_var=no"
19308 rm -f conftest.err conftest.$ac_objext \
19309 conftest$ac_exeext conftest.$ac_ext
19311 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19312 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19313 if test `eval echo '${'$as_ac_var'}'` = yes; then
19314 cat >>confdefs.h <<_ACEOF
19315 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19316 _ACEOF
19319 done
19321 else
19323 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
19324 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
19325 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
19326 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
19327 echo $ECHO_N "(cached) $ECHO_C" >&6
19328 else
19332 ac_ext=cc
19333 ac_cpp='$CXXCPP $CPPFLAGS'
19334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19338 cat >conftest.$ac_ext <<_ACEOF
19339 /* confdefs.h. */
19340 _ACEOF
19341 cat confdefs.h >>conftest.$ac_ext
19342 cat >>conftest.$ac_ext <<_ACEOF
19343 /* end confdefs.h. */
19344 #include <math.h>
19346 main ()
19348 _atan2l(0, 0);
19350 return 0;
19352 _ACEOF
19353 rm -f conftest.$ac_objext
19354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19355 (eval $ac_compile) 2>conftest.er1
19356 ac_status=$?
19357 grep -v '^ *+' conftest.er1 >conftest.err
19358 rm -f conftest.er1
19359 cat conftest.err >&5
19360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19361 (exit $ac_status); } &&
19362 { ac_try='test -z "$ac_cxx_werror_flag"
19363 || test ! -s conftest.err'
19364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19365 (eval $ac_try) 2>&5
19366 ac_status=$?
19367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19368 (exit $ac_status); }; } &&
19369 { ac_try='test -s conftest.$ac_objext'
19370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19371 (eval $ac_try) 2>&5
19372 ac_status=$?
19373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19374 (exit $ac_status); }; }; then
19375 glibcxx_cv_func__atan2l_use=yes
19376 else
19377 echo "$as_me: failed program was:" >&5
19378 sed 's/^/| /' conftest.$ac_ext >&5
19380 glibcxx_cv_func__atan2l_use=no
19382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19383 ac_ext=c
19384 ac_cpp='$CPP $CPPFLAGS'
19385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19393 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
19394 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
19396 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
19398 for ac_func in _atan2l
19400 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19401 echo "$as_me:$LINENO: checking for $ac_func" >&5
19402 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19403 if eval "test \"\${$as_ac_var+set}\" = set"; then
19404 echo $ECHO_N "(cached) $ECHO_C" >&6
19405 else
19406 if test x$gcc_no_link = xyes; then
19407 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19408 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19409 { (exit 1); exit 1; }; }
19411 cat >conftest.$ac_ext <<_ACEOF
19412 /* confdefs.h. */
19413 _ACEOF
19414 cat confdefs.h >>conftest.$ac_ext
19415 cat >>conftest.$ac_ext <<_ACEOF
19416 /* end confdefs.h. */
19417 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19418 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19419 #define $ac_func innocuous_$ac_func
19421 /* System header to define __stub macros and hopefully few prototypes,
19422 which can conflict with char $ac_func (); below.
19423 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19424 <limits.h> exists even on freestanding compilers. */
19426 #ifdef __STDC__
19427 # include <limits.h>
19428 #else
19429 # include <assert.h>
19430 #endif
19432 #undef $ac_func
19434 /* Override any gcc2 internal prototype to avoid an error. */
19435 #ifdef __cplusplus
19436 extern "C"
19438 #endif
19439 /* We use char because int might match the return type of a gcc2
19440 builtin and then its argument prototype would still apply. */
19441 char $ac_func ();
19442 /* The GNU C library defines this for functions which it implements
19443 to always fail with ENOSYS. Some functions are actually named
19444 something starting with __ and the normal name is an alias. */
19445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19446 choke me
19447 #else
19448 char (*f) () = $ac_func;
19449 #endif
19450 #ifdef __cplusplus
19452 #endif
19455 main ()
19457 return f != $ac_func;
19459 return 0;
19461 _ACEOF
19462 rm -f conftest.$ac_objext conftest$ac_exeext
19463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19464 (eval $ac_link) 2>conftest.er1
19465 ac_status=$?
19466 grep -v '^ *+' conftest.er1 >conftest.err
19467 rm -f conftest.er1
19468 cat conftest.err >&5
19469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19470 (exit $ac_status); } &&
19471 { ac_try='test -z "$ac_c_werror_flag"
19472 || test ! -s conftest.err'
19473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19474 (eval $ac_try) 2>&5
19475 ac_status=$?
19476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19477 (exit $ac_status); }; } &&
19478 { ac_try='test -s conftest$ac_exeext'
19479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19480 (eval $ac_try) 2>&5
19481 ac_status=$?
19482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19483 (exit $ac_status); }; }; then
19484 eval "$as_ac_var=yes"
19485 else
19486 echo "$as_me: failed program was:" >&5
19487 sed 's/^/| /' conftest.$ac_ext >&5
19489 eval "$as_ac_var=no"
19491 rm -f conftest.err conftest.$ac_objext \
19492 conftest$ac_exeext conftest.$ac_ext
19494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19495 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19496 if test `eval echo '${'$as_ac_var'}'` = yes; then
19497 cat >>confdefs.h <<_ACEOF
19498 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19499 _ACEOF
19502 done
19509 echo "$as_me:$LINENO: checking for expl declaration" >&5
19510 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
19511 if test x${glibcxx_cv_func_expl_use+set} != xset; then
19512 if test "${glibcxx_cv_func_expl_use+set}" = set; then
19513 echo $ECHO_N "(cached) $ECHO_C" >&6
19514 else
19518 ac_ext=cc
19519 ac_cpp='$CXXCPP $CPPFLAGS'
19520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19524 cat >conftest.$ac_ext <<_ACEOF
19525 /* confdefs.h. */
19526 _ACEOF
19527 cat confdefs.h >>conftest.$ac_ext
19528 cat >>conftest.$ac_ext <<_ACEOF
19529 /* end confdefs.h. */
19530 #include <math.h>
19531 #ifdef HAVE_IEEEFP_H
19532 #include <ieeefp.h>
19533 #endif
19536 main ()
19538 expl(0);
19540 return 0;
19542 _ACEOF
19543 rm -f conftest.$ac_objext
19544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19545 (eval $ac_compile) 2>conftest.er1
19546 ac_status=$?
19547 grep -v '^ *+' conftest.er1 >conftest.err
19548 rm -f conftest.er1
19549 cat conftest.err >&5
19550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19551 (exit $ac_status); } &&
19552 { ac_try='test -z "$ac_cxx_werror_flag"
19553 || test ! -s conftest.err'
19554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19555 (eval $ac_try) 2>&5
19556 ac_status=$?
19557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19558 (exit $ac_status); }; } &&
19559 { ac_try='test -s conftest.$ac_objext'
19560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19561 (eval $ac_try) 2>&5
19562 ac_status=$?
19563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19564 (exit $ac_status); }; }; then
19565 glibcxx_cv_func_expl_use=yes
19566 else
19567 echo "$as_me: failed program was:" >&5
19568 sed 's/^/| /' conftest.$ac_ext >&5
19570 glibcxx_cv_func_expl_use=no
19572 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19573 ac_ext=c
19574 ac_cpp='$CPP $CPPFLAGS'
19575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19583 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
19584 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
19586 if test x$glibcxx_cv_func_expl_use = x"yes"; then
19588 for ac_func in expl
19590 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19591 echo "$as_me:$LINENO: checking for $ac_func" >&5
19592 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19593 if eval "test \"\${$as_ac_var+set}\" = set"; then
19594 echo $ECHO_N "(cached) $ECHO_C" >&6
19595 else
19596 if test x$gcc_no_link = xyes; then
19597 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19598 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19599 { (exit 1); exit 1; }; }
19601 cat >conftest.$ac_ext <<_ACEOF
19602 /* confdefs.h. */
19603 _ACEOF
19604 cat confdefs.h >>conftest.$ac_ext
19605 cat >>conftest.$ac_ext <<_ACEOF
19606 /* end confdefs.h. */
19607 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19609 #define $ac_func innocuous_$ac_func
19611 /* System header to define __stub macros and hopefully few prototypes,
19612 which can conflict with char $ac_func (); below.
19613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19614 <limits.h> exists even on freestanding compilers. */
19616 #ifdef __STDC__
19617 # include <limits.h>
19618 #else
19619 # include <assert.h>
19620 #endif
19622 #undef $ac_func
19624 /* Override any gcc2 internal prototype to avoid an error. */
19625 #ifdef __cplusplus
19626 extern "C"
19628 #endif
19629 /* We use char because int might match the return type of a gcc2
19630 builtin and then its argument prototype would still apply. */
19631 char $ac_func ();
19632 /* The GNU C library defines this for functions which it implements
19633 to always fail with ENOSYS. Some functions are actually named
19634 something starting with __ and the normal name is an alias. */
19635 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19636 choke me
19637 #else
19638 char (*f) () = $ac_func;
19639 #endif
19640 #ifdef __cplusplus
19642 #endif
19645 main ()
19647 return f != $ac_func;
19649 return 0;
19651 _ACEOF
19652 rm -f conftest.$ac_objext conftest$ac_exeext
19653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19654 (eval $ac_link) 2>conftest.er1
19655 ac_status=$?
19656 grep -v '^ *+' conftest.er1 >conftest.err
19657 rm -f conftest.er1
19658 cat conftest.err >&5
19659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19660 (exit $ac_status); } &&
19661 { ac_try='test -z "$ac_c_werror_flag"
19662 || test ! -s conftest.err'
19663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19664 (eval $ac_try) 2>&5
19665 ac_status=$?
19666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19667 (exit $ac_status); }; } &&
19668 { ac_try='test -s conftest$ac_exeext'
19669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19670 (eval $ac_try) 2>&5
19671 ac_status=$?
19672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19673 (exit $ac_status); }; }; then
19674 eval "$as_ac_var=yes"
19675 else
19676 echo "$as_me: failed program was:" >&5
19677 sed 's/^/| /' conftest.$ac_ext >&5
19679 eval "$as_ac_var=no"
19681 rm -f conftest.err conftest.$ac_objext \
19682 conftest$ac_exeext conftest.$ac_ext
19684 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19685 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19686 if test `eval echo '${'$as_ac_var'}'` = yes; then
19687 cat >>confdefs.h <<_ACEOF
19688 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19689 _ACEOF
19692 done
19694 else
19696 echo "$as_me:$LINENO: checking for _expl declaration" >&5
19697 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
19698 if test x${glibcxx_cv_func__expl_use+set} != xset; then
19699 if test "${glibcxx_cv_func__expl_use+set}" = set; then
19700 echo $ECHO_N "(cached) $ECHO_C" >&6
19701 else
19705 ac_ext=cc
19706 ac_cpp='$CXXCPP $CPPFLAGS'
19707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19711 cat >conftest.$ac_ext <<_ACEOF
19712 /* confdefs.h. */
19713 _ACEOF
19714 cat confdefs.h >>conftest.$ac_ext
19715 cat >>conftest.$ac_ext <<_ACEOF
19716 /* end confdefs.h. */
19717 #include <math.h>
19718 #ifdef HAVE_IEEEFP_H
19719 #include <ieeefp.h>
19720 #endif
19723 main ()
19725 _expl(0);
19727 return 0;
19729 _ACEOF
19730 rm -f conftest.$ac_objext
19731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19732 (eval $ac_compile) 2>conftest.er1
19733 ac_status=$?
19734 grep -v '^ *+' conftest.er1 >conftest.err
19735 rm -f conftest.er1
19736 cat conftest.err >&5
19737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19738 (exit $ac_status); } &&
19739 { ac_try='test -z "$ac_cxx_werror_flag"
19740 || test ! -s conftest.err'
19741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19742 (eval $ac_try) 2>&5
19743 ac_status=$?
19744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19745 (exit $ac_status); }; } &&
19746 { ac_try='test -s conftest.$ac_objext'
19747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19748 (eval $ac_try) 2>&5
19749 ac_status=$?
19750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19751 (exit $ac_status); }; }; then
19752 glibcxx_cv_func__expl_use=yes
19753 else
19754 echo "$as_me: failed program was:" >&5
19755 sed 's/^/| /' conftest.$ac_ext >&5
19757 glibcxx_cv_func__expl_use=no
19759 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19760 ac_ext=c
19761 ac_cpp='$CPP $CPPFLAGS'
19762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19770 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
19771 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
19773 if test x$glibcxx_cv_func__expl_use = x"yes"; then
19775 for ac_func in _expl
19777 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19778 echo "$as_me:$LINENO: checking for $ac_func" >&5
19779 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19780 if eval "test \"\${$as_ac_var+set}\" = set"; then
19781 echo $ECHO_N "(cached) $ECHO_C" >&6
19782 else
19783 if test x$gcc_no_link = xyes; then
19784 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19786 { (exit 1); exit 1; }; }
19788 cat >conftest.$ac_ext <<_ACEOF
19789 /* confdefs.h. */
19790 _ACEOF
19791 cat confdefs.h >>conftest.$ac_ext
19792 cat >>conftest.$ac_ext <<_ACEOF
19793 /* end confdefs.h. */
19794 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19795 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19796 #define $ac_func innocuous_$ac_func
19798 /* System header to define __stub macros and hopefully few prototypes,
19799 which can conflict with char $ac_func (); below.
19800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19801 <limits.h> exists even on freestanding compilers. */
19803 #ifdef __STDC__
19804 # include <limits.h>
19805 #else
19806 # include <assert.h>
19807 #endif
19809 #undef $ac_func
19811 /* Override any gcc2 internal prototype to avoid an error. */
19812 #ifdef __cplusplus
19813 extern "C"
19815 #endif
19816 /* We use char because int might match the return type of a gcc2
19817 builtin and then its argument prototype would still apply. */
19818 char $ac_func ();
19819 /* The GNU C library defines this for functions which it implements
19820 to always fail with ENOSYS. Some functions are actually named
19821 something starting with __ and the normal name is an alias. */
19822 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19823 choke me
19824 #else
19825 char (*f) () = $ac_func;
19826 #endif
19827 #ifdef __cplusplus
19829 #endif
19832 main ()
19834 return f != $ac_func;
19836 return 0;
19838 _ACEOF
19839 rm -f conftest.$ac_objext conftest$ac_exeext
19840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19841 (eval $ac_link) 2>conftest.er1
19842 ac_status=$?
19843 grep -v '^ *+' conftest.er1 >conftest.err
19844 rm -f conftest.er1
19845 cat conftest.err >&5
19846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19847 (exit $ac_status); } &&
19848 { ac_try='test -z "$ac_c_werror_flag"
19849 || test ! -s conftest.err'
19850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19851 (eval $ac_try) 2>&5
19852 ac_status=$?
19853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19854 (exit $ac_status); }; } &&
19855 { ac_try='test -s conftest$ac_exeext'
19856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19857 (eval $ac_try) 2>&5
19858 ac_status=$?
19859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19860 (exit $ac_status); }; }; then
19861 eval "$as_ac_var=yes"
19862 else
19863 echo "$as_me: failed program was:" >&5
19864 sed 's/^/| /' conftest.$ac_ext >&5
19866 eval "$as_ac_var=no"
19868 rm -f conftest.err conftest.$ac_objext \
19869 conftest$ac_exeext conftest.$ac_ext
19871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19872 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19873 if test `eval echo '${'$as_ac_var'}'` = yes; then
19874 cat >>confdefs.h <<_ACEOF
19875 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19876 _ACEOF
19879 done
19886 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
19887 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
19888 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
19889 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
19890 echo $ECHO_N "(cached) $ECHO_C" >&6
19891 else
19895 ac_ext=cc
19896 ac_cpp='$CXXCPP $CPPFLAGS'
19897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19901 cat >conftest.$ac_ext <<_ACEOF
19902 /* confdefs.h. */
19903 _ACEOF
19904 cat confdefs.h >>conftest.$ac_ext
19905 cat >>conftest.$ac_ext <<_ACEOF
19906 /* end confdefs.h. */
19907 #include <math.h>
19908 #ifdef HAVE_IEEEFP_H
19909 #include <ieeefp.h>
19910 #endif
19913 main ()
19915 fabsl(0);
19917 return 0;
19919 _ACEOF
19920 rm -f conftest.$ac_objext
19921 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19922 (eval $ac_compile) 2>conftest.er1
19923 ac_status=$?
19924 grep -v '^ *+' conftest.er1 >conftest.err
19925 rm -f conftest.er1
19926 cat conftest.err >&5
19927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19928 (exit $ac_status); } &&
19929 { ac_try='test -z "$ac_cxx_werror_flag"
19930 || test ! -s conftest.err'
19931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19932 (eval $ac_try) 2>&5
19933 ac_status=$?
19934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19935 (exit $ac_status); }; } &&
19936 { ac_try='test -s conftest.$ac_objext'
19937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19938 (eval $ac_try) 2>&5
19939 ac_status=$?
19940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19941 (exit $ac_status); }; }; then
19942 glibcxx_cv_func_fabsl_use=yes
19943 else
19944 echo "$as_me: failed program was:" >&5
19945 sed 's/^/| /' conftest.$ac_ext >&5
19947 glibcxx_cv_func_fabsl_use=no
19949 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19950 ac_ext=c
19951 ac_cpp='$CPP $CPPFLAGS'
19952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19960 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
19961 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
19963 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
19965 for ac_func in fabsl
19967 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19968 echo "$as_me:$LINENO: checking for $ac_func" >&5
19969 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19970 if eval "test \"\${$as_ac_var+set}\" = set"; then
19971 echo $ECHO_N "(cached) $ECHO_C" >&6
19972 else
19973 if test x$gcc_no_link = xyes; then
19974 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19976 { (exit 1); exit 1; }; }
19978 cat >conftest.$ac_ext <<_ACEOF
19979 /* confdefs.h. */
19980 _ACEOF
19981 cat confdefs.h >>conftest.$ac_ext
19982 cat >>conftest.$ac_ext <<_ACEOF
19983 /* end confdefs.h. */
19984 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19985 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19986 #define $ac_func innocuous_$ac_func
19988 /* System header to define __stub macros and hopefully few prototypes,
19989 which can conflict with char $ac_func (); below.
19990 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19991 <limits.h> exists even on freestanding compilers. */
19993 #ifdef __STDC__
19994 # include <limits.h>
19995 #else
19996 # include <assert.h>
19997 #endif
19999 #undef $ac_func
20001 /* Override any gcc2 internal prototype to avoid an error. */
20002 #ifdef __cplusplus
20003 extern "C"
20005 #endif
20006 /* We use char because int might match the return type of a gcc2
20007 builtin and then its argument prototype would still apply. */
20008 char $ac_func ();
20009 /* The GNU C library defines this for functions which it implements
20010 to always fail with ENOSYS. Some functions are actually named
20011 something starting with __ and the normal name is an alias. */
20012 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20013 choke me
20014 #else
20015 char (*f) () = $ac_func;
20016 #endif
20017 #ifdef __cplusplus
20019 #endif
20022 main ()
20024 return f != $ac_func;
20026 return 0;
20028 _ACEOF
20029 rm -f conftest.$ac_objext conftest$ac_exeext
20030 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20031 (eval $ac_link) 2>conftest.er1
20032 ac_status=$?
20033 grep -v '^ *+' conftest.er1 >conftest.err
20034 rm -f conftest.er1
20035 cat conftest.err >&5
20036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20037 (exit $ac_status); } &&
20038 { ac_try='test -z "$ac_c_werror_flag"
20039 || test ! -s conftest.err'
20040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20041 (eval $ac_try) 2>&5
20042 ac_status=$?
20043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20044 (exit $ac_status); }; } &&
20045 { ac_try='test -s conftest$ac_exeext'
20046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20047 (eval $ac_try) 2>&5
20048 ac_status=$?
20049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20050 (exit $ac_status); }; }; then
20051 eval "$as_ac_var=yes"
20052 else
20053 echo "$as_me: failed program was:" >&5
20054 sed 's/^/| /' conftest.$ac_ext >&5
20056 eval "$as_ac_var=no"
20058 rm -f conftest.err conftest.$ac_objext \
20059 conftest$ac_exeext conftest.$ac_ext
20061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20062 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20063 if test `eval echo '${'$as_ac_var'}'` = yes; then
20064 cat >>confdefs.h <<_ACEOF
20065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20066 _ACEOF
20069 done
20071 else
20073 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
20074 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
20075 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
20076 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
20077 echo $ECHO_N "(cached) $ECHO_C" >&6
20078 else
20082 ac_ext=cc
20083 ac_cpp='$CXXCPP $CPPFLAGS'
20084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20088 cat >conftest.$ac_ext <<_ACEOF
20089 /* confdefs.h. */
20090 _ACEOF
20091 cat confdefs.h >>conftest.$ac_ext
20092 cat >>conftest.$ac_ext <<_ACEOF
20093 /* end confdefs.h. */
20094 #include <math.h>
20095 #ifdef HAVE_IEEEFP_H
20096 #include <ieeefp.h>
20097 #endif
20100 main ()
20102 _fabsl(0);
20104 return 0;
20106 _ACEOF
20107 rm -f conftest.$ac_objext
20108 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20109 (eval $ac_compile) 2>conftest.er1
20110 ac_status=$?
20111 grep -v '^ *+' conftest.er1 >conftest.err
20112 rm -f conftest.er1
20113 cat conftest.err >&5
20114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20115 (exit $ac_status); } &&
20116 { ac_try='test -z "$ac_cxx_werror_flag"
20117 || test ! -s conftest.err'
20118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20119 (eval $ac_try) 2>&5
20120 ac_status=$?
20121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20122 (exit $ac_status); }; } &&
20123 { ac_try='test -s conftest.$ac_objext'
20124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20125 (eval $ac_try) 2>&5
20126 ac_status=$?
20127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20128 (exit $ac_status); }; }; then
20129 glibcxx_cv_func__fabsl_use=yes
20130 else
20131 echo "$as_me: failed program was:" >&5
20132 sed 's/^/| /' conftest.$ac_ext >&5
20134 glibcxx_cv_func__fabsl_use=no
20136 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20137 ac_ext=c
20138 ac_cpp='$CPP $CPPFLAGS'
20139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20147 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
20148 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
20150 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
20152 for ac_func in _fabsl
20154 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20155 echo "$as_me:$LINENO: checking for $ac_func" >&5
20156 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20157 if eval "test \"\${$as_ac_var+set}\" = set"; then
20158 echo $ECHO_N "(cached) $ECHO_C" >&6
20159 else
20160 if test x$gcc_no_link = xyes; then
20161 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20162 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20163 { (exit 1); exit 1; }; }
20165 cat >conftest.$ac_ext <<_ACEOF
20166 /* confdefs.h. */
20167 _ACEOF
20168 cat confdefs.h >>conftest.$ac_ext
20169 cat >>conftest.$ac_ext <<_ACEOF
20170 /* end confdefs.h. */
20171 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20172 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20173 #define $ac_func innocuous_$ac_func
20175 /* System header to define __stub macros and hopefully few prototypes,
20176 which can conflict with char $ac_func (); below.
20177 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20178 <limits.h> exists even on freestanding compilers. */
20180 #ifdef __STDC__
20181 # include <limits.h>
20182 #else
20183 # include <assert.h>
20184 #endif
20186 #undef $ac_func
20188 /* Override any gcc2 internal prototype to avoid an error. */
20189 #ifdef __cplusplus
20190 extern "C"
20192 #endif
20193 /* We use char because int might match the return type of a gcc2
20194 builtin and then its argument prototype would still apply. */
20195 char $ac_func ();
20196 /* The GNU C library defines this for functions which it implements
20197 to always fail with ENOSYS. Some functions are actually named
20198 something starting with __ and the normal name is an alias. */
20199 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20200 choke me
20201 #else
20202 char (*f) () = $ac_func;
20203 #endif
20204 #ifdef __cplusplus
20206 #endif
20209 main ()
20211 return f != $ac_func;
20213 return 0;
20215 _ACEOF
20216 rm -f conftest.$ac_objext conftest$ac_exeext
20217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20218 (eval $ac_link) 2>conftest.er1
20219 ac_status=$?
20220 grep -v '^ *+' conftest.er1 >conftest.err
20221 rm -f conftest.er1
20222 cat conftest.err >&5
20223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20224 (exit $ac_status); } &&
20225 { ac_try='test -z "$ac_c_werror_flag"
20226 || test ! -s conftest.err'
20227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20228 (eval $ac_try) 2>&5
20229 ac_status=$?
20230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20231 (exit $ac_status); }; } &&
20232 { ac_try='test -s conftest$ac_exeext'
20233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20234 (eval $ac_try) 2>&5
20235 ac_status=$?
20236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20237 (exit $ac_status); }; }; then
20238 eval "$as_ac_var=yes"
20239 else
20240 echo "$as_me: failed program was:" >&5
20241 sed 's/^/| /' conftest.$ac_ext >&5
20243 eval "$as_ac_var=no"
20245 rm -f conftest.err conftest.$ac_objext \
20246 conftest$ac_exeext conftest.$ac_ext
20248 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20249 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20250 if test `eval echo '${'$as_ac_var'}'` = yes; then
20251 cat >>confdefs.h <<_ACEOF
20252 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20253 _ACEOF
20256 done
20263 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
20264 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
20265 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
20266 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
20267 echo $ECHO_N "(cached) $ECHO_C" >&6
20268 else
20272 ac_ext=cc
20273 ac_cpp='$CXXCPP $CPPFLAGS'
20274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20278 cat >conftest.$ac_ext <<_ACEOF
20279 /* confdefs.h. */
20280 _ACEOF
20281 cat confdefs.h >>conftest.$ac_ext
20282 cat >>conftest.$ac_ext <<_ACEOF
20283 /* end confdefs.h. */
20284 #include <math.h>
20286 main ()
20288 fmodl(0, 0);
20290 return 0;
20292 _ACEOF
20293 rm -f conftest.$ac_objext
20294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20295 (eval $ac_compile) 2>conftest.er1
20296 ac_status=$?
20297 grep -v '^ *+' conftest.er1 >conftest.err
20298 rm -f conftest.er1
20299 cat conftest.err >&5
20300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20301 (exit $ac_status); } &&
20302 { ac_try='test -z "$ac_cxx_werror_flag"
20303 || test ! -s conftest.err'
20304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20305 (eval $ac_try) 2>&5
20306 ac_status=$?
20307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20308 (exit $ac_status); }; } &&
20309 { ac_try='test -s conftest.$ac_objext'
20310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20311 (eval $ac_try) 2>&5
20312 ac_status=$?
20313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20314 (exit $ac_status); }; }; then
20315 glibcxx_cv_func_fmodl_use=yes
20316 else
20317 echo "$as_me: failed program was:" >&5
20318 sed 's/^/| /' conftest.$ac_ext >&5
20320 glibcxx_cv_func_fmodl_use=no
20322 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20323 ac_ext=c
20324 ac_cpp='$CPP $CPPFLAGS'
20325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20333 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
20334 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
20336 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
20338 for ac_func in fmodl
20340 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20341 echo "$as_me:$LINENO: checking for $ac_func" >&5
20342 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20343 if eval "test \"\${$as_ac_var+set}\" = set"; then
20344 echo $ECHO_N "(cached) $ECHO_C" >&6
20345 else
20346 if test x$gcc_no_link = xyes; then
20347 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20348 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20349 { (exit 1); exit 1; }; }
20351 cat >conftest.$ac_ext <<_ACEOF
20352 /* confdefs.h. */
20353 _ACEOF
20354 cat confdefs.h >>conftest.$ac_ext
20355 cat >>conftest.$ac_ext <<_ACEOF
20356 /* end confdefs.h. */
20357 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20358 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20359 #define $ac_func innocuous_$ac_func
20361 /* System header to define __stub macros and hopefully few prototypes,
20362 which can conflict with char $ac_func (); below.
20363 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20364 <limits.h> exists even on freestanding compilers. */
20366 #ifdef __STDC__
20367 # include <limits.h>
20368 #else
20369 # include <assert.h>
20370 #endif
20372 #undef $ac_func
20374 /* Override any gcc2 internal prototype to avoid an error. */
20375 #ifdef __cplusplus
20376 extern "C"
20378 #endif
20379 /* We use char because int might match the return type of a gcc2
20380 builtin and then its argument prototype would still apply. */
20381 char $ac_func ();
20382 /* The GNU C library defines this for functions which it implements
20383 to always fail with ENOSYS. Some functions are actually named
20384 something starting with __ and the normal name is an alias. */
20385 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20386 choke me
20387 #else
20388 char (*f) () = $ac_func;
20389 #endif
20390 #ifdef __cplusplus
20392 #endif
20395 main ()
20397 return f != $ac_func;
20399 return 0;
20401 _ACEOF
20402 rm -f conftest.$ac_objext conftest$ac_exeext
20403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20404 (eval $ac_link) 2>conftest.er1
20405 ac_status=$?
20406 grep -v '^ *+' conftest.er1 >conftest.err
20407 rm -f conftest.er1
20408 cat conftest.err >&5
20409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20410 (exit $ac_status); } &&
20411 { ac_try='test -z "$ac_c_werror_flag"
20412 || test ! -s conftest.err'
20413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20414 (eval $ac_try) 2>&5
20415 ac_status=$?
20416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20417 (exit $ac_status); }; } &&
20418 { ac_try='test -s conftest$ac_exeext'
20419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20420 (eval $ac_try) 2>&5
20421 ac_status=$?
20422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20423 (exit $ac_status); }; }; then
20424 eval "$as_ac_var=yes"
20425 else
20426 echo "$as_me: failed program was:" >&5
20427 sed 's/^/| /' conftest.$ac_ext >&5
20429 eval "$as_ac_var=no"
20431 rm -f conftest.err conftest.$ac_objext \
20432 conftest$ac_exeext conftest.$ac_ext
20434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20435 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20436 if test `eval echo '${'$as_ac_var'}'` = yes; then
20437 cat >>confdefs.h <<_ACEOF
20438 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20439 _ACEOF
20442 done
20444 else
20446 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
20447 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
20448 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
20449 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
20450 echo $ECHO_N "(cached) $ECHO_C" >&6
20451 else
20455 ac_ext=cc
20456 ac_cpp='$CXXCPP $CPPFLAGS'
20457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20461 cat >conftest.$ac_ext <<_ACEOF
20462 /* confdefs.h. */
20463 _ACEOF
20464 cat confdefs.h >>conftest.$ac_ext
20465 cat >>conftest.$ac_ext <<_ACEOF
20466 /* end confdefs.h. */
20467 #include <math.h>
20469 main ()
20471 _fmodl(0, 0);
20473 return 0;
20475 _ACEOF
20476 rm -f conftest.$ac_objext
20477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20478 (eval $ac_compile) 2>conftest.er1
20479 ac_status=$?
20480 grep -v '^ *+' conftest.er1 >conftest.err
20481 rm -f conftest.er1
20482 cat conftest.err >&5
20483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20484 (exit $ac_status); } &&
20485 { ac_try='test -z "$ac_cxx_werror_flag"
20486 || test ! -s conftest.err'
20487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20488 (eval $ac_try) 2>&5
20489 ac_status=$?
20490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20491 (exit $ac_status); }; } &&
20492 { ac_try='test -s conftest.$ac_objext'
20493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20494 (eval $ac_try) 2>&5
20495 ac_status=$?
20496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20497 (exit $ac_status); }; }; then
20498 glibcxx_cv_func__fmodl_use=yes
20499 else
20500 echo "$as_me: failed program was:" >&5
20501 sed 's/^/| /' conftest.$ac_ext >&5
20503 glibcxx_cv_func__fmodl_use=no
20505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20506 ac_ext=c
20507 ac_cpp='$CPP $CPPFLAGS'
20508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20516 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
20517 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
20519 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
20521 for ac_func in _fmodl
20523 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20524 echo "$as_me:$LINENO: checking for $ac_func" >&5
20525 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20526 if eval "test \"\${$as_ac_var+set}\" = set"; then
20527 echo $ECHO_N "(cached) $ECHO_C" >&6
20528 else
20529 if test x$gcc_no_link = xyes; then
20530 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20531 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20532 { (exit 1); exit 1; }; }
20534 cat >conftest.$ac_ext <<_ACEOF
20535 /* confdefs.h. */
20536 _ACEOF
20537 cat confdefs.h >>conftest.$ac_ext
20538 cat >>conftest.$ac_ext <<_ACEOF
20539 /* end confdefs.h. */
20540 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20541 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20542 #define $ac_func innocuous_$ac_func
20544 /* System header to define __stub macros and hopefully few prototypes,
20545 which can conflict with char $ac_func (); below.
20546 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20547 <limits.h> exists even on freestanding compilers. */
20549 #ifdef __STDC__
20550 # include <limits.h>
20551 #else
20552 # include <assert.h>
20553 #endif
20555 #undef $ac_func
20557 /* Override any gcc2 internal prototype to avoid an error. */
20558 #ifdef __cplusplus
20559 extern "C"
20561 #endif
20562 /* We use char because int might match the return type of a gcc2
20563 builtin and then its argument prototype would still apply. */
20564 char $ac_func ();
20565 /* The GNU C library defines this for functions which it implements
20566 to always fail with ENOSYS. Some functions are actually named
20567 something starting with __ and the normal name is an alias. */
20568 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20569 choke me
20570 #else
20571 char (*f) () = $ac_func;
20572 #endif
20573 #ifdef __cplusplus
20575 #endif
20578 main ()
20580 return f != $ac_func;
20582 return 0;
20584 _ACEOF
20585 rm -f conftest.$ac_objext conftest$ac_exeext
20586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20587 (eval $ac_link) 2>conftest.er1
20588 ac_status=$?
20589 grep -v '^ *+' conftest.er1 >conftest.err
20590 rm -f conftest.er1
20591 cat conftest.err >&5
20592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20593 (exit $ac_status); } &&
20594 { ac_try='test -z "$ac_c_werror_flag"
20595 || test ! -s conftest.err'
20596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20597 (eval $ac_try) 2>&5
20598 ac_status=$?
20599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20600 (exit $ac_status); }; } &&
20601 { ac_try='test -s conftest$ac_exeext'
20602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20603 (eval $ac_try) 2>&5
20604 ac_status=$?
20605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20606 (exit $ac_status); }; }; then
20607 eval "$as_ac_var=yes"
20608 else
20609 echo "$as_me: failed program was:" >&5
20610 sed 's/^/| /' conftest.$ac_ext >&5
20612 eval "$as_ac_var=no"
20614 rm -f conftest.err conftest.$ac_objext \
20615 conftest$ac_exeext conftest.$ac_ext
20617 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20618 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20619 if test `eval echo '${'$as_ac_var'}'` = yes; then
20620 cat >>confdefs.h <<_ACEOF
20621 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20622 _ACEOF
20625 done
20632 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
20633 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
20634 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
20635 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
20636 echo $ECHO_N "(cached) $ECHO_C" >&6
20637 else
20641 ac_ext=cc
20642 ac_cpp='$CXXCPP $CPPFLAGS'
20643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20647 cat >conftest.$ac_ext <<_ACEOF
20648 /* confdefs.h. */
20649 _ACEOF
20650 cat confdefs.h >>conftest.$ac_ext
20651 cat >>conftest.$ac_ext <<_ACEOF
20652 /* end confdefs.h. */
20653 #include <math.h>
20655 main ()
20657 frexpl(0, 0);
20659 return 0;
20661 _ACEOF
20662 rm -f conftest.$ac_objext
20663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20664 (eval $ac_compile) 2>conftest.er1
20665 ac_status=$?
20666 grep -v '^ *+' conftest.er1 >conftest.err
20667 rm -f conftest.er1
20668 cat conftest.err >&5
20669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20670 (exit $ac_status); } &&
20671 { ac_try='test -z "$ac_cxx_werror_flag"
20672 || test ! -s conftest.err'
20673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20674 (eval $ac_try) 2>&5
20675 ac_status=$?
20676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20677 (exit $ac_status); }; } &&
20678 { ac_try='test -s conftest.$ac_objext'
20679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20680 (eval $ac_try) 2>&5
20681 ac_status=$?
20682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20683 (exit $ac_status); }; }; then
20684 glibcxx_cv_func_frexpl_use=yes
20685 else
20686 echo "$as_me: failed program was:" >&5
20687 sed 's/^/| /' conftest.$ac_ext >&5
20689 glibcxx_cv_func_frexpl_use=no
20691 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20692 ac_ext=c
20693 ac_cpp='$CPP $CPPFLAGS'
20694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20702 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
20703 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
20705 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
20707 for ac_func in frexpl
20709 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20710 echo "$as_me:$LINENO: checking for $ac_func" >&5
20711 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20712 if eval "test \"\${$as_ac_var+set}\" = set"; then
20713 echo $ECHO_N "(cached) $ECHO_C" >&6
20714 else
20715 if test x$gcc_no_link = xyes; then
20716 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20717 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20718 { (exit 1); exit 1; }; }
20720 cat >conftest.$ac_ext <<_ACEOF
20721 /* confdefs.h. */
20722 _ACEOF
20723 cat confdefs.h >>conftest.$ac_ext
20724 cat >>conftest.$ac_ext <<_ACEOF
20725 /* end confdefs.h. */
20726 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20727 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20728 #define $ac_func innocuous_$ac_func
20730 /* System header to define __stub macros and hopefully few prototypes,
20731 which can conflict with char $ac_func (); below.
20732 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20733 <limits.h> exists even on freestanding compilers. */
20735 #ifdef __STDC__
20736 # include <limits.h>
20737 #else
20738 # include <assert.h>
20739 #endif
20741 #undef $ac_func
20743 /* Override any gcc2 internal prototype to avoid an error. */
20744 #ifdef __cplusplus
20745 extern "C"
20747 #endif
20748 /* We use char because int might match the return type of a gcc2
20749 builtin and then its argument prototype would still apply. */
20750 char $ac_func ();
20751 /* The GNU C library defines this for functions which it implements
20752 to always fail with ENOSYS. Some functions are actually named
20753 something starting with __ and the normal name is an alias. */
20754 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20755 choke me
20756 #else
20757 char (*f) () = $ac_func;
20758 #endif
20759 #ifdef __cplusplus
20761 #endif
20764 main ()
20766 return f != $ac_func;
20768 return 0;
20770 _ACEOF
20771 rm -f conftest.$ac_objext conftest$ac_exeext
20772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20773 (eval $ac_link) 2>conftest.er1
20774 ac_status=$?
20775 grep -v '^ *+' conftest.er1 >conftest.err
20776 rm -f conftest.er1
20777 cat conftest.err >&5
20778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20779 (exit $ac_status); } &&
20780 { ac_try='test -z "$ac_c_werror_flag"
20781 || test ! -s conftest.err'
20782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20783 (eval $ac_try) 2>&5
20784 ac_status=$?
20785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20786 (exit $ac_status); }; } &&
20787 { ac_try='test -s conftest$ac_exeext'
20788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20789 (eval $ac_try) 2>&5
20790 ac_status=$?
20791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20792 (exit $ac_status); }; }; then
20793 eval "$as_ac_var=yes"
20794 else
20795 echo "$as_me: failed program was:" >&5
20796 sed 's/^/| /' conftest.$ac_ext >&5
20798 eval "$as_ac_var=no"
20800 rm -f conftest.err conftest.$ac_objext \
20801 conftest$ac_exeext conftest.$ac_ext
20803 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20804 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20805 if test `eval echo '${'$as_ac_var'}'` = yes; then
20806 cat >>confdefs.h <<_ACEOF
20807 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20808 _ACEOF
20811 done
20813 else
20815 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
20816 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
20817 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
20818 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
20819 echo $ECHO_N "(cached) $ECHO_C" >&6
20820 else
20824 ac_ext=cc
20825 ac_cpp='$CXXCPP $CPPFLAGS'
20826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20830 cat >conftest.$ac_ext <<_ACEOF
20831 /* confdefs.h. */
20832 _ACEOF
20833 cat confdefs.h >>conftest.$ac_ext
20834 cat >>conftest.$ac_ext <<_ACEOF
20835 /* end confdefs.h. */
20836 #include <math.h>
20838 main ()
20840 _frexpl(0, 0);
20842 return 0;
20844 _ACEOF
20845 rm -f conftest.$ac_objext
20846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20847 (eval $ac_compile) 2>conftest.er1
20848 ac_status=$?
20849 grep -v '^ *+' conftest.er1 >conftest.err
20850 rm -f conftest.er1
20851 cat conftest.err >&5
20852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20853 (exit $ac_status); } &&
20854 { ac_try='test -z "$ac_cxx_werror_flag"
20855 || test ! -s conftest.err'
20856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20857 (eval $ac_try) 2>&5
20858 ac_status=$?
20859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20860 (exit $ac_status); }; } &&
20861 { ac_try='test -s conftest.$ac_objext'
20862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20863 (eval $ac_try) 2>&5
20864 ac_status=$?
20865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20866 (exit $ac_status); }; }; then
20867 glibcxx_cv_func__frexpl_use=yes
20868 else
20869 echo "$as_me: failed program was:" >&5
20870 sed 's/^/| /' conftest.$ac_ext >&5
20872 glibcxx_cv_func__frexpl_use=no
20874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20875 ac_ext=c
20876 ac_cpp='$CPP $CPPFLAGS'
20877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20885 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
20886 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
20888 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
20890 for ac_func in _frexpl
20892 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20893 echo "$as_me:$LINENO: checking for $ac_func" >&5
20894 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20895 if eval "test \"\${$as_ac_var+set}\" = set"; then
20896 echo $ECHO_N "(cached) $ECHO_C" >&6
20897 else
20898 if test x$gcc_no_link = xyes; then
20899 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20900 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20901 { (exit 1); exit 1; }; }
20903 cat >conftest.$ac_ext <<_ACEOF
20904 /* confdefs.h. */
20905 _ACEOF
20906 cat confdefs.h >>conftest.$ac_ext
20907 cat >>conftest.$ac_ext <<_ACEOF
20908 /* end confdefs.h. */
20909 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20910 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20911 #define $ac_func innocuous_$ac_func
20913 /* System header to define __stub macros and hopefully few prototypes,
20914 which can conflict with char $ac_func (); below.
20915 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20916 <limits.h> exists even on freestanding compilers. */
20918 #ifdef __STDC__
20919 # include <limits.h>
20920 #else
20921 # include <assert.h>
20922 #endif
20924 #undef $ac_func
20926 /* Override any gcc2 internal prototype to avoid an error. */
20927 #ifdef __cplusplus
20928 extern "C"
20930 #endif
20931 /* We use char because int might match the return type of a gcc2
20932 builtin and then its argument prototype would still apply. */
20933 char $ac_func ();
20934 /* The GNU C library defines this for functions which it implements
20935 to always fail with ENOSYS. Some functions are actually named
20936 something starting with __ and the normal name is an alias. */
20937 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20938 choke me
20939 #else
20940 char (*f) () = $ac_func;
20941 #endif
20942 #ifdef __cplusplus
20944 #endif
20947 main ()
20949 return f != $ac_func;
20951 return 0;
20953 _ACEOF
20954 rm -f conftest.$ac_objext conftest$ac_exeext
20955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20956 (eval $ac_link) 2>conftest.er1
20957 ac_status=$?
20958 grep -v '^ *+' conftest.er1 >conftest.err
20959 rm -f conftest.er1
20960 cat conftest.err >&5
20961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20962 (exit $ac_status); } &&
20963 { ac_try='test -z "$ac_c_werror_flag"
20964 || test ! -s conftest.err'
20965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20966 (eval $ac_try) 2>&5
20967 ac_status=$?
20968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20969 (exit $ac_status); }; } &&
20970 { ac_try='test -s conftest$ac_exeext'
20971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20972 (eval $ac_try) 2>&5
20973 ac_status=$?
20974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20975 (exit $ac_status); }; }; then
20976 eval "$as_ac_var=yes"
20977 else
20978 echo "$as_me: failed program was:" >&5
20979 sed 's/^/| /' conftest.$ac_ext >&5
20981 eval "$as_ac_var=no"
20983 rm -f conftest.err conftest.$ac_objext \
20984 conftest$ac_exeext conftest.$ac_ext
20986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20987 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20988 if test `eval echo '${'$as_ac_var'}'` = yes; then
20989 cat >>confdefs.h <<_ACEOF
20990 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20991 _ACEOF
20994 done
21001 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
21002 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
21003 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
21004 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
21005 echo $ECHO_N "(cached) $ECHO_C" >&6
21006 else
21010 ac_ext=cc
21011 ac_cpp='$CXXCPP $CPPFLAGS'
21012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21016 cat >conftest.$ac_ext <<_ACEOF
21017 /* confdefs.h. */
21018 _ACEOF
21019 cat confdefs.h >>conftest.$ac_ext
21020 cat >>conftest.$ac_ext <<_ACEOF
21021 /* end confdefs.h. */
21022 #include <math.h>
21024 main ()
21026 hypotl(0, 0);
21028 return 0;
21030 _ACEOF
21031 rm -f conftest.$ac_objext
21032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21033 (eval $ac_compile) 2>conftest.er1
21034 ac_status=$?
21035 grep -v '^ *+' conftest.er1 >conftest.err
21036 rm -f conftest.er1
21037 cat conftest.err >&5
21038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21039 (exit $ac_status); } &&
21040 { ac_try='test -z "$ac_cxx_werror_flag"
21041 || test ! -s conftest.err'
21042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21043 (eval $ac_try) 2>&5
21044 ac_status=$?
21045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21046 (exit $ac_status); }; } &&
21047 { ac_try='test -s conftest.$ac_objext'
21048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21049 (eval $ac_try) 2>&5
21050 ac_status=$?
21051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21052 (exit $ac_status); }; }; then
21053 glibcxx_cv_func_hypotl_use=yes
21054 else
21055 echo "$as_me: failed program was:" >&5
21056 sed 's/^/| /' conftest.$ac_ext >&5
21058 glibcxx_cv_func_hypotl_use=no
21060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21061 ac_ext=c
21062 ac_cpp='$CPP $CPPFLAGS'
21063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21071 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
21072 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
21074 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
21076 for ac_func in hypotl
21078 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21079 echo "$as_me:$LINENO: checking for $ac_func" >&5
21080 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21081 if eval "test \"\${$as_ac_var+set}\" = set"; then
21082 echo $ECHO_N "(cached) $ECHO_C" >&6
21083 else
21084 if test x$gcc_no_link = xyes; then
21085 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21086 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21087 { (exit 1); exit 1; }; }
21089 cat >conftest.$ac_ext <<_ACEOF
21090 /* confdefs.h. */
21091 _ACEOF
21092 cat confdefs.h >>conftest.$ac_ext
21093 cat >>conftest.$ac_ext <<_ACEOF
21094 /* end confdefs.h. */
21095 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21096 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21097 #define $ac_func innocuous_$ac_func
21099 /* System header to define __stub macros and hopefully few prototypes,
21100 which can conflict with char $ac_func (); below.
21101 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21102 <limits.h> exists even on freestanding compilers. */
21104 #ifdef __STDC__
21105 # include <limits.h>
21106 #else
21107 # include <assert.h>
21108 #endif
21110 #undef $ac_func
21112 /* Override any gcc2 internal prototype to avoid an error. */
21113 #ifdef __cplusplus
21114 extern "C"
21116 #endif
21117 /* We use char because int might match the return type of a gcc2
21118 builtin and then its argument prototype would still apply. */
21119 char $ac_func ();
21120 /* The GNU C library defines this for functions which it implements
21121 to always fail with ENOSYS. Some functions are actually named
21122 something starting with __ and the normal name is an alias. */
21123 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21124 choke me
21125 #else
21126 char (*f) () = $ac_func;
21127 #endif
21128 #ifdef __cplusplus
21130 #endif
21133 main ()
21135 return f != $ac_func;
21137 return 0;
21139 _ACEOF
21140 rm -f conftest.$ac_objext conftest$ac_exeext
21141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21142 (eval $ac_link) 2>conftest.er1
21143 ac_status=$?
21144 grep -v '^ *+' conftest.er1 >conftest.err
21145 rm -f conftest.er1
21146 cat conftest.err >&5
21147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21148 (exit $ac_status); } &&
21149 { ac_try='test -z "$ac_c_werror_flag"
21150 || test ! -s conftest.err'
21151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21152 (eval $ac_try) 2>&5
21153 ac_status=$?
21154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21155 (exit $ac_status); }; } &&
21156 { ac_try='test -s conftest$ac_exeext'
21157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21158 (eval $ac_try) 2>&5
21159 ac_status=$?
21160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21161 (exit $ac_status); }; }; then
21162 eval "$as_ac_var=yes"
21163 else
21164 echo "$as_me: failed program was:" >&5
21165 sed 's/^/| /' conftest.$ac_ext >&5
21167 eval "$as_ac_var=no"
21169 rm -f conftest.err conftest.$ac_objext \
21170 conftest$ac_exeext conftest.$ac_ext
21172 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21173 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21174 if test `eval echo '${'$as_ac_var'}'` = yes; then
21175 cat >>confdefs.h <<_ACEOF
21176 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21177 _ACEOF
21180 done
21182 else
21184 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
21185 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
21186 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
21187 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
21188 echo $ECHO_N "(cached) $ECHO_C" >&6
21189 else
21193 ac_ext=cc
21194 ac_cpp='$CXXCPP $CPPFLAGS'
21195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21199 cat >conftest.$ac_ext <<_ACEOF
21200 /* confdefs.h. */
21201 _ACEOF
21202 cat confdefs.h >>conftest.$ac_ext
21203 cat >>conftest.$ac_ext <<_ACEOF
21204 /* end confdefs.h. */
21205 #include <math.h>
21207 main ()
21209 _hypotl(0, 0);
21211 return 0;
21213 _ACEOF
21214 rm -f conftest.$ac_objext
21215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21216 (eval $ac_compile) 2>conftest.er1
21217 ac_status=$?
21218 grep -v '^ *+' conftest.er1 >conftest.err
21219 rm -f conftest.er1
21220 cat conftest.err >&5
21221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21222 (exit $ac_status); } &&
21223 { ac_try='test -z "$ac_cxx_werror_flag"
21224 || test ! -s conftest.err'
21225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21226 (eval $ac_try) 2>&5
21227 ac_status=$?
21228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21229 (exit $ac_status); }; } &&
21230 { ac_try='test -s conftest.$ac_objext'
21231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21232 (eval $ac_try) 2>&5
21233 ac_status=$?
21234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21235 (exit $ac_status); }; }; then
21236 glibcxx_cv_func__hypotl_use=yes
21237 else
21238 echo "$as_me: failed program was:" >&5
21239 sed 's/^/| /' conftest.$ac_ext >&5
21241 glibcxx_cv_func__hypotl_use=no
21243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21244 ac_ext=c
21245 ac_cpp='$CPP $CPPFLAGS'
21246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21254 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
21255 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
21257 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
21259 for ac_func in _hypotl
21261 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21262 echo "$as_me:$LINENO: checking for $ac_func" >&5
21263 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21264 if eval "test \"\${$as_ac_var+set}\" = set"; then
21265 echo $ECHO_N "(cached) $ECHO_C" >&6
21266 else
21267 if test x$gcc_no_link = xyes; then
21268 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21269 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21270 { (exit 1); exit 1; }; }
21272 cat >conftest.$ac_ext <<_ACEOF
21273 /* confdefs.h. */
21274 _ACEOF
21275 cat confdefs.h >>conftest.$ac_ext
21276 cat >>conftest.$ac_ext <<_ACEOF
21277 /* end confdefs.h. */
21278 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21279 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21280 #define $ac_func innocuous_$ac_func
21282 /* System header to define __stub macros and hopefully few prototypes,
21283 which can conflict with char $ac_func (); below.
21284 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21285 <limits.h> exists even on freestanding compilers. */
21287 #ifdef __STDC__
21288 # include <limits.h>
21289 #else
21290 # include <assert.h>
21291 #endif
21293 #undef $ac_func
21295 /* Override any gcc2 internal prototype to avoid an error. */
21296 #ifdef __cplusplus
21297 extern "C"
21299 #endif
21300 /* We use char because int might match the return type of a gcc2
21301 builtin and then its argument prototype would still apply. */
21302 char $ac_func ();
21303 /* The GNU C library defines this for functions which it implements
21304 to always fail with ENOSYS. Some functions are actually named
21305 something starting with __ and the normal name is an alias. */
21306 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21307 choke me
21308 #else
21309 char (*f) () = $ac_func;
21310 #endif
21311 #ifdef __cplusplus
21313 #endif
21316 main ()
21318 return f != $ac_func;
21320 return 0;
21322 _ACEOF
21323 rm -f conftest.$ac_objext conftest$ac_exeext
21324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21325 (eval $ac_link) 2>conftest.er1
21326 ac_status=$?
21327 grep -v '^ *+' conftest.er1 >conftest.err
21328 rm -f conftest.er1
21329 cat conftest.err >&5
21330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21331 (exit $ac_status); } &&
21332 { ac_try='test -z "$ac_c_werror_flag"
21333 || test ! -s conftest.err'
21334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21335 (eval $ac_try) 2>&5
21336 ac_status=$?
21337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21338 (exit $ac_status); }; } &&
21339 { ac_try='test -s conftest$ac_exeext'
21340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21341 (eval $ac_try) 2>&5
21342 ac_status=$?
21343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21344 (exit $ac_status); }; }; then
21345 eval "$as_ac_var=yes"
21346 else
21347 echo "$as_me: failed program was:" >&5
21348 sed 's/^/| /' conftest.$ac_ext >&5
21350 eval "$as_ac_var=no"
21352 rm -f conftest.err conftest.$ac_objext \
21353 conftest$ac_exeext conftest.$ac_ext
21355 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21356 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21357 if test `eval echo '${'$as_ac_var'}'` = yes; then
21358 cat >>confdefs.h <<_ACEOF
21359 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21360 _ACEOF
21363 done
21370 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
21371 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
21372 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
21373 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
21374 echo $ECHO_N "(cached) $ECHO_C" >&6
21375 else
21379 ac_ext=cc
21380 ac_cpp='$CXXCPP $CPPFLAGS'
21381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21385 cat >conftest.$ac_ext <<_ACEOF
21386 /* confdefs.h. */
21387 _ACEOF
21388 cat confdefs.h >>conftest.$ac_ext
21389 cat >>conftest.$ac_ext <<_ACEOF
21390 /* end confdefs.h. */
21391 #include <math.h>
21393 main ()
21395 ldexpl(0, 0);
21397 return 0;
21399 _ACEOF
21400 rm -f conftest.$ac_objext
21401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21402 (eval $ac_compile) 2>conftest.er1
21403 ac_status=$?
21404 grep -v '^ *+' conftest.er1 >conftest.err
21405 rm -f conftest.er1
21406 cat conftest.err >&5
21407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21408 (exit $ac_status); } &&
21409 { ac_try='test -z "$ac_cxx_werror_flag"
21410 || test ! -s conftest.err'
21411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21412 (eval $ac_try) 2>&5
21413 ac_status=$?
21414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21415 (exit $ac_status); }; } &&
21416 { ac_try='test -s conftest.$ac_objext'
21417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21418 (eval $ac_try) 2>&5
21419 ac_status=$?
21420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21421 (exit $ac_status); }; }; then
21422 glibcxx_cv_func_ldexpl_use=yes
21423 else
21424 echo "$as_me: failed program was:" >&5
21425 sed 's/^/| /' conftest.$ac_ext >&5
21427 glibcxx_cv_func_ldexpl_use=no
21429 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21430 ac_ext=c
21431 ac_cpp='$CPP $CPPFLAGS'
21432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21440 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
21441 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
21443 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
21445 for ac_func in ldexpl
21447 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21448 echo "$as_me:$LINENO: checking for $ac_func" >&5
21449 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21450 if eval "test \"\${$as_ac_var+set}\" = set"; then
21451 echo $ECHO_N "(cached) $ECHO_C" >&6
21452 else
21453 if test x$gcc_no_link = xyes; then
21454 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21455 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21456 { (exit 1); exit 1; }; }
21458 cat >conftest.$ac_ext <<_ACEOF
21459 /* confdefs.h. */
21460 _ACEOF
21461 cat confdefs.h >>conftest.$ac_ext
21462 cat >>conftest.$ac_ext <<_ACEOF
21463 /* end confdefs.h. */
21464 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21465 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21466 #define $ac_func innocuous_$ac_func
21468 /* System header to define __stub macros and hopefully few prototypes,
21469 which can conflict with char $ac_func (); below.
21470 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21471 <limits.h> exists even on freestanding compilers. */
21473 #ifdef __STDC__
21474 # include <limits.h>
21475 #else
21476 # include <assert.h>
21477 #endif
21479 #undef $ac_func
21481 /* Override any gcc2 internal prototype to avoid an error. */
21482 #ifdef __cplusplus
21483 extern "C"
21485 #endif
21486 /* We use char because int might match the return type of a gcc2
21487 builtin and then its argument prototype would still apply. */
21488 char $ac_func ();
21489 /* The GNU C library defines this for functions which it implements
21490 to always fail with ENOSYS. Some functions are actually named
21491 something starting with __ and the normal name is an alias. */
21492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21493 choke me
21494 #else
21495 char (*f) () = $ac_func;
21496 #endif
21497 #ifdef __cplusplus
21499 #endif
21502 main ()
21504 return f != $ac_func;
21506 return 0;
21508 _ACEOF
21509 rm -f conftest.$ac_objext conftest$ac_exeext
21510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21511 (eval $ac_link) 2>conftest.er1
21512 ac_status=$?
21513 grep -v '^ *+' conftest.er1 >conftest.err
21514 rm -f conftest.er1
21515 cat conftest.err >&5
21516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21517 (exit $ac_status); } &&
21518 { ac_try='test -z "$ac_c_werror_flag"
21519 || test ! -s conftest.err'
21520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21521 (eval $ac_try) 2>&5
21522 ac_status=$?
21523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21524 (exit $ac_status); }; } &&
21525 { ac_try='test -s conftest$ac_exeext'
21526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21527 (eval $ac_try) 2>&5
21528 ac_status=$?
21529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21530 (exit $ac_status); }; }; then
21531 eval "$as_ac_var=yes"
21532 else
21533 echo "$as_me: failed program was:" >&5
21534 sed 's/^/| /' conftest.$ac_ext >&5
21536 eval "$as_ac_var=no"
21538 rm -f conftest.err conftest.$ac_objext \
21539 conftest$ac_exeext conftest.$ac_ext
21541 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21542 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21543 if test `eval echo '${'$as_ac_var'}'` = yes; then
21544 cat >>confdefs.h <<_ACEOF
21545 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21546 _ACEOF
21549 done
21551 else
21553 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
21554 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
21555 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
21556 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
21557 echo $ECHO_N "(cached) $ECHO_C" >&6
21558 else
21562 ac_ext=cc
21563 ac_cpp='$CXXCPP $CPPFLAGS'
21564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21568 cat >conftest.$ac_ext <<_ACEOF
21569 /* confdefs.h. */
21570 _ACEOF
21571 cat confdefs.h >>conftest.$ac_ext
21572 cat >>conftest.$ac_ext <<_ACEOF
21573 /* end confdefs.h. */
21574 #include <math.h>
21576 main ()
21578 _ldexpl(0, 0);
21580 return 0;
21582 _ACEOF
21583 rm -f conftest.$ac_objext
21584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21585 (eval $ac_compile) 2>conftest.er1
21586 ac_status=$?
21587 grep -v '^ *+' conftest.er1 >conftest.err
21588 rm -f conftest.er1
21589 cat conftest.err >&5
21590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21591 (exit $ac_status); } &&
21592 { ac_try='test -z "$ac_cxx_werror_flag"
21593 || test ! -s conftest.err'
21594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21595 (eval $ac_try) 2>&5
21596 ac_status=$?
21597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21598 (exit $ac_status); }; } &&
21599 { ac_try='test -s conftest.$ac_objext'
21600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21601 (eval $ac_try) 2>&5
21602 ac_status=$?
21603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21604 (exit $ac_status); }; }; then
21605 glibcxx_cv_func__ldexpl_use=yes
21606 else
21607 echo "$as_me: failed program was:" >&5
21608 sed 's/^/| /' conftest.$ac_ext >&5
21610 glibcxx_cv_func__ldexpl_use=no
21612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21613 ac_ext=c
21614 ac_cpp='$CPP $CPPFLAGS'
21615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21623 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
21624 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
21626 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
21628 for ac_func in _ldexpl
21630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21631 echo "$as_me:$LINENO: checking for $ac_func" >&5
21632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21633 if eval "test \"\${$as_ac_var+set}\" = set"; then
21634 echo $ECHO_N "(cached) $ECHO_C" >&6
21635 else
21636 if test x$gcc_no_link = xyes; then
21637 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21639 { (exit 1); exit 1; }; }
21641 cat >conftest.$ac_ext <<_ACEOF
21642 /* confdefs.h. */
21643 _ACEOF
21644 cat confdefs.h >>conftest.$ac_ext
21645 cat >>conftest.$ac_ext <<_ACEOF
21646 /* end confdefs.h. */
21647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21649 #define $ac_func innocuous_$ac_func
21651 /* System header to define __stub macros and hopefully few prototypes,
21652 which can conflict with char $ac_func (); below.
21653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21654 <limits.h> exists even on freestanding compilers. */
21656 #ifdef __STDC__
21657 # include <limits.h>
21658 #else
21659 # include <assert.h>
21660 #endif
21662 #undef $ac_func
21664 /* Override any gcc2 internal prototype to avoid an error. */
21665 #ifdef __cplusplus
21666 extern "C"
21668 #endif
21669 /* We use char because int might match the return type of a gcc2
21670 builtin and then its argument prototype would still apply. */
21671 char $ac_func ();
21672 /* The GNU C library defines this for functions which it implements
21673 to always fail with ENOSYS. Some functions are actually named
21674 something starting with __ and the normal name is an alias. */
21675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21676 choke me
21677 #else
21678 char (*f) () = $ac_func;
21679 #endif
21680 #ifdef __cplusplus
21682 #endif
21685 main ()
21687 return f != $ac_func;
21689 return 0;
21691 _ACEOF
21692 rm -f conftest.$ac_objext conftest$ac_exeext
21693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21694 (eval $ac_link) 2>conftest.er1
21695 ac_status=$?
21696 grep -v '^ *+' conftest.er1 >conftest.err
21697 rm -f conftest.er1
21698 cat conftest.err >&5
21699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21700 (exit $ac_status); } &&
21701 { ac_try='test -z "$ac_c_werror_flag"
21702 || test ! -s conftest.err'
21703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21704 (eval $ac_try) 2>&5
21705 ac_status=$?
21706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21707 (exit $ac_status); }; } &&
21708 { ac_try='test -s conftest$ac_exeext'
21709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21710 (eval $ac_try) 2>&5
21711 ac_status=$?
21712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21713 (exit $ac_status); }; }; then
21714 eval "$as_ac_var=yes"
21715 else
21716 echo "$as_me: failed program was:" >&5
21717 sed 's/^/| /' conftest.$ac_ext >&5
21719 eval "$as_ac_var=no"
21721 rm -f conftest.err conftest.$ac_objext \
21722 conftest$ac_exeext conftest.$ac_ext
21724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21726 if test `eval echo '${'$as_ac_var'}'` = yes; then
21727 cat >>confdefs.h <<_ACEOF
21728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21729 _ACEOF
21732 done
21739 echo "$as_me:$LINENO: checking for logl declaration" >&5
21740 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
21741 if test x${glibcxx_cv_func_logl_use+set} != xset; then
21742 if test "${glibcxx_cv_func_logl_use+set}" = set; then
21743 echo $ECHO_N "(cached) $ECHO_C" >&6
21744 else
21748 ac_ext=cc
21749 ac_cpp='$CXXCPP $CPPFLAGS'
21750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21754 cat >conftest.$ac_ext <<_ACEOF
21755 /* confdefs.h. */
21756 _ACEOF
21757 cat confdefs.h >>conftest.$ac_ext
21758 cat >>conftest.$ac_ext <<_ACEOF
21759 /* end confdefs.h. */
21760 #include <math.h>
21761 #ifdef HAVE_IEEEFP_H
21762 #include <ieeefp.h>
21763 #endif
21766 main ()
21768 logl(0);
21770 return 0;
21772 _ACEOF
21773 rm -f conftest.$ac_objext
21774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21775 (eval $ac_compile) 2>conftest.er1
21776 ac_status=$?
21777 grep -v '^ *+' conftest.er1 >conftest.err
21778 rm -f conftest.er1
21779 cat conftest.err >&5
21780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21781 (exit $ac_status); } &&
21782 { ac_try='test -z "$ac_cxx_werror_flag"
21783 || test ! -s conftest.err'
21784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21785 (eval $ac_try) 2>&5
21786 ac_status=$?
21787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21788 (exit $ac_status); }; } &&
21789 { ac_try='test -s conftest.$ac_objext'
21790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21791 (eval $ac_try) 2>&5
21792 ac_status=$?
21793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21794 (exit $ac_status); }; }; then
21795 glibcxx_cv_func_logl_use=yes
21796 else
21797 echo "$as_me: failed program was:" >&5
21798 sed 's/^/| /' conftest.$ac_ext >&5
21800 glibcxx_cv_func_logl_use=no
21802 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21803 ac_ext=c
21804 ac_cpp='$CPP $CPPFLAGS'
21805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21813 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
21814 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
21816 if test x$glibcxx_cv_func_logl_use = x"yes"; then
21818 for ac_func in logl
21820 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21821 echo "$as_me:$LINENO: checking for $ac_func" >&5
21822 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21823 if eval "test \"\${$as_ac_var+set}\" = set"; then
21824 echo $ECHO_N "(cached) $ECHO_C" >&6
21825 else
21826 if test x$gcc_no_link = xyes; then
21827 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21828 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21829 { (exit 1); exit 1; }; }
21831 cat >conftest.$ac_ext <<_ACEOF
21832 /* confdefs.h. */
21833 _ACEOF
21834 cat confdefs.h >>conftest.$ac_ext
21835 cat >>conftest.$ac_ext <<_ACEOF
21836 /* end confdefs.h. */
21837 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21838 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21839 #define $ac_func innocuous_$ac_func
21841 /* System header to define __stub macros and hopefully few prototypes,
21842 which can conflict with char $ac_func (); below.
21843 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21844 <limits.h> exists even on freestanding compilers. */
21846 #ifdef __STDC__
21847 # include <limits.h>
21848 #else
21849 # include <assert.h>
21850 #endif
21852 #undef $ac_func
21854 /* Override any gcc2 internal prototype to avoid an error. */
21855 #ifdef __cplusplus
21856 extern "C"
21858 #endif
21859 /* We use char because int might match the return type of a gcc2
21860 builtin and then its argument prototype would still apply. */
21861 char $ac_func ();
21862 /* The GNU C library defines this for functions which it implements
21863 to always fail with ENOSYS. Some functions are actually named
21864 something starting with __ and the normal name is an alias. */
21865 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21866 choke me
21867 #else
21868 char (*f) () = $ac_func;
21869 #endif
21870 #ifdef __cplusplus
21872 #endif
21875 main ()
21877 return f != $ac_func;
21879 return 0;
21881 _ACEOF
21882 rm -f conftest.$ac_objext conftest$ac_exeext
21883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21884 (eval $ac_link) 2>conftest.er1
21885 ac_status=$?
21886 grep -v '^ *+' conftest.er1 >conftest.err
21887 rm -f conftest.er1
21888 cat conftest.err >&5
21889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21890 (exit $ac_status); } &&
21891 { ac_try='test -z "$ac_c_werror_flag"
21892 || test ! -s conftest.err'
21893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21894 (eval $ac_try) 2>&5
21895 ac_status=$?
21896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21897 (exit $ac_status); }; } &&
21898 { ac_try='test -s conftest$ac_exeext'
21899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21900 (eval $ac_try) 2>&5
21901 ac_status=$?
21902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21903 (exit $ac_status); }; }; then
21904 eval "$as_ac_var=yes"
21905 else
21906 echo "$as_me: failed program was:" >&5
21907 sed 's/^/| /' conftest.$ac_ext >&5
21909 eval "$as_ac_var=no"
21911 rm -f conftest.err conftest.$ac_objext \
21912 conftest$ac_exeext conftest.$ac_ext
21914 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21915 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21916 if test `eval echo '${'$as_ac_var'}'` = yes; then
21917 cat >>confdefs.h <<_ACEOF
21918 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21919 _ACEOF
21922 done
21924 else
21926 echo "$as_me:$LINENO: checking for _logl declaration" >&5
21927 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
21928 if test x${glibcxx_cv_func__logl_use+set} != xset; then
21929 if test "${glibcxx_cv_func__logl_use+set}" = set; then
21930 echo $ECHO_N "(cached) $ECHO_C" >&6
21931 else
21935 ac_ext=cc
21936 ac_cpp='$CXXCPP $CPPFLAGS'
21937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21941 cat >conftest.$ac_ext <<_ACEOF
21942 /* confdefs.h. */
21943 _ACEOF
21944 cat confdefs.h >>conftest.$ac_ext
21945 cat >>conftest.$ac_ext <<_ACEOF
21946 /* end confdefs.h. */
21947 #include <math.h>
21948 #ifdef HAVE_IEEEFP_H
21949 #include <ieeefp.h>
21950 #endif
21953 main ()
21955 _logl(0);
21957 return 0;
21959 _ACEOF
21960 rm -f conftest.$ac_objext
21961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21962 (eval $ac_compile) 2>conftest.er1
21963 ac_status=$?
21964 grep -v '^ *+' conftest.er1 >conftest.err
21965 rm -f conftest.er1
21966 cat conftest.err >&5
21967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21968 (exit $ac_status); } &&
21969 { ac_try='test -z "$ac_cxx_werror_flag"
21970 || test ! -s conftest.err'
21971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21972 (eval $ac_try) 2>&5
21973 ac_status=$?
21974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21975 (exit $ac_status); }; } &&
21976 { ac_try='test -s conftest.$ac_objext'
21977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21978 (eval $ac_try) 2>&5
21979 ac_status=$?
21980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21981 (exit $ac_status); }; }; then
21982 glibcxx_cv_func__logl_use=yes
21983 else
21984 echo "$as_me: failed program was:" >&5
21985 sed 's/^/| /' conftest.$ac_ext >&5
21987 glibcxx_cv_func__logl_use=no
21989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21990 ac_ext=c
21991 ac_cpp='$CPP $CPPFLAGS'
21992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22000 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
22001 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
22003 if test x$glibcxx_cv_func__logl_use = x"yes"; then
22005 for ac_func in _logl
22007 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22008 echo "$as_me:$LINENO: checking for $ac_func" >&5
22009 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22010 if eval "test \"\${$as_ac_var+set}\" = set"; then
22011 echo $ECHO_N "(cached) $ECHO_C" >&6
22012 else
22013 if test x$gcc_no_link = xyes; then
22014 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22016 { (exit 1); exit 1; }; }
22018 cat >conftest.$ac_ext <<_ACEOF
22019 /* confdefs.h. */
22020 _ACEOF
22021 cat confdefs.h >>conftest.$ac_ext
22022 cat >>conftest.$ac_ext <<_ACEOF
22023 /* end confdefs.h. */
22024 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22025 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22026 #define $ac_func innocuous_$ac_func
22028 /* System header to define __stub macros and hopefully few prototypes,
22029 which can conflict with char $ac_func (); below.
22030 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22031 <limits.h> exists even on freestanding compilers. */
22033 #ifdef __STDC__
22034 # include <limits.h>
22035 #else
22036 # include <assert.h>
22037 #endif
22039 #undef $ac_func
22041 /* Override any gcc2 internal prototype to avoid an error. */
22042 #ifdef __cplusplus
22043 extern "C"
22045 #endif
22046 /* We use char because int might match the return type of a gcc2
22047 builtin and then its argument prototype would still apply. */
22048 char $ac_func ();
22049 /* The GNU C library defines this for functions which it implements
22050 to always fail with ENOSYS. Some functions are actually named
22051 something starting with __ and the normal name is an alias. */
22052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22053 choke me
22054 #else
22055 char (*f) () = $ac_func;
22056 #endif
22057 #ifdef __cplusplus
22059 #endif
22062 main ()
22064 return f != $ac_func;
22066 return 0;
22068 _ACEOF
22069 rm -f conftest.$ac_objext conftest$ac_exeext
22070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22071 (eval $ac_link) 2>conftest.er1
22072 ac_status=$?
22073 grep -v '^ *+' conftest.er1 >conftest.err
22074 rm -f conftest.er1
22075 cat conftest.err >&5
22076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22077 (exit $ac_status); } &&
22078 { ac_try='test -z "$ac_c_werror_flag"
22079 || test ! -s conftest.err'
22080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22081 (eval $ac_try) 2>&5
22082 ac_status=$?
22083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22084 (exit $ac_status); }; } &&
22085 { ac_try='test -s conftest$ac_exeext'
22086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22087 (eval $ac_try) 2>&5
22088 ac_status=$?
22089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22090 (exit $ac_status); }; }; then
22091 eval "$as_ac_var=yes"
22092 else
22093 echo "$as_me: failed program was:" >&5
22094 sed 's/^/| /' conftest.$ac_ext >&5
22096 eval "$as_ac_var=no"
22098 rm -f conftest.err conftest.$ac_objext \
22099 conftest$ac_exeext conftest.$ac_ext
22101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22102 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22103 if test `eval echo '${'$as_ac_var'}'` = yes; then
22104 cat >>confdefs.h <<_ACEOF
22105 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22106 _ACEOF
22109 done
22116 echo "$as_me:$LINENO: checking for log10l declaration" >&5
22117 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
22118 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
22119 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
22120 echo $ECHO_N "(cached) $ECHO_C" >&6
22121 else
22125 ac_ext=cc
22126 ac_cpp='$CXXCPP $CPPFLAGS'
22127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22131 cat >conftest.$ac_ext <<_ACEOF
22132 /* confdefs.h. */
22133 _ACEOF
22134 cat confdefs.h >>conftest.$ac_ext
22135 cat >>conftest.$ac_ext <<_ACEOF
22136 /* end confdefs.h. */
22137 #include <math.h>
22138 #ifdef HAVE_IEEEFP_H
22139 #include <ieeefp.h>
22140 #endif
22143 main ()
22145 log10l(0);
22147 return 0;
22149 _ACEOF
22150 rm -f conftest.$ac_objext
22151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22152 (eval $ac_compile) 2>conftest.er1
22153 ac_status=$?
22154 grep -v '^ *+' conftest.er1 >conftest.err
22155 rm -f conftest.er1
22156 cat conftest.err >&5
22157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22158 (exit $ac_status); } &&
22159 { ac_try='test -z "$ac_cxx_werror_flag"
22160 || test ! -s conftest.err'
22161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22162 (eval $ac_try) 2>&5
22163 ac_status=$?
22164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22165 (exit $ac_status); }; } &&
22166 { ac_try='test -s conftest.$ac_objext'
22167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22168 (eval $ac_try) 2>&5
22169 ac_status=$?
22170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22171 (exit $ac_status); }; }; then
22172 glibcxx_cv_func_log10l_use=yes
22173 else
22174 echo "$as_me: failed program was:" >&5
22175 sed 's/^/| /' conftest.$ac_ext >&5
22177 glibcxx_cv_func_log10l_use=no
22179 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22180 ac_ext=c
22181 ac_cpp='$CPP $CPPFLAGS'
22182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22190 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
22191 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
22193 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
22195 for ac_func in log10l
22197 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22198 echo "$as_me:$LINENO: checking for $ac_func" >&5
22199 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22200 if eval "test \"\${$as_ac_var+set}\" = set"; then
22201 echo $ECHO_N "(cached) $ECHO_C" >&6
22202 else
22203 if test x$gcc_no_link = xyes; then
22204 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22205 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22206 { (exit 1); exit 1; }; }
22208 cat >conftest.$ac_ext <<_ACEOF
22209 /* confdefs.h. */
22210 _ACEOF
22211 cat confdefs.h >>conftest.$ac_ext
22212 cat >>conftest.$ac_ext <<_ACEOF
22213 /* end confdefs.h. */
22214 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22215 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22216 #define $ac_func innocuous_$ac_func
22218 /* System header to define __stub macros and hopefully few prototypes,
22219 which can conflict with char $ac_func (); below.
22220 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22221 <limits.h> exists even on freestanding compilers. */
22223 #ifdef __STDC__
22224 # include <limits.h>
22225 #else
22226 # include <assert.h>
22227 #endif
22229 #undef $ac_func
22231 /* Override any gcc2 internal prototype to avoid an error. */
22232 #ifdef __cplusplus
22233 extern "C"
22235 #endif
22236 /* We use char because int might match the return type of a gcc2
22237 builtin and then its argument prototype would still apply. */
22238 char $ac_func ();
22239 /* The GNU C library defines this for functions which it implements
22240 to always fail with ENOSYS. Some functions are actually named
22241 something starting with __ and the normal name is an alias. */
22242 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22243 choke me
22244 #else
22245 char (*f) () = $ac_func;
22246 #endif
22247 #ifdef __cplusplus
22249 #endif
22252 main ()
22254 return f != $ac_func;
22256 return 0;
22258 _ACEOF
22259 rm -f conftest.$ac_objext conftest$ac_exeext
22260 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22261 (eval $ac_link) 2>conftest.er1
22262 ac_status=$?
22263 grep -v '^ *+' conftest.er1 >conftest.err
22264 rm -f conftest.er1
22265 cat conftest.err >&5
22266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22267 (exit $ac_status); } &&
22268 { ac_try='test -z "$ac_c_werror_flag"
22269 || test ! -s conftest.err'
22270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22271 (eval $ac_try) 2>&5
22272 ac_status=$?
22273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22274 (exit $ac_status); }; } &&
22275 { ac_try='test -s conftest$ac_exeext'
22276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22277 (eval $ac_try) 2>&5
22278 ac_status=$?
22279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22280 (exit $ac_status); }; }; then
22281 eval "$as_ac_var=yes"
22282 else
22283 echo "$as_me: failed program was:" >&5
22284 sed 's/^/| /' conftest.$ac_ext >&5
22286 eval "$as_ac_var=no"
22288 rm -f conftest.err conftest.$ac_objext \
22289 conftest$ac_exeext conftest.$ac_ext
22291 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22292 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22293 if test `eval echo '${'$as_ac_var'}'` = yes; then
22294 cat >>confdefs.h <<_ACEOF
22295 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22296 _ACEOF
22299 done
22301 else
22303 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
22304 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
22305 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
22306 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
22307 echo $ECHO_N "(cached) $ECHO_C" >&6
22308 else
22312 ac_ext=cc
22313 ac_cpp='$CXXCPP $CPPFLAGS'
22314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22318 cat >conftest.$ac_ext <<_ACEOF
22319 /* confdefs.h. */
22320 _ACEOF
22321 cat confdefs.h >>conftest.$ac_ext
22322 cat >>conftest.$ac_ext <<_ACEOF
22323 /* end confdefs.h. */
22324 #include <math.h>
22325 #ifdef HAVE_IEEEFP_H
22326 #include <ieeefp.h>
22327 #endif
22330 main ()
22332 _log10l(0);
22334 return 0;
22336 _ACEOF
22337 rm -f conftest.$ac_objext
22338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22339 (eval $ac_compile) 2>conftest.er1
22340 ac_status=$?
22341 grep -v '^ *+' conftest.er1 >conftest.err
22342 rm -f conftest.er1
22343 cat conftest.err >&5
22344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22345 (exit $ac_status); } &&
22346 { ac_try='test -z "$ac_cxx_werror_flag"
22347 || test ! -s conftest.err'
22348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22349 (eval $ac_try) 2>&5
22350 ac_status=$?
22351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22352 (exit $ac_status); }; } &&
22353 { ac_try='test -s conftest.$ac_objext'
22354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22355 (eval $ac_try) 2>&5
22356 ac_status=$?
22357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22358 (exit $ac_status); }; }; then
22359 glibcxx_cv_func__log10l_use=yes
22360 else
22361 echo "$as_me: failed program was:" >&5
22362 sed 's/^/| /' conftest.$ac_ext >&5
22364 glibcxx_cv_func__log10l_use=no
22366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22367 ac_ext=c
22368 ac_cpp='$CPP $CPPFLAGS'
22369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22377 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
22378 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
22380 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
22382 for ac_func in _log10l
22384 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22385 echo "$as_me:$LINENO: checking for $ac_func" >&5
22386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22387 if eval "test \"\${$as_ac_var+set}\" = set"; then
22388 echo $ECHO_N "(cached) $ECHO_C" >&6
22389 else
22390 if test x$gcc_no_link = xyes; then
22391 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22393 { (exit 1); exit 1; }; }
22395 cat >conftest.$ac_ext <<_ACEOF
22396 /* confdefs.h. */
22397 _ACEOF
22398 cat confdefs.h >>conftest.$ac_ext
22399 cat >>conftest.$ac_ext <<_ACEOF
22400 /* end confdefs.h. */
22401 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22402 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22403 #define $ac_func innocuous_$ac_func
22405 /* System header to define __stub macros and hopefully few prototypes,
22406 which can conflict with char $ac_func (); below.
22407 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22408 <limits.h> exists even on freestanding compilers. */
22410 #ifdef __STDC__
22411 # include <limits.h>
22412 #else
22413 # include <assert.h>
22414 #endif
22416 #undef $ac_func
22418 /* Override any gcc2 internal prototype to avoid an error. */
22419 #ifdef __cplusplus
22420 extern "C"
22422 #endif
22423 /* We use char because int might match the return type of a gcc2
22424 builtin and then its argument prototype would still apply. */
22425 char $ac_func ();
22426 /* The GNU C library defines this for functions which it implements
22427 to always fail with ENOSYS. Some functions are actually named
22428 something starting with __ and the normal name is an alias. */
22429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22430 choke me
22431 #else
22432 char (*f) () = $ac_func;
22433 #endif
22434 #ifdef __cplusplus
22436 #endif
22439 main ()
22441 return f != $ac_func;
22443 return 0;
22445 _ACEOF
22446 rm -f conftest.$ac_objext conftest$ac_exeext
22447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22448 (eval $ac_link) 2>conftest.er1
22449 ac_status=$?
22450 grep -v '^ *+' conftest.er1 >conftest.err
22451 rm -f conftest.er1
22452 cat conftest.err >&5
22453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22454 (exit $ac_status); } &&
22455 { ac_try='test -z "$ac_c_werror_flag"
22456 || test ! -s conftest.err'
22457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22458 (eval $ac_try) 2>&5
22459 ac_status=$?
22460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22461 (exit $ac_status); }; } &&
22462 { ac_try='test -s conftest$ac_exeext'
22463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22464 (eval $ac_try) 2>&5
22465 ac_status=$?
22466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22467 (exit $ac_status); }; }; then
22468 eval "$as_ac_var=yes"
22469 else
22470 echo "$as_me: failed program was:" >&5
22471 sed 's/^/| /' conftest.$ac_ext >&5
22473 eval "$as_ac_var=no"
22475 rm -f conftest.err conftest.$ac_objext \
22476 conftest$ac_exeext conftest.$ac_ext
22478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22479 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22480 if test `eval echo '${'$as_ac_var'}'` = yes; then
22481 cat >>confdefs.h <<_ACEOF
22482 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22483 _ACEOF
22486 done
22493 echo "$as_me:$LINENO: checking for modfl declaration" >&5
22494 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
22495 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
22496 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
22497 echo $ECHO_N "(cached) $ECHO_C" >&6
22498 else
22502 ac_ext=cc
22503 ac_cpp='$CXXCPP $CPPFLAGS'
22504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22508 cat >conftest.$ac_ext <<_ACEOF
22509 /* confdefs.h. */
22510 _ACEOF
22511 cat confdefs.h >>conftest.$ac_ext
22512 cat >>conftest.$ac_ext <<_ACEOF
22513 /* end confdefs.h. */
22514 #include <math.h>
22516 main ()
22518 modfl(0, 0);
22520 return 0;
22522 _ACEOF
22523 rm -f conftest.$ac_objext
22524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22525 (eval $ac_compile) 2>conftest.er1
22526 ac_status=$?
22527 grep -v '^ *+' conftest.er1 >conftest.err
22528 rm -f conftest.er1
22529 cat conftest.err >&5
22530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22531 (exit $ac_status); } &&
22532 { ac_try='test -z "$ac_cxx_werror_flag"
22533 || test ! -s conftest.err'
22534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22535 (eval $ac_try) 2>&5
22536 ac_status=$?
22537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22538 (exit $ac_status); }; } &&
22539 { ac_try='test -s conftest.$ac_objext'
22540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22541 (eval $ac_try) 2>&5
22542 ac_status=$?
22543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22544 (exit $ac_status); }; }; then
22545 glibcxx_cv_func_modfl_use=yes
22546 else
22547 echo "$as_me: failed program was:" >&5
22548 sed 's/^/| /' conftest.$ac_ext >&5
22550 glibcxx_cv_func_modfl_use=no
22552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22553 ac_ext=c
22554 ac_cpp='$CPP $CPPFLAGS'
22555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22563 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
22564 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
22566 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
22568 for ac_func in modfl
22570 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22571 echo "$as_me:$LINENO: checking for $ac_func" >&5
22572 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22573 if eval "test \"\${$as_ac_var+set}\" = set"; then
22574 echo $ECHO_N "(cached) $ECHO_C" >&6
22575 else
22576 if test x$gcc_no_link = xyes; then
22577 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22578 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22579 { (exit 1); exit 1; }; }
22581 cat >conftest.$ac_ext <<_ACEOF
22582 /* confdefs.h. */
22583 _ACEOF
22584 cat confdefs.h >>conftest.$ac_ext
22585 cat >>conftest.$ac_ext <<_ACEOF
22586 /* end confdefs.h. */
22587 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22588 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22589 #define $ac_func innocuous_$ac_func
22591 /* System header to define __stub macros and hopefully few prototypes,
22592 which can conflict with char $ac_func (); below.
22593 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22594 <limits.h> exists even on freestanding compilers. */
22596 #ifdef __STDC__
22597 # include <limits.h>
22598 #else
22599 # include <assert.h>
22600 #endif
22602 #undef $ac_func
22604 /* Override any gcc2 internal prototype to avoid an error. */
22605 #ifdef __cplusplus
22606 extern "C"
22608 #endif
22609 /* We use char because int might match the return type of a gcc2
22610 builtin and then its argument prototype would still apply. */
22611 char $ac_func ();
22612 /* The GNU C library defines this for functions which it implements
22613 to always fail with ENOSYS. Some functions are actually named
22614 something starting with __ and the normal name is an alias. */
22615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22616 choke me
22617 #else
22618 char (*f) () = $ac_func;
22619 #endif
22620 #ifdef __cplusplus
22622 #endif
22625 main ()
22627 return f != $ac_func;
22629 return 0;
22631 _ACEOF
22632 rm -f conftest.$ac_objext conftest$ac_exeext
22633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22634 (eval $ac_link) 2>conftest.er1
22635 ac_status=$?
22636 grep -v '^ *+' conftest.er1 >conftest.err
22637 rm -f conftest.er1
22638 cat conftest.err >&5
22639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22640 (exit $ac_status); } &&
22641 { ac_try='test -z "$ac_c_werror_flag"
22642 || test ! -s conftest.err'
22643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22644 (eval $ac_try) 2>&5
22645 ac_status=$?
22646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22647 (exit $ac_status); }; } &&
22648 { ac_try='test -s conftest$ac_exeext'
22649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22650 (eval $ac_try) 2>&5
22651 ac_status=$?
22652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22653 (exit $ac_status); }; }; then
22654 eval "$as_ac_var=yes"
22655 else
22656 echo "$as_me: failed program was:" >&5
22657 sed 's/^/| /' conftest.$ac_ext >&5
22659 eval "$as_ac_var=no"
22661 rm -f conftest.err conftest.$ac_objext \
22662 conftest$ac_exeext conftest.$ac_ext
22664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22666 if test `eval echo '${'$as_ac_var'}'` = yes; then
22667 cat >>confdefs.h <<_ACEOF
22668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22669 _ACEOF
22672 done
22674 else
22676 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
22677 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
22678 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
22679 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
22680 echo $ECHO_N "(cached) $ECHO_C" >&6
22681 else
22685 ac_ext=cc
22686 ac_cpp='$CXXCPP $CPPFLAGS'
22687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22691 cat >conftest.$ac_ext <<_ACEOF
22692 /* confdefs.h. */
22693 _ACEOF
22694 cat confdefs.h >>conftest.$ac_ext
22695 cat >>conftest.$ac_ext <<_ACEOF
22696 /* end confdefs.h. */
22697 #include <math.h>
22699 main ()
22701 _modfl(0, 0);
22703 return 0;
22705 _ACEOF
22706 rm -f conftest.$ac_objext
22707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22708 (eval $ac_compile) 2>conftest.er1
22709 ac_status=$?
22710 grep -v '^ *+' conftest.er1 >conftest.err
22711 rm -f conftest.er1
22712 cat conftest.err >&5
22713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22714 (exit $ac_status); } &&
22715 { ac_try='test -z "$ac_cxx_werror_flag"
22716 || test ! -s conftest.err'
22717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22718 (eval $ac_try) 2>&5
22719 ac_status=$?
22720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22721 (exit $ac_status); }; } &&
22722 { ac_try='test -s conftest.$ac_objext'
22723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22724 (eval $ac_try) 2>&5
22725 ac_status=$?
22726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22727 (exit $ac_status); }; }; then
22728 glibcxx_cv_func__modfl_use=yes
22729 else
22730 echo "$as_me: failed program was:" >&5
22731 sed 's/^/| /' conftest.$ac_ext >&5
22733 glibcxx_cv_func__modfl_use=no
22735 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22736 ac_ext=c
22737 ac_cpp='$CPP $CPPFLAGS'
22738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22746 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
22747 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
22749 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
22751 for ac_func in _modfl
22753 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22754 echo "$as_me:$LINENO: checking for $ac_func" >&5
22755 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22756 if eval "test \"\${$as_ac_var+set}\" = set"; then
22757 echo $ECHO_N "(cached) $ECHO_C" >&6
22758 else
22759 if test x$gcc_no_link = xyes; then
22760 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22761 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22762 { (exit 1); exit 1; }; }
22764 cat >conftest.$ac_ext <<_ACEOF
22765 /* confdefs.h. */
22766 _ACEOF
22767 cat confdefs.h >>conftest.$ac_ext
22768 cat >>conftest.$ac_ext <<_ACEOF
22769 /* end confdefs.h. */
22770 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22771 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22772 #define $ac_func innocuous_$ac_func
22774 /* System header to define __stub macros and hopefully few prototypes,
22775 which can conflict with char $ac_func (); below.
22776 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22777 <limits.h> exists even on freestanding compilers. */
22779 #ifdef __STDC__
22780 # include <limits.h>
22781 #else
22782 # include <assert.h>
22783 #endif
22785 #undef $ac_func
22787 /* Override any gcc2 internal prototype to avoid an error. */
22788 #ifdef __cplusplus
22789 extern "C"
22791 #endif
22792 /* We use char because int might match the return type of a gcc2
22793 builtin and then its argument prototype would still apply. */
22794 char $ac_func ();
22795 /* The GNU C library defines this for functions which it implements
22796 to always fail with ENOSYS. Some functions are actually named
22797 something starting with __ and the normal name is an alias. */
22798 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22799 choke me
22800 #else
22801 char (*f) () = $ac_func;
22802 #endif
22803 #ifdef __cplusplus
22805 #endif
22808 main ()
22810 return f != $ac_func;
22812 return 0;
22814 _ACEOF
22815 rm -f conftest.$ac_objext conftest$ac_exeext
22816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22817 (eval $ac_link) 2>conftest.er1
22818 ac_status=$?
22819 grep -v '^ *+' conftest.er1 >conftest.err
22820 rm -f conftest.er1
22821 cat conftest.err >&5
22822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22823 (exit $ac_status); } &&
22824 { ac_try='test -z "$ac_c_werror_flag"
22825 || test ! -s conftest.err'
22826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22827 (eval $ac_try) 2>&5
22828 ac_status=$?
22829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22830 (exit $ac_status); }; } &&
22831 { ac_try='test -s conftest$ac_exeext'
22832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22833 (eval $ac_try) 2>&5
22834 ac_status=$?
22835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22836 (exit $ac_status); }; }; then
22837 eval "$as_ac_var=yes"
22838 else
22839 echo "$as_me: failed program was:" >&5
22840 sed 's/^/| /' conftest.$ac_ext >&5
22842 eval "$as_ac_var=no"
22844 rm -f conftest.err conftest.$ac_objext \
22845 conftest$ac_exeext conftest.$ac_ext
22847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22848 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22849 if test `eval echo '${'$as_ac_var'}'` = yes; then
22850 cat >>confdefs.h <<_ACEOF
22851 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22852 _ACEOF
22855 done
22862 echo "$as_me:$LINENO: checking for powl declaration" >&5
22863 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
22864 if test x${glibcxx_cv_func_powl_use+set} != xset; then
22865 if test "${glibcxx_cv_func_powl_use+set}" = set; then
22866 echo $ECHO_N "(cached) $ECHO_C" >&6
22867 else
22871 ac_ext=cc
22872 ac_cpp='$CXXCPP $CPPFLAGS'
22873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22877 cat >conftest.$ac_ext <<_ACEOF
22878 /* confdefs.h. */
22879 _ACEOF
22880 cat confdefs.h >>conftest.$ac_ext
22881 cat >>conftest.$ac_ext <<_ACEOF
22882 /* end confdefs.h. */
22883 #include <math.h>
22885 main ()
22887 powl(0, 0);
22889 return 0;
22891 _ACEOF
22892 rm -f conftest.$ac_objext
22893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22894 (eval $ac_compile) 2>conftest.er1
22895 ac_status=$?
22896 grep -v '^ *+' conftest.er1 >conftest.err
22897 rm -f conftest.er1
22898 cat conftest.err >&5
22899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22900 (exit $ac_status); } &&
22901 { ac_try='test -z "$ac_cxx_werror_flag"
22902 || test ! -s conftest.err'
22903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22904 (eval $ac_try) 2>&5
22905 ac_status=$?
22906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22907 (exit $ac_status); }; } &&
22908 { ac_try='test -s conftest.$ac_objext'
22909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22910 (eval $ac_try) 2>&5
22911 ac_status=$?
22912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22913 (exit $ac_status); }; }; then
22914 glibcxx_cv_func_powl_use=yes
22915 else
22916 echo "$as_me: failed program was:" >&5
22917 sed 's/^/| /' conftest.$ac_ext >&5
22919 glibcxx_cv_func_powl_use=no
22921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22922 ac_ext=c
22923 ac_cpp='$CPP $CPPFLAGS'
22924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22932 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
22933 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
22935 if test x$glibcxx_cv_func_powl_use = x"yes"; then
22937 for ac_func in powl
22939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22940 echo "$as_me:$LINENO: checking for $ac_func" >&5
22941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22942 if eval "test \"\${$as_ac_var+set}\" = set"; then
22943 echo $ECHO_N "(cached) $ECHO_C" >&6
22944 else
22945 if test x$gcc_no_link = xyes; then
22946 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22947 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22948 { (exit 1); exit 1; }; }
22950 cat >conftest.$ac_ext <<_ACEOF
22951 /* confdefs.h. */
22952 _ACEOF
22953 cat confdefs.h >>conftest.$ac_ext
22954 cat >>conftest.$ac_ext <<_ACEOF
22955 /* end confdefs.h. */
22956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22958 #define $ac_func innocuous_$ac_func
22960 /* System header to define __stub macros and hopefully few prototypes,
22961 which can conflict with char $ac_func (); below.
22962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22963 <limits.h> exists even on freestanding compilers. */
22965 #ifdef __STDC__
22966 # include <limits.h>
22967 #else
22968 # include <assert.h>
22969 #endif
22971 #undef $ac_func
22973 /* Override any gcc2 internal prototype to avoid an error. */
22974 #ifdef __cplusplus
22975 extern "C"
22977 #endif
22978 /* We use char because int might match the return type of a gcc2
22979 builtin and then its argument prototype would still apply. */
22980 char $ac_func ();
22981 /* The GNU C library defines this for functions which it implements
22982 to always fail with ENOSYS. Some functions are actually named
22983 something starting with __ and the normal name is an alias. */
22984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22985 choke me
22986 #else
22987 char (*f) () = $ac_func;
22988 #endif
22989 #ifdef __cplusplus
22991 #endif
22994 main ()
22996 return f != $ac_func;
22998 return 0;
23000 _ACEOF
23001 rm -f conftest.$ac_objext conftest$ac_exeext
23002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23003 (eval $ac_link) 2>conftest.er1
23004 ac_status=$?
23005 grep -v '^ *+' conftest.er1 >conftest.err
23006 rm -f conftest.er1
23007 cat conftest.err >&5
23008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23009 (exit $ac_status); } &&
23010 { ac_try='test -z "$ac_c_werror_flag"
23011 || test ! -s conftest.err'
23012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23013 (eval $ac_try) 2>&5
23014 ac_status=$?
23015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23016 (exit $ac_status); }; } &&
23017 { ac_try='test -s conftest$ac_exeext'
23018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23019 (eval $ac_try) 2>&5
23020 ac_status=$?
23021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23022 (exit $ac_status); }; }; then
23023 eval "$as_ac_var=yes"
23024 else
23025 echo "$as_me: failed program was:" >&5
23026 sed 's/^/| /' conftest.$ac_ext >&5
23028 eval "$as_ac_var=no"
23030 rm -f conftest.err conftest.$ac_objext \
23031 conftest$ac_exeext conftest.$ac_ext
23033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23034 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23035 if test `eval echo '${'$as_ac_var'}'` = yes; then
23036 cat >>confdefs.h <<_ACEOF
23037 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23038 _ACEOF
23041 done
23043 else
23045 echo "$as_me:$LINENO: checking for _powl declaration" >&5
23046 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
23047 if test x${glibcxx_cv_func__powl_use+set} != xset; then
23048 if test "${glibcxx_cv_func__powl_use+set}" = set; then
23049 echo $ECHO_N "(cached) $ECHO_C" >&6
23050 else
23054 ac_ext=cc
23055 ac_cpp='$CXXCPP $CPPFLAGS'
23056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23060 cat >conftest.$ac_ext <<_ACEOF
23061 /* confdefs.h. */
23062 _ACEOF
23063 cat confdefs.h >>conftest.$ac_ext
23064 cat >>conftest.$ac_ext <<_ACEOF
23065 /* end confdefs.h. */
23066 #include <math.h>
23068 main ()
23070 _powl(0, 0);
23072 return 0;
23074 _ACEOF
23075 rm -f conftest.$ac_objext
23076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23077 (eval $ac_compile) 2>conftest.er1
23078 ac_status=$?
23079 grep -v '^ *+' conftest.er1 >conftest.err
23080 rm -f conftest.er1
23081 cat conftest.err >&5
23082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23083 (exit $ac_status); } &&
23084 { ac_try='test -z "$ac_cxx_werror_flag"
23085 || test ! -s conftest.err'
23086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23087 (eval $ac_try) 2>&5
23088 ac_status=$?
23089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23090 (exit $ac_status); }; } &&
23091 { ac_try='test -s conftest.$ac_objext'
23092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23093 (eval $ac_try) 2>&5
23094 ac_status=$?
23095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23096 (exit $ac_status); }; }; then
23097 glibcxx_cv_func__powl_use=yes
23098 else
23099 echo "$as_me: failed program was:" >&5
23100 sed 's/^/| /' conftest.$ac_ext >&5
23102 glibcxx_cv_func__powl_use=no
23104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23105 ac_ext=c
23106 ac_cpp='$CPP $CPPFLAGS'
23107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23115 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
23116 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
23118 if test x$glibcxx_cv_func__powl_use = x"yes"; then
23120 for ac_func in _powl
23122 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23123 echo "$as_me:$LINENO: checking for $ac_func" >&5
23124 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23125 if eval "test \"\${$as_ac_var+set}\" = set"; then
23126 echo $ECHO_N "(cached) $ECHO_C" >&6
23127 else
23128 if test x$gcc_no_link = xyes; then
23129 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23130 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23131 { (exit 1); exit 1; }; }
23133 cat >conftest.$ac_ext <<_ACEOF
23134 /* confdefs.h. */
23135 _ACEOF
23136 cat confdefs.h >>conftest.$ac_ext
23137 cat >>conftest.$ac_ext <<_ACEOF
23138 /* end confdefs.h. */
23139 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23140 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23141 #define $ac_func innocuous_$ac_func
23143 /* System header to define __stub macros and hopefully few prototypes,
23144 which can conflict with char $ac_func (); below.
23145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23146 <limits.h> exists even on freestanding compilers. */
23148 #ifdef __STDC__
23149 # include <limits.h>
23150 #else
23151 # include <assert.h>
23152 #endif
23154 #undef $ac_func
23156 /* Override any gcc2 internal prototype to avoid an error. */
23157 #ifdef __cplusplus
23158 extern "C"
23160 #endif
23161 /* We use char because int might match the return type of a gcc2
23162 builtin and then its argument prototype would still apply. */
23163 char $ac_func ();
23164 /* The GNU C library defines this for functions which it implements
23165 to always fail with ENOSYS. Some functions are actually named
23166 something starting with __ and the normal name is an alias. */
23167 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23168 choke me
23169 #else
23170 char (*f) () = $ac_func;
23171 #endif
23172 #ifdef __cplusplus
23174 #endif
23177 main ()
23179 return f != $ac_func;
23181 return 0;
23183 _ACEOF
23184 rm -f conftest.$ac_objext conftest$ac_exeext
23185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23186 (eval $ac_link) 2>conftest.er1
23187 ac_status=$?
23188 grep -v '^ *+' conftest.er1 >conftest.err
23189 rm -f conftest.er1
23190 cat conftest.err >&5
23191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23192 (exit $ac_status); } &&
23193 { ac_try='test -z "$ac_c_werror_flag"
23194 || test ! -s conftest.err'
23195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23196 (eval $ac_try) 2>&5
23197 ac_status=$?
23198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23199 (exit $ac_status); }; } &&
23200 { ac_try='test -s conftest$ac_exeext'
23201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23202 (eval $ac_try) 2>&5
23203 ac_status=$?
23204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23205 (exit $ac_status); }; }; then
23206 eval "$as_ac_var=yes"
23207 else
23208 echo "$as_me: failed program was:" >&5
23209 sed 's/^/| /' conftest.$ac_ext >&5
23211 eval "$as_ac_var=no"
23213 rm -f conftest.err conftest.$ac_objext \
23214 conftest$ac_exeext conftest.$ac_ext
23216 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23217 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23218 if test `eval echo '${'$as_ac_var'}'` = yes; then
23219 cat >>confdefs.h <<_ACEOF
23220 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23221 _ACEOF
23224 done
23231 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
23232 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
23233 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
23234 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
23235 echo $ECHO_N "(cached) $ECHO_C" >&6
23236 else
23240 ac_ext=cc
23241 ac_cpp='$CXXCPP $CPPFLAGS'
23242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23246 cat >conftest.$ac_ext <<_ACEOF
23247 /* confdefs.h. */
23248 _ACEOF
23249 cat confdefs.h >>conftest.$ac_ext
23250 cat >>conftest.$ac_ext <<_ACEOF
23251 /* end confdefs.h. */
23252 #include <math.h>
23253 #ifdef HAVE_IEEEFP_H
23254 #include <ieeefp.h>
23255 #endif
23258 main ()
23260 sqrtl(0);
23262 return 0;
23264 _ACEOF
23265 rm -f conftest.$ac_objext
23266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23267 (eval $ac_compile) 2>conftest.er1
23268 ac_status=$?
23269 grep -v '^ *+' conftest.er1 >conftest.err
23270 rm -f conftest.er1
23271 cat conftest.err >&5
23272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23273 (exit $ac_status); } &&
23274 { ac_try='test -z "$ac_cxx_werror_flag"
23275 || test ! -s conftest.err'
23276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23277 (eval $ac_try) 2>&5
23278 ac_status=$?
23279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23280 (exit $ac_status); }; } &&
23281 { ac_try='test -s conftest.$ac_objext'
23282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23283 (eval $ac_try) 2>&5
23284 ac_status=$?
23285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23286 (exit $ac_status); }; }; then
23287 glibcxx_cv_func_sqrtl_use=yes
23288 else
23289 echo "$as_me: failed program was:" >&5
23290 sed 's/^/| /' conftest.$ac_ext >&5
23292 glibcxx_cv_func_sqrtl_use=no
23294 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23295 ac_ext=c
23296 ac_cpp='$CPP $CPPFLAGS'
23297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23305 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
23306 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
23308 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
23310 for ac_func in sqrtl
23312 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23313 echo "$as_me:$LINENO: checking for $ac_func" >&5
23314 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23315 if eval "test \"\${$as_ac_var+set}\" = set"; then
23316 echo $ECHO_N "(cached) $ECHO_C" >&6
23317 else
23318 if test x$gcc_no_link = xyes; then
23319 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23320 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23321 { (exit 1); exit 1; }; }
23323 cat >conftest.$ac_ext <<_ACEOF
23324 /* confdefs.h. */
23325 _ACEOF
23326 cat confdefs.h >>conftest.$ac_ext
23327 cat >>conftest.$ac_ext <<_ACEOF
23328 /* end confdefs.h. */
23329 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23330 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23331 #define $ac_func innocuous_$ac_func
23333 /* System header to define __stub macros and hopefully few prototypes,
23334 which can conflict with char $ac_func (); below.
23335 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23336 <limits.h> exists even on freestanding compilers. */
23338 #ifdef __STDC__
23339 # include <limits.h>
23340 #else
23341 # include <assert.h>
23342 #endif
23344 #undef $ac_func
23346 /* Override any gcc2 internal prototype to avoid an error. */
23347 #ifdef __cplusplus
23348 extern "C"
23350 #endif
23351 /* We use char because int might match the return type of a gcc2
23352 builtin and then its argument prototype would still apply. */
23353 char $ac_func ();
23354 /* The GNU C library defines this for functions which it implements
23355 to always fail with ENOSYS. Some functions are actually named
23356 something starting with __ and the normal name is an alias. */
23357 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23358 choke me
23359 #else
23360 char (*f) () = $ac_func;
23361 #endif
23362 #ifdef __cplusplus
23364 #endif
23367 main ()
23369 return f != $ac_func;
23371 return 0;
23373 _ACEOF
23374 rm -f conftest.$ac_objext conftest$ac_exeext
23375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23376 (eval $ac_link) 2>conftest.er1
23377 ac_status=$?
23378 grep -v '^ *+' conftest.er1 >conftest.err
23379 rm -f conftest.er1
23380 cat conftest.err >&5
23381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23382 (exit $ac_status); } &&
23383 { ac_try='test -z "$ac_c_werror_flag"
23384 || test ! -s conftest.err'
23385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23386 (eval $ac_try) 2>&5
23387 ac_status=$?
23388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23389 (exit $ac_status); }; } &&
23390 { ac_try='test -s conftest$ac_exeext'
23391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23392 (eval $ac_try) 2>&5
23393 ac_status=$?
23394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23395 (exit $ac_status); }; }; then
23396 eval "$as_ac_var=yes"
23397 else
23398 echo "$as_me: failed program was:" >&5
23399 sed 's/^/| /' conftest.$ac_ext >&5
23401 eval "$as_ac_var=no"
23403 rm -f conftest.err conftest.$ac_objext \
23404 conftest$ac_exeext conftest.$ac_ext
23406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23407 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23408 if test `eval echo '${'$as_ac_var'}'` = yes; then
23409 cat >>confdefs.h <<_ACEOF
23410 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23411 _ACEOF
23414 done
23416 else
23418 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
23419 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
23420 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
23421 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
23422 echo $ECHO_N "(cached) $ECHO_C" >&6
23423 else
23427 ac_ext=cc
23428 ac_cpp='$CXXCPP $CPPFLAGS'
23429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23433 cat >conftest.$ac_ext <<_ACEOF
23434 /* confdefs.h. */
23435 _ACEOF
23436 cat confdefs.h >>conftest.$ac_ext
23437 cat >>conftest.$ac_ext <<_ACEOF
23438 /* end confdefs.h. */
23439 #include <math.h>
23440 #ifdef HAVE_IEEEFP_H
23441 #include <ieeefp.h>
23442 #endif
23445 main ()
23447 _sqrtl(0);
23449 return 0;
23451 _ACEOF
23452 rm -f conftest.$ac_objext
23453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23454 (eval $ac_compile) 2>conftest.er1
23455 ac_status=$?
23456 grep -v '^ *+' conftest.er1 >conftest.err
23457 rm -f conftest.er1
23458 cat conftest.err >&5
23459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23460 (exit $ac_status); } &&
23461 { ac_try='test -z "$ac_cxx_werror_flag"
23462 || test ! -s conftest.err'
23463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23464 (eval $ac_try) 2>&5
23465 ac_status=$?
23466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23467 (exit $ac_status); }; } &&
23468 { ac_try='test -s conftest.$ac_objext'
23469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23470 (eval $ac_try) 2>&5
23471 ac_status=$?
23472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23473 (exit $ac_status); }; }; then
23474 glibcxx_cv_func__sqrtl_use=yes
23475 else
23476 echo "$as_me: failed program was:" >&5
23477 sed 's/^/| /' conftest.$ac_ext >&5
23479 glibcxx_cv_func__sqrtl_use=no
23481 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23482 ac_ext=c
23483 ac_cpp='$CPP $CPPFLAGS'
23484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23492 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
23493 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
23495 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
23497 for ac_func in _sqrtl
23499 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23500 echo "$as_me:$LINENO: checking for $ac_func" >&5
23501 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23502 if eval "test \"\${$as_ac_var+set}\" = set"; then
23503 echo $ECHO_N "(cached) $ECHO_C" >&6
23504 else
23505 if test x$gcc_no_link = xyes; then
23506 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23507 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23508 { (exit 1); exit 1; }; }
23510 cat >conftest.$ac_ext <<_ACEOF
23511 /* confdefs.h. */
23512 _ACEOF
23513 cat confdefs.h >>conftest.$ac_ext
23514 cat >>conftest.$ac_ext <<_ACEOF
23515 /* end confdefs.h. */
23516 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23517 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23518 #define $ac_func innocuous_$ac_func
23520 /* System header to define __stub macros and hopefully few prototypes,
23521 which can conflict with char $ac_func (); below.
23522 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23523 <limits.h> exists even on freestanding compilers. */
23525 #ifdef __STDC__
23526 # include <limits.h>
23527 #else
23528 # include <assert.h>
23529 #endif
23531 #undef $ac_func
23533 /* Override any gcc2 internal prototype to avoid an error. */
23534 #ifdef __cplusplus
23535 extern "C"
23537 #endif
23538 /* We use char because int might match the return type of a gcc2
23539 builtin and then its argument prototype would still apply. */
23540 char $ac_func ();
23541 /* The GNU C library defines this for functions which it implements
23542 to always fail with ENOSYS. Some functions are actually named
23543 something starting with __ and the normal name is an alias. */
23544 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23545 choke me
23546 #else
23547 char (*f) () = $ac_func;
23548 #endif
23549 #ifdef __cplusplus
23551 #endif
23554 main ()
23556 return f != $ac_func;
23558 return 0;
23560 _ACEOF
23561 rm -f conftest.$ac_objext conftest$ac_exeext
23562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23563 (eval $ac_link) 2>conftest.er1
23564 ac_status=$?
23565 grep -v '^ *+' conftest.er1 >conftest.err
23566 rm -f conftest.er1
23567 cat conftest.err >&5
23568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23569 (exit $ac_status); } &&
23570 { ac_try='test -z "$ac_c_werror_flag"
23571 || test ! -s conftest.err'
23572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23573 (eval $ac_try) 2>&5
23574 ac_status=$?
23575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23576 (exit $ac_status); }; } &&
23577 { ac_try='test -s conftest$ac_exeext'
23578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23579 (eval $ac_try) 2>&5
23580 ac_status=$?
23581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23582 (exit $ac_status); }; }; then
23583 eval "$as_ac_var=yes"
23584 else
23585 echo "$as_me: failed program was:" >&5
23586 sed 's/^/| /' conftest.$ac_ext >&5
23588 eval "$as_ac_var=no"
23590 rm -f conftest.err conftest.$ac_objext \
23591 conftest$ac_exeext conftest.$ac_ext
23593 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23594 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23595 if test `eval echo '${'$as_ac_var'}'` = yes; then
23596 cat >>confdefs.h <<_ACEOF
23597 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23598 _ACEOF
23601 done
23608 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
23609 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
23610 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
23611 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
23612 echo $ECHO_N "(cached) $ECHO_C" >&6
23613 else
23617 ac_ext=cc
23618 ac_cpp='$CXXCPP $CPPFLAGS'
23619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23623 cat >conftest.$ac_ext <<_ACEOF
23624 /* confdefs.h. */
23625 _ACEOF
23626 cat confdefs.h >>conftest.$ac_ext
23627 cat >>conftest.$ac_ext <<_ACEOF
23628 /* end confdefs.h. */
23629 #include <math.h>
23631 main ()
23633 sincosl(0, 0, 0);
23635 return 0;
23637 _ACEOF
23638 rm -f conftest.$ac_objext
23639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23640 (eval $ac_compile) 2>conftest.er1
23641 ac_status=$?
23642 grep -v '^ *+' conftest.er1 >conftest.err
23643 rm -f conftest.er1
23644 cat conftest.err >&5
23645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23646 (exit $ac_status); } &&
23647 { ac_try='test -z "$ac_cxx_werror_flag"
23648 || test ! -s conftest.err'
23649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23650 (eval $ac_try) 2>&5
23651 ac_status=$?
23652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23653 (exit $ac_status); }; } &&
23654 { ac_try='test -s conftest.$ac_objext'
23655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23656 (eval $ac_try) 2>&5
23657 ac_status=$?
23658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23659 (exit $ac_status); }; }; then
23660 glibcxx_cv_func_sincosl_use=yes
23661 else
23662 echo "$as_me: failed program was:" >&5
23663 sed 's/^/| /' conftest.$ac_ext >&5
23665 glibcxx_cv_func_sincosl_use=no
23667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23668 ac_ext=c
23669 ac_cpp='$CPP $CPPFLAGS'
23670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23678 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
23679 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
23681 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
23683 for ac_func in sincosl
23685 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23686 echo "$as_me:$LINENO: checking for $ac_func" >&5
23687 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23688 if eval "test \"\${$as_ac_var+set}\" = set"; then
23689 echo $ECHO_N "(cached) $ECHO_C" >&6
23690 else
23691 if test x$gcc_no_link = xyes; then
23692 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23693 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23694 { (exit 1); exit 1; }; }
23696 cat >conftest.$ac_ext <<_ACEOF
23697 /* confdefs.h. */
23698 _ACEOF
23699 cat confdefs.h >>conftest.$ac_ext
23700 cat >>conftest.$ac_ext <<_ACEOF
23701 /* end confdefs.h. */
23702 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23703 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23704 #define $ac_func innocuous_$ac_func
23706 /* System header to define __stub macros and hopefully few prototypes,
23707 which can conflict with char $ac_func (); below.
23708 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23709 <limits.h> exists even on freestanding compilers. */
23711 #ifdef __STDC__
23712 # include <limits.h>
23713 #else
23714 # include <assert.h>
23715 #endif
23717 #undef $ac_func
23719 /* Override any gcc2 internal prototype to avoid an error. */
23720 #ifdef __cplusplus
23721 extern "C"
23723 #endif
23724 /* We use char because int might match the return type of a gcc2
23725 builtin and then its argument prototype would still apply. */
23726 char $ac_func ();
23727 /* The GNU C library defines this for functions which it implements
23728 to always fail with ENOSYS. Some functions are actually named
23729 something starting with __ and the normal name is an alias. */
23730 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23731 choke me
23732 #else
23733 char (*f) () = $ac_func;
23734 #endif
23735 #ifdef __cplusplus
23737 #endif
23740 main ()
23742 return f != $ac_func;
23744 return 0;
23746 _ACEOF
23747 rm -f conftest.$ac_objext conftest$ac_exeext
23748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23749 (eval $ac_link) 2>conftest.er1
23750 ac_status=$?
23751 grep -v '^ *+' conftest.er1 >conftest.err
23752 rm -f conftest.er1
23753 cat conftest.err >&5
23754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23755 (exit $ac_status); } &&
23756 { ac_try='test -z "$ac_c_werror_flag"
23757 || test ! -s conftest.err'
23758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23759 (eval $ac_try) 2>&5
23760 ac_status=$?
23761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23762 (exit $ac_status); }; } &&
23763 { ac_try='test -s conftest$ac_exeext'
23764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23765 (eval $ac_try) 2>&5
23766 ac_status=$?
23767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23768 (exit $ac_status); }; }; then
23769 eval "$as_ac_var=yes"
23770 else
23771 echo "$as_me: failed program was:" >&5
23772 sed 's/^/| /' conftest.$ac_ext >&5
23774 eval "$as_ac_var=no"
23776 rm -f conftest.err conftest.$ac_objext \
23777 conftest$ac_exeext conftest.$ac_ext
23779 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23780 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23781 if test `eval echo '${'$as_ac_var'}'` = yes; then
23782 cat >>confdefs.h <<_ACEOF
23783 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23784 _ACEOF
23787 done
23789 else
23791 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
23792 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
23793 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
23794 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
23795 echo $ECHO_N "(cached) $ECHO_C" >&6
23796 else
23800 ac_ext=cc
23801 ac_cpp='$CXXCPP $CPPFLAGS'
23802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23806 cat >conftest.$ac_ext <<_ACEOF
23807 /* confdefs.h. */
23808 _ACEOF
23809 cat confdefs.h >>conftest.$ac_ext
23810 cat >>conftest.$ac_ext <<_ACEOF
23811 /* end confdefs.h. */
23812 #include <math.h>
23814 main ()
23816 _sincosl(0, 0, 0);
23818 return 0;
23820 _ACEOF
23821 rm -f conftest.$ac_objext
23822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23823 (eval $ac_compile) 2>conftest.er1
23824 ac_status=$?
23825 grep -v '^ *+' conftest.er1 >conftest.err
23826 rm -f conftest.er1
23827 cat conftest.err >&5
23828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23829 (exit $ac_status); } &&
23830 { ac_try='test -z "$ac_cxx_werror_flag"
23831 || test ! -s conftest.err'
23832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23833 (eval $ac_try) 2>&5
23834 ac_status=$?
23835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23836 (exit $ac_status); }; } &&
23837 { ac_try='test -s conftest.$ac_objext'
23838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23839 (eval $ac_try) 2>&5
23840 ac_status=$?
23841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23842 (exit $ac_status); }; }; then
23843 glibcxx_cv_func__sincosl_use=yes
23844 else
23845 echo "$as_me: failed program was:" >&5
23846 sed 's/^/| /' conftest.$ac_ext >&5
23848 glibcxx_cv_func__sincosl_use=no
23850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23851 ac_ext=c
23852 ac_cpp='$CPP $CPPFLAGS'
23853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23861 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
23862 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
23864 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
23866 for ac_func in _sincosl
23868 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23869 echo "$as_me:$LINENO: checking for $ac_func" >&5
23870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23871 if eval "test \"\${$as_ac_var+set}\" = set"; then
23872 echo $ECHO_N "(cached) $ECHO_C" >&6
23873 else
23874 if test x$gcc_no_link = xyes; then
23875 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23876 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23877 { (exit 1); exit 1; }; }
23879 cat >conftest.$ac_ext <<_ACEOF
23880 /* confdefs.h. */
23881 _ACEOF
23882 cat confdefs.h >>conftest.$ac_ext
23883 cat >>conftest.$ac_ext <<_ACEOF
23884 /* end confdefs.h. */
23885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23887 #define $ac_func innocuous_$ac_func
23889 /* System header to define __stub macros and hopefully few prototypes,
23890 which can conflict with char $ac_func (); below.
23891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23892 <limits.h> exists even on freestanding compilers. */
23894 #ifdef __STDC__
23895 # include <limits.h>
23896 #else
23897 # include <assert.h>
23898 #endif
23900 #undef $ac_func
23902 /* Override any gcc2 internal prototype to avoid an error. */
23903 #ifdef __cplusplus
23904 extern "C"
23906 #endif
23907 /* We use char because int might match the return type of a gcc2
23908 builtin and then its argument prototype would still apply. */
23909 char $ac_func ();
23910 /* The GNU C library defines this for functions which it implements
23911 to always fail with ENOSYS. Some functions are actually named
23912 something starting with __ and the normal name is an alias. */
23913 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23914 choke me
23915 #else
23916 char (*f) () = $ac_func;
23917 #endif
23918 #ifdef __cplusplus
23920 #endif
23923 main ()
23925 return f != $ac_func;
23927 return 0;
23929 _ACEOF
23930 rm -f conftest.$ac_objext conftest$ac_exeext
23931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23932 (eval $ac_link) 2>conftest.er1
23933 ac_status=$?
23934 grep -v '^ *+' conftest.er1 >conftest.err
23935 rm -f conftest.er1
23936 cat conftest.err >&5
23937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23938 (exit $ac_status); } &&
23939 { ac_try='test -z "$ac_c_werror_flag"
23940 || test ! -s conftest.err'
23941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23942 (eval $ac_try) 2>&5
23943 ac_status=$?
23944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23945 (exit $ac_status); }; } &&
23946 { ac_try='test -s conftest$ac_exeext'
23947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23948 (eval $ac_try) 2>&5
23949 ac_status=$?
23950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23951 (exit $ac_status); }; }; then
23952 eval "$as_ac_var=yes"
23953 else
23954 echo "$as_me: failed program was:" >&5
23955 sed 's/^/| /' conftest.$ac_ext >&5
23957 eval "$as_ac_var=no"
23959 rm -f conftest.err conftest.$ac_objext \
23960 conftest$ac_exeext conftest.$ac_ext
23962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23963 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23964 if test `eval echo '${'$as_ac_var'}'` = yes; then
23965 cat >>confdefs.h <<_ACEOF
23966 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23967 _ACEOF
23970 done
23977 echo "$as_me:$LINENO: checking for finitel declaration" >&5
23978 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
23979 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
23980 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
23981 echo $ECHO_N "(cached) $ECHO_C" >&6
23982 else
23986 ac_ext=cc
23987 ac_cpp='$CXXCPP $CPPFLAGS'
23988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23992 cat >conftest.$ac_ext <<_ACEOF
23993 /* confdefs.h. */
23994 _ACEOF
23995 cat confdefs.h >>conftest.$ac_ext
23996 cat >>conftest.$ac_ext <<_ACEOF
23997 /* end confdefs.h. */
23998 #include <math.h>
23999 #ifdef HAVE_IEEEFP_H
24000 #include <ieeefp.h>
24001 #endif
24004 main ()
24006 finitel(0);
24008 return 0;
24010 _ACEOF
24011 rm -f conftest.$ac_objext
24012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24013 (eval $ac_compile) 2>conftest.er1
24014 ac_status=$?
24015 grep -v '^ *+' conftest.er1 >conftest.err
24016 rm -f conftest.er1
24017 cat conftest.err >&5
24018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24019 (exit $ac_status); } &&
24020 { ac_try='test -z "$ac_cxx_werror_flag"
24021 || test ! -s conftest.err'
24022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24023 (eval $ac_try) 2>&5
24024 ac_status=$?
24025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24026 (exit $ac_status); }; } &&
24027 { ac_try='test -s conftest.$ac_objext'
24028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24029 (eval $ac_try) 2>&5
24030 ac_status=$?
24031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24032 (exit $ac_status); }; }; then
24033 glibcxx_cv_func_finitel_use=yes
24034 else
24035 echo "$as_me: failed program was:" >&5
24036 sed 's/^/| /' conftest.$ac_ext >&5
24038 glibcxx_cv_func_finitel_use=no
24040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24041 ac_ext=c
24042 ac_cpp='$CPP $CPPFLAGS'
24043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24051 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
24052 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
24054 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
24056 for ac_func in finitel
24058 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24059 echo "$as_me:$LINENO: checking for $ac_func" >&5
24060 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24061 if eval "test \"\${$as_ac_var+set}\" = set"; then
24062 echo $ECHO_N "(cached) $ECHO_C" >&6
24063 else
24064 if test x$gcc_no_link = xyes; then
24065 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24066 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24067 { (exit 1); exit 1; }; }
24069 cat >conftest.$ac_ext <<_ACEOF
24070 /* confdefs.h. */
24071 _ACEOF
24072 cat confdefs.h >>conftest.$ac_ext
24073 cat >>conftest.$ac_ext <<_ACEOF
24074 /* end confdefs.h. */
24075 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24076 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24077 #define $ac_func innocuous_$ac_func
24079 /* System header to define __stub macros and hopefully few prototypes,
24080 which can conflict with char $ac_func (); below.
24081 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24082 <limits.h> exists even on freestanding compilers. */
24084 #ifdef __STDC__
24085 # include <limits.h>
24086 #else
24087 # include <assert.h>
24088 #endif
24090 #undef $ac_func
24092 /* Override any gcc2 internal prototype to avoid an error. */
24093 #ifdef __cplusplus
24094 extern "C"
24096 #endif
24097 /* We use char because int might match the return type of a gcc2
24098 builtin and then its argument prototype would still apply. */
24099 char $ac_func ();
24100 /* The GNU C library defines this for functions which it implements
24101 to always fail with ENOSYS. Some functions are actually named
24102 something starting with __ and the normal name is an alias. */
24103 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24104 choke me
24105 #else
24106 char (*f) () = $ac_func;
24107 #endif
24108 #ifdef __cplusplus
24110 #endif
24113 main ()
24115 return f != $ac_func;
24117 return 0;
24119 _ACEOF
24120 rm -f conftest.$ac_objext conftest$ac_exeext
24121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24122 (eval $ac_link) 2>conftest.er1
24123 ac_status=$?
24124 grep -v '^ *+' conftest.er1 >conftest.err
24125 rm -f conftest.er1
24126 cat conftest.err >&5
24127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24128 (exit $ac_status); } &&
24129 { ac_try='test -z "$ac_c_werror_flag"
24130 || test ! -s conftest.err'
24131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24132 (eval $ac_try) 2>&5
24133 ac_status=$?
24134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24135 (exit $ac_status); }; } &&
24136 { ac_try='test -s conftest$ac_exeext'
24137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24138 (eval $ac_try) 2>&5
24139 ac_status=$?
24140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24141 (exit $ac_status); }; }; then
24142 eval "$as_ac_var=yes"
24143 else
24144 echo "$as_me: failed program was:" >&5
24145 sed 's/^/| /' conftest.$ac_ext >&5
24147 eval "$as_ac_var=no"
24149 rm -f conftest.err conftest.$ac_objext \
24150 conftest$ac_exeext conftest.$ac_ext
24152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24153 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24154 if test `eval echo '${'$as_ac_var'}'` = yes; then
24155 cat >>confdefs.h <<_ACEOF
24156 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24157 _ACEOF
24160 done
24162 else
24164 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
24165 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
24166 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
24167 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
24168 echo $ECHO_N "(cached) $ECHO_C" >&6
24169 else
24173 ac_ext=cc
24174 ac_cpp='$CXXCPP $CPPFLAGS'
24175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24179 cat >conftest.$ac_ext <<_ACEOF
24180 /* confdefs.h. */
24181 _ACEOF
24182 cat confdefs.h >>conftest.$ac_ext
24183 cat >>conftest.$ac_ext <<_ACEOF
24184 /* end confdefs.h. */
24185 #include <math.h>
24186 #ifdef HAVE_IEEEFP_H
24187 #include <ieeefp.h>
24188 #endif
24191 main ()
24193 _finitel(0);
24195 return 0;
24197 _ACEOF
24198 rm -f conftest.$ac_objext
24199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24200 (eval $ac_compile) 2>conftest.er1
24201 ac_status=$?
24202 grep -v '^ *+' conftest.er1 >conftest.err
24203 rm -f conftest.er1
24204 cat conftest.err >&5
24205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24206 (exit $ac_status); } &&
24207 { ac_try='test -z "$ac_cxx_werror_flag"
24208 || test ! -s conftest.err'
24209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24210 (eval $ac_try) 2>&5
24211 ac_status=$?
24212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24213 (exit $ac_status); }; } &&
24214 { ac_try='test -s conftest.$ac_objext'
24215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24216 (eval $ac_try) 2>&5
24217 ac_status=$?
24218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24219 (exit $ac_status); }; }; then
24220 glibcxx_cv_func__finitel_use=yes
24221 else
24222 echo "$as_me: failed program was:" >&5
24223 sed 's/^/| /' conftest.$ac_ext >&5
24225 glibcxx_cv_func__finitel_use=no
24227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24228 ac_ext=c
24229 ac_cpp='$CPP $CPPFLAGS'
24230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24238 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
24239 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
24241 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
24243 for ac_func in _finitel
24245 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24246 echo "$as_me:$LINENO: checking for $ac_func" >&5
24247 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24248 if eval "test \"\${$as_ac_var+set}\" = set"; then
24249 echo $ECHO_N "(cached) $ECHO_C" >&6
24250 else
24251 if test x$gcc_no_link = xyes; then
24252 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24253 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24254 { (exit 1); exit 1; }; }
24256 cat >conftest.$ac_ext <<_ACEOF
24257 /* confdefs.h. */
24258 _ACEOF
24259 cat confdefs.h >>conftest.$ac_ext
24260 cat >>conftest.$ac_ext <<_ACEOF
24261 /* end confdefs.h. */
24262 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24263 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24264 #define $ac_func innocuous_$ac_func
24266 /* System header to define __stub macros and hopefully few prototypes,
24267 which can conflict with char $ac_func (); below.
24268 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24269 <limits.h> exists even on freestanding compilers. */
24271 #ifdef __STDC__
24272 # include <limits.h>
24273 #else
24274 # include <assert.h>
24275 #endif
24277 #undef $ac_func
24279 /* Override any gcc2 internal prototype to avoid an error. */
24280 #ifdef __cplusplus
24281 extern "C"
24283 #endif
24284 /* We use char because int might match the return type of a gcc2
24285 builtin and then its argument prototype would still apply. */
24286 char $ac_func ();
24287 /* The GNU C library defines this for functions which it implements
24288 to always fail with ENOSYS. Some functions are actually named
24289 something starting with __ and the normal name is an alias. */
24290 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24291 choke me
24292 #else
24293 char (*f) () = $ac_func;
24294 #endif
24295 #ifdef __cplusplus
24297 #endif
24300 main ()
24302 return f != $ac_func;
24304 return 0;
24306 _ACEOF
24307 rm -f conftest.$ac_objext conftest$ac_exeext
24308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24309 (eval $ac_link) 2>conftest.er1
24310 ac_status=$?
24311 grep -v '^ *+' conftest.er1 >conftest.err
24312 rm -f conftest.er1
24313 cat conftest.err >&5
24314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24315 (exit $ac_status); } &&
24316 { ac_try='test -z "$ac_c_werror_flag"
24317 || test ! -s conftest.err'
24318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24319 (eval $ac_try) 2>&5
24320 ac_status=$?
24321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24322 (exit $ac_status); }; } &&
24323 { ac_try='test -s conftest$ac_exeext'
24324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24325 (eval $ac_try) 2>&5
24326 ac_status=$?
24327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24328 (exit $ac_status); }; }; then
24329 eval "$as_ac_var=yes"
24330 else
24331 echo "$as_me: failed program was:" >&5
24332 sed 's/^/| /' conftest.$ac_ext >&5
24334 eval "$as_ac_var=no"
24336 rm -f conftest.err conftest.$ac_objext \
24337 conftest$ac_exeext conftest.$ac_ext
24339 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24340 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24341 if test `eval echo '${'$as_ac_var'}'` = yes; then
24342 cat >>confdefs.h <<_ACEOF
24343 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24344 _ACEOF
24347 done
24355 echo "$as_me:$LINENO: checking for _float trig functions" >&5
24356 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
24357 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
24358 echo $ECHO_N "(cached) $ECHO_C" >&6
24359 else
24363 ac_ext=cc
24364 ac_cpp='$CXXCPP $CPPFLAGS'
24365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24369 cat >conftest.$ac_ext <<_ACEOF
24370 /* confdefs.h. */
24371 _ACEOF
24372 cat confdefs.h >>conftest.$ac_ext
24373 cat >>conftest.$ac_ext <<_ACEOF
24374 /* end confdefs.h. */
24375 #include <math.h>
24377 main ()
24379 `for x in _acosf _asinf _atanf \
24380 _cosf _sinf _tanf \
24381 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
24383 return 0;
24385 _ACEOF
24386 rm -f conftest.$ac_objext
24387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24388 (eval $ac_compile) 2>conftest.er1
24389 ac_status=$?
24390 grep -v '^ *+' conftest.er1 >conftest.err
24391 rm -f conftest.er1
24392 cat conftest.err >&5
24393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24394 (exit $ac_status); } &&
24395 { ac_try='test -z "$ac_cxx_werror_flag"
24396 || test ! -s conftest.err'
24397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24398 (eval $ac_try) 2>&5
24399 ac_status=$?
24400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24401 (exit $ac_status); }; } &&
24402 { ac_try='test -s conftest.$ac_objext'
24403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24404 (eval $ac_try) 2>&5
24405 ac_status=$?
24406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24407 (exit $ac_status); }; }; then
24408 glibcxx_cv_func__float_trig_use=yes
24409 else
24410 echo "$as_me: failed program was:" >&5
24411 sed 's/^/| /' conftest.$ac_ext >&5
24413 glibcxx_cv_func__float_trig_use=no
24415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24416 ac_ext=c
24417 ac_cpp='$CPP $CPPFLAGS'
24418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24424 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
24425 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
24426 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
24436 for ac_func in _acosf _asinf _atanf \
24437 _cosf _sinf _tanf \
24438 _coshf _sinhf _tanhf
24440 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24441 echo "$as_me:$LINENO: checking for $ac_func" >&5
24442 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24443 if eval "test \"\${$as_ac_var+set}\" = set"; then
24444 echo $ECHO_N "(cached) $ECHO_C" >&6
24445 else
24446 if test x$gcc_no_link = xyes; then
24447 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24448 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24449 { (exit 1); exit 1; }; }
24451 cat >conftest.$ac_ext <<_ACEOF
24452 /* confdefs.h. */
24453 _ACEOF
24454 cat confdefs.h >>conftest.$ac_ext
24455 cat >>conftest.$ac_ext <<_ACEOF
24456 /* end confdefs.h. */
24457 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24458 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24459 #define $ac_func innocuous_$ac_func
24461 /* System header to define __stub macros and hopefully few prototypes,
24462 which can conflict with char $ac_func (); below.
24463 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24464 <limits.h> exists even on freestanding compilers. */
24466 #ifdef __STDC__
24467 # include <limits.h>
24468 #else
24469 # include <assert.h>
24470 #endif
24472 #undef $ac_func
24474 /* Override any gcc2 internal prototype to avoid an error. */
24475 #ifdef __cplusplus
24476 extern "C"
24478 #endif
24479 /* We use char because int might match the return type of a gcc2
24480 builtin and then its argument prototype would still apply. */
24481 char $ac_func ();
24482 /* The GNU C library defines this for functions which it implements
24483 to always fail with ENOSYS. Some functions are actually named
24484 something starting with __ and the normal name is an alias. */
24485 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24486 choke me
24487 #else
24488 char (*f) () = $ac_func;
24489 #endif
24490 #ifdef __cplusplus
24492 #endif
24495 main ()
24497 return f != $ac_func;
24499 return 0;
24501 _ACEOF
24502 rm -f conftest.$ac_objext conftest$ac_exeext
24503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24504 (eval $ac_link) 2>conftest.er1
24505 ac_status=$?
24506 grep -v '^ *+' conftest.er1 >conftest.err
24507 rm -f conftest.er1
24508 cat conftest.err >&5
24509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24510 (exit $ac_status); } &&
24511 { ac_try='test -z "$ac_c_werror_flag"
24512 || test ! -s conftest.err'
24513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24514 (eval $ac_try) 2>&5
24515 ac_status=$?
24516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24517 (exit $ac_status); }; } &&
24518 { ac_try='test -s conftest$ac_exeext'
24519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24520 (eval $ac_try) 2>&5
24521 ac_status=$?
24522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24523 (exit $ac_status); }; }; then
24524 eval "$as_ac_var=yes"
24525 else
24526 echo "$as_me: failed program was:" >&5
24527 sed 's/^/| /' conftest.$ac_ext >&5
24529 eval "$as_ac_var=no"
24531 rm -f conftest.err conftest.$ac_objext \
24532 conftest$ac_exeext conftest.$ac_ext
24534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24535 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24536 if test `eval echo '${'$as_ac_var'}'` = yes; then
24537 cat >>confdefs.h <<_ACEOF
24538 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24539 _ACEOF
24542 done
24547 echo "$as_me:$LINENO: checking for _float round functions" >&5
24548 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
24549 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
24550 echo $ECHO_N "(cached) $ECHO_C" >&6
24551 else
24555 ac_ext=cc
24556 ac_cpp='$CXXCPP $CPPFLAGS'
24557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24561 cat >conftest.$ac_ext <<_ACEOF
24562 /* confdefs.h. */
24563 _ACEOF
24564 cat confdefs.h >>conftest.$ac_ext
24565 cat >>conftest.$ac_ext <<_ACEOF
24566 /* end confdefs.h. */
24567 #include <math.h>
24569 main ()
24571 `for x in _ceilf _floorf; do echo "$x (0);"; done`
24573 return 0;
24575 _ACEOF
24576 rm -f conftest.$ac_objext
24577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24578 (eval $ac_compile) 2>conftest.er1
24579 ac_status=$?
24580 grep -v '^ *+' conftest.er1 >conftest.err
24581 rm -f conftest.er1
24582 cat conftest.err >&5
24583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24584 (exit $ac_status); } &&
24585 { ac_try='test -z "$ac_cxx_werror_flag"
24586 || test ! -s conftest.err'
24587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24588 (eval $ac_try) 2>&5
24589 ac_status=$?
24590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24591 (exit $ac_status); }; } &&
24592 { ac_try='test -s conftest.$ac_objext'
24593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24594 (eval $ac_try) 2>&5
24595 ac_status=$?
24596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24597 (exit $ac_status); }; }; then
24598 glibcxx_cv_func__float_round_use=yes
24599 else
24600 echo "$as_me: failed program was:" >&5
24601 sed 's/^/| /' conftest.$ac_ext >&5
24603 glibcxx_cv_func__float_round_use=no
24605 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24606 ac_ext=c
24607 ac_cpp='$CPP $CPPFLAGS'
24608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24614 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
24615 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
24616 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
24619 for ac_func in _ceilf _floorf
24621 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24622 echo "$as_me:$LINENO: checking for $ac_func" >&5
24623 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24624 if eval "test \"\${$as_ac_var+set}\" = set"; then
24625 echo $ECHO_N "(cached) $ECHO_C" >&6
24626 else
24627 if test x$gcc_no_link = xyes; then
24628 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24629 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24630 { (exit 1); exit 1; }; }
24632 cat >conftest.$ac_ext <<_ACEOF
24633 /* confdefs.h. */
24634 _ACEOF
24635 cat confdefs.h >>conftest.$ac_ext
24636 cat >>conftest.$ac_ext <<_ACEOF
24637 /* end confdefs.h. */
24638 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24639 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24640 #define $ac_func innocuous_$ac_func
24642 /* System header to define __stub macros and hopefully few prototypes,
24643 which can conflict with char $ac_func (); below.
24644 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24645 <limits.h> exists even on freestanding compilers. */
24647 #ifdef __STDC__
24648 # include <limits.h>
24649 #else
24650 # include <assert.h>
24651 #endif
24653 #undef $ac_func
24655 /* Override any gcc2 internal prototype to avoid an error. */
24656 #ifdef __cplusplus
24657 extern "C"
24659 #endif
24660 /* We use char because int might match the return type of a gcc2
24661 builtin and then its argument prototype would still apply. */
24662 char $ac_func ();
24663 /* The GNU C library defines this for functions which it implements
24664 to always fail with ENOSYS. Some functions are actually named
24665 something starting with __ and the normal name is an alias. */
24666 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24667 choke me
24668 #else
24669 char (*f) () = $ac_func;
24670 #endif
24671 #ifdef __cplusplus
24673 #endif
24676 main ()
24678 return f != $ac_func;
24680 return 0;
24682 _ACEOF
24683 rm -f conftest.$ac_objext conftest$ac_exeext
24684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24685 (eval $ac_link) 2>conftest.er1
24686 ac_status=$?
24687 grep -v '^ *+' conftest.er1 >conftest.err
24688 rm -f conftest.er1
24689 cat conftest.err >&5
24690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24691 (exit $ac_status); } &&
24692 { ac_try='test -z "$ac_c_werror_flag"
24693 || test ! -s conftest.err'
24694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24695 (eval $ac_try) 2>&5
24696 ac_status=$?
24697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24698 (exit $ac_status); }; } &&
24699 { ac_try='test -s conftest$ac_exeext'
24700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24701 (eval $ac_try) 2>&5
24702 ac_status=$?
24703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24704 (exit $ac_status); }; }; then
24705 eval "$as_ac_var=yes"
24706 else
24707 echo "$as_me: failed program was:" >&5
24708 sed 's/^/| /' conftest.$ac_ext >&5
24710 eval "$as_ac_var=no"
24712 rm -f conftest.err conftest.$ac_objext \
24713 conftest$ac_exeext conftest.$ac_ext
24715 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24716 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24717 if test `eval echo '${'$as_ac_var'}'` = yes; then
24718 cat >>confdefs.h <<_ACEOF
24719 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24720 _ACEOF
24723 done
24729 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
24730 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
24731 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
24732 echo $ECHO_N "(cached) $ECHO_C" >&6
24733 else
24737 ac_ext=cc
24738 ac_cpp='$CXXCPP $CPPFLAGS'
24739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24743 cat >conftest.$ac_ext <<_ACEOF
24744 /* confdefs.h. */
24745 _ACEOF
24746 cat confdefs.h >>conftest.$ac_ext
24747 cat >>conftest.$ac_ext <<_ACEOF
24748 /* end confdefs.h. */
24749 #include <math.h>
24751 main ()
24753 `for x in _acosl _asinl _atanl \
24754 _cosl _sinl _tanl \
24755 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
24757 return 0;
24759 _ACEOF
24760 rm -f conftest.$ac_objext
24761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24762 (eval $ac_compile) 2>conftest.er1
24763 ac_status=$?
24764 grep -v '^ *+' conftest.er1 >conftest.err
24765 rm -f conftest.er1
24766 cat conftest.err >&5
24767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24768 (exit $ac_status); } &&
24769 { ac_try='test -z "$ac_cxx_werror_flag"
24770 || test ! -s conftest.err'
24771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24772 (eval $ac_try) 2>&5
24773 ac_status=$?
24774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24775 (exit $ac_status); }; } &&
24776 { ac_try='test -s conftest.$ac_objext'
24777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24778 (eval $ac_try) 2>&5
24779 ac_status=$?
24780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24781 (exit $ac_status); }; }; then
24782 glibcxx_cv_func__long_double_trig_use=yes
24783 else
24784 echo "$as_me: failed program was:" >&5
24785 sed 's/^/| /' conftest.$ac_ext >&5
24787 glibcxx_cv_func__long_double_trig_use=no
24789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24790 ac_ext=c
24791 ac_cpp='$CPP $CPPFLAGS'
24792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24798 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
24799 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
24800 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24810 for ac_func in _acosl _asinl _atanl \
24811 _cosl _sinl _tanl \
24812 _coshl _sinhl _tanhl
24814 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24815 echo "$as_me:$LINENO: checking for $ac_func" >&5
24816 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24817 if eval "test \"\${$as_ac_var+set}\" = set"; then
24818 echo $ECHO_N "(cached) $ECHO_C" >&6
24819 else
24820 if test x$gcc_no_link = xyes; then
24821 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24822 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24823 { (exit 1); exit 1; }; }
24825 cat >conftest.$ac_ext <<_ACEOF
24826 /* confdefs.h. */
24827 _ACEOF
24828 cat confdefs.h >>conftest.$ac_ext
24829 cat >>conftest.$ac_ext <<_ACEOF
24830 /* end confdefs.h. */
24831 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24832 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24833 #define $ac_func innocuous_$ac_func
24835 /* System header to define __stub macros and hopefully few prototypes,
24836 which can conflict with char $ac_func (); below.
24837 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24838 <limits.h> exists even on freestanding compilers. */
24840 #ifdef __STDC__
24841 # include <limits.h>
24842 #else
24843 # include <assert.h>
24844 #endif
24846 #undef $ac_func
24848 /* Override any gcc2 internal prototype to avoid an error. */
24849 #ifdef __cplusplus
24850 extern "C"
24852 #endif
24853 /* We use char because int might match the return type of a gcc2
24854 builtin and then its argument prototype would still apply. */
24855 char $ac_func ();
24856 /* The GNU C library defines this for functions which it implements
24857 to always fail with ENOSYS. Some functions are actually named
24858 something starting with __ and the normal name is an alias. */
24859 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24860 choke me
24861 #else
24862 char (*f) () = $ac_func;
24863 #endif
24864 #ifdef __cplusplus
24866 #endif
24869 main ()
24871 return f != $ac_func;
24873 return 0;
24875 _ACEOF
24876 rm -f conftest.$ac_objext conftest$ac_exeext
24877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24878 (eval $ac_link) 2>conftest.er1
24879 ac_status=$?
24880 grep -v '^ *+' conftest.er1 >conftest.err
24881 rm -f conftest.er1
24882 cat conftest.err >&5
24883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24884 (exit $ac_status); } &&
24885 { ac_try='test -z "$ac_c_werror_flag"
24886 || test ! -s conftest.err'
24887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24888 (eval $ac_try) 2>&5
24889 ac_status=$?
24890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24891 (exit $ac_status); }; } &&
24892 { ac_try='test -s conftest$ac_exeext'
24893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24894 (eval $ac_try) 2>&5
24895 ac_status=$?
24896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24897 (exit $ac_status); }; }; then
24898 eval "$as_ac_var=yes"
24899 else
24900 echo "$as_me: failed program was:" >&5
24901 sed 's/^/| /' conftest.$ac_ext >&5
24903 eval "$as_ac_var=no"
24905 rm -f conftest.err conftest.$ac_objext \
24906 conftest$ac_exeext conftest.$ac_ext
24908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24909 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24910 if test `eval echo '${'$as_ac_var'}'` = yes; then
24911 cat >>confdefs.h <<_ACEOF
24912 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24913 _ACEOF
24916 done
24921 echo "$as_me:$LINENO: checking for _long double round functions" >&5
24922 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
24923 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
24924 echo $ECHO_N "(cached) $ECHO_C" >&6
24925 else
24929 ac_ext=cc
24930 ac_cpp='$CXXCPP $CPPFLAGS'
24931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24935 cat >conftest.$ac_ext <<_ACEOF
24936 /* confdefs.h. */
24937 _ACEOF
24938 cat confdefs.h >>conftest.$ac_ext
24939 cat >>conftest.$ac_ext <<_ACEOF
24940 /* end confdefs.h. */
24941 #include <math.h>
24943 main ()
24945 `for x in _ceill _floorl; do echo "$x (0);"; done`
24947 return 0;
24949 _ACEOF
24950 rm -f conftest.$ac_objext
24951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24952 (eval $ac_compile) 2>conftest.er1
24953 ac_status=$?
24954 grep -v '^ *+' conftest.er1 >conftest.err
24955 rm -f conftest.er1
24956 cat conftest.err >&5
24957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24958 (exit $ac_status); } &&
24959 { ac_try='test -z "$ac_cxx_werror_flag"
24960 || test ! -s conftest.err'
24961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24962 (eval $ac_try) 2>&5
24963 ac_status=$?
24964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24965 (exit $ac_status); }; } &&
24966 { ac_try='test -s conftest.$ac_objext'
24967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24968 (eval $ac_try) 2>&5
24969 ac_status=$?
24970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24971 (exit $ac_status); }; }; then
24972 glibcxx_cv_func__long_double_round_use=yes
24973 else
24974 echo "$as_me: failed program was:" >&5
24975 sed 's/^/| /' conftest.$ac_ext >&5
24977 glibcxx_cv_func__long_double_round_use=no
24979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24980 ac_ext=c
24981 ac_cpp='$CPP $CPPFLAGS'
24982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24988 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
24989 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
24990 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24993 for ac_func in _ceill _floorl
24995 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24996 echo "$as_me:$LINENO: checking for $ac_func" >&5
24997 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24998 if eval "test \"\${$as_ac_var+set}\" = set"; then
24999 echo $ECHO_N "(cached) $ECHO_C" >&6
25000 else
25001 if test x$gcc_no_link = xyes; then
25002 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25003 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25004 { (exit 1); exit 1; }; }
25006 cat >conftest.$ac_ext <<_ACEOF
25007 /* confdefs.h. */
25008 _ACEOF
25009 cat confdefs.h >>conftest.$ac_ext
25010 cat >>conftest.$ac_ext <<_ACEOF
25011 /* end confdefs.h. */
25012 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25013 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25014 #define $ac_func innocuous_$ac_func
25016 /* System header to define __stub macros and hopefully few prototypes,
25017 which can conflict with char $ac_func (); below.
25018 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25019 <limits.h> exists even on freestanding compilers. */
25021 #ifdef __STDC__
25022 # include <limits.h>
25023 #else
25024 # include <assert.h>
25025 #endif
25027 #undef $ac_func
25029 /* Override any gcc2 internal prototype to avoid an error. */
25030 #ifdef __cplusplus
25031 extern "C"
25033 #endif
25034 /* We use char because int might match the return type of a gcc2
25035 builtin and then its argument prototype would still apply. */
25036 char $ac_func ();
25037 /* The GNU C library defines this for functions which it implements
25038 to always fail with ENOSYS. Some functions are actually named
25039 something starting with __ and the normal name is an alias. */
25040 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25041 choke me
25042 #else
25043 char (*f) () = $ac_func;
25044 #endif
25045 #ifdef __cplusplus
25047 #endif
25050 main ()
25052 return f != $ac_func;
25054 return 0;
25056 _ACEOF
25057 rm -f conftest.$ac_objext conftest$ac_exeext
25058 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25059 (eval $ac_link) 2>conftest.er1
25060 ac_status=$?
25061 grep -v '^ *+' conftest.er1 >conftest.err
25062 rm -f conftest.er1
25063 cat conftest.err >&5
25064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25065 (exit $ac_status); } &&
25066 { ac_try='test -z "$ac_c_werror_flag"
25067 || test ! -s conftest.err'
25068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25069 (eval $ac_try) 2>&5
25070 ac_status=$?
25071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25072 (exit $ac_status); }; } &&
25073 { ac_try='test -s conftest$ac_exeext'
25074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25075 (eval $ac_try) 2>&5
25076 ac_status=$?
25077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25078 (exit $ac_status); }; }; then
25079 eval "$as_ac_var=yes"
25080 else
25081 echo "$as_me: failed program was:" >&5
25082 sed 's/^/| /' conftest.$ac_ext >&5
25084 eval "$as_ac_var=no"
25086 rm -f conftest.err conftest.$ac_objext \
25087 conftest$ac_exeext conftest.$ac_ext
25089 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25090 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25091 if test `eval echo '${'$as_ac_var'}'` = yes; then
25092 cat >>confdefs.h <<_ACEOF
25093 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25094 _ACEOF
25097 done
25102 LIBS="$ac_save_LIBS"
25103 CXXFLAGS="$ac_save_CXXFLAGS"
25107 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
25108 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
25109 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
25110 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
25111 echo $ECHO_N "(cached) $ECHO_C" >&6
25112 else
25116 ac_ext=cc
25117 ac_cpp='$CXXCPP $CPPFLAGS'
25118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25122 cat >conftest.$ac_ext <<_ACEOF
25123 /* confdefs.h. */
25124 _ACEOF
25125 cat confdefs.h >>conftest.$ac_ext
25126 cat >>conftest.$ac_ext <<_ACEOF
25127 /* end confdefs.h. */
25128 #include <math.h>
25130 main ()
25132 __builtin_abs(0);
25134 return 0;
25136 _ACEOF
25137 rm -f conftest.$ac_objext
25138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25139 (eval $ac_compile) 2>conftest.er1
25140 ac_status=$?
25141 grep -v '^ *+' conftest.er1 >conftest.err
25142 rm -f conftest.er1
25143 cat conftest.err >&5
25144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25145 (exit $ac_status); } &&
25146 { ac_try='test -z "$ac_cxx_werror_flag"
25147 || test ! -s conftest.err'
25148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25149 (eval $ac_try) 2>&5
25150 ac_status=$?
25151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25152 (exit $ac_status); }; } &&
25153 { ac_try='test -s conftest.$ac_objext'
25154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25155 (eval $ac_try) 2>&5
25156 ac_status=$?
25157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25158 (exit $ac_status); }; }; then
25159 glibcxx_cv_func___builtin_abs_use=yes
25160 else
25161 echo "$as_me: failed program was:" >&5
25162 sed 's/^/| /' conftest.$ac_ext >&5
25164 glibcxx_cv_func___builtin_abs_use=no
25166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25167 ac_ext=c
25168 ac_cpp='$CPP $CPPFLAGS'
25169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25177 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
25178 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
25179 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
25180 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
25181 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
25182 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
25183 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
25184 echo $ECHO_N "(cached) $ECHO_C" >&6
25185 else
25187 if test x$gcc_no_link = xyes; then
25188 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25189 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25190 { (exit 1); exit 1; }; }
25192 cat >conftest.$ac_ext <<_ACEOF
25193 /* confdefs.h. */
25194 _ACEOF
25195 cat confdefs.h >>conftest.$ac_ext
25196 cat >>conftest.$ac_ext <<_ACEOF
25197 /* end confdefs.h. */
25198 #include <math.h>
25200 main ()
25202 __builtin_abs(0);
25204 return 0;
25206 _ACEOF
25207 rm -f conftest.$ac_objext conftest$ac_exeext
25208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25209 (eval $ac_link) 2>conftest.er1
25210 ac_status=$?
25211 grep -v '^ *+' conftest.er1 >conftest.err
25212 rm -f conftest.er1
25213 cat conftest.err >&5
25214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25215 (exit $ac_status); } &&
25216 { ac_try='test -z "$ac_c_werror_flag"
25217 || test ! -s conftest.err'
25218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25219 (eval $ac_try) 2>&5
25220 ac_status=$?
25221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25222 (exit $ac_status); }; } &&
25223 { ac_try='test -s conftest$ac_exeext'
25224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25225 (eval $ac_try) 2>&5
25226 ac_status=$?
25227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25228 (exit $ac_status); }; }; then
25229 glibcxx_cv_func___builtin_abs_link=yes
25230 else
25231 echo "$as_me: failed program was:" >&5
25232 sed 's/^/| /' conftest.$ac_ext >&5
25234 glibcxx_cv_func___builtin_abs_link=no
25236 rm -f conftest.err conftest.$ac_objext \
25237 conftest$ac_exeext conftest.$ac_ext
25242 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
25243 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
25244 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
25245 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25247 cat >>confdefs.h <<_ACEOF
25248 #define ${ac_tr_func} 1
25249 _ACEOF
25255 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
25256 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
25257 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
25258 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
25259 echo $ECHO_N "(cached) $ECHO_C" >&6
25260 else
25264 ac_ext=cc
25265 ac_cpp='$CXXCPP $CPPFLAGS'
25266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25270 cat >conftest.$ac_ext <<_ACEOF
25271 /* confdefs.h. */
25272 _ACEOF
25273 cat confdefs.h >>conftest.$ac_ext
25274 cat >>conftest.$ac_ext <<_ACEOF
25275 /* end confdefs.h. */
25276 #include <math.h>
25278 main ()
25280 __builtin_fabsf(0);
25282 return 0;
25284 _ACEOF
25285 rm -f conftest.$ac_objext
25286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25287 (eval $ac_compile) 2>conftest.er1
25288 ac_status=$?
25289 grep -v '^ *+' conftest.er1 >conftest.err
25290 rm -f conftest.er1
25291 cat conftest.err >&5
25292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25293 (exit $ac_status); } &&
25294 { ac_try='test -z "$ac_cxx_werror_flag"
25295 || test ! -s conftest.err'
25296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25297 (eval $ac_try) 2>&5
25298 ac_status=$?
25299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25300 (exit $ac_status); }; } &&
25301 { ac_try='test -s conftest.$ac_objext'
25302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25303 (eval $ac_try) 2>&5
25304 ac_status=$?
25305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25306 (exit $ac_status); }; }; then
25307 glibcxx_cv_func___builtin_fabsf_use=yes
25308 else
25309 echo "$as_me: failed program was:" >&5
25310 sed 's/^/| /' conftest.$ac_ext >&5
25312 glibcxx_cv_func___builtin_fabsf_use=no
25314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25315 ac_ext=c
25316 ac_cpp='$CPP $CPPFLAGS'
25317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25325 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
25326 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
25327 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
25328 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
25329 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
25330 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
25331 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
25332 echo $ECHO_N "(cached) $ECHO_C" >&6
25333 else
25335 if test x$gcc_no_link = xyes; then
25336 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25337 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25338 { (exit 1); exit 1; }; }
25340 cat >conftest.$ac_ext <<_ACEOF
25341 /* confdefs.h. */
25342 _ACEOF
25343 cat confdefs.h >>conftest.$ac_ext
25344 cat >>conftest.$ac_ext <<_ACEOF
25345 /* end confdefs.h. */
25346 #include <math.h>
25348 main ()
25350 __builtin_fabsf(0);
25352 return 0;
25354 _ACEOF
25355 rm -f conftest.$ac_objext conftest$ac_exeext
25356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25357 (eval $ac_link) 2>conftest.er1
25358 ac_status=$?
25359 grep -v '^ *+' conftest.er1 >conftest.err
25360 rm -f conftest.er1
25361 cat conftest.err >&5
25362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25363 (exit $ac_status); } &&
25364 { ac_try='test -z "$ac_c_werror_flag"
25365 || test ! -s conftest.err'
25366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25367 (eval $ac_try) 2>&5
25368 ac_status=$?
25369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25370 (exit $ac_status); }; } &&
25371 { ac_try='test -s conftest$ac_exeext'
25372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25373 (eval $ac_try) 2>&5
25374 ac_status=$?
25375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25376 (exit $ac_status); }; }; then
25377 glibcxx_cv_func___builtin_fabsf_link=yes
25378 else
25379 echo "$as_me: failed program was:" >&5
25380 sed 's/^/| /' conftest.$ac_ext >&5
25382 glibcxx_cv_func___builtin_fabsf_link=no
25384 rm -f conftest.err conftest.$ac_objext \
25385 conftest$ac_exeext conftest.$ac_ext
25390 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
25391 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
25392 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
25393 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25395 cat >>confdefs.h <<_ACEOF
25396 #define ${ac_tr_func} 1
25397 _ACEOF
25403 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
25404 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
25405 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
25406 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
25407 echo $ECHO_N "(cached) $ECHO_C" >&6
25408 else
25412 ac_ext=cc
25413 ac_cpp='$CXXCPP $CPPFLAGS'
25414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25418 cat >conftest.$ac_ext <<_ACEOF
25419 /* confdefs.h. */
25420 _ACEOF
25421 cat confdefs.h >>conftest.$ac_ext
25422 cat >>conftest.$ac_ext <<_ACEOF
25423 /* end confdefs.h. */
25424 #include <math.h>
25426 main ()
25428 __builtin_fabs(0);
25430 return 0;
25432 _ACEOF
25433 rm -f conftest.$ac_objext
25434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25435 (eval $ac_compile) 2>conftest.er1
25436 ac_status=$?
25437 grep -v '^ *+' conftest.er1 >conftest.err
25438 rm -f conftest.er1
25439 cat conftest.err >&5
25440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25441 (exit $ac_status); } &&
25442 { ac_try='test -z "$ac_cxx_werror_flag"
25443 || test ! -s conftest.err'
25444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25445 (eval $ac_try) 2>&5
25446 ac_status=$?
25447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25448 (exit $ac_status); }; } &&
25449 { ac_try='test -s conftest.$ac_objext'
25450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25451 (eval $ac_try) 2>&5
25452 ac_status=$?
25453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25454 (exit $ac_status); }; }; then
25455 glibcxx_cv_func___builtin_fabs_use=yes
25456 else
25457 echo "$as_me: failed program was:" >&5
25458 sed 's/^/| /' conftest.$ac_ext >&5
25460 glibcxx_cv_func___builtin_fabs_use=no
25462 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25463 ac_ext=c
25464 ac_cpp='$CPP $CPPFLAGS'
25465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25473 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
25474 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
25475 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
25476 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
25477 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
25478 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
25479 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
25480 echo $ECHO_N "(cached) $ECHO_C" >&6
25481 else
25483 if test x$gcc_no_link = xyes; then
25484 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25485 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25486 { (exit 1); exit 1; }; }
25488 cat >conftest.$ac_ext <<_ACEOF
25489 /* confdefs.h. */
25490 _ACEOF
25491 cat confdefs.h >>conftest.$ac_ext
25492 cat >>conftest.$ac_ext <<_ACEOF
25493 /* end confdefs.h. */
25494 #include <math.h>
25496 main ()
25498 __builtin_fabs(0);
25500 return 0;
25502 _ACEOF
25503 rm -f conftest.$ac_objext conftest$ac_exeext
25504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25505 (eval $ac_link) 2>conftest.er1
25506 ac_status=$?
25507 grep -v '^ *+' conftest.er1 >conftest.err
25508 rm -f conftest.er1
25509 cat conftest.err >&5
25510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25511 (exit $ac_status); } &&
25512 { ac_try='test -z "$ac_c_werror_flag"
25513 || test ! -s conftest.err'
25514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25515 (eval $ac_try) 2>&5
25516 ac_status=$?
25517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25518 (exit $ac_status); }; } &&
25519 { ac_try='test -s conftest$ac_exeext'
25520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25521 (eval $ac_try) 2>&5
25522 ac_status=$?
25523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25524 (exit $ac_status); }; }; then
25525 glibcxx_cv_func___builtin_fabs_link=yes
25526 else
25527 echo "$as_me: failed program was:" >&5
25528 sed 's/^/| /' conftest.$ac_ext >&5
25530 glibcxx_cv_func___builtin_fabs_link=no
25532 rm -f conftest.err conftest.$ac_objext \
25533 conftest$ac_exeext conftest.$ac_ext
25538 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
25539 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
25540 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
25541 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25543 cat >>confdefs.h <<_ACEOF
25544 #define ${ac_tr_func} 1
25545 _ACEOF
25551 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
25552 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
25553 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
25554 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
25555 echo $ECHO_N "(cached) $ECHO_C" >&6
25556 else
25560 ac_ext=cc
25561 ac_cpp='$CXXCPP $CPPFLAGS'
25562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25566 cat >conftest.$ac_ext <<_ACEOF
25567 /* confdefs.h. */
25568 _ACEOF
25569 cat confdefs.h >>conftest.$ac_ext
25570 cat >>conftest.$ac_ext <<_ACEOF
25571 /* end confdefs.h. */
25572 #include <math.h>
25574 main ()
25576 __builtin_fabsl(0);
25578 return 0;
25580 _ACEOF
25581 rm -f conftest.$ac_objext
25582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25583 (eval $ac_compile) 2>conftest.er1
25584 ac_status=$?
25585 grep -v '^ *+' conftest.er1 >conftest.err
25586 rm -f conftest.er1
25587 cat conftest.err >&5
25588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25589 (exit $ac_status); } &&
25590 { ac_try='test -z "$ac_cxx_werror_flag"
25591 || test ! -s conftest.err'
25592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25593 (eval $ac_try) 2>&5
25594 ac_status=$?
25595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25596 (exit $ac_status); }; } &&
25597 { ac_try='test -s conftest.$ac_objext'
25598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25599 (eval $ac_try) 2>&5
25600 ac_status=$?
25601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25602 (exit $ac_status); }; }; then
25603 glibcxx_cv_func___builtin_fabsl_use=yes
25604 else
25605 echo "$as_me: failed program was:" >&5
25606 sed 's/^/| /' conftest.$ac_ext >&5
25608 glibcxx_cv_func___builtin_fabsl_use=no
25610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25611 ac_ext=c
25612 ac_cpp='$CPP $CPPFLAGS'
25613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25621 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
25622 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
25623 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
25624 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
25625 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
25626 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
25627 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
25628 echo $ECHO_N "(cached) $ECHO_C" >&6
25629 else
25631 if test x$gcc_no_link = xyes; then
25632 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25634 { (exit 1); exit 1; }; }
25636 cat >conftest.$ac_ext <<_ACEOF
25637 /* confdefs.h. */
25638 _ACEOF
25639 cat confdefs.h >>conftest.$ac_ext
25640 cat >>conftest.$ac_ext <<_ACEOF
25641 /* end confdefs.h. */
25642 #include <math.h>
25644 main ()
25646 __builtin_fabsl(0);
25648 return 0;
25650 _ACEOF
25651 rm -f conftest.$ac_objext conftest$ac_exeext
25652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25653 (eval $ac_link) 2>conftest.er1
25654 ac_status=$?
25655 grep -v '^ *+' conftest.er1 >conftest.err
25656 rm -f conftest.er1
25657 cat conftest.err >&5
25658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25659 (exit $ac_status); } &&
25660 { ac_try='test -z "$ac_c_werror_flag"
25661 || test ! -s conftest.err'
25662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25663 (eval $ac_try) 2>&5
25664 ac_status=$?
25665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25666 (exit $ac_status); }; } &&
25667 { ac_try='test -s conftest$ac_exeext'
25668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25669 (eval $ac_try) 2>&5
25670 ac_status=$?
25671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25672 (exit $ac_status); }; }; then
25673 glibcxx_cv_func___builtin_fabsl_link=yes
25674 else
25675 echo "$as_me: failed program was:" >&5
25676 sed 's/^/| /' conftest.$ac_ext >&5
25678 glibcxx_cv_func___builtin_fabsl_link=no
25680 rm -f conftest.err conftest.$ac_objext \
25681 conftest$ac_exeext conftest.$ac_ext
25686 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
25687 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
25688 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
25689 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25691 cat >>confdefs.h <<_ACEOF
25692 #define ${ac_tr_func} 1
25693 _ACEOF
25699 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
25700 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
25701 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
25702 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
25703 echo $ECHO_N "(cached) $ECHO_C" >&6
25704 else
25708 ac_ext=cc
25709 ac_cpp='$CXXCPP $CPPFLAGS'
25710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25714 cat >conftest.$ac_ext <<_ACEOF
25715 /* confdefs.h. */
25716 _ACEOF
25717 cat confdefs.h >>conftest.$ac_ext
25718 cat >>conftest.$ac_ext <<_ACEOF
25719 /* end confdefs.h. */
25720 #include <math.h>
25722 main ()
25724 __builtin_labs(0);
25726 return 0;
25728 _ACEOF
25729 rm -f conftest.$ac_objext
25730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25731 (eval $ac_compile) 2>conftest.er1
25732 ac_status=$?
25733 grep -v '^ *+' conftest.er1 >conftest.err
25734 rm -f conftest.er1
25735 cat conftest.err >&5
25736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25737 (exit $ac_status); } &&
25738 { ac_try='test -z "$ac_cxx_werror_flag"
25739 || test ! -s conftest.err'
25740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25741 (eval $ac_try) 2>&5
25742 ac_status=$?
25743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25744 (exit $ac_status); }; } &&
25745 { ac_try='test -s conftest.$ac_objext'
25746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25747 (eval $ac_try) 2>&5
25748 ac_status=$?
25749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25750 (exit $ac_status); }; }; then
25751 glibcxx_cv_func___builtin_labs_use=yes
25752 else
25753 echo "$as_me: failed program was:" >&5
25754 sed 's/^/| /' conftest.$ac_ext >&5
25756 glibcxx_cv_func___builtin_labs_use=no
25758 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25759 ac_ext=c
25760 ac_cpp='$CPP $CPPFLAGS'
25761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25769 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
25770 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
25771 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
25772 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
25773 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
25774 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
25775 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
25776 echo $ECHO_N "(cached) $ECHO_C" >&6
25777 else
25779 if test x$gcc_no_link = xyes; then
25780 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25781 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25782 { (exit 1); exit 1; }; }
25784 cat >conftest.$ac_ext <<_ACEOF
25785 /* confdefs.h. */
25786 _ACEOF
25787 cat confdefs.h >>conftest.$ac_ext
25788 cat >>conftest.$ac_ext <<_ACEOF
25789 /* end confdefs.h. */
25790 #include <math.h>
25792 main ()
25794 __builtin_labs(0);
25796 return 0;
25798 _ACEOF
25799 rm -f conftest.$ac_objext conftest$ac_exeext
25800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25801 (eval $ac_link) 2>conftest.er1
25802 ac_status=$?
25803 grep -v '^ *+' conftest.er1 >conftest.err
25804 rm -f conftest.er1
25805 cat conftest.err >&5
25806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25807 (exit $ac_status); } &&
25808 { ac_try='test -z "$ac_c_werror_flag"
25809 || test ! -s conftest.err'
25810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25811 (eval $ac_try) 2>&5
25812 ac_status=$?
25813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25814 (exit $ac_status); }; } &&
25815 { ac_try='test -s conftest$ac_exeext'
25816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25817 (eval $ac_try) 2>&5
25818 ac_status=$?
25819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25820 (exit $ac_status); }; }; then
25821 glibcxx_cv_func___builtin_labs_link=yes
25822 else
25823 echo "$as_me: failed program was:" >&5
25824 sed 's/^/| /' conftest.$ac_ext >&5
25826 glibcxx_cv_func___builtin_labs_link=no
25828 rm -f conftest.err conftest.$ac_objext \
25829 conftest$ac_exeext conftest.$ac_ext
25834 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
25835 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
25836 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
25837 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25839 cat >>confdefs.h <<_ACEOF
25840 #define ${ac_tr_func} 1
25841 _ACEOF
25848 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
25849 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
25850 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
25851 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
25852 echo $ECHO_N "(cached) $ECHO_C" >&6
25853 else
25857 ac_ext=cc
25858 ac_cpp='$CXXCPP $CPPFLAGS'
25859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25863 cat >conftest.$ac_ext <<_ACEOF
25864 /* confdefs.h. */
25865 _ACEOF
25866 cat confdefs.h >>conftest.$ac_ext
25867 cat >>conftest.$ac_ext <<_ACEOF
25868 /* end confdefs.h. */
25869 #include <math.h>
25871 main ()
25873 __builtin_sqrtf(0);
25875 return 0;
25877 _ACEOF
25878 rm -f conftest.$ac_objext
25879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25880 (eval $ac_compile) 2>conftest.er1
25881 ac_status=$?
25882 grep -v '^ *+' conftest.er1 >conftest.err
25883 rm -f conftest.er1
25884 cat conftest.err >&5
25885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25886 (exit $ac_status); } &&
25887 { ac_try='test -z "$ac_cxx_werror_flag"
25888 || test ! -s conftest.err'
25889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25890 (eval $ac_try) 2>&5
25891 ac_status=$?
25892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25893 (exit $ac_status); }; } &&
25894 { ac_try='test -s conftest.$ac_objext'
25895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25896 (eval $ac_try) 2>&5
25897 ac_status=$?
25898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25899 (exit $ac_status); }; }; then
25900 glibcxx_cv_func___builtin_sqrtf_use=yes
25901 else
25902 echo "$as_me: failed program was:" >&5
25903 sed 's/^/| /' conftest.$ac_ext >&5
25905 glibcxx_cv_func___builtin_sqrtf_use=no
25907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25908 ac_ext=c
25909 ac_cpp='$CPP $CPPFLAGS'
25910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25918 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
25919 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
25920 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
25921 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
25922 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
25923 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
25924 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
25925 echo $ECHO_N "(cached) $ECHO_C" >&6
25926 else
25928 if test x$gcc_no_link = xyes; then
25929 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25930 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25931 { (exit 1); exit 1; }; }
25933 cat >conftest.$ac_ext <<_ACEOF
25934 /* confdefs.h. */
25935 _ACEOF
25936 cat confdefs.h >>conftest.$ac_ext
25937 cat >>conftest.$ac_ext <<_ACEOF
25938 /* end confdefs.h. */
25939 #include <math.h>
25941 main ()
25943 __builtin_sqrtf(0);
25945 return 0;
25947 _ACEOF
25948 rm -f conftest.$ac_objext conftest$ac_exeext
25949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25950 (eval $ac_link) 2>conftest.er1
25951 ac_status=$?
25952 grep -v '^ *+' conftest.er1 >conftest.err
25953 rm -f conftest.er1
25954 cat conftest.err >&5
25955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25956 (exit $ac_status); } &&
25957 { ac_try='test -z "$ac_c_werror_flag"
25958 || test ! -s conftest.err'
25959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25960 (eval $ac_try) 2>&5
25961 ac_status=$?
25962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25963 (exit $ac_status); }; } &&
25964 { ac_try='test -s conftest$ac_exeext'
25965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25966 (eval $ac_try) 2>&5
25967 ac_status=$?
25968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25969 (exit $ac_status); }; }; then
25970 glibcxx_cv_func___builtin_sqrtf_link=yes
25971 else
25972 echo "$as_me: failed program was:" >&5
25973 sed 's/^/| /' conftest.$ac_ext >&5
25975 glibcxx_cv_func___builtin_sqrtf_link=no
25977 rm -f conftest.err conftest.$ac_objext \
25978 conftest$ac_exeext conftest.$ac_ext
25983 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
25984 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
25985 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
25986 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
25988 cat >>confdefs.h <<_ACEOF
25989 #define ${ac_tr_func} 1
25990 _ACEOF
25996 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
25997 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
25998 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
25999 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
26000 echo $ECHO_N "(cached) $ECHO_C" >&6
26001 else
26005 ac_ext=cc
26006 ac_cpp='$CXXCPP $CPPFLAGS'
26007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26011 cat >conftest.$ac_ext <<_ACEOF
26012 /* confdefs.h. */
26013 _ACEOF
26014 cat confdefs.h >>conftest.$ac_ext
26015 cat >>conftest.$ac_ext <<_ACEOF
26016 /* end confdefs.h. */
26017 #include <math.h>
26019 main ()
26021 __builtin_sqrt(0);
26023 return 0;
26025 _ACEOF
26026 rm -f conftest.$ac_objext
26027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26028 (eval $ac_compile) 2>conftest.er1
26029 ac_status=$?
26030 grep -v '^ *+' conftest.er1 >conftest.err
26031 rm -f conftest.er1
26032 cat conftest.err >&5
26033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26034 (exit $ac_status); } &&
26035 { ac_try='test -z "$ac_cxx_werror_flag"
26036 || test ! -s conftest.err'
26037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26038 (eval $ac_try) 2>&5
26039 ac_status=$?
26040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26041 (exit $ac_status); }; } &&
26042 { ac_try='test -s conftest.$ac_objext'
26043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26044 (eval $ac_try) 2>&5
26045 ac_status=$?
26046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26047 (exit $ac_status); }; }; then
26048 glibcxx_cv_func___builtin_sqrt_use=yes
26049 else
26050 echo "$as_me: failed program was:" >&5
26051 sed 's/^/| /' conftest.$ac_ext >&5
26053 glibcxx_cv_func___builtin_sqrt_use=no
26055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26056 ac_ext=c
26057 ac_cpp='$CPP $CPPFLAGS'
26058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26066 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
26067 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
26068 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
26069 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
26070 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
26071 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
26072 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
26073 echo $ECHO_N "(cached) $ECHO_C" >&6
26074 else
26076 if test x$gcc_no_link = xyes; then
26077 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26078 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26079 { (exit 1); exit 1; }; }
26081 cat >conftest.$ac_ext <<_ACEOF
26082 /* confdefs.h. */
26083 _ACEOF
26084 cat confdefs.h >>conftest.$ac_ext
26085 cat >>conftest.$ac_ext <<_ACEOF
26086 /* end confdefs.h. */
26087 #include <math.h>
26089 main ()
26091 __builtin_sqrt(0);
26093 return 0;
26095 _ACEOF
26096 rm -f conftest.$ac_objext conftest$ac_exeext
26097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26098 (eval $ac_link) 2>conftest.er1
26099 ac_status=$?
26100 grep -v '^ *+' conftest.er1 >conftest.err
26101 rm -f conftest.er1
26102 cat conftest.err >&5
26103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26104 (exit $ac_status); } &&
26105 { ac_try='test -z "$ac_c_werror_flag"
26106 || test ! -s conftest.err'
26107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26108 (eval $ac_try) 2>&5
26109 ac_status=$?
26110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26111 (exit $ac_status); }; } &&
26112 { ac_try='test -s conftest$ac_exeext'
26113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26114 (eval $ac_try) 2>&5
26115 ac_status=$?
26116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26117 (exit $ac_status); }; }; then
26118 glibcxx_cv_func___builtin_sqrt_link=yes
26119 else
26120 echo "$as_me: failed program was:" >&5
26121 sed 's/^/| /' conftest.$ac_ext >&5
26123 glibcxx_cv_func___builtin_sqrt_link=no
26125 rm -f conftest.err conftest.$ac_objext \
26126 conftest$ac_exeext conftest.$ac_ext
26131 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
26132 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
26133 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
26134 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26136 cat >>confdefs.h <<_ACEOF
26137 #define ${ac_tr_func} 1
26138 _ACEOF
26144 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
26145 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
26146 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
26147 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
26148 echo $ECHO_N "(cached) $ECHO_C" >&6
26149 else
26153 ac_ext=cc
26154 ac_cpp='$CXXCPP $CPPFLAGS'
26155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26159 cat >conftest.$ac_ext <<_ACEOF
26160 /* confdefs.h. */
26161 _ACEOF
26162 cat confdefs.h >>conftest.$ac_ext
26163 cat >>conftest.$ac_ext <<_ACEOF
26164 /* end confdefs.h. */
26165 #include <math.h>
26167 main ()
26169 __builtin_sqrtl(0);
26171 return 0;
26173 _ACEOF
26174 rm -f conftest.$ac_objext
26175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26176 (eval $ac_compile) 2>conftest.er1
26177 ac_status=$?
26178 grep -v '^ *+' conftest.er1 >conftest.err
26179 rm -f conftest.er1
26180 cat conftest.err >&5
26181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26182 (exit $ac_status); } &&
26183 { ac_try='test -z "$ac_cxx_werror_flag"
26184 || test ! -s conftest.err'
26185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26186 (eval $ac_try) 2>&5
26187 ac_status=$?
26188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26189 (exit $ac_status); }; } &&
26190 { ac_try='test -s conftest.$ac_objext'
26191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26192 (eval $ac_try) 2>&5
26193 ac_status=$?
26194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26195 (exit $ac_status); }; }; then
26196 glibcxx_cv_func___builtin_sqrtl_use=yes
26197 else
26198 echo "$as_me: failed program was:" >&5
26199 sed 's/^/| /' conftest.$ac_ext >&5
26201 glibcxx_cv_func___builtin_sqrtl_use=no
26203 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26204 ac_ext=c
26205 ac_cpp='$CPP $CPPFLAGS'
26206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26214 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
26215 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
26216 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
26217 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
26218 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
26219 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
26220 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
26221 echo $ECHO_N "(cached) $ECHO_C" >&6
26222 else
26224 if test x$gcc_no_link = xyes; then
26225 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26226 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26227 { (exit 1); exit 1; }; }
26229 cat >conftest.$ac_ext <<_ACEOF
26230 /* confdefs.h. */
26231 _ACEOF
26232 cat confdefs.h >>conftest.$ac_ext
26233 cat >>conftest.$ac_ext <<_ACEOF
26234 /* end confdefs.h. */
26235 #include <math.h>
26237 main ()
26239 __builtin_sqrtl(0);
26241 return 0;
26243 _ACEOF
26244 rm -f conftest.$ac_objext conftest$ac_exeext
26245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26246 (eval $ac_link) 2>conftest.er1
26247 ac_status=$?
26248 grep -v '^ *+' conftest.er1 >conftest.err
26249 rm -f conftest.er1
26250 cat conftest.err >&5
26251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26252 (exit $ac_status); } &&
26253 { ac_try='test -z "$ac_c_werror_flag"
26254 || test ! -s conftest.err'
26255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26256 (eval $ac_try) 2>&5
26257 ac_status=$?
26258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26259 (exit $ac_status); }; } &&
26260 { ac_try='test -s conftest$ac_exeext'
26261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26262 (eval $ac_try) 2>&5
26263 ac_status=$?
26264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26265 (exit $ac_status); }; }; then
26266 glibcxx_cv_func___builtin_sqrtl_link=yes
26267 else
26268 echo "$as_me: failed program was:" >&5
26269 sed 's/^/| /' conftest.$ac_ext >&5
26271 glibcxx_cv_func___builtin_sqrtl_link=no
26273 rm -f conftest.err conftest.$ac_objext \
26274 conftest$ac_exeext conftest.$ac_ext
26279 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
26280 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
26281 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
26282 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26284 cat >>confdefs.h <<_ACEOF
26285 #define ${ac_tr_func} 1
26286 _ACEOF
26293 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
26294 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
26295 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
26296 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
26297 echo $ECHO_N "(cached) $ECHO_C" >&6
26298 else
26302 ac_ext=cc
26303 ac_cpp='$CXXCPP $CPPFLAGS'
26304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26308 cat >conftest.$ac_ext <<_ACEOF
26309 /* confdefs.h. */
26310 _ACEOF
26311 cat confdefs.h >>conftest.$ac_ext
26312 cat >>conftest.$ac_ext <<_ACEOF
26313 /* end confdefs.h. */
26314 #include <math.h>
26316 main ()
26318 __builtin_sinf(0);
26320 return 0;
26322 _ACEOF
26323 rm -f conftest.$ac_objext
26324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26325 (eval $ac_compile) 2>conftest.er1
26326 ac_status=$?
26327 grep -v '^ *+' conftest.er1 >conftest.err
26328 rm -f conftest.er1
26329 cat conftest.err >&5
26330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26331 (exit $ac_status); } &&
26332 { ac_try='test -z "$ac_cxx_werror_flag"
26333 || test ! -s conftest.err'
26334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26335 (eval $ac_try) 2>&5
26336 ac_status=$?
26337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26338 (exit $ac_status); }; } &&
26339 { ac_try='test -s conftest.$ac_objext'
26340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26341 (eval $ac_try) 2>&5
26342 ac_status=$?
26343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26344 (exit $ac_status); }; }; then
26345 glibcxx_cv_func___builtin_sinf_use=yes
26346 else
26347 echo "$as_me: failed program was:" >&5
26348 sed 's/^/| /' conftest.$ac_ext >&5
26350 glibcxx_cv_func___builtin_sinf_use=no
26352 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26353 ac_ext=c
26354 ac_cpp='$CPP $CPPFLAGS'
26355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26363 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
26364 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
26365 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
26366 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
26367 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
26368 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
26369 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
26370 echo $ECHO_N "(cached) $ECHO_C" >&6
26371 else
26373 if test x$gcc_no_link = xyes; then
26374 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26375 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26376 { (exit 1); exit 1; }; }
26378 cat >conftest.$ac_ext <<_ACEOF
26379 /* confdefs.h. */
26380 _ACEOF
26381 cat confdefs.h >>conftest.$ac_ext
26382 cat >>conftest.$ac_ext <<_ACEOF
26383 /* end confdefs.h. */
26384 #include <math.h>
26386 main ()
26388 __builtin_sinf(0);
26390 return 0;
26392 _ACEOF
26393 rm -f conftest.$ac_objext conftest$ac_exeext
26394 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26395 (eval $ac_link) 2>conftest.er1
26396 ac_status=$?
26397 grep -v '^ *+' conftest.er1 >conftest.err
26398 rm -f conftest.er1
26399 cat conftest.err >&5
26400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26401 (exit $ac_status); } &&
26402 { ac_try='test -z "$ac_c_werror_flag"
26403 || test ! -s conftest.err'
26404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26405 (eval $ac_try) 2>&5
26406 ac_status=$?
26407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26408 (exit $ac_status); }; } &&
26409 { ac_try='test -s conftest$ac_exeext'
26410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26411 (eval $ac_try) 2>&5
26412 ac_status=$?
26413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26414 (exit $ac_status); }; }; then
26415 glibcxx_cv_func___builtin_sinf_link=yes
26416 else
26417 echo "$as_me: failed program was:" >&5
26418 sed 's/^/| /' conftest.$ac_ext >&5
26420 glibcxx_cv_func___builtin_sinf_link=no
26422 rm -f conftest.err conftest.$ac_objext \
26423 conftest$ac_exeext conftest.$ac_ext
26428 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
26429 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
26430 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
26431 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26433 cat >>confdefs.h <<_ACEOF
26434 #define ${ac_tr_func} 1
26435 _ACEOF
26441 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
26442 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
26443 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
26444 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
26445 echo $ECHO_N "(cached) $ECHO_C" >&6
26446 else
26450 ac_ext=cc
26451 ac_cpp='$CXXCPP $CPPFLAGS'
26452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26456 cat >conftest.$ac_ext <<_ACEOF
26457 /* confdefs.h. */
26458 _ACEOF
26459 cat confdefs.h >>conftest.$ac_ext
26460 cat >>conftest.$ac_ext <<_ACEOF
26461 /* end confdefs.h. */
26462 #include <math.h>
26464 main ()
26466 __builtin_sin(0);
26468 return 0;
26470 _ACEOF
26471 rm -f conftest.$ac_objext
26472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26473 (eval $ac_compile) 2>conftest.er1
26474 ac_status=$?
26475 grep -v '^ *+' conftest.er1 >conftest.err
26476 rm -f conftest.er1
26477 cat conftest.err >&5
26478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26479 (exit $ac_status); } &&
26480 { ac_try='test -z "$ac_cxx_werror_flag"
26481 || test ! -s conftest.err'
26482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26483 (eval $ac_try) 2>&5
26484 ac_status=$?
26485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26486 (exit $ac_status); }; } &&
26487 { ac_try='test -s conftest.$ac_objext'
26488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26489 (eval $ac_try) 2>&5
26490 ac_status=$?
26491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26492 (exit $ac_status); }; }; then
26493 glibcxx_cv_func___builtin_sin_use=yes
26494 else
26495 echo "$as_me: failed program was:" >&5
26496 sed 's/^/| /' conftest.$ac_ext >&5
26498 glibcxx_cv_func___builtin_sin_use=no
26500 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26501 ac_ext=c
26502 ac_cpp='$CPP $CPPFLAGS'
26503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26511 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
26512 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
26513 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
26514 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
26515 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
26516 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
26517 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
26518 echo $ECHO_N "(cached) $ECHO_C" >&6
26519 else
26521 if test x$gcc_no_link = xyes; then
26522 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26523 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26524 { (exit 1); exit 1; }; }
26526 cat >conftest.$ac_ext <<_ACEOF
26527 /* confdefs.h. */
26528 _ACEOF
26529 cat confdefs.h >>conftest.$ac_ext
26530 cat >>conftest.$ac_ext <<_ACEOF
26531 /* end confdefs.h. */
26532 #include <math.h>
26534 main ()
26536 __builtin_sin(0);
26538 return 0;
26540 _ACEOF
26541 rm -f conftest.$ac_objext conftest$ac_exeext
26542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26543 (eval $ac_link) 2>conftest.er1
26544 ac_status=$?
26545 grep -v '^ *+' conftest.er1 >conftest.err
26546 rm -f conftest.er1
26547 cat conftest.err >&5
26548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26549 (exit $ac_status); } &&
26550 { ac_try='test -z "$ac_c_werror_flag"
26551 || test ! -s conftest.err'
26552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26553 (eval $ac_try) 2>&5
26554 ac_status=$?
26555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26556 (exit $ac_status); }; } &&
26557 { ac_try='test -s conftest$ac_exeext'
26558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26559 (eval $ac_try) 2>&5
26560 ac_status=$?
26561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26562 (exit $ac_status); }; }; then
26563 glibcxx_cv_func___builtin_sin_link=yes
26564 else
26565 echo "$as_me: failed program was:" >&5
26566 sed 's/^/| /' conftest.$ac_ext >&5
26568 glibcxx_cv_func___builtin_sin_link=no
26570 rm -f conftest.err conftest.$ac_objext \
26571 conftest$ac_exeext conftest.$ac_ext
26576 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
26577 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
26578 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
26579 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26581 cat >>confdefs.h <<_ACEOF
26582 #define ${ac_tr_func} 1
26583 _ACEOF
26589 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
26590 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
26591 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
26592 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
26593 echo $ECHO_N "(cached) $ECHO_C" >&6
26594 else
26598 ac_ext=cc
26599 ac_cpp='$CXXCPP $CPPFLAGS'
26600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26604 cat >conftest.$ac_ext <<_ACEOF
26605 /* confdefs.h. */
26606 _ACEOF
26607 cat confdefs.h >>conftest.$ac_ext
26608 cat >>conftest.$ac_ext <<_ACEOF
26609 /* end confdefs.h. */
26610 #include <math.h>
26612 main ()
26614 __builtin_sinl(0);
26616 return 0;
26618 _ACEOF
26619 rm -f conftest.$ac_objext
26620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26621 (eval $ac_compile) 2>conftest.er1
26622 ac_status=$?
26623 grep -v '^ *+' conftest.er1 >conftest.err
26624 rm -f conftest.er1
26625 cat conftest.err >&5
26626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26627 (exit $ac_status); } &&
26628 { ac_try='test -z "$ac_cxx_werror_flag"
26629 || test ! -s conftest.err'
26630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26631 (eval $ac_try) 2>&5
26632 ac_status=$?
26633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26634 (exit $ac_status); }; } &&
26635 { ac_try='test -s conftest.$ac_objext'
26636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26637 (eval $ac_try) 2>&5
26638 ac_status=$?
26639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26640 (exit $ac_status); }; }; then
26641 glibcxx_cv_func___builtin_sinl_use=yes
26642 else
26643 echo "$as_me: failed program was:" >&5
26644 sed 's/^/| /' conftest.$ac_ext >&5
26646 glibcxx_cv_func___builtin_sinl_use=no
26648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26649 ac_ext=c
26650 ac_cpp='$CPP $CPPFLAGS'
26651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26659 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
26660 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
26661 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
26662 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
26663 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
26664 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
26665 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
26666 echo $ECHO_N "(cached) $ECHO_C" >&6
26667 else
26669 if test x$gcc_no_link = xyes; then
26670 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26671 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26672 { (exit 1); exit 1; }; }
26674 cat >conftest.$ac_ext <<_ACEOF
26675 /* confdefs.h. */
26676 _ACEOF
26677 cat confdefs.h >>conftest.$ac_ext
26678 cat >>conftest.$ac_ext <<_ACEOF
26679 /* end confdefs.h. */
26680 #include <math.h>
26682 main ()
26684 __builtin_sinl(0);
26686 return 0;
26688 _ACEOF
26689 rm -f conftest.$ac_objext conftest$ac_exeext
26690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26691 (eval $ac_link) 2>conftest.er1
26692 ac_status=$?
26693 grep -v '^ *+' conftest.er1 >conftest.err
26694 rm -f conftest.er1
26695 cat conftest.err >&5
26696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26697 (exit $ac_status); } &&
26698 { ac_try='test -z "$ac_c_werror_flag"
26699 || test ! -s conftest.err'
26700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26701 (eval $ac_try) 2>&5
26702 ac_status=$?
26703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26704 (exit $ac_status); }; } &&
26705 { ac_try='test -s conftest$ac_exeext'
26706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26707 (eval $ac_try) 2>&5
26708 ac_status=$?
26709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26710 (exit $ac_status); }; }; then
26711 glibcxx_cv_func___builtin_sinl_link=yes
26712 else
26713 echo "$as_me: failed program was:" >&5
26714 sed 's/^/| /' conftest.$ac_ext >&5
26716 glibcxx_cv_func___builtin_sinl_link=no
26718 rm -f conftest.err conftest.$ac_objext \
26719 conftest$ac_exeext conftest.$ac_ext
26724 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
26725 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
26726 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
26727 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26729 cat >>confdefs.h <<_ACEOF
26730 #define ${ac_tr_func} 1
26731 _ACEOF
26738 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
26739 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
26740 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
26741 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
26742 echo $ECHO_N "(cached) $ECHO_C" >&6
26743 else
26747 ac_ext=cc
26748 ac_cpp='$CXXCPP $CPPFLAGS'
26749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26753 cat >conftest.$ac_ext <<_ACEOF
26754 /* confdefs.h. */
26755 _ACEOF
26756 cat confdefs.h >>conftest.$ac_ext
26757 cat >>conftest.$ac_ext <<_ACEOF
26758 /* end confdefs.h. */
26759 #include <math.h>
26761 main ()
26763 __builtin_cosf(0);
26765 return 0;
26767 _ACEOF
26768 rm -f conftest.$ac_objext
26769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26770 (eval $ac_compile) 2>conftest.er1
26771 ac_status=$?
26772 grep -v '^ *+' conftest.er1 >conftest.err
26773 rm -f conftest.er1
26774 cat conftest.err >&5
26775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26776 (exit $ac_status); } &&
26777 { ac_try='test -z "$ac_cxx_werror_flag"
26778 || test ! -s conftest.err'
26779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26780 (eval $ac_try) 2>&5
26781 ac_status=$?
26782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26783 (exit $ac_status); }; } &&
26784 { ac_try='test -s conftest.$ac_objext'
26785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26786 (eval $ac_try) 2>&5
26787 ac_status=$?
26788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26789 (exit $ac_status); }; }; then
26790 glibcxx_cv_func___builtin_cosf_use=yes
26791 else
26792 echo "$as_me: failed program was:" >&5
26793 sed 's/^/| /' conftest.$ac_ext >&5
26795 glibcxx_cv_func___builtin_cosf_use=no
26797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26798 ac_ext=c
26799 ac_cpp='$CPP $CPPFLAGS'
26800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26808 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
26809 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
26810 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
26811 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
26812 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
26813 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
26814 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
26815 echo $ECHO_N "(cached) $ECHO_C" >&6
26816 else
26818 if test x$gcc_no_link = xyes; then
26819 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26820 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26821 { (exit 1); exit 1; }; }
26823 cat >conftest.$ac_ext <<_ACEOF
26824 /* confdefs.h. */
26825 _ACEOF
26826 cat confdefs.h >>conftest.$ac_ext
26827 cat >>conftest.$ac_ext <<_ACEOF
26828 /* end confdefs.h. */
26829 #include <math.h>
26831 main ()
26833 __builtin_cosf(0);
26835 return 0;
26837 _ACEOF
26838 rm -f conftest.$ac_objext conftest$ac_exeext
26839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26840 (eval $ac_link) 2>conftest.er1
26841 ac_status=$?
26842 grep -v '^ *+' conftest.er1 >conftest.err
26843 rm -f conftest.er1
26844 cat conftest.err >&5
26845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26846 (exit $ac_status); } &&
26847 { ac_try='test -z "$ac_c_werror_flag"
26848 || test ! -s conftest.err'
26849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26850 (eval $ac_try) 2>&5
26851 ac_status=$?
26852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26853 (exit $ac_status); }; } &&
26854 { ac_try='test -s conftest$ac_exeext'
26855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26856 (eval $ac_try) 2>&5
26857 ac_status=$?
26858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26859 (exit $ac_status); }; }; then
26860 glibcxx_cv_func___builtin_cosf_link=yes
26861 else
26862 echo "$as_me: failed program was:" >&5
26863 sed 's/^/| /' conftest.$ac_ext >&5
26865 glibcxx_cv_func___builtin_cosf_link=no
26867 rm -f conftest.err conftest.$ac_objext \
26868 conftest$ac_exeext conftest.$ac_ext
26873 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
26874 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
26875 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
26876 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
26878 cat >>confdefs.h <<_ACEOF
26879 #define ${ac_tr_func} 1
26880 _ACEOF
26886 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
26887 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
26888 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
26889 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
26890 echo $ECHO_N "(cached) $ECHO_C" >&6
26891 else
26895 ac_ext=cc
26896 ac_cpp='$CXXCPP $CPPFLAGS'
26897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26901 cat >conftest.$ac_ext <<_ACEOF
26902 /* confdefs.h. */
26903 _ACEOF
26904 cat confdefs.h >>conftest.$ac_ext
26905 cat >>conftest.$ac_ext <<_ACEOF
26906 /* end confdefs.h. */
26907 #include <math.h>
26909 main ()
26911 __builtin_cos(0);
26913 return 0;
26915 _ACEOF
26916 rm -f conftest.$ac_objext
26917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26918 (eval $ac_compile) 2>conftest.er1
26919 ac_status=$?
26920 grep -v '^ *+' conftest.er1 >conftest.err
26921 rm -f conftest.er1
26922 cat conftest.err >&5
26923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26924 (exit $ac_status); } &&
26925 { ac_try='test -z "$ac_cxx_werror_flag"
26926 || test ! -s conftest.err'
26927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26928 (eval $ac_try) 2>&5
26929 ac_status=$?
26930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26931 (exit $ac_status); }; } &&
26932 { ac_try='test -s conftest.$ac_objext'
26933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26934 (eval $ac_try) 2>&5
26935 ac_status=$?
26936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26937 (exit $ac_status); }; }; then
26938 glibcxx_cv_func___builtin_cos_use=yes
26939 else
26940 echo "$as_me: failed program was:" >&5
26941 sed 's/^/| /' conftest.$ac_ext >&5
26943 glibcxx_cv_func___builtin_cos_use=no
26945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26946 ac_ext=c
26947 ac_cpp='$CPP $CPPFLAGS'
26948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26956 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
26957 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
26958 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
26959 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
26960 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
26961 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
26962 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
26963 echo $ECHO_N "(cached) $ECHO_C" >&6
26964 else
26966 if test x$gcc_no_link = xyes; then
26967 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26969 { (exit 1); exit 1; }; }
26971 cat >conftest.$ac_ext <<_ACEOF
26972 /* confdefs.h. */
26973 _ACEOF
26974 cat confdefs.h >>conftest.$ac_ext
26975 cat >>conftest.$ac_ext <<_ACEOF
26976 /* end confdefs.h. */
26977 #include <math.h>
26979 main ()
26981 __builtin_cos(0);
26983 return 0;
26985 _ACEOF
26986 rm -f conftest.$ac_objext conftest$ac_exeext
26987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26988 (eval $ac_link) 2>conftest.er1
26989 ac_status=$?
26990 grep -v '^ *+' conftest.er1 >conftest.err
26991 rm -f conftest.er1
26992 cat conftest.err >&5
26993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26994 (exit $ac_status); } &&
26995 { ac_try='test -z "$ac_c_werror_flag"
26996 || test ! -s conftest.err'
26997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26998 (eval $ac_try) 2>&5
26999 ac_status=$?
27000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27001 (exit $ac_status); }; } &&
27002 { ac_try='test -s conftest$ac_exeext'
27003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27004 (eval $ac_try) 2>&5
27005 ac_status=$?
27006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27007 (exit $ac_status); }; }; then
27008 glibcxx_cv_func___builtin_cos_link=yes
27009 else
27010 echo "$as_me: failed program was:" >&5
27011 sed 's/^/| /' conftest.$ac_ext >&5
27013 glibcxx_cv_func___builtin_cos_link=no
27015 rm -f conftest.err conftest.$ac_objext \
27016 conftest$ac_exeext conftest.$ac_ext
27021 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
27022 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
27023 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
27024 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
27026 cat >>confdefs.h <<_ACEOF
27027 #define ${ac_tr_func} 1
27028 _ACEOF
27034 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
27035 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
27036 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
27037 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
27038 echo $ECHO_N "(cached) $ECHO_C" >&6
27039 else
27043 ac_ext=cc
27044 ac_cpp='$CXXCPP $CPPFLAGS'
27045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27049 cat >conftest.$ac_ext <<_ACEOF
27050 /* confdefs.h. */
27051 _ACEOF
27052 cat confdefs.h >>conftest.$ac_ext
27053 cat >>conftest.$ac_ext <<_ACEOF
27054 /* end confdefs.h. */
27055 #include <math.h>
27057 main ()
27059 __builtin_cosl(0);
27061 return 0;
27063 _ACEOF
27064 rm -f conftest.$ac_objext
27065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27066 (eval $ac_compile) 2>conftest.er1
27067 ac_status=$?
27068 grep -v '^ *+' conftest.er1 >conftest.err
27069 rm -f conftest.er1
27070 cat conftest.err >&5
27071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27072 (exit $ac_status); } &&
27073 { ac_try='test -z "$ac_cxx_werror_flag"
27074 || test ! -s conftest.err'
27075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27076 (eval $ac_try) 2>&5
27077 ac_status=$?
27078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27079 (exit $ac_status); }; } &&
27080 { ac_try='test -s conftest.$ac_objext'
27081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27082 (eval $ac_try) 2>&5
27083 ac_status=$?
27084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27085 (exit $ac_status); }; }; then
27086 glibcxx_cv_func___builtin_cosl_use=yes
27087 else
27088 echo "$as_me: failed program was:" >&5
27089 sed 's/^/| /' conftest.$ac_ext >&5
27091 glibcxx_cv_func___builtin_cosl_use=no
27093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27094 ac_ext=c
27095 ac_cpp='$CPP $CPPFLAGS'
27096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27104 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
27105 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
27106 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
27107 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
27108 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
27109 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
27110 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
27111 echo $ECHO_N "(cached) $ECHO_C" >&6
27112 else
27114 if test x$gcc_no_link = xyes; then
27115 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27116 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27117 { (exit 1); exit 1; }; }
27119 cat >conftest.$ac_ext <<_ACEOF
27120 /* confdefs.h. */
27121 _ACEOF
27122 cat confdefs.h >>conftest.$ac_ext
27123 cat >>conftest.$ac_ext <<_ACEOF
27124 /* end confdefs.h. */
27125 #include <math.h>
27127 main ()
27129 __builtin_cosl(0);
27131 return 0;
27133 _ACEOF
27134 rm -f conftest.$ac_objext conftest$ac_exeext
27135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27136 (eval $ac_link) 2>conftest.er1
27137 ac_status=$?
27138 grep -v '^ *+' conftest.er1 >conftest.err
27139 rm -f conftest.er1
27140 cat conftest.err >&5
27141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27142 (exit $ac_status); } &&
27143 { ac_try='test -z "$ac_c_werror_flag"
27144 || test ! -s conftest.err'
27145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27146 (eval $ac_try) 2>&5
27147 ac_status=$?
27148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27149 (exit $ac_status); }; } &&
27150 { ac_try='test -s conftest$ac_exeext'
27151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27152 (eval $ac_try) 2>&5
27153 ac_status=$?
27154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27155 (exit $ac_status); }; }; then
27156 glibcxx_cv_func___builtin_cosl_link=yes
27157 else
27158 echo "$as_me: failed program was:" >&5
27159 sed 's/^/| /' conftest.$ac_ext >&5
27161 glibcxx_cv_func___builtin_cosl_link=no
27163 rm -f conftest.err conftest.$ac_objext \
27164 conftest$ac_exeext conftest.$ac_ext
27169 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
27170 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
27171 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
27172 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
27174 cat >>confdefs.h <<_ACEOF
27175 #define ${ac_tr_func} 1
27176 _ACEOF
27184 echo "$as_me:$LINENO: checking for main in -lm" >&5
27185 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
27186 if test "${ac_cv_lib_m_main+set}" = set; then
27187 echo $ECHO_N "(cached) $ECHO_C" >&6
27188 else
27189 ac_check_lib_save_LIBS=$LIBS
27190 LIBS="-lm $LIBS"
27191 if test x$gcc_no_link = xyes; then
27192 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27193 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27194 { (exit 1); exit 1; }; }
27196 cat >conftest.$ac_ext <<_ACEOF
27197 /* confdefs.h. */
27198 _ACEOF
27199 cat confdefs.h >>conftest.$ac_ext
27200 cat >>conftest.$ac_ext <<_ACEOF
27201 /* end confdefs.h. */
27205 main ()
27207 main ();
27209 return 0;
27211 _ACEOF
27212 rm -f conftest.$ac_objext conftest$ac_exeext
27213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27214 (eval $ac_link) 2>conftest.er1
27215 ac_status=$?
27216 grep -v '^ *+' conftest.er1 >conftest.err
27217 rm -f conftest.er1
27218 cat conftest.err >&5
27219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27220 (exit $ac_status); } &&
27221 { ac_try='test -z "$ac_c_werror_flag"
27222 || test ! -s conftest.err'
27223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27224 (eval $ac_try) 2>&5
27225 ac_status=$?
27226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27227 (exit $ac_status); }; } &&
27228 { ac_try='test -s conftest$ac_exeext'
27229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27230 (eval $ac_try) 2>&5
27231 ac_status=$?
27232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27233 (exit $ac_status); }; }; then
27234 ac_cv_lib_m_main=yes
27235 else
27236 echo "$as_me: failed program was:" >&5
27237 sed 's/^/| /' conftest.$ac_ext >&5
27239 ac_cv_lib_m_main=no
27241 rm -f conftest.err conftest.$ac_objext \
27242 conftest$ac_exeext conftest.$ac_ext
27243 LIBS=$ac_check_lib_save_LIBS
27245 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
27246 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
27247 if test $ac_cv_lib_m_main = yes; then
27248 cat >>confdefs.h <<_ACEOF
27249 #define HAVE_LIBM 1
27250 _ACEOF
27252 LIBS="-lm $LIBS"
27257 for ac_func in copysignf
27259 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27260 echo "$as_me:$LINENO: checking for $ac_func" >&5
27261 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27262 if eval "test \"\${$as_ac_var+set}\" = set"; then
27263 echo $ECHO_N "(cached) $ECHO_C" >&6
27264 else
27265 if test x$gcc_no_link = xyes; then
27266 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27267 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27268 { (exit 1); exit 1; }; }
27270 cat >conftest.$ac_ext <<_ACEOF
27271 /* confdefs.h. */
27272 _ACEOF
27273 cat confdefs.h >>conftest.$ac_ext
27274 cat >>conftest.$ac_ext <<_ACEOF
27275 /* end confdefs.h. */
27276 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27277 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27278 #define $ac_func innocuous_$ac_func
27280 /* System header to define __stub macros and hopefully few prototypes,
27281 which can conflict with char $ac_func (); below.
27282 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27283 <limits.h> exists even on freestanding compilers. */
27285 #ifdef __STDC__
27286 # include <limits.h>
27287 #else
27288 # include <assert.h>
27289 #endif
27291 #undef $ac_func
27293 /* Override any gcc2 internal prototype to avoid an error. */
27294 #ifdef __cplusplus
27295 extern "C"
27297 #endif
27298 /* We use char because int might match the return type of a gcc2
27299 builtin and then its argument prototype would still apply. */
27300 char $ac_func ();
27301 /* The GNU C library defines this for functions which it implements
27302 to always fail with ENOSYS. Some functions are actually named
27303 something starting with __ and the normal name is an alias. */
27304 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27305 choke me
27306 #else
27307 char (*f) () = $ac_func;
27308 #endif
27309 #ifdef __cplusplus
27311 #endif
27314 main ()
27316 return f != $ac_func;
27318 return 0;
27320 _ACEOF
27321 rm -f conftest.$ac_objext conftest$ac_exeext
27322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27323 (eval $ac_link) 2>conftest.er1
27324 ac_status=$?
27325 grep -v '^ *+' conftest.er1 >conftest.err
27326 rm -f conftest.er1
27327 cat conftest.err >&5
27328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27329 (exit $ac_status); } &&
27330 { ac_try='test -z "$ac_c_werror_flag"
27331 || test ! -s conftest.err'
27332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27333 (eval $ac_try) 2>&5
27334 ac_status=$?
27335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27336 (exit $ac_status); }; } &&
27337 { ac_try='test -s conftest$ac_exeext'
27338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27339 (eval $ac_try) 2>&5
27340 ac_status=$?
27341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27342 (exit $ac_status); }; }; then
27343 eval "$as_ac_var=yes"
27344 else
27345 echo "$as_me: failed program was:" >&5
27346 sed 's/^/| /' conftest.$ac_ext >&5
27348 eval "$as_ac_var=no"
27350 rm -f conftest.err conftest.$ac_objext \
27351 conftest$ac_exeext conftest.$ac_ext
27353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27354 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27355 if test `eval echo '${'$as_ac_var'}'` = yes; then
27356 cat >>confdefs.h <<_ACEOF
27357 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27358 _ACEOF
27360 else
27361 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
27363 done
27367 for ac_func in __signbit
27369 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27370 echo "$as_me:$LINENO: checking for $ac_func" >&5
27371 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27372 if eval "test \"\${$as_ac_var+set}\" = set"; then
27373 echo $ECHO_N "(cached) $ECHO_C" >&6
27374 else
27375 if test x$gcc_no_link = xyes; then
27376 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27377 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27378 { (exit 1); exit 1; }; }
27380 cat >conftest.$ac_ext <<_ACEOF
27381 /* confdefs.h. */
27382 _ACEOF
27383 cat confdefs.h >>conftest.$ac_ext
27384 cat >>conftest.$ac_ext <<_ACEOF
27385 /* end confdefs.h. */
27386 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27387 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27388 #define $ac_func innocuous_$ac_func
27390 /* System header to define __stub macros and hopefully few prototypes,
27391 which can conflict with char $ac_func (); below.
27392 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27393 <limits.h> exists even on freestanding compilers. */
27395 #ifdef __STDC__
27396 # include <limits.h>
27397 #else
27398 # include <assert.h>
27399 #endif
27401 #undef $ac_func
27403 /* Override any gcc2 internal prototype to avoid an error. */
27404 #ifdef __cplusplus
27405 extern "C"
27407 #endif
27408 /* We use char because int might match the return type of a gcc2
27409 builtin and then its argument prototype would still apply. */
27410 char $ac_func ();
27411 /* The GNU C library defines this for functions which it implements
27412 to always fail with ENOSYS. Some functions are actually named
27413 something starting with __ and the normal name is an alias. */
27414 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27415 choke me
27416 #else
27417 char (*f) () = $ac_func;
27418 #endif
27419 #ifdef __cplusplus
27421 #endif
27424 main ()
27426 return f != $ac_func;
27428 return 0;
27430 _ACEOF
27431 rm -f conftest.$ac_objext conftest$ac_exeext
27432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27433 (eval $ac_link) 2>conftest.er1
27434 ac_status=$?
27435 grep -v '^ *+' conftest.er1 >conftest.err
27436 rm -f conftest.er1
27437 cat conftest.err >&5
27438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27439 (exit $ac_status); } &&
27440 { ac_try='test -z "$ac_c_werror_flag"
27441 || test ! -s conftest.err'
27442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27443 (eval $ac_try) 2>&5
27444 ac_status=$?
27445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27446 (exit $ac_status); }; } &&
27447 { ac_try='test -s conftest$ac_exeext'
27448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27449 (eval $ac_try) 2>&5
27450 ac_status=$?
27451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27452 (exit $ac_status); }; }; then
27453 eval "$as_ac_var=yes"
27454 else
27455 echo "$as_me: failed program was:" >&5
27456 sed 's/^/| /' conftest.$ac_ext >&5
27458 eval "$as_ac_var=no"
27460 rm -f conftest.err conftest.$ac_objext \
27461 conftest$ac_exeext conftest.$ac_ext
27463 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27464 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27465 if test `eval echo '${'$as_ac_var'}'` = yes; then
27466 cat >>confdefs.h <<_ACEOF
27467 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27468 _ACEOF
27470 else
27471 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
27473 done
27477 for ac_func in __signbitf
27479 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27480 echo "$as_me:$LINENO: checking for $ac_func" >&5
27481 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27482 if eval "test \"\${$as_ac_var+set}\" = set"; then
27483 echo $ECHO_N "(cached) $ECHO_C" >&6
27484 else
27485 if test x$gcc_no_link = xyes; then
27486 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27487 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27488 { (exit 1); exit 1; }; }
27490 cat >conftest.$ac_ext <<_ACEOF
27491 /* confdefs.h. */
27492 _ACEOF
27493 cat confdefs.h >>conftest.$ac_ext
27494 cat >>conftest.$ac_ext <<_ACEOF
27495 /* end confdefs.h. */
27496 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27497 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27498 #define $ac_func innocuous_$ac_func
27500 /* System header to define __stub macros and hopefully few prototypes,
27501 which can conflict with char $ac_func (); below.
27502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27503 <limits.h> exists even on freestanding compilers. */
27505 #ifdef __STDC__
27506 # include <limits.h>
27507 #else
27508 # include <assert.h>
27509 #endif
27511 #undef $ac_func
27513 /* Override any gcc2 internal prototype to avoid an error. */
27514 #ifdef __cplusplus
27515 extern "C"
27517 #endif
27518 /* We use char because int might match the return type of a gcc2
27519 builtin and then its argument prototype would still apply. */
27520 char $ac_func ();
27521 /* The GNU C library defines this for functions which it implements
27522 to always fail with ENOSYS. Some functions are actually named
27523 something starting with __ and the normal name is an alias. */
27524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27525 choke me
27526 #else
27527 char (*f) () = $ac_func;
27528 #endif
27529 #ifdef __cplusplus
27531 #endif
27534 main ()
27536 return f != $ac_func;
27538 return 0;
27540 _ACEOF
27541 rm -f conftest.$ac_objext conftest$ac_exeext
27542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27543 (eval $ac_link) 2>conftest.er1
27544 ac_status=$?
27545 grep -v '^ *+' conftest.er1 >conftest.err
27546 rm -f conftest.er1
27547 cat conftest.err >&5
27548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27549 (exit $ac_status); } &&
27550 { ac_try='test -z "$ac_c_werror_flag"
27551 || test ! -s conftest.err'
27552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27553 (eval $ac_try) 2>&5
27554 ac_status=$?
27555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27556 (exit $ac_status); }; } &&
27557 { ac_try='test -s conftest$ac_exeext'
27558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27559 (eval $ac_try) 2>&5
27560 ac_status=$?
27561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27562 (exit $ac_status); }; }; then
27563 eval "$as_ac_var=yes"
27564 else
27565 echo "$as_me: failed program was:" >&5
27566 sed 's/^/| /' conftest.$ac_ext >&5
27568 eval "$as_ac_var=no"
27570 rm -f conftest.err conftest.$ac_objext \
27571 conftest$ac_exeext conftest.$ac_ext
27573 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27574 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27575 if test `eval echo '${'$as_ac_var'}'` = yes; then
27576 cat >>confdefs.h <<_ACEOF
27577 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27578 _ACEOF
27580 else
27581 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
27583 done
27586 if test x$ac_cv_func_copysignl = x"yes"; then
27588 for ac_func in __signbitl
27590 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27591 echo "$as_me:$LINENO: checking for $ac_func" >&5
27592 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27593 if eval "test \"\${$as_ac_var+set}\" = set"; then
27594 echo $ECHO_N "(cached) $ECHO_C" >&6
27595 else
27596 if test x$gcc_no_link = xyes; then
27597 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27598 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27599 { (exit 1); exit 1; }; }
27601 cat >conftest.$ac_ext <<_ACEOF
27602 /* confdefs.h. */
27603 _ACEOF
27604 cat confdefs.h >>conftest.$ac_ext
27605 cat >>conftest.$ac_ext <<_ACEOF
27606 /* end confdefs.h. */
27607 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27609 #define $ac_func innocuous_$ac_func
27611 /* System header to define __stub macros and hopefully few prototypes,
27612 which can conflict with char $ac_func (); below.
27613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27614 <limits.h> exists even on freestanding compilers. */
27616 #ifdef __STDC__
27617 # include <limits.h>
27618 #else
27619 # include <assert.h>
27620 #endif
27622 #undef $ac_func
27624 /* Override any gcc2 internal prototype to avoid an error. */
27625 #ifdef __cplusplus
27626 extern "C"
27628 #endif
27629 /* We use char because int might match the return type of a gcc2
27630 builtin and then its argument prototype would still apply. */
27631 char $ac_func ();
27632 /* The GNU C library defines this for functions which it implements
27633 to always fail with ENOSYS. Some functions are actually named
27634 something starting with __ and the normal name is an alias. */
27635 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27636 choke me
27637 #else
27638 char (*f) () = $ac_func;
27639 #endif
27640 #ifdef __cplusplus
27642 #endif
27645 main ()
27647 return f != $ac_func;
27649 return 0;
27651 _ACEOF
27652 rm -f conftest.$ac_objext conftest$ac_exeext
27653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27654 (eval $ac_link) 2>conftest.er1
27655 ac_status=$?
27656 grep -v '^ *+' conftest.er1 >conftest.err
27657 rm -f conftest.er1
27658 cat conftest.err >&5
27659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27660 (exit $ac_status); } &&
27661 { ac_try='test -z "$ac_c_werror_flag"
27662 || test ! -s conftest.err'
27663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27664 (eval $ac_try) 2>&5
27665 ac_status=$?
27666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27667 (exit $ac_status); }; } &&
27668 { ac_try='test -s conftest$ac_exeext'
27669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27670 (eval $ac_try) 2>&5
27671 ac_status=$?
27672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27673 (exit $ac_status); }; }; then
27674 eval "$as_ac_var=yes"
27675 else
27676 echo "$as_me: failed program was:" >&5
27677 sed 's/^/| /' conftest.$ac_ext >&5
27679 eval "$as_ac_var=no"
27681 rm -f conftest.err conftest.$ac_objext \
27682 conftest$ac_exeext conftest.$ac_ext
27684 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27685 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27686 if test `eval echo '${'$as_ac_var'}'` = yes; then
27687 cat >>confdefs.h <<_ACEOF
27688 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27689 _ACEOF
27691 else
27692 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
27694 done
27698 # Used in libmath/Makefile.am.
27699 if test -n "$LIBMATHOBJS"; then
27700 need_libmath=yes
27705 # Test wchar.h for mbstate_t, which is needed for char_traits and
27706 # others even if wchar_t support is not on.
27707 echo "$as_me:$LINENO: checking for mbstate_t" >&5
27708 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
27709 cat >conftest.$ac_ext <<_ACEOF
27710 /* confdefs.h. */
27711 _ACEOF
27712 cat confdefs.h >>conftest.$ac_ext
27713 cat >>conftest.$ac_ext <<_ACEOF
27714 /* end confdefs.h. */
27715 #include <wchar.h>
27717 main ()
27719 mbstate_t teststate;
27721 return 0;
27723 _ACEOF
27724 rm -f conftest.$ac_objext
27725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27726 (eval $ac_compile) 2>conftest.er1
27727 ac_status=$?
27728 grep -v '^ *+' conftest.er1 >conftest.err
27729 rm -f conftest.er1
27730 cat conftest.err >&5
27731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27732 (exit $ac_status); } &&
27733 { ac_try='test -z "$ac_c_werror_flag"
27734 || test ! -s conftest.err'
27735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27736 (eval $ac_try) 2>&5
27737 ac_status=$?
27738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27739 (exit $ac_status); }; } &&
27740 { ac_try='test -s conftest.$ac_objext'
27741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27742 (eval $ac_try) 2>&5
27743 ac_status=$?
27744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27745 (exit $ac_status); }; }; then
27746 have_mbstate_t=yes
27747 else
27748 echo "$as_me: failed program was:" >&5
27749 sed 's/^/| /' conftest.$ac_ext >&5
27751 have_mbstate_t=no
27753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27754 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
27755 echo "${ECHO_T}$have_mbstate_t" >&6
27756 if test x"$have_mbstate_t" = xyes; then
27757 cat >>confdefs.h <<\_ACEOF
27758 #define HAVE_MBSTATE_T 1
27759 _ACEOF
27763 # Sanity check for existence of ISO C99 headers for extended encoding.
27765 for ac_header in wchar.h
27767 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27768 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27769 echo "$as_me:$LINENO: checking for $ac_header" >&5
27770 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27771 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27772 echo $ECHO_N "(cached) $ECHO_C" >&6
27774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27775 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27776 else
27777 # Is the header compilable?
27778 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27779 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27780 cat >conftest.$ac_ext <<_ACEOF
27781 /* confdefs.h. */
27782 _ACEOF
27783 cat confdefs.h >>conftest.$ac_ext
27784 cat >>conftest.$ac_ext <<_ACEOF
27785 /* end confdefs.h. */
27786 $ac_includes_default
27787 #include <$ac_header>
27788 _ACEOF
27789 rm -f conftest.$ac_objext
27790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27791 (eval $ac_compile) 2>conftest.er1
27792 ac_status=$?
27793 grep -v '^ *+' conftest.er1 >conftest.err
27794 rm -f conftest.er1
27795 cat conftest.err >&5
27796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27797 (exit $ac_status); } &&
27798 { ac_try='test -z "$ac_c_werror_flag"
27799 || test ! -s conftest.err'
27800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27801 (eval $ac_try) 2>&5
27802 ac_status=$?
27803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27804 (exit $ac_status); }; } &&
27805 { ac_try='test -s conftest.$ac_objext'
27806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27807 (eval $ac_try) 2>&5
27808 ac_status=$?
27809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27810 (exit $ac_status); }; }; then
27811 ac_header_compiler=yes
27812 else
27813 echo "$as_me: failed program was:" >&5
27814 sed 's/^/| /' conftest.$ac_ext >&5
27816 ac_header_compiler=no
27818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27819 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27820 echo "${ECHO_T}$ac_header_compiler" >&6
27822 # Is the header present?
27823 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27824 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27825 cat >conftest.$ac_ext <<_ACEOF
27826 /* confdefs.h. */
27827 _ACEOF
27828 cat confdefs.h >>conftest.$ac_ext
27829 cat >>conftest.$ac_ext <<_ACEOF
27830 /* end confdefs.h. */
27831 #include <$ac_header>
27832 _ACEOF
27833 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27834 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27835 ac_status=$?
27836 grep -v '^ *+' conftest.er1 >conftest.err
27837 rm -f conftest.er1
27838 cat conftest.err >&5
27839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27840 (exit $ac_status); } >/dev/null; then
27841 if test -s conftest.err; then
27842 ac_cpp_err=$ac_c_preproc_warn_flag
27843 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27844 else
27845 ac_cpp_err=
27847 else
27848 ac_cpp_err=yes
27850 if test -z "$ac_cpp_err"; then
27851 ac_header_preproc=yes
27852 else
27853 echo "$as_me: failed program was:" >&5
27854 sed 's/^/| /' conftest.$ac_ext >&5
27856 ac_header_preproc=no
27858 rm -f conftest.err conftest.$ac_ext
27859 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27860 echo "${ECHO_T}$ac_header_preproc" >&6
27862 # So? What about this header?
27863 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
27864 yes:no: )
27865 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27866 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27867 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27868 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27869 ac_header_preproc=yes
27871 no:yes:* )
27872 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27873 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27874 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27875 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27876 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27877 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27878 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27879 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27880 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27881 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27882 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27883 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27885 cat <<\_ASBOX
27886 ## ----------------------------------------- ##
27887 ## Report this to the package-unused lists. ##
27888 ## ----------------------------------------- ##
27889 _ASBOX
27891 sed "s/^/$as_me: WARNING: /" >&2
27893 esac
27894 echo "$as_me:$LINENO: checking for $ac_header" >&5
27895 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27896 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27897 echo $ECHO_N "(cached) $ECHO_C" >&6
27898 else
27899 eval "$as_ac_Header=\$ac_header_preproc"
27901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27902 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27905 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27906 cat >>confdefs.h <<_ACEOF
27907 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27908 _ACEOF
27909 ac_has_wchar_h=yes
27910 else
27911 ac_has_wchar_h=no
27914 done
27917 for ac_header in wctype.h
27919 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27920 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27921 echo "$as_me:$LINENO: checking for $ac_header" >&5
27922 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27923 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27924 echo $ECHO_N "(cached) $ECHO_C" >&6
27926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27927 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27928 else
27929 # Is the header compilable?
27930 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27931 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27932 cat >conftest.$ac_ext <<_ACEOF
27933 /* confdefs.h. */
27934 _ACEOF
27935 cat confdefs.h >>conftest.$ac_ext
27936 cat >>conftest.$ac_ext <<_ACEOF
27937 /* end confdefs.h. */
27938 $ac_includes_default
27939 #include <$ac_header>
27940 _ACEOF
27941 rm -f conftest.$ac_objext
27942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27943 (eval $ac_compile) 2>conftest.er1
27944 ac_status=$?
27945 grep -v '^ *+' conftest.er1 >conftest.err
27946 rm -f conftest.er1
27947 cat conftest.err >&5
27948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27949 (exit $ac_status); } &&
27950 { ac_try='test -z "$ac_c_werror_flag"
27951 || test ! -s conftest.err'
27952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27953 (eval $ac_try) 2>&5
27954 ac_status=$?
27955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27956 (exit $ac_status); }; } &&
27957 { ac_try='test -s conftest.$ac_objext'
27958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27959 (eval $ac_try) 2>&5
27960 ac_status=$?
27961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27962 (exit $ac_status); }; }; then
27963 ac_header_compiler=yes
27964 else
27965 echo "$as_me: failed program was:" >&5
27966 sed 's/^/| /' conftest.$ac_ext >&5
27968 ac_header_compiler=no
27970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27971 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27972 echo "${ECHO_T}$ac_header_compiler" >&6
27974 # Is the header present?
27975 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27976 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27977 cat >conftest.$ac_ext <<_ACEOF
27978 /* confdefs.h. */
27979 _ACEOF
27980 cat confdefs.h >>conftest.$ac_ext
27981 cat >>conftest.$ac_ext <<_ACEOF
27982 /* end confdefs.h. */
27983 #include <$ac_header>
27984 _ACEOF
27985 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27986 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27987 ac_status=$?
27988 grep -v '^ *+' conftest.er1 >conftest.err
27989 rm -f conftest.er1
27990 cat conftest.err >&5
27991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27992 (exit $ac_status); } >/dev/null; then
27993 if test -s conftest.err; then
27994 ac_cpp_err=$ac_c_preproc_warn_flag
27995 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
27996 else
27997 ac_cpp_err=
27999 else
28000 ac_cpp_err=yes
28002 if test -z "$ac_cpp_err"; then
28003 ac_header_preproc=yes
28004 else
28005 echo "$as_me: failed program was:" >&5
28006 sed 's/^/| /' conftest.$ac_ext >&5
28008 ac_header_preproc=no
28010 rm -f conftest.err conftest.$ac_ext
28011 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28012 echo "${ECHO_T}$ac_header_preproc" >&6
28014 # So? What about this header?
28015 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28016 yes:no: )
28017 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
28018 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
28019 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
28020 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
28021 ac_header_preproc=yes
28023 no:yes:* )
28024 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
28025 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
28026 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
28027 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
28028 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
28029 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
28030 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
28031 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
28032 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28033 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28034 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28035 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28037 cat <<\_ASBOX
28038 ## ----------------------------------------- ##
28039 ## Report this to the package-unused lists. ##
28040 ## ----------------------------------------- ##
28041 _ASBOX
28043 sed "s/^/$as_me: WARNING: /" >&2
28045 esac
28046 echo "$as_me:$LINENO: checking for $ac_header" >&5
28047 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28048 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28049 echo $ECHO_N "(cached) $ECHO_C" >&6
28050 else
28051 eval "$as_ac_Header=\$ac_header_preproc"
28053 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28054 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28057 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28058 cat >>confdefs.h <<_ACEOF
28059 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28060 _ACEOF
28061 ac_has_wctype_h=yes
28062 else
28063 ac_has_wctype_h=no
28066 done
28069 # Only continue checking if the ISO C99 headers exist and support is on.
28070 if test x"$ac_has_wchar_h" = xyes &&
28071 test x"$ac_has_wctype_h" = xyes &&
28072 test x"$enable_c_mbchar" != xno; then
28074 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
28075 # numeric_limits can instantiate type_traits<wchar_t>
28076 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
28077 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
28078 cat >conftest.$ac_ext <<_ACEOF
28079 /* confdefs.h. */
28080 _ACEOF
28081 cat confdefs.h >>conftest.$ac_ext
28082 cat >>conftest.$ac_ext <<_ACEOF
28083 /* end confdefs.h. */
28084 #include <wchar.h>
28086 main ()
28088 int i = WCHAR_MIN; int j = WCHAR_MAX;
28090 return 0;
28092 _ACEOF
28093 rm -f conftest.$ac_objext
28094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28095 (eval $ac_compile) 2>conftest.er1
28096 ac_status=$?
28097 grep -v '^ *+' conftest.er1 >conftest.err
28098 rm -f conftest.er1
28099 cat conftest.err >&5
28100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28101 (exit $ac_status); } &&
28102 { ac_try='test -z "$ac_c_werror_flag"
28103 || test ! -s conftest.err'
28104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28105 (eval $ac_try) 2>&5
28106 ac_status=$?
28107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28108 (exit $ac_status); }; } &&
28109 { ac_try='test -s conftest.$ac_objext'
28110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28111 (eval $ac_try) 2>&5
28112 ac_status=$?
28113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28114 (exit $ac_status); }; }; then
28115 has_wchar_minmax=yes
28116 else
28117 echo "$as_me: failed program was:" >&5
28118 sed 's/^/| /' conftest.$ac_ext >&5
28120 has_wchar_minmax=no
28122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28123 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
28124 echo "${ECHO_T}$has_wchar_minmax" >&6
28126 # Test wchar.h for WEOF, which is what we use to determine whether
28127 # to specialize for char_traits<wchar_t> or not.
28128 echo "$as_me:$LINENO: checking for WEOF" >&5
28129 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
28130 cat >conftest.$ac_ext <<_ACEOF
28131 /* confdefs.h. */
28132 _ACEOF
28133 cat confdefs.h >>conftest.$ac_ext
28134 cat >>conftest.$ac_ext <<_ACEOF
28135 /* end confdefs.h. */
28137 #include <wchar.h>
28138 #include <stddef.h>
28140 main ()
28142 wint_t i = WEOF;
28144 return 0;
28146 _ACEOF
28147 rm -f conftest.$ac_objext
28148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28149 (eval $ac_compile) 2>conftest.er1
28150 ac_status=$?
28151 grep -v '^ *+' conftest.er1 >conftest.err
28152 rm -f conftest.er1
28153 cat conftest.err >&5
28154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28155 (exit $ac_status); } &&
28156 { ac_try='test -z "$ac_c_werror_flag"
28157 || test ! -s conftest.err'
28158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28159 (eval $ac_try) 2>&5
28160 ac_status=$?
28161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28162 (exit $ac_status); }; } &&
28163 { ac_try='test -s conftest.$ac_objext'
28164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28165 (eval $ac_try) 2>&5
28166 ac_status=$?
28167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28168 (exit $ac_status); }; }; then
28169 has_weof=yes
28170 else
28171 echo "$as_me: failed program was:" >&5
28172 sed 's/^/| /' conftest.$ac_ext >&5
28174 has_weof=no
28176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28177 echo "$as_me:$LINENO: result: $has_weof" >&5
28178 echo "${ECHO_T}$has_weof" >&6
28180 # Tests for wide character functions used in char_traits<wchar_t>.
28181 ac_wfuncs=yes
28188 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
28190 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28191 echo "$as_me:$LINENO: checking for $ac_func" >&5
28192 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28193 if eval "test \"\${$as_ac_var+set}\" = set"; then
28194 echo $ECHO_N "(cached) $ECHO_C" >&6
28195 else
28196 if test x$gcc_no_link = xyes; then
28197 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28198 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28199 { (exit 1); exit 1; }; }
28201 cat >conftest.$ac_ext <<_ACEOF
28202 /* confdefs.h. */
28203 _ACEOF
28204 cat confdefs.h >>conftest.$ac_ext
28205 cat >>conftest.$ac_ext <<_ACEOF
28206 /* end confdefs.h. */
28207 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28208 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28209 #define $ac_func innocuous_$ac_func
28211 /* System header to define __stub macros and hopefully few prototypes,
28212 which can conflict with char $ac_func (); below.
28213 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28214 <limits.h> exists even on freestanding compilers. */
28216 #ifdef __STDC__
28217 # include <limits.h>
28218 #else
28219 # include <assert.h>
28220 #endif
28222 #undef $ac_func
28224 /* Override any gcc2 internal prototype to avoid an error. */
28225 #ifdef __cplusplus
28226 extern "C"
28228 #endif
28229 /* We use char because int might match the return type of a gcc2
28230 builtin and then its argument prototype would still apply. */
28231 char $ac_func ();
28232 /* The GNU C library defines this for functions which it implements
28233 to always fail with ENOSYS. Some functions are actually named
28234 something starting with __ and the normal name is an alias. */
28235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28236 choke me
28237 #else
28238 char (*f) () = $ac_func;
28239 #endif
28240 #ifdef __cplusplus
28242 #endif
28245 main ()
28247 return f != $ac_func;
28249 return 0;
28251 _ACEOF
28252 rm -f conftest.$ac_objext conftest$ac_exeext
28253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28254 (eval $ac_link) 2>conftest.er1
28255 ac_status=$?
28256 grep -v '^ *+' conftest.er1 >conftest.err
28257 rm -f conftest.er1
28258 cat conftest.err >&5
28259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28260 (exit $ac_status); } &&
28261 { ac_try='test -z "$ac_c_werror_flag"
28262 || test ! -s conftest.err'
28263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28264 (eval $ac_try) 2>&5
28265 ac_status=$?
28266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28267 (exit $ac_status); }; } &&
28268 { ac_try='test -s conftest$ac_exeext'
28269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28270 (eval $ac_try) 2>&5
28271 ac_status=$?
28272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28273 (exit $ac_status); }; }; then
28274 eval "$as_ac_var=yes"
28275 else
28276 echo "$as_me: failed program was:" >&5
28277 sed 's/^/| /' conftest.$ac_ext >&5
28279 eval "$as_ac_var=no"
28281 rm -f conftest.err conftest.$ac_objext \
28282 conftest$ac_exeext conftest.$ac_ext
28284 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28285 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28286 if test `eval echo '${'$as_ac_var'}'` = yes; then
28287 cat >>confdefs.h <<_ACEOF
28288 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28289 _ACEOF
28291 else
28292 ac_wfuncs=no
28294 done
28297 # Checks for names injected into std:: by the c_std headers.
28344 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
28345 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
28346 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
28347 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
28348 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
28349 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
28351 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28352 echo "$as_me:$LINENO: checking for $ac_func" >&5
28353 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28354 if eval "test \"\${$as_ac_var+set}\" = set"; then
28355 echo $ECHO_N "(cached) $ECHO_C" >&6
28356 else
28357 if test x$gcc_no_link = xyes; then
28358 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28359 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28360 { (exit 1); exit 1; }; }
28362 cat >conftest.$ac_ext <<_ACEOF
28363 /* confdefs.h. */
28364 _ACEOF
28365 cat confdefs.h >>conftest.$ac_ext
28366 cat >>conftest.$ac_ext <<_ACEOF
28367 /* end confdefs.h. */
28368 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28369 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28370 #define $ac_func innocuous_$ac_func
28372 /* System header to define __stub macros and hopefully few prototypes,
28373 which can conflict with char $ac_func (); below.
28374 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28375 <limits.h> exists even on freestanding compilers. */
28377 #ifdef __STDC__
28378 # include <limits.h>
28379 #else
28380 # include <assert.h>
28381 #endif
28383 #undef $ac_func
28385 /* Override any gcc2 internal prototype to avoid an error. */
28386 #ifdef __cplusplus
28387 extern "C"
28389 #endif
28390 /* We use char because int might match the return type of a gcc2
28391 builtin and then its argument prototype would still apply. */
28392 char $ac_func ();
28393 /* The GNU C library defines this for functions which it implements
28394 to always fail with ENOSYS. Some functions are actually named
28395 something starting with __ and the normal name is an alias. */
28396 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28397 choke me
28398 #else
28399 char (*f) () = $ac_func;
28400 #endif
28401 #ifdef __cplusplus
28403 #endif
28406 main ()
28408 return f != $ac_func;
28410 return 0;
28412 _ACEOF
28413 rm -f conftest.$ac_objext conftest$ac_exeext
28414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28415 (eval $ac_link) 2>conftest.er1
28416 ac_status=$?
28417 grep -v '^ *+' conftest.er1 >conftest.err
28418 rm -f conftest.er1
28419 cat conftest.err >&5
28420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28421 (exit $ac_status); } &&
28422 { ac_try='test -z "$ac_c_werror_flag"
28423 || test ! -s conftest.err'
28424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28425 (eval $ac_try) 2>&5
28426 ac_status=$?
28427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28428 (exit $ac_status); }; } &&
28429 { ac_try='test -s conftest$ac_exeext'
28430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28431 (eval $ac_try) 2>&5
28432 ac_status=$?
28433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28434 (exit $ac_status); }; }; then
28435 eval "$as_ac_var=yes"
28436 else
28437 echo "$as_me: failed program was:" >&5
28438 sed 's/^/| /' conftest.$ac_ext >&5
28440 eval "$as_ac_var=no"
28442 rm -f conftest.err conftest.$ac_objext \
28443 conftest$ac_exeext conftest.$ac_ext
28445 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28446 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28447 if test `eval echo '${'$as_ac_var'}'` = yes; then
28448 cat >>confdefs.h <<_ACEOF
28449 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28450 _ACEOF
28452 else
28453 ac_wfuncs=no
28455 done
28458 # Checks for wide character functions that are not required
28459 # for basic wchar_t support. Don't disable support if they are missing.
28460 # Injection of these is wrapped with guard macros.
28466 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
28468 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28469 echo "$as_me:$LINENO: checking for $ac_func" >&5
28470 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28471 if eval "test \"\${$as_ac_var+set}\" = set"; then
28472 echo $ECHO_N "(cached) $ECHO_C" >&6
28473 else
28474 if test x$gcc_no_link = xyes; then
28475 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28476 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28477 { (exit 1); exit 1; }; }
28479 cat >conftest.$ac_ext <<_ACEOF
28480 /* confdefs.h. */
28481 _ACEOF
28482 cat confdefs.h >>conftest.$ac_ext
28483 cat >>conftest.$ac_ext <<_ACEOF
28484 /* end confdefs.h. */
28485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28486 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28487 #define $ac_func innocuous_$ac_func
28489 /* System header to define __stub macros and hopefully few prototypes,
28490 which can conflict with char $ac_func (); below.
28491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28492 <limits.h> exists even on freestanding compilers. */
28494 #ifdef __STDC__
28495 # include <limits.h>
28496 #else
28497 # include <assert.h>
28498 #endif
28500 #undef $ac_func
28502 /* Override any gcc2 internal prototype to avoid an error. */
28503 #ifdef __cplusplus
28504 extern "C"
28506 #endif
28507 /* We use char because int might match the return type of a gcc2
28508 builtin and then its argument prototype would still apply. */
28509 char $ac_func ();
28510 /* The GNU C library defines this for functions which it implements
28511 to always fail with ENOSYS. Some functions are actually named
28512 something starting with __ and the normal name is an alias. */
28513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28514 choke me
28515 #else
28516 char (*f) () = $ac_func;
28517 #endif
28518 #ifdef __cplusplus
28520 #endif
28523 main ()
28525 return f != $ac_func;
28527 return 0;
28529 _ACEOF
28530 rm -f conftest.$ac_objext conftest$ac_exeext
28531 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28532 (eval $ac_link) 2>conftest.er1
28533 ac_status=$?
28534 grep -v '^ *+' conftest.er1 >conftest.err
28535 rm -f conftest.er1
28536 cat conftest.err >&5
28537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28538 (exit $ac_status); } &&
28539 { ac_try='test -z "$ac_c_werror_flag"
28540 || test ! -s conftest.err'
28541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28542 (eval $ac_try) 2>&5
28543 ac_status=$?
28544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28545 (exit $ac_status); }; } &&
28546 { ac_try='test -s conftest$ac_exeext'
28547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28548 (eval $ac_try) 2>&5
28549 ac_status=$?
28550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28551 (exit $ac_status); }; }; then
28552 eval "$as_ac_var=yes"
28553 else
28554 echo "$as_me: failed program was:" >&5
28555 sed 's/^/| /' conftest.$ac_ext >&5
28557 eval "$as_ac_var=no"
28559 rm -f conftest.err conftest.$ac_objext \
28560 conftest$ac_exeext conftest.$ac_ext
28562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28563 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28564 if test `eval echo '${'$as_ac_var'}'` = yes; then
28565 cat >>confdefs.h <<_ACEOF
28566 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28567 _ACEOF
28570 done
28573 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
28574 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
28575 if test x"$has_weof" = xyes &&
28576 test x"$has_wchar_minmax" = xyes &&
28577 test x"$ac_wfuncs" = xyes;
28578 then
28579 ac_isoC99_wchar_t=yes
28580 else
28581 ac_isoC99_wchar_t=no
28583 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
28584 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
28586 # Use iconv for wchar_t to char conversions. As such, check for
28587 # X/Open Portability Guide, version 2 features (XPG2).
28588 if test "${ac_cv_header_iconv_h+set}" = set; then
28589 echo "$as_me:$LINENO: checking for iconv.h" >&5
28590 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28591 if test "${ac_cv_header_iconv_h+set}" = set; then
28592 echo $ECHO_N "(cached) $ECHO_C" >&6
28594 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28595 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28596 else
28597 # Is the header compilable?
28598 echo "$as_me:$LINENO: checking iconv.h usability" >&5
28599 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
28600 cat >conftest.$ac_ext <<_ACEOF
28601 /* confdefs.h. */
28602 _ACEOF
28603 cat confdefs.h >>conftest.$ac_ext
28604 cat >>conftest.$ac_ext <<_ACEOF
28605 /* end confdefs.h. */
28606 $ac_includes_default
28607 #include <iconv.h>
28608 _ACEOF
28609 rm -f conftest.$ac_objext
28610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28611 (eval $ac_compile) 2>conftest.er1
28612 ac_status=$?
28613 grep -v '^ *+' conftest.er1 >conftest.err
28614 rm -f conftest.er1
28615 cat conftest.err >&5
28616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28617 (exit $ac_status); } &&
28618 { ac_try='test -z "$ac_c_werror_flag"
28619 || test ! -s conftest.err'
28620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28621 (eval $ac_try) 2>&5
28622 ac_status=$?
28623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28624 (exit $ac_status); }; } &&
28625 { ac_try='test -s conftest.$ac_objext'
28626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28627 (eval $ac_try) 2>&5
28628 ac_status=$?
28629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28630 (exit $ac_status); }; }; then
28631 ac_header_compiler=yes
28632 else
28633 echo "$as_me: failed program was:" >&5
28634 sed 's/^/| /' conftest.$ac_ext >&5
28636 ac_header_compiler=no
28638 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28639 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28640 echo "${ECHO_T}$ac_header_compiler" >&6
28642 # Is the header present?
28643 echo "$as_me:$LINENO: checking iconv.h presence" >&5
28644 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
28645 cat >conftest.$ac_ext <<_ACEOF
28646 /* confdefs.h. */
28647 _ACEOF
28648 cat confdefs.h >>conftest.$ac_ext
28649 cat >>conftest.$ac_ext <<_ACEOF
28650 /* end confdefs.h. */
28651 #include <iconv.h>
28652 _ACEOF
28653 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28654 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28655 ac_status=$?
28656 grep -v '^ *+' conftest.er1 >conftest.err
28657 rm -f conftest.er1
28658 cat conftest.err >&5
28659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28660 (exit $ac_status); } >/dev/null; then
28661 if test -s conftest.err; then
28662 ac_cpp_err=$ac_c_preproc_warn_flag
28663 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28664 else
28665 ac_cpp_err=
28667 else
28668 ac_cpp_err=yes
28670 if test -z "$ac_cpp_err"; then
28671 ac_header_preproc=yes
28672 else
28673 echo "$as_me: failed program was:" >&5
28674 sed 's/^/| /' conftest.$ac_ext >&5
28676 ac_header_preproc=no
28678 rm -f conftest.err conftest.$ac_ext
28679 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28680 echo "${ECHO_T}$ac_header_preproc" >&6
28682 # So? What about this header?
28683 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28684 yes:no: )
28685 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
28686 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28687 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
28688 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
28689 ac_header_preproc=yes
28691 no:yes:* )
28692 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
28693 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
28694 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
28695 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
28696 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
28697 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
28698 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
28699 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
28700 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
28701 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
28702 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
28703 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
28705 cat <<\_ASBOX
28706 ## ----------------------------------------- ##
28707 ## Report this to the package-unused lists. ##
28708 ## ----------------------------------------- ##
28709 _ASBOX
28711 sed "s/^/$as_me: WARNING: /" >&2
28713 esac
28714 echo "$as_me:$LINENO: checking for iconv.h" >&5
28715 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
28716 if test "${ac_cv_header_iconv_h+set}" = set; then
28717 echo $ECHO_N "(cached) $ECHO_C" >&6
28718 else
28719 ac_cv_header_iconv_h=$ac_header_preproc
28721 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
28722 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
28725 if test $ac_cv_header_iconv_h = yes; then
28726 ac_has_iconv_h=yes
28727 else
28728 ac_has_iconv_h=no
28732 if test "${ac_cv_header_langinfo_h+set}" = set; then
28733 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28734 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28735 if test "${ac_cv_header_langinfo_h+set}" = set; then
28736 echo $ECHO_N "(cached) $ECHO_C" >&6
28738 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28739 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28740 else
28741 # Is the header compilable?
28742 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
28743 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
28744 cat >conftest.$ac_ext <<_ACEOF
28745 /* confdefs.h. */
28746 _ACEOF
28747 cat confdefs.h >>conftest.$ac_ext
28748 cat >>conftest.$ac_ext <<_ACEOF
28749 /* end confdefs.h. */
28750 $ac_includes_default
28751 #include <langinfo.h>
28752 _ACEOF
28753 rm -f conftest.$ac_objext
28754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28755 (eval $ac_compile) 2>conftest.er1
28756 ac_status=$?
28757 grep -v '^ *+' conftest.er1 >conftest.err
28758 rm -f conftest.er1
28759 cat conftest.err >&5
28760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28761 (exit $ac_status); } &&
28762 { ac_try='test -z "$ac_c_werror_flag"
28763 || test ! -s conftest.err'
28764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28765 (eval $ac_try) 2>&5
28766 ac_status=$?
28767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28768 (exit $ac_status); }; } &&
28769 { ac_try='test -s conftest.$ac_objext'
28770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28771 (eval $ac_try) 2>&5
28772 ac_status=$?
28773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28774 (exit $ac_status); }; }; then
28775 ac_header_compiler=yes
28776 else
28777 echo "$as_me: failed program was:" >&5
28778 sed 's/^/| /' conftest.$ac_ext >&5
28780 ac_header_compiler=no
28782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28783 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
28784 echo "${ECHO_T}$ac_header_compiler" >&6
28786 # Is the header present?
28787 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
28788 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
28789 cat >conftest.$ac_ext <<_ACEOF
28790 /* confdefs.h. */
28791 _ACEOF
28792 cat confdefs.h >>conftest.$ac_ext
28793 cat >>conftest.$ac_ext <<_ACEOF
28794 /* end confdefs.h. */
28795 #include <langinfo.h>
28796 _ACEOF
28797 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
28798 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
28799 ac_status=$?
28800 grep -v '^ *+' conftest.er1 >conftest.err
28801 rm -f conftest.er1
28802 cat conftest.err >&5
28803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28804 (exit $ac_status); } >/dev/null; then
28805 if test -s conftest.err; then
28806 ac_cpp_err=$ac_c_preproc_warn_flag
28807 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
28808 else
28809 ac_cpp_err=
28811 else
28812 ac_cpp_err=yes
28814 if test -z "$ac_cpp_err"; then
28815 ac_header_preproc=yes
28816 else
28817 echo "$as_me: failed program was:" >&5
28818 sed 's/^/| /' conftest.$ac_ext >&5
28820 ac_header_preproc=no
28822 rm -f conftest.err conftest.$ac_ext
28823 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
28824 echo "${ECHO_T}$ac_header_preproc" >&6
28826 # So? What about this header?
28827 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
28828 yes:no: )
28829 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
28830 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
28831 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
28832 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
28833 ac_header_preproc=yes
28835 no:yes:* )
28836 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
28837 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
28838 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
28839 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
28840 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
28841 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
28842 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
28843 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
28844 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
28845 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
28846 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
28847 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
28849 cat <<\_ASBOX
28850 ## ----------------------------------------- ##
28851 ## Report this to the package-unused lists. ##
28852 ## ----------------------------------------- ##
28853 _ASBOX
28855 sed "s/^/$as_me: WARNING: /" >&2
28857 esac
28858 echo "$as_me:$LINENO: checking for langinfo.h" >&5
28859 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
28860 if test "${ac_cv_header_langinfo_h+set}" = set; then
28861 echo $ECHO_N "(cached) $ECHO_C" >&6
28862 else
28863 ac_cv_header_langinfo_h=$ac_header_preproc
28865 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
28866 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
28869 if test $ac_cv_header_langinfo_h = yes; then
28870 ac_has_langinfo_h=yes
28871 else
28872 ac_has_langinfo_h=no
28877 # Check for existence of libiconv.a providing XPG2 wchar_t support.
28878 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
28879 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
28880 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
28881 echo $ECHO_N "(cached) $ECHO_C" >&6
28882 else
28883 ac_check_lib_save_LIBS=$LIBS
28884 LIBS="-liconv $LIBS"
28885 if test x$gcc_no_link = xyes; then
28886 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28887 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28888 { (exit 1); exit 1; }; }
28890 cat >conftest.$ac_ext <<_ACEOF
28891 /* confdefs.h. */
28892 _ACEOF
28893 cat confdefs.h >>conftest.$ac_ext
28894 cat >>conftest.$ac_ext <<_ACEOF
28895 /* end confdefs.h. */
28897 /* Override any gcc2 internal prototype to avoid an error. */
28898 #ifdef __cplusplus
28899 extern "C"
28900 #endif
28901 /* We use char because int might match the return type of a gcc2
28902 builtin and then its argument prototype would still apply. */
28903 char iconv ();
28905 main ()
28907 iconv ();
28909 return 0;
28911 _ACEOF
28912 rm -f conftest.$ac_objext conftest$ac_exeext
28913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28914 (eval $ac_link) 2>conftest.er1
28915 ac_status=$?
28916 grep -v '^ *+' conftest.er1 >conftest.err
28917 rm -f conftest.er1
28918 cat conftest.err >&5
28919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28920 (exit $ac_status); } &&
28921 { ac_try='test -z "$ac_c_werror_flag"
28922 || test ! -s conftest.err'
28923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28924 (eval $ac_try) 2>&5
28925 ac_status=$?
28926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28927 (exit $ac_status); }; } &&
28928 { ac_try='test -s conftest$ac_exeext'
28929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28930 (eval $ac_try) 2>&5
28931 ac_status=$?
28932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28933 (exit $ac_status); }; }; then
28934 ac_cv_lib_iconv_iconv=yes
28935 else
28936 echo "$as_me: failed program was:" >&5
28937 sed 's/^/| /' conftest.$ac_ext >&5
28939 ac_cv_lib_iconv_iconv=no
28941 rm -f conftest.err conftest.$ac_objext \
28942 conftest$ac_exeext conftest.$ac_ext
28943 LIBS=$ac_check_lib_save_LIBS
28945 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
28946 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
28947 if test $ac_cv_lib_iconv_iconv = yes; then
28948 LIBICONV="-liconv"
28951 ac_save_LIBS="$LIBS"
28952 LIBS="$LIBS $LIBICONV"
28959 for ac_func in iconv_open iconv_close iconv nl_langinfo
28961 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28962 echo "$as_me:$LINENO: checking for $ac_func" >&5
28963 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28964 if eval "test \"\${$as_ac_var+set}\" = set"; then
28965 echo $ECHO_N "(cached) $ECHO_C" >&6
28966 else
28967 if test x$gcc_no_link = xyes; then
28968 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28969 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28970 { (exit 1); exit 1; }; }
28972 cat >conftest.$ac_ext <<_ACEOF
28973 /* confdefs.h. */
28974 _ACEOF
28975 cat confdefs.h >>conftest.$ac_ext
28976 cat >>conftest.$ac_ext <<_ACEOF
28977 /* end confdefs.h. */
28978 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28979 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28980 #define $ac_func innocuous_$ac_func
28982 /* System header to define __stub macros and hopefully few prototypes,
28983 which can conflict with char $ac_func (); below.
28984 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28985 <limits.h> exists even on freestanding compilers. */
28987 #ifdef __STDC__
28988 # include <limits.h>
28989 #else
28990 # include <assert.h>
28991 #endif
28993 #undef $ac_func
28995 /* Override any gcc2 internal prototype to avoid an error. */
28996 #ifdef __cplusplus
28997 extern "C"
28999 #endif
29000 /* We use char because int might match the return type of a gcc2
29001 builtin and then its argument prototype would still apply. */
29002 char $ac_func ();
29003 /* The GNU C library defines this for functions which it implements
29004 to always fail with ENOSYS. Some functions are actually named
29005 something starting with __ and the normal name is an alias. */
29006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29007 choke me
29008 #else
29009 char (*f) () = $ac_func;
29010 #endif
29011 #ifdef __cplusplus
29013 #endif
29016 main ()
29018 return f != $ac_func;
29020 return 0;
29022 _ACEOF
29023 rm -f conftest.$ac_objext conftest$ac_exeext
29024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29025 (eval $ac_link) 2>conftest.er1
29026 ac_status=$?
29027 grep -v '^ *+' conftest.er1 >conftest.err
29028 rm -f conftest.er1
29029 cat conftest.err >&5
29030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29031 (exit $ac_status); } &&
29032 { ac_try='test -z "$ac_c_werror_flag"
29033 || test ! -s conftest.err'
29034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29035 (eval $ac_try) 2>&5
29036 ac_status=$?
29037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29038 (exit $ac_status); }; } &&
29039 { ac_try='test -s conftest$ac_exeext'
29040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29041 (eval $ac_try) 2>&5
29042 ac_status=$?
29043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29044 (exit $ac_status); }; }; then
29045 eval "$as_ac_var=yes"
29046 else
29047 echo "$as_me: failed program was:" >&5
29048 sed 's/^/| /' conftest.$ac_ext >&5
29050 eval "$as_ac_var=no"
29052 rm -f conftest.err conftest.$ac_objext \
29053 conftest$ac_exeext conftest.$ac_ext
29055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29056 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29057 if test `eval echo '${'$as_ac_var'}'` = yes; then
29058 cat >>confdefs.h <<_ACEOF
29059 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29060 _ACEOF
29061 ac_XPG2funcs=yes
29062 else
29063 ac_XPG2funcs=no
29065 done
29068 LIBS="$ac_save_LIBS"
29070 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
29071 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
29072 if test x"$ac_has_iconv_h" = xyes &&
29073 test x"$ac_has_langinfo_h" = xyes &&
29074 test x"$ac_XPG2funcs" = xyes;
29075 then
29076 ac_XPG2_wchar_t=yes
29077 else
29078 ac_XPG2_wchar_t=no
29080 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
29081 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
29083 # At the moment, only enable wchar_t specializations if all the
29084 # above support is present.
29085 if test x"$ac_isoC99_wchar_t" = xyes &&
29086 test x"$ac_XPG2_wchar_t" = xyes;
29087 then
29088 cat >>confdefs.h <<\_ACEOF
29089 #define _GLIBCXX_USE_WCHAR_T 1
29090 _ACEOF
29092 enable_wchar_t=yes
29095 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
29096 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
29097 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
29098 echo "${ECHO_T}$enable_wchar_t" >&6
29101 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29102 ac_save_CXXFLAGS="$CXXFLAGS"
29103 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29106 echo "$as_me:$LINENO: checking for strtold declaration" >&5
29107 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
29108 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
29109 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
29110 echo $ECHO_N "(cached) $ECHO_C" >&6
29111 else
29115 ac_ext=cc
29116 ac_cpp='$CXXCPP $CPPFLAGS'
29117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29121 cat >conftest.$ac_ext <<_ACEOF
29122 /* confdefs.h. */
29123 _ACEOF
29124 cat confdefs.h >>conftest.$ac_ext
29125 cat >>conftest.$ac_ext <<_ACEOF
29126 /* end confdefs.h. */
29127 #include <stdlib.h>
29129 main ()
29131 strtold(0, 0);
29133 return 0;
29135 _ACEOF
29136 rm -f conftest.$ac_objext
29137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29138 (eval $ac_compile) 2>conftest.er1
29139 ac_status=$?
29140 grep -v '^ *+' conftest.er1 >conftest.err
29141 rm -f conftest.er1
29142 cat conftest.err >&5
29143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29144 (exit $ac_status); } &&
29145 { ac_try='test -z "$ac_cxx_werror_flag"
29146 || test ! -s conftest.err'
29147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29148 (eval $ac_try) 2>&5
29149 ac_status=$?
29150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29151 (exit $ac_status); }; } &&
29152 { ac_try='test -s conftest.$ac_objext'
29153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29154 (eval $ac_try) 2>&5
29155 ac_status=$?
29156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29157 (exit $ac_status); }; }; then
29158 glibcxx_cv_func_strtold_use=yes
29159 else
29160 echo "$as_me: failed program was:" >&5
29161 sed 's/^/| /' conftest.$ac_ext >&5
29163 glibcxx_cv_func_strtold_use=no
29165 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29166 ac_ext=c
29167 ac_cpp='$CPP $CPPFLAGS'
29168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29176 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
29177 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
29178 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
29180 for ac_func in strtold
29182 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29183 echo "$as_me:$LINENO: checking for $ac_func" >&5
29184 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29185 if eval "test \"\${$as_ac_var+set}\" = set"; then
29186 echo $ECHO_N "(cached) $ECHO_C" >&6
29187 else
29188 if test x$gcc_no_link = xyes; then
29189 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29190 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29191 { (exit 1); exit 1; }; }
29193 cat >conftest.$ac_ext <<_ACEOF
29194 /* confdefs.h. */
29195 _ACEOF
29196 cat confdefs.h >>conftest.$ac_ext
29197 cat >>conftest.$ac_ext <<_ACEOF
29198 /* end confdefs.h. */
29199 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29200 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29201 #define $ac_func innocuous_$ac_func
29203 /* System header to define __stub macros and hopefully few prototypes,
29204 which can conflict with char $ac_func (); below.
29205 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29206 <limits.h> exists even on freestanding compilers. */
29208 #ifdef __STDC__
29209 # include <limits.h>
29210 #else
29211 # include <assert.h>
29212 #endif
29214 #undef $ac_func
29216 /* Override any gcc2 internal prototype to avoid an error. */
29217 #ifdef __cplusplus
29218 extern "C"
29220 #endif
29221 /* We use char because int might match the return type of a gcc2
29222 builtin and then its argument prototype would still apply. */
29223 char $ac_func ();
29224 /* The GNU C library defines this for functions which it implements
29225 to always fail with ENOSYS. Some functions are actually named
29226 something starting with __ and the normal name is an alias. */
29227 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29228 choke me
29229 #else
29230 char (*f) () = $ac_func;
29231 #endif
29232 #ifdef __cplusplus
29234 #endif
29237 main ()
29239 return f != $ac_func;
29241 return 0;
29243 _ACEOF
29244 rm -f conftest.$ac_objext conftest$ac_exeext
29245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29246 (eval $ac_link) 2>conftest.er1
29247 ac_status=$?
29248 grep -v '^ *+' conftest.er1 >conftest.err
29249 rm -f conftest.er1
29250 cat conftest.err >&5
29251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29252 (exit $ac_status); } &&
29253 { ac_try='test -z "$ac_c_werror_flag"
29254 || test ! -s conftest.err'
29255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29256 (eval $ac_try) 2>&5
29257 ac_status=$?
29258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29259 (exit $ac_status); }; } &&
29260 { ac_try='test -s conftest$ac_exeext'
29261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29262 (eval $ac_try) 2>&5
29263 ac_status=$?
29264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29265 (exit $ac_status); }; }; then
29266 eval "$as_ac_var=yes"
29267 else
29268 echo "$as_me: failed program was:" >&5
29269 sed 's/^/| /' conftest.$ac_ext >&5
29271 eval "$as_ac_var=no"
29273 rm -f conftest.err conftest.$ac_objext \
29274 conftest$ac_exeext conftest.$ac_ext
29276 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29277 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29278 if test `eval echo '${'$as_ac_var'}'` = yes; then
29279 cat >>confdefs.h <<_ACEOF
29280 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29281 _ACEOF
29284 done
29289 echo "$as_me:$LINENO: checking for strtof declaration" >&5
29290 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
29291 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
29292 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
29293 echo $ECHO_N "(cached) $ECHO_C" >&6
29294 else
29298 ac_ext=cc
29299 ac_cpp='$CXXCPP $CPPFLAGS'
29300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29304 cat >conftest.$ac_ext <<_ACEOF
29305 /* confdefs.h. */
29306 _ACEOF
29307 cat confdefs.h >>conftest.$ac_ext
29308 cat >>conftest.$ac_ext <<_ACEOF
29309 /* end confdefs.h. */
29310 #include <stdlib.h>
29312 main ()
29314 strtof(0, 0);
29316 return 0;
29318 _ACEOF
29319 rm -f conftest.$ac_objext
29320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29321 (eval $ac_compile) 2>conftest.er1
29322 ac_status=$?
29323 grep -v '^ *+' conftest.er1 >conftest.err
29324 rm -f conftest.er1
29325 cat conftest.err >&5
29326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29327 (exit $ac_status); } &&
29328 { ac_try='test -z "$ac_cxx_werror_flag"
29329 || test ! -s conftest.err'
29330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29331 (eval $ac_try) 2>&5
29332 ac_status=$?
29333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29334 (exit $ac_status); }; } &&
29335 { ac_try='test -s conftest.$ac_objext'
29336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29337 (eval $ac_try) 2>&5
29338 ac_status=$?
29339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29340 (exit $ac_status); }; }; then
29341 glibcxx_cv_func_strtof_use=yes
29342 else
29343 echo "$as_me: failed program was:" >&5
29344 sed 's/^/| /' conftest.$ac_ext >&5
29346 glibcxx_cv_func_strtof_use=no
29348 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29349 ac_ext=c
29350 ac_cpp='$CPP $CPPFLAGS'
29351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29359 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
29360 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
29361 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
29363 for ac_func in strtof
29365 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29366 echo "$as_me:$LINENO: checking for $ac_func" >&5
29367 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29368 if eval "test \"\${$as_ac_var+set}\" = set"; then
29369 echo $ECHO_N "(cached) $ECHO_C" >&6
29370 else
29371 if test x$gcc_no_link = xyes; then
29372 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29373 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29374 { (exit 1); exit 1; }; }
29376 cat >conftest.$ac_ext <<_ACEOF
29377 /* confdefs.h. */
29378 _ACEOF
29379 cat confdefs.h >>conftest.$ac_ext
29380 cat >>conftest.$ac_ext <<_ACEOF
29381 /* end confdefs.h. */
29382 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29383 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29384 #define $ac_func innocuous_$ac_func
29386 /* System header to define __stub macros and hopefully few prototypes,
29387 which can conflict with char $ac_func (); below.
29388 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29389 <limits.h> exists even on freestanding compilers. */
29391 #ifdef __STDC__
29392 # include <limits.h>
29393 #else
29394 # include <assert.h>
29395 #endif
29397 #undef $ac_func
29399 /* Override any gcc2 internal prototype to avoid an error. */
29400 #ifdef __cplusplus
29401 extern "C"
29403 #endif
29404 /* We use char because int might match the return type of a gcc2
29405 builtin and then its argument prototype would still apply. */
29406 char $ac_func ();
29407 /* The GNU C library defines this for functions which it implements
29408 to always fail with ENOSYS. Some functions are actually named
29409 something starting with __ and the normal name is an alias. */
29410 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29411 choke me
29412 #else
29413 char (*f) () = $ac_func;
29414 #endif
29415 #ifdef __cplusplus
29417 #endif
29420 main ()
29422 return f != $ac_func;
29424 return 0;
29426 _ACEOF
29427 rm -f conftest.$ac_objext conftest$ac_exeext
29428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29429 (eval $ac_link) 2>conftest.er1
29430 ac_status=$?
29431 grep -v '^ *+' conftest.er1 >conftest.err
29432 rm -f conftest.er1
29433 cat conftest.err >&5
29434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29435 (exit $ac_status); } &&
29436 { ac_try='test -z "$ac_c_werror_flag"
29437 || test ! -s conftest.err'
29438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29439 (eval $ac_try) 2>&5
29440 ac_status=$?
29441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29442 (exit $ac_status); }; } &&
29443 { ac_try='test -s conftest$ac_exeext'
29444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29445 (eval $ac_try) 2>&5
29446 ac_status=$?
29447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29448 (exit $ac_status); }; }; then
29449 eval "$as_ac_var=yes"
29450 else
29451 echo "$as_me: failed program was:" >&5
29452 sed 's/^/| /' conftest.$ac_ext >&5
29454 eval "$as_ac_var=no"
29456 rm -f conftest.err conftest.$ac_objext \
29457 conftest$ac_exeext conftest.$ac_ext
29459 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29460 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29461 if test `eval echo '${'$as_ac_var'}'` = yes; then
29462 cat >>confdefs.h <<_ACEOF
29463 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29464 _ACEOF
29467 done
29472 CXXFLAGS="$ac_save_CXXFLAGS"
29475 # For showmanyc_helper().
29478 for ac_header in sys/ioctl.h sys/filio.h
29480 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29481 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29482 echo "$as_me:$LINENO: checking for $ac_header" >&5
29483 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29484 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29485 echo $ECHO_N "(cached) $ECHO_C" >&6
29487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29488 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29489 else
29490 # Is the header compilable?
29491 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29492 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29493 cat >conftest.$ac_ext <<_ACEOF
29494 /* confdefs.h. */
29495 _ACEOF
29496 cat confdefs.h >>conftest.$ac_ext
29497 cat >>conftest.$ac_ext <<_ACEOF
29498 /* end confdefs.h. */
29499 $ac_includes_default
29500 #include <$ac_header>
29501 _ACEOF
29502 rm -f conftest.$ac_objext
29503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29504 (eval $ac_compile) 2>conftest.er1
29505 ac_status=$?
29506 grep -v '^ *+' conftest.er1 >conftest.err
29507 rm -f conftest.er1
29508 cat conftest.err >&5
29509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29510 (exit $ac_status); } &&
29511 { ac_try='test -z "$ac_c_werror_flag"
29512 || test ! -s conftest.err'
29513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29514 (eval $ac_try) 2>&5
29515 ac_status=$?
29516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29517 (exit $ac_status); }; } &&
29518 { ac_try='test -s conftest.$ac_objext'
29519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29520 (eval $ac_try) 2>&5
29521 ac_status=$?
29522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29523 (exit $ac_status); }; }; then
29524 ac_header_compiler=yes
29525 else
29526 echo "$as_me: failed program was:" >&5
29527 sed 's/^/| /' conftest.$ac_ext >&5
29529 ac_header_compiler=no
29531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29532 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29533 echo "${ECHO_T}$ac_header_compiler" >&6
29535 # Is the header present?
29536 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29537 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29538 cat >conftest.$ac_ext <<_ACEOF
29539 /* confdefs.h. */
29540 _ACEOF
29541 cat confdefs.h >>conftest.$ac_ext
29542 cat >>conftest.$ac_ext <<_ACEOF
29543 /* end confdefs.h. */
29544 #include <$ac_header>
29545 _ACEOF
29546 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29547 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29548 ac_status=$?
29549 grep -v '^ *+' conftest.er1 >conftest.err
29550 rm -f conftest.er1
29551 cat conftest.err >&5
29552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29553 (exit $ac_status); } >/dev/null; then
29554 if test -s conftest.err; then
29555 ac_cpp_err=$ac_c_preproc_warn_flag
29556 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29557 else
29558 ac_cpp_err=
29560 else
29561 ac_cpp_err=yes
29563 if test -z "$ac_cpp_err"; then
29564 ac_header_preproc=yes
29565 else
29566 echo "$as_me: failed program was:" >&5
29567 sed 's/^/| /' conftest.$ac_ext >&5
29569 ac_header_preproc=no
29571 rm -f conftest.err conftest.$ac_ext
29572 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29573 echo "${ECHO_T}$ac_header_preproc" >&6
29575 # So? What about this header?
29576 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29577 yes:no: )
29578 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29579 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29580 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29581 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29582 ac_header_preproc=yes
29584 no:yes:* )
29585 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29586 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29587 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29588 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29589 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29590 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29591 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29592 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29593 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29594 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29595 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29596 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29598 cat <<\_ASBOX
29599 ## ----------------------------------------- ##
29600 ## Report this to the package-unused lists. ##
29601 ## ----------------------------------------- ##
29602 _ASBOX
29604 sed "s/^/$as_me: WARNING: /" >&2
29606 esac
29607 echo "$as_me:$LINENO: checking for $ac_header" >&5
29608 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29609 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29610 echo $ECHO_N "(cached) $ECHO_C" >&6
29611 else
29612 eval "$as_ac_Header=\$ac_header_preproc"
29614 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29615 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29618 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29619 cat >>confdefs.h <<_ACEOF
29620 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29621 _ACEOF
29625 done
29628 if test "${glibcxx_cv_POLL+set}" = set; then
29629 echo $ECHO_N "(cached) $ECHO_C" >&6
29630 else
29632 if test x$gcc_no_link = xyes; then
29633 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29634 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29635 { (exit 1); exit 1; }; }
29637 cat >conftest.$ac_ext <<_ACEOF
29638 /* confdefs.h. */
29639 _ACEOF
29640 cat confdefs.h >>conftest.$ac_ext
29641 cat >>conftest.$ac_ext <<_ACEOF
29642 /* end confdefs.h. */
29643 #include <poll.h>
29645 main ()
29647 struct pollfd pfd[1];
29648 pfd[0].events = POLLIN;
29649 poll(pfd, 1, 0);
29651 return 0;
29653 _ACEOF
29654 rm -f conftest.$ac_objext conftest$ac_exeext
29655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29656 (eval $ac_link) 2>conftest.er1
29657 ac_status=$?
29658 grep -v '^ *+' conftest.er1 >conftest.err
29659 rm -f conftest.er1
29660 cat conftest.err >&5
29661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29662 (exit $ac_status); } &&
29663 { ac_try='test -z "$ac_c_werror_flag"
29664 || test ! -s conftest.err'
29665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29666 (eval $ac_try) 2>&5
29667 ac_status=$?
29668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29669 (exit $ac_status); }; } &&
29670 { ac_try='test -s conftest$ac_exeext'
29671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29672 (eval $ac_try) 2>&5
29673 ac_status=$?
29674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29675 (exit $ac_status); }; }; then
29676 glibcxx_cv_POLL=yes
29677 else
29678 echo "$as_me: failed program was:" >&5
29679 sed 's/^/| /' conftest.$ac_ext >&5
29681 glibcxx_cv_POLL=no
29683 rm -f conftest.err conftest.$ac_objext \
29684 conftest$ac_exeext conftest.$ac_ext
29688 if test $glibcxx_cv_POLL = yes; then
29689 cat >>confdefs.h <<\_ACEOF
29690 #define HAVE_POLL 1
29691 _ACEOF
29696 if test "${glibcxx_cv_S_ISREG+set}" = set; then
29697 echo $ECHO_N "(cached) $ECHO_C" >&6
29698 else
29700 if test x$gcc_no_link = xyes; then
29701 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29702 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29703 { (exit 1); exit 1; }; }
29705 cat >conftest.$ac_ext <<_ACEOF
29706 /* confdefs.h. */
29707 _ACEOF
29708 cat confdefs.h >>conftest.$ac_ext
29709 cat >>conftest.$ac_ext <<_ACEOF
29710 /* end confdefs.h. */
29711 #include <sys/stat.h>
29713 main ()
29715 struct stat buffer;
29716 fstat(0, &buffer);
29717 S_ISREG(buffer.st_mode);
29719 return 0;
29721 _ACEOF
29722 rm -f conftest.$ac_objext conftest$ac_exeext
29723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29724 (eval $ac_link) 2>conftest.er1
29725 ac_status=$?
29726 grep -v '^ *+' conftest.er1 >conftest.err
29727 rm -f conftest.er1
29728 cat conftest.err >&5
29729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29730 (exit $ac_status); } &&
29731 { ac_try='test -z "$ac_c_werror_flag"
29732 || test ! -s conftest.err'
29733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29734 (eval $ac_try) 2>&5
29735 ac_status=$?
29736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29737 (exit $ac_status); }; } &&
29738 { ac_try='test -s conftest$ac_exeext'
29739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29740 (eval $ac_try) 2>&5
29741 ac_status=$?
29742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29743 (exit $ac_status); }; }; then
29744 glibcxx_cv_S_ISREG=yes
29745 else
29746 echo "$as_me: failed program was:" >&5
29747 sed 's/^/| /' conftest.$ac_ext >&5
29749 glibcxx_cv_S_ISREG=no
29751 rm -f conftest.err conftest.$ac_objext \
29752 conftest$ac_exeext conftest.$ac_ext
29756 if test "${glibcxx_cv_S_IFREG+set}" = set; then
29757 echo $ECHO_N "(cached) $ECHO_C" >&6
29758 else
29760 if test x$gcc_no_link = xyes; then
29761 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29762 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29763 { (exit 1); exit 1; }; }
29765 cat >conftest.$ac_ext <<_ACEOF
29766 /* confdefs.h. */
29767 _ACEOF
29768 cat confdefs.h >>conftest.$ac_ext
29769 cat >>conftest.$ac_ext <<_ACEOF
29770 /* end confdefs.h. */
29771 #include <sys/stat.h>
29773 main ()
29775 struct stat buffer;
29776 fstat(0, &buffer);
29777 S_IFREG & buffer.st_mode;
29779 return 0;
29781 _ACEOF
29782 rm -f conftest.$ac_objext conftest$ac_exeext
29783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29784 (eval $ac_link) 2>conftest.er1
29785 ac_status=$?
29786 grep -v '^ *+' conftest.er1 >conftest.err
29787 rm -f conftest.er1
29788 cat conftest.err >&5
29789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29790 (exit $ac_status); } &&
29791 { ac_try='test -z "$ac_c_werror_flag"
29792 || test ! -s conftest.err'
29793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29794 (eval $ac_try) 2>&5
29795 ac_status=$?
29796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29797 (exit $ac_status); }; } &&
29798 { ac_try='test -s conftest$ac_exeext'
29799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29800 (eval $ac_try) 2>&5
29801 ac_status=$?
29802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29803 (exit $ac_status); }; }; then
29804 glibcxx_cv_S_IFREG=yes
29805 else
29806 echo "$as_me: failed program was:" >&5
29807 sed 's/^/| /' conftest.$ac_ext >&5
29809 glibcxx_cv_S_IFREG=no
29811 rm -f conftest.err conftest.$ac_objext \
29812 conftest$ac_exeext conftest.$ac_ext
29816 if test $glibcxx_cv_S_ISREG = yes; then
29817 cat >>confdefs.h <<\_ACEOF
29818 #define HAVE_S_ISREG 1
29819 _ACEOF
29821 elif test $glibcxx_cv_S_IFREG = yes; then
29822 cat >>confdefs.h <<\_ACEOF
29823 #define HAVE_S_IFREG 1
29824 _ACEOF
29829 # For xsputn_2().
29831 for ac_header in sys/uio.h
29833 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
29834 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29835 echo "$as_me:$LINENO: checking for $ac_header" >&5
29836 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29837 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29838 echo $ECHO_N "(cached) $ECHO_C" >&6
29840 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29841 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29842 else
29843 # Is the header compilable?
29844 echo "$as_me:$LINENO: checking $ac_header usability" >&5
29845 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
29846 cat >conftest.$ac_ext <<_ACEOF
29847 /* confdefs.h. */
29848 _ACEOF
29849 cat confdefs.h >>conftest.$ac_ext
29850 cat >>conftest.$ac_ext <<_ACEOF
29851 /* end confdefs.h. */
29852 $ac_includes_default
29853 #include <$ac_header>
29854 _ACEOF
29855 rm -f conftest.$ac_objext
29856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29857 (eval $ac_compile) 2>conftest.er1
29858 ac_status=$?
29859 grep -v '^ *+' conftest.er1 >conftest.err
29860 rm -f conftest.er1
29861 cat conftest.err >&5
29862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29863 (exit $ac_status); } &&
29864 { ac_try='test -z "$ac_c_werror_flag"
29865 || test ! -s conftest.err'
29866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29867 (eval $ac_try) 2>&5
29868 ac_status=$?
29869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29870 (exit $ac_status); }; } &&
29871 { ac_try='test -s conftest.$ac_objext'
29872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29873 (eval $ac_try) 2>&5
29874 ac_status=$?
29875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29876 (exit $ac_status); }; }; then
29877 ac_header_compiler=yes
29878 else
29879 echo "$as_me: failed program was:" >&5
29880 sed 's/^/| /' conftest.$ac_ext >&5
29882 ac_header_compiler=no
29884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29885 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
29886 echo "${ECHO_T}$ac_header_compiler" >&6
29888 # Is the header present?
29889 echo "$as_me:$LINENO: checking $ac_header presence" >&5
29890 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
29891 cat >conftest.$ac_ext <<_ACEOF
29892 /* confdefs.h. */
29893 _ACEOF
29894 cat confdefs.h >>conftest.$ac_ext
29895 cat >>conftest.$ac_ext <<_ACEOF
29896 /* end confdefs.h. */
29897 #include <$ac_header>
29898 _ACEOF
29899 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29900 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29901 ac_status=$?
29902 grep -v '^ *+' conftest.er1 >conftest.err
29903 rm -f conftest.er1
29904 cat conftest.err >&5
29905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29906 (exit $ac_status); } >/dev/null; then
29907 if test -s conftest.err; then
29908 ac_cpp_err=$ac_c_preproc_warn_flag
29909 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
29910 else
29911 ac_cpp_err=
29913 else
29914 ac_cpp_err=yes
29916 if test -z "$ac_cpp_err"; then
29917 ac_header_preproc=yes
29918 else
29919 echo "$as_me: failed program was:" >&5
29920 sed 's/^/| /' conftest.$ac_ext >&5
29922 ac_header_preproc=no
29924 rm -f conftest.err conftest.$ac_ext
29925 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
29926 echo "${ECHO_T}$ac_header_preproc" >&6
29928 # So? What about this header?
29929 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
29930 yes:no: )
29931 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
29932 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
29933 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
29934 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
29935 ac_header_preproc=yes
29937 no:yes:* )
29938 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
29939 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
29940 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
29941 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
29942 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
29943 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
29944 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
29945 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
29946 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
29947 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
29948 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
29949 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
29951 cat <<\_ASBOX
29952 ## ----------------------------------------- ##
29953 ## Report this to the package-unused lists. ##
29954 ## ----------------------------------------- ##
29955 _ASBOX
29957 sed "s/^/$as_me: WARNING: /" >&2
29959 esac
29960 echo "$as_me:$LINENO: checking for $ac_header" >&5
29961 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
29962 if eval "test \"\${$as_ac_Header+set}\" = set"; then
29963 echo $ECHO_N "(cached) $ECHO_C" >&6
29964 else
29965 eval "$as_ac_Header=\$ac_header_preproc"
29967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
29968 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
29971 if test `eval echo '${'$as_ac_Header'}'` = yes; then
29972 cat >>confdefs.h <<_ACEOF
29973 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
29974 _ACEOF
29978 done
29981 if test "${glibcxx_cv_WRITEV+set}" = set; then
29982 echo $ECHO_N "(cached) $ECHO_C" >&6
29983 else
29985 if test x$gcc_no_link = xyes; then
29986 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29987 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29988 { (exit 1); exit 1; }; }
29990 cat >conftest.$ac_ext <<_ACEOF
29991 /* confdefs.h. */
29992 _ACEOF
29993 cat confdefs.h >>conftest.$ac_ext
29994 cat >>conftest.$ac_ext <<_ACEOF
29995 /* end confdefs.h. */
29996 #include <sys/uio.h>
29998 main ()
30000 struct iovec iov[2];
30001 writev(0, iov, 0);
30003 return 0;
30005 _ACEOF
30006 rm -f conftest.$ac_objext conftest$ac_exeext
30007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30008 (eval $ac_link) 2>conftest.er1
30009 ac_status=$?
30010 grep -v '^ *+' conftest.er1 >conftest.err
30011 rm -f conftest.er1
30012 cat conftest.err >&5
30013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30014 (exit $ac_status); } &&
30015 { ac_try='test -z "$ac_c_werror_flag"
30016 || test ! -s conftest.err'
30017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30018 (eval $ac_try) 2>&5
30019 ac_status=$?
30020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30021 (exit $ac_status); }; } &&
30022 { ac_try='test -s conftest$ac_exeext'
30023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30024 (eval $ac_try) 2>&5
30025 ac_status=$?
30026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30027 (exit $ac_status); }; }; then
30028 glibcxx_cv_WRITEV=yes
30029 else
30030 echo "$as_me: failed program was:" >&5
30031 sed 's/^/| /' conftest.$ac_ext >&5
30033 glibcxx_cv_WRITEV=no
30035 rm -f conftest.err conftest.$ac_objext \
30036 conftest$ac_exeext conftest.$ac_ext
30040 if test $glibcxx_cv_WRITEV = yes; then
30041 cat >>confdefs.h <<\_ACEOF
30042 #define HAVE_WRITEV 1
30043 _ACEOF
30048 # For the __streamoff_base_type typedef.
30050 if test "${glibcxx_cv_INT64_T+set}" = set; then
30051 echo $ECHO_N "(cached) $ECHO_C" >&6
30052 else
30054 cat >conftest.$ac_ext <<_ACEOF
30055 /* confdefs.h. */
30056 _ACEOF
30057 cat confdefs.h >>conftest.$ac_ext
30058 cat >>conftest.$ac_ext <<_ACEOF
30059 /* end confdefs.h. */
30060 #include <stdint.h>
30062 main ()
30064 int64_t var;
30066 return 0;
30068 _ACEOF
30069 rm -f conftest.$ac_objext
30070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30071 (eval $ac_compile) 2>conftest.er1
30072 ac_status=$?
30073 grep -v '^ *+' conftest.er1 >conftest.err
30074 rm -f conftest.er1
30075 cat conftest.err >&5
30076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30077 (exit $ac_status); } &&
30078 { ac_try='test -z "$ac_c_werror_flag"
30079 || test ! -s conftest.err'
30080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30081 (eval $ac_try) 2>&5
30082 ac_status=$?
30083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30084 (exit $ac_status); }; } &&
30085 { ac_try='test -s conftest.$ac_objext'
30086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30087 (eval $ac_try) 2>&5
30088 ac_status=$?
30089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30090 (exit $ac_status); }; }; then
30091 glibcxx_cv_INT64_T=yes
30092 else
30093 echo "$as_me: failed program was:" >&5
30094 sed 's/^/| /' conftest.$ac_ext >&5
30096 glibcxx_cv_INT64_T=no
30098 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30102 if test $glibcxx_cv_INT64_T = yes; then
30103 cat >>confdefs.h <<\_ACEOF
30104 #define HAVE_INT64_T 1
30105 _ACEOF
30110 # For LFS support.
30114 ac_ext=cc
30115 ac_cpp='$CXXCPP $CPPFLAGS'
30116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30120 ac_save_CXXFLAGS="$CXXFLAGS"
30121 CXXFLAGS="$CXXFLAGS -fno-exceptions"
30122 if test "${glibcxx_cv_LFS+set}" = set; then
30123 echo $ECHO_N "(cached) $ECHO_C" >&6
30124 else
30126 if test x$gcc_no_link = xyes; then
30127 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30128 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30129 { (exit 1); exit 1; }; }
30131 cat >conftest.$ac_ext <<_ACEOF
30132 /* confdefs.h. */
30133 _ACEOF
30134 cat confdefs.h >>conftest.$ac_ext
30135 cat >>conftest.$ac_ext <<_ACEOF
30136 /* end confdefs.h. */
30137 #include <unistd.h>
30138 #include <stdio.h>
30141 main ()
30143 FILE* fp;
30144 fopen64("t", "w");
30145 fseeko64(fp, 0, SEEK_CUR);
30146 ftello64(fp);
30147 lseek64(1, 0, SEEK_CUR);
30149 return 0;
30151 _ACEOF
30152 rm -f conftest.$ac_objext conftest$ac_exeext
30153 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30154 (eval $ac_link) 2>conftest.er1
30155 ac_status=$?
30156 grep -v '^ *+' conftest.er1 >conftest.err
30157 rm -f conftest.er1
30158 cat conftest.err >&5
30159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30160 (exit $ac_status); } &&
30161 { ac_try='test -z "$ac_cxx_werror_flag"
30162 || test ! -s conftest.err'
30163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30164 (eval $ac_try) 2>&5
30165 ac_status=$?
30166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30167 (exit $ac_status); }; } &&
30168 { ac_try='test -s conftest$ac_exeext'
30169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30170 (eval $ac_try) 2>&5
30171 ac_status=$?
30172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30173 (exit $ac_status); }; }; then
30174 glibcxx_cv_LFS=yes
30175 else
30176 echo "$as_me: failed program was:" >&5
30177 sed 's/^/| /' conftest.$ac_ext >&5
30179 glibcxx_cv_LFS=no
30181 rm -f conftest.err conftest.$ac_objext \
30182 conftest$ac_exeext conftest.$ac_ext
30186 if test $glibcxx_cv_LFS = yes; then
30187 cat >>confdefs.h <<\_ACEOF
30188 #define _GLIBCXX_USE_LFS 1
30189 _ACEOF
30192 CXXFLAGS="$ac_save_CXXFLAGS"
30193 ac_ext=c
30194 ac_cpp='$CPP $CPPFLAGS'
30195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30202 if test "${ac_cv_header_locale_h+set}" = set; then
30203 echo "$as_me:$LINENO: checking for locale.h" >&5
30204 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
30205 if test "${ac_cv_header_locale_h+set}" = set; then
30206 echo $ECHO_N "(cached) $ECHO_C" >&6
30208 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
30209 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
30210 else
30211 # Is the header compilable?
30212 echo "$as_me:$LINENO: checking locale.h usability" >&5
30213 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
30214 cat >conftest.$ac_ext <<_ACEOF
30215 /* confdefs.h. */
30216 _ACEOF
30217 cat confdefs.h >>conftest.$ac_ext
30218 cat >>conftest.$ac_ext <<_ACEOF
30219 /* end confdefs.h. */
30220 $ac_includes_default
30221 #include <locale.h>
30222 _ACEOF
30223 rm -f conftest.$ac_objext
30224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30225 (eval $ac_compile) 2>conftest.er1
30226 ac_status=$?
30227 grep -v '^ *+' conftest.er1 >conftest.err
30228 rm -f conftest.er1
30229 cat conftest.err >&5
30230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30231 (exit $ac_status); } &&
30232 { ac_try='test -z "$ac_c_werror_flag"
30233 || test ! -s conftest.err'
30234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30235 (eval $ac_try) 2>&5
30236 ac_status=$?
30237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30238 (exit $ac_status); }; } &&
30239 { ac_try='test -s conftest.$ac_objext'
30240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30241 (eval $ac_try) 2>&5
30242 ac_status=$?
30243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30244 (exit $ac_status); }; }; then
30245 ac_header_compiler=yes
30246 else
30247 echo "$as_me: failed program was:" >&5
30248 sed 's/^/| /' conftest.$ac_ext >&5
30250 ac_header_compiler=no
30252 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30253 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30254 echo "${ECHO_T}$ac_header_compiler" >&6
30256 # Is the header present?
30257 echo "$as_me:$LINENO: checking locale.h presence" >&5
30258 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
30259 cat >conftest.$ac_ext <<_ACEOF
30260 /* confdefs.h. */
30261 _ACEOF
30262 cat confdefs.h >>conftest.$ac_ext
30263 cat >>conftest.$ac_ext <<_ACEOF
30264 /* end confdefs.h. */
30265 #include <locale.h>
30266 _ACEOF
30267 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30268 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30269 ac_status=$?
30270 grep -v '^ *+' conftest.er1 >conftest.err
30271 rm -f conftest.er1
30272 cat conftest.err >&5
30273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30274 (exit $ac_status); } >/dev/null; then
30275 if test -s conftest.err; then
30276 ac_cpp_err=$ac_c_preproc_warn_flag
30277 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30278 else
30279 ac_cpp_err=
30281 else
30282 ac_cpp_err=yes
30284 if test -z "$ac_cpp_err"; then
30285 ac_header_preproc=yes
30286 else
30287 echo "$as_me: failed program was:" >&5
30288 sed 's/^/| /' conftest.$ac_ext >&5
30290 ac_header_preproc=no
30292 rm -f conftest.err conftest.$ac_ext
30293 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30294 echo "${ECHO_T}$ac_header_preproc" >&6
30296 # So? What about this header?
30297 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30298 yes:no: )
30299 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
30300 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
30301 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
30302 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
30303 ac_header_preproc=yes
30305 no:yes:* )
30306 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
30307 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
30308 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
30309 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
30310 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
30311 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
30312 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
30313 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
30314 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
30315 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
30316 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
30317 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
30319 cat <<\_ASBOX
30320 ## ----------------------------------------- ##
30321 ## Report this to the package-unused lists. ##
30322 ## ----------------------------------------- ##
30323 _ASBOX
30325 sed "s/^/$as_me: WARNING: /" >&2
30327 esac
30328 echo "$as_me:$LINENO: checking for locale.h" >&5
30329 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
30330 if test "${ac_cv_header_locale_h+set}" = set; then
30331 echo $ECHO_N "(cached) $ECHO_C" >&6
30332 else
30333 ac_cv_header_locale_h=$ac_header_preproc
30335 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
30336 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
30339 if test $ac_cv_header_locale_h = yes; then
30341 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
30342 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
30343 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
30344 echo $ECHO_N "(cached) $ECHO_C" >&6
30345 else
30346 if test x$gcc_no_link = xyes; then
30347 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30348 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30349 { (exit 1); exit 1; }; }
30351 cat >conftest.$ac_ext <<_ACEOF
30352 /* confdefs.h. */
30353 _ACEOF
30354 cat confdefs.h >>conftest.$ac_ext
30355 cat >>conftest.$ac_ext <<_ACEOF
30356 /* end confdefs.h. */
30357 #include <locale.h>
30359 main ()
30361 return LC_MESSAGES
30363 return 0;
30365 _ACEOF
30366 rm -f conftest.$ac_objext conftest$ac_exeext
30367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30368 (eval $ac_link) 2>conftest.er1
30369 ac_status=$?
30370 grep -v '^ *+' conftest.er1 >conftest.err
30371 rm -f conftest.er1
30372 cat conftest.err >&5
30373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30374 (exit $ac_status); } &&
30375 { ac_try='test -z "$ac_c_werror_flag"
30376 || test ! -s conftest.err'
30377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30378 (eval $ac_try) 2>&5
30379 ac_status=$?
30380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30381 (exit $ac_status); }; } &&
30382 { ac_try='test -s conftest$ac_exeext'
30383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30384 (eval $ac_try) 2>&5
30385 ac_status=$?
30386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30387 (exit $ac_status); }; }; then
30388 ac_cv_val_LC_MESSAGES=yes
30389 else
30390 echo "$as_me: failed program was:" >&5
30391 sed 's/^/| /' conftest.$ac_ext >&5
30393 ac_cv_val_LC_MESSAGES=no
30395 rm -f conftest.err conftest.$ac_objext \
30396 conftest$ac_exeext conftest.$ac_ext
30398 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
30399 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
30400 if test $ac_cv_val_LC_MESSAGES = yes; then
30401 cat >>confdefs.h <<\_ACEOF
30402 #define HAVE_LC_MESSAGES 1
30403 _ACEOF
30412 cat >conftest.$ac_ext <<_ACEOF
30413 /* confdefs.h. */
30414 _ACEOF
30415 cat confdefs.h >>conftest.$ac_ext
30416 cat >>conftest.$ac_ext <<_ACEOF
30417 /* end confdefs.h. */
30418 #include <setjmp.h>
30420 main ()
30422 sigjmp_buf env;
30423 while (! sigsetjmp (env, 1))
30424 siglongjmp (env, 1);
30427 return 0;
30429 _ACEOF
30430 rm -f conftest.$ac_objext
30431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30432 (eval $ac_compile) 2>conftest.er1
30433 ac_status=$?
30434 grep -v '^ *+' conftest.er1 >conftest.err
30435 rm -f conftest.er1
30436 cat conftest.err >&5
30437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30438 (exit $ac_status); } &&
30439 { ac_try='test -z "$ac_c_werror_flag"
30440 || test ! -s conftest.err'
30441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30442 (eval $ac_try) 2>&5
30443 ac_status=$?
30444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30445 (exit $ac_status); }; } &&
30446 { ac_try='test -s conftest.$ac_objext'
30447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30448 (eval $ac_try) 2>&5
30449 ac_status=$?
30450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30451 (exit $ac_status); }; }; then
30453 cat >>confdefs.h <<\_ACEOF
30454 #define HAVE_SIGSETJMP 1
30455 _ACEOF
30457 else
30458 echo "$as_me: failed program was:" >&5
30459 sed 's/^/| /' conftest.$ac_ext >&5
30462 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30464 if test x$gcc_no_link = xyes; then
30465 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
30466 ac_cv_func_mmap_fixed_mapped=no
30469 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
30472 for ac_header in stdlib.h unistd.h
30474 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
30475 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30476 echo "$as_me:$LINENO: checking for $ac_header" >&5
30477 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30478 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30479 echo $ECHO_N "(cached) $ECHO_C" >&6
30481 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30482 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30483 else
30484 # Is the header compilable?
30485 echo "$as_me:$LINENO: checking $ac_header usability" >&5
30486 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
30487 cat >conftest.$ac_ext <<_ACEOF
30488 /* confdefs.h. */
30489 _ACEOF
30490 cat confdefs.h >>conftest.$ac_ext
30491 cat >>conftest.$ac_ext <<_ACEOF
30492 /* end confdefs.h. */
30493 $ac_includes_default
30494 #include <$ac_header>
30495 _ACEOF
30496 rm -f conftest.$ac_objext
30497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30498 (eval $ac_compile) 2>conftest.er1
30499 ac_status=$?
30500 grep -v '^ *+' conftest.er1 >conftest.err
30501 rm -f conftest.er1
30502 cat conftest.err >&5
30503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30504 (exit $ac_status); } &&
30505 { ac_try='test -z "$ac_c_werror_flag"
30506 || test ! -s conftest.err'
30507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30508 (eval $ac_try) 2>&5
30509 ac_status=$?
30510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30511 (exit $ac_status); }; } &&
30512 { ac_try='test -s conftest.$ac_objext'
30513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30514 (eval $ac_try) 2>&5
30515 ac_status=$?
30516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30517 (exit $ac_status); }; }; then
30518 ac_header_compiler=yes
30519 else
30520 echo "$as_me: failed program was:" >&5
30521 sed 's/^/| /' conftest.$ac_ext >&5
30523 ac_header_compiler=no
30525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30526 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
30527 echo "${ECHO_T}$ac_header_compiler" >&6
30529 # Is the header present?
30530 echo "$as_me:$LINENO: checking $ac_header presence" >&5
30531 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
30532 cat >conftest.$ac_ext <<_ACEOF
30533 /* confdefs.h. */
30534 _ACEOF
30535 cat confdefs.h >>conftest.$ac_ext
30536 cat >>conftest.$ac_ext <<_ACEOF
30537 /* end confdefs.h. */
30538 #include <$ac_header>
30539 _ACEOF
30540 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
30541 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
30542 ac_status=$?
30543 grep -v '^ *+' conftest.er1 >conftest.err
30544 rm -f conftest.er1
30545 cat conftest.err >&5
30546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30547 (exit $ac_status); } >/dev/null; then
30548 if test -s conftest.err; then
30549 ac_cpp_err=$ac_c_preproc_warn_flag
30550 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
30551 else
30552 ac_cpp_err=
30554 else
30555 ac_cpp_err=yes
30557 if test -z "$ac_cpp_err"; then
30558 ac_header_preproc=yes
30559 else
30560 echo "$as_me: failed program was:" >&5
30561 sed 's/^/| /' conftest.$ac_ext >&5
30563 ac_header_preproc=no
30565 rm -f conftest.err conftest.$ac_ext
30566 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
30567 echo "${ECHO_T}$ac_header_preproc" >&6
30569 # So? What about this header?
30570 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
30571 yes:no: )
30572 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
30573 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
30574 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
30575 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
30576 ac_header_preproc=yes
30578 no:yes:* )
30579 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
30580 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
30581 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
30582 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
30583 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
30584 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
30585 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
30586 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
30587 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
30588 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
30589 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
30590 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
30592 cat <<\_ASBOX
30593 ## ----------------------------------------- ##
30594 ## Report this to the package-unused lists. ##
30595 ## ----------------------------------------- ##
30596 _ASBOX
30598 sed "s/^/$as_me: WARNING: /" >&2
30600 esac
30601 echo "$as_me:$LINENO: checking for $ac_header" >&5
30602 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
30603 if eval "test \"\${$as_ac_Header+set}\" = set"; then
30604 echo $ECHO_N "(cached) $ECHO_C" >&6
30605 else
30606 eval "$as_ac_Header=\$ac_header_preproc"
30608 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
30609 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
30612 if test `eval echo '${'$as_ac_Header'}'` = yes; then
30613 cat >>confdefs.h <<_ACEOF
30614 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
30615 _ACEOF
30619 done
30622 for ac_func in getpagesize
30624 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30625 echo "$as_me:$LINENO: checking for $ac_func" >&5
30626 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30627 if eval "test \"\${$as_ac_var+set}\" = set"; then
30628 echo $ECHO_N "(cached) $ECHO_C" >&6
30629 else
30630 if test x$gcc_no_link = xyes; then
30631 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30632 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30633 { (exit 1); exit 1; }; }
30635 cat >conftest.$ac_ext <<_ACEOF
30636 /* confdefs.h. */
30637 _ACEOF
30638 cat confdefs.h >>conftest.$ac_ext
30639 cat >>conftest.$ac_ext <<_ACEOF
30640 /* end confdefs.h. */
30641 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30642 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30643 #define $ac_func innocuous_$ac_func
30645 /* System header to define __stub macros and hopefully few prototypes,
30646 which can conflict with char $ac_func (); below.
30647 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30648 <limits.h> exists even on freestanding compilers. */
30650 #ifdef __STDC__
30651 # include <limits.h>
30652 #else
30653 # include <assert.h>
30654 #endif
30656 #undef $ac_func
30658 /* Override any gcc2 internal prototype to avoid an error. */
30659 #ifdef __cplusplus
30660 extern "C"
30662 #endif
30663 /* We use char because int might match the return type of a gcc2
30664 builtin and then its argument prototype would still apply. */
30665 char $ac_func ();
30666 /* The GNU C library defines this for functions which it implements
30667 to always fail with ENOSYS. Some functions are actually named
30668 something starting with __ and the normal name is an alias. */
30669 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30670 choke me
30671 #else
30672 char (*f) () = $ac_func;
30673 #endif
30674 #ifdef __cplusplus
30676 #endif
30679 main ()
30681 return f != $ac_func;
30683 return 0;
30685 _ACEOF
30686 rm -f conftest.$ac_objext conftest$ac_exeext
30687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30688 (eval $ac_link) 2>conftest.er1
30689 ac_status=$?
30690 grep -v '^ *+' conftest.er1 >conftest.err
30691 rm -f conftest.er1
30692 cat conftest.err >&5
30693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30694 (exit $ac_status); } &&
30695 { ac_try='test -z "$ac_c_werror_flag"
30696 || test ! -s conftest.err'
30697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30698 (eval $ac_try) 2>&5
30699 ac_status=$?
30700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30701 (exit $ac_status); }; } &&
30702 { ac_try='test -s conftest$ac_exeext'
30703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30704 (eval $ac_try) 2>&5
30705 ac_status=$?
30706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30707 (exit $ac_status); }; }; then
30708 eval "$as_ac_var=yes"
30709 else
30710 echo "$as_me: failed program was:" >&5
30711 sed 's/^/| /' conftest.$ac_ext >&5
30713 eval "$as_ac_var=no"
30715 rm -f conftest.err conftest.$ac_objext \
30716 conftest$ac_exeext conftest.$ac_ext
30718 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30719 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30720 if test `eval echo '${'$as_ac_var'}'` = yes; then
30721 cat >>confdefs.h <<_ACEOF
30722 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30723 _ACEOF
30726 done
30728 echo "$as_me:$LINENO: checking for working mmap" >&5
30729 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
30730 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
30731 echo $ECHO_N "(cached) $ECHO_C" >&6
30732 else
30733 if test "$cross_compiling" = yes; then
30734 ac_cv_func_mmap_fixed_mapped=no
30735 else
30736 cat >conftest.$ac_ext <<_ACEOF
30737 /* confdefs.h. */
30738 _ACEOF
30739 cat confdefs.h >>conftest.$ac_ext
30740 cat >>conftest.$ac_ext <<_ACEOF
30741 /* end confdefs.h. */
30742 $ac_includes_default
30743 /* malloc might have been renamed as rpl_malloc. */
30744 #undef malloc
30746 /* Thanks to Mike Haertel and Jim Avera for this test.
30747 Here is a matrix of mmap possibilities:
30748 mmap private not fixed
30749 mmap private fixed at somewhere currently unmapped
30750 mmap private fixed at somewhere already mapped
30751 mmap shared not fixed
30752 mmap shared fixed at somewhere currently unmapped
30753 mmap shared fixed at somewhere already mapped
30754 For private mappings, we should verify that changes cannot be read()
30755 back from the file, nor mmap's back from the file at a different
30756 address. (There have been systems where private was not correctly
30757 implemented like the infamous i386 svr4.0, and systems where the
30758 VM page cache was not coherent with the file system buffer cache
30759 like early versions of FreeBSD and possibly contemporary NetBSD.)
30760 For shared mappings, we should conversely verify that changes get
30761 propagated back to all the places they're supposed to be.
30763 Grep wants private fixed already mapped.
30764 The main things grep needs to know about mmap are:
30765 * does it exist and is it safe to write into the mmap'd area
30766 * how to use it (BSD variants) */
30768 #include <fcntl.h>
30769 #include <sys/mman.h>
30771 #if !STDC_HEADERS && !HAVE_STDLIB_H
30772 char *malloc ();
30773 #endif
30775 /* This mess was copied from the GNU getpagesize.h. */
30776 #if !HAVE_GETPAGESIZE
30777 /* Assume that all systems that can run configure have sys/param.h. */
30778 # if !HAVE_SYS_PARAM_H
30779 # define HAVE_SYS_PARAM_H 1
30780 # endif
30782 # ifdef _SC_PAGESIZE
30783 # define getpagesize() sysconf(_SC_PAGESIZE)
30784 # else /* no _SC_PAGESIZE */
30785 # if HAVE_SYS_PARAM_H
30786 # include <sys/param.h>
30787 # ifdef EXEC_PAGESIZE
30788 # define getpagesize() EXEC_PAGESIZE
30789 # else /* no EXEC_PAGESIZE */
30790 # ifdef NBPG
30791 # define getpagesize() NBPG * CLSIZE
30792 # ifndef CLSIZE
30793 # define CLSIZE 1
30794 # endif /* no CLSIZE */
30795 # else /* no NBPG */
30796 # ifdef NBPC
30797 # define getpagesize() NBPC
30798 # else /* no NBPC */
30799 # ifdef PAGESIZE
30800 # define getpagesize() PAGESIZE
30801 # endif /* PAGESIZE */
30802 # endif /* no NBPC */
30803 # endif /* no NBPG */
30804 # endif /* no EXEC_PAGESIZE */
30805 # else /* no HAVE_SYS_PARAM_H */
30806 # define getpagesize() 8192 /* punt totally */
30807 # endif /* no HAVE_SYS_PARAM_H */
30808 # endif /* no _SC_PAGESIZE */
30810 #endif /* no HAVE_GETPAGESIZE */
30813 main ()
30815 char *data, *data2, *data3;
30816 int i, pagesize;
30817 int fd;
30819 pagesize = getpagesize ();
30821 /* First, make a file with some known garbage in it. */
30822 data = (char *) malloc (pagesize);
30823 if (!data)
30824 exit (1);
30825 for (i = 0; i < pagesize; ++i)
30826 *(data + i) = rand ();
30827 umask (0);
30828 fd = creat ("conftest.mmap", 0600);
30829 if (fd < 0)
30830 exit (1);
30831 if (write (fd, data, pagesize) != pagesize)
30832 exit (1);
30833 close (fd);
30835 /* Next, try to mmap the file at a fixed address which already has
30836 something else allocated at it. If we can, also make sure that
30837 we see the same garbage. */
30838 fd = open ("conftest.mmap", O_RDWR);
30839 if (fd < 0)
30840 exit (1);
30841 data2 = (char *) malloc (2 * pagesize);
30842 if (!data2)
30843 exit (1);
30844 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
30845 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
30846 MAP_PRIVATE | MAP_FIXED, fd, 0L))
30847 exit (1);
30848 for (i = 0; i < pagesize; ++i)
30849 if (*(data + i) != *(data2 + i))
30850 exit (1);
30852 /* Finally, make sure that changes to the mapped area do not
30853 percolate back to the file as seen by read(). (This is a bug on
30854 some variants of i386 svr4.0.) */
30855 for (i = 0; i < pagesize; ++i)
30856 *(data2 + i) = *(data2 + i) + 1;
30857 data3 = (char *) malloc (pagesize);
30858 if (!data3)
30859 exit (1);
30860 if (read (fd, data3, pagesize) != pagesize)
30861 exit (1);
30862 for (i = 0; i < pagesize; ++i)
30863 if (*(data + i) != *(data3 + i))
30864 exit (1);
30865 close (fd);
30866 exit (0);
30868 _ACEOF
30869 rm -f conftest$ac_exeext
30870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30871 (eval $ac_link) 2>&5
30872 ac_status=$?
30873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30874 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
30875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30876 (eval $ac_try) 2>&5
30877 ac_status=$?
30878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30879 (exit $ac_status); }; }; then
30880 ac_cv_func_mmap_fixed_mapped=yes
30881 else
30882 echo "$as_me: program exited with status $ac_status" >&5
30883 echo "$as_me: failed program was:" >&5
30884 sed 's/^/| /' conftest.$ac_ext >&5
30886 ( exit $ac_status )
30887 ac_cv_func_mmap_fixed_mapped=no
30889 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
30892 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
30893 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
30894 if test $ac_cv_func_mmap_fixed_mapped = yes; then
30896 cat >>confdefs.h <<\_ACEOF
30897 #define HAVE_MMAP 1
30898 _ACEOF
30901 rm -f conftest.mmap
30905 else
30907 # This lets us hard-code the functionality we know we'll have in the cross
30908 # target environment. "Let" is a sugar-coated word placed on an especially
30909 # dull and tedious hack, actually.
30911 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
30912 # that involve linking, can't be used:
30913 # "cannot open sim-crt0.o"
30914 # "cannot open crt0.o"
30915 # etc. All this is because there currently exists no unified, consistent
30916 # way for top level CC information to be passed down to target directories:
30917 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
30918 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
30919 # crosses can be removed.
30921 # If Canadian cross, then don't pick up tools from the build directory.
30922 # Used only in GLIBCXX_EXPORT_INCLUDES.
30923 if test -n "$with_cross_host" &&
30924 test x"$build_alias" != x"$with_cross_host" &&
30925 test x"$build" != x"$target";
30926 then
30927 CANADIAN=yes
30928 else
30929 CANADIAN=no
30932 # Construct crosses by hand, eliminating bits that need ld...
30933 # GLIBCXX_CHECK_COMPILER_FEATURES
30934 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
30935 # GLIBCXX_CHECK_MATH_SUPPORT
30937 # First, test for "known" system libraries. We may be using newlib even
30938 # on a hosted environment.
30939 if test "x${with_newlib}" = "xyes"; then
30940 os_include_dir="os/newlib"
30941 cat >>confdefs.h <<\_ACEOF
30942 #define HAVE_HYPOT 1
30943 _ACEOF
30946 # GLIBCXX_CHECK_STDLIB_SUPPORT
30947 cat >>confdefs.h <<\_ACEOF
30948 #define HAVE_STRTOF 1
30949 _ACEOF
30951 cat >>confdefs.h <<\_ACEOF
30952 #define HAVE_STRTOLD 1
30953 _ACEOF
30955 # AC_FUNC_MMAP
30956 cat >>confdefs.h <<\_ACEOF
30957 #define HAVE_MMAP 1
30958 _ACEOF
30961 cat >>confdefs.h <<\_ACEOF
30962 #define HAVE_ACOSF 1
30963 _ACEOF
30965 cat >>confdefs.h <<\_ACEOF
30966 #define HAVE_ASINF 1
30967 _ACEOF
30969 cat >>confdefs.h <<\_ACEOF
30970 #define HAVE_ATAN2F 1
30971 _ACEOF
30973 cat >>confdefs.h <<\_ACEOF
30974 #define HAVE_ATANF 1
30975 _ACEOF
30977 cat >>confdefs.h <<\_ACEOF
30978 #define HAVE_CEILF 1
30979 _ACEOF
30981 cat >>confdefs.h <<\_ACEOF
30982 #define HAVE_COPYSIGN 1
30983 _ACEOF
30985 cat >>confdefs.h <<\_ACEOF
30986 #define HAVE_COPYSIGNF 1
30987 _ACEOF
30989 cat >>confdefs.h <<\_ACEOF
30990 #define HAVE_COSF 1
30991 _ACEOF
30993 cat >>confdefs.h <<\_ACEOF
30994 #define HAVE_COSHF 1
30995 _ACEOF
30997 cat >>confdefs.h <<\_ACEOF
30998 #define HAVE_EXPF 1
30999 _ACEOF
31001 cat >>confdefs.h <<\_ACEOF
31002 #define HAVE_FABSF 1
31003 _ACEOF
31005 cat >>confdefs.h <<\_ACEOF
31006 #define HAVE_FLOORF 1
31007 _ACEOF
31009 cat >>confdefs.h <<\_ACEOF
31010 #define HAVE_FMODF 1
31011 _ACEOF
31013 cat >>confdefs.h <<\_ACEOF
31014 #define HAVE_FREXPF 1
31015 _ACEOF
31017 cat >>confdefs.h <<\_ACEOF
31018 #define HAVE_LDEXPF 1
31019 _ACEOF
31021 cat >>confdefs.h <<\_ACEOF
31022 #define HAVE_LOG10F 1
31023 _ACEOF
31025 cat >>confdefs.h <<\_ACEOF
31026 #define HAVE_LOGF 1
31027 _ACEOF
31029 cat >>confdefs.h <<\_ACEOF
31030 #define HAVE_MODFF 1
31031 _ACEOF
31033 cat >>confdefs.h <<\_ACEOF
31034 #define HAVE_POWF 1
31035 _ACEOF
31037 cat >>confdefs.h <<\_ACEOF
31038 #define HAVE_SINF 1
31039 _ACEOF
31041 cat >>confdefs.h <<\_ACEOF
31042 #define HAVE_SINHF 1
31043 _ACEOF
31045 cat >>confdefs.h <<\_ACEOF
31046 #define HAVE_SQRTF 1
31047 _ACEOF
31049 cat >>confdefs.h <<\_ACEOF
31050 #define HAVE_TANF 1
31051 _ACEOF
31053 cat >>confdefs.h <<\_ACEOF
31054 #define HAVE_TANHF 1
31055 _ACEOF
31058 cat >>confdefs.h <<\_ACEOF
31059 #define HAVE_S_ISREG 1
31060 _ACEOF
31062 cat >>confdefs.h <<\_ACEOF
31063 #define HAVE_S_IFREG 1
31064 _ACEOF
31066 else
31068 # Base decisions on target environment.
31069 case "${host}" in
31070 arm*-*-symbianelf*)
31071 # This is a freestanding configuration; there is nothing to do here.
31074 *-darwin*)
31075 # Darwin versions vary, but the linker should work in a cross environment,
31076 # so we just check for all the features here.
31077 # Check for available headers.
31091 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
31092 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h gconv.h \
31093 sys/types.h
31095 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
31096 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31097 echo "$as_me:$LINENO: checking for $ac_header" >&5
31098 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31099 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31100 echo $ECHO_N "(cached) $ECHO_C" >&6
31102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31103 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31104 else
31105 # Is the header compilable?
31106 echo "$as_me:$LINENO: checking $ac_header usability" >&5
31107 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
31108 cat >conftest.$ac_ext <<_ACEOF
31109 /* confdefs.h. */
31110 _ACEOF
31111 cat confdefs.h >>conftest.$ac_ext
31112 cat >>conftest.$ac_ext <<_ACEOF
31113 /* end confdefs.h. */
31114 $ac_includes_default
31115 #include <$ac_header>
31116 _ACEOF
31117 rm -f conftest.$ac_objext
31118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31119 (eval $ac_compile) 2>conftest.er1
31120 ac_status=$?
31121 grep -v '^ *+' conftest.er1 >conftest.err
31122 rm -f conftest.er1
31123 cat conftest.err >&5
31124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31125 (exit $ac_status); } &&
31126 { ac_try='test -z "$ac_c_werror_flag"
31127 || test ! -s conftest.err'
31128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31129 (eval $ac_try) 2>&5
31130 ac_status=$?
31131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31132 (exit $ac_status); }; } &&
31133 { ac_try='test -s conftest.$ac_objext'
31134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31135 (eval $ac_try) 2>&5
31136 ac_status=$?
31137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31138 (exit $ac_status); }; }; then
31139 ac_header_compiler=yes
31140 else
31141 echo "$as_me: failed program was:" >&5
31142 sed 's/^/| /' conftest.$ac_ext >&5
31144 ac_header_compiler=no
31146 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31147 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
31148 echo "${ECHO_T}$ac_header_compiler" >&6
31150 # Is the header present?
31151 echo "$as_me:$LINENO: checking $ac_header presence" >&5
31152 echo $ECHO_N "checking $ac_header presence... $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 #include <$ac_header>
31160 _ACEOF
31161 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
31162 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
31163 ac_status=$?
31164 grep -v '^ *+' conftest.er1 >conftest.err
31165 rm -f conftest.er1
31166 cat conftest.err >&5
31167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31168 (exit $ac_status); } >/dev/null; then
31169 if test -s conftest.err; then
31170 ac_cpp_err=$ac_c_preproc_warn_flag
31171 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
31172 else
31173 ac_cpp_err=
31175 else
31176 ac_cpp_err=yes
31178 if test -z "$ac_cpp_err"; then
31179 ac_header_preproc=yes
31180 else
31181 echo "$as_me: failed program was:" >&5
31182 sed 's/^/| /' conftest.$ac_ext >&5
31184 ac_header_preproc=no
31186 rm -f conftest.err conftest.$ac_ext
31187 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
31188 echo "${ECHO_T}$ac_header_preproc" >&6
31190 # So? What about this header?
31191 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
31192 yes:no: )
31193 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
31194 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
31195 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
31196 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
31197 ac_header_preproc=yes
31199 no:yes:* )
31200 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
31201 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
31202 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
31203 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
31204 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
31205 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
31206 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
31207 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
31208 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
31209 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
31210 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
31211 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
31213 cat <<\_ASBOX
31214 ## ----------------------------------------- ##
31215 ## Report this to the package-unused lists. ##
31216 ## ----------------------------------------- ##
31217 _ASBOX
31219 sed "s/^/$as_me: WARNING: /" >&2
31221 esac
31222 echo "$as_me:$LINENO: checking for $ac_header" >&5
31223 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
31224 if eval "test \"\${$as_ac_Header+set}\" = set"; then
31225 echo $ECHO_N "(cached) $ECHO_C" >&6
31226 else
31227 eval "$as_ac_Header=\$ac_header_preproc"
31229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
31230 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
31233 if test `eval echo '${'$as_ac_Header'}'` = yes; then
31234 cat >>confdefs.h <<_ACEOF
31235 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
31236 _ACEOF
31240 done
31244 # All these tests are for C++; save the language and the compiler flags.
31245 # The CXXFLAGS thing is suspicious, but based on similar bits previously
31246 # found in GLIBCXX_CONFIGURE.
31249 ac_ext=cc
31250 ac_cpp='$CXXCPP $CPPFLAGS'
31251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31255 ac_test_CXXFLAGS="${CXXFLAGS+set}"
31256 ac_save_CXXFLAGS="$CXXFLAGS"
31258 # Check for maintainer-mode bits.
31259 if test x"$USE_MAINTAINER_MODE" = xno; then
31260 WERROR=''
31261 else
31262 WERROR='-Werror'
31265 # Check for -ffunction-sections -fdata-sections
31266 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
31267 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
31268 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
31269 cat >conftest.$ac_ext <<_ACEOF
31270 /* confdefs.h. */
31271 _ACEOF
31272 cat confdefs.h >>conftest.$ac_ext
31273 cat >>conftest.$ac_ext <<_ACEOF
31274 /* end confdefs.h. */
31277 main ()
31279 int foo;
31281 return 0;
31283 _ACEOF
31284 rm -f conftest.$ac_objext
31285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31286 (eval $ac_compile) 2>conftest.er1
31287 ac_status=$?
31288 grep -v '^ *+' conftest.er1 >conftest.err
31289 rm -f conftest.er1
31290 cat conftest.err >&5
31291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31292 (exit $ac_status); } &&
31293 { ac_try='test -z "$ac_cxx_werror_flag"
31294 || test ! -s conftest.err'
31295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31296 (eval $ac_try) 2>&5
31297 ac_status=$?
31298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31299 (exit $ac_status); }; } &&
31300 { ac_try='test -s conftest.$ac_objext'
31301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31302 (eval $ac_try) 2>&5
31303 ac_status=$?
31304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31305 (exit $ac_status); }; }; then
31306 ac_fdsections=yes
31307 else
31308 echo "$as_me: failed program was:" >&5
31309 sed 's/^/| /' conftest.$ac_ext >&5
31311 ac_fdsections=no
31313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31314 if test "$ac_test_CXXFLAGS" = set; then
31315 CXXFLAGS="$ac_save_CXXFLAGS"
31316 else
31317 # this is the suspicious part
31318 CXXFLAGS=''
31320 if test x"$ac_fdsections" = x"yes"; then
31321 SECTION_FLAGS='-ffunction-sections -fdata-sections'
31323 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
31324 echo "${ECHO_T}$ac_fdsections" >&6
31326 ac_ext=c
31327 ac_cpp='$CPP $CPPFLAGS'
31328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31335 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
31337 ac_test_CXXFLAGS="${CXXFLAGS+set}"
31338 ac_save_CXXFLAGS="$CXXFLAGS"
31339 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
31341 echo "$as_me:$LINENO: checking for sin in -lm" >&5
31342 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
31343 if test "${ac_cv_lib_m_sin+set}" = set; then
31344 echo $ECHO_N "(cached) $ECHO_C" >&6
31345 else
31346 ac_check_lib_save_LIBS=$LIBS
31347 LIBS="-lm $LIBS"
31348 if test x$gcc_no_link = xyes; then
31349 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31350 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31351 { (exit 1); exit 1; }; }
31353 cat >conftest.$ac_ext <<_ACEOF
31354 /* confdefs.h. */
31355 _ACEOF
31356 cat confdefs.h >>conftest.$ac_ext
31357 cat >>conftest.$ac_ext <<_ACEOF
31358 /* end confdefs.h. */
31360 /* Override any gcc2 internal prototype to avoid an error. */
31361 #ifdef __cplusplus
31362 extern "C"
31363 #endif
31364 /* We use char because int might match the return type of a gcc2
31365 builtin and then its argument prototype would still apply. */
31366 char sin ();
31368 main ()
31370 sin ();
31372 return 0;
31374 _ACEOF
31375 rm -f conftest.$ac_objext conftest$ac_exeext
31376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31377 (eval $ac_link) 2>conftest.er1
31378 ac_status=$?
31379 grep -v '^ *+' conftest.er1 >conftest.err
31380 rm -f conftest.er1
31381 cat conftest.err >&5
31382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31383 (exit $ac_status); } &&
31384 { ac_try='test -z "$ac_c_werror_flag"
31385 || test ! -s conftest.err'
31386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31387 (eval $ac_try) 2>&5
31388 ac_status=$?
31389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31390 (exit $ac_status); }; } &&
31391 { ac_try='test -s conftest$ac_exeext'
31392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31393 (eval $ac_try) 2>&5
31394 ac_status=$?
31395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31396 (exit $ac_status); }; }; then
31397 ac_cv_lib_m_sin=yes
31398 else
31399 echo "$as_me: failed program was:" >&5
31400 sed 's/^/| /' conftest.$ac_ext >&5
31402 ac_cv_lib_m_sin=no
31404 rm -f conftest.err conftest.$ac_objext \
31405 conftest$ac_exeext conftest.$ac_ext
31406 LIBS=$ac_check_lib_save_LIBS
31408 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
31409 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
31410 if test $ac_cv_lib_m_sin = yes; then
31411 libm="-lm"
31414 ac_save_LIBS="$LIBS"
31415 LIBS="$LIBS $libm"
31419 echo "$as_me:$LINENO: checking for isinf declaration" >&5
31420 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
31421 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
31422 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
31423 echo $ECHO_N "(cached) $ECHO_C" >&6
31424 else
31428 ac_ext=cc
31429 ac_cpp='$CXXCPP $CPPFLAGS'
31430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31434 cat >conftest.$ac_ext <<_ACEOF
31435 /* confdefs.h. */
31436 _ACEOF
31437 cat confdefs.h >>conftest.$ac_ext
31438 cat >>conftest.$ac_ext <<_ACEOF
31439 /* end confdefs.h. */
31440 #include <math.h>
31441 #ifdef HAVE_IEEEFP_H
31442 #include <ieeefp.h>
31443 #endif
31446 main ()
31448 isinf(0);
31450 return 0;
31452 _ACEOF
31453 rm -f conftest.$ac_objext
31454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31455 (eval $ac_compile) 2>conftest.er1
31456 ac_status=$?
31457 grep -v '^ *+' conftest.er1 >conftest.err
31458 rm -f conftest.er1
31459 cat conftest.err >&5
31460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31461 (exit $ac_status); } &&
31462 { ac_try='test -z "$ac_cxx_werror_flag"
31463 || test ! -s conftest.err'
31464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31465 (eval $ac_try) 2>&5
31466 ac_status=$?
31467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31468 (exit $ac_status); }; } &&
31469 { ac_try='test -s conftest.$ac_objext'
31470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31471 (eval $ac_try) 2>&5
31472 ac_status=$?
31473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31474 (exit $ac_status); }; }; then
31475 glibcxx_cv_func_isinf_use=yes
31476 else
31477 echo "$as_me: failed program was:" >&5
31478 sed 's/^/| /' conftest.$ac_ext >&5
31480 glibcxx_cv_func_isinf_use=no
31482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31483 ac_ext=c
31484 ac_cpp='$CPP $CPPFLAGS'
31485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31493 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
31494 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
31496 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
31498 for ac_func in isinf
31500 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31501 echo "$as_me:$LINENO: checking for $ac_func" >&5
31502 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31503 if eval "test \"\${$as_ac_var+set}\" = set"; then
31504 echo $ECHO_N "(cached) $ECHO_C" >&6
31505 else
31506 if test x$gcc_no_link = xyes; then
31507 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31508 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31509 { (exit 1); exit 1; }; }
31511 cat >conftest.$ac_ext <<_ACEOF
31512 /* confdefs.h. */
31513 _ACEOF
31514 cat confdefs.h >>conftest.$ac_ext
31515 cat >>conftest.$ac_ext <<_ACEOF
31516 /* end confdefs.h. */
31517 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31518 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31519 #define $ac_func innocuous_$ac_func
31521 /* System header to define __stub macros and hopefully few prototypes,
31522 which can conflict with char $ac_func (); below.
31523 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31524 <limits.h> exists even on freestanding compilers. */
31526 #ifdef __STDC__
31527 # include <limits.h>
31528 #else
31529 # include <assert.h>
31530 #endif
31532 #undef $ac_func
31534 /* Override any gcc2 internal prototype to avoid an error. */
31535 #ifdef __cplusplus
31536 extern "C"
31538 #endif
31539 /* We use char because int might match the return type of a gcc2
31540 builtin and then its argument prototype would still apply. */
31541 char $ac_func ();
31542 /* The GNU C library defines this for functions which it implements
31543 to always fail with ENOSYS. Some functions are actually named
31544 something starting with __ and the normal name is an alias. */
31545 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31546 choke me
31547 #else
31548 char (*f) () = $ac_func;
31549 #endif
31550 #ifdef __cplusplus
31552 #endif
31555 main ()
31557 return f != $ac_func;
31559 return 0;
31561 _ACEOF
31562 rm -f conftest.$ac_objext conftest$ac_exeext
31563 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31564 (eval $ac_link) 2>conftest.er1
31565 ac_status=$?
31566 grep -v '^ *+' conftest.er1 >conftest.err
31567 rm -f conftest.er1
31568 cat conftest.err >&5
31569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31570 (exit $ac_status); } &&
31571 { ac_try='test -z "$ac_c_werror_flag"
31572 || test ! -s conftest.err'
31573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31574 (eval $ac_try) 2>&5
31575 ac_status=$?
31576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31577 (exit $ac_status); }; } &&
31578 { ac_try='test -s conftest$ac_exeext'
31579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31580 (eval $ac_try) 2>&5
31581 ac_status=$?
31582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31583 (exit $ac_status); }; }; then
31584 eval "$as_ac_var=yes"
31585 else
31586 echo "$as_me: failed program was:" >&5
31587 sed 's/^/| /' conftest.$ac_ext >&5
31589 eval "$as_ac_var=no"
31591 rm -f conftest.err conftest.$ac_objext \
31592 conftest$ac_exeext conftest.$ac_ext
31594 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31595 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31596 if test `eval echo '${'$as_ac_var'}'` = yes; then
31597 cat >>confdefs.h <<_ACEOF
31598 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31599 _ACEOF
31602 done
31604 else
31606 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
31607 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
31608 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
31609 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
31610 echo $ECHO_N "(cached) $ECHO_C" >&6
31611 else
31615 ac_ext=cc
31616 ac_cpp='$CXXCPP $CPPFLAGS'
31617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31621 cat >conftest.$ac_ext <<_ACEOF
31622 /* confdefs.h. */
31623 _ACEOF
31624 cat confdefs.h >>conftest.$ac_ext
31625 cat >>conftest.$ac_ext <<_ACEOF
31626 /* end confdefs.h. */
31627 #include <math.h>
31628 #ifdef HAVE_IEEEFP_H
31629 #include <ieeefp.h>
31630 #endif
31633 main ()
31635 _isinf(0);
31637 return 0;
31639 _ACEOF
31640 rm -f conftest.$ac_objext
31641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31642 (eval $ac_compile) 2>conftest.er1
31643 ac_status=$?
31644 grep -v '^ *+' conftest.er1 >conftest.err
31645 rm -f conftest.er1
31646 cat conftest.err >&5
31647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31648 (exit $ac_status); } &&
31649 { ac_try='test -z "$ac_cxx_werror_flag"
31650 || test ! -s conftest.err'
31651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31652 (eval $ac_try) 2>&5
31653 ac_status=$?
31654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31655 (exit $ac_status); }; } &&
31656 { ac_try='test -s conftest.$ac_objext'
31657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31658 (eval $ac_try) 2>&5
31659 ac_status=$?
31660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31661 (exit $ac_status); }; }; then
31662 glibcxx_cv_func__isinf_use=yes
31663 else
31664 echo "$as_me: failed program was:" >&5
31665 sed 's/^/| /' conftest.$ac_ext >&5
31667 glibcxx_cv_func__isinf_use=no
31669 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31670 ac_ext=c
31671 ac_cpp='$CPP $CPPFLAGS'
31672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31680 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
31681 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
31683 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
31685 for ac_func in _isinf
31687 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31688 echo "$as_me:$LINENO: checking for $ac_func" >&5
31689 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31690 if eval "test \"\${$as_ac_var+set}\" = set"; then
31691 echo $ECHO_N "(cached) $ECHO_C" >&6
31692 else
31693 if test x$gcc_no_link = xyes; then
31694 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31695 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31696 { (exit 1); exit 1; }; }
31698 cat >conftest.$ac_ext <<_ACEOF
31699 /* confdefs.h. */
31700 _ACEOF
31701 cat confdefs.h >>conftest.$ac_ext
31702 cat >>conftest.$ac_ext <<_ACEOF
31703 /* end confdefs.h. */
31704 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31705 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31706 #define $ac_func innocuous_$ac_func
31708 /* System header to define __stub macros and hopefully few prototypes,
31709 which can conflict with char $ac_func (); below.
31710 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31711 <limits.h> exists even on freestanding compilers. */
31713 #ifdef __STDC__
31714 # include <limits.h>
31715 #else
31716 # include <assert.h>
31717 #endif
31719 #undef $ac_func
31721 /* Override any gcc2 internal prototype to avoid an error. */
31722 #ifdef __cplusplus
31723 extern "C"
31725 #endif
31726 /* We use char because int might match the return type of a gcc2
31727 builtin and then its argument prototype would still apply. */
31728 char $ac_func ();
31729 /* The GNU C library defines this for functions which it implements
31730 to always fail with ENOSYS. Some functions are actually named
31731 something starting with __ and the normal name is an alias. */
31732 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31733 choke me
31734 #else
31735 char (*f) () = $ac_func;
31736 #endif
31737 #ifdef __cplusplus
31739 #endif
31742 main ()
31744 return f != $ac_func;
31746 return 0;
31748 _ACEOF
31749 rm -f conftest.$ac_objext conftest$ac_exeext
31750 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31751 (eval $ac_link) 2>conftest.er1
31752 ac_status=$?
31753 grep -v '^ *+' conftest.er1 >conftest.err
31754 rm -f conftest.er1
31755 cat conftest.err >&5
31756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31757 (exit $ac_status); } &&
31758 { ac_try='test -z "$ac_c_werror_flag"
31759 || test ! -s conftest.err'
31760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31761 (eval $ac_try) 2>&5
31762 ac_status=$?
31763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31764 (exit $ac_status); }; } &&
31765 { ac_try='test -s conftest$ac_exeext'
31766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31767 (eval $ac_try) 2>&5
31768 ac_status=$?
31769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31770 (exit $ac_status); }; }; then
31771 eval "$as_ac_var=yes"
31772 else
31773 echo "$as_me: failed program was:" >&5
31774 sed 's/^/| /' conftest.$ac_ext >&5
31776 eval "$as_ac_var=no"
31778 rm -f conftest.err conftest.$ac_objext \
31779 conftest$ac_exeext conftest.$ac_ext
31781 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31782 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31783 if test `eval echo '${'$as_ac_var'}'` = yes; then
31784 cat >>confdefs.h <<_ACEOF
31785 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31786 _ACEOF
31789 done
31796 echo "$as_me:$LINENO: checking for isnan declaration" >&5
31797 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
31798 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
31799 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
31800 echo $ECHO_N "(cached) $ECHO_C" >&6
31801 else
31805 ac_ext=cc
31806 ac_cpp='$CXXCPP $CPPFLAGS'
31807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31811 cat >conftest.$ac_ext <<_ACEOF
31812 /* confdefs.h. */
31813 _ACEOF
31814 cat confdefs.h >>conftest.$ac_ext
31815 cat >>conftest.$ac_ext <<_ACEOF
31816 /* end confdefs.h. */
31817 #include <math.h>
31818 #ifdef HAVE_IEEEFP_H
31819 #include <ieeefp.h>
31820 #endif
31823 main ()
31825 isnan(0);
31827 return 0;
31829 _ACEOF
31830 rm -f conftest.$ac_objext
31831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31832 (eval $ac_compile) 2>conftest.er1
31833 ac_status=$?
31834 grep -v '^ *+' conftest.er1 >conftest.err
31835 rm -f conftest.er1
31836 cat conftest.err >&5
31837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31838 (exit $ac_status); } &&
31839 { ac_try='test -z "$ac_cxx_werror_flag"
31840 || test ! -s conftest.err'
31841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31842 (eval $ac_try) 2>&5
31843 ac_status=$?
31844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31845 (exit $ac_status); }; } &&
31846 { ac_try='test -s conftest.$ac_objext'
31847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31848 (eval $ac_try) 2>&5
31849 ac_status=$?
31850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31851 (exit $ac_status); }; }; then
31852 glibcxx_cv_func_isnan_use=yes
31853 else
31854 echo "$as_me: failed program was:" >&5
31855 sed 's/^/| /' conftest.$ac_ext >&5
31857 glibcxx_cv_func_isnan_use=no
31859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31860 ac_ext=c
31861 ac_cpp='$CPP $CPPFLAGS'
31862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31870 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
31871 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
31873 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
31875 for ac_func in isnan
31877 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31878 echo "$as_me:$LINENO: checking for $ac_func" >&5
31879 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31880 if eval "test \"\${$as_ac_var+set}\" = set"; then
31881 echo $ECHO_N "(cached) $ECHO_C" >&6
31882 else
31883 if test x$gcc_no_link = xyes; then
31884 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31885 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31886 { (exit 1); exit 1; }; }
31888 cat >conftest.$ac_ext <<_ACEOF
31889 /* confdefs.h. */
31890 _ACEOF
31891 cat confdefs.h >>conftest.$ac_ext
31892 cat >>conftest.$ac_ext <<_ACEOF
31893 /* end confdefs.h. */
31894 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31895 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31896 #define $ac_func innocuous_$ac_func
31898 /* System header to define __stub macros and hopefully few prototypes,
31899 which can conflict with char $ac_func (); below.
31900 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31901 <limits.h> exists even on freestanding compilers. */
31903 #ifdef __STDC__
31904 # include <limits.h>
31905 #else
31906 # include <assert.h>
31907 #endif
31909 #undef $ac_func
31911 /* Override any gcc2 internal prototype to avoid an error. */
31912 #ifdef __cplusplus
31913 extern "C"
31915 #endif
31916 /* We use char because int might match the return type of a gcc2
31917 builtin and then its argument prototype would still apply. */
31918 char $ac_func ();
31919 /* The GNU C library defines this for functions which it implements
31920 to always fail with ENOSYS. Some functions are actually named
31921 something starting with __ and the normal name is an alias. */
31922 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31923 choke me
31924 #else
31925 char (*f) () = $ac_func;
31926 #endif
31927 #ifdef __cplusplus
31929 #endif
31932 main ()
31934 return f != $ac_func;
31936 return 0;
31938 _ACEOF
31939 rm -f conftest.$ac_objext conftest$ac_exeext
31940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31941 (eval $ac_link) 2>conftest.er1
31942 ac_status=$?
31943 grep -v '^ *+' conftest.er1 >conftest.err
31944 rm -f conftest.er1
31945 cat conftest.err >&5
31946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31947 (exit $ac_status); } &&
31948 { ac_try='test -z "$ac_c_werror_flag"
31949 || test ! -s conftest.err'
31950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31951 (eval $ac_try) 2>&5
31952 ac_status=$?
31953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31954 (exit $ac_status); }; } &&
31955 { ac_try='test -s conftest$ac_exeext'
31956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31957 (eval $ac_try) 2>&5
31958 ac_status=$?
31959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31960 (exit $ac_status); }; }; then
31961 eval "$as_ac_var=yes"
31962 else
31963 echo "$as_me: failed program was:" >&5
31964 sed 's/^/| /' conftest.$ac_ext >&5
31966 eval "$as_ac_var=no"
31968 rm -f conftest.err conftest.$ac_objext \
31969 conftest$ac_exeext conftest.$ac_ext
31971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31972 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31973 if test `eval echo '${'$as_ac_var'}'` = yes; then
31974 cat >>confdefs.h <<_ACEOF
31975 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31976 _ACEOF
31979 done
31981 else
31983 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
31984 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
31985 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
31986 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
31987 echo $ECHO_N "(cached) $ECHO_C" >&6
31988 else
31992 ac_ext=cc
31993 ac_cpp='$CXXCPP $CPPFLAGS'
31994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31998 cat >conftest.$ac_ext <<_ACEOF
31999 /* confdefs.h. */
32000 _ACEOF
32001 cat confdefs.h >>conftest.$ac_ext
32002 cat >>conftest.$ac_ext <<_ACEOF
32003 /* end confdefs.h. */
32004 #include <math.h>
32005 #ifdef HAVE_IEEEFP_H
32006 #include <ieeefp.h>
32007 #endif
32010 main ()
32012 _isnan(0);
32014 return 0;
32016 _ACEOF
32017 rm -f conftest.$ac_objext
32018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32019 (eval $ac_compile) 2>conftest.er1
32020 ac_status=$?
32021 grep -v '^ *+' conftest.er1 >conftest.err
32022 rm -f conftest.er1
32023 cat conftest.err >&5
32024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32025 (exit $ac_status); } &&
32026 { ac_try='test -z "$ac_cxx_werror_flag"
32027 || test ! -s conftest.err'
32028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32029 (eval $ac_try) 2>&5
32030 ac_status=$?
32031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32032 (exit $ac_status); }; } &&
32033 { ac_try='test -s conftest.$ac_objext'
32034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32035 (eval $ac_try) 2>&5
32036 ac_status=$?
32037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32038 (exit $ac_status); }; }; then
32039 glibcxx_cv_func__isnan_use=yes
32040 else
32041 echo "$as_me: failed program was:" >&5
32042 sed 's/^/| /' conftest.$ac_ext >&5
32044 glibcxx_cv_func__isnan_use=no
32046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32047 ac_ext=c
32048 ac_cpp='$CPP $CPPFLAGS'
32049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32057 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
32058 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
32060 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
32062 for ac_func in _isnan
32064 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32065 echo "$as_me:$LINENO: checking for $ac_func" >&5
32066 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32067 if eval "test \"\${$as_ac_var+set}\" = set"; then
32068 echo $ECHO_N "(cached) $ECHO_C" >&6
32069 else
32070 if test x$gcc_no_link = xyes; then
32071 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32072 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32073 { (exit 1); exit 1; }; }
32075 cat >conftest.$ac_ext <<_ACEOF
32076 /* confdefs.h. */
32077 _ACEOF
32078 cat confdefs.h >>conftest.$ac_ext
32079 cat >>conftest.$ac_ext <<_ACEOF
32080 /* end confdefs.h. */
32081 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32082 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32083 #define $ac_func innocuous_$ac_func
32085 /* System header to define __stub macros and hopefully few prototypes,
32086 which can conflict with char $ac_func (); below.
32087 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32088 <limits.h> exists even on freestanding compilers. */
32090 #ifdef __STDC__
32091 # include <limits.h>
32092 #else
32093 # include <assert.h>
32094 #endif
32096 #undef $ac_func
32098 /* Override any gcc2 internal prototype to avoid an error. */
32099 #ifdef __cplusplus
32100 extern "C"
32102 #endif
32103 /* We use char because int might match the return type of a gcc2
32104 builtin and then its argument prototype would still apply. */
32105 char $ac_func ();
32106 /* The GNU C library defines this for functions which it implements
32107 to always fail with ENOSYS. Some functions are actually named
32108 something starting with __ and the normal name is an alias. */
32109 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32110 choke me
32111 #else
32112 char (*f) () = $ac_func;
32113 #endif
32114 #ifdef __cplusplus
32116 #endif
32119 main ()
32121 return f != $ac_func;
32123 return 0;
32125 _ACEOF
32126 rm -f conftest.$ac_objext conftest$ac_exeext
32127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32128 (eval $ac_link) 2>conftest.er1
32129 ac_status=$?
32130 grep -v '^ *+' conftest.er1 >conftest.err
32131 rm -f conftest.er1
32132 cat conftest.err >&5
32133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32134 (exit $ac_status); } &&
32135 { ac_try='test -z "$ac_c_werror_flag"
32136 || test ! -s conftest.err'
32137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32138 (eval $ac_try) 2>&5
32139 ac_status=$?
32140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32141 (exit $ac_status); }; } &&
32142 { ac_try='test -s conftest$ac_exeext'
32143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32144 (eval $ac_try) 2>&5
32145 ac_status=$?
32146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32147 (exit $ac_status); }; }; then
32148 eval "$as_ac_var=yes"
32149 else
32150 echo "$as_me: failed program was:" >&5
32151 sed 's/^/| /' conftest.$ac_ext >&5
32153 eval "$as_ac_var=no"
32155 rm -f conftest.err conftest.$ac_objext \
32156 conftest$ac_exeext conftest.$ac_ext
32158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32159 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32160 if test `eval echo '${'$as_ac_var'}'` = yes; then
32161 cat >>confdefs.h <<_ACEOF
32162 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32163 _ACEOF
32166 done
32173 echo "$as_me:$LINENO: checking for finite declaration" >&5
32174 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
32175 if test x${glibcxx_cv_func_finite_use+set} != xset; then
32176 if test "${glibcxx_cv_func_finite_use+set}" = set; then
32177 echo $ECHO_N "(cached) $ECHO_C" >&6
32178 else
32182 ac_ext=cc
32183 ac_cpp='$CXXCPP $CPPFLAGS'
32184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32188 cat >conftest.$ac_ext <<_ACEOF
32189 /* confdefs.h. */
32190 _ACEOF
32191 cat confdefs.h >>conftest.$ac_ext
32192 cat >>conftest.$ac_ext <<_ACEOF
32193 /* end confdefs.h. */
32194 #include <math.h>
32195 #ifdef HAVE_IEEEFP_H
32196 #include <ieeefp.h>
32197 #endif
32200 main ()
32202 finite(0);
32204 return 0;
32206 _ACEOF
32207 rm -f conftest.$ac_objext
32208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32209 (eval $ac_compile) 2>conftest.er1
32210 ac_status=$?
32211 grep -v '^ *+' conftest.er1 >conftest.err
32212 rm -f conftest.er1
32213 cat conftest.err >&5
32214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32215 (exit $ac_status); } &&
32216 { ac_try='test -z "$ac_cxx_werror_flag"
32217 || test ! -s conftest.err'
32218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32219 (eval $ac_try) 2>&5
32220 ac_status=$?
32221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32222 (exit $ac_status); }; } &&
32223 { ac_try='test -s conftest.$ac_objext'
32224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32225 (eval $ac_try) 2>&5
32226 ac_status=$?
32227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32228 (exit $ac_status); }; }; then
32229 glibcxx_cv_func_finite_use=yes
32230 else
32231 echo "$as_me: failed program was:" >&5
32232 sed 's/^/| /' conftest.$ac_ext >&5
32234 glibcxx_cv_func_finite_use=no
32236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32237 ac_ext=c
32238 ac_cpp='$CPP $CPPFLAGS'
32239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32247 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
32248 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
32250 if test x$glibcxx_cv_func_finite_use = x"yes"; then
32252 for ac_func in finite
32254 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32255 echo "$as_me:$LINENO: checking for $ac_func" >&5
32256 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32257 if eval "test \"\${$as_ac_var+set}\" = set"; then
32258 echo $ECHO_N "(cached) $ECHO_C" >&6
32259 else
32260 if test x$gcc_no_link = xyes; then
32261 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32262 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32263 { (exit 1); exit 1; }; }
32265 cat >conftest.$ac_ext <<_ACEOF
32266 /* confdefs.h. */
32267 _ACEOF
32268 cat confdefs.h >>conftest.$ac_ext
32269 cat >>conftest.$ac_ext <<_ACEOF
32270 /* end confdefs.h. */
32271 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32272 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32273 #define $ac_func innocuous_$ac_func
32275 /* System header to define __stub macros and hopefully few prototypes,
32276 which can conflict with char $ac_func (); below.
32277 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32278 <limits.h> exists even on freestanding compilers. */
32280 #ifdef __STDC__
32281 # include <limits.h>
32282 #else
32283 # include <assert.h>
32284 #endif
32286 #undef $ac_func
32288 /* Override any gcc2 internal prototype to avoid an error. */
32289 #ifdef __cplusplus
32290 extern "C"
32292 #endif
32293 /* We use char because int might match the return type of a gcc2
32294 builtin and then its argument prototype would still apply. */
32295 char $ac_func ();
32296 /* The GNU C library defines this for functions which it implements
32297 to always fail with ENOSYS. Some functions are actually named
32298 something starting with __ and the normal name is an alias. */
32299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32300 choke me
32301 #else
32302 char (*f) () = $ac_func;
32303 #endif
32304 #ifdef __cplusplus
32306 #endif
32309 main ()
32311 return f != $ac_func;
32313 return 0;
32315 _ACEOF
32316 rm -f conftest.$ac_objext conftest$ac_exeext
32317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32318 (eval $ac_link) 2>conftest.er1
32319 ac_status=$?
32320 grep -v '^ *+' conftest.er1 >conftest.err
32321 rm -f conftest.er1
32322 cat conftest.err >&5
32323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32324 (exit $ac_status); } &&
32325 { ac_try='test -z "$ac_c_werror_flag"
32326 || test ! -s conftest.err'
32327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32328 (eval $ac_try) 2>&5
32329 ac_status=$?
32330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32331 (exit $ac_status); }; } &&
32332 { ac_try='test -s conftest$ac_exeext'
32333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32334 (eval $ac_try) 2>&5
32335 ac_status=$?
32336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32337 (exit $ac_status); }; }; then
32338 eval "$as_ac_var=yes"
32339 else
32340 echo "$as_me: failed program was:" >&5
32341 sed 's/^/| /' conftest.$ac_ext >&5
32343 eval "$as_ac_var=no"
32345 rm -f conftest.err conftest.$ac_objext \
32346 conftest$ac_exeext conftest.$ac_ext
32348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32349 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32350 if test `eval echo '${'$as_ac_var'}'` = yes; then
32351 cat >>confdefs.h <<_ACEOF
32352 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32353 _ACEOF
32356 done
32358 else
32360 echo "$as_me:$LINENO: checking for _finite declaration" >&5
32361 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
32362 if test x${glibcxx_cv_func__finite_use+set} != xset; then
32363 if test "${glibcxx_cv_func__finite_use+set}" = set; then
32364 echo $ECHO_N "(cached) $ECHO_C" >&6
32365 else
32369 ac_ext=cc
32370 ac_cpp='$CXXCPP $CPPFLAGS'
32371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32375 cat >conftest.$ac_ext <<_ACEOF
32376 /* confdefs.h. */
32377 _ACEOF
32378 cat confdefs.h >>conftest.$ac_ext
32379 cat >>conftest.$ac_ext <<_ACEOF
32380 /* end confdefs.h. */
32381 #include <math.h>
32382 #ifdef HAVE_IEEEFP_H
32383 #include <ieeefp.h>
32384 #endif
32387 main ()
32389 _finite(0);
32391 return 0;
32393 _ACEOF
32394 rm -f conftest.$ac_objext
32395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32396 (eval $ac_compile) 2>conftest.er1
32397 ac_status=$?
32398 grep -v '^ *+' conftest.er1 >conftest.err
32399 rm -f conftest.er1
32400 cat conftest.err >&5
32401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32402 (exit $ac_status); } &&
32403 { ac_try='test -z "$ac_cxx_werror_flag"
32404 || test ! -s conftest.err'
32405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32406 (eval $ac_try) 2>&5
32407 ac_status=$?
32408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32409 (exit $ac_status); }; } &&
32410 { ac_try='test -s conftest.$ac_objext'
32411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32412 (eval $ac_try) 2>&5
32413 ac_status=$?
32414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32415 (exit $ac_status); }; }; then
32416 glibcxx_cv_func__finite_use=yes
32417 else
32418 echo "$as_me: failed program was:" >&5
32419 sed 's/^/| /' conftest.$ac_ext >&5
32421 glibcxx_cv_func__finite_use=no
32423 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32424 ac_ext=c
32425 ac_cpp='$CPP $CPPFLAGS'
32426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32434 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
32435 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
32437 if test x$glibcxx_cv_func__finite_use = x"yes"; then
32439 for ac_func in _finite
32441 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32442 echo "$as_me:$LINENO: checking for $ac_func" >&5
32443 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32444 if eval "test \"\${$as_ac_var+set}\" = set"; then
32445 echo $ECHO_N "(cached) $ECHO_C" >&6
32446 else
32447 if test x$gcc_no_link = xyes; then
32448 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32449 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32450 { (exit 1); exit 1; }; }
32452 cat >conftest.$ac_ext <<_ACEOF
32453 /* confdefs.h. */
32454 _ACEOF
32455 cat confdefs.h >>conftest.$ac_ext
32456 cat >>conftest.$ac_ext <<_ACEOF
32457 /* end confdefs.h. */
32458 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32459 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32460 #define $ac_func innocuous_$ac_func
32462 /* System header to define __stub macros and hopefully few prototypes,
32463 which can conflict with char $ac_func (); below.
32464 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32465 <limits.h> exists even on freestanding compilers. */
32467 #ifdef __STDC__
32468 # include <limits.h>
32469 #else
32470 # include <assert.h>
32471 #endif
32473 #undef $ac_func
32475 /* Override any gcc2 internal prototype to avoid an error. */
32476 #ifdef __cplusplus
32477 extern "C"
32479 #endif
32480 /* We use char because int might match the return type of a gcc2
32481 builtin and then its argument prototype would still apply. */
32482 char $ac_func ();
32483 /* The GNU C library defines this for functions which it implements
32484 to always fail with ENOSYS. Some functions are actually named
32485 something starting with __ and the normal name is an alias. */
32486 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32487 choke me
32488 #else
32489 char (*f) () = $ac_func;
32490 #endif
32491 #ifdef __cplusplus
32493 #endif
32496 main ()
32498 return f != $ac_func;
32500 return 0;
32502 _ACEOF
32503 rm -f conftest.$ac_objext conftest$ac_exeext
32504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32505 (eval $ac_link) 2>conftest.er1
32506 ac_status=$?
32507 grep -v '^ *+' conftest.er1 >conftest.err
32508 rm -f conftest.er1
32509 cat conftest.err >&5
32510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32511 (exit $ac_status); } &&
32512 { ac_try='test -z "$ac_c_werror_flag"
32513 || test ! -s conftest.err'
32514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32515 (eval $ac_try) 2>&5
32516 ac_status=$?
32517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32518 (exit $ac_status); }; } &&
32519 { ac_try='test -s conftest$ac_exeext'
32520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32521 (eval $ac_try) 2>&5
32522 ac_status=$?
32523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32524 (exit $ac_status); }; }; then
32525 eval "$as_ac_var=yes"
32526 else
32527 echo "$as_me: failed program was:" >&5
32528 sed 's/^/| /' conftest.$ac_ext >&5
32530 eval "$as_ac_var=no"
32532 rm -f conftest.err conftest.$ac_objext \
32533 conftest$ac_exeext conftest.$ac_ext
32535 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32536 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32537 if test `eval echo '${'$as_ac_var'}'` = yes; then
32538 cat >>confdefs.h <<_ACEOF
32539 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32540 _ACEOF
32543 done
32550 echo "$as_me:$LINENO: checking for copysign declaration" >&5
32551 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
32552 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
32553 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
32554 echo $ECHO_N "(cached) $ECHO_C" >&6
32555 else
32559 ac_ext=cc
32560 ac_cpp='$CXXCPP $CPPFLAGS'
32561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32565 cat >conftest.$ac_ext <<_ACEOF
32566 /* confdefs.h. */
32567 _ACEOF
32568 cat confdefs.h >>conftest.$ac_ext
32569 cat >>conftest.$ac_ext <<_ACEOF
32570 /* end confdefs.h. */
32571 #include <math.h>
32573 main ()
32575 copysign(0, 0);
32577 return 0;
32579 _ACEOF
32580 rm -f conftest.$ac_objext
32581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32582 (eval $ac_compile) 2>conftest.er1
32583 ac_status=$?
32584 grep -v '^ *+' conftest.er1 >conftest.err
32585 rm -f conftest.er1
32586 cat conftest.err >&5
32587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32588 (exit $ac_status); } &&
32589 { ac_try='test -z "$ac_cxx_werror_flag"
32590 || test ! -s conftest.err'
32591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32592 (eval $ac_try) 2>&5
32593 ac_status=$?
32594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32595 (exit $ac_status); }; } &&
32596 { ac_try='test -s conftest.$ac_objext'
32597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32598 (eval $ac_try) 2>&5
32599 ac_status=$?
32600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32601 (exit $ac_status); }; }; then
32602 glibcxx_cv_func_copysign_use=yes
32603 else
32604 echo "$as_me: failed program was:" >&5
32605 sed 's/^/| /' conftest.$ac_ext >&5
32607 glibcxx_cv_func_copysign_use=no
32609 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32610 ac_ext=c
32611 ac_cpp='$CPP $CPPFLAGS'
32612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32620 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
32621 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
32623 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
32625 for ac_func in copysign
32627 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32628 echo "$as_me:$LINENO: checking for $ac_func" >&5
32629 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32630 if eval "test \"\${$as_ac_var+set}\" = set"; then
32631 echo $ECHO_N "(cached) $ECHO_C" >&6
32632 else
32633 if test x$gcc_no_link = xyes; then
32634 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32635 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32636 { (exit 1); exit 1; }; }
32638 cat >conftest.$ac_ext <<_ACEOF
32639 /* confdefs.h. */
32640 _ACEOF
32641 cat confdefs.h >>conftest.$ac_ext
32642 cat >>conftest.$ac_ext <<_ACEOF
32643 /* end confdefs.h. */
32644 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32645 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32646 #define $ac_func innocuous_$ac_func
32648 /* System header to define __stub macros and hopefully few prototypes,
32649 which can conflict with char $ac_func (); below.
32650 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32651 <limits.h> exists even on freestanding compilers. */
32653 #ifdef __STDC__
32654 # include <limits.h>
32655 #else
32656 # include <assert.h>
32657 #endif
32659 #undef $ac_func
32661 /* Override any gcc2 internal prototype to avoid an error. */
32662 #ifdef __cplusplus
32663 extern "C"
32665 #endif
32666 /* We use char because int might match the return type of a gcc2
32667 builtin and then its argument prototype would still apply. */
32668 char $ac_func ();
32669 /* The GNU C library defines this for functions which it implements
32670 to always fail with ENOSYS. Some functions are actually named
32671 something starting with __ and the normal name is an alias. */
32672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32673 choke me
32674 #else
32675 char (*f) () = $ac_func;
32676 #endif
32677 #ifdef __cplusplus
32679 #endif
32682 main ()
32684 return f != $ac_func;
32686 return 0;
32688 _ACEOF
32689 rm -f conftest.$ac_objext conftest$ac_exeext
32690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32691 (eval $ac_link) 2>conftest.er1
32692 ac_status=$?
32693 grep -v '^ *+' conftest.er1 >conftest.err
32694 rm -f conftest.er1
32695 cat conftest.err >&5
32696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32697 (exit $ac_status); } &&
32698 { ac_try='test -z "$ac_c_werror_flag"
32699 || test ! -s conftest.err'
32700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32701 (eval $ac_try) 2>&5
32702 ac_status=$?
32703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32704 (exit $ac_status); }; } &&
32705 { ac_try='test -s conftest$ac_exeext'
32706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32707 (eval $ac_try) 2>&5
32708 ac_status=$?
32709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32710 (exit $ac_status); }; }; then
32711 eval "$as_ac_var=yes"
32712 else
32713 echo "$as_me: failed program was:" >&5
32714 sed 's/^/| /' conftest.$ac_ext >&5
32716 eval "$as_ac_var=no"
32718 rm -f conftest.err conftest.$ac_objext \
32719 conftest$ac_exeext conftest.$ac_ext
32721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32722 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32723 if test `eval echo '${'$as_ac_var'}'` = yes; then
32724 cat >>confdefs.h <<_ACEOF
32725 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32726 _ACEOF
32729 done
32731 else
32733 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
32734 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
32735 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
32736 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
32737 echo $ECHO_N "(cached) $ECHO_C" >&6
32738 else
32742 ac_ext=cc
32743 ac_cpp='$CXXCPP $CPPFLAGS'
32744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32748 cat >conftest.$ac_ext <<_ACEOF
32749 /* confdefs.h. */
32750 _ACEOF
32751 cat confdefs.h >>conftest.$ac_ext
32752 cat >>conftest.$ac_ext <<_ACEOF
32753 /* end confdefs.h. */
32754 #include <math.h>
32756 main ()
32758 _copysign(0, 0);
32760 return 0;
32762 _ACEOF
32763 rm -f conftest.$ac_objext
32764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32765 (eval $ac_compile) 2>conftest.er1
32766 ac_status=$?
32767 grep -v '^ *+' conftest.er1 >conftest.err
32768 rm -f conftest.er1
32769 cat conftest.err >&5
32770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32771 (exit $ac_status); } &&
32772 { ac_try='test -z "$ac_cxx_werror_flag"
32773 || test ! -s conftest.err'
32774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32775 (eval $ac_try) 2>&5
32776 ac_status=$?
32777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32778 (exit $ac_status); }; } &&
32779 { ac_try='test -s conftest.$ac_objext'
32780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32781 (eval $ac_try) 2>&5
32782 ac_status=$?
32783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32784 (exit $ac_status); }; }; then
32785 glibcxx_cv_func__copysign_use=yes
32786 else
32787 echo "$as_me: failed program was:" >&5
32788 sed 's/^/| /' conftest.$ac_ext >&5
32790 glibcxx_cv_func__copysign_use=no
32792 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32793 ac_ext=c
32794 ac_cpp='$CPP $CPPFLAGS'
32795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32803 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
32804 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
32806 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
32808 for ac_func in _copysign
32810 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32811 echo "$as_me:$LINENO: checking for $ac_func" >&5
32812 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32813 if eval "test \"\${$as_ac_var+set}\" = set"; then
32814 echo $ECHO_N "(cached) $ECHO_C" >&6
32815 else
32816 if test x$gcc_no_link = xyes; then
32817 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32818 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32819 { (exit 1); exit 1; }; }
32821 cat >conftest.$ac_ext <<_ACEOF
32822 /* confdefs.h. */
32823 _ACEOF
32824 cat confdefs.h >>conftest.$ac_ext
32825 cat >>conftest.$ac_ext <<_ACEOF
32826 /* end confdefs.h. */
32827 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32828 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32829 #define $ac_func innocuous_$ac_func
32831 /* System header to define __stub macros and hopefully few prototypes,
32832 which can conflict with char $ac_func (); below.
32833 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32834 <limits.h> exists even on freestanding compilers. */
32836 #ifdef __STDC__
32837 # include <limits.h>
32838 #else
32839 # include <assert.h>
32840 #endif
32842 #undef $ac_func
32844 /* Override any gcc2 internal prototype to avoid an error. */
32845 #ifdef __cplusplus
32846 extern "C"
32848 #endif
32849 /* We use char because int might match the return type of a gcc2
32850 builtin and then its argument prototype would still apply. */
32851 char $ac_func ();
32852 /* The GNU C library defines this for functions which it implements
32853 to always fail with ENOSYS. Some functions are actually named
32854 something starting with __ and the normal name is an alias. */
32855 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32856 choke me
32857 #else
32858 char (*f) () = $ac_func;
32859 #endif
32860 #ifdef __cplusplus
32862 #endif
32865 main ()
32867 return f != $ac_func;
32869 return 0;
32871 _ACEOF
32872 rm -f conftest.$ac_objext conftest$ac_exeext
32873 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32874 (eval $ac_link) 2>conftest.er1
32875 ac_status=$?
32876 grep -v '^ *+' conftest.er1 >conftest.err
32877 rm -f conftest.er1
32878 cat conftest.err >&5
32879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32880 (exit $ac_status); } &&
32881 { ac_try='test -z "$ac_c_werror_flag"
32882 || test ! -s conftest.err'
32883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32884 (eval $ac_try) 2>&5
32885 ac_status=$?
32886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32887 (exit $ac_status); }; } &&
32888 { ac_try='test -s conftest$ac_exeext'
32889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32890 (eval $ac_try) 2>&5
32891 ac_status=$?
32892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32893 (exit $ac_status); }; }; then
32894 eval "$as_ac_var=yes"
32895 else
32896 echo "$as_me: failed program was:" >&5
32897 sed 's/^/| /' conftest.$ac_ext >&5
32899 eval "$as_ac_var=no"
32901 rm -f conftest.err conftest.$ac_objext \
32902 conftest$ac_exeext conftest.$ac_ext
32904 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32905 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32906 if test `eval echo '${'$as_ac_var'}'` = yes; then
32907 cat >>confdefs.h <<_ACEOF
32908 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32909 _ACEOF
32912 done
32919 echo "$as_me:$LINENO: checking for sincos declaration" >&5
32920 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
32921 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
32922 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
32923 echo $ECHO_N "(cached) $ECHO_C" >&6
32924 else
32928 ac_ext=cc
32929 ac_cpp='$CXXCPP $CPPFLAGS'
32930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32934 cat >conftest.$ac_ext <<_ACEOF
32935 /* confdefs.h. */
32936 _ACEOF
32937 cat confdefs.h >>conftest.$ac_ext
32938 cat >>conftest.$ac_ext <<_ACEOF
32939 /* end confdefs.h. */
32940 #include <math.h>
32942 main ()
32944 sincos(0, 0, 0);
32946 return 0;
32948 _ACEOF
32949 rm -f conftest.$ac_objext
32950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32951 (eval $ac_compile) 2>conftest.er1
32952 ac_status=$?
32953 grep -v '^ *+' conftest.er1 >conftest.err
32954 rm -f conftest.er1
32955 cat conftest.err >&5
32956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32957 (exit $ac_status); } &&
32958 { ac_try='test -z "$ac_cxx_werror_flag"
32959 || test ! -s conftest.err'
32960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32961 (eval $ac_try) 2>&5
32962 ac_status=$?
32963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32964 (exit $ac_status); }; } &&
32965 { ac_try='test -s conftest.$ac_objext'
32966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32967 (eval $ac_try) 2>&5
32968 ac_status=$?
32969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32970 (exit $ac_status); }; }; then
32971 glibcxx_cv_func_sincos_use=yes
32972 else
32973 echo "$as_me: failed program was:" >&5
32974 sed 's/^/| /' conftest.$ac_ext >&5
32976 glibcxx_cv_func_sincos_use=no
32978 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32979 ac_ext=c
32980 ac_cpp='$CPP $CPPFLAGS'
32981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32989 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
32990 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
32992 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
32994 for ac_func in sincos
32996 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32997 echo "$as_me:$LINENO: checking for $ac_func" >&5
32998 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32999 if eval "test \"\${$as_ac_var+set}\" = set"; then
33000 echo $ECHO_N "(cached) $ECHO_C" >&6
33001 else
33002 if test x$gcc_no_link = xyes; then
33003 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33004 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33005 { (exit 1); exit 1; }; }
33007 cat >conftest.$ac_ext <<_ACEOF
33008 /* confdefs.h. */
33009 _ACEOF
33010 cat confdefs.h >>conftest.$ac_ext
33011 cat >>conftest.$ac_ext <<_ACEOF
33012 /* end confdefs.h. */
33013 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33014 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33015 #define $ac_func innocuous_$ac_func
33017 /* System header to define __stub macros and hopefully few prototypes,
33018 which can conflict with char $ac_func (); below.
33019 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33020 <limits.h> exists even on freestanding compilers. */
33022 #ifdef __STDC__
33023 # include <limits.h>
33024 #else
33025 # include <assert.h>
33026 #endif
33028 #undef $ac_func
33030 /* Override any gcc2 internal prototype to avoid an error. */
33031 #ifdef __cplusplus
33032 extern "C"
33034 #endif
33035 /* We use char because int might match the return type of a gcc2
33036 builtin and then its argument prototype would still apply. */
33037 char $ac_func ();
33038 /* The GNU C library defines this for functions which it implements
33039 to always fail with ENOSYS. Some functions are actually named
33040 something starting with __ and the normal name is an alias. */
33041 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33042 choke me
33043 #else
33044 char (*f) () = $ac_func;
33045 #endif
33046 #ifdef __cplusplus
33048 #endif
33051 main ()
33053 return f != $ac_func;
33055 return 0;
33057 _ACEOF
33058 rm -f conftest.$ac_objext conftest$ac_exeext
33059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33060 (eval $ac_link) 2>conftest.er1
33061 ac_status=$?
33062 grep -v '^ *+' conftest.er1 >conftest.err
33063 rm -f conftest.er1
33064 cat conftest.err >&5
33065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33066 (exit $ac_status); } &&
33067 { ac_try='test -z "$ac_c_werror_flag"
33068 || test ! -s conftest.err'
33069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33070 (eval $ac_try) 2>&5
33071 ac_status=$?
33072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33073 (exit $ac_status); }; } &&
33074 { ac_try='test -s conftest$ac_exeext'
33075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33076 (eval $ac_try) 2>&5
33077 ac_status=$?
33078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33079 (exit $ac_status); }; }; then
33080 eval "$as_ac_var=yes"
33081 else
33082 echo "$as_me: failed program was:" >&5
33083 sed 's/^/| /' conftest.$ac_ext >&5
33085 eval "$as_ac_var=no"
33087 rm -f conftest.err conftest.$ac_objext \
33088 conftest$ac_exeext conftest.$ac_ext
33090 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33091 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33092 if test `eval echo '${'$as_ac_var'}'` = yes; then
33093 cat >>confdefs.h <<_ACEOF
33094 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33095 _ACEOF
33098 done
33100 else
33102 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
33103 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
33104 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
33105 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
33106 echo $ECHO_N "(cached) $ECHO_C" >&6
33107 else
33111 ac_ext=cc
33112 ac_cpp='$CXXCPP $CPPFLAGS'
33113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33117 cat >conftest.$ac_ext <<_ACEOF
33118 /* confdefs.h. */
33119 _ACEOF
33120 cat confdefs.h >>conftest.$ac_ext
33121 cat >>conftest.$ac_ext <<_ACEOF
33122 /* end confdefs.h. */
33123 #include <math.h>
33125 main ()
33127 _sincos(0, 0, 0);
33129 return 0;
33131 _ACEOF
33132 rm -f conftest.$ac_objext
33133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33134 (eval $ac_compile) 2>conftest.er1
33135 ac_status=$?
33136 grep -v '^ *+' conftest.er1 >conftest.err
33137 rm -f conftest.er1
33138 cat conftest.err >&5
33139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33140 (exit $ac_status); } &&
33141 { ac_try='test -z "$ac_cxx_werror_flag"
33142 || test ! -s conftest.err'
33143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33144 (eval $ac_try) 2>&5
33145 ac_status=$?
33146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33147 (exit $ac_status); }; } &&
33148 { ac_try='test -s conftest.$ac_objext'
33149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33150 (eval $ac_try) 2>&5
33151 ac_status=$?
33152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33153 (exit $ac_status); }; }; then
33154 glibcxx_cv_func__sincos_use=yes
33155 else
33156 echo "$as_me: failed program was:" >&5
33157 sed 's/^/| /' conftest.$ac_ext >&5
33159 glibcxx_cv_func__sincos_use=no
33161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33162 ac_ext=c
33163 ac_cpp='$CPP $CPPFLAGS'
33164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33172 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
33173 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
33175 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33177 for ac_func in _sincos
33179 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33180 echo "$as_me:$LINENO: checking for $ac_func" >&5
33181 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33182 if eval "test \"\${$as_ac_var+set}\" = set"; then
33183 echo $ECHO_N "(cached) $ECHO_C" >&6
33184 else
33185 if test x$gcc_no_link = xyes; then
33186 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33187 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33188 { (exit 1); exit 1; }; }
33190 cat >conftest.$ac_ext <<_ACEOF
33191 /* confdefs.h. */
33192 _ACEOF
33193 cat confdefs.h >>conftest.$ac_ext
33194 cat >>conftest.$ac_ext <<_ACEOF
33195 /* end confdefs.h. */
33196 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33197 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33198 #define $ac_func innocuous_$ac_func
33200 /* System header to define __stub macros and hopefully few prototypes,
33201 which can conflict with char $ac_func (); below.
33202 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33203 <limits.h> exists even on freestanding compilers. */
33205 #ifdef __STDC__
33206 # include <limits.h>
33207 #else
33208 # include <assert.h>
33209 #endif
33211 #undef $ac_func
33213 /* Override any gcc2 internal prototype to avoid an error. */
33214 #ifdef __cplusplus
33215 extern "C"
33217 #endif
33218 /* We use char because int might match the return type of a gcc2
33219 builtin and then its argument prototype would still apply. */
33220 char $ac_func ();
33221 /* The GNU C library defines this for functions which it implements
33222 to always fail with ENOSYS. Some functions are actually named
33223 something starting with __ and the normal name is an alias. */
33224 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33225 choke me
33226 #else
33227 char (*f) () = $ac_func;
33228 #endif
33229 #ifdef __cplusplus
33231 #endif
33234 main ()
33236 return f != $ac_func;
33238 return 0;
33240 _ACEOF
33241 rm -f conftest.$ac_objext conftest$ac_exeext
33242 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33243 (eval $ac_link) 2>conftest.er1
33244 ac_status=$?
33245 grep -v '^ *+' conftest.er1 >conftest.err
33246 rm -f conftest.er1
33247 cat conftest.err >&5
33248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33249 (exit $ac_status); } &&
33250 { ac_try='test -z "$ac_c_werror_flag"
33251 || test ! -s conftest.err'
33252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33253 (eval $ac_try) 2>&5
33254 ac_status=$?
33255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33256 (exit $ac_status); }; } &&
33257 { ac_try='test -s conftest$ac_exeext'
33258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33259 (eval $ac_try) 2>&5
33260 ac_status=$?
33261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33262 (exit $ac_status); }; }; then
33263 eval "$as_ac_var=yes"
33264 else
33265 echo "$as_me: failed program was:" >&5
33266 sed 's/^/| /' conftest.$ac_ext >&5
33268 eval "$as_ac_var=no"
33270 rm -f conftest.err conftest.$ac_objext \
33271 conftest$ac_exeext conftest.$ac_ext
33273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33274 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33275 if test `eval echo '${'$as_ac_var'}'` = yes; then
33276 cat >>confdefs.h <<_ACEOF
33277 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33278 _ACEOF
33281 done
33288 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
33289 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
33290 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33291 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
33292 echo $ECHO_N "(cached) $ECHO_C" >&6
33293 else
33297 ac_ext=cc
33298 ac_cpp='$CXXCPP $CPPFLAGS'
33299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33303 cat >conftest.$ac_ext <<_ACEOF
33304 /* confdefs.h. */
33305 _ACEOF
33306 cat confdefs.h >>conftest.$ac_ext
33307 cat >>conftest.$ac_ext <<_ACEOF
33308 /* end confdefs.h. */
33309 #include <math.h>
33310 #ifdef HAVE_IEEEFP_H
33311 #include <ieeefp.h>
33312 #endif
33315 main ()
33317 fpclass(0);
33319 return 0;
33321 _ACEOF
33322 rm -f conftest.$ac_objext
33323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33324 (eval $ac_compile) 2>conftest.er1
33325 ac_status=$?
33326 grep -v '^ *+' conftest.er1 >conftest.err
33327 rm -f conftest.er1
33328 cat conftest.err >&5
33329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33330 (exit $ac_status); } &&
33331 { ac_try='test -z "$ac_cxx_werror_flag"
33332 || test ! -s conftest.err'
33333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33334 (eval $ac_try) 2>&5
33335 ac_status=$?
33336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33337 (exit $ac_status); }; } &&
33338 { ac_try='test -s conftest.$ac_objext'
33339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33340 (eval $ac_try) 2>&5
33341 ac_status=$?
33342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33343 (exit $ac_status); }; }; then
33344 glibcxx_cv_func_fpclass_use=yes
33345 else
33346 echo "$as_me: failed program was:" >&5
33347 sed 's/^/| /' conftest.$ac_ext >&5
33349 glibcxx_cv_func_fpclass_use=no
33351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33352 ac_ext=c
33353 ac_cpp='$CPP $CPPFLAGS'
33354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33362 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
33363 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
33365 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33367 for ac_func in fpclass
33369 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33370 echo "$as_me:$LINENO: checking for $ac_func" >&5
33371 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33372 if eval "test \"\${$as_ac_var+set}\" = set"; then
33373 echo $ECHO_N "(cached) $ECHO_C" >&6
33374 else
33375 if test x$gcc_no_link = xyes; then
33376 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33377 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33378 { (exit 1); exit 1; }; }
33380 cat >conftest.$ac_ext <<_ACEOF
33381 /* confdefs.h. */
33382 _ACEOF
33383 cat confdefs.h >>conftest.$ac_ext
33384 cat >>conftest.$ac_ext <<_ACEOF
33385 /* end confdefs.h. */
33386 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33387 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33388 #define $ac_func innocuous_$ac_func
33390 /* System header to define __stub macros and hopefully few prototypes,
33391 which can conflict with char $ac_func (); below.
33392 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33393 <limits.h> exists even on freestanding compilers. */
33395 #ifdef __STDC__
33396 # include <limits.h>
33397 #else
33398 # include <assert.h>
33399 #endif
33401 #undef $ac_func
33403 /* Override any gcc2 internal prototype to avoid an error. */
33404 #ifdef __cplusplus
33405 extern "C"
33407 #endif
33408 /* We use char because int might match the return type of a gcc2
33409 builtin and then its argument prototype would still apply. */
33410 char $ac_func ();
33411 /* The GNU C library defines this for functions which it implements
33412 to always fail with ENOSYS. Some functions are actually named
33413 something starting with __ and the normal name is an alias. */
33414 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33415 choke me
33416 #else
33417 char (*f) () = $ac_func;
33418 #endif
33419 #ifdef __cplusplus
33421 #endif
33424 main ()
33426 return f != $ac_func;
33428 return 0;
33430 _ACEOF
33431 rm -f conftest.$ac_objext conftest$ac_exeext
33432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33433 (eval $ac_link) 2>conftest.er1
33434 ac_status=$?
33435 grep -v '^ *+' conftest.er1 >conftest.err
33436 rm -f conftest.er1
33437 cat conftest.err >&5
33438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33439 (exit $ac_status); } &&
33440 { ac_try='test -z "$ac_c_werror_flag"
33441 || test ! -s conftest.err'
33442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33443 (eval $ac_try) 2>&5
33444 ac_status=$?
33445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33446 (exit $ac_status); }; } &&
33447 { ac_try='test -s conftest$ac_exeext'
33448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33449 (eval $ac_try) 2>&5
33450 ac_status=$?
33451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33452 (exit $ac_status); }; }; then
33453 eval "$as_ac_var=yes"
33454 else
33455 echo "$as_me: failed program was:" >&5
33456 sed 's/^/| /' conftest.$ac_ext >&5
33458 eval "$as_ac_var=no"
33460 rm -f conftest.err conftest.$ac_objext \
33461 conftest$ac_exeext conftest.$ac_ext
33463 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33464 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33465 if test `eval echo '${'$as_ac_var'}'` = yes; then
33466 cat >>confdefs.h <<_ACEOF
33467 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33468 _ACEOF
33471 done
33473 else
33475 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
33476 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
33477 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33478 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
33479 echo $ECHO_N "(cached) $ECHO_C" >&6
33480 else
33484 ac_ext=cc
33485 ac_cpp='$CXXCPP $CPPFLAGS'
33486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33490 cat >conftest.$ac_ext <<_ACEOF
33491 /* confdefs.h. */
33492 _ACEOF
33493 cat confdefs.h >>conftest.$ac_ext
33494 cat >>conftest.$ac_ext <<_ACEOF
33495 /* end confdefs.h. */
33496 #include <math.h>
33497 #ifdef HAVE_IEEEFP_H
33498 #include <ieeefp.h>
33499 #endif
33502 main ()
33504 _fpclass(0);
33506 return 0;
33508 _ACEOF
33509 rm -f conftest.$ac_objext
33510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33511 (eval $ac_compile) 2>conftest.er1
33512 ac_status=$?
33513 grep -v '^ *+' conftest.er1 >conftest.err
33514 rm -f conftest.er1
33515 cat conftest.err >&5
33516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33517 (exit $ac_status); } &&
33518 { ac_try='test -z "$ac_cxx_werror_flag"
33519 || test ! -s conftest.err'
33520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33521 (eval $ac_try) 2>&5
33522 ac_status=$?
33523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33524 (exit $ac_status); }; } &&
33525 { ac_try='test -s conftest.$ac_objext'
33526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33527 (eval $ac_try) 2>&5
33528 ac_status=$?
33529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33530 (exit $ac_status); }; }; then
33531 glibcxx_cv_func__fpclass_use=yes
33532 else
33533 echo "$as_me: failed program was:" >&5
33534 sed 's/^/| /' conftest.$ac_ext >&5
33536 glibcxx_cv_func__fpclass_use=no
33538 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33539 ac_ext=c
33540 ac_cpp='$CPP $CPPFLAGS'
33541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33549 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
33550 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
33552 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33554 for ac_func in _fpclass
33556 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33557 echo "$as_me:$LINENO: checking for $ac_func" >&5
33558 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33559 if eval "test \"\${$as_ac_var+set}\" = set"; then
33560 echo $ECHO_N "(cached) $ECHO_C" >&6
33561 else
33562 if test x$gcc_no_link = xyes; then
33563 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33564 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33565 { (exit 1); exit 1; }; }
33567 cat >conftest.$ac_ext <<_ACEOF
33568 /* confdefs.h. */
33569 _ACEOF
33570 cat confdefs.h >>conftest.$ac_ext
33571 cat >>conftest.$ac_ext <<_ACEOF
33572 /* end confdefs.h. */
33573 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33574 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33575 #define $ac_func innocuous_$ac_func
33577 /* System header to define __stub macros and hopefully few prototypes,
33578 which can conflict with char $ac_func (); below.
33579 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33580 <limits.h> exists even on freestanding compilers. */
33582 #ifdef __STDC__
33583 # include <limits.h>
33584 #else
33585 # include <assert.h>
33586 #endif
33588 #undef $ac_func
33590 /* Override any gcc2 internal prototype to avoid an error. */
33591 #ifdef __cplusplus
33592 extern "C"
33594 #endif
33595 /* We use char because int might match the return type of a gcc2
33596 builtin and then its argument prototype would still apply. */
33597 char $ac_func ();
33598 /* The GNU C library defines this for functions which it implements
33599 to always fail with ENOSYS. Some functions are actually named
33600 something starting with __ and the normal name is an alias. */
33601 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33602 choke me
33603 #else
33604 char (*f) () = $ac_func;
33605 #endif
33606 #ifdef __cplusplus
33608 #endif
33611 main ()
33613 return f != $ac_func;
33615 return 0;
33617 _ACEOF
33618 rm -f conftest.$ac_objext conftest$ac_exeext
33619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33620 (eval $ac_link) 2>conftest.er1
33621 ac_status=$?
33622 grep -v '^ *+' conftest.er1 >conftest.err
33623 rm -f conftest.er1
33624 cat conftest.err >&5
33625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33626 (exit $ac_status); } &&
33627 { ac_try='test -z "$ac_c_werror_flag"
33628 || test ! -s conftest.err'
33629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33630 (eval $ac_try) 2>&5
33631 ac_status=$?
33632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33633 (exit $ac_status); }; } &&
33634 { ac_try='test -s conftest$ac_exeext'
33635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33636 (eval $ac_try) 2>&5
33637 ac_status=$?
33638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33639 (exit $ac_status); }; }; then
33640 eval "$as_ac_var=yes"
33641 else
33642 echo "$as_me: failed program was:" >&5
33643 sed 's/^/| /' conftest.$ac_ext >&5
33645 eval "$as_ac_var=no"
33647 rm -f conftest.err conftest.$ac_objext \
33648 conftest$ac_exeext conftest.$ac_ext
33650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33651 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33652 if test `eval echo '${'$as_ac_var'}'` = yes; then
33653 cat >>confdefs.h <<_ACEOF
33654 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33655 _ACEOF
33658 done
33665 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
33666 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
33667 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33668 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
33669 echo $ECHO_N "(cached) $ECHO_C" >&6
33670 else
33674 ac_ext=cc
33675 ac_cpp='$CXXCPP $CPPFLAGS'
33676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33680 cat >conftest.$ac_ext <<_ACEOF
33681 /* confdefs.h. */
33682 _ACEOF
33683 cat confdefs.h >>conftest.$ac_ext
33684 cat >>conftest.$ac_ext <<_ACEOF
33685 /* end confdefs.h. */
33686 #include <math.h>
33687 #ifdef HAVE_IEEEFP_H
33688 #include <ieeefp.h>
33689 #endif
33692 main ()
33694 qfpclass(0);
33696 return 0;
33698 _ACEOF
33699 rm -f conftest.$ac_objext
33700 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33701 (eval $ac_compile) 2>conftest.er1
33702 ac_status=$?
33703 grep -v '^ *+' conftest.er1 >conftest.err
33704 rm -f conftest.er1
33705 cat conftest.err >&5
33706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33707 (exit $ac_status); } &&
33708 { ac_try='test -z "$ac_cxx_werror_flag"
33709 || test ! -s conftest.err'
33710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33711 (eval $ac_try) 2>&5
33712 ac_status=$?
33713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33714 (exit $ac_status); }; } &&
33715 { ac_try='test -s conftest.$ac_objext'
33716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33717 (eval $ac_try) 2>&5
33718 ac_status=$?
33719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33720 (exit $ac_status); }; }; then
33721 glibcxx_cv_func_qfpclass_use=yes
33722 else
33723 echo "$as_me: failed program was:" >&5
33724 sed 's/^/| /' conftest.$ac_ext >&5
33726 glibcxx_cv_func_qfpclass_use=no
33728 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33729 ac_ext=c
33730 ac_cpp='$CPP $CPPFLAGS'
33731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33739 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
33740 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
33742 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33744 for ac_func in qfpclass
33746 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33747 echo "$as_me:$LINENO: checking for $ac_func" >&5
33748 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33749 if eval "test \"\${$as_ac_var+set}\" = set"; then
33750 echo $ECHO_N "(cached) $ECHO_C" >&6
33751 else
33752 if test x$gcc_no_link = xyes; then
33753 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33754 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33755 { (exit 1); exit 1; }; }
33757 cat >conftest.$ac_ext <<_ACEOF
33758 /* confdefs.h. */
33759 _ACEOF
33760 cat confdefs.h >>conftest.$ac_ext
33761 cat >>conftest.$ac_ext <<_ACEOF
33762 /* end confdefs.h. */
33763 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33764 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33765 #define $ac_func innocuous_$ac_func
33767 /* System header to define __stub macros and hopefully few prototypes,
33768 which can conflict with char $ac_func (); below.
33769 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33770 <limits.h> exists even on freestanding compilers. */
33772 #ifdef __STDC__
33773 # include <limits.h>
33774 #else
33775 # include <assert.h>
33776 #endif
33778 #undef $ac_func
33780 /* Override any gcc2 internal prototype to avoid an error. */
33781 #ifdef __cplusplus
33782 extern "C"
33784 #endif
33785 /* We use char because int might match the return type of a gcc2
33786 builtin and then its argument prototype would still apply. */
33787 char $ac_func ();
33788 /* The GNU C library defines this for functions which it implements
33789 to always fail with ENOSYS. Some functions are actually named
33790 something starting with __ and the normal name is an alias. */
33791 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33792 choke me
33793 #else
33794 char (*f) () = $ac_func;
33795 #endif
33796 #ifdef __cplusplus
33798 #endif
33801 main ()
33803 return f != $ac_func;
33805 return 0;
33807 _ACEOF
33808 rm -f conftest.$ac_objext conftest$ac_exeext
33809 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33810 (eval $ac_link) 2>conftest.er1
33811 ac_status=$?
33812 grep -v '^ *+' conftest.er1 >conftest.err
33813 rm -f conftest.er1
33814 cat conftest.err >&5
33815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33816 (exit $ac_status); } &&
33817 { ac_try='test -z "$ac_c_werror_flag"
33818 || test ! -s conftest.err'
33819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33820 (eval $ac_try) 2>&5
33821 ac_status=$?
33822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33823 (exit $ac_status); }; } &&
33824 { ac_try='test -s conftest$ac_exeext'
33825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33826 (eval $ac_try) 2>&5
33827 ac_status=$?
33828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33829 (exit $ac_status); }; }; then
33830 eval "$as_ac_var=yes"
33831 else
33832 echo "$as_me: failed program was:" >&5
33833 sed 's/^/| /' conftest.$ac_ext >&5
33835 eval "$as_ac_var=no"
33837 rm -f conftest.err conftest.$ac_objext \
33838 conftest$ac_exeext conftest.$ac_ext
33840 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33841 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33842 if test `eval echo '${'$as_ac_var'}'` = yes; then
33843 cat >>confdefs.h <<_ACEOF
33844 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33845 _ACEOF
33848 done
33850 else
33852 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
33853 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
33854 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33855 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
33856 echo $ECHO_N "(cached) $ECHO_C" >&6
33857 else
33861 ac_ext=cc
33862 ac_cpp='$CXXCPP $CPPFLAGS'
33863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33867 cat >conftest.$ac_ext <<_ACEOF
33868 /* confdefs.h. */
33869 _ACEOF
33870 cat confdefs.h >>conftest.$ac_ext
33871 cat >>conftest.$ac_ext <<_ACEOF
33872 /* end confdefs.h. */
33873 #include <math.h>
33874 #ifdef HAVE_IEEEFP_H
33875 #include <ieeefp.h>
33876 #endif
33879 main ()
33881 _qfpclass(0);
33883 return 0;
33885 _ACEOF
33886 rm -f conftest.$ac_objext
33887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33888 (eval $ac_compile) 2>conftest.er1
33889 ac_status=$?
33890 grep -v '^ *+' conftest.er1 >conftest.err
33891 rm -f conftest.er1
33892 cat conftest.err >&5
33893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33894 (exit $ac_status); } &&
33895 { ac_try='test -z "$ac_cxx_werror_flag"
33896 || test ! -s conftest.err'
33897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33898 (eval $ac_try) 2>&5
33899 ac_status=$?
33900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33901 (exit $ac_status); }; } &&
33902 { ac_try='test -s conftest.$ac_objext'
33903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33904 (eval $ac_try) 2>&5
33905 ac_status=$?
33906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33907 (exit $ac_status); }; }; then
33908 glibcxx_cv_func__qfpclass_use=yes
33909 else
33910 echo "$as_me: failed program was:" >&5
33911 sed 's/^/| /' conftest.$ac_ext >&5
33913 glibcxx_cv_func__qfpclass_use=no
33915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33916 ac_ext=c
33917 ac_cpp='$CPP $CPPFLAGS'
33918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33926 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
33927 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
33929 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
33931 for ac_func in _qfpclass
33933 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33934 echo "$as_me:$LINENO: checking for $ac_func" >&5
33935 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33936 if eval "test \"\${$as_ac_var+set}\" = set"; then
33937 echo $ECHO_N "(cached) $ECHO_C" >&6
33938 else
33939 if test x$gcc_no_link = xyes; then
33940 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33941 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33942 { (exit 1); exit 1; }; }
33944 cat >conftest.$ac_ext <<_ACEOF
33945 /* confdefs.h. */
33946 _ACEOF
33947 cat confdefs.h >>conftest.$ac_ext
33948 cat >>conftest.$ac_ext <<_ACEOF
33949 /* end confdefs.h. */
33950 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33951 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33952 #define $ac_func innocuous_$ac_func
33954 /* System header to define __stub macros and hopefully few prototypes,
33955 which can conflict with char $ac_func (); below.
33956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33957 <limits.h> exists even on freestanding compilers. */
33959 #ifdef __STDC__
33960 # include <limits.h>
33961 #else
33962 # include <assert.h>
33963 #endif
33965 #undef $ac_func
33967 /* Override any gcc2 internal prototype to avoid an error. */
33968 #ifdef __cplusplus
33969 extern "C"
33971 #endif
33972 /* We use char because int might match the return type of a gcc2
33973 builtin and then its argument prototype would still apply. */
33974 char $ac_func ();
33975 /* The GNU C library defines this for functions which it implements
33976 to always fail with ENOSYS. Some functions are actually named
33977 something starting with __ and the normal name is an alias. */
33978 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33979 choke me
33980 #else
33981 char (*f) () = $ac_func;
33982 #endif
33983 #ifdef __cplusplus
33985 #endif
33988 main ()
33990 return f != $ac_func;
33992 return 0;
33994 _ACEOF
33995 rm -f conftest.$ac_objext conftest$ac_exeext
33996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33997 (eval $ac_link) 2>conftest.er1
33998 ac_status=$?
33999 grep -v '^ *+' conftest.er1 >conftest.err
34000 rm -f conftest.er1
34001 cat conftest.err >&5
34002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34003 (exit $ac_status); } &&
34004 { ac_try='test -z "$ac_c_werror_flag"
34005 || test ! -s conftest.err'
34006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34007 (eval $ac_try) 2>&5
34008 ac_status=$?
34009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34010 (exit $ac_status); }; } &&
34011 { ac_try='test -s conftest$ac_exeext'
34012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34013 (eval $ac_try) 2>&5
34014 ac_status=$?
34015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34016 (exit $ac_status); }; }; then
34017 eval "$as_ac_var=yes"
34018 else
34019 echo "$as_me: failed program was:" >&5
34020 sed 's/^/| /' conftest.$ac_ext >&5
34022 eval "$as_ac_var=no"
34024 rm -f conftest.err conftest.$ac_objext \
34025 conftest$ac_exeext conftest.$ac_ext
34027 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34028 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34029 if test `eval echo '${'$as_ac_var'}'` = yes; then
34030 cat >>confdefs.h <<_ACEOF
34031 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34032 _ACEOF
34035 done
34042 echo "$as_me:$LINENO: checking for hypot declaration" >&5
34043 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
34044 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34045 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
34046 echo $ECHO_N "(cached) $ECHO_C" >&6
34047 else
34051 ac_ext=cc
34052 ac_cpp='$CXXCPP $CPPFLAGS'
34053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34057 cat >conftest.$ac_ext <<_ACEOF
34058 /* confdefs.h. */
34059 _ACEOF
34060 cat confdefs.h >>conftest.$ac_ext
34061 cat >>conftest.$ac_ext <<_ACEOF
34062 /* end confdefs.h. */
34063 #include <math.h>
34065 main ()
34067 hypot(0, 0);
34069 return 0;
34071 _ACEOF
34072 rm -f conftest.$ac_objext
34073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34074 (eval $ac_compile) 2>conftest.er1
34075 ac_status=$?
34076 grep -v '^ *+' conftest.er1 >conftest.err
34077 rm -f conftest.er1
34078 cat conftest.err >&5
34079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34080 (exit $ac_status); } &&
34081 { ac_try='test -z "$ac_cxx_werror_flag"
34082 || test ! -s conftest.err'
34083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34084 (eval $ac_try) 2>&5
34085 ac_status=$?
34086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34087 (exit $ac_status); }; } &&
34088 { ac_try='test -s conftest.$ac_objext'
34089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34090 (eval $ac_try) 2>&5
34091 ac_status=$?
34092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34093 (exit $ac_status); }; }; then
34094 glibcxx_cv_func_hypot_use=yes
34095 else
34096 echo "$as_me: failed program was:" >&5
34097 sed 's/^/| /' conftest.$ac_ext >&5
34099 glibcxx_cv_func_hypot_use=no
34101 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34102 ac_ext=c
34103 ac_cpp='$CPP $CPPFLAGS'
34104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34112 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
34113 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
34115 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34117 for ac_func in hypot
34119 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34120 echo "$as_me:$LINENO: checking for $ac_func" >&5
34121 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34122 if eval "test \"\${$as_ac_var+set}\" = set"; then
34123 echo $ECHO_N "(cached) $ECHO_C" >&6
34124 else
34125 if test x$gcc_no_link = xyes; then
34126 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34127 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34128 { (exit 1); exit 1; }; }
34130 cat >conftest.$ac_ext <<_ACEOF
34131 /* confdefs.h. */
34132 _ACEOF
34133 cat confdefs.h >>conftest.$ac_ext
34134 cat >>conftest.$ac_ext <<_ACEOF
34135 /* end confdefs.h. */
34136 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34137 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34138 #define $ac_func innocuous_$ac_func
34140 /* System header to define __stub macros and hopefully few prototypes,
34141 which can conflict with char $ac_func (); below.
34142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34143 <limits.h> exists even on freestanding compilers. */
34145 #ifdef __STDC__
34146 # include <limits.h>
34147 #else
34148 # include <assert.h>
34149 #endif
34151 #undef $ac_func
34153 /* Override any gcc2 internal prototype to avoid an error. */
34154 #ifdef __cplusplus
34155 extern "C"
34157 #endif
34158 /* We use char because int might match the return type of a gcc2
34159 builtin and then its argument prototype would still apply. */
34160 char $ac_func ();
34161 /* The GNU C library defines this for functions which it implements
34162 to always fail with ENOSYS. Some functions are actually named
34163 something starting with __ and the normal name is an alias. */
34164 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34165 choke me
34166 #else
34167 char (*f) () = $ac_func;
34168 #endif
34169 #ifdef __cplusplus
34171 #endif
34174 main ()
34176 return f != $ac_func;
34178 return 0;
34180 _ACEOF
34181 rm -f conftest.$ac_objext conftest$ac_exeext
34182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34183 (eval $ac_link) 2>conftest.er1
34184 ac_status=$?
34185 grep -v '^ *+' conftest.er1 >conftest.err
34186 rm -f conftest.er1
34187 cat conftest.err >&5
34188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34189 (exit $ac_status); } &&
34190 { ac_try='test -z "$ac_c_werror_flag"
34191 || test ! -s conftest.err'
34192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34193 (eval $ac_try) 2>&5
34194 ac_status=$?
34195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34196 (exit $ac_status); }; } &&
34197 { ac_try='test -s conftest$ac_exeext'
34198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34199 (eval $ac_try) 2>&5
34200 ac_status=$?
34201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34202 (exit $ac_status); }; }; then
34203 eval "$as_ac_var=yes"
34204 else
34205 echo "$as_me: failed program was:" >&5
34206 sed 's/^/| /' conftest.$ac_ext >&5
34208 eval "$as_ac_var=no"
34210 rm -f conftest.err conftest.$ac_objext \
34211 conftest$ac_exeext conftest.$ac_ext
34213 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34214 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34215 if test `eval echo '${'$as_ac_var'}'` = yes; then
34216 cat >>confdefs.h <<_ACEOF
34217 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34218 _ACEOF
34221 done
34223 else
34225 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
34226 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
34227 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34228 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
34229 echo $ECHO_N "(cached) $ECHO_C" >&6
34230 else
34234 ac_ext=cc
34235 ac_cpp='$CXXCPP $CPPFLAGS'
34236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34240 cat >conftest.$ac_ext <<_ACEOF
34241 /* confdefs.h. */
34242 _ACEOF
34243 cat confdefs.h >>conftest.$ac_ext
34244 cat >>conftest.$ac_ext <<_ACEOF
34245 /* end confdefs.h. */
34246 #include <math.h>
34248 main ()
34250 _hypot(0, 0);
34252 return 0;
34254 _ACEOF
34255 rm -f conftest.$ac_objext
34256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34257 (eval $ac_compile) 2>conftest.er1
34258 ac_status=$?
34259 grep -v '^ *+' conftest.er1 >conftest.err
34260 rm -f conftest.er1
34261 cat conftest.err >&5
34262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34263 (exit $ac_status); } &&
34264 { ac_try='test -z "$ac_cxx_werror_flag"
34265 || test ! -s conftest.err'
34266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34267 (eval $ac_try) 2>&5
34268 ac_status=$?
34269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34270 (exit $ac_status); }; } &&
34271 { ac_try='test -s conftest.$ac_objext'
34272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34273 (eval $ac_try) 2>&5
34274 ac_status=$?
34275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34276 (exit $ac_status); }; }; then
34277 glibcxx_cv_func__hypot_use=yes
34278 else
34279 echo "$as_me: failed program was:" >&5
34280 sed 's/^/| /' conftest.$ac_ext >&5
34282 glibcxx_cv_func__hypot_use=no
34284 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34285 ac_ext=c
34286 ac_cpp='$CPP $CPPFLAGS'
34287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34295 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
34296 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
34298 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34300 for ac_func in _hypot
34302 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34303 echo "$as_me:$LINENO: checking for $ac_func" >&5
34304 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34305 if eval "test \"\${$as_ac_var+set}\" = set"; then
34306 echo $ECHO_N "(cached) $ECHO_C" >&6
34307 else
34308 if test x$gcc_no_link = xyes; then
34309 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34310 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34311 { (exit 1); exit 1; }; }
34313 cat >conftest.$ac_ext <<_ACEOF
34314 /* confdefs.h. */
34315 _ACEOF
34316 cat confdefs.h >>conftest.$ac_ext
34317 cat >>conftest.$ac_ext <<_ACEOF
34318 /* end confdefs.h. */
34319 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34320 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34321 #define $ac_func innocuous_$ac_func
34323 /* System header to define __stub macros and hopefully few prototypes,
34324 which can conflict with char $ac_func (); below.
34325 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34326 <limits.h> exists even on freestanding compilers. */
34328 #ifdef __STDC__
34329 # include <limits.h>
34330 #else
34331 # include <assert.h>
34332 #endif
34334 #undef $ac_func
34336 /* Override any gcc2 internal prototype to avoid an error. */
34337 #ifdef __cplusplus
34338 extern "C"
34340 #endif
34341 /* We use char because int might match the return type of a gcc2
34342 builtin and then its argument prototype would still apply. */
34343 char $ac_func ();
34344 /* The GNU C library defines this for functions which it implements
34345 to always fail with ENOSYS. Some functions are actually named
34346 something starting with __ and the normal name is an alias. */
34347 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34348 choke me
34349 #else
34350 char (*f) () = $ac_func;
34351 #endif
34352 #ifdef __cplusplus
34354 #endif
34357 main ()
34359 return f != $ac_func;
34361 return 0;
34363 _ACEOF
34364 rm -f conftest.$ac_objext conftest$ac_exeext
34365 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34366 (eval $ac_link) 2>conftest.er1
34367 ac_status=$?
34368 grep -v '^ *+' conftest.er1 >conftest.err
34369 rm -f conftest.er1
34370 cat conftest.err >&5
34371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34372 (exit $ac_status); } &&
34373 { ac_try='test -z "$ac_c_werror_flag"
34374 || test ! -s conftest.err'
34375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34376 (eval $ac_try) 2>&5
34377 ac_status=$?
34378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34379 (exit $ac_status); }; } &&
34380 { ac_try='test -s conftest$ac_exeext'
34381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34382 (eval $ac_try) 2>&5
34383 ac_status=$?
34384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34385 (exit $ac_status); }; }; then
34386 eval "$as_ac_var=yes"
34387 else
34388 echo "$as_me: failed program was:" >&5
34389 sed 's/^/| /' conftest.$ac_ext >&5
34391 eval "$as_ac_var=no"
34393 rm -f conftest.err conftest.$ac_objext \
34394 conftest$ac_exeext conftest.$ac_ext
34396 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34397 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34398 if test `eval echo '${'$as_ac_var'}'` = yes; then
34399 cat >>confdefs.h <<_ACEOF
34400 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34401 _ACEOF
34404 done
34411 echo "$as_me:$LINENO: checking for float trig functions" >&5
34412 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
34413 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
34414 echo $ECHO_N "(cached) $ECHO_C" >&6
34415 else
34419 ac_ext=cc
34420 ac_cpp='$CXXCPP $CPPFLAGS'
34421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34425 cat >conftest.$ac_ext <<_ACEOF
34426 /* confdefs.h. */
34427 _ACEOF
34428 cat confdefs.h >>conftest.$ac_ext
34429 cat >>conftest.$ac_ext <<_ACEOF
34430 /* end confdefs.h. */
34431 #include <math.h>
34433 main ()
34435 `for x in acosf asinf atanf \
34436 cosf sinf tanf \
34437 coshf sinhf tanhf; do echo "$x (0);"; done`
34439 return 0;
34441 _ACEOF
34442 rm -f conftest.$ac_objext
34443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34444 (eval $ac_compile) 2>conftest.er1
34445 ac_status=$?
34446 grep -v '^ *+' conftest.er1 >conftest.err
34447 rm -f conftest.er1
34448 cat conftest.err >&5
34449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34450 (exit $ac_status); } &&
34451 { ac_try='test -z "$ac_cxx_werror_flag"
34452 || test ! -s conftest.err'
34453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34454 (eval $ac_try) 2>&5
34455 ac_status=$?
34456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34457 (exit $ac_status); }; } &&
34458 { ac_try='test -s conftest.$ac_objext'
34459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34460 (eval $ac_try) 2>&5
34461 ac_status=$?
34462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34463 (exit $ac_status); }; }; then
34464 glibcxx_cv_func_float_trig_use=yes
34465 else
34466 echo "$as_me: failed program was:" >&5
34467 sed 's/^/| /' conftest.$ac_ext >&5
34469 glibcxx_cv_func_float_trig_use=no
34471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34472 ac_ext=c
34473 ac_cpp='$CPP $CPPFLAGS'
34474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34480 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
34481 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
34482 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34492 for ac_func in acosf asinf atanf \
34493 cosf sinf tanf \
34494 coshf sinhf tanhf
34496 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34497 echo "$as_me:$LINENO: checking for $ac_func" >&5
34498 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34499 if eval "test \"\${$as_ac_var+set}\" = set"; then
34500 echo $ECHO_N "(cached) $ECHO_C" >&6
34501 else
34502 if test x$gcc_no_link = xyes; then
34503 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34504 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34505 { (exit 1); exit 1; }; }
34507 cat >conftest.$ac_ext <<_ACEOF
34508 /* confdefs.h. */
34509 _ACEOF
34510 cat confdefs.h >>conftest.$ac_ext
34511 cat >>conftest.$ac_ext <<_ACEOF
34512 /* end confdefs.h. */
34513 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34514 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34515 #define $ac_func innocuous_$ac_func
34517 /* System header to define __stub macros and hopefully few prototypes,
34518 which can conflict with char $ac_func (); below.
34519 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34520 <limits.h> exists even on freestanding compilers. */
34522 #ifdef __STDC__
34523 # include <limits.h>
34524 #else
34525 # include <assert.h>
34526 #endif
34528 #undef $ac_func
34530 /* Override any gcc2 internal prototype to avoid an error. */
34531 #ifdef __cplusplus
34532 extern "C"
34534 #endif
34535 /* We use char because int might match the return type of a gcc2
34536 builtin and then its argument prototype would still apply. */
34537 char $ac_func ();
34538 /* The GNU C library defines this for functions which it implements
34539 to always fail with ENOSYS. Some functions are actually named
34540 something starting with __ and the normal name is an alias. */
34541 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34542 choke me
34543 #else
34544 char (*f) () = $ac_func;
34545 #endif
34546 #ifdef __cplusplus
34548 #endif
34551 main ()
34553 return f != $ac_func;
34555 return 0;
34557 _ACEOF
34558 rm -f conftest.$ac_objext conftest$ac_exeext
34559 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34560 (eval $ac_link) 2>conftest.er1
34561 ac_status=$?
34562 grep -v '^ *+' conftest.er1 >conftest.err
34563 rm -f conftest.er1
34564 cat conftest.err >&5
34565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34566 (exit $ac_status); } &&
34567 { ac_try='test -z "$ac_c_werror_flag"
34568 || test ! -s conftest.err'
34569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34570 (eval $ac_try) 2>&5
34571 ac_status=$?
34572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34573 (exit $ac_status); }; } &&
34574 { ac_try='test -s conftest$ac_exeext'
34575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34576 (eval $ac_try) 2>&5
34577 ac_status=$?
34578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34579 (exit $ac_status); }; }; then
34580 eval "$as_ac_var=yes"
34581 else
34582 echo "$as_me: failed program was:" >&5
34583 sed 's/^/| /' conftest.$ac_ext >&5
34585 eval "$as_ac_var=no"
34587 rm -f conftest.err conftest.$ac_objext \
34588 conftest$ac_exeext conftest.$ac_ext
34590 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34591 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34592 if test `eval echo '${'$as_ac_var'}'` = yes; then
34593 cat >>confdefs.h <<_ACEOF
34594 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34595 _ACEOF
34598 done
34603 echo "$as_me:$LINENO: checking for float round functions" >&5
34604 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
34605 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
34606 echo $ECHO_N "(cached) $ECHO_C" >&6
34607 else
34611 ac_ext=cc
34612 ac_cpp='$CXXCPP $CPPFLAGS'
34613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34617 cat >conftest.$ac_ext <<_ACEOF
34618 /* confdefs.h. */
34619 _ACEOF
34620 cat confdefs.h >>conftest.$ac_ext
34621 cat >>conftest.$ac_ext <<_ACEOF
34622 /* end confdefs.h. */
34623 #include <math.h>
34625 main ()
34627 `for x in ceilf floorf; do echo "$x (0);"; done`
34629 return 0;
34631 _ACEOF
34632 rm -f conftest.$ac_objext
34633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34634 (eval $ac_compile) 2>conftest.er1
34635 ac_status=$?
34636 grep -v '^ *+' conftest.er1 >conftest.err
34637 rm -f conftest.er1
34638 cat conftest.err >&5
34639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34640 (exit $ac_status); } &&
34641 { ac_try='test -z "$ac_cxx_werror_flag"
34642 || test ! -s conftest.err'
34643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34644 (eval $ac_try) 2>&5
34645 ac_status=$?
34646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34647 (exit $ac_status); }; } &&
34648 { ac_try='test -s conftest.$ac_objext'
34649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34650 (eval $ac_try) 2>&5
34651 ac_status=$?
34652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34653 (exit $ac_status); }; }; then
34654 glibcxx_cv_func_float_round_use=yes
34655 else
34656 echo "$as_me: failed program was:" >&5
34657 sed 's/^/| /' conftest.$ac_ext >&5
34659 glibcxx_cv_func_float_round_use=no
34661 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34662 ac_ext=c
34663 ac_cpp='$CPP $CPPFLAGS'
34664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34670 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
34671 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
34672 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34675 for ac_func in ceilf floorf
34677 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34678 echo "$as_me:$LINENO: checking for $ac_func" >&5
34679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34680 if eval "test \"\${$as_ac_var+set}\" = set"; then
34681 echo $ECHO_N "(cached) $ECHO_C" >&6
34682 else
34683 if test x$gcc_no_link = xyes; then
34684 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34685 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34686 { (exit 1); exit 1; }; }
34688 cat >conftest.$ac_ext <<_ACEOF
34689 /* confdefs.h. */
34690 _ACEOF
34691 cat confdefs.h >>conftest.$ac_ext
34692 cat >>conftest.$ac_ext <<_ACEOF
34693 /* end confdefs.h. */
34694 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34695 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34696 #define $ac_func innocuous_$ac_func
34698 /* System header to define __stub macros and hopefully few prototypes,
34699 which can conflict with char $ac_func (); below.
34700 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34701 <limits.h> exists even on freestanding compilers. */
34703 #ifdef __STDC__
34704 # include <limits.h>
34705 #else
34706 # include <assert.h>
34707 #endif
34709 #undef $ac_func
34711 /* Override any gcc2 internal prototype to avoid an error. */
34712 #ifdef __cplusplus
34713 extern "C"
34715 #endif
34716 /* We use char because int might match the return type of a gcc2
34717 builtin and then its argument prototype would still apply. */
34718 char $ac_func ();
34719 /* The GNU C library defines this for functions which it implements
34720 to always fail with ENOSYS. Some functions are actually named
34721 something starting with __ and the normal name is an alias. */
34722 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34723 choke me
34724 #else
34725 char (*f) () = $ac_func;
34726 #endif
34727 #ifdef __cplusplus
34729 #endif
34732 main ()
34734 return f != $ac_func;
34736 return 0;
34738 _ACEOF
34739 rm -f conftest.$ac_objext conftest$ac_exeext
34740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34741 (eval $ac_link) 2>conftest.er1
34742 ac_status=$?
34743 grep -v '^ *+' conftest.er1 >conftest.err
34744 rm -f conftest.er1
34745 cat conftest.err >&5
34746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34747 (exit $ac_status); } &&
34748 { ac_try='test -z "$ac_c_werror_flag"
34749 || test ! -s conftest.err'
34750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34751 (eval $ac_try) 2>&5
34752 ac_status=$?
34753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34754 (exit $ac_status); }; } &&
34755 { ac_try='test -s conftest$ac_exeext'
34756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34757 (eval $ac_try) 2>&5
34758 ac_status=$?
34759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34760 (exit $ac_status); }; }; then
34761 eval "$as_ac_var=yes"
34762 else
34763 echo "$as_me: failed program was:" >&5
34764 sed 's/^/| /' conftest.$ac_ext >&5
34766 eval "$as_ac_var=no"
34768 rm -f conftest.err conftest.$ac_objext \
34769 conftest$ac_exeext conftest.$ac_ext
34771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34772 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34773 if test `eval echo '${'$as_ac_var'}'` = yes; then
34774 cat >>confdefs.h <<_ACEOF
34775 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34776 _ACEOF
34779 done
34785 echo "$as_me:$LINENO: checking for expf declaration" >&5
34786 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
34787 if test x${glibcxx_cv_func_expf_use+set} != xset; then
34788 if test "${glibcxx_cv_func_expf_use+set}" = set; then
34789 echo $ECHO_N "(cached) $ECHO_C" >&6
34790 else
34794 ac_ext=cc
34795 ac_cpp='$CXXCPP $CPPFLAGS'
34796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34800 cat >conftest.$ac_ext <<_ACEOF
34801 /* confdefs.h. */
34802 _ACEOF
34803 cat confdefs.h >>conftest.$ac_ext
34804 cat >>conftest.$ac_ext <<_ACEOF
34805 /* end confdefs.h. */
34806 #include <math.h>
34807 #ifdef HAVE_IEEEFP_H
34808 #include <ieeefp.h>
34809 #endif
34812 main ()
34814 expf(0);
34816 return 0;
34818 _ACEOF
34819 rm -f conftest.$ac_objext
34820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34821 (eval $ac_compile) 2>conftest.er1
34822 ac_status=$?
34823 grep -v '^ *+' conftest.er1 >conftest.err
34824 rm -f conftest.er1
34825 cat conftest.err >&5
34826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34827 (exit $ac_status); } &&
34828 { ac_try='test -z "$ac_cxx_werror_flag"
34829 || test ! -s conftest.err'
34830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34831 (eval $ac_try) 2>&5
34832 ac_status=$?
34833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34834 (exit $ac_status); }; } &&
34835 { ac_try='test -s conftest.$ac_objext'
34836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34837 (eval $ac_try) 2>&5
34838 ac_status=$?
34839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34840 (exit $ac_status); }; }; then
34841 glibcxx_cv_func_expf_use=yes
34842 else
34843 echo "$as_me: failed program was:" >&5
34844 sed 's/^/| /' conftest.$ac_ext >&5
34846 glibcxx_cv_func_expf_use=no
34848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34849 ac_ext=c
34850 ac_cpp='$CPP $CPPFLAGS'
34851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34859 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
34860 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
34862 if test x$glibcxx_cv_func_expf_use = x"yes"; then
34864 for ac_func in expf
34866 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34867 echo "$as_me:$LINENO: checking for $ac_func" >&5
34868 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34869 if eval "test \"\${$as_ac_var+set}\" = set"; then
34870 echo $ECHO_N "(cached) $ECHO_C" >&6
34871 else
34872 if test x$gcc_no_link = xyes; then
34873 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34874 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34875 { (exit 1); exit 1; }; }
34877 cat >conftest.$ac_ext <<_ACEOF
34878 /* confdefs.h. */
34879 _ACEOF
34880 cat confdefs.h >>conftest.$ac_ext
34881 cat >>conftest.$ac_ext <<_ACEOF
34882 /* end confdefs.h. */
34883 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34884 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34885 #define $ac_func innocuous_$ac_func
34887 /* System header to define __stub macros and hopefully few prototypes,
34888 which can conflict with char $ac_func (); below.
34889 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34890 <limits.h> exists even on freestanding compilers. */
34892 #ifdef __STDC__
34893 # include <limits.h>
34894 #else
34895 # include <assert.h>
34896 #endif
34898 #undef $ac_func
34900 /* Override any gcc2 internal prototype to avoid an error. */
34901 #ifdef __cplusplus
34902 extern "C"
34904 #endif
34905 /* We use char because int might match the return type of a gcc2
34906 builtin and then its argument prototype would still apply. */
34907 char $ac_func ();
34908 /* The GNU C library defines this for functions which it implements
34909 to always fail with ENOSYS. Some functions are actually named
34910 something starting with __ and the normal name is an alias. */
34911 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34912 choke me
34913 #else
34914 char (*f) () = $ac_func;
34915 #endif
34916 #ifdef __cplusplus
34918 #endif
34921 main ()
34923 return f != $ac_func;
34925 return 0;
34927 _ACEOF
34928 rm -f conftest.$ac_objext conftest$ac_exeext
34929 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34930 (eval $ac_link) 2>conftest.er1
34931 ac_status=$?
34932 grep -v '^ *+' conftest.er1 >conftest.err
34933 rm -f conftest.er1
34934 cat conftest.err >&5
34935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34936 (exit $ac_status); } &&
34937 { ac_try='test -z "$ac_c_werror_flag"
34938 || test ! -s conftest.err'
34939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34940 (eval $ac_try) 2>&5
34941 ac_status=$?
34942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34943 (exit $ac_status); }; } &&
34944 { ac_try='test -s conftest$ac_exeext'
34945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34946 (eval $ac_try) 2>&5
34947 ac_status=$?
34948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34949 (exit $ac_status); }; }; then
34950 eval "$as_ac_var=yes"
34951 else
34952 echo "$as_me: failed program was:" >&5
34953 sed 's/^/| /' conftest.$ac_ext >&5
34955 eval "$as_ac_var=no"
34957 rm -f conftest.err conftest.$ac_objext \
34958 conftest$ac_exeext conftest.$ac_ext
34960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34961 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34962 if test `eval echo '${'$as_ac_var'}'` = yes; then
34963 cat >>confdefs.h <<_ACEOF
34964 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34965 _ACEOF
34968 done
34970 else
34972 echo "$as_me:$LINENO: checking for _expf declaration" >&5
34973 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
34974 if test x${glibcxx_cv_func__expf_use+set} != xset; then
34975 if test "${glibcxx_cv_func__expf_use+set}" = set; then
34976 echo $ECHO_N "(cached) $ECHO_C" >&6
34977 else
34981 ac_ext=cc
34982 ac_cpp='$CXXCPP $CPPFLAGS'
34983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34987 cat >conftest.$ac_ext <<_ACEOF
34988 /* confdefs.h. */
34989 _ACEOF
34990 cat confdefs.h >>conftest.$ac_ext
34991 cat >>conftest.$ac_ext <<_ACEOF
34992 /* end confdefs.h. */
34993 #include <math.h>
34994 #ifdef HAVE_IEEEFP_H
34995 #include <ieeefp.h>
34996 #endif
34999 main ()
35001 _expf(0);
35003 return 0;
35005 _ACEOF
35006 rm -f conftest.$ac_objext
35007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35008 (eval $ac_compile) 2>conftest.er1
35009 ac_status=$?
35010 grep -v '^ *+' conftest.er1 >conftest.err
35011 rm -f conftest.er1
35012 cat conftest.err >&5
35013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35014 (exit $ac_status); } &&
35015 { ac_try='test -z "$ac_cxx_werror_flag"
35016 || test ! -s conftest.err'
35017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35018 (eval $ac_try) 2>&5
35019 ac_status=$?
35020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35021 (exit $ac_status); }; } &&
35022 { ac_try='test -s conftest.$ac_objext'
35023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35024 (eval $ac_try) 2>&5
35025 ac_status=$?
35026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35027 (exit $ac_status); }; }; then
35028 glibcxx_cv_func__expf_use=yes
35029 else
35030 echo "$as_me: failed program was:" >&5
35031 sed 's/^/| /' conftest.$ac_ext >&5
35033 glibcxx_cv_func__expf_use=no
35035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35036 ac_ext=c
35037 ac_cpp='$CPP $CPPFLAGS'
35038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35046 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
35047 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
35049 if test x$glibcxx_cv_func__expf_use = x"yes"; then
35051 for ac_func in _expf
35053 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35054 echo "$as_me:$LINENO: checking for $ac_func" >&5
35055 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35056 if eval "test \"\${$as_ac_var+set}\" = set"; then
35057 echo $ECHO_N "(cached) $ECHO_C" >&6
35058 else
35059 if test x$gcc_no_link = xyes; then
35060 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35061 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35062 { (exit 1); exit 1; }; }
35064 cat >conftest.$ac_ext <<_ACEOF
35065 /* confdefs.h. */
35066 _ACEOF
35067 cat confdefs.h >>conftest.$ac_ext
35068 cat >>conftest.$ac_ext <<_ACEOF
35069 /* end confdefs.h. */
35070 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35072 #define $ac_func innocuous_$ac_func
35074 /* System header to define __stub macros and hopefully few prototypes,
35075 which can conflict with char $ac_func (); below.
35076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35077 <limits.h> exists even on freestanding compilers. */
35079 #ifdef __STDC__
35080 # include <limits.h>
35081 #else
35082 # include <assert.h>
35083 #endif
35085 #undef $ac_func
35087 /* Override any gcc2 internal prototype to avoid an error. */
35088 #ifdef __cplusplus
35089 extern "C"
35091 #endif
35092 /* We use char because int might match the return type of a gcc2
35093 builtin and then its argument prototype would still apply. */
35094 char $ac_func ();
35095 /* The GNU C library defines this for functions which it implements
35096 to always fail with ENOSYS. Some functions are actually named
35097 something starting with __ and the normal name is an alias. */
35098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35099 choke me
35100 #else
35101 char (*f) () = $ac_func;
35102 #endif
35103 #ifdef __cplusplus
35105 #endif
35108 main ()
35110 return f != $ac_func;
35112 return 0;
35114 _ACEOF
35115 rm -f conftest.$ac_objext conftest$ac_exeext
35116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35117 (eval $ac_link) 2>conftest.er1
35118 ac_status=$?
35119 grep -v '^ *+' conftest.er1 >conftest.err
35120 rm -f conftest.er1
35121 cat conftest.err >&5
35122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35123 (exit $ac_status); } &&
35124 { ac_try='test -z "$ac_c_werror_flag"
35125 || test ! -s conftest.err'
35126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35127 (eval $ac_try) 2>&5
35128 ac_status=$?
35129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35130 (exit $ac_status); }; } &&
35131 { ac_try='test -s conftest$ac_exeext'
35132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35133 (eval $ac_try) 2>&5
35134 ac_status=$?
35135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35136 (exit $ac_status); }; }; then
35137 eval "$as_ac_var=yes"
35138 else
35139 echo "$as_me: failed program was:" >&5
35140 sed 's/^/| /' conftest.$ac_ext >&5
35142 eval "$as_ac_var=no"
35144 rm -f conftest.err conftest.$ac_objext \
35145 conftest$ac_exeext conftest.$ac_ext
35147 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35148 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35149 if test `eval echo '${'$as_ac_var'}'` = yes; then
35150 cat >>confdefs.h <<_ACEOF
35151 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35152 _ACEOF
35155 done
35162 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
35163 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
35164 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
35165 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
35166 echo $ECHO_N "(cached) $ECHO_C" >&6
35167 else
35171 ac_ext=cc
35172 ac_cpp='$CXXCPP $CPPFLAGS'
35173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35177 cat >conftest.$ac_ext <<_ACEOF
35178 /* confdefs.h. */
35179 _ACEOF
35180 cat confdefs.h >>conftest.$ac_ext
35181 cat >>conftest.$ac_ext <<_ACEOF
35182 /* end confdefs.h. */
35183 #include <math.h>
35184 #ifdef HAVE_IEEEFP_H
35185 #include <ieeefp.h>
35186 #endif
35189 main ()
35191 isnanf(0);
35193 return 0;
35195 _ACEOF
35196 rm -f conftest.$ac_objext
35197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35198 (eval $ac_compile) 2>conftest.er1
35199 ac_status=$?
35200 grep -v '^ *+' conftest.er1 >conftest.err
35201 rm -f conftest.er1
35202 cat conftest.err >&5
35203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35204 (exit $ac_status); } &&
35205 { ac_try='test -z "$ac_cxx_werror_flag"
35206 || test ! -s conftest.err'
35207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35208 (eval $ac_try) 2>&5
35209 ac_status=$?
35210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35211 (exit $ac_status); }; } &&
35212 { ac_try='test -s conftest.$ac_objext'
35213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35214 (eval $ac_try) 2>&5
35215 ac_status=$?
35216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35217 (exit $ac_status); }; }; then
35218 glibcxx_cv_func_isnanf_use=yes
35219 else
35220 echo "$as_me: failed program was:" >&5
35221 sed 's/^/| /' conftest.$ac_ext >&5
35223 glibcxx_cv_func_isnanf_use=no
35225 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35226 ac_ext=c
35227 ac_cpp='$CPP $CPPFLAGS'
35228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35236 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
35237 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
35239 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
35241 for ac_func in isnanf
35243 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35244 echo "$as_me:$LINENO: checking for $ac_func" >&5
35245 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35246 if eval "test \"\${$as_ac_var+set}\" = set"; then
35247 echo $ECHO_N "(cached) $ECHO_C" >&6
35248 else
35249 if test x$gcc_no_link = xyes; then
35250 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35251 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35252 { (exit 1); exit 1; }; }
35254 cat >conftest.$ac_ext <<_ACEOF
35255 /* confdefs.h. */
35256 _ACEOF
35257 cat confdefs.h >>conftest.$ac_ext
35258 cat >>conftest.$ac_ext <<_ACEOF
35259 /* end confdefs.h. */
35260 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35261 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35262 #define $ac_func innocuous_$ac_func
35264 /* System header to define __stub macros and hopefully few prototypes,
35265 which can conflict with char $ac_func (); below.
35266 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35267 <limits.h> exists even on freestanding compilers. */
35269 #ifdef __STDC__
35270 # include <limits.h>
35271 #else
35272 # include <assert.h>
35273 #endif
35275 #undef $ac_func
35277 /* Override any gcc2 internal prototype to avoid an error. */
35278 #ifdef __cplusplus
35279 extern "C"
35281 #endif
35282 /* We use char because int might match the return type of a gcc2
35283 builtin and then its argument prototype would still apply. */
35284 char $ac_func ();
35285 /* The GNU C library defines this for functions which it implements
35286 to always fail with ENOSYS. Some functions are actually named
35287 something starting with __ and the normal name is an alias. */
35288 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35289 choke me
35290 #else
35291 char (*f) () = $ac_func;
35292 #endif
35293 #ifdef __cplusplus
35295 #endif
35298 main ()
35300 return f != $ac_func;
35302 return 0;
35304 _ACEOF
35305 rm -f conftest.$ac_objext conftest$ac_exeext
35306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35307 (eval $ac_link) 2>conftest.er1
35308 ac_status=$?
35309 grep -v '^ *+' conftest.er1 >conftest.err
35310 rm -f conftest.er1
35311 cat conftest.err >&5
35312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35313 (exit $ac_status); } &&
35314 { ac_try='test -z "$ac_c_werror_flag"
35315 || test ! -s conftest.err'
35316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35317 (eval $ac_try) 2>&5
35318 ac_status=$?
35319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35320 (exit $ac_status); }; } &&
35321 { ac_try='test -s conftest$ac_exeext'
35322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35323 (eval $ac_try) 2>&5
35324 ac_status=$?
35325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35326 (exit $ac_status); }; }; then
35327 eval "$as_ac_var=yes"
35328 else
35329 echo "$as_me: failed program was:" >&5
35330 sed 's/^/| /' conftest.$ac_ext >&5
35332 eval "$as_ac_var=no"
35334 rm -f conftest.err conftest.$ac_objext \
35335 conftest$ac_exeext conftest.$ac_ext
35337 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35338 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35339 if test `eval echo '${'$as_ac_var'}'` = yes; then
35340 cat >>confdefs.h <<_ACEOF
35341 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35342 _ACEOF
35345 done
35347 else
35349 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
35350 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
35351 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35352 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
35353 echo $ECHO_N "(cached) $ECHO_C" >&6
35354 else
35358 ac_ext=cc
35359 ac_cpp='$CXXCPP $CPPFLAGS'
35360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35364 cat >conftest.$ac_ext <<_ACEOF
35365 /* confdefs.h. */
35366 _ACEOF
35367 cat confdefs.h >>conftest.$ac_ext
35368 cat >>conftest.$ac_ext <<_ACEOF
35369 /* end confdefs.h. */
35370 #include <math.h>
35371 #ifdef HAVE_IEEEFP_H
35372 #include <ieeefp.h>
35373 #endif
35376 main ()
35378 _isnanf(0);
35380 return 0;
35382 _ACEOF
35383 rm -f conftest.$ac_objext
35384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35385 (eval $ac_compile) 2>conftest.er1
35386 ac_status=$?
35387 grep -v '^ *+' conftest.er1 >conftest.err
35388 rm -f conftest.er1
35389 cat conftest.err >&5
35390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35391 (exit $ac_status); } &&
35392 { ac_try='test -z "$ac_cxx_werror_flag"
35393 || test ! -s conftest.err'
35394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35395 (eval $ac_try) 2>&5
35396 ac_status=$?
35397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35398 (exit $ac_status); }; } &&
35399 { ac_try='test -s conftest.$ac_objext'
35400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35401 (eval $ac_try) 2>&5
35402 ac_status=$?
35403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35404 (exit $ac_status); }; }; then
35405 glibcxx_cv_func__isnanf_use=yes
35406 else
35407 echo "$as_me: failed program was:" >&5
35408 sed 's/^/| /' conftest.$ac_ext >&5
35410 glibcxx_cv_func__isnanf_use=no
35412 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35413 ac_ext=c
35414 ac_cpp='$CPP $CPPFLAGS'
35415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35423 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
35424 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
35426 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35428 for ac_func in _isnanf
35430 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35431 echo "$as_me:$LINENO: checking for $ac_func" >&5
35432 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35433 if eval "test \"\${$as_ac_var+set}\" = set"; then
35434 echo $ECHO_N "(cached) $ECHO_C" >&6
35435 else
35436 if test x$gcc_no_link = xyes; then
35437 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35438 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35439 { (exit 1); exit 1; }; }
35441 cat >conftest.$ac_ext <<_ACEOF
35442 /* confdefs.h. */
35443 _ACEOF
35444 cat confdefs.h >>conftest.$ac_ext
35445 cat >>conftest.$ac_ext <<_ACEOF
35446 /* end confdefs.h. */
35447 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35448 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35449 #define $ac_func innocuous_$ac_func
35451 /* System header to define __stub macros and hopefully few prototypes,
35452 which can conflict with char $ac_func (); below.
35453 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35454 <limits.h> exists even on freestanding compilers. */
35456 #ifdef __STDC__
35457 # include <limits.h>
35458 #else
35459 # include <assert.h>
35460 #endif
35462 #undef $ac_func
35464 /* Override any gcc2 internal prototype to avoid an error. */
35465 #ifdef __cplusplus
35466 extern "C"
35468 #endif
35469 /* We use char because int might match the return type of a gcc2
35470 builtin and then its argument prototype would still apply. */
35471 char $ac_func ();
35472 /* The GNU C library defines this for functions which it implements
35473 to always fail with ENOSYS. Some functions are actually named
35474 something starting with __ and the normal name is an alias. */
35475 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35476 choke me
35477 #else
35478 char (*f) () = $ac_func;
35479 #endif
35480 #ifdef __cplusplus
35482 #endif
35485 main ()
35487 return f != $ac_func;
35489 return 0;
35491 _ACEOF
35492 rm -f conftest.$ac_objext conftest$ac_exeext
35493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35494 (eval $ac_link) 2>conftest.er1
35495 ac_status=$?
35496 grep -v '^ *+' conftest.er1 >conftest.err
35497 rm -f conftest.er1
35498 cat conftest.err >&5
35499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35500 (exit $ac_status); } &&
35501 { ac_try='test -z "$ac_c_werror_flag"
35502 || test ! -s conftest.err'
35503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35504 (eval $ac_try) 2>&5
35505 ac_status=$?
35506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35507 (exit $ac_status); }; } &&
35508 { ac_try='test -s conftest$ac_exeext'
35509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35510 (eval $ac_try) 2>&5
35511 ac_status=$?
35512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35513 (exit $ac_status); }; }; then
35514 eval "$as_ac_var=yes"
35515 else
35516 echo "$as_me: failed program was:" >&5
35517 sed 's/^/| /' conftest.$ac_ext >&5
35519 eval "$as_ac_var=no"
35521 rm -f conftest.err conftest.$ac_objext \
35522 conftest$ac_exeext conftest.$ac_ext
35524 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35525 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35526 if test `eval echo '${'$as_ac_var'}'` = yes; then
35527 cat >>confdefs.h <<_ACEOF
35528 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35529 _ACEOF
35532 done
35539 echo "$as_me:$LINENO: checking for isinff declaration" >&5
35540 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
35541 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35542 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
35543 echo $ECHO_N "(cached) $ECHO_C" >&6
35544 else
35548 ac_ext=cc
35549 ac_cpp='$CXXCPP $CPPFLAGS'
35550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35554 cat >conftest.$ac_ext <<_ACEOF
35555 /* confdefs.h. */
35556 _ACEOF
35557 cat confdefs.h >>conftest.$ac_ext
35558 cat >>conftest.$ac_ext <<_ACEOF
35559 /* end confdefs.h. */
35560 #include <math.h>
35561 #ifdef HAVE_IEEEFP_H
35562 #include <ieeefp.h>
35563 #endif
35566 main ()
35568 isinff(0);
35570 return 0;
35572 _ACEOF
35573 rm -f conftest.$ac_objext
35574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35575 (eval $ac_compile) 2>conftest.er1
35576 ac_status=$?
35577 grep -v '^ *+' conftest.er1 >conftest.err
35578 rm -f conftest.er1
35579 cat conftest.err >&5
35580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35581 (exit $ac_status); } &&
35582 { ac_try='test -z "$ac_cxx_werror_flag"
35583 || test ! -s conftest.err'
35584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35585 (eval $ac_try) 2>&5
35586 ac_status=$?
35587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35588 (exit $ac_status); }; } &&
35589 { ac_try='test -s conftest.$ac_objext'
35590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35591 (eval $ac_try) 2>&5
35592 ac_status=$?
35593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35594 (exit $ac_status); }; }; then
35595 glibcxx_cv_func_isinff_use=yes
35596 else
35597 echo "$as_me: failed program was:" >&5
35598 sed 's/^/| /' conftest.$ac_ext >&5
35600 glibcxx_cv_func_isinff_use=no
35602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35603 ac_ext=c
35604 ac_cpp='$CPP $CPPFLAGS'
35605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35613 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
35614 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
35616 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35618 for ac_func in isinff
35620 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35621 echo "$as_me:$LINENO: checking for $ac_func" >&5
35622 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35623 if eval "test \"\${$as_ac_var+set}\" = set"; then
35624 echo $ECHO_N "(cached) $ECHO_C" >&6
35625 else
35626 if test x$gcc_no_link = xyes; then
35627 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35628 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35629 { (exit 1); exit 1; }; }
35631 cat >conftest.$ac_ext <<_ACEOF
35632 /* confdefs.h. */
35633 _ACEOF
35634 cat confdefs.h >>conftest.$ac_ext
35635 cat >>conftest.$ac_ext <<_ACEOF
35636 /* end confdefs.h. */
35637 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35638 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35639 #define $ac_func innocuous_$ac_func
35641 /* System header to define __stub macros and hopefully few prototypes,
35642 which can conflict with char $ac_func (); below.
35643 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35644 <limits.h> exists even on freestanding compilers. */
35646 #ifdef __STDC__
35647 # include <limits.h>
35648 #else
35649 # include <assert.h>
35650 #endif
35652 #undef $ac_func
35654 /* Override any gcc2 internal prototype to avoid an error. */
35655 #ifdef __cplusplus
35656 extern "C"
35658 #endif
35659 /* We use char because int might match the return type of a gcc2
35660 builtin and then its argument prototype would still apply. */
35661 char $ac_func ();
35662 /* The GNU C library defines this for functions which it implements
35663 to always fail with ENOSYS. Some functions are actually named
35664 something starting with __ and the normal name is an alias. */
35665 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35666 choke me
35667 #else
35668 char (*f) () = $ac_func;
35669 #endif
35670 #ifdef __cplusplus
35672 #endif
35675 main ()
35677 return f != $ac_func;
35679 return 0;
35681 _ACEOF
35682 rm -f conftest.$ac_objext conftest$ac_exeext
35683 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35684 (eval $ac_link) 2>conftest.er1
35685 ac_status=$?
35686 grep -v '^ *+' conftest.er1 >conftest.err
35687 rm -f conftest.er1
35688 cat conftest.err >&5
35689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35690 (exit $ac_status); } &&
35691 { ac_try='test -z "$ac_c_werror_flag"
35692 || test ! -s conftest.err'
35693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35694 (eval $ac_try) 2>&5
35695 ac_status=$?
35696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35697 (exit $ac_status); }; } &&
35698 { ac_try='test -s conftest$ac_exeext'
35699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35700 (eval $ac_try) 2>&5
35701 ac_status=$?
35702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35703 (exit $ac_status); }; }; then
35704 eval "$as_ac_var=yes"
35705 else
35706 echo "$as_me: failed program was:" >&5
35707 sed 's/^/| /' conftest.$ac_ext >&5
35709 eval "$as_ac_var=no"
35711 rm -f conftest.err conftest.$ac_objext \
35712 conftest$ac_exeext conftest.$ac_ext
35714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35715 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35716 if test `eval echo '${'$as_ac_var'}'` = yes; then
35717 cat >>confdefs.h <<_ACEOF
35718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35719 _ACEOF
35722 done
35724 else
35726 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
35727 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
35728 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
35729 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
35730 echo $ECHO_N "(cached) $ECHO_C" >&6
35731 else
35735 ac_ext=cc
35736 ac_cpp='$CXXCPP $CPPFLAGS'
35737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35741 cat >conftest.$ac_ext <<_ACEOF
35742 /* confdefs.h. */
35743 _ACEOF
35744 cat confdefs.h >>conftest.$ac_ext
35745 cat >>conftest.$ac_ext <<_ACEOF
35746 /* end confdefs.h. */
35747 #include <math.h>
35748 #ifdef HAVE_IEEEFP_H
35749 #include <ieeefp.h>
35750 #endif
35753 main ()
35755 _isinff(0);
35757 return 0;
35759 _ACEOF
35760 rm -f conftest.$ac_objext
35761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35762 (eval $ac_compile) 2>conftest.er1
35763 ac_status=$?
35764 grep -v '^ *+' conftest.er1 >conftest.err
35765 rm -f conftest.er1
35766 cat conftest.err >&5
35767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35768 (exit $ac_status); } &&
35769 { ac_try='test -z "$ac_cxx_werror_flag"
35770 || test ! -s conftest.err'
35771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35772 (eval $ac_try) 2>&5
35773 ac_status=$?
35774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35775 (exit $ac_status); }; } &&
35776 { ac_try='test -s conftest.$ac_objext'
35777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35778 (eval $ac_try) 2>&5
35779 ac_status=$?
35780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35781 (exit $ac_status); }; }; then
35782 glibcxx_cv_func__isinff_use=yes
35783 else
35784 echo "$as_me: failed program was:" >&5
35785 sed 's/^/| /' conftest.$ac_ext >&5
35787 glibcxx_cv_func__isinff_use=no
35789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35790 ac_ext=c
35791 ac_cpp='$CPP $CPPFLAGS'
35792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35800 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
35801 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
35803 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
35805 for ac_func in _isinff
35807 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35808 echo "$as_me:$LINENO: checking for $ac_func" >&5
35809 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35810 if eval "test \"\${$as_ac_var+set}\" = set"; then
35811 echo $ECHO_N "(cached) $ECHO_C" >&6
35812 else
35813 if test x$gcc_no_link = xyes; then
35814 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35815 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35816 { (exit 1); exit 1; }; }
35818 cat >conftest.$ac_ext <<_ACEOF
35819 /* confdefs.h. */
35820 _ACEOF
35821 cat confdefs.h >>conftest.$ac_ext
35822 cat >>conftest.$ac_ext <<_ACEOF
35823 /* end confdefs.h. */
35824 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35825 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35826 #define $ac_func innocuous_$ac_func
35828 /* System header to define __stub macros and hopefully few prototypes,
35829 which can conflict with char $ac_func (); below.
35830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35831 <limits.h> exists even on freestanding compilers. */
35833 #ifdef __STDC__
35834 # include <limits.h>
35835 #else
35836 # include <assert.h>
35837 #endif
35839 #undef $ac_func
35841 /* Override any gcc2 internal prototype to avoid an error. */
35842 #ifdef __cplusplus
35843 extern "C"
35845 #endif
35846 /* We use char because int might match the return type of a gcc2
35847 builtin and then its argument prototype would still apply. */
35848 char $ac_func ();
35849 /* The GNU C library defines this for functions which it implements
35850 to always fail with ENOSYS. Some functions are actually named
35851 something starting with __ and the normal name is an alias. */
35852 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35853 choke me
35854 #else
35855 char (*f) () = $ac_func;
35856 #endif
35857 #ifdef __cplusplus
35859 #endif
35862 main ()
35864 return f != $ac_func;
35866 return 0;
35868 _ACEOF
35869 rm -f conftest.$ac_objext conftest$ac_exeext
35870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35871 (eval $ac_link) 2>conftest.er1
35872 ac_status=$?
35873 grep -v '^ *+' conftest.er1 >conftest.err
35874 rm -f conftest.er1
35875 cat conftest.err >&5
35876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35877 (exit $ac_status); } &&
35878 { ac_try='test -z "$ac_c_werror_flag"
35879 || test ! -s conftest.err'
35880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35881 (eval $ac_try) 2>&5
35882 ac_status=$?
35883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35884 (exit $ac_status); }; } &&
35885 { ac_try='test -s conftest$ac_exeext'
35886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35887 (eval $ac_try) 2>&5
35888 ac_status=$?
35889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35890 (exit $ac_status); }; }; then
35891 eval "$as_ac_var=yes"
35892 else
35893 echo "$as_me: failed program was:" >&5
35894 sed 's/^/| /' conftest.$ac_ext >&5
35896 eval "$as_ac_var=no"
35898 rm -f conftest.err conftest.$ac_objext \
35899 conftest$ac_exeext conftest.$ac_ext
35901 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35902 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35903 if test `eval echo '${'$as_ac_var'}'` = yes; then
35904 cat >>confdefs.h <<_ACEOF
35905 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35906 _ACEOF
35909 done
35916 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
35917 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
35918 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
35919 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
35920 echo $ECHO_N "(cached) $ECHO_C" >&6
35921 else
35925 ac_ext=cc
35926 ac_cpp='$CXXCPP $CPPFLAGS'
35927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35931 cat >conftest.$ac_ext <<_ACEOF
35932 /* confdefs.h. */
35933 _ACEOF
35934 cat confdefs.h >>conftest.$ac_ext
35935 cat >>conftest.$ac_ext <<_ACEOF
35936 /* end confdefs.h. */
35937 #include <math.h>
35939 main ()
35941 atan2f(0, 0);
35943 return 0;
35945 _ACEOF
35946 rm -f conftest.$ac_objext
35947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35948 (eval $ac_compile) 2>conftest.er1
35949 ac_status=$?
35950 grep -v '^ *+' conftest.er1 >conftest.err
35951 rm -f conftest.er1
35952 cat conftest.err >&5
35953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35954 (exit $ac_status); } &&
35955 { ac_try='test -z "$ac_cxx_werror_flag"
35956 || test ! -s conftest.err'
35957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35958 (eval $ac_try) 2>&5
35959 ac_status=$?
35960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35961 (exit $ac_status); }; } &&
35962 { ac_try='test -s conftest.$ac_objext'
35963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35964 (eval $ac_try) 2>&5
35965 ac_status=$?
35966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35967 (exit $ac_status); }; }; then
35968 glibcxx_cv_func_atan2f_use=yes
35969 else
35970 echo "$as_me: failed program was:" >&5
35971 sed 's/^/| /' conftest.$ac_ext >&5
35973 glibcxx_cv_func_atan2f_use=no
35975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35976 ac_ext=c
35977 ac_cpp='$CPP $CPPFLAGS'
35978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35986 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
35987 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
35989 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
35991 for ac_func in atan2f
35993 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35994 echo "$as_me:$LINENO: checking for $ac_func" >&5
35995 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35996 if eval "test \"\${$as_ac_var+set}\" = set"; then
35997 echo $ECHO_N "(cached) $ECHO_C" >&6
35998 else
35999 if test x$gcc_no_link = xyes; then
36000 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36001 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36002 { (exit 1); exit 1; }; }
36004 cat >conftest.$ac_ext <<_ACEOF
36005 /* confdefs.h. */
36006 _ACEOF
36007 cat confdefs.h >>conftest.$ac_ext
36008 cat >>conftest.$ac_ext <<_ACEOF
36009 /* end confdefs.h. */
36010 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36011 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36012 #define $ac_func innocuous_$ac_func
36014 /* System header to define __stub macros and hopefully few prototypes,
36015 which can conflict with char $ac_func (); below.
36016 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36017 <limits.h> exists even on freestanding compilers. */
36019 #ifdef __STDC__
36020 # include <limits.h>
36021 #else
36022 # include <assert.h>
36023 #endif
36025 #undef $ac_func
36027 /* Override any gcc2 internal prototype to avoid an error. */
36028 #ifdef __cplusplus
36029 extern "C"
36031 #endif
36032 /* We use char because int might match the return type of a gcc2
36033 builtin and then its argument prototype would still apply. */
36034 char $ac_func ();
36035 /* The GNU C library defines this for functions which it implements
36036 to always fail with ENOSYS. Some functions are actually named
36037 something starting with __ and the normal name is an alias. */
36038 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36039 choke me
36040 #else
36041 char (*f) () = $ac_func;
36042 #endif
36043 #ifdef __cplusplus
36045 #endif
36048 main ()
36050 return f != $ac_func;
36052 return 0;
36054 _ACEOF
36055 rm -f conftest.$ac_objext conftest$ac_exeext
36056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36057 (eval $ac_link) 2>conftest.er1
36058 ac_status=$?
36059 grep -v '^ *+' conftest.er1 >conftest.err
36060 rm -f conftest.er1
36061 cat conftest.err >&5
36062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36063 (exit $ac_status); } &&
36064 { ac_try='test -z "$ac_c_werror_flag"
36065 || test ! -s conftest.err'
36066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36067 (eval $ac_try) 2>&5
36068 ac_status=$?
36069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36070 (exit $ac_status); }; } &&
36071 { ac_try='test -s conftest$ac_exeext'
36072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36073 (eval $ac_try) 2>&5
36074 ac_status=$?
36075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36076 (exit $ac_status); }; }; then
36077 eval "$as_ac_var=yes"
36078 else
36079 echo "$as_me: failed program was:" >&5
36080 sed 's/^/| /' conftest.$ac_ext >&5
36082 eval "$as_ac_var=no"
36084 rm -f conftest.err conftest.$ac_objext \
36085 conftest$ac_exeext conftest.$ac_ext
36087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36088 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36089 if test `eval echo '${'$as_ac_var'}'` = yes; then
36090 cat >>confdefs.h <<_ACEOF
36091 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36092 _ACEOF
36095 done
36097 else
36099 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
36100 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
36101 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
36102 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
36103 echo $ECHO_N "(cached) $ECHO_C" >&6
36104 else
36108 ac_ext=cc
36109 ac_cpp='$CXXCPP $CPPFLAGS'
36110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36114 cat >conftest.$ac_ext <<_ACEOF
36115 /* confdefs.h. */
36116 _ACEOF
36117 cat confdefs.h >>conftest.$ac_ext
36118 cat >>conftest.$ac_ext <<_ACEOF
36119 /* end confdefs.h. */
36120 #include <math.h>
36122 main ()
36124 _atan2f(0, 0);
36126 return 0;
36128 _ACEOF
36129 rm -f conftest.$ac_objext
36130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36131 (eval $ac_compile) 2>conftest.er1
36132 ac_status=$?
36133 grep -v '^ *+' conftest.er1 >conftest.err
36134 rm -f conftest.er1
36135 cat conftest.err >&5
36136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36137 (exit $ac_status); } &&
36138 { ac_try='test -z "$ac_cxx_werror_flag"
36139 || test ! -s conftest.err'
36140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36141 (eval $ac_try) 2>&5
36142 ac_status=$?
36143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36144 (exit $ac_status); }; } &&
36145 { ac_try='test -s conftest.$ac_objext'
36146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36147 (eval $ac_try) 2>&5
36148 ac_status=$?
36149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36150 (exit $ac_status); }; }; then
36151 glibcxx_cv_func__atan2f_use=yes
36152 else
36153 echo "$as_me: failed program was:" >&5
36154 sed 's/^/| /' conftest.$ac_ext >&5
36156 glibcxx_cv_func__atan2f_use=no
36158 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36159 ac_ext=c
36160 ac_cpp='$CPP $CPPFLAGS'
36161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36169 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
36170 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
36172 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
36174 for ac_func in _atan2f
36176 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36177 echo "$as_me:$LINENO: checking for $ac_func" >&5
36178 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36179 if eval "test \"\${$as_ac_var+set}\" = set"; then
36180 echo $ECHO_N "(cached) $ECHO_C" >&6
36181 else
36182 if test x$gcc_no_link = xyes; then
36183 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36184 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36185 { (exit 1); exit 1; }; }
36187 cat >conftest.$ac_ext <<_ACEOF
36188 /* confdefs.h. */
36189 _ACEOF
36190 cat confdefs.h >>conftest.$ac_ext
36191 cat >>conftest.$ac_ext <<_ACEOF
36192 /* end confdefs.h. */
36193 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36194 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36195 #define $ac_func innocuous_$ac_func
36197 /* System header to define __stub macros and hopefully few prototypes,
36198 which can conflict with char $ac_func (); below.
36199 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36200 <limits.h> exists even on freestanding compilers. */
36202 #ifdef __STDC__
36203 # include <limits.h>
36204 #else
36205 # include <assert.h>
36206 #endif
36208 #undef $ac_func
36210 /* Override any gcc2 internal prototype to avoid an error. */
36211 #ifdef __cplusplus
36212 extern "C"
36214 #endif
36215 /* We use char because int might match the return type of a gcc2
36216 builtin and then its argument prototype would still apply. */
36217 char $ac_func ();
36218 /* The GNU C library defines this for functions which it implements
36219 to always fail with ENOSYS. Some functions are actually named
36220 something starting with __ and the normal name is an alias. */
36221 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36222 choke me
36223 #else
36224 char (*f) () = $ac_func;
36225 #endif
36226 #ifdef __cplusplus
36228 #endif
36231 main ()
36233 return f != $ac_func;
36235 return 0;
36237 _ACEOF
36238 rm -f conftest.$ac_objext conftest$ac_exeext
36239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36240 (eval $ac_link) 2>conftest.er1
36241 ac_status=$?
36242 grep -v '^ *+' conftest.er1 >conftest.err
36243 rm -f conftest.er1
36244 cat conftest.err >&5
36245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36246 (exit $ac_status); } &&
36247 { ac_try='test -z "$ac_c_werror_flag"
36248 || test ! -s conftest.err'
36249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36250 (eval $ac_try) 2>&5
36251 ac_status=$?
36252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36253 (exit $ac_status); }; } &&
36254 { ac_try='test -s conftest$ac_exeext'
36255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36256 (eval $ac_try) 2>&5
36257 ac_status=$?
36258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36259 (exit $ac_status); }; }; then
36260 eval "$as_ac_var=yes"
36261 else
36262 echo "$as_me: failed program was:" >&5
36263 sed 's/^/| /' conftest.$ac_ext >&5
36265 eval "$as_ac_var=no"
36267 rm -f conftest.err conftest.$ac_objext \
36268 conftest$ac_exeext conftest.$ac_ext
36270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36271 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36272 if test `eval echo '${'$as_ac_var'}'` = yes; then
36273 cat >>confdefs.h <<_ACEOF
36274 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36275 _ACEOF
36278 done
36285 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
36286 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
36287 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
36288 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
36289 echo $ECHO_N "(cached) $ECHO_C" >&6
36290 else
36294 ac_ext=cc
36295 ac_cpp='$CXXCPP $CPPFLAGS'
36296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36300 cat >conftest.$ac_ext <<_ACEOF
36301 /* confdefs.h. */
36302 _ACEOF
36303 cat confdefs.h >>conftest.$ac_ext
36304 cat >>conftest.$ac_ext <<_ACEOF
36305 /* end confdefs.h. */
36306 #include <math.h>
36307 #ifdef HAVE_IEEEFP_H
36308 #include <ieeefp.h>
36309 #endif
36312 main ()
36314 fabsf(0);
36316 return 0;
36318 _ACEOF
36319 rm -f conftest.$ac_objext
36320 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36321 (eval $ac_compile) 2>conftest.er1
36322 ac_status=$?
36323 grep -v '^ *+' conftest.er1 >conftest.err
36324 rm -f conftest.er1
36325 cat conftest.err >&5
36326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36327 (exit $ac_status); } &&
36328 { ac_try='test -z "$ac_cxx_werror_flag"
36329 || test ! -s conftest.err'
36330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36331 (eval $ac_try) 2>&5
36332 ac_status=$?
36333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36334 (exit $ac_status); }; } &&
36335 { ac_try='test -s conftest.$ac_objext'
36336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36337 (eval $ac_try) 2>&5
36338 ac_status=$?
36339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36340 (exit $ac_status); }; }; then
36341 glibcxx_cv_func_fabsf_use=yes
36342 else
36343 echo "$as_me: failed program was:" >&5
36344 sed 's/^/| /' conftest.$ac_ext >&5
36346 glibcxx_cv_func_fabsf_use=no
36348 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36349 ac_ext=c
36350 ac_cpp='$CPP $CPPFLAGS'
36351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36359 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
36360 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
36362 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
36364 for ac_func in fabsf
36366 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36367 echo "$as_me:$LINENO: checking for $ac_func" >&5
36368 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36369 if eval "test \"\${$as_ac_var+set}\" = set"; then
36370 echo $ECHO_N "(cached) $ECHO_C" >&6
36371 else
36372 if test x$gcc_no_link = xyes; then
36373 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36374 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36375 { (exit 1); exit 1; }; }
36377 cat >conftest.$ac_ext <<_ACEOF
36378 /* confdefs.h. */
36379 _ACEOF
36380 cat confdefs.h >>conftest.$ac_ext
36381 cat >>conftest.$ac_ext <<_ACEOF
36382 /* end confdefs.h. */
36383 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36384 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36385 #define $ac_func innocuous_$ac_func
36387 /* System header to define __stub macros and hopefully few prototypes,
36388 which can conflict with char $ac_func (); below.
36389 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36390 <limits.h> exists even on freestanding compilers. */
36392 #ifdef __STDC__
36393 # include <limits.h>
36394 #else
36395 # include <assert.h>
36396 #endif
36398 #undef $ac_func
36400 /* Override any gcc2 internal prototype to avoid an error. */
36401 #ifdef __cplusplus
36402 extern "C"
36404 #endif
36405 /* We use char because int might match the return type of a gcc2
36406 builtin and then its argument prototype would still apply. */
36407 char $ac_func ();
36408 /* The GNU C library defines this for functions which it implements
36409 to always fail with ENOSYS. Some functions are actually named
36410 something starting with __ and the normal name is an alias. */
36411 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36412 choke me
36413 #else
36414 char (*f) () = $ac_func;
36415 #endif
36416 #ifdef __cplusplus
36418 #endif
36421 main ()
36423 return f != $ac_func;
36425 return 0;
36427 _ACEOF
36428 rm -f conftest.$ac_objext conftest$ac_exeext
36429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36430 (eval $ac_link) 2>conftest.er1
36431 ac_status=$?
36432 grep -v '^ *+' conftest.er1 >conftest.err
36433 rm -f conftest.er1
36434 cat conftest.err >&5
36435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36436 (exit $ac_status); } &&
36437 { ac_try='test -z "$ac_c_werror_flag"
36438 || test ! -s conftest.err'
36439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36440 (eval $ac_try) 2>&5
36441 ac_status=$?
36442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36443 (exit $ac_status); }; } &&
36444 { ac_try='test -s conftest$ac_exeext'
36445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36446 (eval $ac_try) 2>&5
36447 ac_status=$?
36448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36449 (exit $ac_status); }; }; then
36450 eval "$as_ac_var=yes"
36451 else
36452 echo "$as_me: failed program was:" >&5
36453 sed 's/^/| /' conftest.$ac_ext >&5
36455 eval "$as_ac_var=no"
36457 rm -f conftest.err conftest.$ac_objext \
36458 conftest$ac_exeext conftest.$ac_ext
36460 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36461 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36462 if test `eval echo '${'$as_ac_var'}'` = yes; then
36463 cat >>confdefs.h <<_ACEOF
36464 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36465 _ACEOF
36468 done
36470 else
36472 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
36473 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
36474 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
36475 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
36476 echo $ECHO_N "(cached) $ECHO_C" >&6
36477 else
36481 ac_ext=cc
36482 ac_cpp='$CXXCPP $CPPFLAGS'
36483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36487 cat >conftest.$ac_ext <<_ACEOF
36488 /* confdefs.h. */
36489 _ACEOF
36490 cat confdefs.h >>conftest.$ac_ext
36491 cat >>conftest.$ac_ext <<_ACEOF
36492 /* end confdefs.h. */
36493 #include <math.h>
36494 #ifdef HAVE_IEEEFP_H
36495 #include <ieeefp.h>
36496 #endif
36499 main ()
36501 _fabsf(0);
36503 return 0;
36505 _ACEOF
36506 rm -f conftest.$ac_objext
36507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36508 (eval $ac_compile) 2>conftest.er1
36509 ac_status=$?
36510 grep -v '^ *+' conftest.er1 >conftest.err
36511 rm -f conftest.er1
36512 cat conftest.err >&5
36513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36514 (exit $ac_status); } &&
36515 { ac_try='test -z "$ac_cxx_werror_flag"
36516 || test ! -s conftest.err'
36517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36518 (eval $ac_try) 2>&5
36519 ac_status=$?
36520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36521 (exit $ac_status); }; } &&
36522 { ac_try='test -s conftest.$ac_objext'
36523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36524 (eval $ac_try) 2>&5
36525 ac_status=$?
36526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36527 (exit $ac_status); }; }; then
36528 glibcxx_cv_func__fabsf_use=yes
36529 else
36530 echo "$as_me: failed program was:" >&5
36531 sed 's/^/| /' conftest.$ac_ext >&5
36533 glibcxx_cv_func__fabsf_use=no
36535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36536 ac_ext=c
36537 ac_cpp='$CPP $CPPFLAGS'
36538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36546 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
36547 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
36549 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
36551 for ac_func in _fabsf
36553 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36554 echo "$as_me:$LINENO: checking for $ac_func" >&5
36555 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36556 if eval "test \"\${$as_ac_var+set}\" = set"; then
36557 echo $ECHO_N "(cached) $ECHO_C" >&6
36558 else
36559 if test x$gcc_no_link = xyes; then
36560 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36561 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36562 { (exit 1); exit 1; }; }
36564 cat >conftest.$ac_ext <<_ACEOF
36565 /* confdefs.h. */
36566 _ACEOF
36567 cat confdefs.h >>conftest.$ac_ext
36568 cat >>conftest.$ac_ext <<_ACEOF
36569 /* end confdefs.h. */
36570 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36571 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36572 #define $ac_func innocuous_$ac_func
36574 /* System header to define __stub macros and hopefully few prototypes,
36575 which can conflict with char $ac_func (); below.
36576 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36577 <limits.h> exists even on freestanding compilers. */
36579 #ifdef __STDC__
36580 # include <limits.h>
36581 #else
36582 # include <assert.h>
36583 #endif
36585 #undef $ac_func
36587 /* Override any gcc2 internal prototype to avoid an error. */
36588 #ifdef __cplusplus
36589 extern "C"
36591 #endif
36592 /* We use char because int might match the return type of a gcc2
36593 builtin and then its argument prototype would still apply. */
36594 char $ac_func ();
36595 /* The GNU C library defines this for functions which it implements
36596 to always fail with ENOSYS. Some functions are actually named
36597 something starting with __ and the normal name is an alias. */
36598 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36599 choke me
36600 #else
36601 char (*f) () = $ac_func;
36602 #endif
36603 #ifdef __cplusplus
36605 #endif
36608 main ()
36610 return f != $ac_func;
36612 return 0;
36614 _ACEOF
36615 rm -f conftest.$ac_objext conftest$ac_exeext
36616 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36617 (eval $ac_link) 2>conftest.er1
36618 ac_status=$?
36619 grep -v '^ *+' conftest.er1 >conftest.err
36620 rm -f conftest.er1
36621 cat conftest.err >&5
36622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36623 (exit $ac_status); } &&
36624 { ac_try='test -z "$ac_c_werror_flag"
36625 || test ! -s conftest.err'
36626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36627 (eval $ac_try) 2>&5
36628 ac_status=$?
36629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36630 (exit $ac_status); }; } &&
36631 { ac_try='test -s conftest$ac_exeext'
36632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36633 (eval $ac_try) 2>&5
36634 ac_status=$?
36635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36636 (exit $ac_status); }; }; then
36637 eval "$as_ac_var=yes"
36638 else
36639 echo "$as_me: failed program was:" >&5
36640 sed 's/^/| /' conftest.$ac_ext >&5
36642 eval "$as_ac_var=no"
36644 rm -f conftest.err conftest.$ac_objext \
36645 conftest$ac_exeext conftest.$ac_ext
36647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36648 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36649 if test `eval echo '${'$as_ac_var'}'` = yes; then
36650 cat >>confdefs.h <<_ACEOF
36651 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36652 _ACEOF
36655 done
36662 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
36663 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
36664 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
36665 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
36666 echo $ECHO_N "(cached) $ECHO_C" >&6
36667 else
36671 ac_ext=cc
36672 ac_cpp='$CXXCPP $CPPFLAGS'
36673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36677 cat >conftest.$ac_ext <<_ACEOF
36678 /* confdefs.h. */
36679 _ACEOF
36680 cat confdefs.h >>conftest.$ac_ext
36681 cat >>conftest.$ac_ext <<_ACEOF
36682 /* end confdefs.h. */
36683 #include <math.h>
36685 main ()
36687 fmodf(0, 0);
36689 return 0;
36691 _ACEOF
36692 rm -f conftest.$ac_objext
36693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36694 (eval $ac_compile) 2>conftest.er1
36695 ac_status=$?
36696 grep -v '^ *+' conftest.er1 >conftest.err
36697 rm -f conftest.er1
36698 cat conftest.err >&5
36699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36700 (exit $ac_status); } &&
36701 { ac_try='test -z "$ac_cxx_werror_flag"
36702 || test ! -s conftest.err'
36703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36704 (eval $ac_try) 2>&5
36705 ac_status=$?
36706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36707 (exit $ac_status); }; } &&
36708 { ac_try='test -s conftest.$ac_objext'
36709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36710 (eval $ac_try) 2>&5
36711 ac_status=$?
36712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36713 (exit $ac_status); }; }; then
36714 glibcxx_cv_func_fmodf_use=yes
36715 else
36716 echo "$as_me: failed program was:" >&5
36717 sed 's/^/| /' conftest.$ac_ext >&5
36719 glibcxx_cv_func_fmodf_use=no
36721 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36722 ac_ext=c
36723 ac_cpp='$CPP $CPPFLAGS'
36724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36732 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
36733 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
36735 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
36737 for ac_func in fmodf
36739 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36740 echo "$as_me:$LINENO: checking for $ac_func" >&5
36741 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36742 if eval "test \"\${$as_ac_var+set}\" = set"; then
36743 echo $ECHO_N "(cached) $ECHO_C" >&6
36744 else
36745 if test x$gcc_no_link = xyes; then
36746 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36747 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36748 { (exit 1); exit 1; }; }
36750 cat >conftest.$ac_ext <<_ACEOF
36751 /* confdefs.h. */
36752 _ACEOF
36753 cat confdefs.h >>conftest.$ac_ext
36754 cat >>conftest.$ac_ext <<_ACEOF
36755 /* end confdefs.h. */
36756 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36757 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36758 #define $ac_func innocuous_$ac_func
36760 /* System header to define __stub macros and hopefully few prototypes,
36761 which can conflict with char $ac_func (); below.
36762 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36763 <limits.h> exists even on freestanding compilers. */
36765 #ifdef __STDC__
36766 # include <limits.h>
36767 #else
36768 # include <assert.h>
36769 #endif
36771 #undef $ac_func
36773 /* Override any gcc2 internal prototype to avoid an error. */
36774 #ifdef __cplusplus
36775 extern "C"
36777 #endif
36778 /* We use char because int might match the return type of a gcc2
36779 builtin and then its argument prototype would still apply. */
36780 char $ac_func ();
36781 /* The GNU C library defines this for functions which it implements
36782 to always fail with ENOSYS. Some functions are actually named
36783 something starting with __ and the normal name is an alias. */
36784 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36785 choke me
36786 #else
36787 char (*f) () = $ac_func;
36788 #endif
36789 #ifdef __cplusplus
36791 #endif
36794 main ()
36796 return f != $ac_func;
36798 return 0;
36800 _ACEOF
36801 rm -f conftest.$ac_objext conftest$ac_exeext
36802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36803 (eval $ac_link) 2>conftest.er1
36804 ac_status=$?
36805 grep -v '^ *+' conftest.er1 >conftest.err
36806 rm -f conftest.er1
36807 cat conftest.err >&5
36808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36809 (exit $ac_status); } &&
36810 { ac_try='test -z "$ac_c_werror_flag"
36811 || test ! -s conftest.err'
36812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36813 (eval $ac_try) 2>&5
36814 ac_status=$?
36815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36816 (exit $ac_status); }; } &&
36817 { ac_try='test -s conftest$ac_exeext'
36818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36819 (eval $ac_try) 2>&5
36820 ac_status=$?
36821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36822 (exit $ac_status); }; }; then
36823 eval "$as_ac_var=yes"
36824 else
36825 echo "$as_me: failed program was:" >&5
36826 sed 's/^/| /' conftest.$ac_ext >&5
36828 eval "$as_ac_var=no"
36830 rm -f conftest.err conftest.$ac_objext \
36831 conftest$ac_exeext conftest.$ac_ext
36833 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36834 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36835 if test `eval echo '${'$as_ac_var'}'` = yes; then
36836 cat >>confdefs.h <<_ACEOF
36837 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36838 _ACEOF
36841 done
36843 else
36845 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
36846 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
36847 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
36848 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
36849 echo $ECHO_N "(cached) $ECHO_C" >&6
36850 else
36854 ac_ext=cc
36855 ac_cpp='$CXXCPP $CPPFLAGS'
36856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36860 cat >conftest.$ac_ext <<_ACEOF
36861 /* confdefs.h. */
36862 _ACEOF
36863 cat confdefs.h >>conftest.$ac_ext
36864 cat >>conftest.$ac_ext <<_ACEOF
36865 /* end confdefs.h. */
36866 #include <math.h>
36868 main ()
36870 _fmodf(0, 0);
36872 return 0;
36874 _ACEOF
36875 rm -f conftest.$ac_objext
36876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36877 (eval $ac_compile) 2>conftest.er1
36878 ac_status=$?
36879 grep -v '^ *+' conftest.er1 >conftest.err
36880 rm -f conftest.er1
36881 cat conftest.err >&5
36882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36883 (exit $ac_status); } &&
36884 { ac_try='test -z "$ac_cxx_werror_flag"
36885 || test ! -s conftest.err'
36886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36887 (eval $ac_try) 2>&5
36888 ac_status=$?
36889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36890 (exit $ac_status); }; } &&
36891 { ac_try='test -s conftest.$ac_objext'
36892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36893 (eval $ac_try) 2>&5
36894 ac_status=$?
36895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36896 (exit $ac_status); }; }; then
36897 glibcxx_cv_func__fmodf_use=yes
36898 else
36899 echo "$as_me: failed program was:" >&5
36900 sed 's/^/| /' conftest.$ac_ext >&5
36902 glibcxx_cv_func__fmodf_use=no
36904 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36905 ac_ext=c
36906 ac_cpp='$CPP $CPPFLAGS'
36907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36915 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
36916 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
36918 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
36920 for ac_func in _fmodf
36922 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36923 echo "$as_me:$LINENO: checking for $ac_func" >&5
36924 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36925 if eval "test \"\${$as_ac_var+set}\" = set"; then
36926 echo $ECHO_N "(cached) $ECHO_C" >&6
36927 else
36928 if test x$gcc_no_link = xyes; then
36929 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36930 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36931 { (exit 1); exit 1; }; }
36933 cat >conftest.$ac_ext <<_ACEOF
36934 /* confdefs.h. */
36935 _ACEOF
36936 cat confdefs.h >>conftest.$ac_ext
36937 cat >>conftest.$ac_ext <<_ACEOF
36938 /* end confdefs.h. */
36939 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36940 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36941 #define $ac_func innocuous_$ac_func
36943 /* System header to define __stub macros and hopefully few prototypes,
36944 which can conflict with char $ac_func (); below.
36945 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36946 <limits.h> exists even on freestanding compilers. */
36948 #ifdef __STDC__
36949 # include <limits.h>
36950 #else
36951 # include <assert.h>
36952 #endif
36954 #undef $ac_func
36956 /* Override any gcc2 internal prototype to avoid an error. */
36957 #ifdef __cplusplus
36958 extern "C"
36960 #endif
36961 /* We use char because int might match the return type of a gcc2
36962 builtin and then its argument prototype would still apply. */
36963 char $ac_func ();
36964 /* The GNU C library defines this for functions which it implements
36965 to always fail with ENOSYS. Some functions are actually named
36966 something starting with __ and the normal name is an alias. */
36967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36968 choke me
36969 #else
36970 char (*f) () = $ac_func;
36971 #endif
36972 #ifdef __cplusplus
36974 #endif
36977 main ()
36979 return f != $ac_func;
36981 return 0;
36983 _ACEOF
36984 rm -f conftest.$ac_objext conftest$ac_exeext
36985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36986 (eval $ac_link) 2>conftest.er1
36987 ac_status=$?
36988 grep -v '^ *+' conftest.er1 >conftest.err
36989 rm -f conftest.er1
36990 cat conftest.err >&5
36991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36992 (exit $ac_status); } &&
36993 { ac_try='test -z "$ac_c_werror_flag"
36994 || test ! -s conftest.err'
36995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36996 (eval $ac_try) 2>&5
36997 ac_status=$?
36998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36999 (exit $ac_status); }; } &&
37000 { ac_try='test -s conftest$ac_exeext'
37001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37002 (eval $ac_try) 2>&5
37003 ac_status=$?
37004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37005 (exit $ac_status); }; }; then
37006 eval "$as_ac_var=yes"
37007 else
37008 echo "$as_me: failed program was:" >&5
37009 sed 's/^/| /' conftest.$ac_ext >&5
37011 eval "$as_ac_var=no"
37013 rm -f conftest.err conftest.$ac_objext \
37014 conftest$ac_exeext conftest.$ac_ext
37016 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37017 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37018 if test `eval echo '${'$as_ac_var'}'` = yes; then
37019 cat >>confdefs.h <<_ACEOF
37020 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37021 _ACEOF
37024 done
37031 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
37032 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
37033 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37034 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
37035 echo $ECHO_N "(cached) $ECHO_C" >&6
37036 else
37040 ac_ext=cc
37041 ac_cpp='$CXXCPP $CPPFLAGS'
37042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37046 cat >conftest.$ac_ext <<_ACEOF
37047 /* confdefs.h. */
37048 _ACEOF
37049 cat confdefs.h >>conftest.$ac_ext
37050 cat >>conftest.$ac_ext <<_ACEOF
37051 /* end confdefs.h. */
37052 #include <math.h>
37054 main ()
37056 frexpf(0, 0);
37058 return 0;
37060 _ACEOF
37061 rm -f conftest.$ac_objext
37062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37063 (eval $ac_compile) 2>conftest.er1
37064 ac_status=$?
37065 grep -v '^ *+' conftest.er1 >conftest.err
37066 rm -f conftest.er1
37067 cat conftest.err >&5
37068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37069 (exit $ac_status); } &&
37070 { ac_try='test -z "$ac_cxx_werror_flag"
37071 || test ! -s conftest.err'
37072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37073 (eval $ac_try) 2>&5
37074 ac_status=$?
37075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37076 (exit $ac_status); }; } &&
37077 { ac_try='test -s conftest.$ac_objext'
37078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37079 (eval $ac_try) 2>&5
37080 ac_status=$?
37081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37082 (exit $ac_status); }; }; then
37083 glibcxx_cv_func_frexpf_use=yes
37084 else
37085 echo "$as_me: failed program was:" >&5
37086 sed 's/^/| /' conftest.$ac_ext >&5
37088 glibcxx_cv_func_frexpf_use=no
37090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37091 ac_ext=c
37092 ac_cpp='$CPP $CPPFLAGS'
37093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37101 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
37102 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
37104 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37106 for ac_func in frexpf
37108 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37109 echo "$as_me:$LINENO: checking for $ac_func" >&5
37110 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37111 if eval "test \"\${$as_ac_var+set}\" = set"; then
37112 echo $ECHO_N "(cached) $ECHO_C" >&6
37113 else
37114 if test x$gcc_no_link = xyes; then
37115 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37116 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37117 { (exit 1); exit 1; }; }
37119 cat >conftest.$ac_ext <<_ACEOF
37120 /* confdefs.h. */
37121 _ACEOF
37122 cat confdefs.h >>conftest.$ac_ext
37123 cat >>conftest.$ac_ext <<_ACEOF
37124 /* end confdefs.h. */
37125 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37126 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37127 #define $ac_func innocuous_$ac_func
37129 /* System header to define __stub macros and hopefully few prototypes,
37130 which can conflict with char $ac_func (); below.
37131 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37132 <limits.h> exists even on freestanding compilers. */
37134 #ifdef __STDC__
37135 # include <limits.h>
37136 #else
37137 # include <assert.h>
37138 #endif
37140 #undef $ac_func
37142 /* Override any gcc2 internal prototype to avoid an error. */
37143 #ifdef __cplusplus
37144 extern "C"
37146 #endif
37147 /* We use char because int might match the return type of a gcc2
37148 builtin and then its argument prototype would still apply. */
37149 char $ac_func ();
37150 /* The GNU C library defines this for functions which it implements
37151 to always fail with ENOSYS. Some functions are actually named
37152 something starting with __ and the normal name is an alias. */
37153 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37154 choke me
37155 #else
37156 char (*f) () = $ac_func;
37157 #endif
37158 #ifdef __cplusplus
37160 #endif
37163 main ()
37165 return f != $ac_func;
37167 return 0;
37169 _ACEOF
37170 rm -f conftest.$ac_objext conftest$ac_exeext
37171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37172 (eval $ac_link) 2>conftest.er1
37173 ac_status=$?
37174 grep -v '^ *+' conftest.er1 >conftest.err
37175 rm -f conftest.er1
37176 cat conftest.err >&5
37177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37178 (exit $ac_status); } &&
37179 { ac_try='test -z "$ac_c_werror_flag"
37180 || test ! -s conftest.err'
37181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37182 (eval $ac_try) 2>&5
37183 ac_status=$?
37184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37185 (exit $ac_status); }; } &&
37186 { ac_try='test -s conftest$ac_exeext'
37187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37188 (eval $ac_try) 2>&5
37189 ac_status=$?
37190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37191 (exit $ac_status); }; }; then
37192 eval "$as_ac_var=yes"
37193 else
37194 echo "$as_me: failed program was:" >&5
37195 sed 's/^/| /' conftest.$ac_ext >&5
37197 eval "$as_ac_var=no"
37199 rm -f conftest.err conftest.$ac_objext \
37200 conftest$ac_exeext conftest.$ac_ext
37202 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37203 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37204 if test `eval echo '${'$as_ac_var'}'` = yes; then
37205 cat >>confdefs.h <<_ACEOF
37206 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37207 _ACEOF
37210 done
37212 else
37214 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
37215 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
37216 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37217 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
37218 echo $ECHO_N "(cached) $ECHO_C" >&6
37219 else
37223 ac_ext=cc
37224 ac_cpp='$CXXCPP $CPPFLAGS'
37225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37229 cat >conftest.$ac_ext <<_ACEOF
37230 /* confdefs.h. */
37231 _ACEOF
37232 cat confdefs.h >>conftest.$ac_ext
37233 cat >>conftest.$ac_ext <<_ACEOF
37234 /* end confdefs.h. */
37235 #include <math.h>
37237 main ()
37239 _frexpf(0, 0);
37241 return 0;
37243 _ACEOF
37244 rm -f conftest.$ac_objext
37245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37246 (eval $ac_compile) 2>conftest.er1
37247 ac_status=$?
37248 grep -v '^ *+' conftest.er1 >conftest.err
37249 rm -f conftest.er1
37250 cat conftest.err >&5
37251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37252 (exit $ac_status); } &&
37253 { ac_try='test -z "$ac_cxx_werror_flag"
37254 || test ! -s conftest.err'
37255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37256 (eval $ac_try) 2>&5
37257 ac_status=$?
37258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37259 (exit $ac_status); }; } &&
37260 { ac_try='test -s conftest.$ac_objext'
37261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37262 (eval $ac_try) 2>&5
37263 ac_status=$?
37264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37265 (exit $ac_status); }; }; then
37266 glibcxx_cv_func__frexpf_use=yes
37267 else
37268 echo "$as_me: failed program was:" >&5
37269 sed 's/^/| /' conftest.$ac_ext >&5
37271 glibcxx_cv_func__frexpf_use=no
37273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37274 ac_ext=c
37275 ac_cpp='$CPP $CPPFLAGS'
37276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37284 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
37285 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
37287 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37289 for ac_func in _frexpf
37291 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37292 echo "$as_me:$LINENO: checking for $ac_func" >&5
37293 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37294 if eval "test \"\${$as_ac_var+set}\" = set"; then
37295 echo $ECHO_N "(cached) $ECHO_C" >&6
37296 else
37297 if test x$gcc_no_link = xyes; then
37298 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37299 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37300 { (exit 1); exit 1; }; }
37302 cat >conftest.$ac_ext <<_ACEOF
37303 /* confdefs.h. */
37304 _ACEOF
37305 cat confdefs.h >>conftest.$ac_ext
37306 cat >>conftest.$ac_ext <<_ACEOF
37307 /* end confdefs.h. */
37308 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37309 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37310 #define $ac_func innocuous_$ac_func
37312 /* System header to define __stub macros and hopefully few prototypes,
37313 which can conflict with char $ac_func (); below.
37314 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37315 <limits.h> exists even on freestanding compilers. */
37317 #ifdef __STDC__
37318 # include <limits.h>
37319 #else
37320 # include <assert.h>
37321 #endif
37323 #undef $ac_func
37325 /* Override any gcc2 internal prototype to avoid an error. */
37326 #ifdef __cplusplus
37327 extern "C"
37329 #endif
37330 /* We use char because int might match the return type of a gcc2
37331 builtin and then its argument prototype would still apply. */
37332 char $ac_func ();
37333 /* The GNU C library defines this for functions which it implements
37334 to always fail with ENOSYS. Some functions are actually named
37335 something starting with __ and the normal name is an alias. */
37336 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37337 choke me
37338 #else
37339 char (*f) () = $ac_func;
37340 #endif
37341 #ifdef __cplusplus
37343 #endif
37346 main ()
37348 return f != $ac_func;
37350 return 0;
37352 _ACEOF
37353 rm -f conftest.$ac_objext conftest$ac_exeext
37354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37355 (eval $ac_link) 2>conftest.er1
37356 ac_status=$?
37357 grep -v '^ *+' conftest.er1 >conftest.err
37358 rm -f conftest.er1
37359 cat conftest.err >&5
37360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37361 (exit $ac_status); } &&
37362 { ac_try='test -z "$ac_c_werror_flag"
37363 || test ! -s conftest.err'
37364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37365 (eval $ac_try) 2>&5
37366 ac_status=$?
37367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37368 (exit $ac_status); }; } &&
37369 { ac_try='test -s conftest$ac_exeext'
37370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37371 (eval $ac_try) 2>&5
37372 ac_status=$?
37373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37374 (exit $ac_status); }; }; then
37375 eval "$as_ac_var=yes"
37376 else
37377 echo "$as_me: failed program was:" >&5
37378 sed 's/^/| /' conftest.$ac_ext >&5
37380 eval "$as_ac_var=no"
37382 rm -f conftest.err conftest.$ac_objext \
37383 conftest$ac_exeext conftest.$ac_ext
37385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37386 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37387 if test `eval echo '${'$as_ac_var'}'` = yes; then
37388 cat >>confdefs.h <<_ACEOF
37389 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37390 _ACEOF
37393 done
37400 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
37401 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
37402 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37403 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
37404 echo $ECHO_N "(cached) $ECHO_C" >&6
37405 else
37409 ac_ext=cc
37410 ac_cpp='$CXXCPP $CPPFLAGS'
37411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37415 cat >conftest.$ac_ext <<_ACEOF
37416 /* confdefs.h. */
37417 _ACEOF
37418 cat confdefs.h >>conftest.$ac_ext
37419 cat >>conftest.$ac_ext <<_ACEOF
37420 /* end confdefs.h. */
37421 #include <math.h>
37423 main ()
37425 hypotf(0, 0);
37427 return 0;
37429 _ACEOF
37430 rm -f conftest.$ac_objext
37431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37432 (eval $ac_compile) 2>conftest.er1
37433 ac_status=$?
37434 grep -v '^ *+' conftest.er1 >conftest.err
37435 rm -f conftest.er1
37436 cat conftest.err >&5
37437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37438 (exit $ac_status); } &&
37439 { ac_try='test -z "$ac_cxx_werror_flag"
37440 || test ! -s conftest.err'
37441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37442 (eval $ac_try) 2>&5
37443 ac_status=$?
37444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37445 (exit $ac_status); }; } &&
37446 { ac_try='test -s conftest.$ac_objext'
37447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37448 (eval $ac_try) 2>&5
37449 ac_status=$?
37450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37451 (exit $ac_status); }; }; then
37452 glibcxx_cv_func_hypotf_use=yes
37453 else
37454 echo "$as_me: failed program was:" >&5
37455 sed 's/^/| /' conftest.$ac_ext >&5
37457 glibcxx_cv_func_hypotf_use=no
37459 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37460 ac_ext=c
37461 ac_cpp='$CPP $CPPFLAGS'
37462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37470 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
37471 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
37473 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37475 for ac_func in hypotf
37477 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37478 echo "$as_me:$LINENO: checking for $ac_func" >&5
37479 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37480 if eval "test \"\${$as_ac_var+set}\" = set"; then
37481 echo $ECHO_N "(cached) $ECHO_C" >&6
37482 else
37483 if test x$gcc_no_link = xyes; then
37484 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37485 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37486 { (exit 1); exit 1; }; }
37488 cat >conftest.$ac_ext <<_ACEOF
37489 /* confdefs.h. */
37490 _ACEOF
37491 cat confdefs.h >>conftest.$ac_ext
37492 cat >>conftest.$ac_ext <<_ACEOF
37493 /* end confdefs.h. */
37494 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37495 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37496 #define $ac_func innocuous_$ac_func
37498 /* System header to define __stub macros and hopefully few prototypes,
37499 which can conflict with char $ac_func (); below.
37500 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37501 <limits.h> exists even on freestanding compilers. */
37503 #ifdef __STDC__
37504 # include <limits.h>
37505 #else
37506 # include <assert.h>
37507 #endif
37509 #undef $ac_func
37511 /* Override any gcc2 internal prototype to avoid an error. */
37512 #ifdef __cplusplus
37513 extern "C"
37515 #endif
37516 /* We use char because int might match the return type of a gcc2
37517 builtin and then its argument prototype would still apply. */
37518 char $ac_func ();
37519 /* The GNU C library defines this for functions which it implements
37520 to always fail with ENOSYS. Some functions are actually named
37521 something starting with __ and the normal name is an alias. */
37522 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37523 choke me
37524 #else
37525 char (*f) () = $ac_func;
37526 #endif
37527 #ifdef __cplusplus
37529 #endif
37532 main ()
37534 return f != $ac_func;
37536 return 0;
37538 _ACEOF
37539 rm -f conftest.$ac_objext conftest$ac_exeext
37540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37541 (eval $ac_link) 2>conftest.er1
37542 ac_status=$?
37543 grep -v '^ *+' conftest.er1 >conftest.err
37544 rm -f conftest.er1
37545 cat conftest.err >&5
37546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37547 (exit $ac_status); } &&
37548 { ac_try='test -z "$ac_c_werror_flag"
37549 || test ! -s conftest.err'
37550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37551 (eval $ac_try) 2>&5
37552 ac_status=$?
37553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37554 (exit $ac_status); }; } &&
37555 { ac_try='test -s conftest$ac_exeext'
37556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37557 (eval $ac_try) 2>&5
37558 ac_status=$?
37559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37560 (exit $ac_status); }; }; then
37561 eval "$as_ac_var=yes"
37562 else
37563 echo "$as_me: failed program was:" >&5
37564 sed 's/^/| /' conftest.$ac_ext >&5
37566 eval "$as_ac_var=no"
37568 rm -f conftest.err conftest.$ac_objext \
37569 conftest$ac_exeext conftest.$ac_ext
37571 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37572 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37573 if test `eval echo '${'$as_ac_var'}'` = yes; then
37574 cat >>confdefs.h <<_ACEOF
37575 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37576 _ACEOF
37579 done
37581 else
37583 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
37584 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
37585 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37586 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
37587 echo $ECHO_N "(cached) $ECHO_C" >&6
37588 else
37592 ac_ext=cc
37593 ac_cpp='$CXXCPP $CPPFLAGS'
37594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37598 cat >conftest.$ac_ext <<_ACEOF
37599 /* confdefs.h. */
37600 _ACEOF
37601 cat confdefs.h >>conftest.$ac_ext
37602 cat >>conftest.$ac_ext <<_ACEOF
37603 /* end confdefs.h. */
37604 #include <math.h>
37606 main ()
37608 _hypotf(0, 0);
37610 return 0;
37612 _ACEOF
37613 rm -f conftest.$ac_objext
37614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37615 (eval $ac_compile) 2>conftest.er1
37616 ac_status=$?
37617 grep -v '^ *+' conftest.er1 >conftest.err
37618 rm -f conftest.er1
37619 cat conftest.err >&5
37620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37621 (exit $ac_status); } &&
37622 { ac_try='test -z "$ac_cxx_werror_flag"
37623 || test ! -s conftest.err'
37624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37625 (eval $ac_try) 2>&5
37626 ac_status=$?
37627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37628 (exit $ac_status); }; } &&
37629 { ac_try='test -s conftest.$ac_objext'
37630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37631 (eval $ac_try) 2>&5
37632 ac_status=$?
37633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37634 (exit $ac_status); }; }; then
37635 glibcxx_cv_func__hypotf_use=yes
37636 else
37637 echo "$as_me: failed program was:" >&5
37638 sed 's/^/| /' conftest.$ac_ext >&5
37640 glibcxx_cv_func__hypotf_use=no
37642 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37643 ac_ext=c
37644 ac_cpp='$CPP $CPPFLAGS'
37645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37653 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
37654 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
37656 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37658 for ac_func in _hypotf
37660 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37661 echo "$as_me:$LINENO: checking for $ac_func" >&5
37662 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37663 if eval "test \"\${$as_ac_var+set}\" = set"; then
37664 echo $ECHO_N "(cached) $ECHO_C" >&6
37665 else
37666 if test x$gcc_no_link = xyes; then
37667 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37668 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37669 { (exit 1); exit 1; }; }
37671 cat >conftest.$ac_ext <<_ACEOF
37672 /* confdefs.h. */
37673 _ACEOF
37674 cat confdefs.h >>conftest.$ac_ext
37675 cat >>conftest.$ac_ext <<_ACEOF
37676 /* end confdefs.h. */
37677 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37678 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37679 #define $ac_func innocuous_$ac_func
37681 /* System header to define __stub macros and hopefully few prototypes,
37682 which can conflict with char $ac_func (); below.
37683 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37684 <limits.h> exists even on freestanding compilers. */
37686 #ifdef __STDC__
37687 # include <limits.h>
37688 #else
37689 # include <assert.h>
37690 #endif
37692 #undef $ac_func
37694 /* Override any gcc2 internal prototype to avoid an error. */
37695 #ifdef __cplusplus
37696 extern "C"
37698 #endif
37699 /* We use char because int might match the return type of a gcc2
37700 builtin and then its argument prototype would still apply. */
37701 char $ac_func ();
37702 /* The GNU C library defines this for functions which it implements
37703 to always fail with ENOSYS. Some functions are actually named
37704 something starting with __ and the normal name is an alias. */
37705 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37706 choke me
37707 #else
37708 char (*f) () = $ac_func;
37709 #endif
37710 #ifdef __cplusplus
37712 #endif
37715 main ()
37717 return f != $ac_func;
37719 return 0;
37721 _ACEOF
37722 rm -f conftest.$ac_objext conftest$ac_exeext
37723 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37724 (eval $ac_link) 2>conftest.er1
37725 ac_status=$?
37726 grep -v '^ *+' conftest.er1 >conftest.err
37727 rm -f conftest.er1
37728 cat conftest.err >&5
37729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37730 (exit $ac_status); } &&
37731 { ac_try='test -z "$ac_c_werror_flag"
37732 || test ! -s conftest.err'
37733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37734 (eval $ac_try) 2>&5
37735 ac_status=$?
37736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37737 (exit $ac_status); }; } &&
37738 { ac_try='test -s conftest$ac_exeext'
37739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37740 (eval $ac_try) 2>&5
37741 ac_status=$?
37742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37743 (exit $ac_status); }; }; then
37744 eval "$as_ac_var=yes"
37745 else
37746 echo "$as_me: failed program was:" >&5
37747 sed 's/^/| /' conftest.$ac_ext >&5
37749 eval "$as_ac_var=no"
37751 rm -f conftest.err conftest.$ac_objext \
37752 conftest$ac_exeext conftest.$ac_ext
37754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37755 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37756 if test `eval echo '${'$as_ac_var'}'` = yes; then
37757 cat >>confdefs.h <<_ACEOF
37758 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37759 _ACEOF
37762 done
37769 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
37770 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
37771 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37772 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
37773 echo $ECHO_N "(cached) $ECHO_C" >&6
37774 else
37778 ac_ext=cc
37779 ac_cpp='$CXXCPP $CPPFLAGS'
37780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37784 cat >conftest.$ac_ext <<_ACEOF
37785 /* confdefs.h. */
37786 _ACEOF
37787 cat confdefs.h >>conftest.$ac_ext
37788 cat >>conftest.$ac_ext <<_ACEOF
37789 /* end confdefs.h. */
37790 #include <math.h>
37792 main ()
37794 ldexpf(0, 0);
37796 return 0;
37798 _ACEOF
37799 rm -f conftest.$ac_objext
37800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37801 (eval $ac_compile) 2>conftest.er1
37802 ac_status=$?
37803 grep -v '^ *+' conftest.er1 >conftest.err
37804 rm -f conftest.er1
37805 cat conftest.err >&5
37806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37807 (exit $ac_status); } &&
37808 { ac_try='test -z "$ac_cxx_werror_flag"
37809 || test ! -s conftest.err'
37810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37811 (eval $ac_try) 2>&5
37812 ac_status=$?
37813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37814 (exit $ac_status); }; } &&
37815 { ac_try='test -s conftest.$ac_objext'
37816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37817 (eval $ac_try) 2>&5
37818 ac_status=$?
37819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37820 (exit $ac_status); }; }; then
37821 glibcxx_cv_func_ldexpf_use=yes
37822 else
37823 echo "$as_me: failed program was:" >&5
37824 sed 's/^/| /' conftest.$ac_ext >&5
37826 glibcxx_cv_func_ldexpf_use=no
37828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37829 ac_ext=c
37830 ac_cpp='$CPP $CPPFLAGS'
37831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37839 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
37840 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
37842 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37844 for ac_func in ldexpf
37846 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37847 echo "$as_me:$LINENO: checking for $ac_func" >&5
37848 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37849 if eval "test \"\${$as_ac_var+set}\" = set"; then
37850 echo $ECHO_N "(cached) $ECHO_C" >&6
37851 else
37852 if test x$gcc_no_link = xyes; then
37853 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37854 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37855 { (exit 1); exit 1; }; }
37857 cat >conftest.$ac_ext <<_ACEOF
37858 /* confdefs.h. */
37859 _ACEOF
37860 cat confdefs.h >>conftest.$ac_ext
37861 cat >>conftest.$ac_ext <<_ACEOF
37862 /* end confdefs.h. */
37863 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37864 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37865 #define $ac_func innocuous_$ac_func
37867 /* System header to define __stub macros and hopefully few prototypes,
37868 which can conflict with char $ac_func (); below.
37869 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37870 <limits.h> exists even on freestanding compilers. */
37872 #ifdef __STDC__
37873 # include <limits.h>
37874 #else
37875 # include <assert.h>
37876 #endif
37878 #undef $ac_func
37880 /* Override any gcc2 internal prototype to avoid an error. */
37881 #ifdef __cplusplus
37882 extern "C"
37884 #endif
37885 /* We use char because int might match the return type of a gcc2
37886 builtin and then its argument prototype would still apply. */
37887 char $ac_func ();
37888 /* The GNU C library defines this for functions which it implements
37889 to always fail with ENOSYS. Some functions are actually named
37890 something starting with __ and the normal name is an alias. */
37891 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37892 choke me
37893 #else
37894 char (*f) () = $ac_func;
37895 #endif
37896 #ifdef __cplusplus
37898 #endif
37901 main ()
37903 return f != $ac_func;
37905 return 0;
37907 _ACEOF
37908 rm -f conftest.$ac_objext conftest$ac_exeext
37909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37910 (eval $ac_link) 2>conftest.er1
37911 ac_status=$?
37912 grep -v '^ *+' conftest.er1 >conftest.err
37913 rm -f conftest.er1
37914 cat conftest.err >&5
37915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37916 (exit $ac_status); } &&
37917 { ac_try='test -z "$ac_c_werror_flag"
37918 || test ! -s conftest.err'
37919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37920 (eval $ac_try) 2>&5
37921 ac_status=$?
37922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37923 (exit $ac_status); }; } &&
37924 { ac_try='test -s conftest$ac_exeext'
37925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37926 (eval $ac_try) 2>&5
37927 ac_status=$?
37928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37929 (exit $ac_status); }; }; then
37930 eval "$as_ac_var=yes"
37931 else
37932 echo "$as_me: failed program was:" >&5
37933 sed 's/^/| /' conftest.$ac_ext >&5
37935 eval "$as_ac_var=no"
37937 rm -f conftest.err conftest.$ac_objext \
37938 conftest$ac_exeext conftest.$ac_ext
37940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37941 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37942 if test `eval echo '${'$as_ac_var'}'` = yes; then
37943 cat >>confdefs.h <<_ACEOF
37944 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37945 _ACEOF
37948 done
37950 else
37952 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
37953 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
37954 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
37955 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
37956 echo $ECHO_N "(cached) $ECHO_C" >&6
37957 else
37961 ac_ext=cc
37962 ac_cpp='$CXXCPP $CPPFLAGS'
37963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37967 cat >conftest.$ac_ext <<_ACEOF
37968 /* confdefs.h. */
37969 _ACEOF
37970 cat confdefs.h >>conftest.$ac_ext
37971 cat >>conftest.$ac_ext <<_ACEOF
37972 /* end confdefs.h. */
37973 #include <math.h>
37975 main ()
37977 _ldexpf(0, 0);
37979 return 0;
37981 _ACEOF
37982 rm -f conftest.$ac_objext
37983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37984 (eval $ac_compile) 2>conftest.er1
37985 ac_status=$?
37986 grep -v '^ *+' conftest.er1 >conftest.err
37987 rm -f conftest.er1
37988 cat conftest.err >&5
37989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37990 (exit $ac_status); } &&
37991 { ac_try='test -z "$ac_cxx_werror_flag"
37992 || test ! -s conftest.err'
37993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37994 (eval $ac_try) 2>&5
37995 ac_status=$?
37996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37997 (exit $ac_status); }; } &&
37998 { ac_try='test -s conftest.$ac_objext'
37999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38000 (eval $ac_try) 2>&5
38001 ac_status=$?
38002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38003 (exit $ac_status); }; }; then
38004 glibcxx_cv_func__ldexpf_use=yes
38005 else
38006 echo "$as_me: failed program was:" >&5
38007 sed 's/^/| /' conftest.$ac_ext >&5
38009 glibcxx_cv_func__ldexpf_use=no
38011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38012 ac_ext=c
38013 ac_cpp='$CPP $CPPFLAGS'
38014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38022 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
38023 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
38025 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
38027 for ac_func in _ldexpf
38029 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38030 echo "$as_me:$LINENO: checking for $ac_func" >&5
38031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38032 if eval "test \"\${$as_ac_var+set}\" = set"; then
38033 echo $ECHO_N "(cached) $ECHO_C" >&6
38034 else
38035 if test x$gcc_no_link = xyes; then
38036 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38038 { (exit 1); exit 1; }; }
38040 cat >conftest.$ac_ext <<_ACEOF
38041 /* confdefs.h. */
38042 _ACEOF
38043 cat confdefs.h >>conftest.$ac_ext
38044 cat >>conftest.$ac_ext <<_ACEOF
38045 /* end confdefs.h. */
38046 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38048 #define $ac_func innocuous_$ac_func
38050 /* System header to define __stub macros and hopefully few prototypes,
38051 which can conflict with char $ac_func (); below.
38052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38053 <limits.h> exists even on freestanding compilers. */
38055 #ifdef __STDC__
38056 # include <limits.h>
38057 #else
38058 # include <assert.h>
38059 #endif
38061 #undef $ac_func
38063 /* Override any gcc2 internal prototype to avoid an error. */
38064 #ifdef __cplusplus
38065 extern "C"
38067 #endif
38068 /* We use char because int might match the return type of a gcc2
38069 builtin and then its argument prototype would still apply. */
38070 char $ac_func ();
38071 /* The GNU C library defines this for functions which it implements
38072 to always fail with ENOSYS. Some functions are actually named
38073 something starting with __ and the normal name is an alias. */
38074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38075 choke me
38076 #else
38077 char (*f) () = $ac_func;
38078 #endif
38079 #ifdef __cplusplus
38081 #endif
38084 main ()
38086 return f != $ac_func;
38088 return 0;
38090 _ACEOF
38091 rm -f conftest.$ac_objext conftest$ac_exeext
38092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38093 (eval $ac_link) 2>conftest.er1
38094 ac_status=$?
38095 grep -v '^ *+' conftest.er1 >conftest.err
38096 rm -f conftest.er1
38097 cat conftest.err >&5
38098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38099 (exit $ac_status); } &&
38100 { ac_try='test -z "$ac_c_werror_flag"
38101 || test ! -s conftest.err'
38102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38103 (eval $ac_try) 2>&5
38104 ac_status=$?
38105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38106 (exit $ac_status); }; } &&
38107 { ac_try='test -s conftest$ac_exeext'
38108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38109 (eval $ac_try) 2>&5
38110 ac_status=$?
38111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38112 (exit $ac_status); }; }; then
38113 eval "$as_ac_var=yes"
38114 else
38115 echo "$as_me: failed program was:" >&5
38116 sed 's/^/| /' conftest.$ac_ext >&5
38118 eval "$as_ac_var=no"
38120 rm -f conftest.err conftest.$ac_objext \
38121 conftest$ac_exeext conftest.$ac_ext
38123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38124 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38125 if test `eval echo '${'$as_ac_var'}'` = yes; then
38126 cat >>confdefs.h <<_ACEOF
38127 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38128 _ACEOF
38131 done
38138 echo "$as_me:$LINENO: checking for logf declaration" >&5
38139 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
38140 if test x${glibcxx_cv_func_logf_use+set} != xset; then
38141 if test "${glibcxx_cv_func_logf_use+set}" = set; then
38142 echo $ECHO_N "(cached) $ECHO_C" >&6
38143 else
38147 ac_ext=cc
38148 ac_cpp='$CXXCPP $CPPFLAGS'
38149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38153 cat >conftest.$ac_ext <<_ACEOF
38154 /* confdefs.h. */
38155 _ACEOF
38156 cat confdefs.h >>conftest.$ac_ext
38157 cat >>conftest.$ac_ext <<_ACEOF
38158 /* end confdefs.h. */
38159 #include <math.h>
38160 #ifdef HAVE_IEEEFP_H
38161 #include <ieeefp.h>
38162 #endif
38165 main ()
38167 logf(0);
38169 return 0;
38171 _ACEOF
38172 rm -f conftest.$ac_objext
38173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38174 (eval $ac_compile) 2>conftest.er1
38175 ac_status=$?
38176 grep -v '^ *+' conftest.er1 >conftest.err
38177 rm -f conftest.er1
38178 cat conftest.err >&5
38179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38180 (exit $ac_status); } &&
38181 { ac_try='test -z "$ac_cxx_werror_flag"
38182 || test ! -s conftest.err'
38183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38184 (eval $ac_try) 2>&5
38185 ac_status=$?
38186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38187 (exit $ac_status); }; } &&
38188 { ac_try='test -s conftest.$ac_objext'
38189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38190 (eval $ac_try) 2>&5
38191 ac_status=$?
38192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38193 (exit $ac_status); }; }; then
38194 glibcxx_cv_func_logf_use=yes
38195 else
38196 echo "$as_me: failed program was:" >&5
38197 sed 's/^/| /' conftest.$ac_ext >&5
38199 glibcxx_cv_func_logf_use=no
38201 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38202 ac_ext=c
38203 ac_cpp='$CPP $CPPFLAGS'
38204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38212 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
38213 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
38215 if test x$glibcxx_cv_func_logf_use = x"yes"; then
38217 for ac_func in logf
38219 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38220 echo "$as_me:$LINENO: checking for $ac_func" >&5
38221 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38222 if eval "test \"\${$as_ac_var+set}\" = set"; then
38223 echo $ECHO_N "(cached) $ECHO_C" >&6
38224 else
38225 if test x$gcc_no_link = xyes; then
38226 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38227 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38228 { (exit 1); exit 1; }; }
38230 cat >conftest.$ac_ext <<_ACEOF
38231 /* confdefs.h. */
38232 _ACEOF
38233 cat confdefs.h >>conftest.$ac_ext
38234 cat >>conftest.$ac_ext <<_ACEOF
38235 /* end confdefs.h. */
38236 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38237 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38238 #define $ac_func innocuous_$ac_func
38240 /* System header to define __stub macros and hopefully few prototypes,
38241 which can conflict with char $ac_func (); below.
38242 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38243 <limits.h> exists even on freestanding compilers. */
38245 #ifdef __STDC__
38246 # include <limits.h>
38247 #else
38248 # include <assert.h>
38249 #endif
38251 #undef $ac_func
38253 /* Override any gcc2 internal prototype to avoid an error. */
38254 #ifdef __cplusplus
38255 extern "C"
38257 #endif
38258 /* We use char because int might match the return type of a gcc2
38259 builtin and then its argument prototype would still apply. */
38260 char $ac_func ();
38261 /* The GNU C library defines this for functions which it implements
38262 to always fail with ENOSYS. Some functions are actually named
38263 something starting with __ and the normal name is an alias. */
38264 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38265 choke me
38266 #else
38267 char (*f) () = $ac_func;
38268 #endif
38269 #ifdef __cplusplus
38271 #endif
38274 main ()
38276 return f != $ac_func;
38278 return 0;
38280 _ACEOF
38281 rm -f conftest.$ac_objext conftest$ac_exeext
38282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38283 (eval $ac_link) 2>conftest.er1
38284 ac_status=$?
38285 grep -v '^ *+' conftest.er1 >conftest.err
38286 rm -f conftest.er1
38287 cat conftest.err >&5
38288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38289 (exit $ac_status); } &&
38290 { ac_try='test -z "$ac_c_werror_flag"
38291 || test ! -s conftest.err'
38292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38293 (eval $ac_try) 2>&5
38294 ac_status=$?
38295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38296 (exit $ac_status); }; } &&
38297 { ac_try='test -s conftest$ac_exeext'
38298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38299 (eval $ac_try) 2>&5
38300 ac_status=$?
38301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38302 (exit $ac_status); }; }; then
38303 eval "$as_ac_var=yes"
38304 else
38305 echo "$as_me: failed program was:" >&5
38306 sed 's/^/| /' conftest.$ac_ext >&5
38308 eval "$as_ac_var=no"
38310 rm -f conftest.err conftest.$ac_objext \
38311 conftest$ac_exeext conftest.$ac_ext
38313 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38314 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38315 if test `eval echo '${'$as_ac_var'}'` = yes; then
38316 cat >>confdefs.h <<_ACEOF
38317 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38318 _ACEOF
38321 done
38323 else
38325 echo "$as_me:$LINENO: checking for _logf declaration" >&5
38326 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
38327 if test x${glibcxx_cv_func__logf_use+set} != xset; then
38328 if test "${glibcxx_cv_func__logf_use+set}" = set; then
38329 echo $ECHO_N "(cached) $ECHO_C" >&6
38330 else
38334 ac_ext=cc
38335 ac_cpp='$CXXCPP $CPPFLAGS'
38336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38340 cat >conftest.$ac_ext <<_ACEOF
38341 /* confdefs.h. */
38342 _ACEOF
38343 cat confdefs.h >>conftest.$ac_ext
38344 cat >>conftest.$ac_ext <<_ACEOF
38345 /* end confdefs.h. */
38346 #include <math.h>
38347 #ifdef HAVE_IEEEFP_H
38348 #include <ieeefp.h>
38349 #endif
38352 main ()
38354 _logf(0);
38356 return 0;
38358 _ACEOF
38359 rm -f conftest.$ac_objext
38360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38361 (eval $ac_compile) 2>conftest.er1
38362 ac_status=$?
38363 grep -v '^ *+' conftest.er1 >conftest.err
38364 rm -f conftest.er1
38365 cat conftest.err >&5
38366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38367 (exit $ac_status); } &&
38368 { ac_try='test -z "$ac_cxx_werror_flag"
38369 || test ! -s conftest.err'
38370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38371 (eval $ac_try) 2>&5
38372 ac_status=$?
38373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38374 (exit $ac_status); }; } &&
38375 { ac_try='test -s conftest.$ac_objext'
38376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38377 (eval $ac_try) 2>&5
38378 ac_status=$?
38379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38380 (exit $ac_status); }; }; then
38381 glibcxx_cv_func__logf_use=yes
38382 else
38383 echo "$as_me: failed program was:" >&5
38384 sed 's/^/| /' conftest.$ac_ext >&5
38386 glibcxx_cv_func__logf_use=no
38388 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38389 ac_ext=c
38390 ac_cpp='$CPP $CPPFLAGS'
38391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38399 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
38400 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
38402 if test x$glibcxx_cv_func__logf_use = x"yes"; then
38404 for ac_func in _logf
38406 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38407 echo "$as_me:$LINENO: checking for $ac_func" >&5
38408 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38409 if eval "test \"\${$as_ac_var+set}\" = set"; then
38410 echo $ECHO_N "(cached) $ECHO_C" >&6
38411 else
38412 if test x$gcc_no_link = xyes; then
38413 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38414 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38415 { (exit 1); exit 1; }; }
38417 cat >conftest.$ac_ext <<_ACEOF
38418 /* confdefs.h. */
38419 _ACEOF
38420 cat confdefs.h >>conftest.$ac_ext
38421 cat >>conftest.$ac_ext <<_ACEOF
38422 /* end confdefs.h. */
38423 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38424 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38425 #define $ac_func innocuous_$ac_func
38427 /* System header to define __stub macros and hopefully few prototypes,
38428 which can conflict with char $ac_func (); below.
38429 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38430 <limits.h> exists even on freestanding compilers. */
38432 #ifdef __STDC__
38433 # include <limits.h>
38434 #else
38435 # include <assert.h>
38436 #endif
38438 #undef $ac_func
38440 /* Override any gcc2 internal prototype to avoid an error. */
38441 #ifdef __cplusplus
38442 extern "C"
38444 #endif
38445 /* We use char because int might match the return type of a gcc2
38446 builtin and then its argument prototype would still apply. */
38447 char $ac_func ();
38448 /* The GNU C library defines this for functions which it implements
38449 to always fail with ENOSYS. Some functions are actually named
38450 something starting with __ and the normal name is an alias. */
38451 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38452 choke me
38453 #else
38454 char (*f) () = $ac_func;
38455 #endif
38456 #ifdef __cplusplus
38458 #endif
38461 main ()
38463 return f != $ac_func;
38465 return 0;
38467 _ACEOF
38468 rm -f conftest.$ac_objext conftest$ac_exeext
38469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38470 (eval $ac_link) 2>conftest.er1
38471 ac_status=$?
38472 grep -v '^ *+' conftest.er1 >conftest.err
38473 rm -f conftest.er1
38474 cat conftest.err >&5
38475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38476 (exit $ac_status); } &&
38477 { ac_try='test -z "$ac_c_werror_flag"
38478 || test ! -s conftest.err'
38479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38480 (eval $ac_try) 2>&5
38481 ac_status=$?
38482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38483 (exit $ac_status); }; } &&
38484 { ac_try='test -s conftest$ac_exeext'
38485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38486 (eval $ac_try) 2>&5
38487 ac_status=$?
38488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38489 (exit $ac_status); }; }; then
38490 eval "$as_ac_var=yes"
38491 else
38492 echo "$as_me: failed program was:" >&5
38493 sed 's/^/| /' conftest.$ac_ext >&5
38495 eval "$as_ac_var=no"
38497 rm -f conftest.err conftest.$ac_objext \
38498 conftest$ac_exeext conftest.$ac_ext
38500 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38501 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38502 if test `eval echo '${'$as_ac_var'}'` = yes; then
38503 cat >>confdefs.h <<_ACEOF
38504 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38505 _ACEOF
38508 done
38515 echo "$as_me:$LINENO: checking for log10f declaration" >&5
38516 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
38517 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
38518 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
38519 echo $ECHO_N "(cached) $ECHO_C" >&6
38520 else
38524 ac_ext=cc
38525 ac_cpp='$CXXCPP $CPPFLAGS'
38526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38530 cat >conftest.$ac_ext <<_ACEOF
38531 /* confdefs.h. */
38532 _ACEOF
38533 cat confdefs.h >>conftest.$ac_ext
38534 cat >>conftest.$ac_ext <<_ACEOF
38535 /* end confdefs.h. */
38536 #include <math.h>
38537 #ifdef HAVE_IEEEFP_H
38538 #include <ieeefp.h>
38539 #endif
38542 main ()
38544 log10f(0);
38546 return 0;
38548 _ACEOF
38549 rm -f conftest.$ac_objext
38550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38551 (eval $ac_compile) 2>conftest.er1
38552 ac_status=$?
38553 grep -v '^ *+' conftest.er1 >conftest.err
38554 rm -f conftest.er1
38555 cat conftest.err >&5
38556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38557 (exit $ac_status); } &&
38558 { ac_try='test -z "$ac_cxx_werror_flag"
38559 || test ! -s conftest.err'
38560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38561 (eval $ac_try) 2>&5
38562 ac_status=$?
38563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38564 (exit $ac_status); }; } &&
38565 { ac_try='test -s conftest.$ac_objext'
38566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38567 (eval $ac_try) 2>&5
38568 ac_status=$?
38569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38570 (exit $ac_status); }; }; then
38571 glibcxx_cv_func_log10f_use=yes
38572 else
38573 echo "$as_me: failed program was:" >&5
38574 sed 's/^/| /' conftest.$ac_ext >&5
38576 glibcxx_cv_func_log10f_use=no
38578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38579 ac_ext=c
38580 ac_cpp='$CPP $CPPFLAGS'
38581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38589 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
38590 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
38592 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
38594 for ac_func in log10f
38596 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38597 echo "$as_me:$LINENO: checking for $ac_func" >&5
38598 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38599 if eval "test \"\${$as_ac_var+set}\" = set"; then
38600 echo $ECHO_N "(cached) $ECHO_C" >&6
38601 else
38602 if test x$gcc_no_link = xyes; then
38603 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38604 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38605 { (exit 1); exit 1; }; }
38607 cat >conftest.$ac_ext <<_ACEOF
38608 /* confdefs.h. */
38609 _ACEOF
38610 cat confdefs.h >>conftest.$ac_ext
38611 cat >>conftest.$ac_ext <<_ACEOF
38612 /* end confdefs.h. */
38613 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38614 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38615 #define $ac_func innocuous_$ac_func
38617 /* System header to define __stub macros and hopefully few prototypes,
38618 which can conflict with char $ac_func (); below.
38619 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38620 <limits.h> exists even on freestanding compilers. */
38622 #ifdef __STDC__
38623 # include <limits.h>
38624 #else
38625 # include <assert.h>
38626 #endif
38628 #undef $ac_func
38630 /* Override any gcc2 internal prototype to avoid an error. */
38631 #ifdef __cplusplus
38632 extern "C"
38634 #endif
38635 /* We use char because int might match the return type of a gcc2
38636 builtin and then its argument prototype would still apply. */
38637 char $ac_func ();
38638 /* The GNU C library defines this for functions which it implements
38639 to always fail with ENOSYS. Some functions are actually named
38640 something starting with __ and the normal name is an alias. */
38641 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38642 choke me
38643 #else
38644 char (*f) () = $ac_func;
38645 #endif
38646 #ifdef __cplusplus
38648 #endif
38651 main ()
38653 return f != $ac_func;
38655 return 0;
38657 _ACEOF
38658 rm -f conftest.$ac_objext conftest$ac_exeext
38659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38660 (eval $ac_link) 2>conftest.er1
38661 ac_status=$?
38662 grep -v '^ *+' conftest.er1 >conftest.err
38663 rm -f conftest.er1
38664 cat conftest.err >&5
38665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38666 (exit $ac_status); } &&
38667 { ac_try='test -z "$ac_c_werror_flag"
38668 || test ! -s conftest.err'
38669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38670 (eval $ac_try) 2>&5
38671 ac_status=$?
38672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38673 (exit $ac_status); }; } &&
38674 { ac_try='test -s conftest$ac_exeext'
38675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38676 (eval $ac_try) 2>&5
38677 ac_status=$?
38678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38679 (exit $ac_status); }; }; then
38680 eval "$as_ac_var=yes"
38681 else
38682 echo "$as_me: failed program was:" >&5
38683 sed 's/^/| /' conftest.$ac_ext >&5
38685 eval "$as_ac_var=no"
38687 rm -f conftest.err conftest.$ac_objext \
38688 conftest$ac_exeext conftest.$ac_ext
38690 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38691 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38692 if test `eval echo '${'$as_ac_var'}'` = yes; then
38693 cat >>confdefs.h <<_ACEOF
38694 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38695 _ACEOF
38698 done
38700 else
38702 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
38703 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
38704 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
38705 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
38706 echo $ECHO_N "(cached) $ECHO_C" >&6
38707 else
38711 ac_ext=cc
38712 ac_cpp='$CXXCPP $CPPFLAGS'
38713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38717 cat >conftest.$ac_ext <<_ACEOF
38718 /* confdefs.h. */
38719 _ACEOF
38720 cat confdefs.h >>conftest.$ac_ext
38721 cat >>conftest.$ac_ext <<_ACEOF
38722 /* end confdefs.h. */
38723 #include <math.h>
38724 #ifdef HAVE_IEEEFP_H
38725 #include <ieeefp.h>
38726 #endif
38729 main ()
38731 _log10f(0);
38733 return 0;
38735 _ACEOF
38736 rm -f conftest.$ac_objext
38737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38738 (eval $ac_compile) 2>conftest.er1
38739 ac_status=$?
38740 grep -v '^ *+' conftest.er1 >conftest.err
38741 rm -f conftest.er1
38742 cat conftest.err >&5
38743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38744 (exit $ac_status); } &&
38745 { ac_try='test -z "$ac_cxx_werror_flag"
38746 || test ! -s conftest.err'
38747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38748 (eval $ac_try) 2>&5
38749 ac_status=$?
38750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38751 (exit $ac_status); }; } &&
38752 { ac_try='test -s conftest.$ac_objext'
38753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38754 (eval $ac_try) 2>&5
38755 ac_status=$?
38756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38757 (exit $ac_status); }; }; then
38758 glibcxx_cv_func__log10f_use=yes
38759 else
38760 echo "$as_me: failed program was:" >&5
38761 sed 's/^/| /' conftest.$ac_ext >&5
38763 glibcxx_cv_func__log10f_use=no
38765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38766 ac_ext=c
38767 ac_cpp='$CPP $CPPFLAGS'
38768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38776 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
38777 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
38779 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
38781 for ac_func in _log10f
38783 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38784 echo "$as_me:$LINENO: checking for $ac_func" >&5
38785 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38786 if eval "test \"\${$as_ac_var+set}\" = set"; then
38787 echo $ECHO_N "(cached) $ECHO_C" >&6
38788 else
38789 if test x$gcc_no_link = xyes; then
38790 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38791 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38792 { (exit 1); exit 1; }; }
38794 cat >conftest.$ac_ext <<_ACEOF
38795 /* confdefs.h. */
38796 _ACEOF
38797 cat confdefs.h >>conftest.$ac_ext
38798 cat >>conftest.$ac_ext <<_ACEOF
38799 /* end confdefs.h. */
38800 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38801 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38802 #define $ac_func innocuous_$ac_func
38804 /* System header to define __stub macros and hopefully few prototypes,
38805 which can conflict with char $ac_func (); below.
38806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38807 <limits.h> exists even on freestanding compilers. */
38809 #ifdef __STDC__
38810 # include <limits.h>
38811 #else
38812 # include <assert.h>
38813 #endif
38815 #undef $ac_func
38817 /* Override any gcc2 internal prototype to avoid an error. */
38818 #ifdef __cplusplus
38819 extern "C"
38821 #endif
38822 /* We use char because int might match the return type of a gcc2
38823 builtin and then its argument prototype would still apply. */
38824 char $ac_func ();
38825 /* The GNU C library defines this for functions which it implements
38826 to always fail with ENOSYS. Some functions are actually named
38827 something starting with __ and the normal name is an alias. */
38828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38829 choke me
38830 #else
38831 char (*f) () = $ac_func;
38832 #endif
38833 #ifdef __cplusplus
38835 #endif
38838 main ()
38840 return f != $ac_func;
38842 return 0;
38844 _ACEOF
38845 rm -f conftest.$ac_objext conftest$ac_exeext
38846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38847 (eval $ac_link) 2>conftest.er1
38848 ac_status=$?
38849 grep -v '^ *+' conftest.er1 >conftest.err
38850 rm -f conftest.er1
38851 cat conftest.err >&5
38852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38853 (exit $ac_status); } &&
38854 { ac_try='test -z "$ac_c_werror_flag"
38855 || test ! -s conftest.err'
38856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38857 (eval $ac_try) 2>&5
38858 ac_status=$?
38859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38860 (exit $ac_status); }; } &&
38861 { ac_try='test -s conftest$ac_exeext'
38862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38863 (eval $ac_try) 2>&5
38864 ac_status=$?
38865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38866 (exit $ac_status); }; }; then
38867 eval "$as_ac_var=yes"
38868 else
38869 echo "$as_me: failed program was:" >&5
38870 sed 's/^/| /' conftest.$ac_ext >&5
38872 eval "$as_ac_var=no"
38874 rm -f conftest.err conftest.$ac_objext \
38875 conftest$ac_exeext conftest.$ac_ext
38877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38878 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38879 if test `eval echo '${'$as_ac_var'}'` = yes; then
38880 cat >>confdefs.h <<_ACEOF
38881 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38882 _ACEOF
38885 done
38892 echo "$as_me:$LINENO: checking for modff declaration" >&5
38893 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
38894 if test x${glibcxx_cv_func_modff_use+set} != xset; then
38895 if test "${glibcxx_cv_func_modff_use+set}" = set; then
38896 echo $ECHO_N "(cached) $ECHO_C" >&6
38897 else
38901 ac_ext=cc
38902 ac_cpp='$CXXCPP $CPPFLAGS'
38903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38907 cat >conftest.$ac_ext <<_ACEOF
38908 /* confdefs.h. */
38909 _ACEOF
38910 cat confdefs.h >>conftest.$ac_ext
38911 cat >>conftest.$ac_ext <<_ACEOF
38912 /* end confdefs.h. */
38913 #include <math.h>
38915 main ()
38917 modff(0, 0);
38919 return 0;
38921 _ACEOF
38922 rm -f conftest.$ac_objext
38923 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38924 (eval $ac_compile) 2>conftest.er1
38925 ac_status=$?
38926 grep -v '^ *+' conftest.er1 >conftest.err
38927 rm -f conftest.er1
38928 cat conftest.err >&5
38929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38930 (exit $ac_status); } &&
38931 { ac_try='test -z "$ac_cxx_werror_flag"
38932 || test ! -s conftest.err'
38933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38934 (eval $ac_try) 2>&5
38935 ac_status=$?
38936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38937 (exit $ac_status); }; } &&
38938 { ac_try='test -s conftest.$ac_objext'
38939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38940 (eval $ac_try) 2>&5
38941 ac_status=$?
38942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38943 (exit $ac_status); }; }; then
38944 glibcxx_cv_func_modff_use=yes
38945 else
38946 echo "$as_me: failed program was:" >&5
38947 sed 's/^/| /' conftest.$ac_ext >&5
38949 glibcxx_cv_func_modff_use=no
38951 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38952 ac_ext=c
38953 ac_cpp='$CPP $CPPFLAGS'
38954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38962 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
38963 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
38965 if test x$glibcxx_cv_func_modff_use = x"yes"; then
38967 for ac_func in modff
38969 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38970 echo "$as_me:$LINENO: checking for $ac_func" >&5
38971 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38972 if eval "test \"\${$as_ac_var+set}\" = set"; then
38973 echo $ECHO_N "(cached) $ECHO_C" >&6
38974 else
38975 if test x$gcc_no_link = xyes; then
38976 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38977 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38978 { (exit 1); exit 1; }; }
38980 cat >conftest.$ac_ext <<_ACEOF
38981 /* confdefs.h. */
38982 _ACEOF
38983 cat confdefs.h >>conftest.$ac_ext
38984 cat >>conftest.$ac_ext <<_ACEOF
38985 /* end confdefs.h. */
38986 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38987 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38988 #define $ac_func innocuous_$ac_func
38990 /* System header to define __stub macros and hopefully few prototypes,
38991 which can conflict with char $ac_func (); below.
38992 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38993 <limits.h> exists even on freestanding compilers. */
38995 #ifdef __STDC__
38996 # include <limits.h>
38997 #else
38998 # include <assert.h>
38999 #endif
39001 #undef $ac_func
39003 /* Override any gcc2 internal prototype to avoid an error. */
39004 #ifdef __cplusplus
39005 extern "C"
39007 #endif
39008 /* We use char because int might match the return type of a gcc2
39009 builtin and then its argument prototype would still apply. */
39010 char $ac_func ();
39011 /* The GNU C library defines this for functions which it implements
39012 to always fail with ENOSYS. Some functions are actually named
39013 something starting with __ and the normal name is an alias. */
39014 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39015 choke me
39016 #else
39017 char (*f) () = $ac_func;
39018 #endif
39019 #ifdef __cplusplus
39021 #endif
39024 main ()
39026 return f != $ac_func;
39028 return 0;
39030 _ACEOF
39031 rm -f conftest.$ac_objext conftest$ac_exeext
39032 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39033 (eval $ac_link) 2>conftest.er1
39034 ac_status=$?
39035 grep -v '^ *+' conftest.er1 >conftest.err
39036 rm -f conftest.er1
39037 cat conftest.err >&5
39038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39039 (exit $ac_status); } &&
39040 { ac_try='test -z "$ac_c_werror_flag"
39041 || test ! -s conftest.err'
39042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39043 (eval $ac_try) 2>&5
39044 ac_status=$?
39045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39046 (exit $ac_status); }; } &&
39047 { ac_try='test -s conftest$ac_exeext'
39048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39049 (eval $ac_try) 2>&5
39050 ac_status=$?
39051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39052 (exit $ac_status); }; }; then
39053 eval "$as_ac_var=yes"
39054 else
39055 echo "$as_me: failed program was:" >&5
39056 sed 's/^/| /' conftest.$ac_ext >&5
39058 eval "$as_ac_var=no"
39060 rm -f conftest.err conftest.$ac_objext \
39061 conftest$ac_exeext conftest.$ac_ext
39063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39064 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39065 if test `eval echo '${'$as_ac_var'}'` = yes; then
39066 cat >>confdefs.h <<_ACEOF
39067 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39068 _ACEOF
39071 done
39073 else
39075 echo "$as_me:$LINENO: checking for _modff declaration" >&5
39076 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
39077 if test x${glibcxx_cv_func__modff_use+set} != xset; then
39078 if test "${glibcxx_cv_func__modff_use+set}" = set; then
39079 echo $ECHO_N "(cached) $ECHO_C" >&6
39080 else
39084 ac_ext=cc
39085 ac_cpp='$CXXCPP $CPPFLAGS'
39086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39090 cat >conftest.$ac_ext <<_ACEOF
39091 /* confdefs.h. */
39092 _ACEOF
39093 cat confdefs.h >>conftest.$ac_ext
39094 cat >>conftest.$ac_ext <<_ACEOF
39095 /* end confdefs.h. */
39096 #include <math.h>
39098 main ()
39100 _modff(0, 0);
39102 return 0;
39104 _ACEOF
39105 rm -f conftest.$ac_objext
39106 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39107 (eval $ac_compile) 2>conftest.er1
39108 ac_status=$?
39109 grep -v '^ *+' conftest.er1 >conftest.err
39110 rm -f conftest.er1
39111 cat conftest.err >&5
39112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39113 (exit $ac_status); } &&
39114 { ac_try='test -z "$ac_cxx_werror_flag"
39115 || test ! -s conftest.err'
39116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39117 (eval $ac_try) 2>&5
39118 ac_status=$?
39119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39120 (exit $ac_status); }; } &&
39121 { ac_try='test -s conftest.$ac_objext'
39122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39123 (eval $ac_try) 2>&5
39124 ac_status=$?
39125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39126 (exit $ac_status); }; }; then
39127 glibcxx_cv_func__modff_use=yes
39128 else
39129 echo "$as_me: failed program was:" >&5
39130 sed 's/^/| /' conftest.$ac_ext >&5
39132 glibcxx_cv_func__modff_use=no
39134 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39135 ac_ext=c
39136 ac_cpp='$CPP $CPPFLAGS'
39137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39145 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
39146 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
39148 if test x$glibcxx_cv_func__modff_use = x"yes"; then
39150 for ac_func in _modff
39152 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39153 echo "$as_me:$LINENO: checking for $ac_func" >&5
39154 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39155 if eval "test \"\${$as_ac_var+set}\" = set"; then
39156 echo $ECHO_N "(cached) $ECHO_C" >&6
39157 else
39158 if test x$gcc_no_link = xyes; then
39159 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39160 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39161 { (exit 1); exit 1; }; }
39163 cat >conftest.$ac_ext <<_ACEOF
39164 /* confdefs.h. */
39165 _ACEOF
39166 cat confdefs.h >>conftest.$ac_ext
39167 cat >>conftest.$ac_ext <<_ACEOF
39168 /* end confdefs.h. */
39169 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39170 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39171 #define $ac_func innocuous_$ac_func
39173 /* System header to define __stub macros and hopefully few prototypes,
39174 which can conflict with char $ac_func (); below.
39175 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39176 <limits.h> exists even on freestanding compilers. */
39178 #ifdef __STDC__
39179 # include <limits.h>
39180 #else
39181 # include <assert.h>
39182 #endif
39184 #undef $ac_func
39186 /* Override any gcc2 internal prototype to avoid an error. */
39187 #ifdef __cplusplus
39188 extern "C"
39190 #endif
39191 /* We use char because int might match the return type of a gcc2
39192 builtin and then its argument prototype would still apply. */
39193 char $ac_func ();
39194 /* The GNU C library defines this for functions which it implements
39195 to always fail with ENOSYS. Some functions are actually named
39196 something starting with __ and the normal name is an alias. */
39197 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39198 choke me
39199 #else
39200 char (*f) () = $ac_func;
39201 #endif
39202 #ifdef __cplusplus
39204 #endif
39207 main ()
39209 return f != $ac_func;
39211 return 0;
39213 _ACEOF
39214 rm -f conftest.$ac_objext conftest$ac_exeext
39215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39216 (eval $ac_link) 2>conftest.er1
39217 ac_status=$?
39218 grep -v '^ *+' conftest.er1 >conftest.err
39219 rm -f conftest.er1
39220 cat conftest.err >&5
39221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39222 (exit $ac_status); } &&
39223 { ac_try='test -z "$ac_c_werror_flag"
39224 || test ! -s conftest.err'
39225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39226 (eval $ac_try) 2>&5
39227 ac_status=$?
39228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39229 (exit $ac_status); }; } &&
39230 { ac_try='test -s conftest$ac_exeext'
39231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39232 (eval $ac_try) 2>&5
39233 ac_status=$?
39234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39235 (exit $ac_status); }; }; then
39236 eval "$as_ac_var=yes"
39237 else
39238 echo "$as_me: failed program was:" >&5
39239 sed 's/^/| /' conftest.$ac_ext >&5
39241 eval "$as_ac_var=no"
39243 rm -f conftest.err conftest.$ac_objext \
39244 conftest$ac_exeext conftest.$ac_ext
39246 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39247 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39248 if test `eval echo '${'$as_ac_var'}'` = yes; then
39249 cat >>confdefs.h <<_ACEOF
39250 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39251 _ACEOF
39254 done
39261 echo "$as_me:$LINENO: checking for powf declaration" >&5
39262 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
39263 if test x${glibcxx_cv_func_powf_use+set} != xset; then
39264 if test "${glibcxx_cv_func_powf_use+set}" = set; then
39265 echo $ECHO_N "(cached) $ECHO_C" >&6
39266 else
39270 ac_ext=cc
39271 ac_cpp='$CXXCPP $CPPFLAGS'
39272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39276 cat >conftest.$ac_ext <<_ACEOF
39277 /* confdefs.h. */
39278 _ACEOF
39279 cat confdefs.h >>conftest.$ac_ext
39280 cat >>conftest.$ac_ext <<_ACEOF
39281 /* end confdefs.h. */
39282 #include <math.h>
39284 main ()
39286 powf(0, 0);
39288 return 0;
39290 _ACEOF
39291 rm -f conftest.$ac_objext
39292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39293 (eval $ac_compile) 2>conftest.er1
39294 ac_status=$?
39295 grep -v '^ *+' conftest.er1 >conftest.err
39296 rm -f conftest.er1
39297 cat conftest.err >&5
39298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39299 (exit $ac_status); } &&
39300 { ac_try='test -z "$ac_cxx_werror_flag"
39301 || test ! -s conftest.err'
39302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39303 (eval $ac_try) 2>&5
39304 ac_status=$?
39305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39306 (exit $ac_status); }; } &&
39307 { ac_try='test -s conftest.$ac_objext'
39308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39309 (eval $ac_try) 2>&5
39310 ac_status=$?
39311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39312 (exit $ac_status); }; }; then
39313 glibcxx_cv_func_powf_use=yes
39314 else
39315 echo "$as_me: failed program was:" >&5
39316 sed 's/^/| /' conftest.$ac_ext >&5
39318 glibcxx_cv_func_powf_use=no
39320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39321 ac_ext=c
39322 ac_cpp='$CPP $CPPFLAGS'
39323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39331 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
39332 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
39334 if test x$glibcxx_cv_func_powf_use = x"yes"; then
39336 for ac_func in powf
39338 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39339 echo "$as_me:$LINENO: checking for $ac_func" >&5
39340 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39341 if eval "test \"\${$as_ac_var+set}\" = set"; then
39342 echo $ECHO_N "(cached) $ECHO_C" >&6
39343 else
39344 if test x$gcc_no_link = xyes; then
39345 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39346 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39347 { (exit 1); exit 1; }; }
39349 cat >conftest.$ac_ext <<_ACEOF
39350 /* confdefs.h. */
39351 _ACEOF
39352 cat confdefs.h >>conftest.$ac_ext
39353 cat >>conftest.$ac_ext <<_ACEOF
39354 /* end confdefs.h. */
39355 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39356 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39357 #define $ac_func innocuous_$ac_func
39359 /* System header to define __stub macros and hopefully few prototypes,
39360 which can conflict with char $ac_func (); below.
39361 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39362 <limits.h> exists even on freestanding compilers. */
39364 #ifdef __STDC__
39365 # include <limits.h>
39366 #else
39367 # include <assert.h>
39368 #endif
39370 #undef $ac_func
39372 /* Override any gcc2 internal prototype to avoid an error. */
39373 #ifdef __cplusplus
39374 extern "C"
39376 #endif
39377 /* We use char because int might match the return type of a gcc2
39378 builtin and then its argument prototype would still apply. */
39379 char $ac_func ();
39380 /* The GNU C library defines this for functions which it implements
39381 to always fail with ENOSYS. Some functions are actually named
39382 something starting with __ and the normal name is an alias. */
39383 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39384 choke me
39385 #else
39386 char (*f) () = $ac_func;
39387 #endif
39388 #ifdef __cplusplus
39390 #endif
39393 main ()
39395 return f != $ac_func;
39397 return 0;
39399 _ACEOF
39400 rm -f conftest.$ac_objext conftest$ac_exeext
39401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39402 (eval $ac_link) 2>conftest.er1
39403 ac_status=$?
39404 grep -v '^ *+' conftest.er1 >conftest.err
39405 rm -f conftest.er1
39406 cat conftest.err >&5
39407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39408 (exit $ac_status); } &&
39409 { ac_try='test -z "$ac_c_werror_flag"
39410 || test ! -s conftest.err'
39411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39412 (eval $ac_try) 2>&5
39413 ac_status=$?
39414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39415 (exit $ac_status); }; } &&
39416 { ac_try='test -s conftest$ac_exeext'
39417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39418 (eval $ac_try) 2>&5
39419 ac_status=$?
39420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39421 (exit $ac_status); }; }; then
39422 eval "$as_ac_var=yes"
39423 else
39424 echo "$as_me: failed program was:" >&5
39425 sed 's/^/| /' conftest.$ac_ext >&5
39427 eval "$as_ac_var=no"
39429 rm -f conftest.err conftest.$ac_objext \
39430 conftest$ac_exeext conftest.$ac_ext
39432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39433 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39434 if test `eval echo '${'$as_ac_var'}'` = yes; then
39435 cat >>confdefs.h <<_ACEOF
39436 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39437 _ACEOF
39440 done
39442 else
39444 echo "$as_me:$LINENO: checking for _powf declaration" >&5
39445 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
39446 if test x${glibcxx_cv_func__powf_use+set} != xset; then
39447 if test "${glibcxx_cv_func__powf_use+set}" = set; then
39448 echo $ECHO_N "(cached) $ECHO_C" >&6
39449 else
39453 ac_ext=cc
39454 ac_cpp='$CXXCPP $CPPFLAGS'
39455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39459 cat >conftest.$ac_ext <<_ACEOF
39460 /* confdefs.h. */
39461 _ACEOF
39462 cat confdefs.h >>conftest.$ac_ext
39463 cat >>conftest.$ac_ext <<_ACEOF
39464 /* end confdefs.h. */
39465 #include <math.h>
39467 main ()
39469 _powf(0, 0);
39471 return 0;
39473 _ACEOF
39474 rm -f conftest.$ac_objext
39475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39476 (eval $ac_compile) 2>conftest.er1
39477 ac_status=$?
39478 grep -v '^ *+' conftest.er1 >conftest.err
39479 rm -f conftest.er1
39480 cat conftest.err >&5
39481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39482 (exit $ac_status); } &&
39483 { ac_try='test -z "$ac_cxx_werror_flag"
39484 || test ! -s conftest.err'
39485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39486 (eval $ac_try) 2>&5
39487 ac_status=$?
39488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39489 (exit $ac_status); }; } &&
39490 { ac_try='test -s conftest.$ac_objext'
39491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39492 (eval $ac_try) 2>&5
39493 ac_status=$?
39494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39495 (exit $ac_status); }; }; then
39496 glibcxx_cv_func__powf_use=yes
39497 else
39498 echo "$as_me: failed program was:" >&5
39499 sed 's/^/| /' conftest.$ac_ext >&5
39501 glibcxx_cv_func__powf_use=no
39503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39504 ac_ext=c
39505 ac_cpp='$CPP $CPPFLAGS'
39506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39514 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
39515 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
39517 if test x$glibcxx_cv_func__powf_use = x"yes"; then
39519 for ac_func in _powf
39521 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39522 echo "$as_me:$LINENO: checking for $ac_func" >&5
39523 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39524 if eval "test \"\${$as_ac_var+set}\" = set"; then
39525 echo $ECHO_N "(cached) $ECHO_C" >&6
39526 else
39527 if test x$gcc_no_link = xyes; then
39528 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39529 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39530 { (exit 1); exit 1; }; }
39532 cat >conftest.$ac_ext <<_ACEOF
39533 /* confdefs.h. */
39534 _ACEOF
39535 cat confdefs.h >>conftest.$ac_ext
39536 cat >>conftest.$ac_ext <<_ACEOF
39537 /* end confdefs.h. */
39538 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39539 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39540 #define $ac_func innocuous_$ac_func
39542 /* System header to define __stub macros and hopefully few prototypes,
39543 which can conflict with char $ac_func (); below.
39544 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39545 <limits.h> exists even on freestanding compilers. */
39547 #ifdef __STDC__
39548 # include <limits.h>
39549 #else
39550 # include <assert.h>
39551 #endif
39553 #undef $ac_func
39555 /* Override any gcc2 internal prototype to avoid an error. */
39556 #ifdef __cplusplus
39557 extern "C"
39559 #endif
39560 /* We use char because int might match the return type of a gcc2
39561 builtin and then its argument prototype would still apply. */
39562 char $ac_func ();
39563 /* The GNU C library defines this for functions which it implements
39564 to always fail with ENOSYS. Some functions are actually named
39565 something starting with __ and the normal name is an alias. */
39566 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39567 choke me
39568 #else
39569 char (*f) () = $ac_func;
39570 #endif
39571 #ifdef __cplusplus
39573 #endif
39576 main ()
39578 return f != $ac_func;
39580 return 0;
39582 _ACEOF
39583 rm -f conftest.$ac_objext conftest$ac_exeext
39584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39585 (eval $ac_link) 2>conftest.er1
39586 ac_status=$?
39587 grep -v '^ *+' conftest.er1 >conftest.err
39588 rm -f conftest.er1
39589 cat conftest.err >&5
39590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39591 (exit $ac_status); } &&
39592 { ac_try='test -z "$ac_c_werror_flag"
39593 || test ! -s conftest.err'
39594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39595 (eval $ac_try) 2>&5
39596 ac_status=$?
39597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39598 (exit $ac_status); }; } &&
39599 { ac_try='test -s conftest$ac_exeext'
39600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39601 (eval $ac_try) 2>&5
39602 ac_status=$?
39603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39604 (exit $ac_status); }; }; then
39605 eval "$as_ac_var=yes"
39606 else
39607 echo "$as_me: failed program was:" >&5
39608 sed 's/^/| /' conftest.$ac_ext >&5
39610 eval "$as_ac_var=no"
39612 rm -f conftest.err conftest.$ac_objext \
39613 conftest$ac_exeext conftest.$ac_ext
39615 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39616 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39617 if test `eval echo '${'$as_ac_var'}'` = yes; then
39618 cat >>confdefs.h <<_ACEOF
39619 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39620 _ACEOF
39623 done
39630 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
39631 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
39632 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
39633 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
39634 echo $ECHO_N "(cached) $ECHO_C" >&6
39635 else
39639 ac_ext=cc
39640 ac_cpp='$CXXCPP $CPPFLAGS'
39641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39645 cat >conftest.$ac_ext <<_ACEOF
39646 /* confdefs.h. */
39647 _ACEOF
39648 cat confdefs.h >>conftest.$ac_ext
39649 cat >>conftest.$ac_ext <<_ACEOF
39650 /* end confdefs.h. */
39651 #include <math.h>
39652 #ifdef HAVE_IEEEFP_H
39653 #include <ieeefp.h>
39654 #endif
39657 main ()
39659 sqrtf(0);
39661 return 0;
39663 _ACEOF
39664 rm -f conftest.$ac_objext
39665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39666 (eval $ac_compile) 2>conftest.er1
39667 ac_status=$?
39668 grep -v '^ *+' conftest.er1 >conftest.err
39669 rm -f conftest.er1
39670 cat conftest.err >&5
39671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39672 (exit $ac_status); } &&
39673 { ac_try='test -z "$ac_cxx_werror_flag"
39674 || test ! -s conftest.err'
39675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39676 (eval $ac_try) 2>&5
39677 ac_status=$?
39678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39679 (exit $ac_status); }; } &&
39680 { ac_try='test -s conftest.$ac_objext'
39681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39682 (eval $ac_try) 2>&5
39683 ac_status=$?
39684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39685 (exit $ac_status); }; }; then
39686 glibcxx_cv_func_sqrtf_use=yes
39687 else
39688 echo "$as_me: failed program was:" >&5
39689 sed 's/^/| /' conftest.$ac_ext >&5
39691 glibcxx_cv_func_sqrtf_use=no
39693 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39694 ac_ext=c
39695 ac_cpp='$CPP $CPPFLAGS'
39696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39704 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
39705 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
39707 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
39709 for ac_func in sqrtf
39711 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39712 echo "$as_me:$LINENO: checking for $ac_func" >&5
39713 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39714 if eval "test \"\${$as_ac_var+set}\" = set"; then
39715 echo $ECHO_N "(cached) $ECHO_C" >&6
39716 else
39717 if test x$gcc_no_link = xyes; then
39718 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39719 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39720 { (exit 1); exit 1; }; }
39722 cat >conftest.$ac_ext <<_ACEOF
39723 /* confdefs.h. */
39724 _ACEOF
39725 cat confdefs.h >>conftest.$ac_ext
39726 cat >>conftest.$ac_ext <<_ACEOF
39727 /* end confdefs.h. */
39728 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39729 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39730 #define $ac_func innocuous_$ac_func
39732 /* System header to define __stub macros and hopefully few prototypes,
39733 which can conflict with char $ac_func (); below.
39734 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39735 <limits.h> exists even on freestanding compilers. */
39737 #ifdef __STDC__
39738 # include <limits.h>
39739 #else
39740 # include <assert.h>
39741 #endif
39743 #undef $ac_func
39745 /* Override any gcc2 internal prototype to avoid an error. */
39746 #ifdef __cplusplus
39747 extern "C"
39749 #endif
39750 /* We use char because int might match the return type of a gcc2
39751 builtin and then its argument prototype would still apply. */
39752 char $ac_func ();
39753 /* The GNU C library defines this for functions which it implements
39754 to always fail with ENOSYS. Some functions are actually named
39755 something starting with __ and the normal name is an alias. */
39756 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39757 choke me
39758 #else
39759 char (*f) () = $ac_func;
39760 #endif
39761 #ifdef __cplusplus
39763 #endif
39766 main ()
39768 return f != $ac_func;
39770 return 0;
39772 _ACEOF
39773 rm -f conftest.$ac_objext conftest$ac_exeext
39774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39775 (eval $ac_link) 2>conftest.er1
39776 ac_status=$?
39777 grep -v '^ *+' conftest.er1 >conftest.err
39778 rm -f conftest.er1
39779 cat conftest.err >&5
39780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39781 (exit $ac_status); } &&
39782 { ac_try='test -z "$ac_c_werror_flag"
39783 || test ! -s conftest.err'
39784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39785 (eval $ac_try) 2>&5
39786 ac_status=$?
39787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39788 (exit $ac_status); }; } &&
39789 { ac_try='test -s conftest$ac_exeext'
39790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39791 (eval $ac_try) 2>&5
39792 ac_status=$?
39793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39794 (exit $ac_status); }; }; then
39795 eval "$as_ac_var=yes"
39796 else
39797 echo "$as_me: failed program was:" >&5
39798 sed 's/^/| /' conftest.$ac_ext >&5
39800 eval "$as_ac_var=no"
39802 rm -f conftest.err conftest.$ac_objext \
39803 conftest$ac_exeext conftest.$ac_ext
39805 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39806 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39807 if test `eval echo '${'$as_ac_var'}'` = yes; then
39808 cat >>confdefs.h <<_ACEOF
39809 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39810 _ACEOF
39813 done
39815 else
39817 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
39818 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
39819 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
39820 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
39821 echo $ECHO_N "(cached) $ECHO_C" >&6
39822 else
39826 ac_ext=cc
39827 ac_cpp='$CXXCPP $CPPFLAGS'
39828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39832 cat >conftest.$ac_ext <<_ACEOF
39833 /* confdefs.h. */
39834 _ACEOF
39835 cat confdefs.h >>conftest.$ac_ext
39836 cat >>conftest.$ac_ext <<_ACEOF
39837 /* end confdefs.h. */
39838 #include <math.h>
39839 #ifdef HAVE_IEEEFP_H
39840 #include <ieeefp.h>
39841 #endif
39844 main ()
39846 _sqrtf(0);
39848 return 0;
39850 _ACEOF
39851 rm -f conftest.$ac_objext
39852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39853 (eval $ac_compile) 2>conftest.er1
39854 ac_status=$?
39855 grep -v '^ *+' conftest.er1 >conftest.err
39856 rm -f conftest.er1
39857 cat conftest.err >&5
39858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39859 (exit $ac_status); } &&
39860 { ac_try='test -z "$ac_cxx_werror_flag"
39861 || test ! -s conftest.err'
39862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39863 (eval $ac_try) 2>&5
39864 ac_status=$?
39865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39866 (exit $ac_status); }; } &&
39867 { ac_try='test -s conftest.$ac_objext'
39868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39869 (eval $ac_try) 2>&5
39870 ac_status=$?
39871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39872 (exit $ac_status); }; }; then
39873 glibcxx_cv_func__sqrtf_use=yes
39874 else
39875 echo "$as_me: failed program was:" >&5
39876 sed 's/^/| /' conftest.$ac_ext >&5
39878 glibcxx_cv_func__sqrtf_use=no
39880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39881 ac_ext=c
39882 ac_cpp='$CPP $CPPFLAGS'
39883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39891 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
39892 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
39894 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
39896 for ac_func in _sqrtf
39898 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39899 echo "$as_me:$LINENO: checking for $ac_func" >&5
39900 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39901 if eval "test \"\${$as_ac_var+set}\" = set"; then
39902 echo $ECHO_N "(cached) $ECHO_C" >&6
39903 else
39904 if test x$gcc_no_link = xyes; then
39905 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39906 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39907 { (exit 1); exit 1; }; }
39909 cat >conftest.$ac_ext <<_ACEOF
39910 /* confdefs.h. */
39911 _ACEOF
39912 cat confdefs.h >>conftest.$ac_ext
39913 cat >>conftest.$ac_ext <<_ACEOF
39914 /* end confdefs.h. */
39915 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39916 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39917 #define $ac_func innocuous_$ac_func
39919 /* System header to define __stub macros and hopefully few prototypes,
39920 which can conflict with char $ac_func (); below.
39921 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39922 <limits.h> exists even on freestanding compilers. */
39924 #ifdef __STDC__
39925 # include <limits.h>
39926 #else
39927 # include <assert.h>
39928 #endif
39930 #undef $ac_func
39932 /* Override any gcc2 internal prototype to avoid an error. */
39933 #ifdef __cplusplus
39934 extern "C"
39936 #endif
39937 /* We use char because int might match the return type of a gcc2
39938 builtin and then its argument prototype would still apply. */
39939 char $ac_func ();
39940 /* The GNU C library defines this for functions which it implements
39941 to always fail with ENOSYS. Some functions are actually named
39942 something starting with __ and the normal name is an alias. */
39943 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39944 choke me
39945 #else
39946 char (*f) () = $ac_func;
39947 #endif
39948 #ifdef __cplusplus
39950 #endif
39953 main ()
39955 return f != $ac_func;
39957 return 0;
39959 _ACEOF
39960 rm -f conftest.$ac_objext conftest$ac_exeext
39961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39962 (eval $ac_link) 2>conftest.er1
39963 ac_status=$?
39964 grep -v '^ *+' conftest.er1 >conftest.err
39965 rm -f conftest.er1
39966 cat conftest.err >&5
39967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39968 (exit $ac_status); } &&
39969 { ac_try='test -z "$ac_c_werror_flag"
39970 || test ! -s conftest.err'
39971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39972 (eval $ac_try) 2>&5
39973 ac_status=$?
39974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39975 (exit $ac_status); }; } &&
39976 { ac_try='test -s conftest$ac_exeext'
39977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39978 (eval $ac_try) 2>&5
39979 ac_status=$?
39980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39981 (exit $ac_status); }; }; then
39982 eval "$as_ac_var=yes"
39983 else
39984 echo "$as_me: failed program was:" >&5
39985 sed 's/^/| /' conftest.$ac_ext >&5
39987 eval "$as_ac_var=no"
39989 rm -f conftest.err conftest.$ac_objext \
39990 conftest$ac_exeext conftest.$ac_ext
39992 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39993 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39994 if test `eval echo '${'$as_ac_var'}'` = yes; then
39995 cat >>confdefs.h <<_ACEOF
39996 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39997 _ACEOF
40000 done
40007 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
40008 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
40009 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
40010 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
40011 echo $ECHO_N "(cached) $ECHO_C" >&6
40012 else
40016 ac_ext=cc
40017 ac_cpp='$CXXCPP $CPPFLAGS'
40018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40022 cat >conftest.$ac_ext <<_ACEOF
40023 /* confdefs.h. */
40024 _ACEOF
40025 cat confdefs.h >>conftest.$ac_ext
40026 cat >>conftest.$ac_ext <<_ACEOF
40027 /* end confdefs.h. */
40028 #include <math.h>
40030 main ()
40032 sincosf(0, 0, 0);
40034 return 0;
40036 _ACEOF
40037 rm -f conftest.$ac_objext
40038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40039 (eval $ac_compile) 2>conftest.er1
40040 ac_status=$?
40041 grep -v '^ *+' conftest.er1 >conftest.err
40042 rm -f conftest.er1
40043 cat conftest.err >&5
40044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40045 (exit $ac_status); } &&
40046 { ac_try='test -z "$ac_cxx_werror_flag"
40047 || test ! -s conftest.err'
40048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40049 (eval $ac_try) 2>&5
40050 ac_status=$?
40051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40052 (exit $ac_status); }; } &&
40053 { ac_try='test -s conftest.$ac_objext'
40054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40055 (eval $ac_try) 2>&5
40056 ac_status=$?
40057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40058 (exit $ac_status); }; }; then
40059 glibcxx_cv_func_sincosf_use=yes
40060 else
40061 echo "$as_me: failed program was:" >&5
40062 sed 's/^/| /' conftest.$ac_ext >&5
40064 glibcxx_cv_func_sincosf_use=no
40066 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40067 ac_ext=c
40068 ac_cpp='$CPP $CPPFLAGS'
40069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40077 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
40078 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
40080 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
40082 for ac_func in sincosf
40084 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40085 echo "$as_me:$LINENO: checking for $ac_func" >&5
40086 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40087 if eval "test \"\${$as_ac_var+set}\" = set"; then
40088 echo $ECHO_N "(cached) $ECHO_C" >&6
40089 else
40090 if test x$gcc_no_link = xyes; then
40091 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40093 { (exit 1); exit 1; }; }
40095 cat >conftest.$ac_ext <<_ACEOF
40096 /* confdefs.h. */
40097 _ACEOF
40098 cat confdefs.h >>conftest.$ac_ext
40099 cat >>conftest.$ac_ext <<_ACEOF
40100 /* end confdefs.h. */
40101 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40102 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40103 #define $ac_func innocuous_$ac_func
40105 /* System header to define __stub macros and hopefully few prototypes,
40106 which can conflict with char $ac_func (); below.
40107 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40108 <limits.h> exists even on freestanding compilers. */
40110 #ifdef __STDC__
40111 # include <limits.h>
40112 #else
40113 # include <assert.h>
40114 #endif
40116 #undef $ac_func
40118 /* Override any gcc2 internal prototype to avoid an error. */
40119 #ifdef __cplusplus
40120 extern "C"
40122 #endif
40123 /* We use char because int might match the return type of a gcc2
40124 builtin and then its argument prototype would still apply. */
40125 char $ac_func ();
40126 /* The GNU C library defines this for functions which it implements
40127 to always fail with ENOSYS. Some functions are actually named
40128 something starting with __ and the normal name is an alias. */
40129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40130 choke me
40131 #else
40132 char (*f) () = $ac_func;
40133 #endif
40134 #ifdef __cplusplus
40136 #endif
40139 main ()
40141 return f != $ac_func;
40143 return 0;
40145 _ACEOF
40146 rm -f conftest.$ac_objext conftest$ac_exeext
40147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40148 (eval $ac_link) 2>conftest.er1
40149 ac_status=$?
40150 grep -v '^ *+' conftest.er1 >conftest.err
40151 rm -f conftest.er1
40152 cat conftest.err >&5
40153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40154 (exit $ac_status); } &&
40155 { ac_try='test -z "$ac_c_werror_flag"
40156 || test ! -s conftest.err'
40157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40158 (eval $ac_try) 2>&5
40159 ac_status=$?
40160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40161 (exit $ac_status); }; } &&
40162 { ac_try='test -s conftest$ac_exeext'
40163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40164 (eval $ac_try) 2>&5
40165 ac_status=$?
40166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40167 (exit $ac_status); }; }; then
40168 eval "$as_ac_var=yes"
40169 else
40170 echo "$as_me: failed program was:" >&5
40171 sed 's/^/| /' conftest.$ac_ext >&5
40173 eval "$as_ac_var=no"
40175 rm -f conftest.err conftest.$ac_objext \
40176 conftest$ac_exeext conftest.$ac_ext
40178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40179 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40180 if test `eval echo '${'$as_ac_var'}'` = yes; then
40181 cat >>confdefs.h <<_ACEOF
40182 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40183 _ACEOF
40186 done
40188 else
40190 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
40191 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
40192 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
40193 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
40194 echo $ECHO_N "(cached) $ECHO_C" >&6
40195 else
40199 ac_ext=cc
40200 ac_cpp='$CXXCPP $CPPFLAGS'
40201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40205 cat >conftest.$ac_ext <<_ACEOF
40206 /* confdefs.h. */
40207 _ACEOF
40208 cat confdefs.h >>conftest.$ac_ext
40209 cat >>conftest.$ac_ext <<_ACEOF
40210 /* end confdefs.h. */
40211 #include <math.h>
40213 main ()
40215 _sincosf(0, 0, 0);
40217 return 0;
40219 _ACEOF
40220 rm -f conftest.$ac_objext
40221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40222 (eval $ac_compile) 2>conftest.er1
40223 ac_status=$?
40224 grep -v '^ *+' conftest.er1 >conftest.err
40225 rm -f conftest.er1
40226 cat conftest.err >&5
40227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40228 (exit $ac_status); } &&
40229 { ac_try='test -z "$ac_cxx_werror_flag"
40230 || test ! -s conftest.err'
40231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40232 (eval $ac_try) 2>&5
40233 ac_status=$?
40234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40235 (exit $ac_status); }; } &&
40236 { ac_try='test -s conftest.$ac_objext'
40237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40238 (eval $ac_try) 2>&5
40239 ac_status=$?
40240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40241 (exit $ac_status); }; }; then
40242 glibcxx_cv_func__sincosf_use=yes
40243 else
40244 echo "$as_me: failed program was:" >&5
40245 sed 's/^/| /' conftest.$ac_ext >&5
40247 glibcxx_cv_func__sincosf_use=no
40249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40250 ac_ext=c
40251 ac_cpp='$CPP $CPPFLAGS'
40252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40260 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
40261 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
40263 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
40265 for ac_func in _sincosf
40267 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40268 echo "$as_me:$LINENO: checking for $ac_func" >&5
40269 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40270 if eval "test \"\${$as_ac_var+set}\" = set"; then
40271 echo $ECHO_N "(cached) $ECHO_C" >&6
40272 else
40273 if test x$gcc_no_link = xyes; then
40274 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40276 { (exit 1); exit 1; }; }
40278 cat >conftest.$ac_ext <<_ACEOF
40279 /* confdefs.h. */
40280 _ACEOF
40281 cat confdefs.h >>conftest.$ac_ext
40282 cat >>conftest.$ac_ext <<_ACEOF
40283 /* end confdefs.h. */
40284 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40285 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40286 #define $ac_func innocuous_$ac_func
40288 /* System header to define __stub macros and hopefully few prototypes,
40289 which can conflict with char $ac_func (); below.
40290 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40291 <limits.h> exists even on freestanding compilers. */
40293 #ifdef __STDC__
40294 # include <limits.h>
40295 #else
40296 # include <assert.h>
40297 #endif
40299 #undef $ac_func
40301 /* Override any gcc2 internal prototype to avoid an error. */
40302 #ifdef __cplusplus
40303 extern "C"
40305 #endif
40306 /* We use char because int might match the return type of a gcc2
40307 builtin and then its argument prototype would still apply. */
40308 char $ac_func ();
40309 /* The GNU C library defines this for functions which it implements
40310 to always fail with ENOSYS. Some functions are actually named
40311 something starting with __ and the normal name is an alias. */
40312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40313 choke me
40314 #else
40315 char (*f) () = $ac_func;
40316 #endif
40317 #ifdef __cplusplus
40319 #endif
40322 main ()
40324 return f != $ac_func;
40326 return 0;
40328 _ACEOF
40329 rm -f conftest.$ac_objext conftest$ac_exeext
40330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40331 (eval $ac_link) 2>conftest.er1
40332 ac_status=$?
40333 grep -v '^ *+' conftest.er1 >conftest.err
40334 rm -f conftest.er1
40335 cat conftest.err >&5
40336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40337 (exit $ac_status); } &&
40338 { ac_try='test -z "$ac_c_werror_flag"
40339 || test ! -s conftest.err'
40340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40341 (eval $ac_try) 2>&5
40342 ac_status=$?
40343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40344 (exit $ac_status); }; } &&
40345 { ac_try='test -s conftest$ac_exeext'
40346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40347 (eval $ac_try) 2>&5
40348 ac_status=$?
40349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40350 (exit $ac_status); }; }; then
40351 eval "$as_ac_var=yes"
40352 else
40353 echo "$as_me: failed program was:" >&5
40354 sed 's/^/| /' conftest.$ac_ext >&5
40356 eval "$as_ac_var=no"
40358 rm -f conftest.err conftest.$ac_objext \
40359 conftest$ac_exeext conftest.$ac_ext
40361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40362 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40363 if test `eval echo '${'$as_ac_var'}'` = yes; then
40364 cat >>confdefs.h <<_ACEOF
40365 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40366 _ACEOF
40369 done
40376 echo "$as_me:$LINENO: checking for finitef declaration" >&5
40377 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
40378 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
40379 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
40380 echo $ECHO_N "(cached) $ECHO_C" >&6
40381 else
40385 ac_ext=cc
40386 ac_cpp='$CXXCPP $CPPFLAGS'
40387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40391 cat >conftest.$ac_ext <<_ACEOF
40392 /* confdefs.h. */
40393 _ACEOF
40394 cat confdefs.h >>conftest.$ac_ext
40395 cat >>conftest.$ac_ext <<_ACEOF
40396 /* end confdefs.h. */
40397 #include <math.h>
40398 #ifdef HAVE_IEEEFP_H
40399 #include <ieeefp.h>
40400 #endif
40403 main ()
40405 finitef(0);
40407 return 0;
40409 _ACEOF
40410 rm -f conftest.$ac_objext
40411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40412 (eval $ac_compile) 2>conftest.er1
40413 ac_status=$?
40414 grep -v '^ *+' conftest.er1 >conftest.err
40415 rm -f conftest.er1
40416 cat conftest.err >&5
40417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40418 (exit $ac_status); } &&
40419 { ac_try='test -z "$ac_cxx_werror_flag"
40420 || test ! -s conftest.err'
40421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40422 (eval $ac_try) 2>&5
40423 ac_status=$?
40424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40425 (exit $ac_status); }; } &&
40426 { ac_try='test -s conftest.$ac_objext'
40427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40428 (eval $ac_try) 2>&5
40429 ac_status=$?
40430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40431 (exit $ac_status); }; }; then
40432 glibcxx_cv_func_finitef_use=yes
40433 else
40434 echo "$as_me: failed program was:" >&5
40435 sed 's/^/| /' conftest.$ac_ext >&5
40437 glibcxx_cv_func_finitef_use=no
40439 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40440 ac_ext=c
40441 ac_cpp='$CPP $CPPFLAGS'
40442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40450 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
40451 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
40453 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
40455 for ac_func in finitef
40457 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40458 echo "$as_me:$LINENO: checking for $ac_func" >&5
40459 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40460 if eval "test \"\${$as_ac_var+set}\" = set"; then
40461 echo $ECHO_N "(cached) $ECHO_C" >&6
40462 else
40463 if test x$gcc_no_link = xyes; then
40464 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40465 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40466 { (exit 1); exit 1; }; }
40468 cat >conftest.$ac_ext <<_ACEOF
40469 /* confdefs.h. */
40470 _ACEOF
40471 cat confdefs.h >>conftest.$ac_ext
40472 cat >>conftest.$ac_ext <<_ACEOF
40473 /* end confdefs.h. */
40474 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40475 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40476 #define $ac_func innocuous_$ac_func
40478 /* System header to define __stub macros and hopefully few prototypes,
40479 which can conflict with char $ac_func (); below.
40480 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40481 <limits.h> exists even on freestanding compilers. */
40483 #ifdef __STDC__
40484 # include <limits.h>
40485 #else
40486 # include <assert.h>
40487 #endif
40489 #undef $ac_func
40491 /* Override any gcc2 internal prototype to avoid an error. */
40492 #ifdef __cplusplus
40493 extern "C"
40495 #endif
40496 /* We use char because int might match the return type of a gcc2
40497 builtin and then its argument prototype would still apply. */
40498 char $ac_func ();
40499 /* The GNU C library defines this for functions which it implements
40500 to always fail with ENOSYS. Some functions are actually named
40501 something starting with __ and the normal name is an alias. */
40502 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40503 choke me
40504 #else
40505 char (*f) () = $ac_func;
40506 #endif
40507 #ifdef __cplusplus
40509 #endif
40512 main ()
40514 return f != $ac_func;
40516 return 0;
40518 _ACEOF
40519 rm -f conftest.$ac_objext conftest$ac_exeext
40520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40521 (eval $ac_link) 2>conftest.er1
40522 ac_status=$?
40523 grep -v '^ *+' conftest.er1 >conftest.err
40524 rm -f conftest.er1
40525 cat conftest.err >&5
40526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40527 (exit $ac_status); } &&
40528 { ac_try='test -z "$ac_c_werror_flag"
40529 || test ! -s conftest.err'
40530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40531 (eval $ac_try) 2>&5
40532 ac_status=$?
40533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40534 (exit $ac_status); }; } &&
40535 { ac_try='test -s conftest$ac_exeext'
40536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40537 (eval $ac_try) 2>&5
40538 ac_status=$?
40539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40540 (exit $ac_status); }; }; then
40541 eval "$as_ac_var=yes"
40542 else
40543 echo "$as_me: failed program was:" >&5
40544 sed 's/^/| /' conftest.$ac_ext >&5
40546 eval "$as_ac_var=no"
40548 rm -f conftest.err conftest.$ac_objext \
40549 conftest$ac_exeext conftest.$ac_ext
40551 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40552 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40553 if test `eval echo '${'$as_ac_var'}'` = yes; then
40554 cat >>confdefs.h <<_ACEOF
40555 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40556 _ACEOF
40559 done
40561 else
40563 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
40564 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
40565 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
40566 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
40567 echo $ECHO_N "(cached) $ECHO_C" >&6
40568 else
40572 ac_ext=cc
40573 ac_cpp='$CXXCPP $CPPFLAGS'
40574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40578 cat >conftest.$ac_ext <<_ACEOF
40579 /* confdefs.h. */
40580 _ACEOF
40581 cat confdefs.h >>conftest.$ac_ext
40582 cat >>conftest.$ac_ext <<_ACEOF
40583 /* end confdefs.h. */
40584 #include <math.h>
40585 #ifdef HAVE_IEEEFP_H
40586 #include <ieeefp.h>
40587 #endif
40590 main ()
40592 _finitef(0);
40594 return 0;
40596 _ACEOF
40597 rm -f conftest.$ac_objext
40598 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40599 (eval $ac_compile) 2>conftest.er1
40600 ac_status=$?
40601 grep -v '^ *+' conftest.er1 >conftest.err
40602 rm -f conftest.er1
40603 cat conftest.err >&5
40604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40605 (exit $ac_status); } &&
40606 { ac_try='test -z "$ac_cxx_werror_flag"
40607 || test ! -s conftest.err'
40608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40609 (eval $ac_try) 2>&5
40610 ac_status=$?
40611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40612 (exit $ac_status); }; } &&
40613 { ac_try='test -s conftest.$ac_objext'
40614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40615 (eval $ac_try) 2>&5
40616 ac_status=$?
40617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40618 (exit $ac_status); }; }; then
40619 glibcxx_cv_func__finitef_use=yes
40620 else
40621 echo "$as_me: failed program was:" >&5
40622 sed 's/^/| /' conftest.$ac_ext >&5
40624 glibcxx_cv_func__finitef_use=no
40626 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40627 ac_ext=c
40628 ac_cpp='$CPP $CPPFLAGS'
40629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40637 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
40638 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
40640 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
40642 for ac_func in _finitef
40644 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40645 echo "$as_me:$LINENO: checking for $ac_func" >&5
40646 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40647 if eval "test \"\${$as_ac_var+set}\" = set"; then
40648 echo $ECHO_N "(cached) $ECHO_C" >&6
40649 else
40650 if test x$gcc_no_link = xyes; then
40651 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40652 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40653 { (exit 1); exit 1; }; }
40655 cat >conftest.$ac_ext <<_ACEOF
40656 /* confdefs.h. */
40657 _ACEOF
40658 cat confdefs.h >>conftest.$ac_ext
40659 cat >>conftest.$ac_ext <<_ACEOF
40660 /* end confdefs.h. */
40661 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40662 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40663 #define $ac_func innocuous_$ac_func
40665 /* System header to define __stub macros and hopefully few prototypes,
40666 which can conflict with char $ac_func (); below.
40667 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40668 <limits.h> exists even on freestanding compilers. */
40670 #ifdef __STDC__
40671 # include <limits.h>
40672 #else
40673 # include <assert.h>
40674 #endif
40676 #undef $ac_func
40678 /* Override any gcc2 internal prototype to avoid an error. */
40679 #ifdef __cplusplus
40680 extern "C"
40682 #endif
40683 /* We use char because int might match the return type of a gcc2
40684 builtin and then its argument prototype would still apply. */
40685 char $ac_func ();
40686 /* The GNU C library defines this for functions which it implements
40687 to always fail with ENOSYS. Some functions are actually named
40688 something starting with __ and the normal name is an alias. */
40689 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40690 choke me
40691 #else
40692 char (*f) () = $ac_func;
40693 #endif
40694 #ifdef __cplusplus
40696 #endif
40699 main ()
40701 return f != $ac_func;
40703 return 0;
40705 _ACEOF
40706 rm -f conftest.$ac_objext conftest$ac_exeext
40707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40708 (eval $ac_link) 2>conftest.er1
40709 ac_status=$?
40710 grep -v '^ *+' conftest.er1 >conftest.err
40711 rm -f conftest.er1
40712 cat conftest.err >&5
40713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40714 (exit $ac_status); } &&
40715 { ac_try='test -z "$ac_c_werror_flag"
40716 || test ! -s conftest.err'
40717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40718 (eval $ac_try) 2>&5
40719 ac_status=$?
40720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40721 (exit $ac_status); }; } &&
40722 { ac_try='test -s conftest$ac_exeext'
40723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40724 (eval $ac_try) 2>&5
40725 ac_status=$?
40726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40727 (exit $ac_status); }; }; then
40728 eval "$as_ac_var=yes"
40729 else
40730 echo "$as_me: failed program was:" >&5
40731 sed 's/^/| /' conftest.$ac_ext >&5
40733 eval "$as_ac_var=no"
40735 rm -f conftest.err conftest.$ac_objext \
40736 conftest$ac_exeext conftest.$ac_ext
40738 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40739 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40740 if test `eval echo '${'$as_ac_var'}'` = yes; then
40741 cat >>confdefs.h <<_ACEOF
40742 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40743 _ACEOF
40746 done
40753 echo "$as_me:$LINENO: checking for long double trig functions" >&5
40754 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
40755 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
40756 echo $ECHO_N "(cached) $ECHO_C" >&6
40757 else
40761 ac_ext=cc
40762 ac_cpp='$CXXCPP $CPPFLAGS'
40763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40767 cat >conftest.$ac_ext <<_ACEOF
40768 /* confdefs.h. */
40769 _ACEOF
40770 cat confdefs.h >>conftest.$ac_ext
40771 cat >>conftest.$ac_ext <<_ACEOF
40772 /* end confdefs.h. */
40773 #include <math.h>
40775 main ()
40777 `for x in acosl asinl atanl \
40778 cosl sinl tanl \
40779 coshl sinhl tanhl; do echo "$x (0);"; done`
40781 return 0;
40783 _ACEOF
40784 rm -f conftest.$ac_objext
40785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40786 (eval $ac_compile) 2>conftest.er1
40787 ac_status=$?
40788 grep -v '^ *+' conftest.er1 >conftest.err
40789 rm -f conftest.er1
40790 cat conftest.err >&5
40791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40792 (exit $ac_status); } &&
40793 { ac_try='test -z "$ac_cxx_werror_flag"
40794 || test ! -s conftest.err'
40795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40796 (eval $ac_try) 2>&5
40797 ac_status=$?
40798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40799 (exit $ac_status); }; } &&
40800 { ac_try='test -s conftest.$ac_objext'
40801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40802 (eval $ac_try) 2>&5
40803 ac_status=$?
40804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40805 (exit $ac_status); }; }; then
40806 glibcxx_cv_func_long_double_trig_use=yes
40807 else
40808 echo "$as_me: failed program was:" >&5
40809 sed 's/^/| /' conftest.$ac_ext >&5
40811 glibcxx_cv_func_long_double_trig_use=no
40813 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40814 ac_ext=c
40815 ac_cpp='$CPP $CPPFLAGS'
40816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40822 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
40823 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
40824 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
40834 for ac_func in acosl asinl atanl \
40835 cosl sinl tanl \
40836 coshl sinhl tanhl
40838 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40839 echo "$as_me:$LINENO: checking for $ac_func" >&5
40840 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40841 if eval "test \"\${$as_ac_var+set}\" = set"; then
40842 echo $ECHO_N "(cached) $ECHO_C" >&6
40843 else
40844 if test x$gcc_no_link = xyes; then
40845 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40846 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40847 { (exit 1); exit 1; }; }
40849 cat >conftest.$ac_ext <<_ACEOF
40850 /* confdefs.h. */
40851 _ACEOF
40852 cat confdefs.h >>conftest.$ac_ext
40853 cat >>conftest.$ac_ext <<_ACEOF
40854 /* end confdefs.h. */
40855 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40856 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40857 #define $ac_func innocuous_$ac_func
40859 /* System header to define __stub macros and hopefully few prototypes,
40860 which can conflict with char $ac_func (); below.
40861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40862 <limits.h> exists even on freestanding compilers. */
40864 #ifdef __STDC__
40865 # include <limits.h>
40866 #else
40867 # include <assert.h>
40868 #endif
40870 #undef $ac_func
40872 /* Override any gcc2 internal prototype to avoid an error. */
40873 #ifdef __cplusplus
40874 extern "C"
40876 #endif
40877 /* We use char because int might match the return type of a gcc2
40878 builtin and then its argument prototype would still apply. */
40879 char $ac_func ();
40880 /* The GNU C library defines this for functions which it implements
40881 to always fail with ENOSYS. Some functions are actually named
40882 something starting with __ and the normal name is an alias. */
40883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40884 choke me
40885 #else
40886 char (*f) () = $ac_func;
40887 #endif
40888 #ifdef __cplusplus
40890 #endif
40893 main ()
40895 return f != $ac_func;
40897 return 0;
40899 _ACEOF
40900 rm -f conftest.$ac_objext conftest$ac_exeext
40901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40902 (eval $ac_link) 2>conftest.er1
40903 ac_status=$?
40904 grep -v '^ *+' conftest.er1 >conftest.err
40905 rm -f conftest.er1
40906 cat conftest.err >&5
40907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40908 (exit $ac_status); } &&
40909 { ac_try='test -z "$ac_c_werror_flag"
40910 || test ! -s conftest.err'
40911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40912 (eval $ac_try) 2>&5
40913 ac_status=$?
40914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40915 (exit $ac_status); }; } &&
40916 { ac_try='test -s conftest$ac_exeext'
40917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40918 (eval $ac_try) 2>&5
40919 ac_status=$?
40920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40921 (exit $ac_status); }; }; then
40922 eval "$as_ac_var=yes"
40923 else
40924 echo "$as_me: failed program was:" >&5
40925 sed 's/^/| /' conftest.$ac_ext >&5
40927 eval "$as_ac_var=no"
40929 rm -f conftest.err conftest.$ac_objext \
40930 conftest$ac_exeext conftest.$ac_ext
40932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40933 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40934 if test `eval echo '${'$as_ac_var'}'` = yes; then
40935 cat >>confdefs.h <<_ACEOF
40936 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40937 _ACEOF
40940 done
40945 echo "$as_me:$LINENO: checking for long double round functions" >&5
40946 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
40947 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
40948 echo $ECHO_N "(cached) $ECHO_C" >&6
40949 else
40953 ac_ext=cc
40954 ac_cpp='$CXXCPP $CPPFLAGS'
40955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40959 cat >conftest.$ac_ext <<_ACEOF
40960 /* confdefs.h. */
40961 _ACEOF
40962 cat confdefs.h >>conftest.$ac_ext
40963 cat >>conftest.$ac_ext <<_ACEOF
40964 /* end confdefs.h. */
40965 #include <math.h>
40967 main ()
40969 `for x in ceill floorl; do echo "$x (0);"; done`
40971 return 0;
40973 _ACEOF
40974 rm -f conftest.$ac_objext
40975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40976 (eval $ac_compile) 2>conftest.er1
40977 ac_status=$?
40978 grep -v '^ *+' conftest.er1 >conftest.err
40979 rm -f conftest.er1
40980 cat conftest.err >&5
40981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40982 (exit $ac_status); } &&
40983 { ac_try='test -z "$ac_cxx_werror_flag"
40984 || test ! -s conftest.err'
40985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40986 (eval $ac_try) 2>&5
40987 ac_status=$?
40988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40989 (exit $ac_status); }; } &&
40990 { ac_try='test -s conftest.$ac_objext'
40991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40992 (eval $ac_try) 2>&5
40993 ac_status=$?
40994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40995 (exit $ac_status); }; }; then
40996 glibcxx_cv_func_long_double_round_use=yes
40997 else
40998 echo "$as_me: failed program was:" >&5
40999 sed 's/^/| /' conftest.$ac_ext >&5
41001 glibcxx_cv_func_long_double_round_use=no
41003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41004 ac_ext=c
41005 ac_cpp='$CPP $CPPFLAGS'
41006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41012 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
41013 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
41014 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
41017 for ac_func in ceill floorl
41019 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41020 echo "$as_me:$LINENO: checking for $ac_func" >&5
41021 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41022 if eval "test \"\${$as_ac_var+set}\" = set"; then
41023 echo $ECHO_N "(cached) $ECHO_C" >&6
41024 else
41025 if test x$gcc_no_link = xyes; then
41026 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41027 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41028 { (exit 1); exit 1; }; }
41030 cat >conftest.$ac_ext <<_ACEOF
41031 /* confdefs.h. */
41032 _ACEOF
41033 cat confdefs.h >>conftest.$ac_ext
41034 cat >>conftest.$ac_ext <<_ACEOF
41035 /* end confdefs.h. */
41036 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41037 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41038 #define $ac_func innocuous_$ac_func
41040 /* System header to define __stub macros and hopefully few prototypes,
41041 which can conflict with char $ac_func (); below.
41042 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41043 <limits.h> exists even on freestanding compilers. */
41045 #ifdef __STDC__
41046 # include <limits.h>
41047 #else
41048 # include <assert.h>
41049 #endif
41051 #undef $ac_func
41053 /* Override any gcc2 internal prototype to avoid an error. */
41054 #ifdef __cplusplus
41055 extern "C"
41057 #endif
41058 /* We use char because int might match the return type of a gcc2
41059 builtin and then its argument prototype would still apply. */
41060 char $ac_func ();
41061 /* The GNU C library defines this for functions which it implements
41062 to always fail with ENOSYS. Some functions are actually named
41063 something starting with __ and the normal name is an alias. */
41064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41065 choke me
41066 #else
41067 char (*f) () = $ac_func;
41068 #endif
41069 #ifdef __cplusplus
41071 #endif
41074 main ()
41076 return f != $ac_func;
41078 return 0;
41080 _ACEOF
41081 rm -f conftest.$ac_objext conftest$ac_exeext
41082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41083 (eval $ac_link) 2>conftest.er1
41084 ac_status=$?
41085 grep -v '^ *+' conftest.er1 >conftest.err
41086 rm -f conftest.er1
41087 cat conftest.err >&5
41088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41089 (exit $ac_status); } &&
41090 { ac_try='test -z "$ac_c_werror_flag"
41091 || test ! -s conftest.err'
41092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41093 (eval $ac_try) 2>&5
41094 ac_status=$?
41095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41096 (exit $ac_status); }; } &&
41097 { ac_try='test -s conftest$ac_exeext'
41098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41099 (eval $ac_try) 2>&5
41100 ac_status=$?
41101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41102 (exit $ac_status); }; }; then
41103 eval "$as_ac_var=yes"
41104 else
41105 echo "$as_me: failed program was:" >&5
41106 sed 's/^/| /' conftest.$ac_ext >&5
41108 eval "$as_ac_var=no"
41110 rm -f conftest.err conftest.$ac_objext \
41111 conftest$ac_exeext conftest.$ac_ext
41113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41114 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41115 if test `eval echo '${'$as_ac_var'}'` = yes; then
41116 cat >>confdefs.h <<_ACEOF
41117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41118 _ACEOF
41121 done
41127 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
41128 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
41129 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
41130 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
41131 echo $ECHO_N "(cached) $ECHO_C" >&6
41132 else
41136 ac_ext=cc
41137 ac_cpp='$CXXCPP $CPPFLAGS'
41138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41142 cat >conftest.$ac_ext <<_ACEOF
41143 /* confdefs.h. */
41144 _ACEOF
41145 cat confdefs.h >>conftest.$ac_ext
41146 cat >>conftest.$ac_ext <<_ACEOF
41147 /* end confdefs.h. */
41148 #include <math.h>
41149 #ifdef HAVE_IEEEFP_H
41150 #include <ieeefp.h>
41151 #endif
41154 main ()
41156 isnanl(0);
41158 return 0;
41160 _ACEOF
41161 rm -f conftest.$ac_objext
41162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41163 (eval $ac_compile) 2>conftest.er1
41164 ac_status=$?
41165 grep -v '^ *+' conftest.er1 >conftest.err
41166 rm -f conftest.er1
41167 cat conftest.err >&5
41168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41169 (exit $ac_status); } &&
41170 { ac_try='test -z "$ac_cxx_werror_flag"
41171 || test ! -s conftest.err'
41172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41173 (eval $ac_try) 2>&5
41174 ac_status=$?
41175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41176 (exit $ac_status); }; } &&
41177 { ac_try='test -s conftest.$ac_objext'
41178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41179 (eval $ac_try) 2>&5
41180 ac_status=$?
41181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41182 (exit $ac_status); }; }; then
41183 glibcxx_cv_func_isnanl_use=yes
41184 else
41185 echo "$as_me: failed program was:" >&5
41186 sed 's/^/| /' conftest.$ac_ext >&5
41188 glibcxx_cv_func_isnanl_use=no
41190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41191 ac_ext=c
41192 ac_cpp='$CPP $CPPFLAGS'
41193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41201 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
41202 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
41204 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
41206 for ac_func in isnanl
41208 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41209 echo "$as_me:$LINENO: checking for $ac_func" >&5
41210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41211 if eval "test \"\${$as_ac_var+set}\" = set"; then
41212 echo $ECHO_N "(cached) $ECHO_C" >&6
41213 else
41214 if test x$gcc_no_link = xyes; then
41215 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41216 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41217 { (exit 1); exit 1; }; }
41219 cat >conftest.$ac_ext <<_ACEOF
41220 /* confdefs.h. */
41221 _ACEOF
41222 cat confdefs.h >>conftest.$ac_ext
41223 cat >>conftest.$ac_ext <<_ACEOF
41224 /* end confdefs.h. */
41225 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41226 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41227 #define $ac_func innocuous_$ac_func
41229 /* System header to define __stub macros and hopefully few prototypes,
41230 which can conflict with char $ac_func (); below.
41231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41232 <limits.h> exists even on freestanding compilers. */
41234 #ifdef __STDC__
41235 # include <limits.h>
41236 #else
41237 # include <assert.h>
41238 #endif
41240 #undef $ac_func
41242 /* Override any gcc2 internal prototype to avoid an error. */
41243 #ifdef __cplusplus
41244 extern "C"
41246 #endif
41247 /* We use char because int might match the return type of a gcc2
41248 builtin and then its argument prototype would still apply. */
41249 char $ac_func ();
41250 /* The GNU C library defines this for functions which it implements
41251 to always fail with ENOSYS. Some functions are actually named
41252 something starting with __ and the normal name is an alias. */
41253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41254 choke me
41255 #else
41256 char (*f) () = $ac_func;
41257 #endif
41258 #ifdef __cplusplus
41260 #endif
41263 main ()
41265 return f != $ac_func;
41267 return 0;
41269 _ACEOF
41270 rm -f conftest.$ac_objext conftest$ac_exeext
41271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41272 (eval $ac_link) 2>conftest.er1
41273 ac_status=$?
41274 grep -v '^ *+' conftest.er1 >conftest.err
41275 rm -f conftest.er1
41276 cat conftest.err >&5
41277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41278 (exit $ac_status); } &&
41279 { ac_try='test -z "$ac_c_werror_flag"
41280 || test ! -s conftest.err'
41281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41282 (eval $ac_try) 2>&5
41283 ac_status=$?
41284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41285 (exit $ac_status); }; } &&
41286 { ac_try='test -s conftest$ac_exeext'
41287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41288 (eval $ac_try) 2>&5
41289 ac_status=$?
41290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41291 (exit $ac_status); }; }; then
41292 eval "$as_ac_var=yes"
41293 else
41294 echo "$as_me: failed program was:" >&5
41295 sed 's/^/| /' conftest.$ac_ext >&5
41297 eval "$as_ac_var=no"
41299 rm -f conftest.err conftest.$ac_objext \
41300 conftest$ac_exeext conftest.$ac_ext
41302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41303 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41304 if test `eval echo '${'$as_ac_var'}'` = yes; then
41305 cat >>confdefs.h <<_ACEOF
41306 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41307 _ACEOF
41310 done
41312 else
41314 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
41315 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
41316 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
41317 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
41318 echo $ECHO_N "(cached) $ECHO_C" >&6
41319 else
41323 ac_ext=cc
41324 ac_cpp='$CXXCPP $CPPFLAGS'
41325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41329 cat >conftest.$ac_ext <<_ACEOF
41330 /* confdefs.h. */
41331 _ACEOF
41332 cat confdefs.h >>conftest.$ac_ext
41333 cat >>conftest.$ac_ext <<_ACEOF
41334 /* end confdefs.h. */
41335 #include <math.h>
41336 #ifdef HAVE_IEEEFP_H
41337 #include <ieeefp.h>
41338 #endif
41341 main ()
41343 _isnanl(0);
41345 return 0;
41347 _ACEOF
41348 rm -f conftest.$ac_objext
41349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41350 (eval $ac_compile) 2>conftest.er1
41351 ac_status=$?
41352 grep -v '^ *+' conftest.er1 >conftest.err
41353 rm -f conftest.er1
41354 cat conftest.err >&5
41355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41356 (exit $ac_status); } &&
41357 { ac_try='test -z "$ac_cxx_werror_flag"
41358 || test ! -s conftest.err'
41359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41360 (eval $ac_try) 2>&5
41361 ac_status=$?
41362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41363 (exit $ac_status); }; } &&
41364 { ac_try='test -s conftest.$ac_objext'
41365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41366 (eval $ac_try) 2>&5
41367 ac_status=$?
41368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41369 (exit $ac_status); }; }; then
41370 glibcxx_cv_func__isnanl_use=yes
41371 else
41372 echo "$as_me: failed program was:" >&5
41373 sed 's/^/| /' conftest.$ac_ext >&5
41375 glibcxx_cv_func__isnanl_use=no
41377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41378 ac_ext=c
41379 ac_cpp='$CPP $CPPFLAGS'
41380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41388 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
41389 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
41391 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
41393 for ac_func in _isnanl
41395 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41396 echo "$as_me:$LINENO: checking for $ac_func" >&5
41397 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41398 if eval "test \"\${$as_ac_var+set}\" = set"; then
41399 echo $ECHO_N "(cached) $ECHO_C" >&6
41400 else
41401 if test x$gcc_no_link = xyes; then
41402 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41403 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41404 { (exit 1); exit 1; }; }
41406 cat >conftest.$ac_ext <<_ACEOF
41407 /* confdefs.h. */
41408 _ACEOF
41409 cat confdefs.h >>conftest.$ac_ext
41410 cat >>conftest.$ac_ext <<_ACEOF
41411 /* end confdefs.h. */
41412 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41413 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41414 #define $ac_func innocuous_$ac_func
41416 /* System header to define __stub macros and hopefully few prototypes,
41417 which can conflict with char $ac_func (); below.
41418 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41419 <limits.h> exists even on freestanding compilers. */
41421 #ifdef __STDC__
41422 # include <limits.h>
41423 #else
41424 # include <assert.h>
41425 #endif
41427 #undef $ac_func
41429 /* Override any gcc2 internal prototype to avoid an error. */
41430 #ifdef __cplusplus
41431 extern "C"
41433 #endif
41434 /* We use char because int might match the return type of a gcc2
41435 builtin and then its argument prototype would still apply. */
41436 char $ac_func ();
41437 /* The GNU C library defines this for functions which it implements
41438 to always fail with ENOSYS. Some functions are actually named
41439 something starting with __ and the normal name is an alias. */
41440 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41441 choke me
41442 #else
41443 char (*f) () = $ac_func;
41444 #endif
41445 #ifdef __cplusplus
41447 #endif
41450 main ()
41452 return f != $ac_func;
41454 return 0;
41456 _ACEOF
41457 rm -f conftest.$ac_objext conftest$ac_exeext
41458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41459 (eval $ac_link) 2>conftest.er1
41460 ac_status=$?
41461 grep -v '^ *+' conftest.er1 >conftest.err
41462 rm -f conftest.er1
41463 cat conftest.err >&5
41464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41465 (exit $ac_status); } &&
41466 { ac_try='test -z "$ac_c_werror_flag"
41467 || test ! -s conftest.err'
41468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41469 (eval $ac_try) 2>&5
41470 ac_status=$?
41471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41472 (exit $ac_status); }; } &&
41473 { ac_try='test -s conftest$ac_exeext'
41474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41475 (eval $ac_try) 2>&5
41476 ac_status=$?
41477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41478 (exit $ac_status); }; }; then
41479 eval "$as_ac_var=yes"
41480 else
41481 echo "$as_me: failed program was:" >&5
41482 sed 's/^/| /' conftest.$ac_ext >&5
41484 eval "$as_ac_var=no"
41486 rm -f conftest.err conftest.$ac_objext \
41487 conftest$ac_exeext conftest.$ac_ext
41489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41490 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41491 if test `eval echo '${'$as_ac_var'}'` = yes; then
41492 cat >>confdefs.h <<_ACEOF
41493 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41494 _ACEOF
41497 done
41504 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
41505 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
41506 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
41507 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
41508 echo $ECHO_N "(cached) $ECHO_C" >&6
41509 else
41513 ac_ext=cc
41514 ac_cpp='$CXXCPP $CPPFLAGS'
41515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41519 cat >conftest.$ac_ext <<_ACEOF
41520 /* confdefs.h. */
41521 _ACEOF
41522 cat confdefs.h >>conftest.$ac_ext
41523 cat >>conftest.$ac_ext <<_ACEOF
41524 /* end confdefs.h. */
41525 #include <math.h>
41526 #ifdef HAVE_IEEEFP_H
41527 #include <ieeefp.h>
41528 #endif
41531 main ()
41533 isinfl(0);
41535 return 0;
41537 _ACEOF
41538 rm -f conftest.$ac_objext
41539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41540 (eval $ac_compile) 2>conftest.er1
41541 ac_status=$?
41542 grep -v '^ *+' conftest.er1 >conftest.err
41543 rm -f conftest.er1
41544 cat conftest.err >&5
41545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41546 (exit $ac_status); } &&
41547 { ac_try='test -z "$ac_cxx_werror_flag"
41548 || test ! -s conftest.err'
41549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41550 (eval $ac_try) 2>&5
41551 ac_status=$?
41552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41553 (exit $ac_status); }; } &&
41554 { ac_try='test -s conftest.$ac_objext'
41555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41556 (eval $ac_try) 2>&5
41557 ac_status=$?
41558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41559 (exit $ac_status); }; }; then
41560 glibcxx_cv_func_isinfl_use=yes
41561 else
41562 echo "$as_me: failed program was:" >&5
41563 sed 's/^/| /' conftest.$ac_ext >&5
41565 glibcxx_cv_func_isinfl_use=no
41567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41568 ac_ext=c
41569 ac_cpp='$CPP $CPPFLAGS'
41570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41578 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
41579 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
41581 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
41583 for ac_func in isinfl
41585 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41586 echo "$as_me:$LINENO: checking for $ac_func" >&5
41587 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41588 if eval "test \"\${$as_ac_var+set}\" = set"; then
41589 echo $ECHO_N "(cached) $ECHO_C" >&6
41590 else
41591 if test x$gcc_no_link = xyes; then
41592 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41594 { (exit 1); exit 1; }; }
41596 cat >conftest.$ac_ext <<_ACEOF
41597 /* confdefs.h. */
41598 _ACEOF
41599 cat confdefs.h >>conftest.$ac_ext
41600 cat >>conftest.$ac_ext <<_ACEOF
41601 /* end confdefs.h. */
41602 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41603 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41604 #define $ac_func innocuous_$ac_func
41606 /* System header to define __stub macros and hopefully few prototypes,
41607 which can conflict with char $ac_func (); below.
41608 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41609 <limits.h> exists even on freestanding compilers. */
41611 #ifdef __STDC__
41612 # include <limits.h>
41613 #else
41614 # include <assert.h>
41615 #endif
41617 #undef $ac_func
41619 /* Override any gcc2 internal prototype to avoid an error. */
41620 #ifdef __cplusplus
41621 extern "C"
41623 #endif
41624 /* We use char because int might match the return type of a gcc2
41625 builtin and then its argument prototype would still apply. */
41626 char $ac_func ();
41627 /* The GNU C library defines this for functions which it implements
41628 to always fail with ENOSYS. Some functions are actually named
41629 something starting with __ and the normal name is an alias. */
41630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41631 choke me
41632 #else
41633 char (*f) () = $ac_func;
41634 #endif
41635 #ifdef __cplusplus
41637 #endif
41640 main ()
41642 return f != $ac_func;
41644 return 0;
41646 _ACEOF
41647 rm -f conftest.$ac_objext conftest$ac_exeext
41648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41649 (eval $ac_link) 2>conftest.er1
41650 ac_status=$?
41651 grep -v '^ *+' conftest.er1 >conftest.err
41652 rm -f conftest.er1
41653 cat conftest.err >&5
41654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41655 (exit $ac_status); } &&
41656 { ac_try='test -z "$ac_c_werror_flag"
41657 || test ! -s conftest.err'
41658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41659 (eval $ac_try) 2>&5
41660 ac_status=$?
41661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41662 (exit $ac_status); }; } &&
41663 { ac_try='test -s conftest$ac_exeext'
41664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41665 (eval $ac_try) 2>&5
41666 ac_status=$?
41667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41668 (exit $ac_status); }; }; then
41669 eval "$as_ac_var=yes"
41670 else
41671 echo "$as_me: failed program was:" >&5
41672 sed 's/^/| /' conftest.$ac_ext >&5
41674 eval "$as_ac_var=no"
41676 rm -f conftest.err conftest.$ac_objext \
41677 conftest$ac_exeext conftest.$ac_ext
41679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41680 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41681 if test `eval echo '${'$as_ac_var'}'` = yes; then
41682 cat >>confdefs.h <<_ACEOF
41683 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41684 _ACEOF
41687 done
41689 else
41691 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
41692 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
41693 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
41694 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
41695 echo $ECHO_N "(cached) $ECHO_C" >&6
41696 else
41700 ac_ext=cc
41701 ac_cpp='$CXXCPP $CPPFLAGS'
41702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41706 cat >conftest.$ac_ext <<_ACEOF
41707 /* confdefs.h. */
41708 _ACEOF
41709 cat confdefs.h >>conftest.$ac_ext
41710 cat >>conftest.$ac_ext <<_ACEOF
41711 /* end confdefs.h. */
41712 #include <math.h>
41713 #ifdef HAVE_IEEEFP_H
41714 #include <ieeefp.h>
41715 #endif
41718 main ()
41720 _isinfl(0);
41722 return 0;
41724 _ACEOF
41725 rm -f conftest.$ac_objext
41726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41727 (eval $ac_compile) 2>conftest.er1
41728 ac_status=$?
41729 grep -v '^ *+' conftest.er1 >conftest.err
41730 rm -f conftest.er1
41731 cat conftest.err >&5
41732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41733 (exit $ac_status); } &&
41734 { ac_try='test -z "$ac_cxx_werror_flag"
41735 || test ! -s conftest.err'
41736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41737 (eval $ac_try) 2>&5
41738 ac_status=$?
41739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41740 (exit $ac_status); }; } &&
41741 { ac_try='test -s conftest.$ac_objext'
41742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41743 (eval $ac_try) 2>&5
41744 ac_status=$?
41745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41746 (exit $ac_status); }; }; then
41747 glibcxx_cv_func__isinfl_use=yes
41748 else
41749 echo "$as_me: failed program was:" >&5
41750 sed 's/^/| /' conftest.$ac_ext >&5
41752 glibcxx_cv_func__isinfl_use=no
41754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41755 ac_ext=c
41756 ac_cpp='$CPP $CPPFLAGS'
41757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41765 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
41766 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
41768 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
41770 for ac_func in _isinfl
41772 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41773 echo "$as_me:$LINENO: checking for $ac_func" >&5
41774 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41775 if eval "test \"\${$as_ac_var+set}\" = set"; then
41776 echo $ECHO_N "(cached) $ECHO_C" >&6
41777 else
41778 if test x$gcc_no_link = xyes; then
41779 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41780 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41781 { (exit 1); exit 1; }; }
41783 cat >conftest.$ac_ext <<_ACEOF
41784 /* confdefs.h. */
41785 _ACEOF
41786 cat confdefs.h >>conftest.$ac_ext
41787 cat >>conftest.$ac_ext <<_ACEOF
41788 /* end confdefs.h. */
41789 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41790 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41791 #define $ac_func innocuous_$ac_func
41793 /* System header to define __stub macros and hopefully few prototypes,
41794 which can conflict with char $ac_func (); below.
41795 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41796 <limits.h> exists even on freestanding compilers. */
41798 #ifdef __STDC__
41799 # include <limits.h>
41800 #else
41801 # include <assert.h>
41802 #endif
41804 #undef $ac_func
41806 /* Override any gcc2 internal prototype to avoid an error. */
41807 #ifdef __cplusplus
41808 extern "C"
41810 #endif
41811 /* We use char because int might match the return type of a gcc2
41812 builtin and then its argument prototype would still apply. */
41813 char $ac_func ();
41814 /* The GNU C library defines this for functions which it implements
41815 to always fail with ENOSYS. Some functions are actually named
41816 something starting with __ and the normal name is an alias. */
41817 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41818 choke me
41819 #else
41820 char (*f) () = $ac_func;
41821 #endif
41822 #ifdef __cplusplus
41824 #endif
41827 main ()
41829 return f != $ac_func;
41831 return 0;
41833 _ACEOF
41834 rm -f conftest.$ac_objext conftest$ac_exeext
41835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41836 (eval $ac_link) 2>conftest.er1
41837 ac_status=$?
41838 grep -v '^ *+' conftest.er1 >conftest.err
41839 rm -f conftest.er1
41840 cat conftest.err >&5
41841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41842 (exit $ac_status); } &&
41843 { ac_try='test -z "$ac_c_werror_flag"
41844 || test ! -s conftest.err'
41845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41846 (eval $ac_try) 2>&5
41847 ac_status=$?
41848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41849 (exit $ac_status); }; } &&
41850 { ac_try='test -s conftest$ac_exeext'
41851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41852 (eval $ac_try) 2>&5
41853 ac_status=$?
41854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41855 (exit $ac_status); }; }; then
41856 eval "$as_ac_var=yes"
41857 else
41858 echo "$as_me: failed program was:" >&5
41859 sed 's/^/| /' conftest.$ac_ext >&5
41861 eval "$as_ac_var=no"
41863 rm -f conftest.err conftest.$ac_objext \
41864 conftest$ac_exeext conftest.$ac_ext
41866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41867 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41868 if test `eval echo '${'$as_ac_var'}'` = yes; then
41869 cat >>confdefs.h <<_ACEOF
41870 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41871 _ACEOF
41874 done
41881 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
41882 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
41883 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
41884 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
41885 echo $ECHO_N "(cached) $ECHO_C" >&6
41886 else
41890 ac_ext=cc
41891 ac_cpp='$CXXCPP $CPPFLAGS'
41892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41896 cat >conftest.$ac_ext <<_ACEOF
41897 /* confdefs.h. */
41898 _ACEOF
41899 cat confdefs.h >>conftest.$ac_ext
41900 cat >>conftest.$ac_ext <<_ACEOF
41901 /* end confdefs.h. */
41902 #include <math.h>
41904 main ()
41906 copysignl(0, 0);
41908 return 0;
41910 _ACEOF
41911 rm -f conftest.$ac_objext
41912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41913 (eval $ac_compile) 2>conftest.er1
41914 ac_status=$?
41915 grep -v '^ *+' conftest.er1 >conftest.err
41916 rm -f conftest.er1
41917 cat conftest.err >&5
41918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41919 (exit $ac_status); } &&
41920 { ac_try='test -z "$ac_cxx_werror_flag"
41921 || test ! -s conftest.err'
41922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41923 (eval $ac_try) 2>&5
41924 ac_status=$?
41925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41926 (exit $ac_status); }; } &&
41927 { ac_try='test -s conftest.$ac_objext'
41928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41929 (eval $ac_try) 2>&5
41930 ac_status=$?
41931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41932 (exit $ac_status); }; }; then
41933 glibcxx_cv_func_copysignl_use=yes
41934 else
41935 echo "$as_me: failed program was:" >&5
41936 sed 's/^/| /' conftest.$ac_ext >&5
41938 glibcxx_cv_func_copysignl_use=no
41940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41941 ac_ext=c
41942 ac_cpp='$CPP $CPPFLAGS'
41943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41951 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
41952 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
41954 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
41956 for ac_func in copysignl
41958 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41959 echo "$as_me:$LINENO: checking for $ac_func" >&5
41960 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41961 if eval "test \"\${$as_ac_var+set}\" = set"; then
41962 echo $ECHO_N "(cached) $ECHO_C" >&6
41963 else
41964 if test x$gcc_no_link = xyes; then
41965 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41966 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41967 { (exit 1); exit 1; }; }
41969 cat >conftest.$ac_ext <<_ACEOF
41970 /* confdefs.h. */
41971 _ACEOF
41972 cat confdefs.h >>conftest.$ac_ext
41973 cat >>conftest.$ac_ext <<_ACEOF
41974 /* end confdefs.h. */
41975 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41976 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41977 #define $ac_func innocuous_$ac_func
41979 /* System header to define __stub macros and hopefully few prototypes,
41980 which can conflict with char $ac_func (); below.
41981 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41982 <limits.h> exists even on freestanding compilers. */
41984 #ifdef __STDC__
41985 # include <limits.h>
41986 #else
41987 # include <assert.h>
41988 #endif
41990 #undef $ac_func
41992 /* Override any gcc2 internal prototype to avoid an error. */
41993 #ifdef __cplusplus
41994 extern "C"
41996 #endif
41997 /* We use char because int might match the return type of a gcc2
41998 builtin and then its argument prototype would still apply. */
41999 char $ac_func ();
42000 /* The GNU C library defines this for functions which it implements
42001 to always fail with ENOSYS. Some functions are actually named
42002 something starting with __ and the normal name is an alias. */
42003 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42004 choke me
42005 #else
42006 char (*f) () = $ac_func;
42007 #endif
42008 #ifdef __cplusplus
42010 #endif
42013 main ()
42015 return f != $ac_func;
42017 return 0;
42019 _ACEOF
42020 rm -f conftest.$ac_objext conftest$ac_exeext
42021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42022 (eval $ac_link) 2>conftest.er1
42023 ac_status=$?
42024 grep -v '^ *+' conftest.er1 >conftest.err
42025 rm -f conftest.er1
42026 cat conftest.err >&5
42027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42028 (exit $ac_status); } &&
42029 { ac_try='test -z "$ac_c_werror_flag"
42030 || test ! -s conftest.err'
42031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42032 (eval $ac_try) 2>&5
42033 ac_status=$?
42034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42035 (exit $ac_status); }; } &&
42036 { ac_try='test -s conftest$ac_exeext'
42037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42038 (eval $ac_try) 2>&5
42039 ac_status=$?
42040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42041 (exit $ac_status); }; }; then
42042 eval "$as_ac_var=yes"
42043 else
42044 echo "$as_me: failed program was:" >&5
42045 sed 's/^/| /' conftest.$ac_ext >&5
42047 eval "$as_ac_var=no"
42049 rm -f conftest.err conftest.$ac_objext \
42050 conftest$ac_exeext conftest.$ac_ext
42052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42053 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42054 if test `eval echo '${'$as_ac_var'}'` = yes; then
42055 cat >>confdefs.h <<_ACEOF
42056 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42057 _ACEOF
42060 done
42062 else
42064 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
42065 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
42066 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
42067 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
42068 echo $ECHO_N "(cached) $ECHO_C" >&6
42069 else
42073 ac_ext=cc
42074 ac_cpp='$CXXCPP $CPPFLAGS'
42075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42079 cat >conftest.$ac_ext <<_ACEOF
42080 /* confdefs.h. */
42081 _ACEOF
42082 cat confdefs.h >>conftest.$ac_ext
42083 cat >>conftest.$ac_ext <<_ACEOF
42084 /* end confdefs.h. */
42085 #include <math.h>
42087 main ()
42089 _copysignl(0, 0);
42091 return 0;
42093 _ACEOF
42094 rm -f conftest.$ac_objext
42095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42096 (eval $ac_compile) 2>conftest.er1
42097 ac_status=$?
42098 grep -v '^ *+' conftest.er1 >conftest.err
42099 rm -f conftest.er1
42100 cat conftest.err >&5
42101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42102 (exit $ac_status); } &&
42103 { ac_try='test -z "$ac_cxx_werror_flag"
42104 || test ! -s conftest.err'
42105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42106 (eval $ac_try) 2>&5
42107 ac_status=$?
42108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42109 (exit $ac_status); }; } &&
42110 { ac_try='test -s conftest.$ac_objext'
42111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42112 (eval $ac_try) 2>&5
42113 ac_status=$?
42114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42115 (exit $ac_status); }; }; then
42116 glibcxx_cv_func__copysignl_use=yes
42117 else
42118 echo "$as_me: failed program was:" >&5
42119 sed 's/^/| /' conftest.$ac_ext >&5
42121 glibcxx_cv_func__copysignl_use=no
42123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42124 ac_ext=c
42125 ac_cpp='$CPP $CPPFLAGS'
42126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42134 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
42135 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
42137 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
42139 for ac_func in _copysignl
42141 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42142 echo "$as_me:$LINENO: checking for $ac_func" >&5
42143 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42144 if eval "test \"\${$as_ac_var+set}\" = set"; then
42145 echo $ECHO_N "(cached) $ECHO_C" >&6
42146 else
42147 if test x$gcc_no_link = xyes; then
42148 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42149 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42150 { (exit 1); exit 1; }; }
42152 cat >conftest.$ac_ext <<_ACEOF
42153 /* confdefs.h. */
42154 _ACEOF
42155 cat confdefs.h >>conftest.$ac_ext
42156 cat >>conftest.$ac_ext <<_ACEOF
42157 /* end confdefs.h. */
42158 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42159 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42160 #define $ac_func innocuous_$ac_func
42162 /* System header to define __stub macros and hopefully few prototypes,
42163 which can conflict with char $ac_func (); below.
42164 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42165 <limits.h> exists even on freestanding compilers. */
42167 #ifdef __STDC__
42168 # include <limits.h>
42169 #else
42170 # include <assert.h>
42171 #endif
42173 #undef $ac_func
42175 /* Override any gcc2 internal prototype to avoid an error. */
42176 #ifdef __cplusplus
42177 extern "C"
42179 #endif
42180 /* We use char because int might match the return type of a gcc2
42181 builtin and then its argument prototype would still apply. */
42182 char $ac_func ();
42183 /* The GNU C library defines this for functions which it implements
42184 to always fail with ENOSYS. Some functions are actually named
42185 something starting with __ and the normal name is an alias. */
42186 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42187 choke me
42188 #else
42189 char (*f) () = $ac_func;
42190 #endif
42191 #ifdef __cplusplus
42193 #endif
42196 main ()
42198 return f != $ac_func;
42200 return 0;
42202 _ACEOF
42203 rm -f conftest.$ac_objext conftest$ac_exeext
42204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42205 (eval $ac_link) 2>conftest.er1
42206 ac_status=$?
42207 grep -v '^ *+' conftest.er1 >conftest.err
42208 rm -f conftest.er1
42209 cat conftest.err >&5
42210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42211 (exit $ac_status); } &&
42212 { ac_try='test -z "$ac_c_werror_flag"
42213 || test ! -s conftest.err'
42214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42215 (eval $ac_try) 2>&5
42216 ac_status=$?
42217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42218 (exit $ac_status); }; } &&
42219 { ac_try='test -s conftest$ac_exeext'
42220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42221 (eval $ac_try) 2>&5
42222 ac_status=$?
42223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42224 (exit $ac_status); }; }; then
42225 eval "$as_ac_var=yes"
42226 else
42227 echo "$as_me: failed program was:" >&5
42228 sed 's/^/| /' conftest.$ac_ext >&5
42230 eval "$as_ac_var=no"
42232 rm -f conftest.err conftest.$ac_objext \
42233 conftest$ac_exeext conftest.$ac_ext
42235 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42236 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42237 if test `eval echo '${'$as_ac_var'}'` = yes; then
42238 cat >>confdefs.h <<_ACEOF
42239 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42240 _ACEOF
42243 done
42250 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
42251 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
42252 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42253 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
42254 echo $ECHO_N "(cached) $ECHO_C" >&6
42255 else
42259 ac_ext=cc
42260 ac_cpp='$CXXCPP $CPPFLAGS'
42261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42265 cat >conftest.$ac_ext <<_ACEOF
42266 /* confdefs.h. */
42267 _ACEOF
42268 cat confdefs.h >>conftest.$ac_ext
42269 cat >>conftest.$ac_ext <<_ACEOF
42270 /* end confdefs.h. */
42271 #include <math.h>
42273 main ()
42275 atan2l(0, 0);
42277 return 0;
42279 _ACEOF
42280 rm -f conftest.$ac_objext
42281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42282 (eval $ac_compile) 2>conftest.er1
42283 ac_status=$?
42284 grep -v '^ *+' conftest.er1 >conftest.err
42285 rm -f conftest.er1
42286 cat conftest.err >&5
42287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42288 (exit $ac_status); } &&
42289 { ac_try='test -z "$ac_cxx_werror_flag"
42290 || test ! -s conftest.err'
42291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42292 (eval $ac_try) 2>&5
42293 ac_status=$?
42294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42295 (exit $ac_status); }; } &&
42296 { ac_try='test -s conftest.$ac_objext'
42297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42298 (eval $ac_try) 2>&5
42299 ac_status=$?
42300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42301 (exit $ac_status); }; }; then
42302 glibcxx_cv_func_atan2l_use=yes
42303 else
42304 echo "$as_me: failed program was:" >&5
42305 sed 's/^/| /' conftest.$ac_ext >&5
42307 glibcxx_cv_func_atan2l_use=no
42309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42310 ac_ext=c
42311 ac_cpp='$CPP $CPPFLAGS'
42312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42320 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
42321 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
42323 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
42325 for ac_func in atan2l
42327 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42328 echo "$as_me:$LINENO: checking for $ac_func" >&5
42329 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42330 if eval "test \"\${$as_ac_var+set}\" = set"; then
42331 echo $ECHO_N "(cached) $ECHO_C" >&6
42332 else
42333 if test x$gcc_no_link = xyes; then
42334 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42335 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42336 { (exit 1); exit 1; }; }
42338 cat >conftest.$ac_ext <<_ACEOF
42339 /* confdefs.h. */
42340 _ACEOF
42341 cat confdefs.h >>conftest.$ac_ext
42342 cat >>conftest.$ac_ext <<_ACEOF
42343 /* end confdefs.h. */
42344 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42345 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42346 #define $ac_func innocuous_$ac_func
42348 /* System header to define __stub macros and hopefully few prototypes,
42349 which can conflict with char $ac_func (); below.
42350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42351 <limits.h> exists even on freestanding compilers. */
42353 #ifdef __STDC__
42354 # include <limits.h>
42355 #else
42356 # include <assert.h>
42357 #endif
42359 #undef $ac_func
42361 /* Override any gcc2 internal prototype to avoid an error. */
42362 #ifdef __cplusplus
42363 extern "C"
42365 #endif
42366 /* We use char because int might match the return type of a gcc2
42367 builtin and then its argument prototype would still apply. */
42368 char $ac_func ();
42369 /* The GNU C library defines this for functions which it implements
42370 to always fail with ENOSYS. Some functions are actually named
42371 something starting with __ and the normal name is an alias. */
42372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42373 choke me
42374 #else
42375 char (*f) () = $ac_func;
42376 #endif
42377 #ifdef __cplusplus
42379 #endif
42382 main ()
42384 return f != $ac_func;
42386 return 0;
42388 _ACEOF
42389 rm -f conftest.$ac_objext conftest$ac_exeext
42390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42391 (eval $ac_link) 2>conftest.er1
42392 ac_status=$?
42393 grep -v '^ *+' conftest.er1 >conftest.err
42394 rm -f conftest.er1
42395 cat conftest.err >&5
42396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42397 (exit $ac_status); } &&
42398 { ac_try='test -z "$ac_c_werror_flag"
42399 || test ! -s conftest.err'
42400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42401 (eval $ac_try) 2>&5
42402 ac_status=$?
42403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42404 (exit $ac_status); }; } &&
42405 { ac_try='test -s conftest$ac_exeext'
42406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42407 (eval $ac_try) 2>&5
42408 ac_status=$?
42409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42410 (exit $ac_status); }; }; then
42411 eval "$as_ac_var=yes"
42412 else
42413 echo "$as_me: failed program was:" >&5
42414 sed 's/^/| /' conftest.$ac_ext >&5
42416 eval "$as_ac_var=no"
42418 rm -f conftest.err conftest.$ac_objext \
42419 conftest$ac_exeext conftest.$ac_ext
42421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42422 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42423 if test `eval echo '${'$as_ac_var'}'` = yes; then
42424 cat >>confdefs.h <<_ACEOF
42425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42426 _ACEOF
42429 done
42431 else
42433 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
42434 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
42435 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
42436 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
42437 echo $ECHO_N "(cached) $ECHO_C" >&6
42438 else
42442 ac_ext=cc
42443 ac_cpp='$CXXCPP $CPPFLAGS'
42444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42448 cat >conftest.$ac_ext <<_ACEOF
42449 /* confdefs.h. */
42450 _ACEOF
42451 cat confdefs.h >>conftest.$ac_ext
42452 cat >>conftest.$ac_ext <<_ACEOF
42453 /* end confdefs.h. */
42454 #include <math.h>
42456 main ()
42458 _atan2l(0, 0);
42460 return 0;
42462 _ACEOF
42463 rm -f conftest.$ac_objext
42464 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42465 (eval $ac_compile) 2>conftest.er1
42466 ac_status=$?
42467 grep -v '^ *+' conftest.er1 >conftest.err
42468 rm -f conftest.er1
42469 cat conftest.err >&5
42470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42471 (exit $ac_status); } &&
42472 { ac_try='test -z "$ac_cxx_werror_flag"
42473 || test ! -s conftest.err'
42474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42475 (eval $ac_try) 2>&5
42476 ac_status=$?
42477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42478 (exit $ac_status); }; } &&
42479 { ac_try='test -s conftest.$ac_objext'
42480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42481 (eval $ac_try) 2>&5
42482 ac_status=$?
42483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42484 (exit $ac_status); }; }; then
42485 glibcxx_cv_func__atan2l_use=yes
42486 else
42487 echo "$as_me: failed program was:" >&5
42488 sed 's/^/| /' conftest.$ac_ext >&5
42490 glibcxx_cv_func__atan2l_use=no
42492 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42493 ac_ext=c
42494 ac_cpp='$CPP $CPPFLAGS'
42495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42503 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
42504 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
42506 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
42508 for ac_func in _atan2l
42510 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42511 echo "$as_me:$LINENO: checking for $ac_func" >&5
42512 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42513 if eval "test \"\${$as_ac_var+set}\" = set"; then
42514 echo $ECHO_N "(cached) $ECHO_C" >&6
42515 else
42516 if test x$gcc_no_link = xyes; then
42517 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42518 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42519 { (exit 1); exit 1; }; }
42521 cat >conftest.$ac_ext <<_ACEOF
42522 /* confdefs.h. */
42523 _ACEOF
42524 cat confdefs.h >>conftest.$ac_ext
42525 cat >>conftest.$ac_ext <<_ACEOF
42526 /* end confdefs.h. */
42527 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42528 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42529 #define $ac_func innocuous_$ac_func
42531 /* System header to define __stub macros and hopefully few prototypes,
42532 which can conflict with char $ac_func (); below.
42533 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42534 <limits.h> exists even on freestanding compilers. */
42536 #ifdef __STDC__
42537 # include <limits.h>
42538 #else
42539 # include <assert.h>
42540 #endif
42542 #undef $ac_func
42544 /* Override any gcc2 internal prototype to avoid an error. */
42545 #ifdef __cplusplus
42546 extern "C"
42548 #endif
42549 /* We use char because int might match the return type of a gcc2
42550 builtin and then its argument prototype would still apply. */
42551 char $ac_func ();
42552 /* The GNU C library defines this for functions which it implements
42553 to always fail with ENOSYS. Some functions are actually named
42554 something starting with __ and the normal name is an alias. */
42555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42556 choke me
42557 #else
42558 char (*f) () = $ac_func;
42559 #endif
42560 #ifdef __cplusplus
42562 #endif
42565 main ()
42567 return f != $ac_func;
42569 return 0;
42571 _ACEOF
42572 rm -f conftest.$ac_objext conftest$ac_exeext
42573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42574 (eval $ac_link) 2>conftest.er1
42575 ac_status=$?
42576 grep -v '^ *+' conftest.er1 >conftest.err
42577 rm -f conftest.er1
42578 cat conftest.err >&5
42579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42580 (exit $ac_status); } &&
42581 { ac_try='test -z "$ac_c_werror_flag"
42582 || test ! -s conftest.err'
42583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42584 (eval $ac_try) 2>&5
42585 ac_status=$?
42586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42587 (exit $ac_status); }; } &&
42588 { ac_try='test -s conftest$ac_exeext'
42589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42590 (eval $ac_try) 2>&5
42591 ac_status=$?
42592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42593 (exit $ac_status); }; }; then
42594 eval "$as_ac_var=yes"
42595 else
42596 echo "$as_me: failed program was:" >&5
42597 sed 's/^/| /' conftest.$ac_ext >&5
42599 eval "$as_ac_var=no"
42601 rm -f conftest.err conftest.$ac_objext \
42602 conftest$ac_exeext conftest.$ac_ext
42604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42605 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42606 if test `eval echo '${'$as_ac_var'}'` = yes; then
42607 cat >>confdefs.h <<_ACEOF
42608 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42609 _ACEOF
42612 done
42619 echo "$as_me:$LINENO: checking for expl declaration" >&5
42620 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
42621 if test x${glibcxx_cv_func_expl_use+set} != xset; then
42622 if test "${glibcxx_cv_func_expl_use+set}" = set; then
42623 echo $ECHO_N "(cached) $ECHO_C" >&6
42624 else
42628 ac_ext=cc
42629 ac_cpp='$CXXCPP $CPPFLAGS'
42630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42634 cat >conftest.$ac_ext <<_ACEOF
42635 /* confdefs.h. */
42636 _ACEOF
42637 cat confdefs.h >>conftest.$ac_ext
42638 cat >>conftest.$ac_ext <<_ACEOF
42639 /* end confdefs.h. */
42640 #include <math.h>
42641 #ifdef HAVE_IEEEFP_H
42642 #include <ieeefp.h>
42643 #endif
42646 main ()
42648 expl(0);
42650 return 0;
42652 _ACEOF
42653 rm -f conftest.$ac_objext
42654 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42655 (eval $ac_compile) 2>conftest.er1
42656 ac_status=$?
42657 grep -v '^ *+' conftest.er1 >conftest.err
42658 rm -f conftest.er1
42659 cat conftest.err >&5
42660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42661 (exit $ac_status); } &&
42662 { ac_try='test -z "$ac_cxx_werror_flag"
42663 || test ! -s conftest.err'
42664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42665 (eval $ac_try) 2>&5
42666 ac_status=$?
42667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42668 (exit $ac_status); }; } &&
42669 { ac_try='test -s conftest.$ac_objext'
42670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42671 (eval $ac_try) 2>&5
42672 ac_status=$?
42673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42674 (exit $ac_status); }; }; then
42675 glibcxx_cv_func_expl_use=yes
42676 else
42677 echo "$as_me: failed program was:" >&5
42678 sed 's/^/| /' conftest.$ac_ext >&5
42680 glibcxx_cv_func_expl_use=no
42682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42683 ac_ext=c
42684 ac_cpp='$CPP $CPPFLAGS'
42685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42693 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
42694 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
42696 if test x$glibcxx_cv_func_expl_use = x"yes"; then
42698 for ac_func in expl
42700 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42701 echo "$as_me:$LINENO: checking for $ac_func" >&5
42702 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42703 if eval "test \"\${$as_ac_var+set}\" = set"; then
42704 echo $ECHO_N "(cached) $ECHO_C" >&6
42705 else
42706 if test x$gcc_no_link = xyes; then
42707 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42708 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42709 { (exit 1); exit 1; }; }
42711 cat >conftest.$ac_ext <<_ACEOF
42712 /* confdefs.h. */
42713 _ACEOF
42714 cat confdefs.h >>conftest.$ac_ext
42715 cat >>conftest.$ac_ext <<_ACEOF
42716 /* end confdefs.h. */
42717 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42718 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42719 #define $ac_func innocuous_$ac_func
42721 /* System header to define __stub macros and hopefully few prototypes,
42722 which can conflict with char $ac_func (); below.
42723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42724 <limits.h> exists even on freestanding compilers. */
42726 #ifdef __STDC__
42727 # include <limits.h>
42728 #else
42729 # include <assert.h>
42730 #endif
42732 #undef $ac_func
42734 /* Override any gcc2 internal prototype to avoid an error. */
42735 #ifdef __cplusplus
42736 extern "C"
42738 #endif
42739 /* We use char because int might match the return type of a gcc2
42740 builtin and then its argument prototype would still apply. */
42741 char $ac_func ();
42742 /* The GNU C library defines this for functions which it implements
42743 to always fail with ENOSYS. Some functions are actually named
42744 something starting with __ and the normal name is an alias. */
42745 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42746 choke me
42747 #else
42748 char (*f) () = $ac_func;
42749 #endif
42750 #ifdef __cplusplus
42752 #endif
42755 main ()
42757 return f != $ac_func;
42759 return 0;
42761 _ACEOF
42762 rm -f conftest.$ac_objext conftest$ac_exeext
42763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42764 (eval $ac_link) 2>conftest.er1
42765 ac_status=$?
42766 grep -v '^ *+' conftest.er1 >conftest.err
42767 rm -f conftest.er1
42768 cat conftest.err >&5
42769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42770 (exit $ac_status); } &&
42771 { ac_try='test -z "$ac_c_werror_flag"
42772 || test ! -s conftest.err'
42773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42774 (eval $ac_try) 2>&5
42775 ac_status=$?
42776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42777 (exit $ac_status); }; } &&
42778 { ac_try='test -s conftest$ac_exeext'
42779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42780 (eval $ac_try) 2>&5
42781 ac_status=$?
42782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42783 (exit $ac_status); }; }; then
42784 eval "$as_ac_var=yes"
42785 else
42786 echo "$as_me: failed program was:" >&5
42787 sed 's/^/| /' conftest.$ac_ext >&5
42789 eval "$as_ac_var=no"
42791 rm -f conftest.err conftest.$ac_objext \
42792 conftest$ac_exeext conftest.$ac_ext
42794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42795 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42796 if test `eval echo '${'$as_ac_var'}'` = yes; then
42797 cat >>confdefs.h <<_ACEOF
42798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42799 _ACEOF
42802 done
42804 else
42806 echo "$as_me:$LINENO: checking for _expl declaration" >&5
42807 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
42808 if test x${glibcxx_cv_func__expl_use+set} != xset; then
42809 if test "${glibcxx_cv_func__expl_use+set}" = set; then
42810 echo $ECHO_N "(cached) $ECHO_C" >&6
42811 else
42815 ac_ext=cc
42816 ac_cpp='$CXXCPP $CPPFLAGS'
42817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42821 cat >conftest.$ac_ext <<_ACEOF
42822 /* confdefs.h. */
42823 _ACEOF
42824 cat confdefs.h >>conftest.$ac_ext
42825 cat >>conftest.$ac_ext <<_ACEOF
42826 /* end confdefs.h. */
42827 #include <math.h>
42828 #ifdef HAVE_IEEEFP_H
42829 #include <ieeefp.h>
42830 #endif
42833 main ()
42835 _expl(0);
42837 return 0;
42839 _ACEOF
42840 rm -f conftest.$ac_objext
42841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42842 (eval $ac_compile) 2>conftest.er1
42843 ac_status=$?
42844 grep -v '^ *+' conftest.er1 >conftest.err
42845 rm -f conftest.er1
42846 cat conftest.err >&5
42847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42848 (exit $ac_status); } &&
42849 { ac_try='test -z "$ac_cxx_werror_flag"
42850 || test ! -s conftest.err'
42851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42852 (eval $ac_try) 2>&5
42853 ac_status=$?
42854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42855 (exit $ac_status); }; } &&
42856 { ac_try='test -s conftest.$ac_objext'
42857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42858 (eval $ac_try) 2>&5
42859 ac_status=$?
42860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42861 (exit $ac_status); }; }; then
42862 glibcxx_cv_func__expl_use=yes
42863 else
42864 echo "$as_me: failed program was:" >&5
42865 sed 's/^/| /' conftest.$ac_ext >&5
42867 glibcxx_cv_func__expl_use=no
42869 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42870 ac_ext=c
42871 ac_cpp='$CPP $CPPFLAGS'
42872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42880 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
42881 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
42883 if test x$glibcxx_cv_func__expl_use = x"yes"; then
42885 for ac_func in _expl
42887 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42888 echo "$as_me:$LINENO: checking for $ac_func" >&5
42889 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42890 if eval "test \"\${$as_ac_var+set}\" = set"; then
42891 echo $ECHO_N "(cached) $ECHO_C" >&6
42892 else
42893 if test x$gcc_no_link = xyes; then
42894 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42896 { (exit 1); exit 1; }; }
42898 cat >conftest.$ac_ext <<_ACEOF
42899 /* confdefs.h. */
42900 _ACEOF
42901 cat confdefs.h >>conftest.$ac_ext
42902 cat >>conftest.$ac_ext <<_ACEOF
42903 /* end confdefs.h. */
42904 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42905 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42906 #define $ac_func innocuous_$ac_func
42908 /* System header to define __stub macros and hopefully few prototypes,
42909 which can conflict with char $ac_func (); below.
42910 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42911 <limits.h> exists even on freestanding compilers. */
42913 #ifdef __STDC__
42914 # include <limits.h>
42915 #else
42916 # include <assert.h>
42917 #endif
42919 #undef $ac_func
42921 /* Override any gcc2 internal prototype to avoid an error. */
42922 #ifdef __cplusplus
42923 extern "C"
42925 #endif
42926 /* We use char because int might match the return type of a gcc2
42927 builtin and then its argument prototype would still apply. */
42928 char $ac_func ();
42929 /* The GNU C library defines this for functions which it implements
42930 to always fail with ENOSYS. Some functions are actually named
42931 something starting with __ and the normal name is an alias. */
42932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42933 choke me
42934 #else
42935 char (*f) () = $ac_func;
42936 #endif
42937 #ifdef __cplusplus
42939 #endif
42942 main ()
42944 return f != $ac_func;
42946 return 0;
42948 _ACEOF
42949 rm -f conftest.$ac_objext conftest$ac_exeext
42950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42951 (eval $ac_link) 2>conftest.er1
42952 ac_status=$?
42953 grep -v '^ *+' conftest.er1 >conftest.err
42954 rm -f conftest.er1
42955 cat conftest.err >&5
42956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42957 (exit $ac_status); } &&
42958 { ac_try='test -z "$ac_c_werror_flag"
42959 || test ! -s conftest.err'
42960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42961 (eval $ac_try) 2>&5
42962 ac_status=$?
42963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42964 (exit $ac_status); }; } &&
42965 { ac_try='test -s conftest$ac_exeext'
42966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42967 (eval $ac_try) 2>&5
42968 ac_status=$?
42969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42970 (exit $ac_status); }; }; then
42971 eval "$as_ac_var=yes"
42972 else
42973 echo "$as_me: failed program was:" >&5
42974 sed 's/^/| /' conftest.$ac_ext >&5
42976 eval "$as_ac_var=no"
42978 rm -f conftest.err conftest.$ac_objext \
42979 conftest$ac_exeext conftest.$ac_ext
42981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42982 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42983 if test `eval echo '${'$as_ac_var'}'` = yes; then
42984 cat >>confdefs.h <<_ACEOF
42985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42986 _ACEOF
42989 done
42996 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
42997 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
42998 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
42999 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
43000 echo $ECHO_N "(cached) $ECHO_C" >&6
43001 else
43005 ac_ext=cc
43006 ac_cpp='$CXXCPP $CPPFLAGS'
43007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43011 cat >conftest.$ac_ext <<_ACEOF
43012 /* confdefs.h. */
43013 _ACEOF
43014 cat confdefs.h >>conftest.$ac_ext
43015 cat >>conftest.$ac_ext <<_ACEOF
43016 /* end confdefs.h. */
43017 #include <math.h>
43018 #ifdef HAVE_IEEEFP_H
43019 #include <ieeefp.h>
43020 #endif
43023 main ()
43025 fabsl(0);
43027 return 0;
43029 _ACEOF
43030 rm -f conftest.$ac_objext
43031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43032 (eval $ac_compile) 2>conftest.er1
43033 ac_status=$?
43034 grep -v '^ *+' conftest.er1 >conftest.err
43035 rm -f conftest.er1
43036 cat conftest.err >&5
43037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43038 (exit $ac_status); } &&
43039 { ac_try='test -z "$ac_cxx_werror_flag"
43040 || test ! -s conftest.err'
43041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43042 (eval $ac_try) 2>&5
43043 ac_status=$?
43044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43045 (exit $ac_status); }; } &&
43046 { ac_try='test -s conftest.$ac_objext'
43047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43048 (eval $ac_try) 2>&5
43049 ac_status=$?
43050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43051 (exit $ac_status); }; }; then
43052 glibcxx_cv_func_fabsl_use=yes
43053 else
43054 echo "$as_me: failed program was:" >&5
43055 sed 's/^/| /' conftest.$ac_ext >&5
43057 glibcxx_cv_func_fabsl_use=no
43059 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43060 ac_ext=c
43061 ac_cpp='$CPP $CPPFLAGS'
43062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43070 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
43071 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
43073 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
43075 for ac_func in fabsl
43077 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43078 echo "$as_me:$LINENO: checking for $ac_func" >&5
43079 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43080 if eval "test \"\${$as_ac_var+set}\" = set"; then
43081 echo $ECHO_N "(cached) $ECHO_C" >&6
43082 else
43083 if test x$gcc_no_link = xyes; then
43084 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43085 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43086 { (exit 1); exit 1; }; }
43088 cat >conftest.$ac_ext <<_ACEOF
43089 /* confdefs.h. */
43090 _ACEOF
43091 cat confdefs.h >>conftest.$ac_ext
43092 cat >>conftest.$ac_ext <<_ACEOF
43093 /* end confdefs.h. */
43094 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43095 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43096 #define $ac_func innocuous_$ac_func
43098 /* System header to define __stub macros and hopefully few prototypes,
43099 which can conflict with char $ac_func (); below.
43100 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43101 <limits.h> exists even on freestanding compilers. */
43103 #ifdef __STDC__
43104 # include <limits.h>
43105 #else
43106 # include <assert.h>
43107 #endif
43109 #undef $ac_func
43111 /* Override any gcc2 internal prototype to avoid an error. */
43112 #ifdef __cplusplus
43113 extern "C"
43115 #endif
43116 /* We use char because int might match the return type of a gcc2
43117 builtin and then its argument prototype would still apply. */
43118 char $ac_func ();
43119 /* The GNU C library defines this for functions which it implements
43120 to always fail with ENOSYS. Some functions are actually named
43121 something starting with __ and the normal name is an alias. */
43122 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43123 choke me
43124 #else
43125 char (*f) () = $ac_func;
43126 #endif
43127 #ifdef __cplusplus
43129 #endif
43132 main ()
43134 return f != $ac_func;
43136 return 0;
43138 _ACEOF
43139 rm -f conftest.$ac_objext conftest$ac_exeext
43140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43141 (eval $ac_link) 2>conftest.er1
43142 ac_status=$?
43143 grep -v '^ *+' conftest.er1 >conftest.err
43144 rm -f conftest.er1
43145 cat conftest.err >&5
43146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43147 (exit $ac_status); } &&
43148 { ac_try='test -z "$ac_c_werror_flag"
43149 || test ! -s conftest.err'
43150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43151 (eval $ac_try) 2>&5
43152 ac_status=$?
43153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43154 (exit $ac_status); }; } &&
43155 { ac_try='test -s conftest$ac_exeext'
43156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43157 (eval $ac_try) 2>&5
43158 ac_status=$?
43159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43160 (exit $ac_status); }; }; then
43161 eval "$as_ac_var=yes"
43162 else
43163 echo "$as_me: failed program was:" >&5
43164 sed 's/^/| /' conftest.$ac_ext >&5
43166 eval "$as_ac_var=no"
43168 rm -f conftest.err conftest.$ac_objext \
43169 conftest$ac_exeext conftest.$ac_ext
43171 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43172 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43173 if test `eval echo '${'$as_ac_var'}'` = yes; then
43174 cat >>confdefs.h <<_ACEOF
43175 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43176 _ACEOF
43179 done
43181 else
43183 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
43184 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
43185 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
43186 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
43187 echo $ECHO_N "(cached) $ECHO_C" >&6
43188 else
43192 ac_ext=cc
43193 ac_cpp='$CXXCPP $CPPFLAGS'
43194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43198 cat >conftest.$ac_ext <<_ACEOF
43199 /* confdefs.h. */
43200 _ACEOF
43201 cat confdefs.h >>conftest.$ac_ext
43202 cat >>conftest.$ac_ext <<_ACEOF
43203 /* end confdefs.h. */
43204 #include <math.h>
43205 #ifdef HAVE_IEEEFP_H
43206 #include <ieeefp.h>
43207 #endif
43210 main ()
43212 _fabsl(0);
43214 return 0;
43216 _ACEOF
43217 rm -f conftest.$ac_objext
43218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43219 (eval $ac_compile) 2>conftest.er1
43220 ac_status=$?
43221 grep -v '^ *+' conftest.er1 >conftest.err
43222 rm -f conftest.er1
43223 cat conftest.err >&5
43224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43225 (exit $ac_status); } &&
43226 { ac_try='test -z "$ac_cxx_werror_flag"
43227 || test ! -s conftest.err'
43228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43229 (eval $ac_try) 2>&5
43230 ac_status=$?
43231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43232 (exit $ac_status); }; } &&
43233 { ac_try='test -s conftest.$ac_objext'
43234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43235 (eval $ac_try) 2>&5
43236 ac_status=$?
43237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43238 (exit $ac_status); }; }; then
43239 glibcxx_cv_func__fabsl_use=yes
43240 else
43241 echo "$as_me: failed program was:" >&5
43242 sed 's/^/| /' conftest.$ac_ext >&5
43244 glibcxx_cv_func__fabsl_use=no
43246 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43247 ac_ext=c
43248 ac_cpp='$CPP $CPPFLAGS'
43249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43257 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
43258 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
43260 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
43262 for ac_func in _fabsl
43264 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43265 echo "$as_me:$LINENO: checking for $ac_func" >&5
43266 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43267 if eval "test \"\${$as_ac_var+set}\" = set"; then
43268 echo $ECHO_N "(cached) $ECHO_C" >&6
43269 else
43270 if test x$gcc_no_link = xyes; then
43271 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43272 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43273 { (exit 1); exit 1; }; }
43275 cat >conftest.$ac_ext <<_ACEOF
43276 /* confdefs.h. */
43277 _ACEOF
43278 cat confdefs.h >>conftest.$ac_ext
43279 cat >>conftest.$ac_ext <<_ACEOF
43280 /* end confdefs.h. */
43281 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43282 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43283 #define $ac_func innocuous_$ac_func
43285 /* System header to define __stub macros and hopefully few prototypes,
43286 which can conflict with char $ac_func (); below.
43287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43288 <limits.h> exists even on freestanding compilers. */
43290 #ifdef __STDC__
43291 # include <limits.h>
43292 #else
43293 # include <assert.h>
43294 #endif
43296 #undef $ac_func
43298 /* Override any gcc2 internal prototype to avoid an error. */
43299 #ifdef __cplusplus
43300 extern "C"
43302 #endif
43303 /* We use char because int might match the return type of a gcc2
43304 builtin and then its argument prototype would still apply. */
43305 char $ac_func ();
43306 /* The GNU C library defines this for functions which it implements
43307 to always fail with ENOSYS. Some functions are actually named
43308 something starting with __ and the normal name is an alias. */
43309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43310 choke me
43311 #else
43312 char (*f) () = $ac_func;
43313 #endif
43314 #ifdef __cplusplus
43316 #endif
43319 main ()
43321 return f != $ac_func;
43323 return 0;
43325 _ACEOF
43326 rm -f conftest.$ac_objext conftest$ac_exeext
43327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43328 (eval $ac_link) 2>conftest.er1
43329 ac_status=$?
43330 grep -v '^ *+' conftest.er1 >conftest.err
43331 rm -f conftest.er1
43332 cat conftest.err >&5
43333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43334 (exit $ac_status); } &&
43335 { ac_try='test -z "$ac_c_werror_flag"
43336 || test ! -s conftest.err'
43337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43338 (eval $ac_try) 2>&5
43339 ac_status=$?
43340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43341 (exit $ac_status); }; } &&
43342 { ac_try='test -s conftest$ac_exeext'
43343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43344 (eval $ac_try) 2>&5
43345 ac_status=$?
43346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43347 (exit $ac_status); }; }; then
43348 eval "$as_ac_var=yes"
43349 else
43350 echo "$as_me: failed program was:" >&5
43351 sed 's/^/| /' conftest.$ac_ext >&5
43353 eval "$as_ac_var=no"
43355 rm -f conftest.err conftest.$ac_objext \
43356 conftest$ac_exeext conftest.$ac_ext
43358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43359 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43360 if test `eval echo '${'$as_ac_var'}'` = yes; then
43361 cat >>confdefs.h <<_ACEOF
43362 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43363 _ACEOF
43366 done
43373 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
43374 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
43375 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
43376 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
43377 echo $ECHO_N "(cached) $ECHO_C" >&6
43378 else
43382 ac_ext=cc
43383 ac_cpp='$CXXCPP $CPPFLAGS'
43384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43388 cat >conftest.$ac_ext <<_ACEOF
43389 /* confdefs.h. */
43390 _ACEOF
43391 cat confdefs.h >>conftest.$ac_ext
43392 cat >>conftest.$ac_ext <<_ACEOF
43393 /* end confdefs.h. */
43394 #include <math.h>
43396 main ()
43398 fmodl(0, 0);
43400 return 0;
43402 _ACEOF
43403 rm -f conftest.$ac_objext
43404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43405 (eval $ac_compile) 2>conftest.er1
43406 ac_status=$?
43407 grep -v '^ *+' conftest.er1 >conftest.err
43408 rm -f conftest.er1
43409 cat conftest.err >&5
43410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43411 (exit $ac_status); } &&
43412 { ac_try='test -z "$ac_cxx_werror_flag"
43413 || test ! -s conftest.err'
43414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43415 (eval $ac_try) 2>&5
43416 ac_status=$?
43417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43418 (exit $ac_status); }; } &&
43419 { ac_try='test -s conftest.$ac_objext'
43420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43421 (eval $ac_try) 2>&5
43422 ac_status=$?
43423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43424 (exit $ac_status); }; }; then
43425 glibcxx_cv_func_fmodl_use=yes
43426 else
43427 echo "$as_me: failed program was:" >&5
43428 sed 's/^/| /' conftest.$ac_ext >&5
43430 glibcxx_cv_func_fmodl_use=no
43432 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43433 ac_ext=c
43434 ac_cpp='$CPP $CPPFLAGS'
43435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43443 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
43444 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
43446 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
43448 for ac_func in fmodl
43450 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43451 echo "$as_me:$LINENO: checking for $ac_func" >&5
43452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43453 if eval "test \"\${$as_ac_var+set}\" = set"; then
43454 echo $ECHO_N "(cached) $ECHO_C" >&6
43455 else
43456 if test x$gcc_no_link = xyes; then
43457 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43458 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43459 { (exit 1); exit 1; }; }
43461 cat >conftest.$ac_ext <<_ACEOF
43462 /* confdefs.h. */
43463 _ACEOF
43464 cat confdefs.h >>conftest.$ac_ext
43465 cat >>conftest.$ac_ext <<_ACEOF
43466 /* end confdefs.h. */
43467 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43468 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43469 #define $ac_func innocuous_$ac_func
43471 /* System header to define __stub macros and hopefully few prototypes,
43472 which can conflict with char $ac_func (); below.
43473 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43474 <limits.h> exists even on freestanding compilers. */
43476 #ifdef __STDC__
43477 # include <limits.h>
43478 #else
43479 # include <assert.h>
43480 #endif
43482 #undef $ac_func
43484 /* Override any gcc2 internal prototype to avoid an error. */
43485 #ifdef __cplusplus
43486 extern "C"
43488 #endif
43489 /* We use char because int might match the return type of a gcc2
43490 builtin and then its argument prototype would still apply. */
43491 char $ac_func ();
43492 /* The GNU C library defines this for functions which it implements
43493 to always fail with ENOSYS. Some functions are actually named
43494 something starting with __ and the normal name is an alias. */
43495 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43496 choke me
43497 #else
43498 char (*f) () = $ac_func;
43499 #endif
43500 #ifdef __cplusplus
43502 #endif
43505 main ()
43507 return f != $ac_func;
43509 return 0;
43511 _ACEOF
43512 rm -f conftest.$ac_objext conftest$ac_exeext
43513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43514 (eval $ac_link) 2>conftest.er1
43515 ac_status=$?
43516 grep -v '^ *+' conftest.er1 >conftest.err
43517 rm -f conftest.er1
43518 cat conftest.err >&5
43519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43520 (exit $ac_status); } &&
43521 { ac_try='test -z "$ac_c_werror_flag"
43522 || test ! -s conftest.err'
43523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43524 (eval $ac_try) 2>&5
43525 ac_status=$?
43526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43527 (exit $ac_status); }; } &&
43528 { ac_try='test -s conftest$ac_exeext'
43529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43530 (eval $ac_try) 2>&5
43531 ac_status=$?
43532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43533 (exit $ac_status); }; }; then
43534 eval "$as_ac_var=yes"
43535 else
43536 echo "$as_me: failed program was:" >&5
43537 sed 's/^/| /' conftest.$ac_ext >&5
43539 eval "$as_ac_var=no"
43541 rm -f conftest.err conftest.$ac_objext \
43542 conftest$ac_exeext conftest.$ac_ext
43544 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43545 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43546 if test `eval echo '${'$as_ac_var'}'` = yes; then
43547 cat >>confdefs.h <<_ACEOF
43548 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43549 _ACEOF
43552 done
43554 else
43556 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
43557 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
43558 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
43559 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
43560 echo $ECHO_N "(cached) $ECHO_C" >&6
43561 else
43565 ac_ext=cc
43566 ac_cpp='$CXXCPP $CPPFLAGS'
43567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43571 cat >conftest.$ac_ext <<_ACEOF
43572 /* confdefs.h. */
43573 _ACEOF
43574 cat confdefs.h >>conftest.$ac_ext
43575 cat >>conftest.$ac_ext <<_ACEOF
43576 /* end confdefs.h. */
43577 #include <math.h>
43579 main ()
43581 _fmodl(0, 0);
43583 return 0;
43585 _ACEOF
43586 rm -f conftest.$ac_objext
43587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43588 (eval $ac_compile) 2>conftest.er1
43589 ac_status=$?
43590 grep -v '^ *+' conftest.er1 >conftest.err
43591 rm -f conftest.er1
43592 cat conftest.err >&5
43593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43594 (exit $ac_status); } &&
43595 { ac_try='test -z "$ac_cxx_werror_flag"
43596 || test ! -s conftest.err'
43597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43598 (eval $ac_try) 2>&5
43599 ac_status=$?
43600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43601 (exit $ac_status); }; } &&
43602 { ac_try='test -s conftest.$ac_objext'
43603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43604 (eval $ac_try) 2>&5
43605 ac_status=$?
43606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43607 (exit $ac_status); }; }; then
43608 glibcxx_cv_func__fmodl_use=yes
43609 else
43610 echo "$as_me: failed program was:" >&5
43611 sed 's/^/| /' conftest.$ac_ext >&5
43613 glibcxx_cv_func__fmodl_use=no
43615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43616 ac_ext=c
43617 ac_cpp='$CPP $CPPFLAGS'
43618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43626 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
43627 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
43629 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
43631 for ac_func in _fmodl
43633 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43634 echo "$as_me:$LINENO: checking for $ac_func" >&5
43635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43636 if eval "test \"\${$as_ac_var+set}\" = set"; then
43637 echo $ECHO_N "(cached) $ECHO_C" >&6
43638 else
43639 if test x$gcc_no_link = xyes; then
43640 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43641 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43642 { (exit 1); exit 1; }; }
43644 cat >conftest.$ac_ext <<_ACEOF
43645 /* confdefs.h. */
43646 _ACEOF
43647 cat confdefs.h >>conftest.$ac_ext
43648 cat >>conftest.$ac_ext <<_ACEOF
43649 /* end confdefs.h. */
43650 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43651 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43652 #define $ac_func innocuous_$ac_func
43654 /* System header to define __stub macros and hopefully few prototypes,
43655 which can conflict with char $ac_func (); below.
43656 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43657 <limits.h> exists even on freestanding compilers. */
43659 #ifdef __STDC__
43660 # include <limits.h>
43661 #else
43662 # include <assert.h>
43663 #endif
43665 #undef $ac_func
43667 /* Override any gcc2 internal prototype to avoid an error. */
43668 #ifdef __cplusplus
43669 extern "C"
43671 #endif
43672 /* We use char because int might match the return type of a gcc2
43673 builtin and then its argument prototype would still apply. */
43674 char $ac_func ();
43675 /* The GNU C library defines this for functions which it implements
43676 to always fail with ENOSYS. Some functions are actually named
43677 something starting with __ and the normal name is an alias. */
43678 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43679 choke me
43680 #else
43681 char (*f) () = $ac_func;
43682 #endif
43683 #ifdef __cplusplus
43685 #endif
43688 main ()
43690 return f != $ac_func;
43692 return 0;
43694 _ACEOF
43695 rm -f conftest.$ac_objext conftest$ac_exeext
43696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43697 (eval $ac_link) 2>conftest.er1
43698 ac_status=$?
43699 grep -v '^ *+' conftest.er1 >conftest.err
43700 rm -f conftest.er1
43701 cat conftest.err >&5
43702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43703 (exit $ac_status); } &&
43704 { ac_try='test -z "$ac_c_werror_flag"
43705 || test ! -s conftest.err'
43706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43707 (eval $ac_try) 2>&5
43708 ac_status=$?
43709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43710 (exit $ac_status); }; } &&
43711 { ac_try='test -s conftest$ac_exeext'
43712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43713 (eval $ac_try) 2>&5
43714 ac_status=$?
43715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43716 (exit $ac_status); }; }; then
43717 eval "$as_ac_var=yes"
43718 else
43719 echo "$as_me: failed program was:" >&5
43720 sed 's/^/| /' conftest.$ac_ext >&5
43722 eval "$as_ac_var=no"
43724 rm -f conftest.err conftest.$ac_objext \
43725 conftest$ac_exeext conftest.$ac_ext
43727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43728 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43729 if test `eval echo '${'$as_ac_var'}'` = yes; then
43730 cat >>confdefs.h <<_ACEOF
43731 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43732 _ACEOF
43735 done
43742 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
43743 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
43744 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
43745 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
43746 echo $ECHO_N "(cached) $ECHO_C" >&6
43747 else
43751 ac_ext=cc
43752 ac_cpp='$CXXCPP $CPPFLAGS'
43753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43757 cat >conftest.$ac_ext <<_ACEOF
43758 /* confdefs.h. */
43759 _ACEOF
43760 cat confdefs.h >>conftest.$ac_ext
43761 cat >>conftest.$ac_ext <<_ACEOF
43762 /* end confdefs.h. */
43763 #include <math.h>
43765 main ()
43767 frexpl(0, 0);
43769 return 0;
43771 _ACEOF
43772 rm -f conftest.$ac_objext
43773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43774 (eval $ac_compile) 2>conftest.er1
43775 ac_status=$?
43776 grep -v '^ *+' conftest.er1 >conftest.err
43777 rm -f conftest.er1
43778 cat conftest.err >&5
43779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43780 (exit $ac_status); } &&
43781 { ac_try='test -z "$ac_cxx_werror_flag"
43782 || test ! -s conftest.err'
43783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43784 (eval $ac_try) 2>&5
43785 ac_status=$?
43786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43787 (exit $ac_status); }; } &&
43788 { ac_try='test -s conftest.$ac_objext'
43789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43790 (eval $ac_try) 2>&5
43791 ac_status=$?
43792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43793 (exit $ac_status); }; }; then
43794 glibcxx_cv_func_frexpl_use=yes
43795 else
43796 echo "$as_me: failed program was:" >&5
43797 sed 's/^/| /' conftest.$ac_ext >&5
43799 glibcxx_cv_func_frexpl_use=no
43801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43802 ac_ext=c
43803 ac_cpp='$CPP $CPPFLAGS'
43804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43812 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
43813 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
43815 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
43817 for ac_func in frexpl
43819 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43820 echo "$as_me:$LINENO: checking for $ac_func" >&5
43821 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43822 if eval "test \"\${$as_ac_var+set}\" = set"; then
43823 echo $ECHO_N "(cached) $ECHO_C" >&6
43824 else
43825 if test x$gcc_no_link = xyes; then
43826 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43827 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43828 { (exit 1); exit 1; }; }
43830 cat >conftest.$ac_ext <<_ACEOF
43831 /* confdefs.h. */
43832 _ACEOF
43833 cat confdefs.h >>conftest.$ac_ext
43834 cat >>conftest.$ac_ext <<_ACEOF
43835 /* end confdefs.h. */
43836 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43837 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43838 #define $ac_func innocuous_$ac_func
43840 /* System header to define __stub macros and hopefully few prototypes,
43841 which can conflict with char $ac_func (); below.
43842 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43843 <limits.h> exists even on freestanding compilers. */
43845 #ifdef __STDC__
43846 # include <limits.h>
43847 #else
43848 # include <assert.h>
43849 #endif
43851 #undef $ac_func
43853 /* Override any gcc2 internal prototype to avoid an error. */
43854 #ifdef __cplusplus
43855 extern "C"
43857 #endif
43858 /* We use char because int might match the return type of a gcc2
43859 builtin and then its argument prototype would still apply. */
43860 char $ac_func ();
43861 /* The GNU C library defines this for functions which it implements
43862 to always fail with ENOSYS. Some functions are actually named
43863 something starting with __ and the normal name is an alias. */
43864 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43865 choke me
43866 #else
43867 char (*f) () = $ac_func;
43868 #endif
43869 #ifdef __cplusplus
43871 #endif
43874 main ()
43876 return f != $ac_func;
43878 return 0;
43880 _ACEOF
43881 rm -f conftest.$ac_objext conftest$ac_exeext
43882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43883 (eval $ac_link) 2>conftest.er1
43884 ac_status=$?
43885 grep -v '^ *+' conftest.er1 >conftest.err
43886 rm -f conftest.er1
43887 cat conftest.err >&5
43888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43889 (exit $ac_status); } &&
43890 { ac_try='test -z "$ac_c_werror_flag"
43891 || test ! -s conftest.err'
43892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43893 (eval $ac_try) 2>&5
43894 ac_status=$?
43895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43896 (exit $ac_status); }; } &&
43897 { ac_try='test -s conftest$ac_exeext'
43898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43899 (eval $ac_try) 2>&5
43900 ac_status=$?
43901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43902 (exit $ac_status); }; }; then
43903 eval "$as_ac_var=yes"
43904 else
43905 echo "$as_me: failed program was:" >&5
43906 sed 's/^/| /' conftest.$ac_ext >&5
43908 eval "$as_ac_var=no"
43910 rm -f conftest.err conftest.$ac_objext \
43911 conftest$ac_exeext conftest.$ac_ext
43913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43914 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43915 if test `eval echo '${'$as_ac_var'}'` = yes; then
43916 cat >>confdefs.h <<_ACEOF
43917 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43918 _ACEOF
43921 done
43923 else
43925 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
43926 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
43927 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
43928 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
43929 echo $ECHO_N "(cached) $ECHO_C" >&6
43930 else
43934 ac_ext=cc
43935 ac_cpp='$CXXCPP $CPPFLAGS'
43936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43940 cat >conftest.$ac_ext <<_ACEOF
43941 /* confdefs.h. */
43942 _ACEOF
43943 cat confdefs.h >>conftest.$ac_ext
43944 cat >>conftest.$ac_ext <<_ACEOF
43945 /* end confdefs.h. */
43946 #include <math.h>
43948 main ()
43950 _frexpl(0, 0);
43952 return 0;
43954 _ACEOF
43955 rm -f conftest.$ac_objext
43956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43957 (eval $ac_compile) 2>conftest.er1
43958 ac_status=$?
43959 grep -v '^ *+' conftest.er1 >conftest.err
43960 rm -f conftest.er1
43961 cat conftest.err >&5
43962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43963 (exit $ac_status); } &&
43964 { ac_try='test -z "$ac_cxx_werror_flag"
43965 || test ! -s conftest.err'
43966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43967 (eval $ac_try) 2>&5
43968 ac_status=$?
43969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43970 (exit $ac_status); }; } &&
43971 { ac_try='test -s conftest.$ac_objext'
43972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43973 (eval $ac_try) 2>&5
43974 ac_status=$?
43975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43976 (exit $ac_status); }; }; then
43977 glibcxx_cv_func__frexpl_use=yes
43978 else
43979 echo "$as_me: failed program was:" >&5
43980 sed 's/^/| /' conftest.$ac_ext >&5
43982 glibcxx_cv_func__frexpl_use=no
43984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43985 ac_ext=c
43986 ac_cpp='$CPP $CPPFLAGS'
43987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43995 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
43996 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
43998 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
44000 for ac_func in _frexpl
44002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44003 echo "$as_me:$LINENO: checking for $ac_func" >&5
44004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44005 if eval "test \"\${$as_ac_var+set}\" = set"; then
44006 echo $ECHO_N "(cached) $ECHO_C" >&6
44007 else
44008 if test x$gcc_no_link = xyes; then
44009 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44011 { (exit 1); exit 1; }; }
44013 cat >conftest.$ac_ext <<_ACEOF
44014 /* confdefs.h. */
44015 _ACEOF
44016 cat confdefs.h >>conftest.$ac_ext
44017 cat >>conftest.$ac_ext <<_ACEOF
44018 /* end confdefs.h. */
44019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44021 #define $ac_func innocuous_$ac_func
44023 /* System header to define __stub macros and hopefully few prototypes,
44024 which can conflict with char $ac_func (); below.
44025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44026 <limits.h> exists even on freestanding compilers. */
44028 #ifdef __STDC__
44029 # include <limits.h>
44030 #else
44031 # include <assert.h>
44032 #endif
44034 #undef $ac_func
44036 /* Override any gcc2 internal prototype to avoid an error. */
44037 #ifdef __cplusplus
44038 extern "C"
44040 #endif
44041 /* We use char because int might match the return type of a gcc2
44042 builtin and then its argument prototype would still apply. */
44043 char $ac_func ();
44044 /* The GNU C library defines this for functions which it implements
44045 to always fail with ENOSYS. Some functions are actually named
44046 something starting with __ and the normal name is an alias. */
44047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44048 choke me
44049 #else
44050 char (*f) () = $ac_func;
44051 #endif
44052 #ifdef __cplusplus
44054 #endif
44057 main ()
44059 return f != $ac_func;
44061 return 0;
44063 _ACEOF
44064 rm -f conftest.$ac_objext conftest$ac_exeext
44065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44066 (eval $ac_link) 2>conftest.er1
44067 ac_status=$?
44068 grep -v '^ *+' conftest.er1 >conftest.err
44069 rm -f conftest.er1
44070 cat conftest.err >&5
44071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44072 (exit $ac_status); } &&
44073 { ac_try='test -z "$ac_c_werror_flag"
44074 || test ! -s conftest.err'
44075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44076 (eval $ac_try) 2>&5
44077 ac_status=$?
44078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44079 (exit $ac_status); }; } &&
44080 { ac_try='test -s conftest$ac_exeext'
44081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44082 (eval $ac_try) 2>&5
44083 ac_status=$?
44084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44085 (exit $ac_status); }; }; then
44086 eval "$as_ac_var=yes"
44087 else
44088 echo "$as_me: failed program was:" >&5
44089 sed 's/^/| /' conftest.$ac_ext >&5
44091 eval "$as_ac_var=no"
44093 rm -f conftest.err conftest.$ac_objext \
44094 conftest$ac_exeext conftest.$ac_ext
44096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44098 if test `eval echo '${'$as_ac_var'}'` = yes; then
44099 cat >>confdefs.h <<_ACEOF
44100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44101 _ACEOF
44104 done
44111 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
44112 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
44113 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
44114 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
44115 echo $ECHO_N "(cached) $ECHO_C" >&6
44116 else
44120 ac_ext=cc
44121 ac_cpp='$CXXCPP $CPPFLAGS'
44122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44126 cat >conftest.$ac_ext <<_ACEOF
44127 /* confdefs.h. */
44128 _ACEOF
44129 cat confdefs.h >>conftest.$ac_ext
44130 cat >>conftest.$ac_ext <<_ACEOF
44131 /* end confdefs.h. */
44132 #include <math.h>
44134 main ()
44136 hypotl(0, 0);
44138 return 0;
44140 _ACEOF
44141 rm -f conftest.$ac_objext
44142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44143 (eval $ac_compile) 2>conftest.er1
44144 ac_status=$?
44145 grep -v '^ *+' conftest.er1 >conftest.err
44146 rm -f conftest.er1
44147 cat conftest.err >&5
44148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44149 (exit $ac_status); } &&
44150 { ac_try='test -z "$ac_cxx_werror_flag"
44151 || test ! -s conftest.err'
44152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44153 (eval $ac_try) 2>&5
44154 ac_status=$?
44155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44156 (exit $ac_status); }; } &&
44157 { ac_try='test -s conftest.$ac_objext'
44158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44159 (eval $ac_try) 2>&5
44160 ac_status=$?
44161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44162 (exit $ac_status); }; }; then
44163 glibcxx_cv_func_hypotl_use=yes
44164 else
44165 echo "$as_me: failed program was:" >&5
44166 sed 's/^/| /' conftest.$ac_ext >&5
44168 glibcxx_cv_func_hypotl_use=no
44170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44171 ac_ext=c
44172 ac_cpp='$CPP $CPPFLAGS'
44173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44181 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
44182 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
44184 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
44186 for ac_func in hypotl
44188 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44189 echo "$as_me:$LINENO: checking for $ac_func" >&5
44190 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44191 if eval "test \"\${$as_ac_var+set}\" = set"; then
44192 echo $ECHO_N "(cached) $ECHO_C" >&6
44193 else
44194 if test x$gcc_no_link = xyes; then
44195 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44196 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44197 { (exit 1); exit 1; }; }
44199 cat >conftest.$ac_ext <<_ACEOF
44200 /* confdefs.h. */
44201 _ACEOF
44202 cat confdefs.h >>conftest.$ac_ext
44203 cat >>conftest.$ac_ext <<_ACEOF
44204 /* end confdefs.h. */
44205 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44206 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44207 #define $ac_func innocuous_$ac_func
44209 /* System header to define __stub macros and hopefully few prototypes,
44210 which can conflict with char $ac_func (); below.
44211 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44212 <limits.h> exists even on freestanding compilers. */
44214 #ifdef __STDC__
44215 # include <limits.h>
44216 #else
44217 # include <assert.h>
44218 #endif
44220 #undef $ac_func
44222 /* Override any gcc2 internal prototype to avoid an error. */
44223 #ifdef __cplusplus
44224 extern "C"
44226 #endif
44227 /* We use char because int might match the return type of a gcc2
44228 builtin and then its argument prototype would still apply. */
44229 char $ac_func ();
44230 /* The GNU C library defines this for functions which it implements
44231 to always fail with ENOSYS. Some functions are actually named
44232 something starting with __ and the normal name is an alias. */
44233 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44234 choke me
44235 #else
44236 char (*f) () = $ac_func;
44237 #endif
44238 #ifdef __cplusplus
44240 #endif
44243 main ()
44245 return f != $ac_func;
44247 return 0;
44249 _ACEOF
44250 rm -f conftest.$ac_objext conftest$ac_exeext
44251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44252 (eval $ac_link) 2>conftest.er1
44253 ac_status=$?
44254 grep -v '^ *+' conftest.er1 >conftest.err
44255 rm -f conftest.er1
44256 cat conftest.err >&5
44257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44258 (exit $ac_status); } &&
44259 { ac_try='test -z "$ac_c_werror_flag"
44260 || test ! -s conftest.err'
44261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44262 (eval $ac_try) 2>&5
44263 ac_status=$?
44264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44265 (exit $ac_status); }; } &&
44266 { ac_try='test -s conftest$ac_exeext'
44267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44268 (eval $ac_try) 2>&5
44269 ac_status=$?
44270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44271 (exit $ac_status); }; }; then
44272 eval "$as_ac_var=yes"
44273 else
44274 echo "$as_me: failed program was:" >&5
44275 sed 's/^/| /' conftest.$ac_ext >&5
44277 eval "$as_ac_var=no"
44279 rm -f conftest.err conftest.$ac_objext \
44280 conftest$ac_exeext conftest.$ac_ext
44282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44283 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44284 if test `eval echo '${'$as_ac_var'}'` = yes; then
44285 cat >>confdefs.h <<_ACEOF
44286 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44287 _ACEOF
44290 done
44292 else
44294 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
44295 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
44296 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
44297 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
44298 echo $ECHO_N "(cached) $ECHO_C" >&6
44299 else
44303 ac_ext=cc
44304 ac_cpp='$CXXCPP $CPPFLAGS'
44305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44309 cat >conftest.$ac_ext <<_ACEOF
44310 /* confdefs.h. */
44311 _ACEOF
44312 cat confdefs.h >>conftest.$ac_ext
44313 cat >>conftest.$ac_ext <<_ACEOF
44314 /* end confdefs.h. */
44315 #include <math.h>
44317 main ()
44319 _hypotl(0, 0);
44321 return 0;
44323 _ACEOF
44324 rm -f conftest.$ac_objext
44325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44326 (eval $ac_compile) 2>conftest.er1
44327 ac_status=$?
44328 grep -v '^ *+' conftest.er1 >conftest.err
44329 rm -f conftest.er1
44330 cat conftest.err >&5
44331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44332 (exit $ac_status); } &&
44333 { ac_try='test -z "$ac_cxx_werror_flag"
44334 || test ! -s conftest.err'
44335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44336 (eval $ac_try) 2>&5
44337 ac_status=$?
44338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44339 (exit $ac_status); }; } &&
44340 { ac_try='test -s conftest.$ac_objext'
44341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44342 (eval $ac_try) 2>&5
44343 ac_status=$?
44344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44345 (exit $ac_status); }; }; then
44346 glibcxx_cv_func__hypotl_use=yes
44347 else
44348 echo "$as_me: failed program was:" >&5
44349 sed 's/^/| /' conftest.$ac_ext >&5
44351 glibcxx_cv_func__hypotl_use=no
44353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44354 ac_ext=c
44355 ac_cpp='$CPP $CPPFLAGS'
44356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44364 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
44365 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
44367 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
44369 for ac_func in _hypotl
44371 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44372 echo "$as_me:$LINENO: checking for $ac_func" >&5
44373 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44374 if eval "test \"\${$as_ac_var+set}\" = set"; then
44375 echo $ECHO_N "(cached) $ECHO_C" >&6
44376 else
44377 if test x$gcc_no_link = xyes; then
44378 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44379 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44380 { (exit 1); exit 1; }; }
44382 cat >conftest.$ac_ext <<_ACEOF
44383 /* confdefs.h. */
44384 _ACEOF
44385 cat confdefs.h >>conftest.$ac_ext
44386 cat >>conftest.$ac_ext <<_ACEOF
44387 /* end confdefs.h. */
44388 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44389 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44390 #define $ac_func innocuous_$ac_func
44392 /* System header to define __stub macros and hopefully few prototypes,
44393 which can conflict with char $ac_func (); below.
44394 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44395 <limits.h> exists even on freestanding compilers. */
44397 #ifdef __STDC__
44398 # include <limits.h>
44399 #else
44400 # include <assert.h>
44401 #endif
44403 #undef $ac_func
44405 /* Override any gcc2 internal prototype to avoid an error. */
44406 #ifdef __cplusplus
44407 extern "C"
44409 #endif
44410 /* We use char because int might match the return type of a gcc2
44411 builtin and then its argument prototype would still apply. */
44412 char $ac_func ();
44413 /* The GNU C library defines this for functions which it implements
44414 to always fail with ENOSYS. Some functions are actually named
44415 something starting with __ and the normal name is an alias. */
44416 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44417 choke me
44418 #else
44419 char (*f) () = $ac_func;
44420 #endif
44421 #ifdef __cplusplus
44423 #endif
44426 main ()
44428 return f != $ac_func;
44430 return 0;
44432 _ACEOF
44433 rm -f conftest.$ac_objext conftest$ac_exeext
44434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44435 (eval $ac_link) 2>conftest.er1
44436 ac_status=$?
44437 grep -v '^ *+' conftest.er1 >conftest.err
44438 rm -f conftest.er1
44439 cat conftest.err >&5
44440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44441 (exit $ac_status); } &&
44442 { ac_try='test -z "$ac_c_werror_flag"
44443 || test ! -s conftest.err'
44444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44445 (eval $ac_try) 2>&5
44446 ac_status=$?
44447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44448 (exit $ac_status); }; } &&
44449 { ac_try='test -s conftest$ac_exeext'
44450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44451 (eval $ac_try) 2>&5
44452 ac_status=$?
44453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44454 (exit $ac_status); }; }; then
44455 eval "$as_ac_var=yes"
44456 else
44457 echo "$as_me: failed program was:" >&5
44458 sed 's/^/| /' conftest.$ac_ext >&5
44460 eval "$as_ac_var=no"
44462 rm -f conftest.err conftest.$ac_objext \
44463 conftest$ac_exeext conftest.$ac_ext
44465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44466 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44467 if test `eval echo '${'$as_ac_var'}'` = yes; then
44468 cat >>confdefs.h <<_ACEOF
44469 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44470 _ACEOF
44473 done
44480 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
44481 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
44482 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
44483 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
44484 echo $ECHO_N "(cached) $ECHO_C" >&6
44485 else
44489 ac_ext=cc
44490 ac_cpp='$CXXCPP $CPPFLAGS'
44491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44495 cat >conftest.$ac_ext <<_ACEOF
44496 /* confdefs.h. */
44497 _ACEOF
44498 cat confdefs.h >>conftest.$ac_ext
44499 cat >>conftest.$ac_ext <<_ACEOF
44500 /* end confdefs.h. */
44501 #include <math.h>
44503 main ()
44505 ldexpl(0, 0);
44507 return 0;
44509 _ACEOF
44510 rm -f conftest.$ac_objext
44511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44512 (eval $ac_compile) 2>conftest.er1
44513 ac_status=$?
44514 grep -v '^ *+' conftest.er1 >conftest.err
44515 rm -f conftest.er1
44516 cat conftest.err >&5
44517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44518 (exit $ac_status); } &&
44519 { ac_try='test -z "$ac_cxx_werror_flag"
44520 || test ! -s conftest.err'
44521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44522 (eval $ac_try) 2>&5
44523 ac_status=$?
44524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44525 (exit $ac_status); }; } &&
44526 { ac_try='test -s conftest.$ac_objext'
44527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44528 (eval $ac_try) 2>&5
44529 ac_status=$?
44530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44531 (exit $ac_status); }; }; then
44532 glibcxx_cv_func_ldexpl_use=yes
44533 else
44534 echo "$as_me: failed program was:" >&5
44535 sed 's/^/| /' conftest.$ac_ext >&5
44537 glibcxx_cv_func_ldexpl_use=no
44539 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44540 ac_ext=c
44541 ac_cpp='$CPP $CPPFLAGS'
44542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44550 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
44551 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
44553 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
44555 for ac_func in ldexpl
44557 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44558 echo "$as_me:$LINENO: checking for $ac_func" >&5
44559 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44560 if eval "test \"\${$as_ac_var+set}\" = set"; then
44561 echo $ECHO_N "(cached) $ECHO_C" >&6
44562 else
44563 if test x$gcc_no_link = xyes; then
44564 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44565 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44566 { (exit 1); exit 1; }; }
44568 cat >conftest.$ac_ext <<_ACEOF
44569 /* confdefs.h. */
44570 _ACEOF
44571 cat confdefs.h >>conftest.$ac_ext
44572 cat >>conftest.$ac_ext <<_ACEOF
44573 /* end confdefs.h. */
44574 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44575 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44576 #define $ac_func innocuous_$ac_func
44578 /* System header to define __stub macros and hopefully few prototypes,
44579 which can conflict with char $ac_func (); below.
44580 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44581 <limits.h> exists even on freestanding compilers. */
44583 #ifdef __STDC__
44584 # include <limits.h>
44585 #else
44586 # include <assert.h>
44587 #endif
44589 #undef $ac_func
44591 /* Override any gcc2 internal prototype to avoid an error. */
44592 #ifdef __cplusplus
44593 extern "C"
44595 #endif
44596 /* We use char because int might match the return type of a gcc2
44597 builtin and then its argument prototype would still apply. */
44598 char $ac_func ();
44599 /* The GNU C library defines this for functions which it implements
44600 to always fail with ENOSYS. Some functions are actually named
44601 something starting with __ and the normal name is an alias. */
44602 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44603 choke me
44604 #else
44605 char (*f) () = $ac_func;
44606 #endif
44607 #ifdef __cplusplus
44609 #endif
44612 main ()
44614 return f != $ac_func;
44616 return 0;
44618 _ACEOF
44619 rm -f conftest.$ac_objext conftest$ac_exeext
44620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44621 (eval $ac_link) 2>conftest.er1
44622 ac_status=$?
44623 grep -v '^ *+' conftest.er1 >conftest.err
44624 rm -f conftest.er1
44625 cat conftest.err >&5
44626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44627 (exit $ac_status); } &&
44628 { ac_try='test -z "$ac_c_werror_flag"
44629 || test ! -s conftest.err'
44630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44631 (eval $ac_try) 2>&5
44632 ac_status=$?
44633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44634 (exit $ac_status); }; } &&
44635 { ac_try='test -s conftest$ac_exeext'
44636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44637 (eval $ac_try) 2>&5
44638 ac_status=$?
44639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44640 (exit $ac_status); }; }; then
44641 eval "$as_ac_var=yes"
44642 else
44643 echo "$as_me: failed program was:" >&5
44644 sed 's/^/| /' conftest.$ac_ext >&5
44646 eval "$as_ac_var=no"
44648 rm -f conftest.err conftest.$ac_objext \
44649 conftest$ac_exeext conftest.$ac_ext
44651 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44652 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44653 if test `eval echo '${'$as_ac_var'}'` = yes; then
44654 cat >>confdefs.h <<_ACEOF
44655 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44656 _ACEOF
44659 done
44661 else
44663 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
44664 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
44665 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
44666 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
44667 echo $ECHO_N "(cached) $ECHO_C" >&6
44668 else
44672 ac_ext=cc
44673 ac_cpp='$CXXCPP $CPPFLAGS'
44674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44678 cat >conftest.$ac_ext <<_ACEOF
44679 /* confdefs.h. */
44680 _ACEOF
44681 cat confdefs.h >>conftest.$ac_ext
44682 cat >>conftest.$ac_ext <<_ACEOF
44683 /* end confdefs.h. */
44684 #include <math.h>
44686 main ()
44688 _ldexpl(0, 0);
44690 return 0;
44692 _ACEOF
44693 rm -f conftest.$ac_objext
44694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44695 (eval $ac_compile) 2>conftest.er1
44696 ac_status=$?
44697 grep -v '^ *+' conftest.er1 >conftest.err
44698 rm -f conftest.er1
44699 cat conftest.err >&5
44700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44701 (exit $ac_status); } &&
44702 { ac_try='test -z "$ac_cxx_werror_flag"
44703 || test ! -s conftest.err'
44704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44705 (eval $ac_try) 2>&5
44706 ac_status=$?
44707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44708 (exit $ac_status); }; } &&
44709 { ac_try='test -s conftest.$ac_objext'
44710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44711 (eval $ac_try) 2>&5
44712 ac_status=$?
44713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44714 (exit $ac_status); }; }; then
44715 glibcxx_cv_func__ldexpl_use=yes
44716 else
44717 echo "$as_me: failed program was:" >&5
44718 sed 's/^/| /' conftest.$ac_ext >&5
44720 glibcxx_cv_func__ldexpl_use=no
44722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44723 ac_ext=c
44724 ac_cpp='$CPP $CPPFLAGS'
44725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44733 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
44734 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
44736 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
44738 for ac_func in _ldexpl
44740 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44741 echo "$as_me:$LINENO: checking for $ac_func" >&5
44742 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44743 if eval "test \"\${$as_ac_var+set}\" = set"; then
44744 echo $ECHO_N "(cached) $ECHO_C" >&6
44745 else
44746 if test x$gcc_no_link = xyes; then
44747 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44749 { (exit 1); exit 1; }; }
44751 cat >conftest.$ac_ext <<_ACEOF
44752 /* confdefs.h. */
44753 _ACEOF
44754 cat confdefs.h >>conftest.$ac_ext
44755 cat >>conftest.$ac_ext <<_ACEOF
44756 /* end confdefs.h. */
44757 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44758 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44759 #define $ac_func innocuous_$ac_func
44761 /* System header to define __stub macros and hopefully few prototypes,
44762 which can conflict with char $ac_func (); below.
44763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44764 <limits.h> exists even on freestanding compilers. */
44766 #ifdef __STDC__
44767 # include <limits.h>
44768 #else
44769 # include <assert.h>
44770 #endif
44772 #undef $ac_func
44774 /* Override any gcc2 internal prototype to avoid an error. */
44775 #ifdef __cplusplus
44776 extern "C"
44778 #endif
44779 /* We use char because int might match the return type of a gcc2
44780 builtin and then its argument prototype would still apply. */
44781 char $ac_func ();
44782 /* The GNU C library defines this for functions which it implements
44783 to always fail with ENOSYS. Some functions are actually named
44784 something starting with __ and the normal name is an alias. */
44785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44786 choke me
44787 #else
44788 char (*f) () = $ac_func;
44789 #endif
44790 #ifdef __cplusplus
44792 #endif
44795 main ()
44797 return f != $ac_func;
44799 return 0;
44801 _ACEOF
44802 rm -f conftest.$ac_objext conftest$ac_exeext
44803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44804 (eval $ac_link) 2>conftest.er1
44805 ac_status=$?
44806 grep -v '^ *+' conftest.er1 >conftest.err
44807 rm -f conftest.er1
44808 cat conftest.err >&5
44809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44810 (exit $ac_status); } &&
44811 { ac_try='test -z "$ac_c_werror_flag"
44812 || test ! -s conftest.err'
44813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44814 (eval $ac_try) 2>&5
44815 ac_status=$?
44816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44817 (exit $ac_status); }; } &&
44818 { ac_try='test -s conftest$ac_exeext'
44819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44820 (eval $ac_try) 2>&5
44821 ac_status=$?
44822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44823 (exit $ac_status); }; }; then
44824 eval "$as_ac_var=yes"
44825 else
44826 echo "$as_me: failed program was:" >&5
44827 sed 's/^/| /' conftest.$ac_ext >&5
44829 eval "$as_ac_var=no"
44831 rm -f conftest.err conftest.$ac_objext \
44832 conftest$ac_exeext conftest.$ac_ext
44834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44835 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44836 if test `eval echo '${'$as_ac_var'}'` = yes; then
44837 cat >>confdefs.h <<_ACEOF
44838 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44839 _ACEOF
44842 done
44849 echo "$as_me:$LINENO: checking for logl declaration" >&5
44850 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
44851 if test x${glibcxx_cv_func_logl_use+set} != xset; then
44852 if test "${glibcxx_cv_func_logl_use+set}" = set; then
44853 echo $ECHO_N "(cached) $ECHO_C" >&6
44854 else
44858 ac_ext=cc
44859 ac_cpp='$CXXCPP $CPPFLAGS'
44860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44864 cat >conftest.$ac_ext <<_ACEOF
44865 /* confdefs.h. */
44866 _ACEOF
44867 cat confdefs.h >>conftest.$ac_ext
44868 cat >>conftest.$ac_ext <<_ACEOF
44869 /* end confdefs.h. */
44870 #include <math.h>
44871 #ifdef HAVE_IEEEFP_H
44872 #include <ieeefp.h>
44873 #endif
44876 main ()
44878 logl(0);
44880 return 0;
44882 _ACEOF
44883 rm -f conftest.$ac_objext
44884 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44885 (eval $ac_compile) 2>conftest.er1
44886 ac_status=$?
44887 grep -v '^ *+' conftest.er1 >conftest.err
44888 rm -f conftest.er1
44889 cat conftest.err >&5
44890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44891 (exit $ac_status); } &&
44892 { ac_try='test -z "$ac_cxx_werror_flag"
44893 || test ! -s conftest.err'
44894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44895 (eval $ac_try) 2>&5
44896 ac_status=$?
44897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44898 (exit $ac_status); }; } &&
44899 { ac_try='test -s conftest.$ac_objext'
44900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44901 (eval $ac_try) 2>&5
44902 ac_status=$?
44903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44904 (exit $ac_status); }; }; then
44905 glibcxx_cv_func_logl_use=yes
44906 else
44907 echo "$as_me: failed program was:" >&5
44908 sed 's/^/| /' conftest.$ac_ext >&5
44910 glibcxx_cv_func_logl_use=no
44912 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44913 ac_ext=c
44914 ac_cpp='$CPP $CPPFLAGS'
44915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44923 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
44924 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
44926 if test x$glibcxx_cv_func_logl_use = x"yes"; then
44928 for ac_func in logl
44930 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44931 echo "$as_me:$LINENO: checking for $ac_func" >&5
44932 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44933 if eval "test \"\${$as_ac_var+set}\" = set"; then
44934 echo $ECHO_N "(cached) $ECHO_C" >&6
44935 else
44936 if test x$gcc_no_link = xyes; then
44937 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44938 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44939 { (exit 1); exit 1; }; }
44941 cat >conftest.$ac_ext <<_ACEOF
44942 /* confdefs.h. */
44943 _ACEOF
44944 cat confdefs.h >>conftest.$ac_ext
44945 cat >>conftest.$ac_ext <<_ACEOF
44946 /* end confdefs.h. */
44947 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44948 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44949 #define $ac_func innocuous_$ac_func
44951 /* System header to define __stub macros and hopefully few prototypes,
44952 which can conflict with char $ac_func (); below.
44953 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44954 <limits.h> exists even on freestanding compilers. */
44956 #ifdef __STDC__
44957 # include <limits.h>
44958 #else
44959 # include <assert.h>
44960 #endif
44962 #undef $ac_func
44964 /* Override any gcc2 internal prototype to avoid an error. */
44965 #ifdef __cplusplus
44966 extern "C"
44968 #endif
44969 /* We use char because int might match the return type of a gcc2
44970 builtin and then its argument prototype would still apply. */
44971 char $ac_func ();
44972 /* The GNU C library defines this for functions which it implements
44973 to always fail with ENOSYS. Some functions are actually named
44974 something starting with __ and the normal name is an alias. */
44975 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44976 choke me
44977 #else
44978 char (*f) () = $ac_func;
44979 #endif
44980 #ifdef __cplusplus
44982 #endif
44985 main ()
44987 return f != $ac_func;
44989 return 0;
44991 _ACEOF
44992 rm -f conftest.$ac_objext conftest$ac_exeext
44993 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44994 (eval $ac_link) 2>conftest.er1
44995 ac_status=$?
44996 grep -v '^ *+' conftest.er1 >conftest.err
44997 rm -f conftest.er1
44998 cat conftest.err >&5
44999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45000 (exit $ac_status); } &&
45001 { ac_try='test -z "$ac_c_werror_flag"
45002 || test ! -s conftest.err'
45003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45004 (eval $ac_try) 2>&5
45005 ac_status=$?
45006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45007 (exit $ac_status); }; } &&
45008 { ac_try='test -s conftest$ac_exeext'
45009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45010 (eval $ac_try) 2>&5
45011 ac_status=$?
45012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45013 (exit $ac_status); }; }; then
45014 eval "$as_ac_var=yes"
45015 else
45016 echo "$as_me: failed program was:" >&5
45017 sed 's/^/| /' conftest.$ac_ext >&5
45019 eval "$as_ac_var=no"
45021 rm -f conftest.err conftest.$ac_objext \
45022 conftest$ac_exeext conftest.$ac_ext
45024 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45025 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45026 if test `eval echo '${'$as_ac_var'}'` = yes; then
45027 cat >>confdefs.h <<_ACEOF
45028 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45029 _ACEOF
45032 done
45034 else
45036 echo "$as_me:$LINENO: checking for _logl declaration" >&5
45037 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
45038 if test x${glibcxx_cv_func__logl_use+set} != xset; then
45039 if test "${glibcxx_cv_func__logl_use+set}" = set; then
45040 echo $ECHO_N "(cached) $ECHO_C" >&6
45041 else
45045 ac_ext=cc
45046 ac_cpp='$CXXCPP $CPPFLAGS'
45047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45051 cat >conftest.$ac_ext <<_ACEOF
45052 /* confdefs.h. */
45053 _ACEOF
45054 cat confdefs.h >>conftest.$ac_ext
45055 cat >>conftest.$ac_ext <<_ACEOF
45056 /* end confdefs.h. */
45057 #include <math.h>
45058 #ifdef HAVE_IEEEFP_H
45059 #include <ieeefp.h>
45060 #endif
45063 main ()
45065 _logl(0);
45067 return 0;
45069 _ACEOF
45070 rm -f conftest.$ac_objext
45071 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45072 (eval $ac_compile) 2>conftest.er1
45073 ac_status=$?
45074 grep -v '^ *+' conftest.er1 >conftest.err
45075 rm -f conftest.er1
45076 cat conftest.err >&5
45077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45078 (exit $ac_status); } &&
45079 { ac_try='test -z "$ac_cxx_werror_flag"
45080 || test ! -s conftest.err'
45081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45082 (eval $ac_try) 2>&5
45083 ac_status=$?
45084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45085 (exit $ac_status); }; } &&
45086 { ac_try='test -s conftest.$ac_objext'
45087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45088 (eval $ac_try) 2>&5
45089 ac_status=$?
45090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45091 (exit $ac_status); }; }; then
45092 glibcxx_cv_func__logl_use=yes
45093 else
45094 echo "$as_me: failed program was:" >&5
45095 sed 's/^/| /' conftest.$ac_ext >&5
45097 glibcxx_cv_func__logl_use=no
45099 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45100 ac_ext=c
45101 ac_cpp='$CPP $CPPFLAGS'
45102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45110 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
45111 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
45113 if test x$glibcxx_cv_func__logl_use = x"yes"; then
45115 for ac_func in _logl
45117 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45118 echo "$as_me:$LINENO: checking for $ac_func" >&5
45119 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45120 if eval "test \"\${$as_ac_var+set}\" = set"; then
45121 echo $ECHO_N "(cached) $ECHO_C" >&6
45122 else
45123 if test x$gcc_no_link = xyes; then
45124 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45125 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45126 { (exit 1); exit 1; }; }
45128 cat >conftest.$ac_ext <<_ACEOF
45129 /* confdefs.h. */
45130 _ACEOF
45131 cat confdefs.h >>conftest.$ac_ext
45132 cat >>conftest.$ac_ext <<_ACEOF
45133 /* end confdefs.h. */
45134 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45135 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45136 #define $ac_func innocuous_$ac_func
45138 /* System header to define __stub macros and hopefully few prototypes,
45139 which can conflict with char $ac_func (); below.
45140 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45141 <limits.h> exists even on freestanding compilers. */
45143 #ifdef __STDC__
45144 # include <limits.h>
45145 #else
45146 # include <assert.h>
45147 #endif
45149 #undef $ac_func
45151 /* Override any gcc2 internal prototype to avoid an error. */
45152 #ifdef __cplusplus
45153 extern "C"
45155 #endif
45156 /* We use char because int might match the return type of a gcc2
45157 builtin and then its argument prototype would still apply. */
45158 char $ac_func ();
45159 /* The GNU C library defines this for functions which it implements
45160 to always fail with ENOSYS. Some functions are actually named
45161 something starting with __ and the normal name is an alias. */
45162 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45163 choke me
45164 #else
45165 char (*f) () = $ac_func;
45166 #endif
45167 #ifdef __cplusplus
45169 #endif
45172 main ()
45174 return f != $ac_func;
45176 return 0;
45178 _ACEOF
45179 rm -f conftest.$ac_objext conftest$ac_exeext
45180 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45181 (eval $ac_link) 2>conftest.er1
45182 ac_status=$?
45183 grep -v '^ *+' conftest.er1 >conftest.err
45184 rm -f conftest.er1
45185 cat conftest.err >&5
45186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45187 (exit $ac_status); } &&
45188 { ac_try='test -z "$ac_c_werror_flag"
45189 || test ! -s conftest.err'
45190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45191 (eval $ac_try) 2>&5
45192 ac_status=$?
45193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45194 (exit $ac_status); }; } &&
45195 { ac_try='test -s conftest$ac_exeext'
45196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45197 (eval $ac_try) 2>&5
45198 ac_status=$?
45199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45200 (exit $ac_status); }; }; then
45201 eval "$as_ac_var=yes"
45202 else
45203 echo "$as_me: failed program was:" >&5
45204 sed 's/^/| /' conftest.$ac_ext >&5
45206 eval "$as_ac_var=no"
45208 rm -f conftest.err conftest.$ac_objext \
45209 conftest$ac_exeext conftest.$ac_ext
45211 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45212 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45213 if test `eval echo '${'$as_ac_var'}'` = yes; then
45214 cat >>confdefs.h <<_ACEOF
45215 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45216 _ACEOF
45219 done
45226 echo "$as_me:$LINENO: checking for log10l declaration" >&5
45227 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
45228 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
45229 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
45230 echo $ECHO_N "(cached) $ECHO_C" >&6
45231 else
45235 ac_ext=cc
45236 ac_cpp='$CXXCPP $CPPFLAGS'
45237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45241 cat >conftest.$ac_ext <<_ACEOF
45242 /* confdefs.h. */
45243 _ACEOF
45244 cat confdefs.h >>conftest.$ac_ext
45245 cat >>conftest.$ac_ext <<_ACEOF
45246 /* end confdefs.h. */
45247 #include <math.h>
45248 #ifdef HAVE_IEEEFP_H
45249 #include <ieeefp.h>
45250 #endif
45253 main ()
45255 log10l(0);
45257 return 0;
45259 _ACEOF
45260 rm -f conftest.$ac_objext
45261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45262 (eval $ac_compile) 2>conftest.er1
45263 ac_status=$?
45264 grep -v '^ *+' conftest.er1 >conftest.err
45265 rm -f conftest.er1
45266 cat conftest.err >&5
45267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45268 (exit $ac_status); } &&
45269 { ac_try='test -z "$ac_cxx_werror_flag"
45270 || test ! -s conftest.err'
45271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45272 (eval $ac_try) 2>&5
45273 ac_status=$?
45274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45275 (exit $ac_status); }; } &&
45276 { ac_try='test -s conftest.$ac_objext'
45277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45278 (eval $ac_try) 2>&5
45279 ac_status=$?
45280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45281 (exit $ac_status); }; }; then
45282 glibcxx_cv_func_log10l_use=yes
45283 else
45284 echo "$as_me: failed program was:" >&5
45285 sed 's/^/| /' conftest.$ac_ext >&5
45287 glibcxx_cv_func_log10l_use=no
45289 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45290 ac_ext=c
45291 ac_cpp='$CPP $CPPFLAGS'
45292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45300 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
45301 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
45303 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
45305 for ac_func in log10l
45307 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45308 echo "$as_me:$LINENO: checking for $ac_func" >&5
45309 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45310 if eval "test \"\${$as_ac_var+set}\" = set"; then
45311 echo $ECHO_N "(cached) $ECHO_C" >&6
45312 else
45313 if test x$gcc_no_link = xyes; then
45314 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45315 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45316 { (exit 1); exit 1; }; }
45318 cat >conftest.$ac_ext <<_ACEOF
45319 /* confdefs.h. */
45320 _ACEOF
45321 cat confdefs.h >>conftest.$ac_ext
45322 cat >>conftest.$ac_ext <<_ACEOF
45323 /* end confdefs.h. */
45324 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45325 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45326 #define $ac_func innocuous_$ac_func
45328 /* System header to define __stub macros and hopefully few prototypes,
45329 which can conflict with char $ac_func (); below.
45330 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45331 <limits.h> exists even on freestanding compilers. */
45333 #ifdef __STDC__
45334 # include <limits.h>
45335 #else
45336 # include <assert.h>
45337 #endif
45339 #undef $ac_func
45341 /* Override any gcc2 internal prototype to avoid an error. */
45342 #ifdef __cplusplus
45343 extern "C"
45345 #endif
45346 /* We use char because int might match the return type of a gcc2
45347 builtin and then its argument prototype would still apply. */
45348 char $ac_func ();
45349 /* The GNU C library defines this for functions which it implements
45350 to always fail with ENOSYS. Some functions are actually named
45351 something starting with __ and the normal name is an alias. */
45352 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45353 choke me
45354 #else
45355 char (*f) () = $ac_func;
45356 #endif
45357 #ifdef __cplusplus
45359 #endif
45362 main ()
45364 return f != $ac_func;
45366 return 0;
45368 _ACEOF
45369 rm -f conftest.$ac_objext conftest$ac_exeext
45370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45371 (eval $ac_link) 2>conftest.er1
45372 ac_status=$?
45373 grep -v '^ *+' conftest.er1 >conftest.err
45374 rm -f conftest.er1
45375 cat conftest.err >&5
45376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45377 (exit $ac_status); } &&
45378 { ac_try='test -z "$ac_c_werror_flag"
45379 || test ! -s conftest.err'
45380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45381 (eval $ac_try) 2>&5
45382 ac_status=$?
45383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45384 (exit $ac_status); }; } &&
45385 { ac_try='test -s conftest$ac_exeext'
45386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45387 (eval $ac_try) 2>&5
45388 ac_status=$?
45389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45390 (exit $ac_status); }; }; then
45391 eval "$as_ac_var=yes"
45392 else
45393 echo "$as_me: failed program was:" >&5
45394 sed 's/^/| /' conftest.$ac_ext >&5
45396 eval "$as_ac_var=no"
45398 rm -f conftest.err conftest.$ac_objext \
45399 conftest$ac_exeext conftest.$ac_ext
45401 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45402 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45403 if test `eval echo '${'$as_ac_var'}'` = yes; then
45404 cat >>confdefs.h <<_ACEOF
45405 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45406 _ACEOF
45409 done
45411 else
45413 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
45414 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
45415 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
45416 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
45417 echo $ECHO_N "(cached) $ECHO_C" >&6
45418 else
45422 ac_ext=cc
45423 ac_cpp='$CXXCPP $CPPFLAGS'
45424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45428 cat >conftest.$ac_ext <<_ACEOF
45429 /* confdefs.h. */
45430 _ACEOF
45431 cat confdefs.h >>conftest.$ac_ext
45432 cat >>conftest.$ac_ext <<_ACEOF
45433 /* end confdefs.h. */
45434 #include <math.h>
45435 #ifdef HAVE_IEEEFP_H
45436 #include <ieeefp.h>
45437 #endif
45440 main ()
45442 _log10l(0);
45444 return 0;
45446 _ACEOF
45447 rm -f conftest.$ac_objext
45448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45449 (eval $ac_compile) 2>conftest.er1
45450 ac_status=$?
45451 grep -v '^ *+' conftest.er1 >conftest.err
45452 rm -f conftest.er1
45453 cat conftest.err >&5
45454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45455 (exit $ac_status); } &&
45456 { ac_try='test -z "$ac_cxx_werror_flag"
45457 || test ! -s conftest.err'
45458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45459 (eval $ac_try) 2>&5
45460 ac_status=$?
45461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45462 (exit $ac_status); }; } &&
45463 { ac_try='test -s conftest.$ac_objext'
45464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45465 (eval $ac_try) 2>&5
45466 ac_status=$?
45467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45468 (exit $ac_status); }; }; then
45469 glibcxx_cv_func__log10l_use=yes
45470 else
45471 echo "$as_me: failed program was:" >&5
45472 sed 's/^/| /' conftest.$ac_ext >&5
45474 glibcxx_cv_func__log10l_use=no
45476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45477 ac_ext=c
45478 ac_cpp='$CPP $CPPFLAGS'
45479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45487 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
45488 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
45490 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
45492 for ac_func in _log10l
45494 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45495 echo "$as_me:$LINENO: checking for $ac_func" >&5
45496 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45497 if eval "test \"\${$as_ac_var+set}\" = set"; then
45498 echo $ECHO_N "(cached) $ECHO_C" >&6
45499 else
45500 if test x$gcc_no_link = xyes; then
45501 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45502 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45503 { (exit 1); exit 1; }; }
45505 cat >conftest.$ac_ext <<_ACEOF
45506 /* confdefs.h. */
45507 _ACEOF
45508 cat confdefs.h >>conftest.$ac_ext
45509 cat >>conftest.$ac_ext <<_ACEOF
45510 /* end confdefs.h. */
45511 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45512 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45513 #define $ac_func innocuous_$ac_func
45515 /* System header to define __stub macros and hopefully few prototypes,
45516 which can conflict with char $ac_func (); below.
45517 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45518 <limits.h> exists even on freestanding compilers. */
45520 #ifdef __STDC__
45521 # include <limits.h>
45522 #else
45523 # include <assert.h>
45524 #endif
45526 #undef $ac_func
45528 /* Override any gcc2 internal prototype to avoid an error. */
45529 #ifdef __cplusplus
45530 extern "C"
45532 #endif
45533 /* We use char because int might match the return type of a gcc2
45534 builtin and then its argument prototype would still apply. */
45535 char $ac_func ();
45536 /* The GNU C library defines this for functions which it implements
45537 to always fail with ENOSYS. Some functions are actually named
45538 something starting with __ and the normal name is an alias. */
45539 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45540 choke me
45541 #else
45542 char (*f) () = $ac_func;
45543 #endif
45544 #ifdef __cplusplus
45546 #endif
45549 main ()
45551 return f != $ac_func;
45553 return 0;
45555 _ACEOF
45556 rm -f conftest.$ac_objext conftest$ac_exeext
45557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45558 (eval $ac_link) 2>conftest.er1
45559 ac_status=$?
45560 grep -v '^ *+' conftest.er1 >conftest.err
45561 rm -f conftest.er1
45562 cat conftest.err >&5
45563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45564 (exit $ac_status); } &&
45565 { ac_try='test -z "$ac_c_werror_flag"
45566 || test ! -s conftest.err'
45567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45568 (eval $ac_try) 2>&5
45569 ac_status=$?
45570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45571 (exit $ac_status); }; } &&
45572 { ac_try='test -s conftest$ac_exeext'
45573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45574 (eval $ac_try) 2>&5
45575 ac_status=$?
45576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45577 (exit $ac_status); }; }; then
45578 eval "$as_ac_var=yes"
45579 else
45580 echo "$as_me: failed program was:" >&5
45581 sed 's/^/| /' conftest.$ac_ext >&5
45583 eval "$as_ac_var=no"
45585 rm -f conftest.err conftest.$ac_objext \
45586 conftest$ac_exeext conftest.$ac_ext
45588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45589 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45590 if test `eval echo '${'$as_ac_var'}'` = yes; then
45591 cat >>confdefs.h <<_ACEOF
45592 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45593 _ACEOF
45596 done
45603 echo "$as_me:$LINENO: checking for modfl declaration" >&5
45604 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
45605 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
45606 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
45607 echo $ECHO_N "(cached) $ECHO_C" >&6
45608 else
45612 ac_ext=cc
45613 ac_cpp='$CXXCPP $CPPFLAGS'
45614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45618 cat >conftest.$ac_ext <<_ACEOF
45619 /* confdefs.h. */
45620 _ACEOF
45621 cat confdefs.h >>conftest.$ac_ext
45622 cat >>conftest.$ac_ext <<_ACEOF
45623 /* end confdefs.h. */
45624 #include <math.h>
45626 main ()
45628 modfl(0, 0);
45630 return 0;
45632 _ACEOF
45633 rm -f conftest.$ac_objext
45634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45635 (eval $ac_compile) 2>conftest.er1
45636 ac_status=$?
45637 grep -v '^ *+' conftest.er1 >conftest.err
45638 rm -f conftest.er1
45639 cat conftest.err >&5
45640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45641 (exit $ac_status); } &&
45642 { ac_try='test -z "$ac_cxx_werror_flag"
45643 || test ! -s conftest.err'
45644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45645 (eval $ac_try) 2>&5
45646 ac_status=$?
45647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45648 (exit $ac_status); }; } &&
45649 { ac_try='test -s conftest.$ac_objext'
45650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45651 (eval $ac_try) 2>&5
45652 ac_status=$?
45653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45654 (exit $ac_status); }; }; then
45655 glibcxx_cv_func_modfl_use=yes
45656 else
45657 echo "$as_me: failed program was:" >&5
45658 sed 's/^/| /' conftest.$ac_ext >&5
45660 glibcxx_cv_func_modfl_use=no
45662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45663 ac_ext=c
45664 ac_cpp='$CPP $CPPFLAGS'
45665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45673 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
45674 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
45676 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
45678 for ac_func in modfl
45680 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45681 echo "$as_me:$LINENO: checking for $ac_func" >&5
45682 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45683 if eval "test \"\${$as_ac_var+set}\" = set"; then
45684 echo $ECHO_N "(cached) $ECHO_C" >&6
45685 else
45686 if test x$gcc_no_link = xyes; then
45687 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45688 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45689 { (exit 1); exit 1; }; }
45691 cat >conftest.$ac_ext <<_ACEOF
45692 /* confdefs.h. */
45693 _ACEOF
45694 cat confdefs.h >>conftest.$ac_ext
45695 cat >>conftest.$ac_ext <<_ACEOF
45696 /* end confdefs.h. */
45697 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45698 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45699 #define $ac_func innocuous_$ac_func
45701 /* System header to define __stub macros and hopefully few prototypes,
45702 which can conflict with char $ac_func (); below.
45703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45704 <limits.h> exists even on freestanding compilers. */
45706 #ifdef __STDC__
45707 # include <limits.h>
45708 #else
45709 # include <assert.h>
45710 #endif
45712 #undef $ac_func
45714 /* Override any gcc2 internal prototype to avoid an error. */
45715 #ifdef __cplusplus
45716 extern "C"
45718 #endif
45719 /* We use char because int might match the return type of a gcc2
45720 builtin and then its argument prototype would still apply. */
45721 char $ac_func ();
45722 /* The GNU C library defines this for functions which it implements
45723 to always fail with ENOSYS. Some functions are actually named
45724 something starting with __ and the normal name is an alias. */
45725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45726 choke me
45727 #else
45728 char (*f) () = $ac_func;
45729 #endif
45730 #ifdef __cplusplus
45732 #endif
45735 main ()
45737 return f != $ac_func;
45739 return 0;
45741 _ACEOF
45742 rm -f conftest.$ac_objext conftest$ac_exeext
45743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45744 (eval $ac_link) 2>conftest.er1
45745 ac_status=$?
45746 grep -v '^ *+' conftest.er1 >conftest.err
45747 rm -f conftest.er1
45748 cat conftest.err >&5
45749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45750 (exit $ac_status); } &&
45751 { ac_try='test -z "$ac_c_werror_flag"
45752 || test ! -s conftest.err'
45753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45754 (eval $ac_try) 2>&5
45755 ac_status=$?
45756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45757 (exit $ac_status); }; } &&
45758 { ac_try='test -s conftest$ac_exeext'
45759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45760 (eval $ac_try) 2>&5
45761 ac_status=$?
45762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45763 (exit $ac_status); }; }; then
45764 eval "$as_ac_var=yes"
45765 else
45766 echo "$as_me: failed program was:" >&5
45767 sed 's/^/| /' conftest.$ac_ext >&5
45769 eval "$as_ac_var=no"
45771 rm -f conftest.err conftest.$ac_objext \
45772 conftest$ac_exeext conftest.$ac_ext
45774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45775 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45776 if test `eval echo '${'$as_ac_var'}'` = yes; then
45777 cat >>confdefs.h <<_ACEOF
45778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45779 _ACEOF
45782 done
45784 else
45786 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
45787 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
45788 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
45789 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
45790 echo $ECHO_N "(cached) $ECHO_C" >&6
45791 else
45795 ac_ext=cc
45796 ac_cpp='$CXXCPP $CPPFLAGS'
45797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45801 cat >conftest.$ac_ext <<_ACEOF
45802 /* confdefs.h. */
45803 _ACEOF
45804 cat confdefs.h >>conftest.$ac_ext
45805 cat >>conftest.$ac_ext <<_ACEOF
45806 /* end confdefs.h. */
45807 #include <math.h>
45809 main ()
45811 _modfl(0, 0);
45813 return 0;
45815 _ACEOF
45816 rm -f conftest.$ac_objext
45817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45818 (eval $ac_compile) 2>conftest.er1
45819 ac_status=$?
45820 grep -v '^ *+' conftest.er1 >conftest.err
45821 rm -f conftest.er1
45822 cat conftest.err >&5
45823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45824 (exit $ac_status); } &&
45825 { ac_try='test -z "$ac_cxx_werror_flag"
45826 || test ! -s conftest.err'
45827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45828 (eval $ac_try) 2>&5
45829 ac_status=$?
45830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45831 (exit $ac_status); }; } &&
45832 { ac_try='test -s conftest.$ac_objext'
45833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45834 (eval $ac_try) 2>&5
45835 ac_status=$?
45836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45837 (exit $ac_status); }; }; then
45838 glibcxx_cv_func__modfl_use=yes
45839 else
45840 echo "$as_me: failed program was:" >&5
45841 sed 's/^/| /' conftest.$ac_ext >&5
45843 glibcxx_cv_func__modfl_use=no
45845 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45846 ac_ext=c
45847 ac_cpp='$CPP $CPPFLAGS'
45848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45856 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
45857 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
45859 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
45861 for ac_func in _modfl
45863 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45864 echo "$as_me:$LINENO: checking for $ac_func" >&5
45865 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45866 if eval "test \"\${$as_ac_var+set}\" = set"; then
45867 echo $ECHO_N "(cached) $ECHO_C" >&6
45868 else
45869 if test x$gcc_no_link = xyes; then
45870 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45871 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45872 { (exit 1); exit 1; }; }
45874 cat >conftest.$ac_ext <<_ACEOF
45875 /* confdefs.h. */
45876 _ACEOF
45877 cat confdefs.h >>conftest.$ac_ext
45878 cat >>conftest.$ac_ext <<_ACEOF
45879 /* end confdefs.h. */
45880 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45881 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45882 #define $ac_func innocuous_$ac_func
45884 /* System header to define __stub macros and hopefully few prototypes,
45885 which can conflict with char $ac_func (); below.
45886 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45887 <limits.h> exists even on freestanding compilers. */
45889 #ifdef __STDC__
45890 # include <limits.h>
45891 #else
45892 # include <assert.h>
45893 #endif
45895 #undef $ac_func
45897 /* Override any gcc2 internal prototype to avoid an error. */
45898 #ifdef __cplusplus
45899 extern "C"
45901 #endif
45902 /* We use char because int might match the return type of a gcc2
45903 builtin and then its argument prototype would still apply. */
45904 char $ac_func ();
45905 /* The GNU C library defines this for functions which it implements
45906 to always fail with ENOSYS. Some functions are actually named
45907 something starting with __ and the normal name is an alias. */
45908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45909 choke me
45910 #else
45911 char (*f) () = $ac_func;
45912 #endif
45913 #ifdef __cplusplus
45915 #endif
45918 main ()
45920 return f != $ac_func;
45922 return 0;
45924 _ACEOF
45925 rm -f conftest.$ac_objext conftest$ac_exeext
45926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45927 (eval $ac_link) 2>conftest.er1
45928 ac_status=$?
45929 grep -v '^ *+' conftest.er1 >conftest.err
45930 rm -f conftest.er1
45931 cat conftest.err >&5
45932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45933 (exit $ac_status); } &&
45934 { ac_try='test -z "$ac_c_werror_flag"
45935 || test ! -s conftest.err'
45936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45937 (eval $ac_try) 2>&5
45938 ac_status=$?
45939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45940 (exit $ac_status); }; } &&
45941 { ac_try='test -s conftest$ac_exeext'
45942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45943 (eval $ac_try) 2>&5
45944 ac_status=$?
45945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45946 (exit $ac_status); }; }; then
45947 eval "$as_ac_var=yes"
45948 else
45949 echo "$as_me: failed program was:" >&5
45950 sed 's/^/| /' conftest.$ac_ext >&5
45952 eval "$as_ac_var=no"
45954 rm -f conftest.err conftest.$ac_objext \
45955 conftest$ac_exeext conftest.$ac_ext
45957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45958 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45959 if test `eval echo '${'$as_ac_var'}'` = yes; then
45960 cat >>confdefs.h <<_ACEOF
45961 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45962 _ACEOF
45965 done
45972 echo "$as_me:$LINENO: checking for powl declaration" >&5
45973 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
45974 if test x${glibcxx_cv_func_powl_use+set} != xset; then
45975 if test "${glibcxx_cv_func_powl_use+set}" = set; then
45976 echo $ECHO_N "(cached) $ECHO_C" >&6
45977 else
45981 ac_ext=cc
45982 ac_cpp='$CXXCPP $CPPFLAGS'
45983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45987 cat >conftest.$ac_ext <<_ACEOF
45988 /* confdefs.h. */
45989 _ACEOF
45990 cat confdefs.h >>conftest.$ac_ext
45991 cat >>conftest.$ac_ext <<_ACEOF
45992 /* end confdefs.h. */
45993 #include <math.h>
45995 main ()
45997 powl(0, 0);
45999 return 0;
46001 _ACEOF
46002 rm -f conftest.$ac_objext
46003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46004 (eval $ac_compile) 2>conftest.er1
46005 ac_status=$?
46006 grep -v '^ *+' conftest.er1 >conftest.err
46007 rm -f conftest.er1
46008 cat conftest.err >&5
46009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46010 (exit $ac_status); } &&
46011 { ac_try='test -z "$ac_cxx_werror_flag"
46012 || test ! -s conftest.err'
46013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46014 (eval $ac_try) 2>&5
46015 ac_status=$?
46016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46017 (exit $ac_status); }; } &&
46018 { ac_try='test -s conftest.$ac_objext'
46019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46020 (eval $ac_try) 2>&5
46021 ac_status=$?
46022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46023 (exit $ac_status); }; }; then
46024 glibcxx_cv_func_powl_use=yes
46025 else
46026 echo "$as_me: failed program was:" >&5
46027 sed 's/^/| /' conftest.$ac_ext >&5
46029 glibcxx_cv_func_powl_use=no
46031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46032 ac_ext=c
46033 ac_cpp='$CPP $CPPFLAGS'
46034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46042 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
46043 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
46045 if test x$glibcxx_cv_func_powl_use = x"yes"; then
46047 for ac_func in powl
46049 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46050 echo "$as_me:$LINENO: checking for $ac_func" >&5
46051 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46052 if eval "test \"\${$as_ac_var+set}\" = set"; then
46053 echo $ECHO_N "(cached) $ECHO_C" >&6
46054 else
46055 if test x$gcc_no_link = xyes; then
46056 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46057 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46058 { (exit 1); exit 1; }; }
46060 cat >conftest.$ac_ext <<_ACEOF
46061 /* confdefs.h. */
46062 _ACEOF
46063 cat confdefs.h >>conftest.$ac_ext
46064 cat >>conftest.$ac_ext <<_ACEOF
46065 /* end confdefs.h. */
46066 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46067 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46068 #define $ac_func innocuous_$ac_func
46070 /* System header to define __stub macros and hopefully few prototypes,
46071 which can conflict with char $ac_func (); below.
46072 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46073 <limits.h> exists even on freestanding compilers. */
46075 #ifdef __STDC__
46076 # include <limits.h>
46077 #else
46078 # include <assert.h>
46079 #endif
46081 #undef $ac_func
46083 /* Override any gcc2 internal prototype to avoid an error. */
46084 #ifdef __cplusplus
46085 extern "C"
46087 #endif
46088 /* We use char because int might match the return type of a gcc2
46089 builtin and then its argument prototype would still apply. */
46090 char $ac_func ();
46091 /* The GNU C library defines this for functions which it implements
46092 to always fail with ENOSYS. Some functions are actually named
46093 something starting with __ and the normal name is an alias. */
46094 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46095 choke me
46096 #else
46097 char (*f) () = $ac_func;
46098 #endif
46099 #ifdef __cplusplus
46101 #endif
46104 main ()
46106 return f != $ac_func;
46108 return 0;
46110 _ACEOF
46111 rm -f conftest.$ac_objext conftest$ac_exeext
46112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46113 (eval $ac_link) 2>conftest.er1
46114 ac_status=$?
46115 grep -v '^ *+' conftest.er1 >conftest.err
46116 rm -f conftest.er1
46117 cat conftest.err >&5
46118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46119 (exit $ac_status); } &&
46120 { ac_try='test -z "$ac_c_werror_flag"
46121 || test ! -s conftest.err'
46122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46123 (eval $ac_try) 2>&5
46124 ac_status=$?
46125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46126 (exit $ac_status); }; } &&
46127 { ac_try='test -s conftest$ac_exeext'
46128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46129 (eval $ac_try) 2>&5
46130 ac_status=$?
46131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46132 (exit $ac_status); }; }; then
46133 eval "$as_ac_var=yes"
46134 else
46135 echo "$as_me: failed program was:" >&5
46136 sed 's/^/| /' conftest.$ac_ext >&5
46138 eval "$as_ac_var=no"
46140 rm -f conftest.err conftest.$ac_objext \
46141 conftest$ac_exeext conftest.$ac_ext
46143 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46144 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46145 if test `eval echo '${'$as_ac_var'}'` = yes; then
46146 cat >>confdefs.h <<_ACEOF
46147 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46148 _ACEOF
46151 done
46153 else
46155 echo "$as_me:$LINENO: checking for _powl declaration" >&5
46156 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
46157 if test x${glibcxx_cv_func__powl_use+set} != xset; then
46158 if test "${glibcxx_cv_func__powl_use+set}" = set; then
46159 echo $ECHO_N "(cached) $ECHO_C" >&6
46160 else
46164 ac_ext=cc
46165 ac_cpp='$CXXCPP $CPPFLAGS'
46166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46170 cat >conftest.$ac_ext <<_ACEOF
46171 /* confdefs.h. */
46172 _ACEOF
46173 cat confdefs.h >>conftest.$ac_ext
46174 cat >>conftest.$ac_ext <<_ACEOF
46175 /* end confdefs.h. */
46176 #include <math.h>
46178 main ()
46180 _powl(0, 0);
46182 return 0;
46184 _ACEOF
46185 rm -f conftest.$ac_objext
46186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46187 (eval $ac_compile) 2>conftest.er1
46188 ac_status=$?
46189 grep -v '^ *+' conftest.er1 >conftest.err
46190 rm -f conftest.er1
46191 cat conftest.err >&5
46192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46193 (exit $ac_status); } &&
46194 { ac_try='test -z "$ac_cxx_werror_flag"
46195 || test ! -s conftest.err'
46196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46197 (eval $ac_try) 2>&5
46198 ac_status=$?
46199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46200 (exit $ac_status); }; } &&
46201 { ac_try='test -s conftest.$ac_objext'
46202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46203 (eval $ac_try) 2>&5
46204 ac_status=$?
46205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46206 (exit $ac_status); }; }; then
46207 glibcxx_cv_func__powl_use=yes
46208 else
46209 echo "$as_me: failed program was:" >&5
46210 sed 's/^/| /' conftest.$ac_ext >&5
46212 glibcxx_cv_func__powl_use=no
46214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46215 ac_ext=c
46216 ac_cpp='$CPP $CPPFLAGS'
46217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46225 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
46226 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
46228 if test x$glibcxx_cv_func__powl_use = x"yes"; then
46230 for ac_func in _powl
46232 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46233 echo "$as_me:$LINENO: checking for $ac_func" >&5
46234 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46235 if eval "test \"\${$as_ac_var+set}\" = set"; then
46236 echo $ECHO_N "(cached) $ECHO_C" >&6
46237 else
46238 if test x$gcc_no_link = xyes; then
46239 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46240 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46241 { (exit 1); exit 1; }; }
46243 cat >conftest.$ac_ext <<_ACEOF
46244 /* confdefs.h. */
46245 _ACEOF
46246 cat confdefs.h >>conftest.$ac_ext
46247 cat >>conftest.$ac_ext <<_ACEOF
46248 /* end confdefs.h. */
46249 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46250 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46251 #define $ac_func innocuous_$ac_func
46253 /* System header to define __stub macros and hopefully few prototypes,
46254 which can conflict with char $ac_func (); below.
46255 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46256 <limits.h> exists even on freestanding compilers. */
46258 #ifdef __STDC__
46259 # include <limits.h>
46260 #else
46261 # include <assert.h>
46262 #endif
46264 #undef $ac_func
46266 /* Override any gcc2 internal prototype to avoid an error. */
46267 #ifdef __cplusplus
46268 extern "C"
46270 #endif
46271 /* We use char because int might match the return type of a gcc2
46272 builtin and then its argument prototype would still apply. */
46273 char $ac_func ();
46274 /* The GNU C library defines this for functions which it implements
46275 to always fail with ENOSYS. Some functions are actually named
46276 something starting with __ and the normal name is an alias. */
46277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46278 choke me
46279 #else
46280 char (*f) () = $ac_func;
46281 #endif
46282 #ifdef __cplusplus
46284 #endif
46287 main ()
46289 return f != $ac_func;
46291 return 0;
46293 _ACEOF
46294 rm -f conftest.$ac_objext conftest$ac_exeext
46295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46296 (eval $ac_link) 2>conftest.er1
46297 ac_status=$?
46298 grep -v '^ *+' conftest.er1 >conftest.err
46299 rm -f conftest.er1
46300 cat conftest.err >&5
46301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46302 (exit $ac_status); } &&
46303 { ac_try='test -z "$ac_c_werror_flag"
46304 || test ! -s conftest.err'
46305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46306 (eval $ac_try) 2>&5
46307 ac_status=$?
46308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46309 (exit $ac_status); }; } &&
46310 { ac_try='test -s conftest$ac_exeext'
46311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46312 (eval $ac_try) 2>&5
46313 ac_status=$?
46314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46315 (exit $ac_status); }; }; then
46316 eval "$as_ac_var=yes"
46317 else
46318 echo "$as_me: failed program was:" >&5
46319 sed 's/^/| /' conftest.$ac_ext >&5
46321 eval "$as_ac_var=no"
46323 rm -f conftest.err conftest.$ac_objext \
46324 conftest$ac_exeext conftest.$ac_ext
46326 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46327 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46328 if test `eval echo '${'$as_ac_var'}'` = yes; then
46329 cat >>confdefs.h <<_ACEOF
46330 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46331 _ACEOF
46334 done
46341 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
46342 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
46343 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46344 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
46345 echo $ECHO_N "(cached) $ECHO_C" >&6
46346 else
46350 ac_ext=cc
46351 ac_cpp='$CXXCPP $CPPFLAGS'
46352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46356 cat >conftest.$ac_ext <<_ACEOF
46357 /* confdefs.h. */
46358 _ACEOF
46359 cat confdefs.h >>conftest.$ac_ext
46360 cat >>conftest.$ac_ext <<_ACEOF
46361 /* end confdefs.h. */
46362 #include <math.h>
46363 #ifdef HAVE_IEEEFP_H
46364 #include <ieeefp.h>
46365 #endif
46368 main ()
46370 sqrtl(0);
46372 return 0;
46374 _ACEOF
46375 rm -f conftest.$ac_objext
46376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46377 (eval $ac_compile) 2>conftest.er1
46378 ac_status=$?
46379 grep -v '^ *+' conftest.er1 >conftest.err
46380 rm -f conftest.er1
46381 cat conftest.err >&5
46382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46383 (exit $ac_status); } &&
46384 { ac_try='test -z "$ac_cxx_werror_flag"
46385 || test ! -s conftest.err'
46386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46387 (eval $ac_try) 2>&5
46388 ac_status=$?
46389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46390 (exit $ac_status); }; } &&
46391 { ac_try='test -s conftest.$ac_objext'
46392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46393 (eval $ac_try) 2>&5
46394 ac_status=$?
46395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46396 (exit $ac_status); }; }; then
46397 glibcxx_cv_func_sqrtl_use=yes
46398 else
46399 echo "$as_me: failed program was:" >&5
46400 sed 's/^/| /' conftest.$ac_ext >&5
46402 glibcxx_cv_func_sqrtl_use=no
46404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46405 ac_ext=c
46406 ac_cpp='$CPP $CPPFLAGS'
46407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46415 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
46416 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
46418 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46420 for ac_func in sqrtl
46422 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46423 echo "$as_me:$LINENO: checking for $ac_func" >&5
46424 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46425 if eval "test \"\${$as_ac_var+set}\" = set"; then
46426 echo $ECHO_N "(cached) $ECHO_C" >&6
46427 else
46428 if test x$gcc_no_link = xyes; then
46429 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46430 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46431 { (exit 1); exit 1; }; }
46433 cat >conftest.$ac_ext <<_ACEOF
46434 /* confdefs.h. */
46435 _ACEOF
46436 cat confdefs.h >>conftest.$ac_ext
46437 cat >>conftest.$ac_ext <<_ACEOF
46438 /* end confdefs.h. */
46439 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46440 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46441 #define $ac_func innocuous_$ac_func
46443 /* System header to define __stub macros and hopefully few prototypes,
46444 which can conflict with char $ac_func (); below.
46445 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46446 <limits.h> exists even on freestanding compilers. */
46448 #ifdef __STDC__
46449 # include <limits.h>
46450 #else
46451 # include <assert.h>
46452 #endif
46454 #undef $ac_func
46456 /* Override any gcc2 internal prototype to avoid an error. */
46457 #ifdef __cplusplus
46458 extern "C"
46460 #endif
46461 /* We use char because int might match the return type of a gcc2
46462 builtin and then its argument prototype would still apply. */
46463 char $ac_func ();
46464 /* The GNU C library defines this for functions which it implements
46465 to always fail with ENOSYS. Some functions are actually named
46466 something starting with __ and the normal name is an alias. */
46467 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46468 choke me
46469 #else
46470 char (*f) () = $ac_func;
46471 #endif
46472 #ifdef __cplusplus
46474 #endif
46477 main ()
46479 return f != $ac_func;
46481 return 0;
46483 _ACEOF
46484 rm -f conftest.$ac_objext conftest$ac_exeext
46485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46486 (eval $ac_link) 2>conftest.er1
46487 ac_status=$?
46488 grep -v '^ *+' conftest.er1 >conftest.err
46489 rm -f conftest.er1
46490 cat conftest.err >&5
46491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46492 (exit $ac_status); } &&
46493 { ac_try='test -z "$ac_c_werror_flag"
46494 || test ! -s conftest.err'
46495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46496 (eval $ac_try) 2>&5
46497 ac_status=$?
46498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46499 (exit $ac_status); }; } &&
46500 { ac_try='test -s conftest$ac_exeext'
46501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46502 (eval $ac_try) 2>&5
46503 ac_status=$?
46504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46505 (exit $ac_status); }; }; then
46506 eval "$as_ac_var=yes"
46507 else
46508 echo "$as_me: failed program was:" >&5
46509 sed 's/^/| /' conftest.$ac_ext >&5
46511 eval "$as_ac_var=no"
46513 rm -f conftest.err conftest.$ac_objext \
46514 conftest$ac_exeext conftest.$ac_ext
46516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46517 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46518 if test `eval echo '${'$as_ac_var'}'` = yes; then
46519 cat >>confdefs.h <<_ACEOF
46520 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46521 _ACEOF
46524 done
46526 else
46528 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
46529 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
46530 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46531 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
46532 echo $ECHO_N "(cached) $ECHO_C" >&6
46533 else
46537 ac_ext=cc
46538 ac_cpp='$CXXCPP $CPPFLAGS'
46539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46543 cat >conftest.$ac_ext <<_ACEOF
46544 /* confdefs.h. */
46545 _ACEOF
46546 cat confdefs.h >>conftest.$ac_ext
46547 cat >>conftest.$ac_ext <<_ACEOF
46548 /* end confdefs.h. */
46549 #include <math.h>
46550 #ifdef HAVE_IEEEFP_H
46551 #include <ieeefp.h>
46552 #endif
46555 main ()
46557 _sqrtl(0);
46559 return 0;
46561 _ACEOF
46562 rm -f conftest.$ac_objext
46563 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46564 (eval $ac_compile) 2>conftest.er1
46565 ac_status=$?
46566 grep -v '^ *+' conftest.er1 >conftest.err
46567 rm -f conftest.er1
46568 cat conftest.err >&5
46569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46570 (exit $ac_status); } &&
46571 { ac_try='test -z "$ac_cxx_werror_flag"
46572 || test ! -s conftest.err'
46573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46574 (eval $ac_try) 2>&5
46575 ac_status=$?
46576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46577 (exit $ac_status); }; } &&
46578 { ac_try='test -s conftest.$ac_objext'
46579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46580 (eval $ac_try) 2>&5
46581 ac_status=$?
46582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46583 (exit $ac_status); }; }; then
46584 glibcxx_cv_func__sqrtl_use=yes
46585 else
46586 echo "$as_me: failed program was:" >&5
46587 sed 's/^/| /' conftest.$ac_ext >&5
46589 glibcxx_cv_func__sqrtl_use=no
46591 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46592 ac_ext=c
46593 ac_cpp='$CPP $CPPFLAGS'
46594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46602 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
46603 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
46605 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46607 for ac_func in _sqrtl
46609 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46610 echo "$as_me:$LINENO: checking for $ac_func" >&5
46611 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46612 if eval "test \"\${$as_ac_var+set}\" = set"; then
46613 echo $ECHO_N "(cached) $ECHO_C" >&6
46614 else
46615 if test x$gcc_no_link = xyes; then
46616 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46617 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46618 { (exit 1); exit 1; }; }
46620 cat >conftest.$ac_ext <<_ACEOF
46621 /* confdefs.h. */
46622 _ACEOF
46623 cat confdefs.h >>conftest.$ac_ext
46624 cat >>conftest.$ac_ext <<_ACEOF
46625 /* end confdefs.h. */
46626 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46627 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46628 #define $ac_func innocuous_$ac_func
46630 /* System header to define __stub macros and hopefully few prototypes,
46631 which can conflict with char $ac_func (); below.
46632 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46633 <limits.h> exists even on freestanding compilers. */
46635 #ifdef __STDC__
46636 # include <limits.h>
46637 #else
46638 # include <assert.h>
46639 #endif
46641 #undef $ac_func
46643 /* Override any gcc2 internal prototype to avoid an error. */
46644 #ifdef __cplusplus
46645 extern "C"
46647 #endif
46648 /* We use char because int might match the return type of a gcc2
46649 builtin and then its argument prototype would still apply. */
46650 char $ac_func ();
46651 /* The GNU C library defines this for functions which it implements
46652 to always fail with ENOSYS. Some functions are actually named
46653 something starting with __ and the normal name is an alias. */
46654 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46655 choke me
46656 #else
46657 char (*f) () = $ac_func;
46658 #endif
46659 #ifdef __cplusplus
46661 #endif
46664 main ()
46666 return f != $ac_func;
46668 return 0;
46670 _ACEOF
46671 rm -f conftest.$ac_objext conftest$ac_exeext
46672 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46673 (eval $ac_link) 2>conftest.er1
46674 ac_status=$?
46675 grep -v '^ *+' conftest.er1 >conftest.err
46676 rm -f conftest.er1
46677 cat conftest.err >&5
46678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46679 (exit $ac_status); } &&
46680 { ac_try='test -z "$ac_c_werror_flag"
46681 || test ! -s conftest.err'
46682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46683 (eval $ac_try) 2>&5
46684 ac_status=$?
46685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46686 (exit $ac_status); }; } &&
46687 { ac_try='test -s conftest$ac_exeext'
46688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46689 (eval $ac_try) 2>&5
46690 ac_status=$?
46691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46692 (exit $ac_status); }; }; then
46693 eval "$as_ac_var=yes"
46694 else
46695 echo "$as_me: failed program was:" >&5
46696 sed 's/^/| /' conftest.$ac_ext >&5
46698 eval "$as_ac_var=no"
46700 rm -f conftest.err conftest.$ac_objext \
46701 conftest$ac_exeext conftest.$ac_ext
46703 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46704 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46705 if test `eval echo '${'$as_ac_var'}'` = yes; then
46706 cat >>confdefs.h <<_ACEOF
46707 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46708 _ACEOF
46711 done
46718 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
46719 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
46720 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46721 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
46722 echo $ECHO_N "(cached) $ECHO_C" >&6
46723 else
46727 ac_ext=cc
46728 ac_cpp='$CXXCPP $CPPFLAGS'
46729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46733 cat >conftest.$ac_ext <<_ACEOF
46734 /* confdefs.h. */
46735 _ACEOF
46736 cat confdefs.h >>conftest.$ac_ext
46737 cat >>conftest.$ac_ext <<_ACEOF
46738 /* end confdefs.h. */
46739 #include <math.h>
46741 main ()
46743 sincosl(0, 0, 0);
46745 return 0;
46747 _ACEOF
46748 rm -f conftest.$ac_objext
46749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46750 (eval $ac_compile) 2>conftest.er1
46751 ac_status=$?
46752 grep -v '^ *+' conftest.er1 >conftest.err
46753 rm -f conftest.er1
46754 cat conftest.err >&5
46755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46756 (exit $ac_status); } &&
46757 { ac_try='test -z "$ac_cxx_werror_flag"
46758 || test ! -s conftest.err'
46759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46760 (eval $ac_try) 2>&5
46761 ac_status=$?
46762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46763 (exit $ac_status); }; } &&
46764 { ac_try='test -s conftest.$ac_objext'
46765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46766 (eval $ac_try) 2>&5
46767 ac_status=$?
46768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46769 (exit $ac_status); }; }; then
46770 glibcxx_cv_func_sincosl_use=yes
46771 else
46772 echo "$as_me: failed program was:" >&5
46773 sed 's/^/| /' conftest.$ac_ext >&5
46775 glibcxx_cv_func_sincosl_use=no
46777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46778 ac_ext=c
46779 ac_cpp='$CPP $CPPFLAGS'
46780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46788 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
46789 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
46791 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46793 for ac_func in sincosl
46795 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46796 echo "$as_me:$LINENO: checking for $ac_func" >&5
46797 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46798 if eval "test \"\${$as_ac_var+set}\" = set"; then
46799 echo $ECHO_N "(cached) $ECHO_C" >&6
46800 else
46801 if test x$gcc_no_link = xyes; then
46802 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46803 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46804 { (exit 1); exit 1; }; }
46806 cat >conftest.$ac_ext <<_ACEOF
46807 /* confdefs.h. */
46808 _ACEOF
46809 cat confdefs.h >>conftest.$ac_ext
46810 cat >>conftest.$ac_ext <<_ACEOF
46811 /* end confdefs.h. */
46812 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46813 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46814 #define $ac_func innocuous_$ac_func
46816 /* System header to define __stub macros and hopefully few prototypes,
46817 which can conflict with char $ac_func (); below.
46818 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46819 <limits.h> exists even on freestanding compilers. */
46821 #ifdef __STDC__
46822 # include <limits.h>
46823 #else
46824 # include <assert.h>
46825 #endif
46827 #undef $ac_func
46829 /* Override any gcc2 internal prototype to avoid an error. */
46830 #ifdef __cplusplus
46831 extern "C"
46833 #endif
46834 /* We use char because int might match the return type of a gcc2
46835 builtin and then its argument prototype would still apply. */
46836 char $ac_func ();
46837 /* The GNU C library defines this for functions which it implements
46838 to always fail with ENOSYS. Some functions are actually named
46839 something starting with __ and the normal name is an alias. */
46840 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46841 choke me
46842 #else
46843 char (*f) () = $ac_func;
46844 #endif
46845 #ifdef __cplusplus
46847 #endif
46850 main ()
46852 return f != $ac_func;
46854 return 0;
46856 _ACEOF
46857 rm -f conftest.$ac_objext conftest$ac_exeext
46858 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46859 (eval $ac_link) 2>conftest.er1
46860 ac_status=$?
46861 grep -v '^ *+' conftest.er1 >conftest.err
46862 rm -f conftest.er1
46863 cat conftest.err >&5
46864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46865 (exit $ac_status); } &&
46866 { ac_try='test -z "$ac_c_werror_flag"
46867 || test ! -s conftest.err'
46868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46869 (eval $ac_try) 2>&5
46870 ac_status=$?
46871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46872 (exit $ac_status); }; } &&
46873 { ac_try='test -s conftest$ac_exeext'
46874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46875 (eval $ac_try) 2>&5
46876 ac_status=$?
46877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46878 (exit $ac_status); }; }; then
46879 eval "$as_ac_var=yes"
46880 else
46881 echo "$as_me: failed program was:" >&5
46882 sed 's/^/| /' conftest.$ac_ext >&5
46884 eval "$as_ac_var=no"
46886 rm -f conftest.err conftest.$ac_objext \
46887 conftest$ac_exeext conftest.$ac_ext
46889 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46890 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46891 if test `eval echo '${'$as_ac_var'}'` = yes; then
46892 cat >>confdefs.h <<_ACEOF
46893 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46894 _ACEOF
46897 done
46899 else
46901 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
46902 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
46903 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
46904 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
46905 echo $ECHO_N "(cached) $ECHO_C" >&6
46906 else
46910 ac_ext=cc
46911 ac_cpp='$CXXCPP $CPPFLAGS'
46912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46916 cat >conftest.$ac_ext <<_ACEOF
46917 /* confdefs.h. */
46918 _ACEOF
46919 cat confdefs.h >>conftest.$ac_ext
46920 cat >>conftest.$ac_ext <<_ACEOF
46921 /* end confdefs.h. */
46922 #include <math.h>
46924 main ()
46926 _sincosl(0, 0, 0);
46928 return 0;
46930 _ACEOF
46931 rm -f conftest.$ac_objext
46932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46933 (eval $ac_compile) 2>conftest.er1
46934 ac_status=$?
46935 grep -v '^ *+' conftest.er1 >conftest.err
46936 rm -f conftest.er1
46937 cat conftest.err >&5
46938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46939 (exit $ac_status); } &&
46940 { ac_try='test -z "$ac_cxx_werror_flag"
46941 || test ! -s conftest.err'
46942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46943 (eval $ac_try) 2>&5
46944 ac_status=$?
46945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46946 (exit $ac_status); }; } &&
46947 { ac_try='test -s conftest.$ac_objext'
46948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46949 (eval $ac_try) 2>&5
46950 ac_status=$?
46951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46952 (exit $ac_status); }; }; then
46953 glibcxx_cv_func__sincosl_use=yes
46954 else
46955 echo "$as_me: failed program was:" >&5
46956 sed 's/^/| /' conftest.$ac_ext >&5
46958 glibcxx_cv_func__sincosl_use=no
46960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46961 ac_ext=c
46962 ac_cpp='$CPP $CPPFLAGS'
46963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46971 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
46972 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
46974 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
46976 for ac_func in _sincosl
46978 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46979 echo "$as_me:$LINENO: checking for $ac_func" >&5
46980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46981 if eval "test \"\${$as_ac_var+set}\" = set"; then
46982 echo $ECHO_N "(cached) $ECHO_C" >&6
46983 else
46984 if test x$gcc_no_link = xyes; then
46985 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46987 { (exit 1); exit 1; }; }
46989 cat >conftest.$ac_ext <<_ACEOF
46990 /* confdefs.h. */
46991 _ACEOF
46992 cat confdefs.h >>conftest.$ac_ext
46993 cat >>conftest.$ac_ext <<_ACEOF
46994 /* end confdefs.h. */
46995 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46996 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46997 #define $ac_func innocuous_$ac_func
46999 /* System header to define __stub macros and hopefully few prototypes,
47000 which can conflict with char $ac_func (); below.
47001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47002 <limits.h> exists even on freestanding compilers. */
47004 #ifdef __STDC__
47005 # include <limits.h>
47006 #else
47007 # include <assert.h>
47008 #endif
47010 #undef $ac_func
47012 /* Override any gcc2 internal prototype to avoid an error. */
47013 #ifdef __cplusplus
47014 extern "C"
47016 #endif
47017 /* We use char because int might match the return type of a gcc2
47018 builtin and then its argument prototype would still apply. */
47019 char $ac_func ();
47020 /* The GNU C library defines this for functions which it implements
47021 to always fail with ENOSYS. Some functions are actually named
47022 something starting with __ and the normal name is an alias. */
47023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47024 choke me
47025 #else
47026 char (*f) () = $ac_func;
47027 #endif
47028 #ifdef __cplusplus
47030 #endif
47033 main ()
47035 return f != $ac_func;
47037 return 0;
47039 _ACEOF
47040 rm -f conftest.$ac_objext conftest$ac_exeext
47041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47042 (eval $ac_link) 2>conftest.er1
47043 ac_status=$?
47044 grep -v '^ *+' conftest.er1 >conftest.err
47045 rm -f conftest.er1
47046 cat conftest.err >&5
47047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47048 (exit $ac_status); } &&
47049 { ac_try='test -z "$ac_c_werror_flag"
47050 || test ! -s conftest.err'
47051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47052 (eval $ac_try) 2>&5
47053 ac_status=$?
47054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47055 (exit $ac_status); }; } &&
47056 { ac_try='test -s conftest$ac_exeext'
47057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47058 (eval $ac_try) 2>&5
47059 ac_status=$?
47060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47061 (exit $ac_status); }; }; then
47062 eval "$as_ac_var=yes"
47063 else
47064 echo "$as_me: failed program was:" >&5
47065 sed 's/^/| /' conftest.$ac_ext >&5
47067 eval "$as_ac_var=no"
47069 rm -f conftest.err conftest.$ac_objext \
47070 conftest$ac_exeext conftest.$ac_ext
47072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47074 if test `eval echo '${'$as_ac_var'}'` = yes; then
47075 cat >>confdefs.h <<_ACEOF
47076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47077 _ACEOF
47080 done
47087 echo "$as_me:$LINENO: checking for finitel declaration" >&5
47088 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
47089 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
47090 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
47091 echo $ECHO_N "(cached) $ECHO_C" >&6
47092 else
47096 ac_ext=cc
47097 ac_cpp='$CXXCPP $CPPFLAGS'
47098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47102 cat >conftest.$ac_ext <<_ACEOF
47103 /* confdefs.h. */
47104 _ACEOF
47105 cat confdefs.h >>conftest.$ac_ext
47106 cat >>conftest.$ac_ext <<_ACEOF
47107 /* end confdefs.h. */
47108 #include <math.h>
47109 #ifdef HAVE_IEEEFP_H
47110 #include <ieeefp.h>
47111 #endif
47114 main ()
47116 finitel(0);
47118 return 0;
47120 _ACEOF
47121 rm -f conftest.$ac_objext
47122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47123 (eval $ac_compile) 2>conftest.er1
47124 ac_status=$?
47125 grep -v '^ *+' conftest.er1 >conftest.err
47126 rm -f conftest.er1
47127 cat conftest.err >&5
47128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47129 (exit $ac_status); } &&
47130 { ac_try='test -z "$ac_cxx_werror_flag"
47131 || test ! -s conftest.err'
47132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47133 (eval $ac_try) 2>&5
47134 ac_status=$?
47135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47136 (exit $ac_status); }; } &&
47137 { ac_try='test -s conftest.$ac_objext'
47138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47139 (eval $ac_try) 2>&5
47140 ac_status=$?
47141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47142 (exit $ac_status); }; }; then
47143 glibcxx_cv_func_finitel_use=yes
47144 else
47145 echo "$as_me: failed program was:" >&5
47146 sed 's/^/| /' conftest.$ac_ext >&5
47148 glibcxx_cv_func_finitel_use=no
47150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47151 ac_ext=c
47152 ac_cpp='$CPP $CPPFLAGS'
47153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47161 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
47162 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
47164 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
47166 for ac_func in finitel
47168 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47169 echo "$as_me:$LINENO: checking for $ac_func" >&5
47170 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47171 if eval "test \"\${$as_ac_var+set}\" = set"; then
47172 echo $ECHO_N "(cached) $ECHO_C" >&6
47173 else
47174 if test x$gcc_no_link = xyes; then
47175 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47176 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47177 { (exit 1); exit 1; }; }
47179 cat >conftest.$ac_ext <<_ACEOF
47180 /* confdefs.h. */
47181 _ACEOF
47182 cat confdefs.h >>conftest.$ac_ext
47183 cat >>conftest.$ac_ext <<_ACEOF
47184 /* end confdefs.h. */
47185 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47186 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47187 #define $ac_func innocuous_$ac_func
47189 /* System header to define __stub macros and hopefully few prototypes,
47190 which can conflict with char $ac_func (); below.
47191 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47192 <limits.h> exists even on freestanding compilers. */
47194 #ifdef __STDC__
47195 # include <limits.h>
47196 #else
47197 # include <assert.h>
47198 #endif
47200 #undef $ac_func
47202 /* Override any gcc2 internal prototype to avoid an error. */
47203 #ifdef __cplusplus
47204 extern "C"
47206 #endif
47207 /* We use char because int might match the return type of a gcc2
47208 builtin and then its argument prototype would still apply. */
47209 char $ac_func ();
47210 /* The GNU C library defines this for functions which it implements
47211 to always fail with ENOSYS. Some functions are actually named
47212 something starting with __ and the normal name is an alias. */
47213 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47214 choke me
47215 #else
47216 char (*f) () = $ac_func;
47217 #endif
47218 #ifdef __cplusplus
47220 #endif
47223 main ()
47225 return f != $ac_func;
47227 return 0;
47229 _ACEOF
47230 rm -f conftest.$ac_objext conftest$ac_exeext
47231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47232 (eval $ac_link) 2>conftest.er1
47233 ac_status=$?
47234 grep -v '^ *+' conftest.er1 >conftest.err
47235 rm -f conftest.er1
47236 cat conftest.err >&5
47237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47238 (exit $ac_status); } &&
47239 { ac_try='test -z "$ac_c_werror_flag"
47240 || test ! -s conftest.err'
47241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47242 (eval $ac_try) 2>&5
47243 ac_status=$?
47244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47245 (exit $ac_status); }; } &&
47246 { ac_try='test -s conftest$ac_exeext'
47247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47248 (eval $ac_try) 2>&5
47249 ac_status=$?
47250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47251 (exit $ac_status); }; }; then
47252 eval "$as_ac_var=yes"
47253 else
47254 echo "$as_me: failed program was:" >&5
47255 sed 's/^/| /' conftest.$ac_ext >&5
47257 eval "$as_ac_var=no"
47259 rm -f conftest.err conftest.$ac_objext \
47260 conftest$ac_exeext conftest.$ac_ext
47262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47263 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47264 if test `eval echo '${'$as_ac_var'}'` = yes; then
47265 cat >>confdefs.h <<_ACEOF
47266 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47267 _ACEOF
47270 done
47272 else
47274 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
47275 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
47276 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
47277 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
47278 echo $ECHO_N "(cached) $ECHO_C" >&6
47279 else
47283 ac_ext=cc
47284 ac_cpp='$CXXCPP $CPPFLAGS'
47285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47289 cat >conftest.$ac_ext <<_ACEOF
47290 /* confdefs.h. */
47291 _ACEOF
47292 cat confdefs.h >>conftest.$ac_ext
47293 cat >>conftest.$ac_ext <<_ACEOF
47294 /* end confdefs.h. */
47295 #include <math.h>
47296 #ifdef HAVE_IEEEFP_H
47297 #include <ieeefp.h>
47298 #endif
47301 main ()
47303 _finitel(0);
47305 return 0;
47307 _ACEOF
47308 rm -f conftest.$ac_objext
47309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47310 (eval $ac_compile) 2>conftest.er1
47311 ac_status=$?
47312 grep -v '^ *+' conftest.er1 >conftest.err
47313 rm -f conftest.er1
47314 cat conftest.err >&5
47315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47316 (exit $ac_status); } &&
47317 { ac_try='test -z "$ac_cxx_werror_flag"
47318 || test ! -s conftest.err'
47319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47320 (eval $ac_try) 2>&5
47321 ac_status=$?
47322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47323 (exit $ac_status); }; } &&
47324 { ac_try='test -s conftest.$ac_objext'
47325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47326 (eval $ac_try) 2>&5
47327 ac_status=$?
47328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47329 (exit $ac_status); }; }; then
47330 glibcxx_cv_func__finitel_use=yes
47331 else
47332 echo "$as_me: failed program was:" >&5
47333 sed 's/^/| /' conftest.$ac_ext >&5
47335 glibcxx_cv_func__finitel_use=no
47337 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47338 ac_ext=c
47339 ac_cpp='$CPP $CPPFLAGS'
47340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47348 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
47349 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
47351 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
47353 for ac_func in _finitel
47355 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47356 echo "$as_me:$LINENO: checking for $ac_func" >&5
47357 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47358 if eval "test \"\${$as_ac_var+set}\" = set"; then
47359 echo $ECHO_N "(cached) $ECHO_C" >&6
47360 else
47361 if test x$gcc_no_link = xyes; then
47362 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47363 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47364 { (exit 1); exit 1; }; }
47366 cat >conftest.$ac_ext <<_ACEOF
47367 /* confdefs.h. */
47368 _ACEOF
47369 cat confdefs.h >>conftest.$ac_ext
47370 cat >>conftest.$ac_ext <<_ACEOF
47371 /* end confdefs.h. */
47372 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47373 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47374 #define $ac_func innocuous_$ac_func
47376 /* System header to define __stub macros and hopefully few prototypes,
47377 which can conflict with char $ac_func (); below.
47378 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47379 <limits.h> exists even on freestanding compilers. */
47381 #ifdef __STDC__
47382 # include <limits.h>
47383 #else
47384 # include <assert.h>
47385 #endif
47387 #undef $ac_func
47389 /* Override any gcc2 internal prototype to avoid an error. */
47390 #ifdef __cplusplus
47391 extern "C"
47393 #endif
47394 /* We use char because int might match the return type of a gcc2
47395 builtin and then its argument prototype would still apply. */
47396 char $ac_func ();
47397 /* The GNU C library defines this for functions which it implements
47398 to always fail with ENOSYS. Some functions are actually named
47399 something starting with __ and the normal name is an alias. */
47400 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47401 choke me
47402 #else
47403 char (*f) () = $ac_func;
47404 #endif
47405 #ifdef __cplusplus
47407 #endif
47410 main ()
47412 return f != $ac_func;
47414 return 0;
47416 _ACEOF
47417 rm -f conftest.$ac_objext conftest$ac_exeext
47418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47419 (eval $ac_link) 2>conftest.er1
47420 ac_status=$?
47421 grep -v '^ *+' conftest.er1 >conftest.err
47422 rm -f conftest.er1
47423 cat conftest.err >&5
47424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47425 (exit $ac_status); } &&
47426 { ac_try='test -z "$ac_c_werror_flag"
47427 || test ! -s conftest.err'
47428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47429 (eval $ac_try) 2>&5
47430 ac_status=$?
47431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47432 (exit $ac_status); }; } &&
47433 { ac_try='test -s conftest$ac_exeext'
47434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47435 (eval $ac_try) 2>&5
47436 ac_status=$?
47437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47438 (exit $ac_status); }; }; then
47439 eval "$as_ac_var=yes"
47440 else
47441 echo "$as_me: failed program was:" >&5
47442 sed 's/^/| /' conftest.$ac_ext >&5
47444 eval "$as_ac_var=no"
47446 rm -f conftest.err conftest.$ac_objext \
47447 conftest$ac_exeext conftest.$ac_ext
47449 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47450 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47451 if test `eval echo '${'$as_ac_var'}'` = yes; then
47452 cat >>confdefs.h <<_ACEOF
47453 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47454 _ACEOF
47457 done
47465 echo "$as_me:$LINENO: checking for _float trig functions" >&5
47466 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
47467 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
47468 echo $ECHO_N "(cached) $ECHO_C" >&6
47469 else
47473 ac_ext=cc
47474 ac_cpp='$CXXCPP $CPPFLAGS'
47475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47479 cat >conftest.$ac_ext <<_ACEOF
47480 /* confdefs.h. */
47481 _ACEOF
47482 cat confdefs.h >>conftest.$ac_ext
47483 cat >>conftest.$ac_ext <<_ACEOF
47484 /* end confdefs.h. */
47485 #include <math.h>
47487 main ()
47489 `for x in _acosf _asinf _atanf \
47490 _cosf _sinf _tanf \
47491 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
47493 return 0;
47495 _ACEOF
47496 rm -f conftest.$ac_objext
47497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47498 (eval $ac_compile) 2>conftest.er1
47499 ac_status=$?
47500 grep -v '^ *+' conftest.er1 >conftest.err
47501 rm -f conftest.er1
47502 cat conftest.err >&5
47503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47504 (exit $ac_status); } &&
47505 { ac_try='test -z "$ac_cxx_werror_flag"
47506 || test ! -s conftest.err'
47507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47508 (eval $ac_try) 2>&5
47509 ac_status=$?
47510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47511 (exit $ac_status); }; } &&
47512 { ac_try='test -s conftest.$ac_objext'
47513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47514 (eval $ac_try) 2>&5
47515 ac_status=$?
47516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47517 (exit $ac_status); }; }; then
47518 glibcxx_cv_func__float_trig_use=yes
47519 else
47520 echo "$as_me: failed program was:" >&5
47521 sed 's/^/| /' conftest.$ac_ext >&5
47523 glibcxx_cv_func__float_trig_use=no
47525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47526 ac_ext=c
47527 ac_cpp='$CPP $CPPFLAGS'
47528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47534 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
47535 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
47536 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
47546 for ac_func in _acosf _asinf _atanf \
47547 _cosf _sinf _tanf \
47548 _coshf _sinhf _tanhf
47550 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47551 echo "$as_me:$LINENO: checking for $ac_func" >&5
47552 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47553 if eval "test \"\${$as_ac_var+set}\" = set"; then
47554 echo $ECHO_N "(cached) $ECHO_C" >&6
47555 else
47556 if test x$gcc_no_link = xyes; then
47557 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47558 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47559 { (exit 1); exit 1; }; }
47561 cat >conftest.$ac_ext <<_ACEOF
47562 /* confdefs.h. */
47563 _ACEOF
47564 cat confdefs.h >>conftest.$ac_ext
47565 cat >>conftest.$ac_ext <<_ACEOF
47566 /* end confdefs.h. */
47567 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47568 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47569 #define $ac_func innocuous_$ac_func
47571 /* System header to define __stub macros and hopefully few prototypes,
47572 which can conflict with char $ac_func (); below.
47573 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47574 <limits.h> exists even on freestanding compilers. */
47576 #ifdef __STDC__
47577 # include <limits.h>
47578 #else
47579 # include <assert.h>
47580 #endif
47582 #undef $ac_func
47584 /* Override any gcc2 internal prototype to avoid an error. */
47585 #ifdef __cplusplus
47586 extern "C"
47588 #endif
47589 /* We use char because int might match the return type of a gcc2
47590 builtin and then its argument prototype would still apply. */
47591 char $ac_func ();
47592 /* The GNU C library defines this for functions which it implements
47593 to always fail with ENOSYS. Some functions are actually named
47594 something starting with __ and the normal name is an alias. */
47595 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47596 choke me
47597 #else
47598 char (*f) () = $ac_func;
47599 #endif
47600 #ifdef __cplusplus
47602 #endif
47605 main ()
47607 return f != $ac_func;
47609 return 0;
47611 _ACEOF
47612 rm -f conftest.$ac_objext conftest$ac_exeext
47613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47614 (eval $ac_link) 2>conftest.er1
47615 ac_status=$?
47616 grep -v '^ *+' conftest.er1 >conftest.err
47617 rm -f conftest.er1
47618 cat conftest.err >&5
47619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47620 (exit $ac_status); } &&
47621 { ac_try='test -z "$ac_c_werror_flag"
47622 || test ! -s conftest.err'
47623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47624 (eval $ac_try) 2>&5
47625 ac_status=$?
47626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47627 (exit $ac_status); }; } &&
47628 { ac_try='test -s conftest$ac_exeext'
47629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47630 (eval $ac_try) 2>&5
47631 ac_status=$?
47632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47633 (exit $ac_status); }; }; then
47634 eval "$as_ac_var=yes"
47635 else
47636 echo "$as_me: failed program was:" >&5
47637 sed 's/^/| /' conftest.$ac_ext >&5
47639 eval "$as_ac_var=no"
47641 rm -f conftest.err conftest.$ac_objext \
47642 conftest$ac_exeext conftest.$ac_ext
47644 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47645 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47646 if test `eval echo '${'$as_ac_var'}'` = yes; then
47647 cat >>confdefs.h <<_ACEOF
47648 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47649 _ACEOF
47652 done
47657 echo "$as_me:$LINENO: checking for _float round functions" >&5
47658 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
47659 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
47660 echo $ECHO_N "(cached) $ECHO_C" >&6
47661 else
47665 ac_ext=cc
47666 ac_cpp='$CXXCPP $CPPFLAGS'
47667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47671 cat >conftest.$ac_ext <<_ACEOF
47672 /* confdefs.h. */
47673 _ACEOF
47674 cat confdefs.h >>conftest.$ac_ext
47675 cat >>conftest.$ac_ext <<_ACEOF
47676 /* end confdefs.h. */
47677 #include <math.h>
47679 main ()
47681 `for x in _ceilf _floorf; do echo "$x (0);"; done`
47683 return 0;
47685 _ACEOF
47686 rm -f conftest.$ac_objext
47687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47688 (eval $ac_compile) 2>conftest.er1
47689 ac_status=$?
47690 grep -v '^ *+' conftest.er1 >conftest.err
47691 rm -f conftest.er1
47692 cat conftest.err >&5
47693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47694 (exit $ac_status); } &&
47695 { ac_try='test -z "$ac_cxx_werror_flag"
47696 || test ! -s conftest.err'
47697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47698 (eval $ac_try) 2>&5
47699 ac_status=$?
47700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47701 (exit $ac_status); }; } &&
47702 { ac_try='test -s conftest.$ac_objext'
47703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47704 (eval $ac_try) 2>&5
47705 ac_status=$?
47706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47707 (exit $ac_status); }; }; then
47708 glibcxx_cv_func__float_round_use=yes
47709 else
47710 echo "$as_me: failed program was:" >&5
47711 sed 's/^/| /' conftest.$ac_ext >&5
47713 glibcxx_cv_func__float_round_use=no
47715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47716 ac_ext=c
47717 ac_cpp='$CPP $CPPFLAGS'
47718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47724 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
47725 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
47726 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47729 for ac_func in _ceilf _floorf
47731 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47732 echo "$as_me:$LINENO: checking for $ac_func" >&5
47733 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47734 if eval "test \"\${$as_ac_var+set}\" = set"; then
47735 echo $ECHO_N "(cached) $ECHO_C" >&6
47736 else
47737 if test x$gcc_no_link = xyes; then
47738 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47739 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47740 { (exit 1); exit 1; }; }
47742 cat >conftest.$ac_ext <<_ACEOF
47743 /* confdefs.h. */
47744 _ACEOF
47745 cat confdefs.h >>conftest.$ac_ext
47746 cat >>conftest.$ac_ext <<_ACEOF
47747 /* end confdefs.h. */
47748 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47749 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47750 #define $ac_func innocuous_$ac_func
47752 /* System header to define __stub macros and hopefully few prototypes,
47753 which can conflict with char $ac_func (); below.
47754 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47755 <limits.h> exists even on freestanding compilers. */
47757 #ifdef __STDC__
47758 # include <limits.h>
47759 #else
47760 # include <assert.h>
47761 #endif
47763 #undef $ac_func
47765 /* Override any gcc2 internal prototype to avoid an error. */
47766 #ifdef __cplusplus
47767 extern "C"
47769 #endif
47770 /* We use char because int might match the return type of a gcc2
47771 builtin and then its argument prototype would still apply. */
47772 char $ac_func ();
47773 /* The GNU C library defines this for functions which it implements
47774 to always fail with ENOSYS. Some functions are actually named
47775 something starting with __ and the normal name is an alias. */
47776 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47777 choke me
47778 #else
47779 char (*f) () = $ac_func;
47780 #endif
47781 #ifdef __cplusplus
47783 #endif
47786 main ()
47788 return f != $ac_func;
47790 return 0;
47792 _ACEOF
47793 rm -f conftest.$ac_objext conftest$ac_exeext
47794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47795 (eval $ac_link) 2>conftest.er1
47796 ac_status=$?
47797 grep -v '^ *+' conftest.er1 >conftest.err
47798 rm -f conftest.er1
47799 cat conftest.err >&5
47800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47801 (exit $ac_status); } &&
47802 { ac_try='test -z "$ac_c_werror_flag"
47803 || test ! -s conftest.err'
47804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47805 (eval $ac_try) 2>&5
47806 ac_status=$?
47807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47808 (exit $ac_status); }; } &&
47809 { ac_try='test -s conftest$ac_exeext'
47810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47811 (eval $ac_try) 2>&5
47812 ac_status=$?
47813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47814 (exit $ac_status); }; }; then
47815 eval "$as_ac_var=yes"
47816 else
47817 echo "$as_me: failed program was:" >&5
47818 sed 's/^/| /' conftest.$ac_ext >&5
47820 eval "$as_ac_var=no"
47822 rm -f conftest.err conftest.$ac_objext \
47823 conftest$ac_exeext conftest.$ac_ext
47825 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47826 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47827 if test `eval echo '${'$as_ac_var'}'` = yes; then
47828 cat >>confdefs.h <<_ACEOF
47829 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47830 _ACEOF
47833 done
47839 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
47840 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
47841 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
47842 echo $ECHO_N "(cached) $ECHO_C" >&6
47843 else
47847 ac_ext=cc
47848 ac_cpp='$CXXCPP $CPPFLAGS'
47849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47853 cat >conftest.$ac_ext <<_ACEOF
47854 /* confdefs.h. */
47855 _ACEOF
47856 cat confdefs.h >>conftest.$ac_ext
47857 cat >>conftest.$ac_ext <<_ACEOF
47858 /* end confdefs.h. */
47859 #include <math.h>
47861 main ()
47863 `for x in _acosl _asinl _atanl \
47864 _cosl _sinl _tanl \
47865 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
47867 return 0;
47869 _ACEOF
47870 rm -f conftest.$ac_objext
47871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47872 (eval $ac_compile) 2>conftest.er1
47873 ac_status=$?
47874 grep -v '^ *+' conftest.er1 >conftest.err
47875 rm -f conftest.er1
47876 cat conftest.err >&5
47877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47878 (exit $ac_status); } &&
47879 { ac_try='test -z "$ac_cxx_werror_flag"
47880 || test ! -s conftest.err'
47881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47882 (eval $ac_try) 2>&5
47883 ac_status=$?
47884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47885 (exit $ac_status); }; } &&
47886 { ac_try='test -s conftest.$ac_objext'
47887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47888 (eval $ac_try) 2>&5
47889 ac_status=$?
47890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47891 (exit $ac_status); }; }; then
47892 glibcxx_cv_func__long_double_trig_use=yes
47893 else
47894 echo "$as_me: failed program was:" >&5
47895 sed 's/^/| /' conftest.$ac_ext >&5
47897 glibcxx_cv_func__long_double_trig_use=no
47899 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47900 ac_ext=c
47901 ac_cpp='$CPP $CPPFLAGS'
47902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47908 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
47909 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
47910 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
47920 for ac_func in _acosl _asinl _atanl \
47921 _cosl _sinl _tanl \
47922 _coshl _sinhl _tanhl
47924 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47925 echo "$as_me:$LINENO: checking for $ac_func" >&5
47926 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47927 if eval "test \"\${$as_ac_var+set}\" = set"; then
47928 echo $ECHO_N "(cached) $ECHO_C" >&6
47929 else
47930 if test x$gcc_no_link = xyes; then
47931 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47932 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47933 { (exit 1); exit 1; }; }
47935 cat >conftest.$ac_ext <<_ACEOF
47936 /* confdefs.h. */
47937 _ACEOF
47938 cat confdefs.h >>conftest.$ac_ext
47939 cat >>conftest.$ac_ext <<_ACEOF
47940 /* end confdefs.h. */
47941 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47942 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47943 #define $ac_func innocuous_$ac_func
47945 /* System header to define __stub macros and hopefully few prototypes,
47946 which can conflict with char $ac_func (); below.
47947 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47948 <limits.h> exists even on freestanding compilers. */
47950 #ifdef __STDC__
47951 # include <limits.h>
47952 #else
47953 # include <assert.h>
47954 #endif
47956 #undef $ac_func
47958 /* Override any gcc2 internal prototype to avoid an error. */
47959 #ifdef __cplusplus
47960 extern "C"
47962 #endif
47963 /* We use char because int might match the return type of a gcc2
47964 builtin and then its argument prototype would still apply. */
47965 char $ac_func ();
47966 /* The GNU C library defines this for functions which it implements
47967 to always fail with ENOSYS. Some functions are actually named
47968 something starting with __ and the normal name is an alias. */
47969 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47970 choke me
47971 #else
47972 char (*f) () = $ac_func;
47973 #endif
47974 #ifdef __cplusplus
47976 #endif
47979 main ()
47981 return f != $ac_func;
47983 return 0;
47985 _ACEOF
47986 rm -f conftest.$ac_objext conftest$ac_exeext
47987 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47988 (eval $ac_link) 2>conftest.er1
47989 ac_status=$?
47990 grep -v '^ *+' conftest.er1 >conftest.err
47991 rm -f conftest.er1
47992 cat conftest.err >&5
47993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47994 (exit $ac_status); } &&
47995 { ac_try='test -z "$ac_c_werror_flag"
47996 || test ! -s conftest.err'
47997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47998 (eval $ac_try) 2>&5
47999 ac_status=$?
48000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48001 (exit $ac_status); }; } &&
48002 { ac_try='test -s conftest$ac_exeext'
48003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48004 (eval $ac_try) 2>&5
48005 ac_status=$?
48006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48007 (exit $ac_status); }; }; then
48008 eval "$as_ac_var=yes"
48009 else
48010 echo "$as_me: failed program was:" >&5
48011 sed 's/^/| /' conftest.$ac_ext >&5
48013 eval "$as_ac_var=no"
48015 rm -f conftest.err conftest.$ac_objext \
48016 conftest$ac_exeext conftest.$ac_ext
48018 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48019 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48020 if test `eval echo '${'$as_ac_var'}'` = yes; then
48021 cat >>confdefs.h <<_ACEOF
48022 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48023 _ACEOF
48026 done
48031 echo "$as_me:$LINENO: checking for _long double round functions" >&5
48032 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
48033 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
48034 echo $ECHO_N "(cached) $ECHO_C" >&6
48035 else
48039 ac_ext=cc
48040 ac_cpp='$CXXCPP $CPPFLAGS'
48041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48045 cat >conftest.$ac_ext <<_ACEOF
48046 /* confdefs.h. */
48047 _ACEOF
48048 cat confdefs.h >>conftest.$ac_ext
48049 cat >>conftest.$ac_ext <<_ACEOF
48050 /* end confdefs.h. */
48051 #include <math.h>
48053 main ()
48055 `for x in _ceill _floorl; do echo "$x (0);"; done`
48057 return 0;
48059 _ACEOF
48060 rm -f conftest.$ac_objext
48061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48062 (eval $ac_compile) 2>conftest.er1
48063 ac_status=$?
48064 grep -v '^ *+' conftest.er1 >conftest.err
48065 rm -f conftest.er1
48066 cat conftest.err >&5
48067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48068 (exit $ac_status); } &&
48069 { ac_try='test -z "$ac_cxx_werror_flag"
48070 || test ! -s conftest.err'
48071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48072 (eval $ac_try) 2>&5
48073 ac_status=$?
48074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48075 (exit $ac_status); }; } &&
48076 { ac_try='test -s conftest.$ac_objext'
48077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48078 (eval $ac_try) 2>&5
48079 ac_status=$?
48080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48081 (exit $ac_status); }; }; then
48082 glibcxx_cv_func__long_double_round_use=yes
48083 else
48084 echo "$as_me: failed program was:" >&5
48085 sed 's/^/| /' conftest.$ac_ext >&5
48087 glibcxx_cv_func__long_double_round_use=no
48089 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48090 ac_ext=c
48091 ac_cpp='$CPP $CPPFLAGS'
48092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48098 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
48099 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
48100 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
48103 for ac_func in _ceill _floorl
48105 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48106 echo "$as_me:$LINENO: checking for $ac_func" >&5
48107 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48108 if eval "test \"\${$as_ac_var+set}\" = set"; then
48109 echo $ECHO_N "(cached) $ECHO_C" >&6
48110 else
48111 if test x$gcc_no_link = xyes; then
48112 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48113 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48114 { (exit 1); exit 1; }; }
48116 cat >conftest.$ac_ext <<_ACEOF
48117 /* confdefs.h. */
48118 _ACEOF
48119 cat confdefs.h >>conftest.$ac_ext
48120 cat >>conftest.$ac_ext <<_ACEOF
48121 /* end confdefs.h. */
48122 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48123 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48124 #define $ac_func innocuous_$ac_func
48126 /* System header to define __stub macros and hopefully few prototypes,
48127 which can conflict with char $ac_func (); below.
48128 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48129 <limits.h> exists even on freestanding compilers. */
48131 #ifdef __STDC__
48132 # include <limits.h>
48133 #else
48134 # include <assert.h>
48135 #endif
48137 #undef $ac_func
48139 /* Override any gcc2 internal prototype to avoid an error. */
48140 #ifdef __cplusplus
48141 extern "C"
48143 #endif
48144 /* We use char because int might match the return type of a gcc2
48145 builtin and then its argument prototype would still apply. */
48146 char $ac_func ();
48147 /* The GNU C library defines this for functions which it implements
48148 to always fail with ENOSYS. Some functions are actually named
48149 something starting with __ and the normal name is an alias. */
48150 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48151 choke me
48152 #else
48153 char (*f) () = $ac_func;
48154 #endif
48155 #ifdef __cplusplus
48157 #endif
48160 main ()
48162 return f != $ac_func;
48164 return 0;
48166 _ACEOF
48167 rm -f conftest.$ac_objext conftest$ac_exeext
48168 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48169 (eval $ac_link) 2>conftest.er1
48170 ac_status=$?
48171 grep -v '^ *+' conftest.er1 >conftest.err
48172 rm -f conftest.er1
48173 cat conftest.err >&5
48174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48175 (exit $ac_status); } &&
48176 { ac_try='test -z "$ac_c_werror_flag"
48177 || test ! -s conftest.err'
48178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48179 (eval $ac_try) 2>&5
48180 ac_status=$?
48181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48182 (exit $ac_status); }; } &&
48183 { ac_try='test -s conftest$ac_exeext'
48184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48185 (eval $ac_try) 2>&5
48186 ac_status=$?
48187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48188 (exit $ac_status); }; }; then
48189 eval "$as_ac_var=yes"
48190 else
48191 echo "$as_me: failed program was:" >&5
48192 sed 's/^/| /' conftest.$ac_ext >&5
48194 eval "$as_ac_var=no"
48196 rm -f conftest.err conftest.$ac_objext \
48197 conftest$ac_exeext conftest.$ac_ext
48199 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48200 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48201 if test `eval echo '${'$as_ac_var'}'` = yes; then
48202 cat >>confdefs.h <<_ACEOF
48203 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48204 _ACEOF
48207 done
48212 LIBS="$ac_save_LIBS"
48213 CXXFLAGS="$ac_save_CXXFLAGS"
48217 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
48218 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
48219 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
48220 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
48221 echo $ECHO_N "(cached) $ECHO_C" >&6
48222 else
48226 ac_ext=cc
48227 ac_cpp='$CXXCPP $CPPFLAGS'
48228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48232 cat >conftest.$ac_ext <<_ACEOF
48233 /* confdefs.h. */
48234 _ACEOF
48235 cat confdefs.h >>conftest.$ac_ext
48236 cat >>conftest.$ac_ext <<_ACEOF
48237 /* end confdefs.h. */
48238 #include <math.h>
48240 main ()
48242 __builtin_abs(0);
48244 return 0;
48246 _ACEOF
48247 rm -f conftest.$ac_objext
48248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48249 (eval $ac_compile) 2>conftest.er1
48250 ac_status=$?
48251 grep -v '^ *+' conftest.er1 >conftest.err
48252 rm -f conftest.er1
48253 cat conftest.err >&5
48254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48255 (exit $ac_status); } &&
48256 { ac_try='test -z "$ac_cxx_werror_flag"
48257 || test ! -s conftest.err'
48258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48259 (eval $ac_try) 2>&5
48260 ac_status=$?
48261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48262 (exit $ac_status); }; } &&
48263 { ac_try='test -s conftest.$ac_objext'
48264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48265 (eval $ac_try) 2>&5
48266 ac_status=$?
48267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48268 (exit $ac_status); }; }; then
48269 glibcxx_cv_func___builtin_abs_use=yes
48270 else
48271 echo "$as_me: failed program was:" >&5
48272 sed 's/^/| /' conftest.$ac_ext >&5
48274 glibcxx_cv_func___builtin_abs_use=no
48276 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48277 ac_ext=c
48278 ac_cpp='$CPP $CPPFLAGS'
48279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48287 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
48288 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
48289 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
48290 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
48291 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
48292 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
48293 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
48294 echo $ECHO_N "(cached) $ECHO_C" >&6
48295 else
48297 if test x$gcc_no_link = xyes; then
48298 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48299 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48300 { (exit 1); exit 1; }; }
48302 cat >conftest.$ac_ext <<_ACEOF
48303 /* confdefs.h. */
48304 _ACEOF
48305 cat confdefs.h >>conftest.$ac_ext
48306 cat >>conftest.$ac_ext <<_ACEOF
48307 /* end confdefs.h. */
48308 #include <math.h>
48310 main ()
48312 __builtin_abs(0);
48314 return 0;
48316 _ACEOF
48317 rm -f conftest.$ac_objext conftest$ac_exeext
48318 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48319 (eval $ac_link) 2>conftest.er1
48320 ac_status=$?
48321 grep -v '^ *+' conftest.er1 >conftest.err
48322 rm -f conftest.er1
48323 cat conftest.err >&5
48324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48325 (exit $ac_status); } &&
48326 { ac_try='test -z "$ac_c_werror_flag"
48327 || test ! -s conftest.err'
48328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48329 (eval $ac_try) 2>&5
48330 ac_status=$?
48331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48332 (exit $ac_status); }; } &&
48333 { ac_try='test -s conftest$ac_exeext'
48334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48335 (eval $ac_try) 2>&5
48336 ac_status=$?
48337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48338 (exit $ac_status); }; }; then
48339 glibcxx_cv_func___builtin_abs_link=yes
48340 else
48341 echo "$as_me: failed program was:" >&5
48342 sed 's/^/| /' conftest.$ac_ext >&5
48344 glibcxx_cv_func___builtin_abs_link=no
48346 rm -f conftest.err conftest.$ac_objext \
48347 conftest$ac_exeext conftest.$ac_ext
48352 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
48353 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
48354 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
48355 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48357 cat >>confdefs.h <<_ACEOF
48358 #define ${ac_tr_func} 1
48359 _ACEOF
48365 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
48366 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
48367 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
48368 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
48369 echo $ECHO_N "(cached) $ECHO_C" >&6
48370 else
48374 ac_ext=cc
48375 ac_cpp='$CXXCPP $CPPFLAGS'
48376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48380 cat >conftest.$ac_ext <<_ACEOF
48381 /* confdefs.h. */
48382 _ACEOF
48383 cat confdefs.h >>conftest.$ac_ext
48384 cat >>conftest.$ac_ext <<_ACEOF
48385 /* end confdefs.h. */
48386 #include <math.h>
48388 main ()
48390 __builtin_fabsf(0);
48392 return 0;
48394 _ACEOF
48395 rm -f conftest.$ac_objext
48396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48397 (eval $ac_compile) 2>conftest.er1
48398 ac_status=$?
48399 grep -v '^ *+' conftest.er1 >conftest.err
48400 rm -f conftest.er1
48401 cat conftest.err >&5
48402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48403 (exit $ac_status); } &&
48404 { ac_try='test -z "$ac_cxx_werror_flag"
48405 || test ! -s conftest.err'
48406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48407 (eval $ac_try) 2>&5
48408 ac_status=$?
48409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48410 (exit $ac_status); }; } &&
48411 { ac_try='test -s conftest.$ac_objext'
48412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48413 (eval $ac_try) 2>&5
48414 ac_status=$?
48415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48416 (exit $ac_status); }; }; then
48417 glibcxx_cv_func___builtin_fabsf_use=yes
48418 else
48419 echo "$as_me: failed program was:" >&5
48420 sed 's/^/| /' conftest.$ac_ext >&5
48422 glibcxx_cv_func___builtin_fabsf_use=no
48424 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48425 ac_ext=c
48426 ac_cpp='$CPP $CPPFLAGS'
48427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48435 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
48436 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
48437 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
48438 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
48439 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
48440 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
48441 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
48442 echo $ECHO_N "(cached) $ECHO_C" >&6
48443 else
48445 if test x$gcc_no_link = xyes; then
48446 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48447 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48448 { (exit 1); exit 1; }; }
48450 cat >conftest.$ac_ext <<_ACEOF
48451 /* confdefs.h. */
48452 _ACEOF
48453 cat confdefs.h >>conftest.$ac_ext
48454 cat >>conftest.$ac_ext <<_ACEOF
48455 /* end confdefs.h. */
48456 #include <math.h>
48458 main ()
48460 __builtin_fabsf(0);
48462 return 0;
48464 _ACEOF
48465 rm -f conftest.$ac_objext conftest$ac_exeext
48466 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48467 (eval $ac_link) 2>conftest.er1
48468 ac_status=$?
48469 grep -v '^ *+' conftest.er1 >conftest.err
48470 rm -f conftest.er1
48471 cat conftest.err >&5
48472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48473 (exit $ac_status); } &&
48474 { ac_try='test -z "$ac_c_werror_flag"
48475 || test ! -s conftest.err'
48476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48477 (eval $ac_try) 2>&5
48478 ac_status=$?
48479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48480 (exit $ac_status); }; } &&
48481 { ac_try='test -s conftest$ac_exeext'
48482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48483 (eval $ac_try) 2>&5
48484 ac_status=$?
48485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48486 (exit $ac_status); }; }; then
48487 glibcxx_cv_func___builtin_fabsf_link=yes
48488 else
48489 echo "$as_me: failed program was:" >&5
48490 sed 's/^/| /' conftest.$ac_ext >&5
48492 glibcxx_cv_func___builtin_fabsf_link=no
48494 rm -f conftest.err conftest.$ac_objext \
48495 conftest$ac_exeext conftest.$ac_ext
48500 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
48501 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
48502 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
48503 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48505 cat >>confdefs.h <<_ACEOF
48506 #define ${ac_tr_func} 1
48507 _ACEOF
48513 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
48514 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
48515 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
48516 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
48517 echo $ECHO_N "(cached) $ECHO_C" >&6
48518 else
48522 ac_ext=cc
48523 ac_cpp='$CXXCPP $CPPFLAGS'
48524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48528 cat >conftest.$ac_ext <<_ACEOF
48529 /* confdefs.h. */
48530 _ACEOF
48531 cat confdefs.h >>conftest.$ac_ext
48532 cat >>conftest.$ac_ext <<_ACEOF
48533 /* end confdefs.h. */
48534 #include <math.h>
48536 main ()
48538 __builtin_fabs(0);
48540 return 0;
48542 _ACEOF
48543 rm -f conftest.$ac_objext
48544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48545 (eval $ac_compile) 2>conftest.er1
48546 ac_status=$?
48547 grep -v '^ *+' conftest.er1 >conftest.err
48548 rm -f conftest.er1
48549 cat conftest.err >&5
48550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48551 (exit $ac_status); } &&
48552 { ac_try='test -z "$ac_cxx_werror_flag"
48553 || test ! -s conftest.err'
48554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48555 (eval $ac_try) 2>&5
48556 ac_status=$?
48557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48558 (exit $ac_status); }; } &&
48559 { ac_try='test -s conftest.$ac_objext'
48560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48561 (eval $ac_try) 2>&5
48562 ac_status=$?
48563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48564 (exit $ac_status); }; }; then
48565 glibcxx_cv_func___builtin_fabs_use=yes
48566 else
48567 echo "$as_me: failed program was:" >&5
48568 sed 's/^/| /' conftest.$ac_ext >&5
48570 glibcxx_cv_func___builtin_fabs_use=no
48572 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48573 ac_ext=c
48574 ac_cpp='$CPP $CPPFLAGS'
48575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48583 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
48584 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
48585 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
48586 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
48587 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
48588 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
48589 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
48590 echo $ECHO_N "(cached) $ECHO_C" >&6
48591 else
48593 if test x$gcc_no_link = xyes; then
48594 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48595 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48596 { (exit 1); exit 1; }; }
48598 cat >conftest.$ac_ext <<_ACEOF
48599 /* confdefs.h. */
48600 _ACEOF
48601 cat confdefs.h >>conftest.$ac_ext
48602 cat >>conftest.$ac_ext <<_ACEOF
48603 /* end confdefs.h. */
48604 #include <math.h>
48606 main ()
48608 __builtin_fabs(0);
48610 return 0;
48612 _ACEOF
48613 rm -f conftest.$ac_objext conftest$ac_exeext
48614 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48615 (eval $ac_link) 2>conftest.er1
48616 ac_status=$?
48617 grep -v '^ *+' conftest.er1 >conftest.err
48618 rm -f conftest.er1
48619 cat conftest.err >&5
48620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48621 (exit $ac_status); } &&
48622 { ac_try='test -z "$ac_c_werror_flag"
48623 || test ! -s conftest.err'
48624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48625 (eval $ac_try) 2>&5
48626 ac_status=$?
48627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48628 (exit $ac_status); }; } &&
48629 { ac_try='test -s conftest$ac_exeext'
48630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48631 (eval $ac_try) 2>&5
48632 ac_status=$?
48633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48634 (exit $ac_status); }; }; then
48635 glibcxx_cv_func___builtin_fabs_link=yes
48636 else
48637 echo "$as_me: failed program was:" >&5
48638 sed 's/^/| /' conftest.$ac_ext >&5
48640 glibcxx_cv_func___builtin_fabs_link=no
48642 rm -f conftest.err conftest.$ac_objext \
48643 conftest$ac_exeext conftest.$ac_ext
48648 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
48649 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
48650 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
48651 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48653 cat >>confdefs.h <<_ACEOF
48654 #define ${ac_tr_func} 1
48655 _ACEOF
48661 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
48662 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
48663 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
48664 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
48665 echo $ECHO_N "(cached) $ECHO_C" >&6
48666 else
48670 ac_ext=cc
48671 ac_cpp='$CXXCPP $CPPFLAGS'
48672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48676 cat >conftest.$ac_ext <<_ACEOF
48677 /* confdefs.h. */
48678 _ACEOF
48679 cat confdefs.h >>conftest.$ac_ext
48680 cat >>conftest.$ac_ext <<_ACEOF
48681 /* end confdefs.h. */
48682 #include <math.h>
48684 main ()
48686 __builtin_fabsl(0);
48688 return 0;
48690 _ACEOF
48691 rm -f conftest.$ac_objext
48692 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48693 (eval $ac_compile) 2>conftest.er1
48694 ac_status=$?
48695 grep -v '^ *+' conftest.er1 >conftest.err
48696 rm -f conftest.er1
48697 cat conftest.err >&5
48698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48699 (exit $ac_status); } &&
48700 { ac_try='test -z "$ac_cxx_werror_flag"
48701 || test ! -s conftest.err'
48702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48703 (eval $ac_try) 2>&5
48704 ac_status=$?
48705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48706 (exit $ac_status); }; } &&
48707 { ac_try='test -s conftest.$ac_objext'
48708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48709 (eval $ac_try) 2>&5
48710 ac_status=$?
48711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48712 (exit $ac_status); }; }; then
48713 glibcxx_cv_func___builtin_fabsl_use=yes
48714 else
48715 echo "$as_me: failed program was:" >&5
48716 sed 's/^/| /' conftest.$ac_ext >&5
48718 glibcxx_cv_func___builtin_fabsl_use=no
48720 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48721 ac_ext=c
48722 ac_cpp='$CPP $CPPFLAGS'
48723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48731 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
48732 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
48733 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
48734 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
48735 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
48736 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
48737 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
48738 echo $ECHO_N "(cached) $ECHO_C" >&6
48739 else
48741 if test x$gcc_no_link = xyes; then
48742 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48743 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48744 { (exit 1); exit 1; }; }
48746 cat >conftest.$ac_ext <<_ACEOF
48747 /* confdefs.h. */
48748 _ACEOF
48749 cat confdefs.h >>conftest.$ac_ext
48750 cat >>conftest.$ac_ext <<_ACEOF
48751 /* end confdefs.h. */
48752 #include <math.h>
48754 main ()
48756 __builtin_fabsl(0);
48758 return 0;
48760 _ACEOF
48761 rm -f conftest.$ac_objext conftest$ac_exeext
48762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48763 (eval $ac_link) 2>conftest.er1
48764 ac_status=$?
48765 grep -v '^ *+' conftest.er1 >conftest.err
48766 rm -f conftest.er1
48767 cat conftest.err >&5
48768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48769 (exit $ac_status); } &&
48770 { ac_try='test -z "$ac_c_werror_flag"
48771 || test ! -s conftest.err'
48772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48773 (eval $ac_try) 2>&5
48774 ac_status=$?
48775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48776 (exit $ac_status); }; } &&
48777 { ac_try='test -s conftest$ac_exeext'
48778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48779 (eval $ac_try) 2>&5
48780 ac_status=$?
48781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48782 (exit $ac_status); }; }; then
48783 glibcxx_cv_func___builtin_fabsl_link=yes
48784 else
48785 echo "$as_me: failed program was:" >&5
48786 sed 's/^/| /' conftest.$ac_ext >&5
48788 glibcxx_cv_func___builtin_fabsl_link=no
48790 rm -f conftest.err conftest.$ac_objext \
48791 conftest$ac_exeext conftest.$ac_ext
48796 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
48797 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
48798 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
48799 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48801 cat >>confdefs.h <<_ACEOF
48802 #define ${ac_tr_func} 1
48803 _ACEOF
48809 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
48810 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
48811 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
48812 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
48813 echo $ECHO_N "(cached) $ECHO_C" >&6
48814 else
48818 ac_ext=cc
48819 ac_cpp='$CXXCPP $CPPFLAGS'
48820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48824 cat >conftest.$ac_ext <<_ACEOF
48825 /* confdefs.h. */
48826 _ACEOF
48827 cat confdefs.h >>conftest.$ac_ext
48828 cat >>conftest.$ac_ext <<_ACEOF
48829 /* end confdefs.h. */
48830 #include <math.h>
48832 main ()
48834 __builtin_labs(0);
48836 return 0;
48838 _ACEOF
48839 rm -f conftest.$ac_objext
48840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48841 (eval $ac_compile) 2>conftest.er1
48842 ac_status=$?
48843 grep -v '^ *+' conftest.er1 >conftest.err
48844 rm -f conftest.er1
48845 cat conftest.err >&5
48846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48847 (exit $ac_status); } &&
48848 { ac_try='test -z "$ac_cxx_werror_flag"
48849 || test ! -s conftest.err'
48850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48851 (eval $ac_try) 2>&5
48852 ac_status=$?
48853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48854 (exit $ac_status); }; } &&
48855 { ac_try='test -s conftest.$ac_objext'
48856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48857 (eval $ac_try) 2>&5
48858 ac_status=$?
48859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48860 (exit $ac_status); }; }; then
48861 glibcxx_cv_func___builtin_labs_use=yes
48862 else
48863 echo "$as_me: failed program was:" >&5
48864 sed 's/^/| /' conftest.$ac_ext >&5
48866 glibcxx_cv_func___builtin_labs_use=no
48868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48869 ac_ext=c
48870 ac_cpp='$CPP $CPPFLAGS'
48871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48879 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
48880 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
48881 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
48882 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
48883 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
48884 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
48885 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
48886 echo $ECHO_N "(cached) $ECHO_C" >&6
48887 else
48889 if test x$gcc_no_link = xyes; then
48890 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48891 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48892 { (exit 1); exit 1; }; }
48894 cat >conftest.$ac_ext <<_ACEOF
48895 /* confdefs.h. */
48896 _ACEOF
48897 cat confdefs.h >>conftest.$ac_ext
48898 cat >>conftest.$ac_ext <<_ACEOF
48899 /* end confdefs.h. */
48900 #include <math.h>
48902 main ()
48904 __builtin_labs(0);
48906 return 0;
48908 _ACEOF
48909 rm -f conftest.$ac_objext conftest$ac_exeext
48910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48911 (eval $ac_link) 2>conftest.er1
48912 ac_status=$?
48913 grep -v '^ *+' conftest.er1 >conftest.err
48914 rm -f conftest.er1
48915 cat conftest.err >&5
48916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48917 (exit $ac_status); } &&
48918 { ac_try='test -z "$ac_c_werror_flag"
48919 || test ! -s conftest.err'
48920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48921 (eval $ac_try) 2>&5
48922 ac_status=$?
48923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48924 (exit $ac_status); }; } &&
48925 { ac_try='test -s conftest$ac_exeext'
48926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48927 (eval $ac_try) 2>&5
48928 ac_status=$?
48929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48930 (exit $ac_status); }; }; then
48931 glibcxx_cv_func___builtin_labs_link=yes
48932 else
48933 echo "$as_me: failed program was:" >&5
48934 sed 's/^/| /' conftest.$ac_ext >&5
48936 glibcxx_cv_func___builtin_labs_link=no
48938 rm -f conftest.err conftest.$ac_objext \
48939 conftest$ac_exeext conftest.$ac_ext
48944 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
48945 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
48946 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
48947 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
48949 cat >>confdefs.h <<_ACEOF
48950 #define ${ac_tr_func} 1
48951 _ACEOF
48958 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
48959 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
48960 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
48961 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
48962 echo $ECHO_N "(cached) $ECHO_C" >&6
48963 else
48967 ac_ext=cc
48968 ac_cpp='$CXXCPP $CPPFLAGS'
48969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48973 cat >conftest.$ac_ext <<_ACEOF
48974 /* confdefs.h. */
48975 _ACEOF
48976 cat confdefs.h >>conftest.$ac_ext
48977 cat >>conftest.$ac_ext <<_ACEOF
48978 /* end confdefs.h. */
48979 #include <math.h>
48981 main ()
48983 __builtin_sqrtf(0);
48985 return 0;
48987 _ACEOF
48988 rm -f conftest.$ac_objext
48989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48990 (eval $ac_compile) 2>conftest.er1
48991 ac_status=$?
48992 grep -v '^ *+' conftest.er1 >conftest.err
48993 rm -f conftest.er1
48994 cat conftest.err >&5
48995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48996 (exit $ac_status); } &&
48997 { ac_try='test -z "$ac_cxx_werror_flag"
48998 || test ! -s conftest.err'
48999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49000 (eval $ac_try) 2>&5
49001 ac_status=$?
49002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49003 (exit $ac_status); }; } &&
49004 { ac_try='test -s conftest.$ac_objext'
49005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49006 (eval $ac_try) 2>&5
49007 ac_status=$?
49008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49009 (exit $ac_status); }; }; then
49010 glibcxx_cv_func___builtin_sqrtf_use=yes
49011 else
49012 echo "$as_me: failed program was:" >&5
49013 sed 's/^/| /' conftest.$ac_ext >&5
49015 glibcxx_cv_func___builtin_sqrtf_use=no
49017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49018 ac_ext=c
49019 ac_cpp='$CPP $CPPFLAGS'
49020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49028 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
49029 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
49030 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
49031 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
49032 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
49033 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
49034 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
49035 echo $ECHO_N "(cached) $ECHO_C" >&6
49036 else
49038 if test x$gcc_no_link = xyes; then
49039 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49040 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49041 { (exit 1); exit 1; }; }
49043 cat >conftest.$ac_ext <<_ACEOF
49044 /* confdefs.h. */
49045 _ACEOF
49046 cat confdefs.h >>conftest.$ac_ext
49047 cat >>conftest.$ac_ext <<_ACEOF
49048 /* end confdefs.h. */
49049 #include <math.h>
49051 main ()
49053 __builtin_sqrtf(0);
49055 return 0;
49057 _ACEOF
49058 rm -f conftest.$ac_objext conftest$ac_exeext
49059 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49060 (eval $ac_link) 2>conftest.er1
49061 ac_status=$?
49062 grep -v '^ *+' conftest.er1 >conftest.err
49063 rm -f conftest.er1
49064 cat conftest.err >&5
49065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49066 (exit $ac_status); } &&
49067 { ac_try='test -z "$ac_c_werror_flag"
49068 || test ! -s conftest.err'
49069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49070 (eval $ac_try) 2>&5
49071 ac_status=$?
49072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49073 (exit $ac_status); }; } &&
49074 { ac_try='test -s conftest$ac_exeext'
49075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49076 (eval $ac_try) 2>&5
49077 ac_status=$?
49078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49079 (exit $ac_status); }; }; then
49080 glibcxx_cv_func___builtin_sqrtf_link=yes
49081 else
49082 echo "$as_me: failed program was:" >&5
49083 sed 's/^/| /' conftest.$ac_ext >&5
49085 glibcxx_cv_func___builtin_sqrtf_link=no
49087 rm -f conftest.err conftest.$ac_objext \
49088 conftest$ac_exeext conftest.$ac_ext
49093 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
49094 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
49095 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
49096 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49098 cat >>confdefs.h <<_ACEOF
49099 #define ${ac_tr_func} 1
49100 _ACEOF
49106 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
49107 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
49108 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
49109 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
49110 echo $ECHO_N "(cached) $ECHO_C" >&6
49111 else
49115 ac_ext=cc
49116 ac_cpp='$CXXCPP $CPPFLAGS'
49117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49121 cat >conftest.$ac_ext <<_ACEOF
49122 /* confdefs.h. */
49123 _ACEOF
49124 cat confdefs.h >>conftest.$ac_ext
49125 cat >>conftest.$ac_ext <<_ACEOF
49126 /* end confdefs.h. */
49127 #include <math.h>
49129 main ()
49131 __builtin_sqrt(0);
49133 return 0;
49135 _ACEOF
49136 rm -f conftest.$ac_objext
49137 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49138 (eval $ac_compile) 2>conftest.er1
49139 ac_status=$?
49140 grep -v '^ *+' conftest.er1 >conftest.err
49141 rm -f conftest.er1
49142 cat conftest.err >&5
49143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49144 (exit $ac_status); } &&
49145 { ac_try='test -z "$ac_cxx_werror_flag"
49146 || test ! -s conftest.err'
49147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49148 (eval $ac_try) 2>&5
49149 ac_status=$?
49150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49151 (exit $ac_status); }; } &&
49152 { ac_try='test -s conftest.$ac_objext'
49153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49154 (eval $ac_try) 2>&5
49155 ac_status=$?
49156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49157 (exit $ac_status); }; }; then
49158 glibcxx_cv_func___builtin_sqrt_use=yes
49159 else
49160 echo "$as_me: failed program was:" >&5
49161 sed 's/^/| /' conftest.$ac_ext >&5
49163 glibcxx_cv_func___builtin_sqrt_use=no
49165 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49166 ac_ext=c
49167 ac_cpp='$CPP $CPPFLAGS'
49168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49176 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
49177 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
49178 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
49179 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
49180 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
49181 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
49182 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
49183 echo $ECHO_N "(cached) $ECHO_C" >&6
49184 else
49186 if test x$gcc_no_link = xyes; then
49187 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49188 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49189 { (exit 1); exit 1; }; }
49191 cat >conftest.$ac_ext <<_ACEOF
49192 /* confdefs.h. */
49193 _ACEOF
49194 cat confdefs.h >>conftest.$ac_ext
49195 cat >>conftest.$ac_ext <<_ACEOF
49196 /* end confdefs.h. */
49197 #include <math.h>
49199 main ()
49201 __builtin_sqrt(0);
49203 return 0;
49205 _ACEOF
49206 rm -f conftest.$ac_objext conftest$ac_exeext
49207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49208 (eval $ac_link) 2>conftest.er1
49209 ac_status=$?
49210 grep -v '^ *+' conftest.er1 >conftest.err
49211 rm -f conftest.er1
49212 cat conftest.err >&5
49213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49214 (exit $ac_status); } &&
49215 { ac_try='test -z "$ac_c_werror_flag"
49216 || test ! -s conftest.err'
49217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49218 (eval $ac_try) 2>&5
49219 ac_status=$?
49220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49221 (exit $ac_status); }; } &&
49222 { ac_try='test -s conftest$ac_exeext'
49223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49224 (eval $ac_try) 2>&5
49225 ac_status=$?
49226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49227 (exit $ac_status); }; }; then
49228 glibcxx_cv_func___builtin_sqrt_link=yes
49229 else
49230 echo "$as_me: failed program was:" >&5
49231 sed 's/^/| /' conftest.$ac_ext >&5
49233 glibcxx_cv_func___builtin_sqrt_link=no
49235 rm -f conftest.err conftest.$ac_objext \
49236 conftest$ac_exeext conftest.$ac_ext
49241 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
49242 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
49243 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
49244 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49246 cat >>confdefs.h <<_ACEOF
49247 #define ${ac_tr_func} 1
49248 _ACEOF
49254 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
49255 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
49256 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
49257 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
49258 echo $ECHO_N "(cached) $ECHO_C" >&6
49259 else
49263 ac_ext=cc
49264 ac_cpp='$CXXCPP $CPPFLAGS'
49265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49269 cat >conftest.$ac_ext <<_ACEOF
49270 /* confdefs.h. */
49271 _ACEOF
49272 cat confdefs.h >>conftest.$ac_ext
49273 cat >>conftest.$ac_ext <<_ACEOF
49274 /* end confdefs.h. */
49275 #include <math.h>
49277 main ()
49279 __builtin_sqrtl(0);
49281 return 0;
49283 _ACEOF
49284 rm -f conftest.$ac_objext
49285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49286 (eval $ac_compile) 2>conftest.er1
49287 ac_status=$?
49288 grep -v '^ *+' conftest.er1 >conftest.err
49289 rm -f conftest.er1
49290 cat conftest.err >&5
49291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49292 (exit $ac_status); } &&
49293 { ac_try='test -z "$ac_cxx_werror_flag"
49294 || test ! -s conftest.err'
49295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49296 (eval $ac_try) 2>&5
49297 ac_status=$?
49298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49299 (exit $ac_status); }; } &&
49300 { ac_try='test -s conftest.$ac_objext'
49301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49302 (eval $ac_try) 2>&5
49303 ac_status=$?
49304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49305 (exit $ac_status); }; }; then
49306 glibcxx_cv_func___builtin_sqrtl_use=yes
49307 else
49308 echo "$as_me: failed program was:" >&5
49309 sed 's/^/| /' conftest.$ac_ext >&5
49311 glibcxx_cv_func___builtin_sqrtl_use=no
49313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49314 ac_ext=c
49315 ac_cpp='$CPP $CPPFLAGS'
49316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49324 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
49325 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
49326 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
49327 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
49328 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
49329 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
49330 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
49331 echo $ECHO_N "(cached) $ECHO_C" >&6
49332 else
49334 if test x$gcc_no_link = xyes; then
49335 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49336 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49337 { (exit 1); exit 1; }; }
49339 cat >conftest.$ac_ext <<_ACEOF
49340 /* confdefs.h. */
49341 _ACEOF
49342 cat confdefs.h >>conftest.$ac_ext
49343 cat >>conftest.$ac_ext <<_ACEOF
49344 /* end confdefs.h. */
49345 #include <math.h>
49347 main ()
49349 __builtin_sqrtl(0);
49351 return 0;
49353 _ACEOF
49354 rm -f conftest.$ac_objext conftest$ac_exeext
49355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49356 (eval $ac_link) 2>conftest.er1
49357 ac_status=$?
49358 grep -v '^ *+' conftest.er1 >conftest.err
49359 rm -f conftest.er1
49360 cat conftest.err >&5
49361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49362 (exit $ac_status); } &&
49363 { ac_try='test -z "$ac_c_werror_flag"
49364 || test ! -s conftest.err'
49365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49366 (eval $ac_try) 2>&5
49367 ac_status=$?
49368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49369 (exit $ac_status); }; } &&
49370 { ac_try='test -s conftest$ac_exeext'
49371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49372 (eval $ac_try) 2>&5
49373 ac_status=$?
49374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49375 (exit $ac_status); }; }; then
49376 glibcxx_cv_func___builtin_sqrtl_link=yes
49377 else
49378 echo "$as_me: failed program was:" >&5
49379 sed 's/^/| /' conftest.$ac_ext >&5
49381 glibcxx_cv_func___builtin_sqrtl_link=no
49383 rm -f conftest.err conftest.$ac_objext \
49384 conftest$ac_exeext conftest.$ac_ext
49389 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
49390 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
49391 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
49392 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49394 cat >>confdefs.h <<_ACEOF
49395 #define ${ac_tr_func} 1
49396 _ACEOF
49403 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
49404 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
49405 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
49406 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
49407 echo $ECHO_N "(cached) $ECHO_C" >&6
49408 else
49412 ac_ext=cc
49413 ac_cpp='$CXXCPP $CPPFLAGS'
49414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49418 cat >conftest.$ac_ext <<_ACEOF
49419 /* confdefs.h. */
49420 _ACEOF
49421 cat confdefs.h >>conftest.$ac_ext
49422 cat >>conftest.$ac_ext <<_ACEOF
49423 /* end confdefs.h. */
49424 #include <math.h>
49426 main ()
49428 __builtin_sinf(0);
49430 return 0;
49432 _ACEOF
49433 rm -f conftest.$ac_objext
49434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49435 (eval $ac_compile) 2>conftest.er1
49436 ac_status=$?
49437 grep -v '^ *+' conftest.er1 >conftest.err
49438 rm -f conftest.er1
49439 cat conftest.err >&5
49440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49441 (exit $ac_status); } &&
49442 { ac_try='test -z "$ac_cxx_werror_flag"
49443 || test ! -s conftest.err'
49444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49445 (eval $ac_try) 2>&5
49446 ac_status=$?
49447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49448 (exit $ac_status); }; } &&
49449 { ac_try='test -s conftest.$ac_objext'
49450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49451 (eval $ac_try) 2>&5
49452 ac_status=$?
49453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49454 (exit $ac_status); }; }; then
49455 glibcxx_cv_func___builtin_sinf_use=yes
49456 else
49457 echo "$as_me: failed program was:" >&5
49458 sed 's/^/| /' conftest.$ac_ext >&5
49460 glibcxx_cv_func___builtin_sinf_use=no
49462 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49463 ac_ext=c
49464 ac_cpp='$CPP $CPPFLAGS'
49465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49473 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
49474 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
49475 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
49476 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
49477 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
49478 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
49479 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
49480 echo $ECHO_N "(cached) $ECHO_C" >&6
49481 else
49483 if test x$gcc_no_link = xyes; then
49484 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49485 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49486 { (exit 1); exit 1; }; }
49488 cat >conftest.$ac_ext <<_ACEOF
49489 /* confdefs.h. */
49490 _ACEOF
49491 cat confdefs.h >>conftest.$ac_ext
49492 cat >>conftest.$ac_ext <<_ACEOF
49493 /* end confdefs.h. */
49494 #include <math.h>
49496 main ()
49498 __builtin_sinf(0);
49500 return 0;
49502 _ACEOF
49503 rm -f conftest.$ac_objext conftest$ac_exeext
49504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49505 (eval $ac_link) 2>conftest.er1
49506 ac_status=$?
49507 grep -v '^ *+' conftest.er1 >conftest.err
49508 rm -f conftest.er1
49509 cat conftest.err >&5
49510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49511 (exit $ac_status); } &&
49512 { ac_try='test -z "$ac_c_werror_flag"
49513 || test ! -s conftest.err'
49514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49515 (eval $ac_try) 2>&5
49516 ac_status=$?
49517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49518 (exit $ac_status); }; } &&
49519 { ac_try='test -s conftest$ac_exeext'
49520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49521 (eval $ac_try) 2>&5
49522 ac_status=$?
49523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49524 (exit $ac_status); }; }; then
49525 glibcxx_cv_func___builtin_sinf_link=yes
49526 else
49527 echo "$as_me: failed program was:" >&5
49528 sed 's/^/| /' conftest.$ac_ext >&5
49530 glibcxx_cv_func___builtin_sinf_link=no
49532 rm -f conftest.err conftest.$ac_objext \
49533 conftest$ac_exeext conftest.$ac_ext
49538 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
49539 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
49540 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
49541 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49543 cat >>confdefs.h <<_ACEOF
49544 #define ${ac_tr_func} 1
49545 _ACEOF
49551 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
49552 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
49553 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
49554 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
49555 echo $ECHO_N "(cached) $ECHO_C" >&6
49556 else
49560 ac_ext=cc
49561 ac_cpp='$CXXCPP $CPPFLAGS'
49562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49566 cat >conftest.$ac_ext <<_ACEOF
49567 /* confdefs.h. */
49568 _ACEOF
49569 cat confdefs.h >>conftest.$ac_ext
49570 cat >>conftest.$ac_ext <<_ACEOF
49571 /* end confdefs.h. */
49572 #include <math.h>
49574 main ()
49576 __builtin_sin(0);
49578 return 0;
49580 _ACEOF
49581 rm -f conftest.$ac_objext
49582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49583 (eval $ac_compile) 2>conftest.er1
49584 ac_status=$?
49585 grep -v '^ *+' conftest.er1 >conftest.err
49586 rm -f conftest.er1
49587 cat conftest.err >&5
49588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49589 (exit $ac_status); } &&
49590 { ac_try='test -z "$ac_cxx_werror_flag"
49591 || test ! -s conftest.err'
49592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49593 (eval $ac_try) 2>&5
49594 ac_status=$?
49595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49596 (exit $ac_status); }; } &&
49597 { ac_try='test -s conftest.$ac_objext'
49598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49599 (eval $ac_try) 2>&5
49600 ac_status=$?
49601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49602 (exit $ac_status); }; }; then
49603 glibcxx_cv_func___builtin_sin_use=yes
49604 else
49605 echo "$as_me: failed program was:" >&5
49606 sed 's/^/| /' conftest.$ac_ext >&5
49608 glibcxx_cv_func___builtin_sin_use=no
49610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49611 ac_ext=c
49612 ac_cpp='$CPP $CPPFLAGS'
49613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49621 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
49622 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
49623 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
49624 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
49625 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
49626 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
49627 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
49628 echo $ECHO_N "(cached) $ECHO_C" >&6
49629 else
49631 if test x$gcc_no_link = xyes; then
49632 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49634 { (exit 1); exit 1; }; }
49636 cat >conftest.$ac_ext <<_ACEOF
49637 /* confdefs.h. */
49638 _ACEOF
49639 cat confdefs.h >>conftest.$ac_ext
49640 cat >>conftest.$ac_ext <<_ACEOF
49641 /* end confdefs.h. */
49642 #include <math.h>
49644 main ()
49646 __builtin_sin(0);
49648 return 0;
49650 _ACEOF
49651 rm -f conftest.$ac_objext conftest$ac_exeext
49652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49653 (eval $ac_link) 2>conftest.er1
49654 ac_status=$?
49655 grep -v '^ *+' conftest.er1 >conftest.err
49656 rm -f conftest.er1
49657 cat conftest.err >&5
49658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49659 (exit $ac_status); } &&
49660 { ac_try='test -z "$ac_c_werror_flag"
49661 || test ! -s conftest.err'
49662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49663 (eval $ac_try) 2>&5
49664 ac_status=$?
49665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49666 (exit $ac_status); }; } &&
49667 { ac_try='test -s conftest$ac_exeext'
49668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49669 (eval $ac_try) 2>&5
49670 ac_status=$?
49671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49672 (exit $ac_status); }; }; then
49673 glibcxx_cv_func___builtin_sin_link=yes
49674 else
49675 echo "$as_me: failed program was:" >&5
49676 sed 's/^/| /' conftest.$ac_ext >&5
49678 glibcxx_cv_func___builtin_sin_link=no
49680 rm -f conftest.err conftest.$ac_objext \
49681 conftest$ac_exeext conftest.$ac_ext
49686 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
49687 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
49688 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
49689 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49691 cat >>confdefs.h <<_ACEOF
49692 #define ${ac_tr_func} 1
49693 _ACEOF
49699 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
49700 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
49701 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
49702 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
49703 echo $ECHO_N "(cached) $ECHO_C" >&6
49704 else
49708 ac_ext=cc
49709 ac_cpp='$CXXCPP $CPPFLAGS'
49710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49714 cat >conftest.$ac_ext <<_ACEOF
49715 /* confdefs.h. */
49716 _ACEOF
49717 cat confdefs.h >>conftest.$ac_ext
49718 cat >>conftest.$ac_ext <<_ACEOF
49719 /* end confdefs.h. */
49720 #include <math.h>
49722 main ()
49724 __builtin_sinl(0);
49726 return 0;
49728 _ACEOF
49729 rm -f conftest.$ac_objext
49730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49731 (eval $ac_compile) 2>conftest.er1
49732 ac_status=$?
49733 grep -v '^ *+' conftest.er1 >conftest.err
49734 rm -f conftest.er1
49735 cat conftest.err >&5
49736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49737 (exit $ac_status); } &&
49738 { ac_try='test -z "$ac_cxx_werror_flag"
49739 || test ! -s conftest.err'
49740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49741 (eval $ac_try) 2>&5
49742 ac_status=$?
49743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49744 (exit $ac_status); }; } &&
49745 { ac_try='test -s conftest.$ac_objext'
49746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49747 (eval $ac_try) 2>&5
49748 ac_status=$?
49749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49750 (exit $ac_status); }; }; then
49751 glibcxx_cv_func___builtin_sinl_use=yes
49752 else
49753 echo "$as_me: failed program was:" >&5
49754 sed 's/^/| /' conftest.$ac_ext >&5
49756 glibcxx_cv_func___builtin_sinl_use=no
49758 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49759 ac_ext=c
49760 ac_cpp='$CPP $CPPFLAGS'
49761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49769 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
49770 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
49771 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
49772 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
49773 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
49774 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
49775 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
49776 echo $ECHO_N "(cached) $ECHO_C" >&6
49777 else
49779 if test x$gcc_no_link = xyes; then
49780 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49781 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49782 { (exit 1); exit 1; }; }
49784 cat >conftest.$ac_ext <<_ACEOF
49785 /* confdefs.h. */
49786 _ACEOF
49787 cat confdefs.h >>conftest.$ac_ext
49788 cat >>conftest.$ac_ext <<_ACEOF
49789 /* end confdefs.h. */
49790 #include <math.h>
49792 main ()
49794 __builtin_sinl(0);
49796 return 0;
49798 _ACEOF
49799 rm -f conftest.$ac_objext conftest$ac_exeext
49800 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49801 (eval $ac_link) 2>conftest.er1
49802 ac_status=$?
49803 grep -v '^ *+' conftest.er1 >conftest.err
49804 rm -f conftest.er1
49805 cat conftest.err >&5
49806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49807 (exit $ac_status); } &&
49808 { ac_try='test -z "$ac_c_werror_flag"
49809 || test ! -s conftest.err'
49810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49811 (eval $ac_try) 2>&5
49812 ac_status=$?
49813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49814 (exit $ac_status); }; } &&
49815 { ac_try='test -s conftest$ac_exeext'
49816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49817 (eval $ac_try) 2>&5
49818 ac_status=$?
49819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49820 (exit $ac_status); }; }; then
49821 glibcxx_cv_func___builtin_sinl_link=yes
49822 else
49823 echo "$as_me: failed program was:" >&5
49824 sed 's/^/| /' conftest.$ac_ext >&5
49826 glibcxx_cv_func___builtin_sinl_link=no
49828 rm -f conftest.err conftest.$ac_objext \
49829 conftest$ac_exeext conftest.$ac_ext
49834 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
49835 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
49836 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
49837 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49839 cat >>confdefs.h <<_ACEOF
49840 #define ${ac_tr_func} 1
49841 _ACEOF
49848 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
49849 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
49850 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
49851 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
49852 echo $ECHO_N "(cached) $ECHO_C" >&6
49853 else
49857 ac_ext=cc
49858 ac_cpp='$CXXCPP $CPPFLAGS'
49859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49863 cat >conftest.$ac_ext <<_ACEOF
49864 /* confdefs.h. */
49865 _ACEOF
49866 cat confdefs.h >>conftest.$ac_ext
49867 cat >>conftest.$ac_ext <<_ACEOF
49868 /* end confdefs.h. */
49869 #include <math.h>
49871 main ()
49873 __builtin_cosf(0);
49875 return 0;
49877 _ACEOF
49878 rm -f conftest.$ac_objext
49879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49880 (eval $ac_compile) 2>conftest.er1
49881 ac_status=$?
49882 grep -v '^ *+' conftest.er1 >conftest.err
49883 rm -f conftest.er1
49884 cat conftest.err >&5
49885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49886 (exit $ac_status); } &&
49887 { ac_try='test -z "$ac_cxx_werror_flag"
49888 || test ! -s conftest.err'
49889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49890 (eval $ac_try) 2>&5
49891 ac_status=$?
49892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49893 (exit $ac_status); }; } &&
49894 { ac_try='test -s conftest.$ac_objext'
49895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49896 (eval $ac_try) 2>&5
49897 ac_status=$?
49898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49899 (exit $ac_status); }; }; then
49900 glibcxx_cv_func___builtin_cosf_use=yes
49901 else
49902 echo "$as_me: failed program was:" >&5
49903 sed 's/^/| /' conftest.$ac_ext >&5
49905 glibcxx_cv_func___builtin_cosf_use=no
49907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49908 ac_ext=c
49909 ac_cpp='$CPP $CPPFLAGS'
49910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49918 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
49919 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
49920 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
49921 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
49922 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
49923 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
49924 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
49925 echo $ECHO_N "(cached) $ECHO_C" >&6
49926 else
49928 if test x$gcc_no_link = xyes; then
49929 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49930 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49931 { (exit 1); exit 1; }; }
49933 cat >conftest.$ac_ext <<_ACEOF
49934 /* confdefs.h. */
49935 _ACEOF
49936 cat confdefs.h >>conftest.$ac_ext
49937 cat >>conftest.$ac_ext <<_ACEOF
49938 /* end confdefs.h. */
49939 #include <math.h>
49941 main ()
49943 __builtin_cosf(0);
49945 return 0;
49947 _ACEOF
49948 rm -f conftest.$ac_objext conftest$ac_exeext
49949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49950 (eval $ac_link) 2>conftest.er1
49951 ac_status=$?
49952 grep -v '^ *+' conftest.er1 >conftest.err
49953 rm -f conftest.er1
49954 cat conftest.err >&5
49955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49956 (exit $ac_status); } &&
49957 { ac_try='test -z "$ac_c_werror_flag"
49958 || test ! -s conftest.err'
49959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49960 (eval $ac_try) 2>&5
49961 ac_status=$?
49962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49963 (exit $ac_status); }; } &&
49964 { ac_try='test -s conftest$ac_exeext'
49965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49966 (eval $ac_try) 2>&5
49967 ac_status=$?
49968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49969 (exit $ac_status); }; }; then
49970 glibcxx_cv_func___builtin_cosf_link=yes
49971 else
49972 echo "$as_me: failed program was:" >&5
49973 sed 's/^/| /' conftest.$ac_ext >&5
49975 glibcxx_cv_func___builtin_cosf_link=no
49977 rm -f conftest.err conftest.$ac_objext \
49978 conftest$ac_exeext conftest.$ac_ext
49983 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
49984 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
49985 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
49986 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
49988 cat >>confdefs.h <<_ACEOF
49989 #define ${ac_tr_func} 1
49990 _ACEOF
49996 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
49997 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
49998 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
49999 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
50000 echo $ECHO_N "(cached) $ECHO_C" >&6
50001 else
50005 ac_ext=cc
50006 ac_cpp='$CXXCPP $CPPFLAGS'
50007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50011 cat >conftest.$ac_ext <<_ACEOF
50012 /* confdefs.h. */
50013 _ACEOF
50014 cat confdefs.h >>conftest.$ac_ext
50015 cat >>conftest.$ac_ext <<_ACEOF
50016 /* end confdefs.h. */
50017 #include <math.h>
50019 main ()
50021 __builtin_cos(0);
50023 return 0;
50025 _ACEOF
50026 rm -f conftest.$ac_objext
50027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50028 (eval $ac_compile) 2>conftest.er1
50029 ac_status=$?
50030 grep -v '^ *+' conftest.er1 >conftest.err
50031 rm -f conftest.er1
50032 cat conftest.err >&5
50033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50034 (exit $ac_status); } &&
50035 { ac_try='test -z "$ac_cxx_werror_flag"
50036 || test ! -s conftest.err'
50037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50038 (eval $ac_try) 2>&5
50039 ac_status=$?
50040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50041 (exit $ac_status); }; } &&
50042 { ac_try='test -s conftest.$ac_objext'
50043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50044 (eval $ac_try) 2>&5
50045 ac_status=$?
50046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50047 (exit $ac_status); }; }; then
50048 glibcxx_cv_func___builtin_cos_use=yes
50049 else
50050 echo "$as_me: failed program was:" >&5
50051 sed 's/^/| /' conftest.$ac_ext >&5
50053 glibcxx_cv_func___builtin_cos_use=no
50055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50056 ac_ext=c
50057 ac_cpp='$CPP $CPPFLAGS'
50058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50066 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
50067 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
50068 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
50069 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
50070 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
50071 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
50072 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
50073 echo $ECHO_N "(cached) $ECHO_C" >&6
50074 else
50076 if test x$gcc_no_link = xyes; then
50077 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50078 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50079 { (exit 1); exit 1; }; }
50081 cat >conftest.$ac_ext <<_ACEOF
50082 /* confdefs.h. */
50083 _ACEOF
50084 cat confdefs.h >>conftest.$ac_ext
50085 cat >>conftest.$ac_ext <<_ACEOF
50086 /* end confdefs.h. */
50087 #include <math.h>
50089 main ()
50091 __builtin_cos(0);
50093 return 0;
50095 _ACEOF
50096 rm -f conftest.$ac_objext conftest$ac_exeext
50097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50098 (eval $ac_link) 2>conftest.er1
50099 ac_status=$?
50100 grep -v '^ *+' conftest.er1 >conftest.err
50101 rm -f conftest.er1
50102 cat conftest.err >&5
50103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50104 (exit $ac_status); } &&
50105 { ac_try='test -z "$ac_c_werror_flag"
50106 || test ! -s conftest.err'
50107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50108 (eval $ac_try) 2>&5
50109 ac_status=$?
50110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50111 (exit $ac_status); }; } &&
50112 { ac_try='test -s conftest$ac_exeext'
50113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50114 (eval $ac_try) 2>&5
50115 ac_status=$?
50116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50117 (exit $ac_status); }; }; then
50118 glibcxx_cv_func___builtin_cos_link=yes
50119 else
50120 echo "$as_me: failed program was:" >&5
50121 sed 's/^/| /' conftest.$ac_ext >&5
50123 glibcxx_cv_func___builtin_cos_link=no
50125 rm -f conftest.err conftest.$ac_objext \
50126 conftest$ac_exeext conftest.$ac_ext
50131 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
50132 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
50133 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
50134 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
50136 cat >>confdefs.h <<_ACEOF
50137 #define ${ac_tr_func} 1
50138 _ACEOF
50144 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
50145 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
50146 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
50147 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
50148 echo $ECHO_N "(cached) $ECHO_C" >&6
50149 else
50153 ac_ext=cc
50154 ac_cpp='$CXXCPP $CPPFLAGS'
50155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50159 cat >conftest.$ac_ext <<_ACEOF
50160 /* confdefs.h. */
50161 _ACEOF
50162 cat confdefs.h >>conftest.$ac_ext
50163 cat >>conftest.$ac_ext <<_ACEOF
50164 /* end confdefs.h. */
50165 #include <math.h>
50167 main ()
50169 __builtin_cosl(0);
50171 return 0;
50173 _ACEOF
50174 rm -f conftest.$ac_objext
50175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50176 (eval $ac_compile) 2>conftest.er1
50177 ac_status=$?
50178 grep -v '^ *+' conftest.er1 >conftest.err
50179 rm -f conftest.er1
50180 cat conftest.err >&5
50181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50182 (exit $ac_status); } &&
50183 { ac_try='test -z "$ac_cxx_werror_flag"
50184 || test ! -s conftest.err'
50185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50186 (eval $ac_try) 2>&5
50187 ac_status=$?
50188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50189 (exit $ac_status); }; } &&
50190 { ac_try='test -s conftest.$ac_objext'
50191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50192 (eval $ac_try) 2>&5
50193 ac_status=$?
50194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50195 (exit $ac_status); }; }; then
50196 glibcxx_cv_func___builtin_cosl_use=yes
50197 else
50198 echo "$as_me: failed program was:" >&5
50199 sed 's/^/| /' conftest.$ac_ext >&5
50201 glibcxx_cv_func___builtin_cosl_use=no
50203 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50204 ac_ext=c
50205 ac_cpp='$CPP $CPPFLAGS'
50206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50214 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
50215 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
50216 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
50217 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
50218 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
50219 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
50220 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
50221 echo $ECHO_N "(cached) $ECHO_C" >&6
50222 else
50224 if test x$gcc_no_link = xyes; then
50225 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50226 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50227 { (exit 1); exit 1; }; }
50229 cat >conftest.$ac_ext <<_ACEOF
50230 /* confdefs.h. */
50231 _ACEOF
50232 cat confdefs.h >>conftest.$ac_ext
50233 cat >>conftest.$ac_ext <<_ACEOF
50234 /* end confdefs.h. */
50235 #include <math.h>
50237 main ()
50239 __builtin_cosl(0);
50241 return 0;
50243 _ACEOF
50244 rm -f conftest.$ac_objext conftest$ac_exeext
50245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50246 (eval $ac_link) 2>conftest.er1
50247 ac_status=$?
50248 grep -v '^ *+' conftest.er1 >conftest.err
50249 rm -f conftest.er1
50250 cat conftest.err >&5
50251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50252 (exit $ac_status); } &&
50253 { ac_try='test -z "$ac_c_werror_flag"
50254 || test ! -s conftest.err'
50255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50256 (eval $ac_try) 2>&5
50257 ac_status=$?
50258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50259 (exit $ac_status); }; } &&
50260 { ac_try='test -s conftest$ac_exeext'
50261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50262 (eval $ac_try) 2>&5
50263 ac_status=$?
50264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50265 (exit $ac_status); }; }; then
50266 glibcxx_cv_func___builtin_cosl_link=yes
50267 else
50268 echo "$as_me: failed program was:" >&5
50269 sed 's/^/| /' conftest.$ac_ext >&5
50271 glibcxx_cv_func___builtin_cosl_link=no
50273 rm -f conftest.err conftest.$ac_objext \
50274 conftest$ac_exeext conftest.$ac_ext
50279 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
50280 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
50281 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
50282 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
50284 cat >>confdefs.h <<_ACEOF
50285 #define ${ac_tr_func} 1
50286 _ACEOF
50294 echo "$as_me:$LINENO: checking for main in -lm" >&5
50295 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
50296 if test "${ac_cv_lib_m_main+set}" = set; then
50297 echo $ECHO_N "(cached) $ECHO_C" >&6
50298 else
50299 ac_check_lib_save_LIBS=$LIBS
50300 LIBS="-lm $LIBS"
50301 if test x$gcc_no_link = xyes; then
50302 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50303 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50304 { (exit 1); exit 1; }; }
50306 cat >conftest.$ac_ext <<_ACEOF
50307 /* confdefs.h. */
50308 _ACEOF
50309 cat confdefs.h >>conftest.$ac_ext
50310 cat >>conftest.$ac_ext <<_ACEOF
50311 /* end confdefs.h. */
50315 main ()
50317 main ();
50319 return 0;
50321 _ACEOF
50322 rm -f conftest.$ac_objext conftest$ac_exeext
50323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50324 (eval $ac_link) 2>conftest.er1
50325 ac_status=$?
50326 grep -v '^ *+' conftest.er1 >conftest.err
50327 rm -f conftest.er1
50328 cat conftest.err >&5
50329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50330 (exit $ac_status); } &&
50331 { ac_try='test -z "$ac_c_werror_flag"
50332 || test ! -s conftest.err'
50333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50334 (eval $ac_try) 2>&5
50335 ac_status=$?
50336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50337 (exit $ac_status); }; } &&
50338 { ac_try='test -s conftest$ac_exeext'
50339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50340 (eval $ac_try) 2>&5
50341 ac_status=$?
50342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50343 (exit $ac_status); }; }; then
50344 ac_cv_lib_m_main=yes
50345 else
50346 echo "$as_me: failed program was:" >&5
50347 sed 's/^/| /' conftest.$ac_ext >&5
50349 ac_cv_lib_m_main=no
50351 rm -f conftest.err conftest.$ac_objext \
50352 conftest$ac_exeext conftest.$ac_ext
50353 LIBS=$ac_check_lib_save_LIBS
50355 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
50356 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
50357 if test $ac_cv_lib_m_main = yes; then
50358 cat >>confdefs.h <<_ACEOF
50359 #define HAVE_LIBM 1
50360 _ACEOF
50362 LIBS="-lm $LIBS"
50367 for ac_func in copysignf
50369 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50370 echo "$as_me:$LINENO: checking for $ac_func" >&5
50371 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50372 if eval "test \"\${$as_ac_var+set}\" = set"; then
50373 echo $ECHO_N "(cached) $ECHO_C" >&6
50374 else
50375 if test x$gcc_no_link = xyes; then
50376 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50377 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50378 { (exit 1); exit 1; }; }
50380 cat >conftest.$ac_ext <<_ACEOF
50381 /* confdefs.h. */
50382 _ACEOF
50383 cat confdefs.h >>conftest.$ac_ext
50384 cat >>conftest.$ac_ext <<_ACEOF
50385 /* end confdefs.h. */
50386 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50387 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50388 #define $ac_func innocuous_$ac_func
50390 /* System header to define __stub macros and hopefully few prototypes,
50391 which can conflict with char $ac_func (); below.
50392 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50393 <limits.h> exists even on freestanding compilers. */
50395 #ifdef __STDC__
50396 # include <limits.h>
50397 #else
50398 # include <assert.h>
50399 #endif
50401 #undef $ac_func
50403 /* Override any gcc2 internal prototype to avoid an error. */
50404 #ifdef __cplusplus
50405 extern "C"
50407 #endif
50408 /* We use char because int might match the return type of a gcc2
50409 builtin and then its argument prototype would still apply. */
50410 char $ac_func ();
50411 /* The GNU C library defines this for functions which it implements
50412 to always fail with ENOSYS. Some functions are actually named
50413 something starting with __ and the normal name is an alias. */
50414 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50415 choke me
50416 #else
50417 char (*f) () = $ac_func;
50418 #endif
50419 #ifdef __cplusplus
50421 #endif
50424 main ()
50426 return f != $ac_func;
50428 return 0;
50430 _ACEOF
50431 rm -f conftest.$ac_objext conftest$ac_exeext
50432 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50433 (eval $ac_link) 2>conftest.er1
50434 ac_status=$?
50435 grep -v '^ *+' conftest.er1 >conftest.err
50436 rm -f conftest.er1
50437 cat conftest.err >&5
50438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50439 (exit $ac_status); } &&
50440 { ac_try='test -z "$ac_c_werror_flag"
50441 || test ! -s conftest.err'
50442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50443 (eval $ac_try) 2>&5
50444 ac_status=$?
50445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50446 (exit $ac_status); }; } &&
50447 { ac_try='test -s conftest$ac_exeext'
50448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50449 (eval $ac_try) 2>&5
50450 ac_status=$?
50451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50452 (exit $ac_status); }; }; then
50453 eval "$as_ac_var=yes"
50454 else
50455 echo "$as_me: failed program was:" >&5
50456 sed 's/^/| /' conftest.$ac_ext >&5
50458 eval "$as_ac_var=no"
50460 rm -f conftest.err conftest.$ac_objext \
50461 conftest$ac_exeext conftest.$ac_ext
50463 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50464 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50465 if test `eval echo '${'$as_ac_var'}'` = yes; then
50466 cat >>confdefs.h <<_ACEOF
50467 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50468 _ACEOF
50470 else
50471 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
50473 done
50477 for ac_func in __signbit
50479 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50480 echo "$as_me:$LINENO: checking for $ac_func" >&5
50481 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50482 if eval "test \"\${$as_ac_var+set}\" = set"; then
50483 echo $ECHO_N "(cached) $ECHO_C" >&6
50484 else
50485 if test x$gcc_no_link = xyes; then
50486 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50487 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50488 { (exit 1); exit 1; }; }
50490 cat >conftest.$ac_ext <<_ACEOF
50491 /* confdefs.h. */
50492 _ACEOF
50493 cat confdefs.h >>conftest.$ac_ext
50494 cat >>conftest.$ac_ext <<_ACEOF
50495 /* end confdefs.h. */
50496 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50497 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50498 #define $ac_func innocuous_$ac_func
50500 /* System header to define __stub macros and hopefully few prototypes,
50501 which can conflict with char $ac_func (); below.
50502 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50503 <limits.h> exists even on freestanding compilers. */
50505 #ifdef __STDC__
50506 # include <limits.h>
50507 #else
50508 # include <assert.h>
50509 #endif
50511 #undef $ac_func
50513 /* Override any gcc2 internal prototype to avoid an error. */
50514 #ifdef __cplusplus
50515 extern "C"
50517 #endif
50518 /* We use char because int might match the return type of a gcc2
50519 builtin and then its argument prototype would still apply. */
50520 char $ac_func ();
50521 /* The GNU C library defines this for functions which it implements
50522 to always fail with ENOSYS. Some functions are actually named
50523 something starting with __ and the normal name is an alias. */
50524 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50525 choke me
50526 #else
50527 char (*f) () = $ac_func;
50528 #endif
50529 #ifdef __cplusplus
50531 #endif
50534 main ()
50536 return f != $ac_func;
50538 return 0;
50540 _ACEOF
50541 rm -f conftest.$ac_objext conftest$ac_exeext
50542 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50543 (eval $ac_link) 2>conftest.er1
50544 ac_status=$?
50545 grep -v '^ *+' conftest.er1 >conftest.err
50546 rm -f conftest.er1
50547 cat conftest.err >&5
50548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50549 (exit $ac_status); } &&
50550 { ac_try='test -z "$ac_c_werror_flag"
50551 || test ! -s conftest.err'
50552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50553 (eval $ac_try) 2>&5
50554 ac_status=$?
50555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50556 (exit $ac_status); }; } &&
50557 { ac_try='test -s conftest$ac_exeext'
50558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50559 (eval $ac_try) 2>&5
50560 ac_status=$?
50561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50562 (exit $ac_status); }; }; then
50563 eval "$as_ac_var=yes"
50564 else
50565 echo "$as_me: failed program was:" >&5
50566 sed 's/^/| /' conftest.$ac_ext >&5
50568 eval "$as_ac_var=no"
50570 rm -f conftest.err conftest.$ac_objext \
50571 conftest$ac_exeext conftest.$ac_ext
50573 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50574 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50575 if test `eval echo '${'$as_ac_var'}'` = yes; then
50576 cat >>confdefs.h <<_ACEOF
50577 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50578 _ACEOF
50580 else
50581 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
50583 done
50587 for ac_func in __signbitf
50589 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50590 echo "$as_me:$LINENO: checking for $ac_func" >&5
50591 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50592 if eval "test \"\${$as_ac_var+set}\" = set"; then
50593 echo $ECHO_N "(cached) $ECHO_C" >&6
50594 else
50595 if test x$gcc_no_link = xyes; then
50596 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50597 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50598 { (exit 1); exit 1; }; }
50600 cat >conftest.$ac_ext <<_ACEOF
50601 /* confdefs.h. */
50602 _ACEOF
50603 cat confdefs.h >>conftest.$ac_ext
50604 cat >>conftest.$ac_ext <<_ACEOF
50605 /* end confdefs.h. */
50606 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50607 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50608 #define $ac_func innocuous_$ac_func
50610 /* System header to define __stub macros and hopefully few prototypes,
50611 which can conflict with char $ac_func (); below.
50612 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50613 <limits.h> exists even on freestanding compilers. */
50615 #ifdef __STDC__
50616 # include <limits.h>
50617 #else
50618 # include <assert.h>
50619 #endif
50621 #undef $ac_func
50623 /* Override any gcc2 internal prototype to avoid an error. */
50624 #ifdef __cplusplus
50625 extern "C"
50627 #endif
50628 /* We use char because int might match the return type of a gcc2
50629 builtin and then its argument prototype would still apply. */
50630 char $ac_func ();
50631 /* The GNU C library defines this for functions which it implements
50632 to always fail with ENOSYS. Some functions are actually named
50633 something starting with __ and the normal name is an alias. */
50634 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50635 choke me
50636 #else
50637 char (*f) () = $ac_func;
50638 #endif
50639 #ifdef __cplusplus
50641 #endif
50644 main ()
50646 return f != $ac_func;
50648 return 0;
50650 _ACEOF
50651 rm -f conftest.$ac_objext conftest$ac_exeext
50652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50653 (eval $ac_link) 2>conftest.er1
50654 ac_status=$?
50655 grep -v '^ *+' conftest.er1 >conftest.err
50656 rm -f conftest.er1
50657 cat conftest.err >&5
50658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50659 (exit $ac_status); } &&
50660 { ac_try='test -z "$ac_c_werror_flag"
50661 || test ! -s conftest.err'
50662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50663 (eval $ac_try) 2>&5
50664 ac_status=$?
50665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50666 (exit $ac_status); }; } &&
50667 { ac_try='test -s conftest$ac_exeext'
50668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50669 (eval $ac_try) 2>&5
50670 ac_status=$?
50671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50672 (exit $ac_status); }; }; then
50673 eval "$as_ac_var=yes"
50674 else
50675 echo "$as_me: failed program was:" >&5
50676 sed 's/^/| /' conftest.$ac_ext >&5
50678 eval "$as_ac_var=no"
50680 rm -f conftest.err conftest.$ac_objext \
50681 conftest$ac_exeext conftest.$ac_ext
50683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50684 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50685 if test `eval echo '${'$as_ac_var'}'` = yes; then
50686 cat >>confdefs.h <<_ACEOF
50687 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50688 _ACEOF
50690 else
50691 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
50693 done
50696 if test x$ac_cv_func_copysignl = x"yes"; then
50698 for ac_func in __signbitl
50700 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50701 echo "$as_me:$LINENO: checking for $ac_func" >&5
50702 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50703 if eval "test \"\${$as_ac_var+set}\" = set"; then
50704 echo $ECHO_N "(cached) $ECHO_C" >&6
50705 else
50706 if test x$gcc_no_link = xyes; then
50707 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50708 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50709 { (exit 1); exit 1; }; }
50711 cat >conftest.$ac_ext <<_ACEOF
50712 /* confdefs.h. */
50713 _ACEOF
50714 cat confdefs.h >>conftest.$ac_ext
50715 cat >>conftest.$ac_ext <<_ACEOF
50716 /* end confdefs.h. */
50717 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50718 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50719 #define $ac_func innocuous_$ac_func
50721 /* System header to define __stub macros and hopefully few prototypes,
50722 which can conflict with char $ac_func (); below.
50723 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50724 <limits.h> exists even on freestanding compilers. */
50726 #ifdef __STDC__
50727 # include <limits.h>
50728 #else
50729 # include <assert.h>
50730 #endif
50732 #undef $ac_func
50734 /* Override any gcc2 internal prototype to avoid an error. */
50735 #ifdef __cplusplus
50736 extern "C"
50738 #endif
50739 /* We use char because int might match the return type of a gcc2
50740 builtin and then its argument prototype would still apply. */
50741 char $ac_func ();
50742 /* The GNU C library defines this for functions which it implements
50743 to always fail with ENOSYS. Some functions are actually named
50744 something starting with __ and the normal name is an alias. */
50745 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50746 choke me
50747 #else
50748 char (*f) () = $ac_func;
50749 #endif
50750 #ifdef __cplusplus
50752 #endif
50755 main ()
50757 return f != $ac_func;
50759 return 0;
50761 _ACEOF
50762 rm -f conftest.$ac_objext conftest$ac_exeext
50763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50764 (eval $ac_link) 2>conftest.er1
50765 ac_status=$?
50766 grep -v '^ *+' conftest.er1 >conftest.err
50767 rm -f conftest.er1
50768 cat conftest.err >&5
50769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50770 (exit $ac_status); } &&
50771 { ac_try='test -z "$ac_c_werror_flag"
50772 || test ! -s conftest.err'
50773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50774 (eval $ac_try) 2>&5
50775 ac_status=$?
50776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50777 (exit $ac_status); }; } &&
50778 { ac_try='test -s conftest$ac_exeext'
50779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50780 (eval $ac_try) 2>&5
50781 ac_status=$?
50782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50783 (exit $ac_status); }; }; then
50784 eval "$as_ac_var=yes"
50785 else
50786 echo "$as_me: failed program was:" >&5
50787 sed 's/^/| /' conftest.$ac_ext >&5
50789 eval "$as_ac_var=no"
50791 rm -f conftest.err conftest.$ac_objext \
50792 conftest$ac_exeext conftest.$ac_ext
50794 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50795 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50796 if test `eval echo '${'$as_ac_var'}'` = yes; then
50797 cat >>confdefs.h <<_ACEOF
50798 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50799 _ACEOF
50801 else
50802 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
50804 done
50808 # Used in libmath/Makefile.am.
50809 if test -n "$LIBMATHOBJS"; then
50810 need_libmath=yes
50815 # Test wchar.h for mbstate_t, which is needed for char_traits and
50816 # others even if wchar_t support is not on.
50817 echo "$as_me:$LINENO: checking for mbstate_t" >&5
50818 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
50819 cat >conftest.$ac_ext <<_ACEOF
50820 /* confdefs.h. */
50821 _ACEOF
50822 cat confdefs.h >>conftest.$ac_ext
50823 cat >>conftest.$ac_ext <<_ACEOF
50824 /* end confdefs.h. */
50825 #include <wchar.h>
50827 main ()
50829 mbstate_t teststate;
50831 return 0;
50833 _ACEOF
50834 rm -f conftest.$ac_objext
50835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50836 (eval $ac_compile) 2>conftest.er1
50837 ac_status=$?
50838 grep -v '^ *+' conftest.er1 >conftest.err
50839 rm -f conftest.er1
50840 cat conftest.err >&5
50841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50842 (exit $ac_status); } &&
50843 { ac_try='test -z "$ac_c_werror_flag"
50844 || test ! -s conftest.err'
50845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50846 (eval $ac_try) 2>&5
50847 ac_status=$?
50848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50849 (exit $ac_status); }; } &&
50850 { ac_try='test -s conftest.$ac_objext'
50851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50852 (eval $ac_try) 2>&5
50853 ac_status=$?
50854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50855 (exit $ac_status); }; }; then
50856 have_mbstate_t=yes
50857 else
50858 echo "$as_me: failed program was:" >&5
50859 sed 's/^/| /' conftest.$ac_ext >&5
50861 have_mbstate_t=no
50863 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50864 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
50865 echo "${ECHO_T}$have_mbstate_t" >&6
50866 if test x"$have_mbstate_t" = xyes; then
50867 cat >>confdefs.h <<\_ACEOF
50868 #define HAVE_MBSTATE_T 1
50869 _ACEOF
50873 # Sanity check for existence of ISO C99 headers for extended encoding.
50875 for ac_header in wchar.h
50877 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
50878 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50879 echo "$as_me:$LINENO: checking for $ac_header" >&5
50880 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
50881 if eval "test \"\${$as_ac_Header+set}\" = set"; then
50882 echo $ECHO_N "(cached) $ECHO_C" >&6
50884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
50885 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
50886 else
50887 # Is the header compilable?
50888 echo "$as_me:$LINENO: checking $ac_header usability" >&5
50889 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
50890 cat >conftest.$ac_ext <<_ACEOF
50891 /* confdefs.h. */
50892 _ACEOF
50893 cat confdefs.h >>conftest.$ac_ext
50894 cat >>conftest.$ac_ext <<_ACEOF
50895 /* end confdefs.h. */
50896 $ac_includes_default
50897 #include <$ac_header>
50898 _ACEOF
50899 rm -f conftest.$ac_objext
50900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50901 (eval $ac_compile) 2>conftest.er1
50902 ac_status=$?
50903 grep -v '^ *+' conftest.er1 >conftest.err
50904 rm -f conftest.er1
50905 cat conftest.err >&5
50906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50907 (exit $ac_status); } &&
50908 { ac_try='test -z "$ac_c_werror_flag"
50909 || test ! -s conftest.err'
50910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50911 (eval $ac_try) 2>&5
50912 ac_status=$?
50913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50914 (exit $ac_status); }; } &&
50915 { ac_try='test -s conftest.$ac_objext'
50916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50917 (eval $ac_try) 2>&5
50918 ac_status=$?
50919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50920 (exit $ac_status); }; }; then
50921 ac_header_compiler=yes
50922 else
50923 echo "$as_me: failed program was:" >&5
50924 sed 's/^/| /' conftest.$ac_ext >&5
50926 ac_header_compiler=no
50928 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50929 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
50930 echo "${ECHO_T}$ac_header_compiler" >&6
50932 # Is the header present?
50933 echo "$as_me:$LINENO: checking $ac_header presence" >&5
50934 echo $ECHO_N "checking $ac_header presence... $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 #include <$ac_header>
50942 _ACEOF
50943 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
50944 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
50945 ac_status=$?
50946 grep -v '^ *+' conftest.er1 >conftest.err
50947 rm -f conftest.er1
50948 cat conftest.err >&5
50949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50950 (exit $ac_status); } >/dev/null; then
50951 if test -s conftest.err; then
50952 ac_cpp_err=$ac_c_preproc_warn_flag
50953 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
50954 else
50955 ac_cpp_err=
50957 else
50958 ac_cpp_err=yes
50960 if test -z "$ac_cpp_err"; then
50961 ac_header_preproc=yes
50962 else
50963 echo "$as_me: failed program was:" >&5
50964 sed 's/^/| /' conftest.$ac_ext >&5
50966 ac_header_preproc=no
50968 rm -f conftest.err conftest.$ac_ext
50969 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
50970 echo "${ECHO_T}$ac_header_preproc" >&6
50972 # So? What about this header?
50973 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
50974 yes:no: )
50975 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
50976 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
50977 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
50978 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
50979 ac_header_preproc=yes
50981 no:yes:* )
50982 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
50983 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
50984 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
50985 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
50986 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
50987 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
50988 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
50989 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
50990 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
50991 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
50992 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
50993 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
50995 cat <<\_ASBOX
50996 ## ----------------------------------------- ##
50997 ## Report this to the package-unused lists. ##
50998 ## ----------------------------------------- ##
50999 _ASBOX
51001 sed "s/^/$as_me: WARNING: /" >&2
51003 esac
51004 echo "$as_me:$LINENO: checking for $ac_header" >&5
51005 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51006 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51007 echo $ECHO_N "(cached) $ECHO_C" >&6
51008 else
51009 eval "$as_ac_Header=\$ac_header_preproc"
51011 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51012 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51015 if test `eval echo '${'$as_ac_Header'}'` = yes; then
51016 cat >>confdefs.h <<_ACEOF
51017 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
51018 _ACEOF
51019 ac_has_wchar_h=yes
51020 else
51021 ac_has_wchar_h=no
51024 done
51027 for ac_header in wctype.h
51029 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
51030 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51031 echo "$as_me:$LINENO: checking for $ac_header" >&5
51032 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51033 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51034 echo $ECHO_N "(cached) $ECHO_C" >&6
51036 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51037 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51038 else
51039 # Is the header compilable?
51040 echo "$as_me:$LINENO: checking $ac_header usability" >&5
51041 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
51042 cat >conftest.$ac_ext <<_ACEOF
51043 /* confdefs.h. */
51044 _ACEOF
51045 cat confdefs.h >>conftest.$ac_ext
51046 cat >>conftest.$ac_ext <<_ACEOF
51047 /* end confdefs.h. */
51048 $ac_includes_default
51049 #include <$ac_header>
51050 _ACEOF
51051 rm -f conftest.$ac_objext
51052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51053 (eval $ac_compile) 2>conftest.er1
51054 ac_status=$?
51055 grep -v '^ *+' conftest.er1 >conftest.err
51056 rm -f conftest.er1
51057 cat conftest.err >&5
51058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51059 (exit $ac_status); } &&
51060 { ac_try='test -z "$ac_c_werror_flag"
51061 || test ! -s conftest.err'
51062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51063 (eval $ac_try) 2>&5
51064 ac_status=$?
51065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51066 (exit $ac_status); }; } &&
51067 { ac_try='test -s conftest.$ac_objext'
51068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51069 (eval $ac_try) 2>&5
51070 ac_status=$?
51071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51072 (exit $ac_status); }; }; then
51073 ac_header_compiler=yes
51074 else
51075 echo "$as_me: failed program was:" >&5
51076 sed 's/^/| /' conftest.$ac_ext >&5
51078 ac_header_compiler=no
51080 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51081 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51082 echo "${ECHO_T}$ac_header_compiler" >&6
51084 # Is the header present?
51085 echo "$as_me:$LINENO: checking $ac_header presence" >&5
51086 echo $ECHO_N "checking $ac_header presence... $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 #include <$ac_header>
51094 _ACEOF
51095 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51096 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51097 ac_status=$?
51098 grep -v '^ *+' conftest.er1 >conftest.err
51099 rm -f conftest.er1
51100 cat conftest.err >&5
51101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51102 (exit $ac_status); } >/dev/null; then
51103 if test -s conftest.err; then
51104 ac_cpp_err=$ac_c_preproc_warn_flag
51105 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51106 else
51107 ac_cpp_err=
51109 else
51110 ac_cpp_err=yes
51112 if test -z "$ac_cpp_err"; then
51113 ac_header_preproc=yes
51114 else
51115 echo "$as_me: failed program was:" >&5
51116 sed 's/^/| /' conftest.$ac_ext >&5
51118 ac_header_preproc=no
51120 rm -f conftest.err conftest.$ac_ext
51121 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51122 echo "${ECHO_T}$ac_header_preproc" >&6
51124 # So? What about this header?
51125 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51126 yes:no: )
51127 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
51128 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
51129 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
51130 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
51131 ac_header_preproc=yes
51133 no:yes:* )
51134 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
51135 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
51136 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
51137 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
51138 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
51139 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
51140 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
51141 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
51142 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
51143 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
51144 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
51145 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
51147 cat <<\_ASBOX
51148 ## ----------------------------------------- ##
51149 ## Report this to the package-unused lists. ##
51150 ## ----------------------------------------- ##
51151 _ASBOX
51153 sed "s/^/$as_me: WARNING: /" >&2
51155 esac
51156 echo "$as_me:$LINENO: checking for $ac_header" >&5
51157 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
51158 if eval "test \"\${$as_ac_Header+set}\" = set"; then
51159 echo $ECHO_N "(cached) $ECHO_C" >&6
51160 else
51161 eval "$as_ac_Header=\$ac_header_preproc"
51163 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
51164 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
51167 if test `eval echo '${'$as_ac_Header'}'` = yes; then
51168 cat >>confdefs.h <<_ACEOF
51169 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
51170 _ACEOF
51171 ac_has_wctype_h=yes
51172 else
51173 ac_has_wctype_h=no
51176 done
51179 # Only continue checking if the ISO C99 headers exist and support is on.
51180 if test x"$ac_has_wchar_h" = xyes &&
51181 test x"$ac_has_wctype_h" = xyes &&
51182 test x"$enable_c_mbchar" != xno; then
51184 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
51185 # numeric_limits can instantiate type_traits<wchar_t>
51186 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
51187 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
51188 cat >conftest.$ac_ext <<_ACEOF
51189 /* confdefs.h. */
51190 _ACEOF
51191 cat confdefs.h >>conftest.$ac_ext
51192 cat >>conftest.$ac_ext <<_ACEOF
51193 /* end confdefs.h. */
51194 #include <wchar.h>
51196 main ()
51198 int i = WCHAR_MIN; int j = WCHAR_MAX;
51200 return 0;
51202 _ACEOF
51203 rm -f conftest.$ac_objext
51204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51205 (eval $ac_compile) 2>conftest.er1
51206 ac_status=$?
51207 grep -v '^ *+' conftest.er1 >conftest.err
51208 rm -f conftest.er1
51209 cat conftest.err >&5
51210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51211 (exit $ac_status); } &&
51212 { ac_try='test -z "$ac_c_werror_flag"
51213 || test ! -s conftest.err'
51214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51215 (eval $ac_try) 2>&5
51216 ac_status=$?
51217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51218 (exit $ac_status); }; } &&
51219 { ac_try='test -s conftest.$ac_objext'
51220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51221 (eval $ac_try) 2>&5
51222 ac_status=$?
51223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51224 (exit $ac_status); }; }; then
51225 has_wchar_minmax=yes
51226 else
51227 echo "$as_me: failed program was:" >&5
51228 sed 's/^/| /' conftest.$ac_ext >&5
51230 has_wchar_minmax=no
51232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51233 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
51234 echo "${ECHO_T}$has_wchar_minmax" >&6
51236 # Test wchar.h for WEOF, which is what we use to determine whether
51237 # to specialize for char_traits<wchar_t> or not.
51238 echo "$as_me:$LINENO: checking for WEOF" >&5
51239 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
51240 cat >conftest.$ac_ext <<_ACEOF
51241 /* confdefs.h. */
51242 _ACEOF
51243 cat confdefs.h >>conftest.$ac_ext
51244 cat >>conftest.$ac_ext <<_ACEOF
51245 /* end confdefs.h. */
51247 #include <wchar.h>
51248 #include <stddef.h>
51250 main ()
51252 wint_t i = WEOF;
51254 return 0;
51256 _ACEOF
51257 rm -f conftest.$ac_objext
51258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51259 (eval $ac_compile) 2>conftest.er1
51260 ac_status=$?
51261 grep -v '^ *+' conftest.er1 >conftest.err
51262 rm -f conftest.er1
51263 cat conftest.err >&5
51264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51265 (exit $ac_status); } &&
51266 { ac_try='test -z "$ac_c_werror_flag"
51267 || test ! -s conftest.err'
51268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51269 (eval $ac_try) 2>&5
51270 ac_status=$?
51271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51272 (exit $ac_status); }; } &&
51273 { ac_try='test -s conftest.$ac_objext'
51274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51275 (eval $ac_try) 2>&5
51276 ac_status=$?
51277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51278 (exit $ac_status); }; }; then
51279 has_weof=yes
51280 else
51281 echo "$as_me: failed program was:" >&5
51282 sed 's/^/| /' conftest.$ac_ext >&5
51284 has_weof=no
51286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51287 echo "$as_me:$LINENO: result: $has_weof" >&5
51288 echo "${ECHO_T}$has_weof" >&6
51290 # Tests for wide character functions used in char_traits<wchar_t>.
51291 ac_wfuncs=yes
51298 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
51300 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51301 echo "$as_me:$LINENO: checking for $ac_func" >&5
51302 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51303 if eval "test \"\${$as_ac_var+set}\" = set"; then
51304 echo $ECHO_N "(cached) $ECHO_C" >&6
51305 else
51306 if test x$gcc_no_link = xyes; then
51307 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51308 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51309 { (exit 1); exit 1; }; }
51311 cat >conftest.$ac_ext <<_ACEOF
51312 /* confdefs.h. */
51313 _ACEOF
51314 cat confdefs.h >>conftest.$ac_ext
51315 cat >>conftest.$ac_ext <<_ACEOF
51316 /* end confdefs.h. */
51317 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51318 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51319 #define $ac_func innocuous_$ac_func
51321 /* System header to define __stub macros and hopefully few prototypes,
51322 which can conflict with char $ac_func (); below.
51323 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51324 <limits.h> exists even on freestanding compilers. */
51326 #ifdef __STDC__
51327 # include <limits.h>
51328 #else
51329 # include <assert.h>
51330 #endif
51332 #undef $ac_func
51334 /* Override any gcc2 internal prototype to avoid an error. */
51335 #ifdef __cplusplus
51336 extern "C"
51338 #endif
51339 /* We use char because int might match the return type of a gcc2
51340 builtin and then its argument prototype would still apply. */
51341 char $ac_func ();
51342 /* The GNU C library defines this for functions which it implements
51343 to always fail with ENOSYS. Some functions are actually named
51344 something starting with __ and the normal name is an alias. */
51345 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51346 choke me
51347 #else
51348 char (*f) () = $ac_func;
51349 #endif
51350 #ifdef __cplusplus
51352 #endif
51355 main ()
51357 return f != $ac_func;
51359 return 0;
51361 _ACEOF
51362 rm -f conftest.$ac_objext conftest$ac_exeext
51363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51364 (eval $ac_link) 2>conftest.er1
51365 ac_status=$?
51366 grep -v '^ *+' conftest.er1 >conftest.err
51367 rm -f conftest.er1
51368 cat conftest.err >&5
51369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51370 (exit $ac_status); } &&
51371 { ac_try='test -z "$ac_c_werror_flag"
51372 || test ! -s conftest.err'
51373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51374 (eval $ac_try) 2>&5
51375 ac_status=$?
51376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51377 (exit $ac_status); }; } &&
51378 { ac_try='test -s conftest$ac_exeext'
51379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51380 (eval $ac_try) 2>&5
51381 ac_status=$?
51382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51383 (exit $ac_status); }; }; then
51384 eval "$as_ac_var=yes"
51385 else
51386 echo "$as_me: failed program was:" >&5
51387 sed 's/^/| /' conftest.$ac_ext >&5
51389 eval "$as_ac_var=no"
51391 rm -f conftest.err conftest.$ac_objext \
51392 conftest$ac_exeext conftest.$ac_ext
51394 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51395 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51396 if test `eval echo '${'$as_ac_var'}'` = yes; then
51397 cat >>confdefs.h <<_ACEOF
51398 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51399 _ACEOF
51401 else
51402 ac_wfuncs=no
51404 done
51407 # Checks for names injected into std:: by the c_std headers.
51454 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
51455 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
51456 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
51457 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
51458 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
51459 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
51461 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51462 echo "$as_me:$LINENO: checking for $ac_func" >&5
51463 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51464 if eval "test \"\${$as_ac_var+set}\" = set"; then
51465 echo $ECHO_N "(cached) $ECHO_C" >&6
51466 else
51467 if test x$gcc_no_link = xyes; then
51468 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51469 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51470 { (exit 1); exit 1; }; }
51472 cat >conftest.$ac_ext <<_ACEOF
51473 /* confdefs.h. */
51474 _ACEOF
51475 cat confdefs.h >>conftest.$ac_ext
51476 cat >>conftest.$ac_ext <<_ACEOF
51477 /* end confdefs.h. */
51478 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51479 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51480 #define $ac_func innocuous_$ac_func
51482 /* System header to define __stub macros and hopefully few prototypes,
51483 which can conflict with char $ac_func (); below.
51484 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51485 <limits.h> exists even on freestanding compilers. */
51487 #ifdef __STDC__
51488 # include <limits.h>
51489 #else
51490 # include <assert.h>
51491 #endif
51493 #undef $ac_func
51495 /* Override any gcc2 internal prototype to avoid an error. */
51496 #ifdef __cplusplus
51497 extern "C"
51499 #endif
51500 /* We use char because int might match the return type of a gcc2
51501 builtin and then its argument prototype would still apply. */
51502 char $ac_func ();
51503 /* The GNU C library defines this for functions which it implements
51504 to always fail with ENOSYS. Some functions are actually named
51505 something starting with __ and the normal name is an alias. */
51506 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51507 choke me
51508 #else
51509 char (*f) () = $ac_func;
51510 #endif
51511 #ifdef __cplusplus
51513 #endif
51516 main ()
51518 return f != $ac_func;
51520 return 0;
51522 _ACEOF
51523 rm -f conftest.$ac_objext conftest$ac_exeext
51524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51525 (eval $ac_link) 2>conftest.er1
51526 ac_status=$?
51527 grep -v '^ *+' conftest.er1 >conftest.err
51528 rm -f conftest.er1
51529 cat conftest.err >&5
51530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51531 (exit $ac_status); } &&
51532 { ac_try='test -z "$ac_c_werror_flag"
51533 || test ! -s conftest.err'
51534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51535 (eval $ac_try) 2>&5
51536 ac_status=$?
51537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51538 (exit $ac_status); }; } &&
51539 { ac_try='test -s conftest$ac_exeext'
51540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51541 (eval $ac_try) 2>&5
51542 ac_status=$?
51543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51544 (exit $ac_status); }; }; then
51545 eval "$as_ac_var=yes"
51546 else
51547 echo "$as_me: failed program was:" >&5
51548 sed 's/^/| /' conftest.$ac_ext >&5
51550 eval "$as_ac_var=no"
51552 rm -f conftest.err conftest.$ac_objext \
51553 conftest$ac_exeext conftest.$ac_ext
51555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51556 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51557 if test `eval echo '${'$as_ac_var'}'` = yes; then
51558 cat >>confdefs.h <<_ACEOF
51559 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51560 _ACEOF
51562 else
51563 ac_wfuncs=no
51565 done
51568 # Checks for wide character functions that are not required
51569 # for basic wchar_t support. Don't disable support if they are missing.
51570 # Injection of these is wrapped with guard macros.
51576 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
51578 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51579 echo "$as_me:$LINENO: checking for $ac_func" >&5
51580 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51581 if eval "test \"\${$as_ac_var+set}\" = set"; then
51582 echo $ECHO_N "(cached) $ECHO_C" >&6
51583 else
51584 if test x$gcc_no_link = xyes; then
51585 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51586 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51587 { (exit 1); exit 1; }; }
51589 cat >conftest.$ac_ext <<_ACEOF
51590 /* confdefs.h. */
51591 _ACEOF
51592 cat confdefs.h >>conftest.$ac_ext
51593 cat >>conftest.$ac_ext <<_ACEOF
51594 /* end confdefs.h. */
51595 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51596 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51597 #define $ac_func innocuous_$ac_func
51599 /* System header to define __stub macros and hopefully few prototypes,
51600 which can conflict with char $ac_func (); below.
51601 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51602 <limits.h> exists even on freestanding compilers. */
51604 #ifdef __STDC__
51605 # include <limits.h>
51606 #else
51607 # include <assert.h>
51608 #endif
51610 #undef $ac_func
51612 /* Override any gcc2 internal prototype to avoid an error. */
51613 #ifdef __cplusplus
51614 extern "C"
51616 #endif
51617 /* We use char because int might match the return type of a gcc2
51618 builtin and then its argument prototype would still apply. */
51619 char $ac_func ();
51620 /* The GNU C library defines this for functions which it implements
51621 to always fail with ENOSYS. Some functions are actually named
51622 something starting with __ and the normal name is an alias. */
51623 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51624 choke me
51625 #else
51626 char (*f) () = $ac_func;
51627 #endif
51628 #ifdef __cplusplus
51630 #endif
51633 main ()
51635 return f != $ac_func;
51637 return 0;
51639 _ACEOF
51640 rm -f conftest.$ac_objext conftest$ac_exeext
51641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51642 (eval $ac_link) 2>conftest.er1
51643 ac_status=$?
51644 grep -v '^ *+' conftest.er1 >conftest.err
51645 rm -f conftest.er1
51646 cat conftest.err >&5
51647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51648 (exit $ac_status); } &&
51649 { ac_try='test -z "$ac_c_werror_flag"
51650 || test ! -s conftest.err'
51651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51652 (eval $ac_try) 2>&5
51653 ac_status=$?
51654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51655 (exit $ac_status); }; } &&
51656 { ac_try='test -s conftest$ac_exeext'
51657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51658 (eval $ac_try) 2>&5
51659 ac_status=$?
51660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51661 (exit $ac_status); }; }; then
51662 eval "$as_ac_var=yes"
51663 else
51664 echo "$as_me: failed program was:" >&5
51665 sed 's/^/| /' conftest.$ac_ext >&5
51667 eval "$as_ac_var=no"
51669 rm -f conftest.err conftest.$ac_objext \
51670 conftest$ac_exeext conftest.$ac_ext
51672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51673 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51674 if test `eval echo '${'$as_ac_var'}'` = yes; then
51675 cat >>confdefs.h <<_ACEOF
51676 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51677 _ACEOF
51680 done
51683 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
51684 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
51685 if test x"$has_weof" = xyes &&
51686 test x"$has_wchar_minmax" = xyes &&
51687 test x"$ac_wfuncs" = xyes;
51688 then
51689 ac_isoC99_wchar_t=yes
51690 else
51691 ac_isoC99_wchar_t=no
51693 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
51694 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
51696 # Use iconv for wchar_t to char conversions. As such, check for
51697 # X/Open Portability Guide, version 2 features (XPG2).
51698 if test "${ac_cv_header_iconv_h+set}" = set; then
51699 echo "$as_me:$LINENO: checking for iconv.h" >&5
51700 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
51701 if test "${ac_cv_header_iconv_h+set}" = set; then
51702 echo $ECHO_N "(cached) $ECHO_C" >&6
51704 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
51705 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
51706 else
51707 # Is the header compilable?
51708 echo "$as_me:$LINENO: checking iconv.h usability" >&5
51709 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
51710 cat >conftest.$ac_ext <<_ACEOF
51711 /* confdefs.h. */
51712 _ACEOF
51713 cat confdefs.h >>conftest.$ac_ext
51714 cat >>conftest.$ac_ext <<_ACEOF
51715 /* end confdefs.h. */
51716 $ac_includes_default
51717 #include <iconv.h>
51718 _ACEOF
51719 rm -f conftest.$ac_objext
51720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51721 (eval $ac_compile) 2>conftest.er1
51722 ac_status=$?
51723 grep -v '^ *+' conftest.er1 >conftest.err
51724 rm -f conftest.er1
51725 cat conftest.err >&5
51726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51727 (exit $ac_status); } &&
51728 { ac_try='test -z "$ac_c_werror_flag"
51729 || test ! -s conftest.err'
51730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51731 (eval $ac_try) 2>&5
51732 ac_status=$?
51733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51734 (exit $ac_status); }; } &&
51735 { ac_try='test -s conftest.$ac_objext'
51736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51737 (eval $ac_try) 2>&5
51738 ac_status=$?
51739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51740 (exit $ac_status); }; }; then
51741 ac_header_compiler=yes
51742 else
51743 echo "$as_me: failed program was:" >&5
51744 sed 's/^/| /' conftest.$ac_ext >&5
51746 ac_header_compiler=no
51748 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51749 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51750 echo "${ECHO_T}$ac_header_compiler" >&6
51752 # Is the header present?
51753 echo "$as_me:$LINENO: checking iconv.h presence" >&5
51754 echo $ECHO_N "checking iconv.h presence... $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 #include <iconv.h>
51762 _ACEOF
51763 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51764 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51765 ac_status=$?
51766 grep -v '^ *+' conftest.er1 >conftest.err
51767 rm -f conftest.er1
51768 cat conftest.err >&5
51769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51770 (exit $ac_status); } >/dev/null; then
51771 if test -s conftest.err; then
51772 ac_cpp_err=$ac_c_preproc_warn_flag
51773 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51774 else
51775 ac_cpp_err=
51777 else
51778 ac_cpp_err=yes
51780 if test -z "$ac_cpp_err"; then
51781 ac_header_preproc=yes
51782 else
51783 echo "$as_me: failed program was:" >&5
51784 sed 's/^/| /' conftest.$ac_ext >&5
51786 ac_header_preproc=no
51788 rm -f conftest.err conftest.$ac_ext
51789 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51790 echo "${ECHO_T}$ac_header_preproc" >&6
51792 # So? What about this header?
51793 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51794 yes:no: )
51795 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
51796 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
51797 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
51798 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
51799 ac_header_preproc=yes
51801 no:yes:* )
51802 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
51803 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
51804 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
51805 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
51806 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
51807 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
51808 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
51809 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
51810 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
51811 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
51812 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
51813 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
51815 cat <<\_ASBOX
51816 ## ----------------------------------------- ##
51817 ## Report this to the package-unused lists. ##
51818 ## ----------------------------------------- ##
51819 _ASBOX
51821 sed "s/^/$as_me: WARNING: /" >&2
51823 esac
51824 echo "$as_me:$LINENO: checking for iconv.h" >&5
51825 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
51826 if test "${ac_cv_header_iconv_h+set}" = set; then
51827 echo $ECHO_N "(cached) $ECHO_C" >&6
51828 else
51829 ac_cv_header_iconv_h=$ac_header_preproc
51831 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
51832 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
51835 if test $ac_cv_header_iconv_h = yes; then
51836 ac_has_iconv_h=yes
51837 else
51838 ac_has_iconv_h=no
51842 if test "${ac_cv_header_langinfo_h+set}" = set; then
51843 echo "$as_me:$LINENO: checking for langinfo.h" >&5
51844 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
51845 if test "${ac_cv_header_langinfo_h+set}" = set; then
51846 echo $ECHO_N "(cached) $ECHO_C" >&6
51848 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
51849 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
51850 else
51851 # Is the header compilable?
51852 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
51853 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
51854 cat >conftest.$ac_ext <<_ACEOF
51855 /* confdefs.h. */
51856 _ACEOF
51857 cat confdefs.h >>conftest.$ac_ext
51858 cat >>conftest.$ac_ext <<_ACEOF
51859 /* end confdefs.h. */
51860 $ac_includes_default
51861 #include <langinfo.h>
51862 _ACEOF
51863 rm -f conftest.$ac_objext
51864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51865 (eval $ac_compile) 2>conftest.er1
51866 ac_status=$?
51867 grep -v '^ *+' conftest.er1 >conftest.err
51868 rm -f conftest.er1
51869 cat conftest.err >&5
51870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51871 (exit $ac_status); } &&
51872 { ac_try='test -z "$ac_c_werror_flag"
51873 || test ! -s conftest.err'
51874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51875 (eval $ac_try) 2>&5
51876 ac_status=$?
51877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51878 (exit $ac_status); }; } &&
51879 { ac_try='test -s conftest.$ac_objext'
51880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51881 (eval $ac_try) 2>&5
51882 ac_status=$?
51883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51884 (exit $ac_status); }; }; then
51885 ac_header_compiler=yes
51886 else
51887 echo "$as_me: failed program was:" >&5
51888 sed 's/^/| /' conftest.$ac_ext >&5
51890 ac_header_compiler=no
51892 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51893 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
51894 echo "${ECHO_T}$ac_header_compiler" >&6
51896 # Is the header present?
51897 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
51898 echo $ECHO_N "checking langinfo.h presence... $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 #include <langinfo.h>
51906 _ACEOF
51907 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
51908 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
51909 ac_status=$?
51910 grep -v '^ *+' conftest.er1 >conftest.err
51911 rm -f conftest.er1
51912 cat conftest.err >&5
51913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51914 (exit $ac_status); } >/dev/null; then
51915 if test -s conftest.err; then
51916 ac_cpp_err=$ac_c_preproc_warn_flag
51917 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
51918 else
51919 ac_cpp_err=
51921 else
51922 ac_cpp_err=yes
51924 if test -z "$ac_cpp_err"; then
51925 ac_header_preproc=yes
51926 else
51927 echo "$as_me: failed program was:" >&5
51928 sed 's/^/| /' conftest.$ac_ext >&5
51930 ac_header_preproc=no
51932 rm -f conftest.err conftest.$ac_ext
51933 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
51934 echo "${ECHO_T}$ac_header_preproc" >&6
51936 # So? What about this header?
51937 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
51938 yes:no: )
51939 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
51940 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
51941 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
51942 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
51943 ac_header_preproc=yes
51945 no:yes:* )
51946 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
51947 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
51948 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
51949 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
51950 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
51951 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
51952 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
51953 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
51954 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
51955 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
51956 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
51957 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
51959 cat <<\_ASBOX
51960 ## ----------------------------------------- ##
51961 ## Report this to the package-unused lists. ##
51962 ## ----------------------------------------- ##
51963 _ASBOX
51965 sed "s/^/$as_me: WARNING: /" >&2
51967 esac
51968 echo "$as_me:$LINENO: checking for langinfo.h" >&5
51969 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
51970 if test "${ac_cv_header_langinfo_h+set}" = set; then
51971 echo $ECHO_N "(cached) $ECHO_C" >&6
51972 else
51973 ac_cv_header_langinfo_h=$ac_header_preproc
51975 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
51976 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
51979 if test $ac_cv_header_langinfo_h = yes; then
51980 ac_has_langinfo_h=yes
51981 else
51982 ac_has_langinfo_h=no
51987 # Check for existence of libiconv.a providing XPG2 wchar_t support.
51988 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
51989 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
51990 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
51991 echo $ECHO_N "(cached) $ECHO_C" >&6
51992 else
51993 ac_check_lib_save_LIBS=$LIBS
51994 LIBS="-liconv $LIBS"
51995 if test x$gcc_no_link = xyes; then
51996 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51997 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51998 { (exit 1); exit 1; }; }
52000 cat >conftest.$ac_ext <<_ACEOF
52001 /* confdefs.h. */
52002 _ACEOF
52003 cat confdefs.h >>conftest.$ac_ext
52004 cat >>conftest.$ac_ext <<_ACEOF
52005 /* end confdefs.h. */
52007 /* Override any gcc2 internal prototype to avoid an error. */
52008 #ifdef __cplusplus
52009 extern "C"
52010 #endif
52011 /* We use char because int might match the return type of a gcc2
52012 builtin and then its argument prototype would still apply. */
52013 char iconv ();
52015 main ()
52017 iconv ();
52019 return 0;
52021 _ACEOF
52022 rm -f conftest.$ac_objext conftest$ac_exeext
52023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52024 (eval $ac_link) 2>conftest.er1
52025 ac_status=$?
52026 grep -v '^ *+' conftest.er1 >conftest.err
52027 rm -f conftest.er1
52028 cat conftest.err >&5
52029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52030 (exit $ac_status); } &&
52031 { ac_try='test -z "$ac_c_werror_flag"
52032 || test ! -s conftest.err'
52033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52034 (eval $ac_try) 2>&5
52035 ac_status=$?
52036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52037 (exit $ac_status); }; } &&
52038 { ac_try='test -s conftest$ac_exeext'
52039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52040 (eval $ac_try) 2>&5
52041 ac_status=$?
52042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52043 (exit $ac_status); }; }; then
52044 ac_cv_lib_iconv_iconv=yes
52045 else
52046 echo "$as_me: failed program was:" >&5
52047 sed 's/^/| /' conftest.$ac_ext >&5
52049 ac_cv_lib_iconv_iconv=no
52051 rm -f conftest.err conftest.$ac_objext \
52052 conftest$ac_exeext conftest.$ac_ext
52053 LIBS=$ac_check_lib_save_LIBS
52055 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
52056 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
52057 if test $ac_cv_lib_iconv_iconv = yes; then
52058 LIBICONV="-liconv"
52061 ac_save_LIBS="$LIBS"
52062 LIBS="$LIBS $LIBICONV"
52069 for ac_func in iconv_open iconv_close iconv nl_langinfo
52071 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52072 echo "$as_me:$LINENO: checking for $ac_func" >&5
52073 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52074 if eval "test \"\${$as_ac_var+set}\" = set"; then
52075 echo $ECHO_N "(cached) $ECHO_C" >&6
52076 else
52077 if test x$gcc_no_link = xyes; then
52078 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52079 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52080 { (exit 1); exit 1; }; }
52082 cat >conftest.$ac_ext <<_ACEOF
52083 /* confdefs.h. */
52084 _ACEOF
52085 cat confdefs.h >>conftest.$ac_ext
52086 cat >>conftest.$ac_ext <<_ACEOF
52087 /* end confdefs.h. */
52088 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52089 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52090 #define $ac_func innocuous_$ac_func
52092 /* System header to define __stub macros and hopefully few prototypes,
52093 which can conflict with char $ac_func (); below.
52094 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52095 <limits.h> exists even on freestanding compilers. */
52097 #ifdef __STDC__
52098 # include <limits.h>
52099 #else
52100 # include <assert.h>
52101 #endif
52103 #undef $ac_func
52105 /* Override any gcc2 internal prototype to avoid an error. */
52106 #ifdef __cplusplus
52107 extern "C"
52109 #endif
52110 /* We use char because int might match the return type of a gcc2
52111 builtin and then its argument prototype would still apply. */
52112 char $ac_func ();
52113 /* The GNU C library defines this for functions which it implements
52114 to always fail with ENOSYS. Some functions are actually named
52115 something starting with __ and the normal name is an alias. */
52116 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52117 choke me
52118 #else
52119 char (*f) () = $ac_func;
52120 #endif
52121 #ifdef __cplusplus
52123 #endif
52126 main ()
52128 return f != $ac_func;
52130 return 0;
52132 _ACEOF
52133 rm -f conftest.$ac_objext conftest$ac_exeext
52134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52135 (eval $ac_link) 2>conftest.er1
52136 ac_status=$?
52137 grep -v '^ *+' conftest.er1 >conftest.err
52138 rm -f conftest.er1
52139 cat conftest.err >&5
52140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52141 (exit $ac_status); } &&
52142 { ac_try='test -z "$ac_c_werror_flag"
52143 || test ! -s conftest.err'
52144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52145 (eval $ac_try) 2>&5
52146 ac_status=$?
52147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52148 (exit $ac_status); }; } &&
52149 { ac_try='test -s conftest$ac_exeext'
52150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52151 (eval $ac_try) 2>&5
52152 ac_status=$?
52153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52154 (exit $ac_status); }; }; then
52155 eval "$as_ac_var=yes"
52156 else
52157 echo "$as_me: failed program was:" >&5
52158 sed 's/^/| /' conftest.$ac_ext >&5
52160 eval "$as_ac_var=no"
52162 rm -f conftest.err conftest.$ac_objext \
52163 conftest$ac_exeext conftest.$ac_ext
52165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52166 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52167 if test `eval echo '${'$as_ac_var'}'` = yes; then
52168 cat >>confdefs.h <<_ACEOF
52169 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52170 _ACEOF
52171 ac_XPG2funcs=yes
52172 else
52173 ac_XPG2funcs=no
52175 done
52178 LIBS="$ac_save_LIBS"
52180 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
52181 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
52182 if test x"$ac_has_iconv_h" = xyes &&
52183 test x"$ac_has_langinfo_h" = xyes &&
52184 test x"$ac_XPG2funcs" = xyes;
52185 then
52186 ac_XPG2_wchar_t=yes
52187 else
52188 ac_XPG2_wchar_t=no
52190 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
52191 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
52193 # At the moment, only enable wchar_t specializations if all the
52194 # above support is present.
52195 if test x"$ac_isoC99_wchar_t" = xyes &&
52196 test x"$ac_XPG2_wchar_t" = xyes;
52197 then
52198 cat >>confdefs.h <<\_ACEOF
52199 #define _GLIBCXX_USE_WCHAR_T 1
52200 _ACEOF
52202 enable_wchar_t=yes
52205 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
52206 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
52207 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
52208 echo "${ECHO_T}$enable_wchar_t" >&6
52211 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52212 ac_save_CXXFLAGS="$CXXFLAGS"
52213 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52216 echo "$as_me:$LINENO: checking for strtold declaration" >&5
52217 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
52218 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
52219 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
52220 echo $ECHO_N "(cached) $ECHO_C" >&6
52221 else
52225 ac_ext=cc
52226 ac_cpp='$CXXCPP $CPPFLAGS'
52227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52231 cat >conftest.$ac_ext <<_ACEOF
52232 /* confdefs.h. */
52233 _ACEOF
52234 cat confdefs.h >>conftest.$ac_ext
52235 cat >>conftest.$ac_ext <<_ACEOF
52236 /* end confdefs.h. */
52237 #include <stdlib.h>
52239 main ()
52241 strtold(0, 0);
52243 return 0;
52245 _ACEOF
52246 rm -f conftest.$ac_objext
52247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52248 (eval $ac_compile) 2>conftest.er1
52249 ac_status=$?
52250 grep -v '^ *+' conftest.er1 >conftest.err
52251 rm -f conftest.er1
52252 cat conftest.err >&5
52253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52254 (exit $ac_status); } &&
52255 { ac_try='test -z "$ac_cxx_werror_flag"
52256 || test ! -s conftest.err'
52257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52258 (eval $ac_try) 2>&5
52259 ac_status=$?
52260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52261 (exit $ac_status); }; } &&
52262 { ac_try='test -s conftest.$ac_objext'
52263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52264 (eval $ac_try) 2>&5
52265 ac_status=$?
52266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52267 (exit $ac_status); }; }; then
52268 glibcxx_cv_func_strtold_use=yes
52269 else
52270 echo "$as_me: failed program was:" >&5
52271 sed 's/^/| /' conftest.$ac_ext >&5
52273 glibcxx_cv_func_strtold_use=no
52275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52276 ac_ext=c
52277 ac_cpp='$CPP $CPPFLAGS'
52278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52286 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
52287 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
52288 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
52290 for ac_func in strtold
52292 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52293 echo "$as_me:$LINENO: checking for $ac_func" >&5
52294 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52295 if eval "test \"\${$as_ac_var+set}\" = set"; then
52296 echo $ECHO_N "(cached) $ECHO_C" >&6
52297 else
52298 if test x$gcc_no_link = xyes; then
52299 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52300 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52301 { (exit 1); exit 1; }; }
52303 cat >conftest.$ac_ext <<_ACEOF
52304 /* confdefs.h. */
52305 _ACEOF
52306 cat confdefs.h >>conftest.$ac_ext
52307 cat >>conftest.$ac_ext <<_ACEOF
52308 /* end confdefs.h. */
52309 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52310 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52311 #define $ac_func innocuous_$ac_func
52313 /* System header to define __stub macros and hopefully few prototypes,
52314 which can conflict with char $ac_func (); below.
52315 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52316 <limits.h> exists even on freestanding compilers. */
52318 #ifdef __STDC__
52319 # include <limits.h>
52320 #else
52321 # include <assert.h>
52322 #endif
52324 #undef $ac_func
52326 /* Override any gcc2 internal prototype to avoid an error. */
52327 #ifdef __cplusplus
52328 extern "C"
52330 #endif
52331 /* We use char because int might match the return type of a gcc2
52332 builtin and then its argument prototype would still apply. */
52333 char $ac_func ();
52334 /* The GNU C library defines this for functions which it implements
52335 to always fail with ENOSYS. Some functions are actually named
52336 something starting with __ and the normal name is an alias. */
52337 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52338 choke me
52339 #else
52340 char (*f) () = $ac_func;
52341 #endif
52342 #ifdef __cplusplus
52344 #endif
52347 main ()
52349 return f != $ac_func;
52351 return 0;
52353 _ACEOF
52354 rm -f conftest.$ac_objext conftest$ac_exeext
52355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52356 (eval $ac_link) 2>conftest.er1
52357 ac_status=$?
52358 grep -v '^ *+' conftest.er1 >conftest.err
52359 rm -f conftest.er1
52360 cat conftest.err >&5
52361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52362 (exit $ac_status); } &&
52363 { ac_try='test -z "$ac_c_werror_flag"
52364 || test ! -s conftest.err'
52365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52366 (eval $ac_try) 2>&5
52367 ac_status=$?
52368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52369 (exit $ac_status); }; } &&
52370 { ac_try='test -s conftest$ac_exeext'
52371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52372 (eval $ac_try) 2>&5
52373 ac_status=$?
52374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52375 (exit $ac_status); }; }; then
52376 eval "$as_ac_var=yes"
52377 else
52378 echo "$as_me: failed program was:" >&5
52379 sed 's/^/| /' conftest.$ac_ext >&5
52381 eval "$as_ac_var=no"
52383 rm -f conftest.err conftest.$ac_objext \
52384 conftest$ac_exeext conftest.$ac_ext
52386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52387 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52388 if test `eval echo '${'$as_ac_var'}'` = yes; then
52389 cat >>confdefs.h <<_ACEOF
52390 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52391 _ACEOF
52394 done
52399 echo "$as_me:$LINENO: checking for strtof declaration" >&5
52400 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
52401 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
52402 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
52403 echo $ECHO_N "(cached) $ECHO_C" >&6
52404 else
52408 ac_ext=cc
52409 ac_cpp='$CXXCPP $CPPFLAGS'
52410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52414 cat >conftest.$ac_ext <<_ACEOF
52415 /* confdefs.h. */
52416 _ACEOF
52417 cat confdefs.h >>conftest.$ac_ext
52418 cat >>conftest.$ac_ext <<_ACEOF
52419 /* end confdefs.h. */
52420 #include <stdlib.h>
52422 main ()
52424 strtof(0, 0);
52426 return 0;
52428 _ACEOF
52429 rm -f conftest.$ac_objext
52430 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52431 (eval $ac_compile) 2>conftest.er1
52432 ac_status=$?
52433 grep -v '^ *+' conftest.er1 >conftest.err
52434 rm -f conftest.er1
52435 cat conftest.err >&5
52436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52437 (exit $ac_status); } &&
52438 { ac_try='test -z "$ac_cxx_werror_flag"
52439 || test ! -s conftest.err'
52440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52441 (eval $ac_try) 2>&5
52442 ac_status=$?
52443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52444 (exit $ac_status); }; } &&
52445 { ac_try='test -s conftest.$ac_objext'
52446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52447 (eval $ac_try) 2>&5
52448 ac_status=$?
52449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52450 (exit $ac_status); }; }; then
52451 glibcxx_cv_func_strtof_use=yes
52452 else
52453 echo "$as_me: failed program was:" >&5
52454 sed 's/^/| /' conftest.$ac_ext >&5
52456 glibcxx_cv_func_strtof_use=no
52458 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52459 ac_ext=c
52460 ac_cpp='$CPP $CPPFLAGS'
52461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52469 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
52470 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
52471 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
52473 for ac_func in strtof
52475 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52476 echo "$as_me:$LINENO: checking for $ac_func" >&5
52477 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52478 if eval "test \"\${$as_ac_var+set}\" = set"; then
52479 echo $ECHO_N "(cached) $ECHO_C" >&6
52480 else
52481 if test x$gcc_no_link = xyes; then
52482 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52483 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52484 { (exit 1); exit 1; }; }
52486 cat >conftest.$ac_ext <<_ACEOF
52487 /* confdefs.h. */
52488 _ACEOF
52489 cat confdefs.h >>conftest.$ac_ext
52490 cat >>conftest.$ac_ext <<_ACEOF
52491 /* end confdefs.h. */
52492 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52493 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52494 #define $ac_func innocuous_$ac_func
52496 /* System header to define __stub macros and hopefully few prototypes,
52497 which can conflict with char $ac_func (); below.
52498 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52499 <limits.h> exists even on freestanding compilers. */
52501 #ifdef __STDC__
52502 # include <limits.h>
52503 #else
52504 # include <assert.h>
52505 #endif
52507 #undef $ac_func
52509 /* Override any gcc2 internal prototype to avoid an error. */
52510 #ifdef __cplusplus
52511 extern "C"
52513 #endif
52514 /* We use char because int might match the return type of a gcc2
52515 builtin and then its argument prototype would still apply. */
52516 char $ac_func ();
52517 /* The GNU C library defines this for functions which it implements
52518 to always fail with ENOSYS. Some functions are actually named
52519 something starting with __ and the normal name is an alias. */
52520 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52521 choke me
52522 #else
52523 char (*f) () = $ac_func;
52524 #endif
52525 #ifdef __cplusplus
52527 #endif
52530 main ()
52532 return f != $ac_func;
52534 return 0;
52536 _ACEOF
52537 rm -f conftest.$ac_objext conftest$ac_exeext
52538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52539 (eval $ac_link) 2>conftest.er1
52540 ac_status=$?
52541 grep -v '^ *+' conftest.er1 >conftest.err
52542 rm -f conftest.er1
52543 cat conftest.err >&5
52544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52545 (exit $ac_status); } &&
52546 { ac_try='test -z "$ac_c_werror_flag"
52547 || test ! -s conftest.err'
52548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52549 (eval $ac_try) 2>&5
52550 ac_status=$?
52551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52552 (exit $ac_status); }; } &&
52553 { ac_try='test -s conftest$ac_exeext'
52554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52555 (eval $ac_try) 2>&5
52556 ac_status=$?
52557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52558 (exit $ac_status); }; }; then
52559 eval "$as_ac_var=yes"
52560 else
52561 echo "$as_me: failed program was:" >&5
52562 sed 's/^/| /' conftest.$ac_ext >&5
52564 eval "$as_ac_var=no"
52566 rm -f conftest.err conftest.$ac_objext \
52567 conftest$ac_exeext conftest.$ac_ext
52569 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52570 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52571 if test `eval echo '${'$as_ac_var'}'` = yes; then
52572 cat >>confdefs.h <<_ACEOF
52573 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52574 _ACEOF
52577 done
52582 CXXFLAGS="$ac_save_CXXFLAGS"
52585 # For showmanyc_helper().
52588 for ac_header in sys/ioctl.h sys/filio.h
52590 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52591 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52592 echo "$as_me:$LINENO: checking for $ac_header" >&5
52593 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52594 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52595 echo $ECHO_N "(cached) $ECHO_C" >&6
52597 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52598 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52599 else
52600 # Is the header compilable?
52601 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52602 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52603 cat >conftest.$ac_ext <<_ACEOF
52604 /* confdefs.h. */
52605 _ACEOF
52606 cat confdefs.h >>conftest.$ac_ext
52607 cat >>conftest.$ac_ext <<_ACEOF
52608 /* end confdefs.h. */
52609 $ac_includes_default
52610 #include <$ac_header>
52611 _ACEOF
52612 rm -f conftest.$ac_objext
52613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52614 (eval $ac_compile) 2>conftest.er1
52615 ac_status=$?
52616 grep -v '^ *+' conftest.er1 >conftest.err
52617 rm -f conftest.er1
52618 cat conftest.err >&5
52619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52620 (exit $ac_status); } &&
52621 { ac_try='test -z "$ac_c_werror_flag"
52622 || test ! -s conftest.err'
52623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52624 (eval $ac_try) 2>&5
52625 ac_status=$?
52626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52627 (exit $ac_status); }; } &&
52628 { ac_try='test -s conftest.$ac_objext'
52629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52630 (eval $ac_try) 2>&5
52631 ac_status=$?
52632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52633 (exit $ac_status); }; }; then
52634 ac_header_compiler=yes
52635 else
52636 echo "$as_me: failed program was:" >&5
52637 sed 's/^/| /' conftest.$ac_ext >&5
52639 ac_header_compiler=no
52641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52642 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52643 echo "${ECHO_T}$ac_header_compiler" >&6
52645 # Is the header present?
52646 echo "$as_me:$LINENO: checking $ac_header presence" >&5
52647 echo $ECHO_N "checking $ac_header presence... $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 #include <$ac_header>
52655 _ACEOF
52656 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
52657 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
52658 ac_status=$?
52659 grep -v '^ *+' conftest.er1 >conftest.err
52660 rm -f conftest.er1
52661 cat conftest.err >&5
52662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52663 (exit $ac_status); } >/dev/null; then
52664 if test -s conftest.err; then
52665 ac_cpp_err=$ac_c_preproc_warn_flag
52666 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
52667 else
52668 ac_cpp_err=
52670 else
52671 ac_cpp_err=yes
52673 if test -z "$ac_cpp_err"; then
52674 ac_header_preproc=yes
52675 else
52676 echo "$as_me: failed program was:" >&5
52677 sed 's/^/| /' conftest.$ac_ext >&5
52679 ac_header_preproc=no
52681 rm -f conftest.err conftest.$ac_ext
52682 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
52683 echo "${ECHO_T}$ac_header_preproc" >&6
52685 # So? What about this header?
52686 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
52687 yes:no: )
52688 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
52689 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
52690 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
52691 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
52692 ac_header_preproc=yes
52694 no:yes:* )
52695 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
52696 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
52697 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
52698 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
52699 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
52700 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
52701 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
52702 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
52703 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
52704 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
52705 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
52706 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
52708 cat <<\_ASBOX
52709 ## ----------------------------------------- ##
52710 ## Report this to the package-unused lists. ##
52711 ## ----------------------------------------- ##
52712 _ASBOX
52714 sed "s/^/$as_me: WARNING: /" >&2
52716 esac
52717 echo "$as_me:$LINENO: checking for $ac_header" >&5
52718 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52719 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52720 echo $ECHO_N "(cached) $ECHO_C" >&6
52721 else
52722 eval "$as_ac_Header=\$ac_header_preproc"
52724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52725 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52728 if test `eval echo '${'$as_ac_Header'}'` = yes; then
52729 cat >>confdefs.h <<_ACEOF
52730 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
52731 _ACEOF
52735 done
52738 if test "${glibcxx_cv_POLL+set}" = set; then
52739 echo $ECHO_N "(cached) $ECHO_C" >&6
52740 else
52742 if test x$gcc_no_link = xyes; then
52743 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52744 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52745 { (exit 1); exit 1; }; }
52747 cat >conftest.$ac_ext <<_ACEOF
52748 /* confdefs.h. */
52749 _ACEOF
52750 cat confdefs.h >>conftest.$ac_ext
52751 cat >>conftest.$ac_ext <<_ACEOF
52752 /* end confdefs.h. */
52753 #include <poll.h>
52755 main ()
52757 struct pollfd pfd[1];
52758 pfd[0].events = POLLIN;
52759 poll(pfd, 1, 0);
52761 return 0;
52763 _ACEOF
52764 rm -f conftest.$ac_objext conftest$ac_exeext
52765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52766 (eval $ac_link) 2>conftest.er1
52767 ac_status=$?
52768 grep -v '^ *+' conftest.er1 >conftest.err
52769 rm -f conftest.er1
52770 cat conftest.err >&5
52771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52772 (exit $ac_status); } &&
52773 { ac_try='test -z "$ac_c_werror_flag"
52774 || test ! -s conftest.err'
52775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52776 (eval $ac_try) 2>&5
52777 ac_status=$?
52778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52779 (exit $ac_status); }; } &&
52780 { ac_try='test -s conftest$ac_exeext'
52781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52782 (eval $ac_try) 2>&5
52783 ac_status=$?
52784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52785 (exit $ac_status); }; }; then
52786 glibcxx_cv_POLL=yes
52787 else
52788 echo "$as_me: failed program was:" >&5
52789 sed 's/^/| /' conftest.$ac_ext >&5
52791 glibcxx_cv_POLL=no
52793 rm -f conftest.err conftest.$ac_objext \
52794 conftest$ac_exeext conftest.$ac_ext
52798 if test $glibcxx_cv_POLL = yes; then
52799 cat >>confdefs.h <<\_ACEOF
52800 #define HAVE_POLL 1
52801 _ACEOF
52806 if test "${glibcxx_cv_S_ISREG+set}" = set; then
52807 echo $ECHO_N "(cached) $ECHO_C" >&6
52808 else
52810 if test x$gcc_no_link = xyes; then
52811 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52812 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52813 { (exit 1); exit 1; }; }
52815 cat >conftest.$ac_ext <<_ACEOF
52816 /* confdefs.h. */
52817 _ACEOF
52818 cat confdefs.h >>conftest.$ac_ext
52819 cat >>conftest.$ac_ext <<_ACEOF
52820 /* end confdefs.h. */
52821 #include <sys/stat.h>
52823 main ()
52825 struct stat buffer;
52826 fstat(0, &buffer);
52827 S_ISREG(buffer.st_mode);
52829 return 0;
52831 _ACEOF
52832 rm -f conftest.$ac_objext conftest$ac_exeext
52833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52834 (eval $ac_link) 2>conftest.er1
52835 ac_status=$?
52836 grep -v '^ *+' conftest.er1 >conftest.err
52837 rm -f conftest.er1
52838 cat conftest.err >&5
52839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52840 (exit $ac_status); } &&
52841 { ac_try='test -z "$ac_c_werror_flag"
52842 || test ! -s conftest.err'
52843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52844 (eval $ac_try) 2>&5
52845 ac_status=$?
52846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52847 (exit $ac_status); }; } &&
52848 { ac_try='test -s conftest$ac_exeext'
52849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52850 (eval $ac_try) 2>&5
52851 ac_status=$?
52852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52853 (exit $ac_status); }; }; then
52854 glibcxx_cv_S_ISREG=yes
52855 else
52856 echo "$as_me: failed program was:" >&5
52857 sed 's/^/| /' conftest.$ac_ext >&5
52859 glibcxx_cv_S_ISREG=no
52861 rm -f conftest.err conftest.$ac_objext \
52862 conftest$ac_exeext conftest.$ac_ext
52866 if test "${glibcxx_cv_S_IFREG+set}" = set; then
52867 echo $ECHO_N "(cached) $ECHO_C" >&6
52868 else
52870 if test x$gcc_no_link = xyes; then
52871 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52872 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52873 { (exit 1); exit 1; }; }
52875 cat >conftest.$ac_ext <<_ACEOF
52876 /* confdefs.h. */
52877 _ACEOF
52878 cat confdefs.h >>conftest.$ac_ext
52879 cat >>conftest.$ac_ext <<_ACEOF
52880 /* end confdefs.h. */
52881 #include <sys/stat.h>
52883 main ()
52885 struct stat buffer;
52886 fstat(0, &buffer);
52887 S_IFREG & buffer.st_mode;
52889 return 0;
52891 _ACEOF
52892 rm -f conftest.$ac_objext conftest$ac_exeext
52893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52894 (eval $ac_link) 2>conftest.er1
52895 ac_status=$?
52896 grep -v '^ *+' conftest.er1 >conftest.err
52897 rm -f conftest.er1
52898 cat conftest.err >&5
52899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52900 (exit $ac_status); } &&
52901 { ac_try='test -z "$ac_c_werror_flag"
52902 || test ! -s conftest.err'
52903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52904 (eval $ac_try) 2>&5
52905 ac_status=$?
52906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52907 (exit $ac_status); }; } &&
52908 { ac_try='test -s conftest$ac_exeext'
52909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52910 (eval $ac_try) 2>&5
52911 ac_status=$?
52912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52913 (exit $ac_status); }; }; then
52914 glibcxx_cv_S_IFREG=yes
52915 else
52916 echo "$as_me: failed program was:" >&5
52917 sed 's/^/| /' conftest.$ac_ext >&5
52919 glibcxx_cv_S_IFREG=no
52921 rm -f conftest.err conftest.$ac_objext \
52922 conftest$ac_exeext conftest.$ac_ext
52926 if test $glibcxx_cv_S_ISREG = yes; then
52927 cat >>confdefs.h <<\_ACEOF
52928 #define HAVE_S_ISREG 1
52929 _ACEOF
52931 elif test $glibcxx_cv_S_IFREG = yes; then
52932 cat >>confdefs.h <<\_ACEOF
52933 #define HAVE_S_IFREG 1
52934 _ACEOF
52939 # For xsputn_2().
52941 for ac_header in sys/uio.h
52943 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
52944 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52945 echo "$as_me:$LINENO: checking for $ac_header" >&5
52946 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
52947 if eval "test \"\${$as_ac_Header+set}\" = set"; then
52948 echo $ECHO_N "(cached) $ECHO_C" >&6
52950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
52951 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
52952 else
52953 # Is the header compilable?
52954 echo "$as_me:$LINENO: checking $ac_header usability" >&5
52955 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
52956 cat >conftest.$ac_ext <<_ACEOF
52957 /* confdefs.h. */
52958 _ACEOF
52959 cat confdefs.h >>conftest.$ac_ext
52960 cat >>conftest.$ac_ext <<_ACEOF
52961 /* end confdefs.h. */
52962 $ac_includes_default
52963 #include <$ac_header>
52964 _ACEOF
52965 rm -f conftest.$ac_objext
52966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52967 (eval $ac_compile) 2>conftest.er1
52968 ac_status=$?
52969 grep -v '^ *+' conftest.er1 >conftest.err
52970 rm -f conftest.er1
52971 cat conftest.err >&5
52972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52973 (exit $ac_status); } &&
52974 { ac_try='test -z "$ac_c_werror_flag"
52975 || test ! -s conftest.err'
52976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52977 (eval $ac_try) 2>&5
52978 ac_status=$?
52979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52980 (exit $ac_status); }; } &&
52981 { ac_try='test -s conftest.$ac_objext'
52982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52983 (eval $ac_try) 2>&5
52984 ac_status=$?
52985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52986 (exit $ac_status); }; }; then
52987 ac_header_compiler=yes
52988 else
52989 echo "$as_me: failed program was:" >&5
52990 sed 's/^/| /' conftest.$ac_ext >&5
52992 ac_header_compiler=no
52994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52995 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
52996 echo "${ECHO_T}$ac_header_compiler" >&6
52998 # Is the header present?
52999 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53000 echo $ECHO_N "checking $ac_header presence... $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 #include <$ac_header>
53008 _ACEOF
53009 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53010 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53011 ac_status=$?
53012 grep -v '^ *+' conftest.er1 >conftest.err
53013 rm -f conftest.er1
53014 cat conftest.err >&5
53015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53016 (exit $ac_status); } >/dev/null; then
53017 if test -s conftest.err; then
53018 ac_cpp_err=$ac_c_preproc_warn_flag
53019 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53020 else
53021 ac_cpp_err=
53023 else
53024 ac_cpp_err=yes
53026 if test -z "$ac_cpp_err"; then
53027 ac_header_preproc=yes
53028 else
53029 echo "$as_me: failed program was:" >&5
53030 sed 's/^/| /' conftest.$ac_ext >&5
53032 ac_header_preproc=no
53034 rm -f conftest.err conftest.$ac_ext
53035 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53036 echo "${ECHO_T}$ac_header_preproc" >&6
53038 # So? What about this header?
53039 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53040 yes:no: )
53041 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53042 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53043 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
53044 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
53045 ac_header_preproc=yes
53047 no:yes:* )
53048 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53049 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53050 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
53051 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
53052 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
53053 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
53054 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
53055 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
53056 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53057 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53058 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
53059 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
53061 cat <<\_ASBOX
53062 ## ----------------------------------------- ##
53063 ## Report this to the package-unused lists. ##
53064 ## ----------------------------------------- ##
53065 _ASBOX
53067 sed "s/^/$as_me: WARNING: /" >&2
53069 esac
53070 echo "$as_me:$LINENO: checking for $ac_header" >&5
53071 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53072 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53073 echo $ECHO_N "(cached) $ECHO_C" >&6
53074 else
53075 eval "$as_ac_Header=\$ac_header_preproc"
53077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53078 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53081 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53082 cat >>confdefs.h <<_ACEOF
53083 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53084 _ACEOF
53088 done
53091 if test "${glibcxx_cv_WRITEV+set}" = set; then
53092 echo $ECHO_N "(cached) $ECHO_C" >&6
53093 else
53095 if test x$gcc_no_link = xyes; then
53096 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53097 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53098 { (exit 1); exit 1; }; }
53100 cat >conftest.$ac_ext <<_ACEOF
53101 /* confdefs.h. */
53102 _ACEOF
53103 cat confdefs.h >>conftest.$ac_ext
53104 cat >>conftest.$ac_ext <<_ACEOF
53105 /* end confdefs.h. */
53106 #include <sys/uio.h>
53108 main ()
53110 struct iovec iov[2];
53111 writev(0, iov, 0);
53113 return 0;
53115 _ACEOF
53116 rm -f conftest.$ac_objext conftest$ac_exeext
53117 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53118 (eval $ac_link) 2>conftest.er1
53119 ac_status=$?
53120 grep -v '^ *+' conftest.er1 >conftest.err
53121 rm -f conftest.er1
53122 cat conftest.err >&5
53123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53124 (exit $ac_status); } &&
53125 { ac_try='test -z "$ac_c_werror_flag"
53126 || test ! -s conftest.err'
53127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53128 (eval $ac_try) 2>&5
53129 ac_status=$?
53130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53131 (exit $ac_status); }; } &&
53132 { ac_try='test -s conftest$ac_exeext'
53133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53134 (eval $ac_try) 2>&5
53135 ac_status=$?
53136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53137 (exit $ac_status); }; }; then
53138 glibcxx_cv_WRITEV=yes
53139 else
53140 echo "$as_me: failed program was:" >&5
53141 sed 's/^/| /' conftest.$ac_ext >&5
53143 glibcxx_cv_WRITEV=no
53145 rm -f conftest.err conftest.$ac_objext \
53146 conftest$ac_exeext conftest.$ac_ext
53150 if test $glibcxx_cv_WRITEV = yes; then
53151 cat >>confdefs.h <<\_ACEOF
53152 #define HAVE_WRITEV 1
53153 _ACEOF
53158 cat >>confdefs.h <<\_ACEOF
53159 #define HAVE_LC_MESSAGES 1
53160 _ACEOF
53163 cat >conftest.$ac_ext <<_ACEOF
53164 /* confdefs.h. */
53165 _ACEOF
53166 cat confdefs.h >>conftest.$ac_ext
53167 cat >>conftest.$ac_ext <<_ACEOF
53168 /* end confdefs.h. */
53169 #include <setjmp.h>
53171 main ()
53173 sigjmp_buf env;
53174 while (! sigsetjmp (env, 1))
53175 siglongjmp (env, 1);
53178 return 0;
53180 _ACEOF
53181 rm -f conftest.$ac_objext
53182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53183 (eval $ac_compile) 2>conftest.er1
53184 ac_status=$?
53185 grep -v '^ *+' conftest.er1 >conftest.err
53186 rm -f conftest.er1
53187 cat conftest.err >&5
53188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53189 (exit $ac_status); } &&
53190 { ac_try='test -z "$ac_c_werror_flag"
53191 || test ! -s conftest.err'
53192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53193 (eval $ac_try) 2>&5
53194 ac_status=$?
53195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53196 (exit $ac_status); }; } &&
53197 { ac_try='test -s conftest.$ac_objext'
53198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53199 (eval $ac_try) 2>&5
53200 ac_status=$?
53201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53202 (exit $ac_status); }; }; then
53204 cat >>confdefs.h <<\_ACEOF
53205 #define HAVE_SIGSETJMP 1
53206 _ACEOF
53208 else
53209 echo "$as_me: failed program was:" >&5
53210 sed 's/^/| /' conftest.$ac_ext >&5
53213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53215 cat >>confdefs.h <<\_ACEOF
53216 #define HAVE_MMAP 1
53217 _ACEOF
53221 *djgpp)
53242 for ac_header in float.h ieeefp.h inttypes.h locale.h \
53243 memory.h stdint.h stdlib.h strings.h string.h unistd.h \
53244 wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
53245 sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
53247 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
53248 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53249 echo "$as_me:$LINENO: checking for $ac_header" >&5
53250 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53251 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53252 echo $ECHO_N "(cached) $ECHO_C" >&6
53254 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53255 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53256 else
53257 # Is the header compilable?
53258 echo "$as_me:$LINENO: checking $ac_header usability" >&5
53259 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
53260 cat >conftest.$ac_ext <<_ACEOF
53261 /* confdefs.h. */
53262 _ACEOF
53263 cat confdefs.h >>conftest.$ac_ext
53264 cat >>conftest.$ac_ext <<_ACEOF
53265 /* end confdefs.h. */
53266 $ac_includes_default
53267 #include <$ac_header>
53268 _ACEOF
53269 rm -f conftest.$ac_objext
53270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53271 (eval $ac_compile) 2>conftest.er1
53272 ac_status=$?
53273 grep -v '^ *+' conftest.er1 >conftest.err
53274 rm -f conftest.er1
53275 cat conftest.err >&5
53276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53277 (exit $ac_status); } &&
53278 { ac_try='test -z "$ac_c_werror_flag"
53279 || test ! -s conftest.err'
53280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53281 (eval $ac_try) 2>&5
53282 ac_status=$?
53283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53284 (exit $ac_status); }; } &&
53285 { ac_try='test -s conftest.$ac_objext'
53286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53287 (eval $ac_try) 2>&5
53288 ac_status=$?
53289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53290 (exit $ac_status); }; }; then
53291 ac_header_compiler=yes
53292 else
53293 echo "$as_me: failed program was:" >&5
53294 sed 's/^/| /' conftest.$ac_ext >&5
53296 ac_header_compiler=no
53298 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53299 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
53300 echo "${ECHO_T}$ac_header_compiler" >&6
53302 # Is the header present?
53303 echo "$as_me:$LINENO: checking $ac_header presence" >&5
53304 echo $ECHO_N "checking $ac_header presence... $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 #include <$ac_header>
53312 _ACEOF
53313 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
53314 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
53315 ac_status=$?
53316 grep -v '^ *+' conftest.er1 >conftest.err
53317 rm -f conftest.er1
53318 cat conftest.err >&5
53319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53320 (exit $ac_status); } >/dev/null; then
53321 if test -s conftest.err; then
53322 ac_cpp_err=$ac_c_preproc_warn_flag
53323 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
53324 else
53325 ac_cpp_err=
53327 else
53328 ac_cpp_err=yes
53330 if test -z "$ac_cpp_err"; then
53331 ac_header_preproc=yes
53332 else
53333 echo "$as_me: failed program was:" >&5
53334 sed 's/^/| /' conftest.$ac_ext >&5
53336 ac_header_preproc=no
53338 rm -f conftest.err conftest.$ac_ext
53339 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
53340 echo "${ECHO_T}$ac_header_preproc" >&6
53342 # So? What about this header?
53343 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
53344 yes:no: )
53345 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
53346 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
53347 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
53348 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
53349 ac_header_preproc=yes
53351 no:yes:* )
53352 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
53353 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
53354 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
53355 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
53356 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
53357 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
53358 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
53359 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
53360 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
53361 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
53362 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
53363 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
53365 cat <<\_ASBOX
53366 ## ----------------------------------------- ##
53367 ## Report this to the package-unused lists. ##
53368 ## ----------------------------------------- ##
53369 _ASBOX
53371 sed "s/^/$as_me: WARNING: /" >&2
53373 esac
53374 echo "$as_me:$LINENO: checking for $ac_header" >&5
53375 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
53376 if eval "test \"\${$as_ac_Header+set}\" = set"; then
53377 echo $ECHO_N "(cached) $ECHO_C" >&6
53378 else
53379 eval "$as_ac_Header=\$ac_header_preproc"
53381 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
53382 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
53385 if test `eval echo '${'$as_ac_Header'}'` = yes; then
53386 cat >>confdefs.h <<_ACEOF
53387 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
53388 _ACEOF
53392 done
53395 # All these tests are for C++; save the language and the compiler flags.
53396 # The CXXFLAGS thing is suspicious, but based on similar bits previously
53397 # found in GLIBCXX_CONFIGURE.
53400 ac_ext=cc
53401 ac_cpp='$CXXCPP $CPPFLAGS'
53402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53406 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53407 ac_save_CXXFLAGS="$CXXFLAGS"
53409 # Check for maintainer-mode bits.
53410 if test x"$USE_MAINTAINER_MODE" = xno; then
53411 WERROR=''
53412 else
53413 WERROR='-Werror'
53416 # Check for -ffunction-sections -fdata-sections
53417 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
53418 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
53419 CXXFLAGS='-Werror -ffunction-sections -fdata-sections'
53420 cat >conftest.$ac_ext <<_ACEOF
53421 /* confdefs.h. */
53422 _ACEOF
53423 cat confdefs.h >>conftest.$ac_ext
53424 cat >>conftest.$ac_ext <<_ACEOF
53425 /* end confdefs.h. */
53428 main ()
53430 int foo;
53432 return 0;
53434 _ACEOF
53435 rm -f conftest.$ac_objext
53436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53437 (eval $ac_compile) 2>conftest.er1
53438 ac_status=$?
53439 grep -v '^ *+' conftest.er1 >conftest.err
53440 rm -f conftest.er1
53441 cat conftest.err >&5
53442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53443 (exit $ac_status); } &&
53444 { ac_try='test -z "$ac_cxx_werror_flag"
53445 || test ! -s conftest.err'
53446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53447 (eval $ac_try) 2>&5
53448 ac_status=$?
53449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53450 (exit $ac_status); }; } &&
53451 { ac_try='test -s conftest.$ac_objext'
53452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53453 (eval $ac_try) 2>&5
53454 ac_status=$?
53455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53456 (exit $ac_status); }; }; then
53457 ac_fdsections=yes
53458 else
53459 echo "$as_me: failed program was:" >&5
53460 sed 's/^/| /' conftest.$ac_ext >&5
53462 ac_fdsections=no
53464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53465 if test "$ac_test_CXXFLAGS" = set; then
53466 CXXFLAGS="$ac_save_CXXFLAGS"
53467 else
53468 # this is the suspicious part
53469 CXXFLAGS=''
53471 if test x"$ac_fdsections" = x"yes"; then
53472 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53474 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
53475 echo "${ECHO_T}$ac_fdsections" >&6
53477 ac_ext=c
53478 ac_cpp='$CPP $CPPFLAGS'
53479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53487 # If we're not using GNU ld, then there's no point in even trying these
53488 # tests. Check for that first. We should have already tested for gld
53489 # by now (in libtool), but require it now just to be safe...
53490 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53491 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53495 # The name set by libtool depends on the version of libtool. Shame on us
53496 # for depending on an impl detail, but c'est la vie. Older versions used
53497 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53498 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53499 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53500 # set (hence we're using an older libtool), then set it.
53501 if test x${with_gnu_ld+set} != xset; then
53502 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53503 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53504 with_gnu_ld=no
53505 else
53506 with_gnu_ld=$ac_cv_prog_gnu_ld
53510 # Start by getting the version number. I think the libtool test already
53511 # does some of this, but throws away the result.
53513 ldver=`$LD --version 2>/dev/null | head -1 | \
53514 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
53516 glibcxx_gnu_ld_version=`echo $ldver | \
53517 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53519 # Set --gc-sections.
53520 if test "$with_gnu_ld" = "notbroken"; then
53521 # GNU ld it is! Joy and bunny rabbits!
53523 # All these tests are for C++; save the language and the compiler flags.
53524 # Need to do this so that g++ won't try to link in libstdc++
53525 ac_test_CFLAGS="${CFLAGS+set}"
53526 ac_save_CFLAGS="$CFLAGS"
53527 CFLAGS='-x c++ -Wl,--gc-sections'
53529 # Check for -Wl,--gc-sections
53530 # XXX This test is broken at the moment, as symbols required for linking
53531 # are now in libsupc++ (not built yet). In addition, this test has
53532 # cored on solaris in the past. In addition, --gc-sections doesn't
53533 # really work at the moment (keeps on discarding used sections, first
53534 # .eh_frame and now some of the glibc sections for iconv).
53535 # Bzzzzt. Thanks for playing, maybe next time.
53536 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
53537 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
53538 if test "$cross_compiling" = yes; then
53539 ac_sectionLDflags=yes
53540 else
53541 cat >conftest.$ac_ext <<_ACEOF
53542 /* confdefs.h. */
53543 _ACEOF
53544 cat confdefs.h >>conftest.$ac_ext
53545 cat >>conftest.$ac_ext <<_ACEOF
53546 /* end confdefs.h. */
53548 int main(void)
53550 try { throw 1; }
53551 catch (...) { };
53552 return 0;
53555 _ACEOF
53556 rm -f conftest$ac_exeext
53557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53558 (eval $ac_link) 2>&5
53559 ac_status=$?
53560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53561 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
53562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53563 (eval $ac_try) 2>&5
53564 ac_status=$?
53565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53566 (exit $ac_status); }; }; then
53567 ac_sectionLDflags=yes
53568 else
53569 echo "$as_me: program exited with status $ac_status" >&5
53570 echo "$as_me: failed program was:" >&5
53571 sed 's/^/| /' conftest.$ac_ext >&5
53573 ( exit $ac_status )
53574 ac_sectionLDflags=no
53576 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
53578 if test "$ac_test_CFLAGS" = set; then
53579 CFLAGS="$ac_save_CFLAGS"
53580 else
53581 # this is the suspicious part
53582 CFLAGS=''
53584 if test "$ac_sectionLDflags" = "yes"; then
53585 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53587 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
53588 echo "${ECHO_T}$ac_sectionLDflags" >&6
53591 # Set linker optimization flags.
53592 if test x"$with_gnu_ld" = x"yes"; then
53593 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53600 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53601 ac_save_CXXFLAGS="$CXXFLAGS"
53602 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53604 echo "$as_me:$LINENO: checking for sin in -lm" >&5
53605 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
53606 if test "${ac_cv_lib_m_sin+set}" = set; then
53607 echo $ECHO_N "(cached) $ECHO_C" >&6
53608 else
53609 ac_check_lib_save_LIBS=$LIBS
53610 LIBS="-lm $LIBS"
53611 if test x$gcc_no_link = xyes; then
53612 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53613 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53614 { (exit 1); exit 1; }; }
53616 cat >conftest.$ac_ext <<_ACEOF
53617 /* confdefs.h. */
53618 _ACEOF
53619 cat confdefs.h >>conftest.$ac_ext
53620 cat >>conftest.$ac_ext <<_ACEOF
53621 /* end confdefs.h. */
53623 /* Override any gcc2 internal prototype to avoid an error. */
53624 #ifdef __cplusplus
53625 extern "C"
53626 #endif
53627 /* We use char because int might match the return type of a gcc2
53628 builtin and then its argument prototype would still apply. */
53629 char sin ();
53631 main ()
53633 sin ();
53635 return 0;
53637 _ACEOF
53638 rm -f conftest.$ac_objext conftest$ac_exeext
53639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53640 (eval $ac_link) 2>conftest.er1
53641 ac_status=$?
53642 grep -v '^ *+' conftest.er1 >conftest.err
53643 rm -f conftest.er1
53644 cat conftest.err >&5
53645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53646 (exit $ac_status); } &&
53647 { ac_try='test -z "$ac_c_werror_flag"
53648 || test ! -s conftest.err'
53649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53650 (eval $ac_try) 2>&5
53651 ac_status=$?
53652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53653 (exit $ac_status); }; } &&
53654 { ac_try='test -s conftest$ac_exeext'
53655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53656 (eval $ac_try) 2>&5
53657 ac_status=$?
53658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53659 (exit $ac_status); }; }; then
53660 ac_cv_lib_m_sin=yes
53661 else
53662 echo "$as_me: failed program was:" >&5
53663 sed 's/^/| /' conftest.$ac_ext >&5
53665 ac_cv_lib_m_sin=no
53667 rm -f conftest.err conftest.$ac_objext \
53668 conftest$ac_exeext conftest.$ac_ext
53669 LIBS=$ac_check_lib_save_LIBS
53671 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
53672 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
53673 if test $ac_cv_lib_m_sin = yes; then
53674 libm="-lm"
53677 ac_save_LIBS="$LIBS"
53678 LIBS="$LIBS $libm"
53682 echo "$as_me:$LINENO: checking for isinf declaration" >&5
53683 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
53684 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
53685 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
53686 echo $ECHO_N "(cached) $ECHO_C" >&6
53687 else
53691 ac_ext=cc
53692 ac_cpp='$CXXCPP $CPPFLAGS'
53693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53697 cat >conftest.$ac_ext <<_ACEOF
53698 /* confdefs.h. */
53699 _ACEOF
53700 cat confdefs.h >>conftest.$ac_ext
53701 cat >>conftest.$ac_ext <<_ACEOF
53702 /* end confdefs.h. */
53703 #include <math.h>
53704 #ifdef HAVE_IEEEFP_H
53705 #include <ieeefp.h>
53706 #endif
53709 main ()
53711 isinf(0);
53713 return 0;
53715 _ACEOF
53716 rm -f conftest.$ac_objext
53717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53718 (eval $ac_compile) 2>conftest.er1
53719 ac_status=$?
53720 grep -v '^ *+' conftest.er1 >conftest.err
53721 rm -f conftest.er1
53722 cat conftest.err >&5
53723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53724 (exit $ac_status); } &&
53725 { ac_try='test -z "$ac_cxx_werror_flag"
53726 || test ! -s conftest.err'
53727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53728 (eval $ac_try) 2>&5
53729 ac_status=$?
53730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53731 (exit $ac_status); }; } &&
53732 { ac_try='test -s conftest.$ac_objext'
53733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53734 (eval $ac_try) 2>&5
53735 ac_status=$?
53736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53737 (exit $ac_status); }; }; then
53738 glibcxx_cv_func_isinf_use=yes
53739 else
53740 echo "$as_me: failed program was:" >&5
53741 sed 's/^/| /' conftest.$ac_ext >&5
53743 glibcxx_cv_func_isinf_use=no
53745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53746 ac_ext=c
53747 ac_cpp='$CPP $CPPFLAGS'
53748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53756 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
53757 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
53759 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
53761 for ac_func in isinf
53763 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53764 echo "$as_me:$LINENO: checking for $ac_func" >&5
53765 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53766 if eval "test \"\${$as_ac_var+set}\" = set"; then
53767 echo $ECHO_N "(cached) $ECHO_C" >&6
53768 else
53769 if test x$gcc_no_link = xyes; then
53770 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53771 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53772 { (exit 1); exit 1; }; }
53774 cat >conftest.$ac_ext <<_ACEOF
53775 /* confdefs.h. */
53776 _ACEOF
53777 cat confdefs.h >>conftest.$ac_ext
53778 cat >>conftest.$ac_ext <<_ACEOF
53779 /* end confdefs.h. */
53780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53782 #define $ac_func innocuous_$ac_func
53784 /* System header to define __stub macros and hopefully few prototypes,
53785 which can conflict with char $ac_func (); below.
53786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53787 <limits.h> exists even on freestanding compilers. */
53789 #ifdef __STDC__
53790 # include <limits.h>
53791 #else
53792 # include <assert.h>
53793 #endif
53795 #undef $ac_func
53797 /* Override any gcc2 internal prototype to avoid an error. */
53798 #ifdef __cplusplus
53799 extern "C"
53801 #endif
53802 /* We use char because int might match the return type of a gcc2
53803 builtin and then its argument prototype would still apply. */
53804 char $ac_func ();
53805 /* The GNU C library defines this for functions which it implements
53806 to always fail with ENOSYS. Some functions are actually named
53807 something starting with __ and the normal name is an alias. */
53808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53809 choke me
53810 #else
53811 char (*f) () = $ac_func;
53812 #endif
53813 #ifdef __cplusplus
53815 #endif
53818 main ()
53820 return f != $ac_func;
53822 return 0;
53824 _ACEOF
53825 rm -f conftest.$ac_objext conftest$ac_exeext
53826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53827 (eval $ac_link) 2>conftest.er1
53828 ac_status=$?
53829 grep -v '^ *+' conftest.er1 >conftest.err
53830 rm -f conftest.er1
53831 cat conftest.err >&5
53832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53833 (exit $ac_status); } &&
53834 { ac_try='test -z "$ac_c_werror_flag"
53835 || test ! -s conftest.err'
53836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53837 (eval $ac_try) 2>&5
53838 ac_status=$?
53839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53840 (exit $ac_status); }; } &&
53841 { ac_try='test -s conftest$ac_exeext'
53842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53843 (eval $ac_try) 2>&5
53844 ac_status=$?
53845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53846 (exit $ac_status); }; }; then
53847 eval "$as_ac_var=yes"
53848 else
53849 echo "$as_me: failed program was:" >&5
53850 sed 's/^/| /' conftest.$ac_ext >&5
53852 eval "$as_ac_var=no"
53854 rm -f conftest.err conftest.$ac_objext \
53855 conftest$ac_exeext conftest.$ac_ext
53857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53858 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53859 if test `eval echo '${'$as_ac_var'}'` = yes; then
53860 cat >>confdefs.h <<_ACEOF
53861 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53862 _ACEOF
53865 done
53867 else
53869 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
53870 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
53871 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
53872 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
53873 echo $ECHO_N "(cached) $ECHO_C" >&6
53874 else
53878 ac_ext=cc
53879 ac_cpp='$CXXCPP $CPPFLAGS'
53880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53884 cat >conftest.$ac_ext <<_ACEOF
53885 /* confdefs.h. */
53886 _ACEOF
53887 cat confdefs.h >>conftest.$ac_ext
53888 cat >>conftest.$ac_ext <<_ACEOF
53889 /* end confdefs.h. */
53890 #include <math.h>
53891 #ifdef HAVE_IEEEFP_H
53892 #include <ieeefp.h>
53893 #endif
53896 main ()
53898 _isinf(0);
53900 return 0;
53902 _ACEOF
53903 rm -f conftest.$ac_objext
53904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53905 (eval $ac_compile) 2>conftest.er1
53906 ac_status=$?
53907 grep -v '^ *+' conftest.er1 >conftest.err
53908 rm -f conftest.er1
53909 cat conftest.err >&5
53910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53911 (exit $ac_status); } &&
53912 { ac_try='test -z "$ac_cxx_werror_flag"
53913 || test ! -s conftest.err'
53914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53915 (eval $ac_try) 2>&5
53916 ac_status=$?
53917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53918 (exit $ac_status); }; } &&
53919 { ac_try='test -s conftest.$ac_objext'
53920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53921 (eval $ac_try) 2>&5
53922 ac_status=$?
53923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53924 (exit $ac_status); }; }; then
53925 glibcxx_cv_func__isinf_use=yes
53926 else
53927 echo "$as_me: failed program was:" >&5
53928 sed 's/^/| /' conftest.$ac_ext >&5
53930 glibcxx_cv_func__isinf_use=no
53932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53933 ac_ext=c
53934 ac_cpp='$CPP $CPPFLAGS'
53935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53943 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
53944 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
53946 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
53948 for ac_func in _isinf
53950 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53951 echo "$as_me:$LINENO: checking for $ac_func" >&5
53952 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53953 if eval "test \"\${$as_ac_var+set}\" = set"; then
53954 echo $ECHO_N "(cached) $ECHO_C" >&6
53955 else
53956 if test x$gcc_no_link = xyes; then
53957 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53958 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53959 { (exit 1); exit 1; }; }
53961 cat >conftest.$ac_ext <<_ACEOF
53962 /* confdefs.h. */
53963 _ACEOF
53964 cat confdefs.h >>conftest.$ac_ext
53965 cat >>conftest.$ac_ext <<_ACEOF
53966 /* end confdefs.h. */
53967 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53968 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53969 #define $ac_func innocuous_$ac_func
53971 /* System header to define __stub macros and hopefully few prototypes,
53972 which can conflict with char $ac_func (); below.
53973 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53974 <limits.h> exists even on freestanding compilers. */
53976 #ifdef __STDC__
53977 # include <limits.h>
53978 #else
53979 # include <assert.h>
53980 #endif
53982 #undef $ac_func
53984 /* Override any gcc2 internal prototype to avoid an error. */
53985 #ifdef __cplusplus
53986 extern "C"
53988 #endif
53989 /* We use char because int might match the return type of a gcc2
53990 builtin and then its argument prototype would still apply. */
53991 char $ac_func ();
53992 /* The GNU C library defines this for functions which it implements
53993 to always fail with ENOSYS. Some functions are actually named
53994 something starting with __ and the normal name is an alias. */
53995 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53996 choke me
53997 #else
53998 char (*f) () = $ac_func;
53999 #endif
54000 #ifdef __cplusplus
54002 #endif
54005 main ()
54007 return f != $ac_func;
54009 return 0;
54011 _ACEOF
54012 rm -f conftest.$ac_objext conftest$ac_exeext
54013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54014 (eval $ac_link) 2>conftest.er1
54015 ac_status=$?
54016 grep -v '^ *+' conftest.er1 >conftest.err
54017 rm -f conftest.er1
54018 cat conftest.err >&5
54019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54020 (exit $ac_status); } &&
54021 { ac_try='test -z "$ac_c_werror_flag"
54022 || test ! -s conftest.err'
54023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54024 (eval $ac_try) 2>&5
54025 ac_status=$?
54026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54027 (exit $ac_status); }; } &&
54028 { ac_try='test -s conftest$ac_exeext'
54029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54030 (eval $ac_try) 2>&5
54031 ac_status=$?
54032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54033 (exit $ac_status); }; }; then
54034 eval "$as_ac_var=yes"
54035 else
54036 echo "$as_me: failed program was:" >&5
54037 sed 's/^/| /' conftest.$ac_ext >&5
54039 eval "$as_ac_var=no"
54041 rm -f conftest.err conftest.$ac_objext \
54042 conftest$ac_exeext conftest.$ac_ext
54044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54045 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54046 if test `eval echo '${'$as_ac_var'}'` = yes; then
54047 cat >>confdefs.h <<_ACEOF
54048 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54049 _ACEOF
54052 done
54059 echo "$as_me:$LINENO: checking for isnan declaration" >&5
54060 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
54061 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
54062 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
54063 echo $ECHO_N "(cached) $ECHO_C" >&6
54064 else
54068 ac_ext=cc
54069 ac_cpp='$CXXCPP $CPPFLAGS'
54070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54074 cat >conftest.$ac_ext <<_ACEOF
54075 /* confdefs.h. */
54076 _ACEOF
54077 cat confdefs.h >>conftest.$ac_ext
54078 cat >>conftest.$ac_ext <<_ACEOF
54079 /* end confdefs.h. */
54080 #include <math.h>
54081 #ifdef HAVE_IEEEFP_H
54082 #include <ieeefp.h>
54083 #endif
54086 main ()
54088 isnan(0);
54090 return 0;
54092 _ACEOF
54093 rm -f conftest.$ac_objext
54094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54095 (eval $ac_compile) 2>conftest.er1
54096 ac_status=$?
54097 grep -v '^ *+' conftest.er1 >conftest.err
54098 rm -f conftest.er1
54099 cat conftest.err >&5
54100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54101 (exit $ac_status); } &&
54102 { ac_try='test -z "$ac_cxx_werror_flag"
54103 || test ! -s conftest.err'
54104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54105 (eval $ac_try) 2>&5
54106 ac_status=$?
54107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54108 (exit $ac_status); }; } &&
54109 { ac_try='test -s conftest.$ac_objext'
54110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54111 (eval $ac_try) 2>&5
54112 ac_status=$?
54113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54114 (exit $ac_status); }; }; then
54115 glibcxx_cv_func_isnan_use=yes
54116 else
54117 echo "$as_me: failed program was:" >&5
54118 sed 's/^/| /' conftest.$ac_ext >&5
54120 glibcxx_cv_func_isnan_use=no
54122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54123 ac_ext=c
54124 ac_cpp='$CPP $CPPFLAGS'
54125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54133 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
54134 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
54136 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
54138 for ac_func in isnan
54140 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54141 echo "$as_me:$LINENO: checking for $ac_func" >&5
54142 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54143 if eval "test \"\${$as_ac_var+set}\" = set"; then
54144 echo $ECHO_N "(cached) $ECHO_C" >&6
54145 else
54146 if test x$gcc_no_link = xyes; then
54147 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54148 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54149 { (exit 1); exit 1; }; }
54151 cat >conftest.$ac_ext <<_ACEOF
54152 /* confdefs.h. */
54153 _ACEOF
54154 cat confdefs.h >>conftest.$ac_ext
54155 cat >>conftest.$ac_ext <<_ACEOF
54156 /* end confdefs.h. */
54157 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54158 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54159 #define $ac_func innocuous_$ac_func
54161 /* System header to define __stub macros and hopefully few prototypes,
54162 which can conflict with char $ac_func (); below.
54163 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54164 <limits.h> exists even on freestanding compilers. */
54166 #ifdef __STDC__
54167 # include <limits.h>
54168 #else
54169 # include <assert.h>
54170 #endif
54172 #undef $ac_func
54174 /* Override any gcc2 internal prototype to avoid an error. */
54175 #ifdef __cplusplus
54176 extern "C"
54178 #endif
54179 /* We use char because int might match the return type of a gcc2
54180 builtin and then its argument prototype would still apply. */
54181 char $ac_func ();
54182 /* The GNU C library defines this for functions which it implements
54183 to always fail with ENOSYS. Some functions are actually named
54184 something starting with __ and the normal name is an alias. */
54185 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54186 choke me
54187 #else
54188 char (*f) () = $ac_func;
54189 #endif
54190 #ifdef __cplusplus
54192 #endif
54195 main ()
54197 return f != $ac_func;
54199 return 0;
54201 _ACEOF
54202 rm -f conftest.$ac_objext conftest$ac_exeext
54203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54204 (eval $ac_link) 2>conftest.er1
54205 ac_status=$?
54206 grep -v '^ *+' conftest.er1 >conftest.err
54207 rm -f conftest.er1
54208 cat conftest.err >&5
54209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54210 (exit $ac_status); } &&
54211 { ac_try='test -z "$ac_c_werror_flag"
54212 || test ! -s conftest.err'
54213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54214 (eval $ac_try) 2>&5
54215 ac_status=$?
54216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54217 (exit $ac_status); }; } &&
54218 { ac_try='test -s conftest$ac_exeext'
54219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54220 (eval $ac_try) 2>&5
54221 ac_status=$?
54222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54223 (exit $ac_status); }; }; then
54224 eval "$as_ac_var=yes"
54225 else
54226 echo "$as_me: failed program was:" >&5
54227 sed 's/^/| /' conftest.$ac_ext >&5
54229 eval "$as_ac_var=no"
54231 rm -f conftest.err conftest.$ac_objext \
54232 conftest$ac_exeext conftest.$ac_ext
54234 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54235 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54236 if test `eval echo '${'$as_ac_var'}'` = yes; then
54237 cat >>confdefs.h <<_ACEOF
54238 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54239 _ACEOF
54242 done
54244 else
54246 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
54247 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
54248 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
54249 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
54250 echo $ECHO_N "(cached) $ECHO_C" >&6
54251 else
54255 ac_ext=cc
54256 ac_cpp='$CXXCPP $CPPFLAGS'
54257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54261 cat >conftest.$ac_ext <<_ACEOF
54262 /* confdefs.h. */
54263 _ACEOF
54264 cat confdefs.h >>conftest.$ac_ext
54265 cat >>conftest.$ac_ext <<_ACEOF
54266 /* end confdefs.h. */
54267 #include <math.h>
54268 #ifdef HAVE_IEEEFP_H
54269 #include <ieeefp.h>
54270 #endif
54273 main ()
54275 _isnan(0);
54277 return 0;
54279 _ACEOF
54280 rm -f conftest.$ac_objext
54281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54282 (eval $ac_compile) 2>conftest.er1
54283 ac_status=$?
54284 grep -v '^ *+' conftest.er1 >conftest.err
54285 rm -f conftest.er1
54286 cat conftest.err >&5
54287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54288 (exit $ac_status); } &&
54289 { ac_try='test -z "$ac_cxx_werror_flag"
54290 || test ! -s conftest.err'
54291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54292 (eval $ac_try) 2>&5
54293 ac_status=$?
54294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54295 (exit $ac_status); }; } &&
54296 { ac_try='test -s conftest.$ac_objext'
54297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54298 (eval $ac_try) 2>&5
54299 ac_status=$?
54300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54301 (exit $ac_status); }; }; then
54302 glibcxx_cv_func__isnan_use=yes
54303 else
54304 echo "$as_me: failed program was:" >&5
54305 sed 's/^/| /' conftest.$ac_ext >&5
54307 glibcxx_cv_func__isnan_use=no
54309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54310 ac_ext=c
54311 ac_cpp='$CPP $CPPFLAGS'
54312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54320 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
54321 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
54323 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
54325 for ac_func in _isnan
54327 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54328 echo "$as_me:$LINENO: checking for $ac_func" >&5
54329 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54330 if eval "test \"\${$as_ac_var+set}\" = set"; then
54331 echo $ECHO_N "(cached) $ECHO_C" >&6
54332 else
54333 if test x$gcc_no_link = xyes; then
54334 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54335 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54336 { (exit 1); exit 1; }; }
54338 cat >conftest.$ac_ext <<_ACEOF
54339 /* confdefs.h. */
54340 _ACEOF
54341 cat confdefs.h >>conftest.$ac_ext
54342 cat >>conftest.$ac_ext <<_ACEOF
54343 /* end confdefs.h. */
54344 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54345 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54346 #define $ac_func innocuous_$ac_func
54348 /* System header to define __stub macros and hopefully few prototypes,
54349 which can conflict with char $ac_func (); below.
54350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54351 <limits.h> exists even on freestanding compilers. */
54353 #ifdef __STDC__
54354 # include <limits.h>
54355 #else
54356 # include <assert.h>
54357 #endif
54359 #undef $ac_func
54361 /* Override any gcc2 internal prototype to avoid an error. */
54362 #ifdef __cplusplus
54363 extern "C"
54365 #endif
54366 /* We use char because int might match the return type of a gcc2
54367 builtin and then its argument prototype would still apply. */
54368 char $ac_func ();
54369 /* The GNU C library defines this for functions which it implements
54370 to always fail with ENOSYS. Some functions are actually named
54371 something starting with __ and the normal name is an alias. */
54372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54373 choke me
54374 #else
54375 char (*f) () = $ac_func;
54376 #endif
54377 #ifdef __cplusplus
54379 #endif
54382 main ()
54384 return f != $ac_func;
54386 return 0;
54388 _ACEOF
54389 rm -f conftest.$ac_objext conftest$ac_exeext
54390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54391 (eval $ac_link) 2>conftest.er1
54392 ac_status=$?
54393 grep -v '^ *+' conftest.er1 >conftest.err
54394 rm -f conftest.er1
54395 cat conftest.err >&5
54396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54397 (exit $ac_status); } &&
54398 { ac_try='test -z "$ac_c_werror_flag"
54399 || test ! -s conftest.err'
54400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54401 (eval $ac_try) 2>&5
54402 ac_status=$?
54403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54404 (exit $ac_status); }; } &&
54405 { ac_try='test -s conftest$ac_exeext'
54406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54407 (eval $ac_try) 2>&5
54408 ac_status=$?
54409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54410 (exit $ac_status); }; }; then
54411 eval "$as_ac_var=yes"
54412 else
54413 echo "$as_me: failed program was:" >&5
54414 sed 's/^/| /' conftest.$ac_ext >&5
54416 eval "$as_ac_var=no"
54418 rm -f conftest.err conftest.$ac_objext \
54419 conftest$ac_exeext conftest.$ac_ext
54421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54422 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54423 if test `eval echo '${'$as_ac_var'}'` = yes; then
54424 cat >>confdefs.h <<_ACEOF
54425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54426 _ACEOF
54429 done
54436 echo "$as_me:$LINENO: checking for finite declaration" >&5
54437 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
54438 if test x${glibcxx_cv_func_finite_use+set} != xset; then
54439 if test "${glibcxx_cv_func_finite_use+set}" = set; then
54440 echo $ECHO_N "(cached) $ECHO_C" >&6
54441 else
54445 ac_ext=cc
54446 ac_cpp='$CXXCPP $CPPFLAGS'
54447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54451 cat >conftest.$ac_ext <<_ACEOF
54452 /* confdefs.h. */
54453 _ACEOF
54454 cat confdefs.h >>conftest.$ac_ext
54455 cat >>conftest.$ac_ext <<_ACEOF
54456 /* end confdefs.h. */
54457 #include <math.h>
54458 #ifdef HAVE_IEEEFP_H
54459 #include <ieeefp.h>
54460 #endif
54463 main ()
54465 finite(0);
54467 return 0;
54469 _ACEOF
54470 rm -f conftest.$ac_objext
54471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54472 (eval $ac_compile) 2>conftest.er1
54473 ac_status=$?
54474 grep -v '^ *+' conftest.er1 >conftest.err
54475 rm -f conftest.er1
54476 cat conftest.err >&5
54477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54478 (exit $ac_status); } &&
54479 { ac_try='test -z "$ac_cxx_werror_flag"
54480 || test ! -s conftest.err'
54481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54482 (eval $ac_try) 2>&5
54483 ac_status=$?
54484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54485 (exit $ac_status); }; } &&
54486 { ac_try='test -s conftest.$ac_objext'
54487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54488 (eval $ac_try) 2>&5
54489 ac_status=$?
54490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54491 (exit $ac_status); }; }; then
54492 glibcxx_cv_func_finite_use=yes
54493 else
54494 echo "$as_me: failed program was:" >&5
54495 sed 's/^/| /' conftest.$ac_ext >&5
54497 glibcxx_cv_func_finite_use=no
54499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54500 ac_ext=c
54501 ac_cpp='$CPP $CPPFLAGS'
54502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54510 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
54511 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
54513 if test x$glibcxx_cv_func_finite_use = x"yes"; then
54515 for ac_func in finite
54517 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54518 echo "$as_me:$LINENO: checking for $ac_func" >&5
54519 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54520 if eval "test \"\${$as_ac_var+set}\" = set"; then
54521 echo $ECHO_N "(cached) $ECHO_C" >&6
54522 else
54523 if test x$gcc_no_link = xyes; then
54524 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54525 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54526 { (exit 1); exit 1; }; }
54528 cat >conftest.$ac_ext <<_ACEOF
54529 /* confdefs.h. */
54530 _ACEOF
54531 cat confdefs.h >>conftest.$ac_ext
54532 cat >>conftest.$ac_ext <<_ACEOF
54533 /* end confdefs.h. */
54534 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54535 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54536 #define $ac_func innocuous_$ac_func
54538 /* System header to define __stub macros and hopefully few prototypes,
54539 which can conflict with char $ac_func (); below.
54540 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54541 <limits.h> exists even on freestanding compilers. */
54543 #ifdef __STDC__
54544 # include <limits.h>
54545 #else
54546 # include <assert.h>
54547 #endif
54549 #undef $ac_func
54551 /* Override any gcc2 internal prototype to avoid an error. */
54552 #ifdef __cplusplus
54553 extern "C"
54555 #endif
54556 /* We use char because int might match the return type of a gcc2
54557 builtin and then its argument prototype would still apply. */
54558 char $ac_func ();
54559 /* The GNU C library defines this for functions which it implements
54560 to always fail with ENOSYS. Some functions are actually named
54561 something starting with __ and the normal name is an alias. */
54562 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54563 choke me
54564 #else
54565 char (*f) () = $ac_func;
54566 #endif
54567 #ifdef __cplusplus
54569 #endif
54572 main ()
54574 return f != $ac_func;
54576 return 0;
54578 _ACEOF
54579 rm -f conftest.$ac_objext conftest$ac_exeext
54580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54581 (eval $ac_link) 2>conftest.er1
54582 ac_status=$?
54583 grep -v '^ *+' conftest.er1 >conftest.err
54584 rm -f conftest.er1
54585 cat conftest.err >&5
54586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54587 (exit $ac_status); } &&
54588 { ac_try='test -z "$ac_c_werror_flag"
54589 || test ! -s conftest.err'
54590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54591 (eval $ac_try) 2>&5
54592 ac_status=$?
54593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54594 (exit $ac_status); }; } &&
54595 { ac_try='test -s conftest$ac_exeext'
54596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54597 (eval $ac_try) 2>&5
54598 ac_status=$?
54599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54600 (exit $ac_status); }; }; then
54601 eval "$as_ac_var=yes"
54602 else
54603 echo "$as_me: failed program was:" >&5
54604 sed 's/^/| /' conftest.$ac_ext >&5
54606 eval "$as_ac_var=no"
54608 rm -f conftest.err conftest.$ac_objext \
54609 conftest$ac_exeext conftest.$ac_ext
54611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54612 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54613 if test `eval echo '${'$as_ac_var'}'` = yes; then
54614 cat >>confdefs.h <<_ACEOF
54615 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54616 _ACEOF
54619 done
54621 else
54623 echo "$as_me:$LINENO: checking for _finite declaration" >&5
54624 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
54625 if test x${glibcxx_cv_func__finite_use+set} != xset; then
54626 if test "${glibcxx_cv_func__finite_use+set}" = set; then
54627 echo $ECHO_N "(cached) $ECHO_C" >&6
54628 else
54632 ac_ext=cc
54633 ac_cpp='$CXXCPP $CPPFLAGS'
54634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54638 cat >conftest.$ac_ext <<_ACEOF
54639 /* confdefs.h. */
54640 _ACEOF
54641 cat confdefs.h >>conftest.$ac_ext
54642 cat >>conftest.$ac_ext <<_ACEOF
54643 /* end confdefs.h. */
54644 #include <math.h>
54645 #ifdef HAVE_IEEEFP_H
54646 #include <ieeefp.h>
54647 #endif
54650 main ()
54652 _finite(0);
54654 return 0;
54656 _ACEOF
54657 rm -f conftest.$ac_objext
54658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54659 (eval $ac_compile) 2>conftest.er1
54660 ac_status=$?
54661 grep -v '^ *+' conftest.er1 >conftest.err
54662 rm -f conftest.er1
54663 cat conftest.err >&5
54664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54665 (exit $ac_status); } &&
54666 { ac_try='test -z "$ac_cxx_werror_flag"
54667 || test ! -s conftest.err'
54668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54669 (eval $ac_try) 2>&5
54670 ac_status=$?
54671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54672 (exit $ac_status); }; } &&
54673 { ac_try='test -s conftest.$ac_objext'
54674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54675 (eval $ac_try) 2>&5
54676 ac_status=$?
54677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54678 (exit $ac_status); }; }; then
54679 glibcxx_cv_func__finite_use=yes
54680 else
54681 echo "$as_me: failed program was:" >&5
54682 sed 's/^/| /' conftest.$ac_ext >&5
54684 glibcxx_cv_func__finite_use=no
54686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54687 ac_ext=c
54688 ac_cpp='$CPP $CPPFLAGS'
54689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54697 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
54698 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
54700 if test x$glibcxx_cv_func__finite_use = x"yes"; then
54702 for ac_func in _finite
54704 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54705 echo "$as_me:$LINENO: checking for $ac_func" >&5
54706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54707 if eval "test \"\${$as_ac_var+set}\" = set"; then
54708 echo $ECHO_N "(cached) $ECHO_C" >&6
54709 else
54710 if test x$gcc_no_link = xyes; then
54711 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54713 { (exit 1); exit 1; }; }
54715 cat >conftest.$ac_ext <<_ACEOF
54716 /* confdefs.h. */
54717 _ACEOF
54718 cat confdefs.h >>conftest.$ac_ext
54719 cat >>conftest.$ac_ext <<_ACEOF
54720 /* end confdefs.h. */
54721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54722 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54723 #define $ac_func innocuous_$ac_func
54725 /* System header to define __stub macros and hopefully few prototypes,
54726 which can conflict with char $ac_func (); below.
54727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54728 <limits.h> exists even on freestanding compilers. */
54730 #ifdef __STDC__
54731 # include <limits.h>
54732 #else
54733 # include <assert.h>
54734 #endif
54736 #undef $ac_func
54738 /* Override any gcc2 internal prototype to avoid an error. */
54739 #ifdef __cplusplus
54740 extern "C"
54742 #endif
54743 /* We use char because int might match the return type of a gcc2
54744 builtin and then its argument prototype would still apply. */
54745 char $ac_func ();
54746 /* The GNU C library defines this for functions which it implements
54747 to always fail with ENOSYS. Some functions are actually named
54748 something starting with __ and the normal name is an alias. */
54749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54750 choke me
54751 #else
54752 char (*f) () = $ac_func;
54753 #endif
54754 #ifdef __cplusplus
54756 #endif
54759 main ()
54761 return f != $ac_func;
54763 return 0;
54765 _ACEOF
54766 rm -f conftest.$ac_objext conftest$ac_exeext
54767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54768 (eval $ac_link) 2>conftest.er1
54769 ac_status=$?
54770 grep -v '^ *+' conftest.er1 >conftest.err
54771 rm -f conftest.er1
54772 cat conftest.err >&5
54773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54774 (exit $ac_status); } &&
54775 { ac_try='test -z "$ac_c_werror_flag"
54776 || test ! -s conftest.err'
54777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54778 (eval $ac_try) 2>&5
54779 ac_status=$?
54780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54781 (exit $ac_status); }; } &&
54782 { ac_try='test -s conftest$ac_exeext'
54783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54784 (eval $ac_try) 2>&5
54785 ac_status=$?
54786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54787 (exit $ac_status); }; }; then
54788 eval "$as_ac_var=yes"
54789 else
54790 echo "$as_me: failed program was:" >&5
54791 sed 's/^/| /' conftest.$ac_ext >&5
54793 eval "$as_ac_var=no"
54795 rm -f conftest.err conftest.$ac_objext \
54796 conftest$ac_exeext conftest.$ac_ext
54798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54799 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54800 if test `eval echo '${'$as_ac_var'}'` = yes; then
54801 cat >>confdefs.h <<_ACEOF
54802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54803 _ACEOF
54806 done
54813 echo "$as_me:$LINENO: checking for copysign declaration" >&5
54814 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
54815 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
54816 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
54817 echo $ECHO_N "(cached) $ECHO_C" >&6
54818 else
54822 ac_ext=cc
54823 ac_cpp='$CXXCPP $CPPFLAGS'
54824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54828 cat >conftest.$ac_ext <<_ACEOF
54829 /* confdefs.h. */
54830 _ACEOF
54831 cat confdefs.h >>conftest.$ac_ext
54832 cat >>conftest.$ac_ext <<_ACEOF
54833 /* end confdefs.h. */
54834 #include <math.h>
54836 main ()
54838 copysign(0, 0);
54840 return 0;
54842 _ACEOF
54843 rm -f conftest.$ac_objext
54844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54845 (eval $ac_compile) 2>conftest.er1
54846 ac_status=$?
54847 grep -v '^ *+' conftest.er1 >conftest.err
54848 rm -f conftest.er1
54849 cat conftest.err >&5
54850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54851 (exit $ac_status); } &&
54852 { ac_try='test -z "$ac_cxx_werror_flag"
54853 || test ! -s conftest.err'
54854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54855 (eval $ac_try) 2>&5
54856 ac_status=$?
54857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54858 (exit $ac_status); }; } &&
54859 { ac_try='test -s conftest.$ac_objext'
54860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54861 (eval $ac_try) 2>&5
54862 ac_status=$?
54863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54864 (exit $ac_status); }; }; then
54865 glibcxx_cv_func_copysign_use=yes
54866 else
54867 echo "$as_me: failed program was:" >&5
54868 sed 's/^/| /' conftest.$ac_ext >&5
54870 glibcxx_cv_func_copysign_use=no
54872 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54873 ac_ext=c
54874 ac_cpp='$CPP $CPPFLAGS'
54875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54883 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
54884 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
54886 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
54888 for ac_func in copysign
54890 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54891 echo "$as_me:$LINENO: checking for $ac_func" >&5
54892 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54893 if eval "test \"\${$as_ac_var+set}\" = set"; then
54894 echo $ECHO_N "(cached) $ECHO_C" >&6
54895 else
54896 if test x$gcc_no_link = xyes; then
54897 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54898 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54899 { (exit 1); exit 1; }; }
54901 cat >conftest.$ac_ext <<_ACEOF
54902 /* confdefs.h. */
54903 _ACEOF
54904 cat confdefs.h >>conftest.$ac_ext
54905 cat >>conftest.$ac_ext <<_ACEOF
54906 /* end confdefs.h. */
54907 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54908 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54909 #define $ac_func innocuous_$ac_func
54911 /* System header to define __stub macros and hopefully few prototypes,
54912 which can conflict with char $ac_func (); below.
54913 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54914 <limits.h> exists even on freestanding compilers. */
54916 #ifdef __STDC__
54917 # include <limits.h>
54918 #else
54919 # include <assert.h>
54920 #endif
54922 #undef $ac_func
54924 /* Override any gcc2 internal prototype to avoid an error. */
54925 #ifdef __cplusplus
54926 extern "C"
54928 #endif
54929 /* We use char because int might match the return type of a gcc2
54930 builtin and then its argument prototype would still apply. */
54931 char $ac_func ();
54932 /* The GNU C library defines this for functions which it implements
54933 to always fail with ENOSYS. Some functions are actually named
54934 something starting with __ and the normal name is an alias. */
54935 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54936 choke me
54937 #else
54938 char (*f) () = $ac_func;
54939 #endif
54940 #ifdef __cplusplus
54942 #endif
54945 main ()
54947 return f != $ac_func;
54949 return 0;
54951 _ACEOF
54952 rm -f conftest.$ac_objext conftest$ac_exeext
54953 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54954 (eval $ac_link) 2>conftest.er1
54955 ac_status=$?
54956 grep -v '^ *+' conftest.er1 >conftest.err
54957 rm -f conftest.er1
54958 cat conftest.err >&5
54959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54960 (exit $ac_status); } &&
54961 { ac_try='test -z "$ac_c_werror_flag"
54962 || test ! -s conftest.err'
54963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54964 (eval $ac_try) 2>&5
54965 ac_status=$?
54966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54967 (exit $ac_status); }; } &&
54968 { ac_try='test -s conftest$ac_exeext'
54969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54970 (eval $ac_try) 2>&5
54971 ac_status=$?
54972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54973 (exit $ac_status); }; }; then
54974 eval "$as_ac_var=yes"
54975 else
54976 echo "$as_me: failed program was:" >&5
54977 sed 's/^/| /' conftest.$ac_ext >&5
54979 eval "$as_ac_var=no"
54981 rm -f conftest.err conftest.$ac_objext \
54982 conftest$ac_exeext conftest.$ac_ext
54984 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54985 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54986 if test `eval echo '${'$as_ac_var'}'` = yes; then
54987 cat >>confdefs.h <<_ACEOF
54988 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54989 _ACEOF
54992 done
54994 else
54996 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
54997 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
54998 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
54999 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
55000 echo $ECHO_N "(cached) $ECHO_C" >&6
55001 else
55005 ac_ext=cc
55006 ac_cpp='$CXXCPP $CPPFLAGS'
55007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55011 cat >conftest.$ac_ext <<_ACEOF
55012 /* confdefs.h. */
55013 _ACEOF
55014 cat confdefs.h >>conftest.$ac_ext
55015 cat >>conftest.$ac_ext <<_ACEOF
55016 /* end confdefs.h. */
55017 #include <math.h>
55019 main ()
55021 _copysign(0, 0);
55023 return 0;
55025 _ACEOF
55026 rm -f conftest.$ac_objext
55027 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55028 (eval $ac_compile) 2>conftest.er1
55029 ac_status=$?
55030 grep -v '^ *+' conftest.er1 >conftest.err
55031 rm -f conftest.er1
55032 cat conftest.err >&5
55033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55034 (exit $ac_status); } &&
55035 { ac_try='test -z "$ac_cxx_werror_flag"
55036 || test ! -s conftest.err'
55037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55038 (eval $ac_try) 2>&5
55039 ac_status=$?
55040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55041 (exit $ac_status); }; } &&
55042 { ac_try='test -s conftest.$ac_objext'
55043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55044 (eval $ac_try) 2>&5
55045 ac_status=$?
55046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55047 (exit $ac_status); }; }; then
55048 glibcxx_cv_func__copysign_use=yes
55049 else
55050 echo "$as_me: failed program was:" >&5
55051 sed 's/^/| /' conftest.$ac_ext >&5
55053 glibcxx_cv_func__copysign_use=no
55055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55056 ac_ext=c
55057 ac_cpp='$CPP $CPPFLAGS'
55058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55066 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
55067 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
55069 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
55071 for ac_func in _copysign
55073 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55074 echo "$as_me:$LINENO: checking for $ac_func" >&5
55075 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55076 if eval "test \"\${$as_ac_var+set}\" = set"; then
55077 echo $ECHO_N "(cached) $ECHO_C" >&6
55078 else
55079 if test x$gcc_no_link = xyes; then
55080 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55081 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55082 { (exit 1); exit 1; }; }
55084 cat >conftest.$ac_ext <<_ACEOF
55085 /* confdefs.h. */
55086 _ACEOF
55087 cat confdefs.h >>conftest.$ac_ext
55088 cat >>conftest.$ac_ext <<_ACEOF
55089 /* end confdefs.h. */
55090 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55091 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55092 #define $ac_func innocuous_$ac_func
55094 /* System header to define __stub macros and hopefully few prototypes,
55095 which can conflict with char $ac_func (); below.
55096 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55097 <limits.h> exists even on freestanding compilers. */
55099 #ifdef __STDC__
55100 # include <limits.h>
55101 #else
55102 # include <assert.h>
55103 #endif
55105 #undef $ac_func
55107 /* Override any gcc2 internal prototype to avoid an error. */
55108 #ifdef __cplusplus
55109 extern "C"
55111 #endif
55112 /* We use char because int might match the return type of a gcc2
55113 builtin and then its argument prototype would still apply. */
55114 char $ac_func ();
55115 /* The GNU C library defines this for functions which it implements
55116 to always fail with ENOSYS. Some functions are actually named
55117 something starting with __ and the normal name is an alias. */
55118 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55119 choke me
55120 #else
55121 char (*f) () = $ac_func;
55122 #endif
55123 #ifdef __cplusplus
55125 #endif
55128 main ()
55130 return f != $ac_func;
55132 return 0;
55134 _ACEOF
55135 rm -f conftest.$ac_objext conftest$ac_exeext
55136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55137 (eval $ac_link) 2>conftest.er1
55138 ac_status=$?
55139 grep -v '^ *+' conftest.er1 >conftest.err
55140 rm -f conftest.er1
55141 cat conftest.err >&5
55142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55143 (exit $ac_status); } &&
55144 { ac_try='test -z "$ac_c_werror_flag"
55145 || test ! -s conftest.err'
55146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55147 (eval $ac_try) 2>&5
55148 ac_status=$?
55149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55150 (exit $ac_status); }; } &&
55151 { ac_try='test -s conftest$ac_exeext'
55152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55153 (eval $ac_try) 2>&5
55154 ac_status=$?
55155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55156 (exit $ac_status); }; }; then
55157 eval "$as_ac_var=yes"
55158 else
55159 echo "$as_me: failed program was:" >&5
55160 sed 's/^/| /' conftest.$ac_ext >&5
55162 eval "$as_ac_var=no"
55164 rm -f conftest.err conftest.$ac_objext \
55165 conftest$ac_exeext conftest.$ac_ext
55167 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55168 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55169 if test `eval echo '${'$as_ac_var'}'` = yes; then
55170 cat >>confdefs.h <<_ACEOF
55171 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55172 _ACEOF
55175 done
55182 echo "$as_me:$LINENO: checking for sincos declaration" >&5
55183 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
55184 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
55185 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
55186 echo $ECHO_N "(cached) $ECHO_C" >&6
55187 else
55191 ac_ext=cc
55192 ac_cpp='$CXXCPP $CPPFLAGS'
55193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55197 cat >conftest.$ac_ext <<_ACEOF
55198 /* confdefs.h. */
55199 _ACEOF
55200 cat confdefs.h >>conftest.$ac_ext
55201 cat >>conftest.$ac_ext <<_ACEOF
55202 /* end confdefs.h. */
55203 #include <math.h>
55205 main ()
55207 sincos(0, 0, 0);
55209 return 0;
55211 _ACEOF
55212 rm -f conftest.$ac_objext
55213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55214 (eval $ac_compile) 2>conftest.er1
55215 ac_status=$?
55216 grep -v '^ *+' conftest.er1 >conftest.err
55217 rm -f conftest.er1
55218 cat conftest.err >&5
55219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55220 (exit $ac_status); } &&
55221 { ac_try='test -z "$ac_cxx_werror_flag"
55222 || test ! -s conftest.err'
55223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55224 (eval $ac_try) 2>&5
55225 ac_status=$?
55226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55227 (exit $ac_status); }; } &&
55228 { ac_try='test -s conftest.$ac_objext'
55229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55230 (eval $ac_try) 2>&5
55231 ac_status=$?
55232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55233 (exit $ac_status); }; }; then
55234 glibcxx_cv_func_sincos_use=yes
55235 else
55236 echo "$as_me: failed program was:" >&5
55237 sed 's/^/| /' conftest.$ac_ext >&5
55239 glibcxx_cv_func_sincos_use=no
55241 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55242 ac_ext=c
55243 ac_cpp='$CPP $CPPFLAGS'
55244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55252 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
55253 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
55255 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
55257 for ac_func in sincos
55259 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55260 echo "$as_me:$LINENO: checking for $ac_func" >&5
55261 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55262 if eval "test \"\${$as_ac_var+set}\" = set"; then
55263 echo $ECHO_N "(cached) $ECHO_C" >&6
55264 else
55265 if test x$gcc_no_link = xyes; then
55266 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55267 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55268 { (exit 1); exit 1; }; }
55270 cat >conftest.$ac_ext <<_ACEOF
55271 /* confdefs.h. */
55272 _ACEOF
55273 cat confdefs.h >>conftest.$ac_ext
55274 cat >>conftest.$ac_ext <<_ACEOF
55275 /* end confdefs.h. */
55276 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55277 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55278 #define $ac_func innocuous_$ac_func
55280 /* System header to define __stub macros and hopefully few prototypes,
55281 which can conflict with char $ac_func (); below.
55282 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55283 <limits.h> exists even on freestanding compilers. */
55285 #ifdef __STDC__
55286 # include <limits.h>
55287 #else
55288 # include <assert.h>
55289 #endif
55291 #undef $ac_func
55293 /* Override any gcc2 internal prototype to avoid an error. */
55294 #ifdef __cplusplus
55295 extern "C"
55297 #endif
55298 /* We use char because int might match the return type of a gcc2
55299 builtin and then its argument prototype would still apply. */
55300 char $ac_func ();
55301 /* The GNU C library defines this for functions which it implements
55302 to always fail with ENOSYS. Some functions are actually named
55303 something starting with __ and the normal name is an alias. */
55304 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55305 choke me
55306 #else
55307 char (*f) () = $ac_func;
55308 #endif
55309 #ifdef __cplusplus
55311 #endif
55314 main ()
55316 return f != $ac_func;
55318 return 0;
55320 _ACEOF
55321 rm -f conftest.$ac_objext conftest$ac_exeext
55322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55323 (eval $ac_link) 2>conftest.er1
55324 ac_status=$?
55325 grep -v '^ *+' conftest.er1 >conftest.err
55326 rm -f conftest.er1
55327 cat conftest.err >&5
55328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55329 (exit $ac_status); } &&
55330 { ac_try='test -z "$ac_c_werror_flag"
55331 || test ! -s conftest.err'
55332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55333 (eval $ac_try) 2>&5
55334 ac_status=$?
55335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55336 (exit $ac_status); }; } &&
55337 { ac_try='test -s conftest$ac_exeext'
55338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55339 (eval $ac_try) 2>&5
55340 ac_status=$?
55341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55342 (exit $ac_status); }; }; then
55343 eval "$as_ac_var=yes"
55344 else
55345 echo "$as_me: failed program was:" >&5
55346 sed 's/^/| /' conftest.$ac_ext >&5
55348 eval "$as_ac_var=no"
55350 rm -f conftest.err conftest.$ac_objext \
55351 conftest$ac_exeext conftest.$ac_ext
55353 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55354 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55355 if test `eval echo '${'$as_ac_var'}'` = yes; then
55356 cat >>confdefs.h <<_ACEOF
55357 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55358 _ACEOF
55361 done
55363 else
55365 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
55366 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
55367 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
55368 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
55369 echo $ECHO_N "(cached) $ECHO_C" >&6
55370 else
55374 ac_ext=cc
55375 ac_cpp='$CXXCPP $CPPFLAGS'
55376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55380 cat >conftest.$ac_ext <<_ACEOF
55381 /* confdefs.h. */
55382 _ACEOF
55383 cat confdefs.h >>conftest.$ac_ext
55384 cat >>conftest.$ac_ext <<_ACEOF
55385 /* end confdefs.h. */
55386 #include <math.h>
55388 main ()
55390 _sincos(0, 0, 0);
55392 return 0;
55394 _ACEOF
55395 rm -f conftest.$ac_objext
55396 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55397 (eval $ac_compile) 2>conftest.er1
55398 ac_status=$?
55399 grep -v '^ *+' conftest.er1 >conftest.err
55400 rm -f conftest.er1
55401 cat conftest.err >&5
55402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55403 (exit $ac_status); } &&
55404 { ac_try='test -z "$ac_cxx_werror_flag"
55405 || test ! -s conftest.err'
55406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55407 (eval $ac_try) 2>&5
55408 ac_status=$?
55409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55410 (exit $ac_status); }; } &&
55411 { ac_try='test -s conftest.$ac_objext'
55412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55413 (eval $ac_try) 2>&5
55414 ac_status=$?
55415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55416 (exit $ac_status); }; }; then
55417 glibcxx_cv_func__sincos_use=yes
55418 else
55419 echo "$as_me: failed program was:" >&5
55420 sed 's/^/| /' conftest.$ac_ext >&5
55422 glibcxx_cv_func__sincos_use=no
55424 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55425 ac_ext=c
55426 ac_cpp='$CPP $CPPFLAGS'
55427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55435 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
55436 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
55438 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
55440 for ac_func in _sincos
55442 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55443 echo "$as_me:$LINENO: checking for $ac_func" >&5
55444 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55445 if eval "test \"\${$as_ac_var+set}\" = set"; then
55446 echo $ECHO_N "(cached) $ECHO_C" >&6
55447 else
55448 if test x$gcc_no_link = xyes; then
55449 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55450 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55451 { (exit 1); exit 1; }; }
55453 cat >conftest.$ac_ext <<_ACEOF
55454 /* confdefs.h. */
55455 _ACEOF
55456 cat confdefs.h >>conftest.$ac_ext
55457 cat >>conftest.$ac_ext <<_ACEOF
55458 /* end confdefs.h. */
55459 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55460 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55461 #define $ac_func innocuous_$ac_func
55463 /* System header to define __stub macros and hopefully few prototypes,
55464 which can conflict with char $ac_func (); below.
55465 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55466 <limits.h> exists even on freestanding compilers. */
55468 #ifdef __STDC__
55469 # include <limits.h>
55470 #else
55471 # include <assert.h>
55472 #endif
55474 #undef $ac_func
55476 /* Override any gcc2 internal prototype to avoid an error. */
55477 #ifdef __cplusplus
55478 extern "C"
55480 #endif
55481 /* We use char because int might match the return type of a gcc2
55482 builtin and then its argument prototype would still apply. */
55483 char $ac_func ();
55484 /* The GNU C library defines this for functions which it implements
55485 to always fail with ENOSYS. Some functions are actually named
55486 something starting with __ and the normal name is an alias. */
55487 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55488 choke me
55489 #else
55490 char (*f) () = $ac_func;
55491 #endif
55492 #ifdef __cplusplus
55494 #endif
55497 main ()
55499 return f != $ac_func;
55501 return 0;
55503 _ACEOF
55504 rm -f conftest.$ac_objext conftest$ac_exeext
55505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55506 (eval $ac_link) 2>conftest.er1
55507 ac_status=$?
55508 grep -v '^ *+' conftest.er1 >conftest.err
55509 rm -f conftest.er1
55510 cat conftest.err >&5
55511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55512 (exit $ac_status); } &&
55513 { ac_try='test -z "$ac_c_werror_flag"
55514 || test ! -s conftest.err'
55515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55516 (eval $ac_try) 2>&5
55517 ac_status=$?
55518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55519 (exit $ac_status); }; } &&
55520 { ac_try='test -s conftest$ac_exeext'
55521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55522 (eval $ac_try) 2>&5
55523 ac_status=$?
55524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55525 (exit $ac_status); }; }; then
55526 eval "$as_ac_var=yes"
55527 else
55528 echo "$as_me: failed program was:" >&5
55529 sed 's/^/| /' conftest.$ac_ext >&5
55531 eval "$as_ac_var=no"
55533 rm -f conftest.err conftest.$ac_objext \
55534 conftest$ac_exeext conftest.$ac_ext
55536 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55537 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55538 if test `eval echo '${'$as_ac_var'}'` = yes; then
55539 cat >>confdefs.h <<_ACEOF
55540 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55541 _ACEOF
55544 done
55551 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
55552 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
55553 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
55554 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
55555 echo $ECHO_N "(cached) $ECHO_C" >&6
55556 else
55560 ac_ext=cc
55561 ac_cpp='$CXXCPP $CPPFLAGS'
55562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55566 cat >conftest.$ac_ext <<_ACEOF
55567 /* confdefs.h. */
55568 _ACEOF
55569 cat confdefs.h >>conftest.$ac_ext
55570 cat >>conftest.$ac_ext <<_ACEOF
55571 /* end confdefs.h. */
55572 #include <math.h>
55573 #ifdef HAVE_IEEEFP_H
55574 #include <ieeefp.h>
55575 #endif
55578 main ()
55580 fpclass(0);
55582 return 0;
55584 _ACEOF
55585 rm -f conftest.$ac_objext
55586 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55587 (eval $ac_compile) 2>conftest.er1
55588 ac_status=$?
55589 grep -v '^ *+' conftest.er1 >conftest.err
55590 rm -f conftest.er1
55591 cat conftest.err >&5
55592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55593 (exit $ac_status); } &&
55594 { ac_try='test -z "$ac_cxx_werror_flag"
55595 || test ! -s conftest.err'
55596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55597 (eval $ac_try) 2>&5
55598 ac_status=$?
55599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55600 (exit $ac_status); }; } &&
55601 { ac_try='test -s conftest.$ac_objext'
55602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55603 (eval $ac_try) 2>&5
55604 ac_status=$?
55605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55606 (exit $ac_status); }; }; then
55607 glibcxx_cv_func_fpclass_use=yes
55608 else
55609 echo "$as_me: failed program was:" >&5
55610 sed 's/^/| /' conftest.$ac_ext >&5
55612 glibcxx_cv_func_fpclass_use=no
55614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55615 ac_ext=c
55616 ac_cpp='$CPP $CPPFLAGS'
55617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55625 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
55626 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
55628 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
55630 for ac_func in fpclass
55632 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55633 echo "$as_me:$LINENO: checking for $ac_func" >&5
55634 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55635 if eval "test \"\${$as_ac_var+set}\" = set"; then
55636 echo $ECHO_N "(cached) $ECHO_C" >&6
55637 else
55638 if test x$gcc_no_link = xyes; then
55639 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55640 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55641 { (exit 1); exit 1; }; }
55643 cat >conftest.$ac_ext <<_ACEOF
55644 /* confdefs.h. */
55645 _ACEOF
55646 cat confdefs.h >>conftest.$ac_ext
55647 cat >>conftest.$ac_ext <<_ACEOF
55648 /* end confdefs.h. */
55649 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55650 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55651 #define $ac_func innocuous_$ac_func
55653 /* System header to define __stub macros and hopefully few prototypes,
55654 which can conflict with char $ac_func (); below.
55655 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55656 <limits.h> exists even on freestanding compilers. */
55658 #ifdef __STDC__
55659 # include <limits.h>
55660 #else
55661 # include <assert.h>
55662 #endif
55664 #undef $ac_func
55666 /* Override any gcc2 internal prototype to avoid an error. */
55667 #ifdef __cplusplus
55668 extern "C"
55670 #endif
55671 /* We use char because int might match the return type of a gcc2
55672 builtin and then its argument prototype would still apply. */
55673 char $ac_func ();
55674 /* The GNU C library defines this for functions which it implements
55675 to always fail with ENOSYS. Some functions are actually named
55676 something starting with __ and the normal name is an alias. */
55677 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55678 choke me
55679 #else
55680 char (*f) () = $ac_func;
55681 #endif
55682 #ifdef __cplusplus
55684 #endif
55687 main ()
55689 return f != $ac_func;
55691 return 0;
55693 _ACEOF
55694 rm -f conftest.$ac_objext conftest$ac_exeext
55695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55696 (eval $ac_link) 2>conftest.er1
55697 ac_status=$?
55698 grep -v '^ *+' conftest.er1 >conftest.err
55699 rm -f conftest.er1
55700 cat conftest.err >&5
55701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55702 (exit $ac_status); } &&
55703 { ac_try='test -z "$ac_c_werror_flag"
55704 || test ! -s conftest.err'
55705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55706 (eval $ac_try) 2>&5
55707 ac_status=$?
55708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55709 (exit $ac_status); }; } &&
55710 { ac_try='test -s conftest$ac_exeext'
55711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55712 (eval $ac_try) 2>&5
55713 ac_status=$?
55714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55715 (exit $ac_status); }; }; then
55716 eval "$as_ac_var=yes"
55717 else
55718 echo "$as_me: failed program was:" >&5
55719 sed 's/^/| /' conftest.$ac_ext >&5
55721 eval "$as_ac_var=no"
55723 rm -f conftest.err conftest.$ac_objext \
55724 conftest$ac_exeext conftest.$ac_ext
55726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55727 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55728 if test `eval echo '${'$as_ac_var'}'` = yes; then
55729 cat >>confdefs.h <<_ACEOF
55730 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55731 _ACEOF
55734 done
55736 else
55738 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
55739 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
55740 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
55741 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
55742 echo $ECHO_N "(cached) $ECHO_C" >&6
55743 else
55747 ac_ext=cc
55748 ac_cpp='$CXXCPP $CPPFLAGS'
55749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55753 cat >conftest.$ac_ext <<_ACEOF
55754 /* confdefs.h. */
55755 _ACEOF
55756 cat confdefs.h >>conftest.$ac_ext
55757 cat >>conftest.$ac_ext <<_ACEOF
55758 /* end confdefs.h. */
55759 #include <math.h>
55760 #ifdef HAVE_IEEEFP_H
55761 #include <ieeefp.h>
55762 #endif
55765 main ()
55767 _fpclass(0);
55769 return 0;
55771 _ACEOF
55772 rm -f conftest.$ac_objext
55773 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55774 (eval $ac_compile) 2>conftest.er1
55775 ac_status=$?
55776 grep -v '^ *+' conftest.er1 >conftest.err
55777 rm -f conftest.er1
55778 cat conftest.err >&5
55779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55780 (exit $ac_status); } &&
55781 { ac_try='test -z "$ac_cxx_werror_flag"
55782 || test ! -s conftest.err'
55783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55784 (eval $ac_try) 2>&5
55785 ac_status=$?
55786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55787 (exit $ac_status); }; } &&
55788 { ac_try='test -s conftest.$ac_objext'
55789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55790 (eval $ac_try) 2>&5
55791 ac_status=$?
55792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55793 (exit $ac_status); }; }; then
55794 glibcxx_cv_func__fpclass_use=yes
55795 else
55796 echo "$as_me: failed program was:" >&5
55797 sed 's/^/| /' conftest.$ac_ext >&5
55799 glibcxx_cv_func__fpclass_use=no
55801 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55802 ac_ext=c
55803 ac_cpp='$CPP $CPPFLAGS'
55804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55812 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
55813 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
55815 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
55817 for ac_func in _fpclass
55819 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55820 echo "$as_me:$LINENO: checking for $ac_func" >&5
55821 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55822 if eval "test \"\${$as_ac_var+set}\" = set"; then
55823 echo $ECHO_N "(cached) $ECHO_C" >&6
55824 else
55825 if test x$gcc_no_link = xyes; then
55826 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55827 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55828 { (exit 1); exit 1; }; }
55830 cat >conftest.$ac_ext <<_ACEOF
55831 /* confdefs.h. */
55832 _ACEOF
55833 cat confdefs.h >>conftest.$ac_ext
55834 cat >>conftest.$ac_ext <<_ACEOF
55835 /* end confdefs.h. */
55836 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55837 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55838 #define $ac_func innocuous_$ac_func
55840 /* System header to define __stub macros and hopefully few prototypes,
55841 which can conflict with char $ac_func (); below.
55842 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55843 <limits.h> exists even on freestanding compilers. */
55845 #ifdef __STDC__
55846 # include <limits.h>
55847 #else
55848 # include <assert.h>
55849 #endif
55851 #undef $ac_func
55853 /* Override any gcc2 internal prototype to avoid an error. */
55854 #ifdef __cplusplus
55855 extern "C"
55857 #endif
55858 /* We use char because int might match the return type of a gcc2
55859 builtin and then its argument prototype would still apply. */
55860 char $ac_func ();
55861 /* The GNU C library defines this for functions which it implements
55862 to always fail with ENOSYS. Some functions are actually named
55863 something starting with __ and the normal name is an alias. */
55864 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55865 choke me
55866 #else
55867 char (*f) () = $ac_func;
55868 #endif
55869 #ifdef __cplusplus
55871 #endif
55874 main ()
55876 return f != $ac_func;
55878 return 0;
55880 _ACEOF
55881 rm -f conftest.$ac_objext conftest$ac_exeext
55882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55883 (eval $ac_link) 2>conftest.er1
55884 ac_status=$?
55885 grep -v '^ *+' conftest.er1 >conftest.err
55886 rm -f conftest.er1
55887 cat conftest.err >&5
55888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55889 (exit $ac_status); } &&
55890 { ac_try='test -z "$ac_c_werror_flag"
55891 || test ! -s conftest.err'
55892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55893 (eval $ac_try) 2>&5
55894 ac_status=$?
55895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55896 (exit $ac_status); }; } &&
55897 { ac_try='test -s conftest$ac_exeext'
55898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55899 (eval $ac_try) 2>&5
55900 ac_status=$?
55901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55902 (exit $ac_status); }; }; then
55903 eval "$as_ac_var=yes"
55904 else
55905 echo "$as_me: failed program was:" >&5
55906 sed 's/^/| /' conftest.$ac_ext >&5
55908 eval "$as_ac_var=no"
55910 rm -f conftest.err conftest.$ac_objext \
55911 conftest$ac_exeext conftest.$ac_ext
55913 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55914 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55915 if test `eval echo '${'$as_ac_var'}'` = yes; then
55916 cat >>confdefs.h <<_ACEOF
55917 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55918 _ACEOF
55921 done
55928 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
55929 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
55930 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
55931 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
55932 echo $ECHO_N "(cached) $ECHO_C" >&6
55933 else
55937 ac_ext=cc
55938 ac_cpp='$CXXCPP $CPPFLAGS'
55939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55943 cat >conftest.$ac_ext <<_ACEOF
55944 /* confdefs.h. */
55945 _ACEOF
55946 cat confdefs.h >>conftest.$ac_ext
55947 cat >>conftest.$ac_ext <<_ACEOF
55948 /* end confdefs.h. */
55949 #include <math.h>
55950 #ifdef HAVE_IEEEFP_H
55951 #include <ieeefp.h>
55952 #endif
55955 main ()
55957 qfpclass(0);
55959 return 0;
55961 _ACEOF
55962 rm -f conftest.$ac_objext
55963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55964 (eval $ac_compile) 2>conftest.er1
55965 ac_status=$?
55966 grep -v '^ *+' conftest.er1 >conftest.err
55967 rm -f conftest.er1
55968 cat conftest.err >&5
55969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55970 (exit $ac_status); } &&
55971 { ac_try='test -z "$ac_cxx_werror_flag"
55972 || test ! -s conftest.err'
55973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55974 (eval $ac_try) 2>&5
55975 ac_status=$?
55976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55977 (exit $ac_status); }; } &&
55978 { ac_try='test -s conftest.$ac_objext'
55979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55980 (eval $ac_try) 2>&5
55981 ac_status=$?
55982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55983 (exit $ac_status); }; }; then
55984 glibcxx_cv_func_qfpclass_use=yes
55985 else
55986 echo "$as_me: failed program was:" >&5
55987 sed 's/^/| /' conftest.$ac_ext >&5
55989 glibcxx_cv_func_qfpclass_use=no
55991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55992 ac_ext=c
55993 ac_cpp='$CPP $CPPFLAGS'
55994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56002 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
56003 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
56005 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
56007 for ac_func in qfpclass
56009 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56010 echo "$as_me:$LINENO: checking for $ac_func" >&5
56011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56012 if eval "test \"\${$as_ac_var+set}\" = set"; then
56013 echo $ECHO_N "(cached) $ECHO_C" >&6
56014 else
56015 if test x$gcc_no_link = xyes; then
56016 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56017 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56018 { (exit 1); exit 1; }; }
56020 cat >conftest.$ac_ext <<_ACEOF
56021 /* confdefs.h. */
56022 _ACEOF
56023 cat confdefs.h >>conftest.$ac_ext
56024 cat >>conftest.$ac_ext <<_ACEOF
56025 /* end confdefs.h. */
56026 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56027 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56028 #define $ac_func innocuous_$ac_func
56030 /* System header to define __stub macros and hopefully few prototypes,
56031 which can conflict with char $ac_func (); below.
56032 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56033 <limits.h> exists even on freestanding compilers. */
56035 #ifdef __STDC__
56036 # include <limits.h>
56037 #else
56038 # include <assert.h>
56039 #endif
56041 #undef $ac_func
56043 /* Override any gcc2 internal prototype to avoid an error. */
56044 #ifdef __cplusplus
56045 extern "C"
56047 #endif
56048 /* We use char because int might match the return type of a gcc2
56049 builtin and then its argument prototype would still apply. */
56050 char $ac_func ();
56051 /* The GNU C library defines this for functions which it implements
56052 to always fail with ENOSYS. Some functions are actually named
56053 something starting with __ and the normal name is an alias. */
56054 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56055 choke me
56056 #else
56057 char (*f) () = $ac_func;
56058 #endif
56059 #ifdef __cplusplus
56061 #endif
56064 main ()
56066 return f != $ac_func;
56068 return 0;
56070 _ACEOF
56071 rm -f conftest.$ac_objext conftest$ac_exeext
56072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56073 (eval $ac_link) 2>conftest.er1
56074 ac_status=$?
56075 grep -v '^ *+' conftest.er1 >conftest.err
56076 rm -f conftest.er1
56077 cat conftest.err >&5
56078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56079 (exit $ac_status); } &&
56080 { ac_try='test -z "$ac_c_werror_flag"
56081 || test ! -s conftest.err'
56082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56083 (eval $ac_try) 2>&5
56084 ac_status=$?
56085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56086 (exit $ac_status); }; } &&
56087 { ac_try='test -s conftest$ac_exeext'
56088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56089 (eval $ac_try) 2>&5
56090 ac_status=$?
56091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56092 (exit $ac_status); }; }; then
56093 eval "$as_ac_var=yes"
56094 else
56095 echo "$as_me: failed program was:" >&5
56096 sed 's/^/| /' conftest.$ac_ext >&5
56098 eval "$as_ac_var=no"
56100 rm -f conftest.err conftest.$ac_objext \
56101 conftest$ac_exeext conftest.$ac_ext
56103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56104 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56105 if test `eval echo '${'$as_ac_var'}'` = yes; then
56106 cat >>confdefs.h <<_ACEOF
56107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56108 _ACEOF
56111 done
56113 else
56115 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
56116 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
56117 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
56118 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
56119 echo $ECHO_N "(cached) $ECHO_C" >&6
56120 else
56124 ac_ext=cc
56125 ac_cpp='$CXXCPP $CPPFLAGS'
56126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56130 cat >conftest.$ac_ext <<_ACEOF
56131 /* confdefs.h. */
56132 _ACEOF
56133 cat confdefs.h >>conftest.$ac_ext
56134 cat >>conftest.$ac_ext <<_ACEOF
56135 /* end confdefs.h. */
56136 #include <math.h>
56137 #ifdef HAVE_IEEEFP_H
56138 #include <ieeefp.h>
56139 #endif
56142 main ()
56144 _qfpclass(0);
56146 return 0;
56148 _ACEOF
56149 rm -f conftest.$ac_objext
56150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56151 (eval $ac_compile) 2>conftest.er1
56152 ac_status=$?
56153 grep -v '^ *+' conftest.er1 >conftest.err
56154 rm -f conftest.er1
56155 cat conftest.err >&5
56156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56157 (exit $ac_status); } &&
56158 { ac_try='test -z "$ac_cxx_werror_flag"
56159 || test ! -s conftest.err'
56160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56161 (eval $ac_try) 2>&5
56162 ac_status=$?
56163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56164 (exit $ac_status); }; } &&
56165 { ac_try='test -s conftest.$ac_objext'
56166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56167 (eval $ac_try) 2>&5
56168 ac_status=$?
56169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56170 (exit $ac_status); }; }; then
56171 glibcxx_cv_func__qfpclass_use=yes
56172 else
56173 echo "$as_me: failed program was:" >&5
56174 sed 's/^/| /' conftest.$ac_ext >&5
56176 glibcxx_cv_func__qfpclass_use=no
56178 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56179 ac_ext=c
56180 ac_cpp='$CPP $CPPFLAGS'
56181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56189 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
56190 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
56192 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
56194 for ac_func in _qfpclass
56196 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56197 echo "$as_me:$LINENO: checking for $ac_func" >&5
56198 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56199 if eval "test \"\${$as_ac_var+set}\" = set"; then
56200 echo $ECHO_N "(cached) $ECHO_C" >&6
56201 else
56202 if test x$gcc_no_link = xyes; then
56203 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56204 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56205 { (exit 1); exit 1; }; }
56207 cat >conftest.$ac_ext <<_ACEOF
56208 /* confdefs.h. */
56209 _ACEOF
56210 cat confdefs.h >>conftest.$ac_ext
56211 cat >>conftest.$ac_ext <<_ACEOF
56212 /* end confdefs.h. */
56213 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56214 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56215 #define $ac_func innocuous_$ac_func
56217 /* System header to define __stub macros and hopefully few prototypes,
56218 which can conflict with char $ac_func (); below.
56219 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56220 <limits.h> exists even on freestanding compilers. */
56222 #ifdef __STDC__
56223 # include <limits.h>
56224 #else
56225 # include <assert.h>
56226 #endif
56228 #undef $ac_func
56230 /* Override any gcc2 internal prototype to avoid an error. */
56231 #ifdef __cplusplus
56232 extern "C"
56234 #endif
56235 /* We use char because int might match the return type of a gcc2
56236 builtin and then its argument prototype would still apply. */
56237 char $ac_func ();
56238 /* The GNU C library defines this for functions which it implements
56239 to always fail with ENOSYS. Some functions are actually named
56240 something starting with __ and the normal name is an alias. */
56241 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56242 choke me
56243 #else
56244 char (*f) () = $ac_func;
56245 #endif
56246 #ifdef __cplusplus
56248 #endif
56251 main ()
56253 return f != $ac_func;
56255 return 0;
56257 _ACEOF
56258 rm -f conftest.$ac_objext conftest$ac_exeext
56259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56260 (eval $ac_link) 2>conftest.er1
56261 ac_status=$?
56262 grep -v '^ *+' conftest.er1 >conftest.err
56263 rm -f conftest.er1
56264 cat conftest.err >&5
56265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56266 (exit $ac_status); } &&
56267 { ac_try='test -z "$ac_c_werror_flag"
56268 || test ! -s conftest.err'
56269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56270 (eval $ac_try) 2>&5
56271 ac_status=$?
56272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56273 (exit $ac_status); }; } &&
56274 { ac_try='test -s conftest$ac_exeext'
56275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56276 (eval $ac_try) 2>&5
56277 ac_status=$?
56278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56279 (exit $ac_status); }; }; then
56280 eval "$as_ac_var=yes"
56281 else
56282 echo "$as_me: failed program was:" >&5
56283 sed 's/^/| /' conftest.$ac_ext >&5
56285 eval "$as_ac_var=no"
56287 rm -f conftest.err conftest.$ac_objext \
56288 conftest$ac_exeext conftest.$ac_ext
56290 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56291 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56292 if test `eval echo '${'$as_ac_var'}'` = yes; then
56293 cat >>confdefs.h <<_ACEOF
56294 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56295 _ACEOF
56298 done
56305 echo "$as_me:$LINENO: checking for hypot declaration" >&5
56306 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
56307 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
56308 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
56309 echo $ECHO_N "(cached) $ECHO_C" >&6
56310 else
56314 ac_ext=cc
56315 ac_cpp='$CXXCPP $CPPFLAGS'
56316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56320 cat >conftest.$ac_ext <<_ACEOF
56321 /* confdefs.h. */
56322 _ACEOF
56323 cat confdefs.h >>conftest.$ac_ext
56324 cat >>conftest.$ac_ext <<_ACEOF
56325 /* end confdefs.h. */
56326 #include <math.h>
56328 main ()
56330 hypot(0, 0);
56332 return 0;
56334 _ACEOF
56335 rm -f conftest.$ac_objext
56336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56337 (eval $ac_compile) 2>conftest.er1
56338 ac_status=$?
56339 grep -v '^ *+' conftest.er1 >conftest.err
56340 rm -f conftest.er1
56341 cat conftest.err >&5
56342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56343 (exit $ac_status); } &&
56344 { ac_try='test -z "$ac_cxx_werror_flag"
56345 || test ! -s conftest.err'
56346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56347 (eval $ac_try) 2>&5
56348 ac_status=$?
56349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56350 (exit $ac_status); }; } &&
56351 { ac_try='test -s conftest.$ac_objext'
56352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56353 (eval $ac_try) 2>&5
56354 ac_status=$?
56355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56356 (exit $ac_status); }; }; then
56357 glibcxx_cv_func_hypot_use=yes
56358 else
56359 echo "$as_me: failed program was:" >&5
56360 sed 's/^/| /' conftest.$ac_ext >&5
56362 glibcxx_cv_func_hypot_use=no
56364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56365 ac_ext=c
56366 ac_cpp='$CPP $CPPFLAGS'
56367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56375 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
56376 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
56378 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
56380 for ac_func in hypot
56382 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56383 echo "$as_me:$LINENO: checking for $ac_func" >&5
56384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56385 if eval "test \"\${$as_ac_var+set}\" = set"; then
56386 echo $ECHO_N "(cached) $ECHO_C" >&6
56387 else
56388 if test x$gcc_no_link = xyes; then
56389 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56390 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56391 { (exit 1); exit 1; }; }
56393 cat >conftest.$ac_ext <<_ACEOF
56394 /* confdefs.h. */
56395 _ACEOF
56396 cat confdefs.h >>conftest.$ac_ext
56397 cat >>conftest.$ac_ext <<_ACEOF
56398 /* end confdefs.h. */
56399 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56401 #define $ac_func innocuous_$ac_func
56403 /* System header to define __stub macros and hopefully few prototypes,
56404 which can conflict with char $ac_func (); below.
56405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56406 <limits.h> exists even on freestanding compilers. */
56408 #ifdef __STDC__
56409 # include <limits.h>
56410 #else
56411 # include <assert.h>
56412 #endif
56414 #undef $ac_func
56416 /* Override any gcc2 internal prototype to avoid an error. */
56417 #ifdef __cplusplus
56418 extern "C"
56420 #endif
56421 /* We use char because int might match the return type of a gcc2
56422 builtin and then its argument prototype would still apply. */
56423 char $ac_func ();
56424 /* The GNU C library defines this for functions which it implements
56425 to always fail with ENOSYS. Some functions are actually named
56426 something starting with __ and the normal name is an alias. */
56427 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56428 choke me
56429 #else
56430 char (*f) () = $ac_func;
56431 #endif
56432 #ifdef __cplusplus
56434 #endif
56437 main ()
56439 return f != $ac_func;
56441 return 0;
56443 _ACEOF
56444 rm -f conftest.$ac_objext conftest$ac_exeext
56445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56446 (eval $ac_link) 2>conftest.er1
56447 ac_status=$?
56448 grep -v '^ *+' conftest.er1 >conftest.err
56449 rm -f conftest.er1
56450 cat conftest.err >&5
56451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56452 (exit $ac_status); } &&
56453 { ac_try='test -z "$ac_c_werror_flag"
56454 || test ! -s conftest.err'
56455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56456 (eval $ac_try) 2>&5
56457 ac_status=$?
56458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56459 (exit $ac_status); }; } &&
56460 { ac_try='test -s conftest$ac_exeext'
56461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56462 (eval $ac_try) 2>&5
56463 ac_status=$?
56464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56465 (exit $ac_status); }; }; then
56466 eval "$as_ac_var=yes"
56467 else
56468 echo "$as_me: failed program was:" >&5
56469 sed 's/^/| /' conftest.$ac_ext >&5
56471 eval "$as_ac_var=no"
56473 rm -f conftest.err conftest.$ac_objext \
56474 conftest$ac_exeext conftest.$ac_ext
56476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56477 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56478 if test `eval echo '${'$as_ac_var'}'` = yes; then
56479 cat >>confdefs.h <<_ACEOF
56480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56481 _ACEOF
56484 done
56486 else
56488 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
56489 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
56490 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
56491 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
56492 echo $ECHO_N "(cached) $ECHO_C" >&6
56493 else
56497 ac_ext=cc
56498 ac_cpp='$CXXCPP $CPPFLAGS'
56499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56503 cat >conftest.$ac_ext <<_ACEOF
56504 /* confdefs.h. */
56505 _ACEOF
56506 cat confdefs.h >>conftest.$ac_ext
56507 cat >>conftest.$ac_ext <<_ACEOF
56508 /* end confdefs.h. */
56509 #include <math.h>
56511 main ()
56513 _hypot(0, 0);
56515 return 0;
56517 _ACEOF
56518 rm -f conftest.$ac_objext
56519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56520 (eval $ac_compile) 2>conftest.er1
56521 ac_status=$?
56522 grep -v '^ *+' conftest.er1 >conftest.err
56523 rm -f conftest.er1
56524 cat conftest.err >&5
56525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56526 (exit $ac_status); } &&
56527 { ac_try='test -z "$ac_cxx_werror_flag"
56528 || test ! -s conftest.err'
56529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56530 (eval $ac_try) 2>&5
56531 ac_status=$?
56532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56533 (exit $ac_status); }; } &&
56534 { ac_try='test -s conftest.$ac_objext'
56535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56536 (eval $ac_try) 2>&5
56537 ac_status=$?
56538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56539 (exit $ac_status); }; }; then
56540 glibcxx_cv_func__hypot_use=yes
56541 else
56542 echo "$as_me: failed program was:" >&5
56543 sed 's/^/| /' conftest.$ac_ext >&5
56545 glibcxx_cv_func__hypot_use=no
56547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56548 ac_ext=c
56549 ac_cpp='$CPP $CPPFLAGS'
56550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56558 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
56559 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
56561 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
56563 for ac_func in _hypot
56565 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56566 echo "$as_me:$LINENO: checking for $ac_func" >&5
56567 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56568 if eval "test \"\${$as_ac_var+set}\" = set"; then
56569 echo $ECHO_N "(cached) $ECHO_C" >&6
56570 else
56571 if test x$gcc_no_link = xyes; then
56572 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56573 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56574 { (exit 1); exit 1; }; }
56576 cat >conftest.$ac_ext <<_ACEOF
56577 /* confdefs.h. */
56578 _ACEOF
56579 cat confdefs.h >>conftest.$ac_ext
56580 cat >>conftest.$ac_ext <<_ACEOF
56581 /* end confdefs.h. */
56582 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56583 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56584 #define $ac_func innocuous_$ac_func
56586 /* System header to define __stub macros and hopefully few prototypes,
56587 which can conflict with char $ac_func (); below.
56588 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56589 <limits.h> exists even on freestanding compilers. */
56591 #ifdef __STDC__
56592 # include <limits.h>
56593 #else
56594 # include <assert.h>
56595 #endif
56597 #undef $ac_func
56599 /* Override any gcc2 internal prototype to avoid an error. */
56600 #ifdef __cplusplus
56601 extern "C"
56603 #endif
56604 /* We use char because int might match the return type of a gcc2
56605 builtin and then its argument prototype would still apply. */
56606 char $ac_func ();
56607 /* The GNU C library defines this for functions which it implements
56608 to always fail with ENOSYS. Some functions are actually named
56609 something starting with __ and the normal name is an alias. */
56610 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56611 choke me
56612 #else
56613 char (*f) () = $ac_func;
56614 #endif
56615 #ifdef __cplusplus
56617 #endif
56620 main ()
56622 return f != $ac_func;
56624 return 0;
56626 _ACEOF
56627 rm -f conftest.$ac_objext conftest$ac_exeext
56628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56629 (eval $ac_link) 2>conftest.er1
56630 ac_status=$?
56631 grep -v '^ *+' conftest.er1 >conftest.err
56632 rm -f conftest.er1
56633 cat conftest.err >&5
56634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56635 (exit $ac_status); } &&
56636 { ac_try='test -z "$ac_c_werror_flag"
56637 || test ! -s conftest.err'
56638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56639 (eval $ac_try) 2>&5
56640 ac_status=$?
56641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56642 (exit $ac_status); }; } &&
56643 { ac_try='test -s conftest$ac_exeext'
56644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56645 (eval $ac_try) 2>&5
56646 ac_status=$?
56647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56648 (exit $ac_status); }; }; then
56649 eval "$as_ac_var=yes"
56650 else
56651 echo "$as_me: failed program was:" >&5
56652 sed 's/^/| /' conftest.$ac_ext >&5
56654 eval "$as_ac_var=no"
56656 rm -f conftest.err conftest.$ac_objext \
56657 conftest$ac_exeext conftest.$ac_ext
56659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56660 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56661 if test `eval echo '${'$as_ac_var'}'` = yes; then
56662 cat >>confdefs.h <<_ACEOF
56663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56664 _ACEOF
56667 done
56674 echo "$as_me:$LINENO: checking for float trig functions" >&5
56675 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
56676 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
56677 echo $ECHO_N "(cached) $ECHO_C" >&6
56678 else
56682 ac_ext=cc
56683 ac_cpp='$CXXCPP $CPPFLAGS'
56684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56688 cat >conftest.$ac_ext <<_ACEOF
56689 /* confdefs.h. */
56690 _ACEOF
56691 cat confdefs.h >>conftest.$ac_ext
56692 cat >>conftest.$ac_ext <<_ACEOF
56693 /* end confdefs.h. */
56694 #include <math.h>
56696 main ()
56698 `for x in acosf asinf atanf \
56699 cosf sinf tanf \
56700 coshf sinhf tanhf; do echo "$x (0);"; done`
56702 return 0;
56704 _ACEOF
56705 rm -f conftest.$ac_objext
56706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56707 (eval $ac_compile) 2>conftest.er1
56708 ac_status=$?
56709 grep -v '^ *+' conftest.er1 >conftest.err
56710 rm -f conftest.er1
56711 cat conftest.err >&5
56712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56713 (exit $ac_status); } &&
56714 { ac_try='test -z "$ac_cxx_werror_flag"
56715 || test ! -s conftest.err'
56716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56717 (eval $ac_try) 2>&5
56718 ac_status=$?
56719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56720 (exit $ac_status); }; } &&
56721 { ac_try='test -s conftest.$ac_objext'
56722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56723 (eval $ac_try) 2>&5
56724 ac_status=$?
56725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56726 (exit $ac_status); }; }; then
56727 glibcxx_cv_func_float_trig_use=yes
56728 else
56729 echo "$as_me: failed program was:" >&5
56730 sed 's/^/| /' conftest.$ac_ext >&5
56732 glibcxx_cv_func_float_trig_use=no
56734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56735 ac_ext=c
56736 ac_cpp='$CPP $CPPFLAGS'
56737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56743 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
56744 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
56745 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
56755 for ac_func in acosf asinf atanf \
56756 cosf sinf tanf \
56757 coshf sinhf tanhf
56759 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56760 echo "$as_me:$LINENO: checking for $ac_func" >&5
56761 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56762 if eval "test \"\${$as_ac_var+set}\" = set"; then
56763 echo $ECHO_N "(cached) $ECHO_C" >&6
56764 else
56765 if test x$gcc_no_link = xyes; then
56766 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56767 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56768 { (exit 1); exit 1; }; }
56770 cat >conftest.$ac_ext <<_ACEOF
56771 /* confdefs.h. */
56772 _ACEOF
56773 cat confdefs.h >>conftest.$ac_ext
56774 cat >>conftest.$ac_ext <<_ACEOF
56775 /* end confdefs.h. */
56776 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56778 #define $ac_func innocuous_$ac_func
56780 /* System header to define __stub macros and hopefully few prototypes,
56781 which can conflict with char $ac_func (); below.
56782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56783 <limits.h> exists even on freestanding compilers. */
56785 #ifdef __STDC__
56786 # include <limits.h>
56787 #else
56788 # include <assert.h>
56789 #endif
56791 #undef $ac_func
56793 /* Override any gcc2 internal prototype to avoid an error. */
56794 #ifdef __cplusplus
56795 extern "C"
56797 #endif
56798 /* We use char because int might match the return type of a gcc2
56799 builtin and then its argument prototype would still apply. */
56800 char $ac_func ();
56801 /* The GNU C library defines this for functions which it implements
56802 to always fail with ENOSYS. Some functions are actually named
56803 something starting with __ and the normal name is an alias. */
56804 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56805 choke me
56806 #else
56807 char (*f) () = $ac_func;
56808 #endif
56809 #ifdef __cplusplus
56811 #endif
56814 main ()
56816 return f != $ac_func;
56818 return 0;
56820 _ACEOF
56821 rm -f conftest.$ac_objext conftest$ac_exeext
56822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56823 (eval $ac_link) 2>conftest.er1
56824 ac_status=$?
56825 grep -v '^ *+' conftest.er1 >conftest.err
56826 rm -f conftest.er1
56827 cat conftest.err >&5
56828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56829 (exit $ac_status); } &&
56830 { ac_try='test -z "$ac_c_werror_flag"
56831 || test ! -s conftest.err'
56832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56833 (eval $ac_try) 2>&5
56834 ac_status=$?
56835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56836 (exit $ac_status); }; } &&
56837 { ac_try='test -s conftest$ac_exeext'
56838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56839 (eval $ac_try) 2>&5
56840 ac_status=$?
56841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56842 (exit $ac_status); }; }; then
56843 eval "$as_ac_var=yes"
56844 else
56845 echo "$as_me: failed program was:" >&5
56846 sed 's/^/| /' conftest.$ac_ext >&5
56848 eval "$as_ac_var=no"
56850 rm -f conftest.err conftest.$ac_objext \
56851 conftest$ac_exeext conftest.$ac_ext
56853 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56854 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56855 if test `eval echo '${'$as_ac_var'}'` = yes; then
56856 cat >>confdefs.h <<_ACEOF
56857 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56858 _ACEOF
56861 done
56866 echo "$as_me:$LINENO: checking for float round functions" >&5
56867 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
56868 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
56869 echo $ECHO_N "(cached) $ECHO_C" >&6
56870 else
56874 ac_ext=cc
56875 ac_cpp='$CXXCPP $CPPFLAGS'
56876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56880 cat >conftest.$ac_ext <<_ACEOF
56881 /* confdefs.h. */
56882 _ACEOF
56883 cat confdefs.h >>conftest.$ac_ext
56884 cat >>conftest.$ac_ext <<_ACEOF
56885 /* end confdefs.h. */
56886 #include <math.h>
56888 main ()
56890 `for x in ceilf floorf; do echo "$x (0);"; done`
56892 return 0;
56894 _ACEOF
56895 rm -f conftest.$ac_objext
56896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56897 (eval $ac_compile) 2>conftest.er1
56898 ac_status=$?
56899 grep -v '^ *+' conftest.er1 >conftest.err
56900 rm -f conftest.er1
56901 cat conftest.err >&5
56902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56903 (exit $ac_status); } &&
56904 { ac_try='test -z "$ac_cxx_werror_flag"
56905 || test ! -s conftest.err'
56906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56907 (eval $ac_try) 2>&5
56908 ac_status=$?
56909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56910 (exit $ac_status); }; } &&
56911 { ac_try='test -s conftest.$ac_objext'
56912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56913 (eval $ac_try) 2>&5
56914 ac_status=$?
56915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56916 (exit $ac_status); }; }; then
56917 glibcxx_cv_func_float_round_use=yes
56918 else
56919 echo "$as_me: failed program was:" >&5
56920 sed 's/^/| /' conftest.$ac_ext >&5
56922 glibcxx_cv_func_float_round_use=no
56924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56925 ac_ext=c
56926 ac_cpp='$CPP $CPPFLAGS'
56927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56933 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
56934 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
56935 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
56938 for ac_func in ceilf floorf
56940 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56941 echo "$as_me:$LINENO: checking for $ac_func" >&5
56942 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56943 if eval "test \"\${$as_ac_var+set}\" = set"; then
56944 echo $ECHO_N "(cached) $ECHO_C" >&6
56945 else
56946 if test x$gcc_no_link = xyes; then
56947 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56948 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56949 { (exit 1); exit 1; }; }
56951 cat >conftest.$ac_ext <<_ACEOF
56952 /* confdefs.h. */
56953 _ACEOF
56954 cat confdefs.h >>conftest.$ac_ext
56955 cat >>conftest.$ac_ext <<_ACEOF
56956 /* end confdefs.h. */
56957 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56958 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56959 #define $ac_func innocuous_$ac_func
56961 /* System header to define __stub macros and hopefully few prototypes,
56962 which can conflict with char $ac_func (); below.
56963 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56964 <limits.h> exists even on freestanding compilers. */
56966 #ifdef __STDC__
56967 # include <limits.h>
56968 #else
56969 # include <assert.h>
56970 #endif
56972 #undef $ac_func
56974 /* Override any gcc2 internal prototype to avoid an error. */
56975 #ifdef __cplusplus
56976 extern "C"
56978 #endif
56979 /* We use char because int might match the return type of a gcc2
56980 builtin and then its argument prototype would still apply. */
56981 char $ac_func ();
56982 /* The GNU C library defines this for functions which it implements
56983 to always fail with ENOSYS. Some functions are actually named
56984 something starting with __ and the normal name is an alias. */
56985 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56986 choke me
56987 #else
56988 char (*f) () = $ac_func;
56989 #endif
56990 #ifdef __cplusplus
56992 #endif
56995 main ()
56997 return f != $ac_func;
56999 return 0;
57001 _ACEOF
57002 rm -f conftest.$ac_objext conftest$ac_exeext
57003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57004 (eval $ac_link) 2>conftest.er1
57005 ac_status=$?
57006 grep -v '^ *+' conftest.er1 >conftest.err
57007 rm -f conftest.er1
57008 cat conftest.err >&5
57009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57010 (exit $ac_status); } &&
57011 { ac_try='test -z "$ac_c_werror_flag"
57012 || test ! -s conftest.err'
57013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57014 (eval $ac_try) 2>&5
57015 ac_status=$?
57016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57017 (exit $ac_status); }; } &&
57018 { ac_try='test -s conftest$ac_exeext'
57019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57020 (eval $ac_try) 2>&5
57021 ac_status=$?
57022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57023 (exit $ac_status); }; }; then
57024 eval "$as_ac_var=yes"
57025 else
57026 echo "$as_me: failed program was:" >&5
57027 sed 's/^/| /' conftest.$ac_ext >&5
57029 eval "$as_ac_var=no"
57031 rm -f conftest.err conftest.$ac_objext \
57032 conftest$ac_exeext conftest.$ac_ext
57034 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57035 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57036 if test `eval echo '${'$as_ac_var'}'` = yes; then
57037 cat >>confdefs.h <<_ACEOF
57038 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57039 _ACEOF
57042 done
57048 echo "$as_me:$LINENO: checking for expf declaration" >&5
57049 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
57050 if test x${glibcxx_cv_func_expf_use+set} != xset; then
57051 if test "${glibcxx_cv_func_expf_use+set}" = set; then
57052 echo $ECHO_N "(cached) $ECHO_C" >&6
57053 else
57057 ac_ext=cc
57058 ac_cpp='$CXXCPP $CPPFLAGS'
57059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57063 cat >conftest.$ac_ext <<_ACEOF
57064 /* confdefs.h. */
57065 _ACEOF
57066 cat confdefs.h >>conftest.$ac_ext
57067 cat >>conftest.$ac_ext <<_ACEOF
57068 /* end confdefs.h. */
57069 #include <math.h>
57070 #ifdef HAVE_IEEEFP_H
57071 #include <ieeefp.h>
57072 #endif
57075 main ()
57077 expf(0);
57079 return 0;
57081 _ACEOF
57082 rm -f conftest.$ac_objext
57083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57084 (eval $ac_compile) 2>conftest.er1
57085 ac_status=$?
57086 grep -v '^ *+' conftest.er1 >conftest.err
57087 rm -f conftest.er1
57088 cat conftest.err >&5
57089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57090 (exit $ac_status); } &&
57091 { ac_try='test -z "$ac_cxx_werror_flag"
57092 || test ! -s conftest.err'
57093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57094 (eval $ac_try) 2>&5
57095 ac_status=$?
57096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57097 (exit $ac_status); }; } &&
57098 { ac_try='test -s conftest.$ac_objext'
57099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57100 (eval $ac_try) 2>&5
57101 ac_status=$?
57102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57103 (exit $ac_status); }; }; then
57104 glibcxx_cv_func_expf_use=yes
57105 else
57106 echo "$as_me: failed program was:" >&5
57107 sed 's/^/| /' conftest.$ac_ext >&5
57109 glibcxx_cv_func_expf_use=no
57111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57112 ac_ext=c
57113 ac_cpp='$CPP $CPPFLAGS'
57114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57122 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
57123 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
57125 if test x$glibcxx_cv_func_expf_use = x"yes"; then
57127 for ac_func in expf
57129 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57130 echo "$as_me:$LINENO: checking for $ac_func" >&5
57131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57132 if eval "test \"\${$as_ac_var+set}\" = set"; then
57133 echo $ECHO_N "(cached) $ECHO_C" >&6
57134 else
57135 if test x$gcc_no_link = xyes; then
57136 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57137 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57138 { (exit 1); exit 1; }; }
57140 cat >conftest.$ac_ext <<_ACEOF
57141 /* confdefs.h. */
57142 _ACEOF
57143 cat confdefs.h >>conftest.$ac_ext
57144 cat >>conftest.$ac_ext <<_ACEOF
57145 /* end confdefs.h. */
57146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57147 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57148 #define $ac_func innocuous_$ac_func
57150 /* System header to define __stub macros and hopefully few prototypes,
57151 which can conflict with char $ac_func (); below.
57152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57153 <limits.h> exists even on freestanding compilers. */
57155 #ifdef __STDC__
57156 # include <limits.h>
57157 #else
57158 # include <assert.h>
57159 #endif
57161 #undef $ac_func
57163 /* Override any gcc2 internal prototype to avoid an error. */
57164 #ifdef __cplusplus
57165 extern "C"
57167 #endif
57168 /* We use char because int might match the return type of a gcc2
57169 builtin and then its argument prototype would still apply. */
57170 char $ac_func ();
57171 /* The GNU C library defines this for functions which it implements
57172 to always fail with ENOSYS. Some functions are actually named
57173 something starting with __ and the normal name is an alias. */
57174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57175 choke me
57176 #else
57177 char (*f) () = $ac_func;
57178 #endif
57179 #ifdef __cplusplus
57181 #endif
57184 main ()
57186 return f != $ac_func;
57188 return 0;
57190 _ACEOF
57191 rm -f conftest.$ac_objext conftest$ac_exeext
57192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57193 (eval $ac_link) 2>conftest.er1
57194 ac_status=$?
57195 grep -v '^ *+' conftest.er1 >conftest.err
57196 rm -f conftest.er1
57197 cat conftest.err >&5
57198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57199 (exit $ac_status); } &&
57200 { ac_try='test -z "$ac_c_werror_flag"
57201 || test ! -s conftest.err'
57202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57203 (eval $ac_try) 2>&5
57204 ac_status=$?
57205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57206 (exit $ac_status); }; } &&
57207 { ac_try='test -s conftest$ac_exeext'
57208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57209 (eval $ac_try) 2>&5
57210 ac_status=$?
57211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57212 (exit $ac_status); }; }; then
57213 eval "$as_ac_var=yes"
57214 else
57215 echo "$as_me: failed program was:" >&5
57216 sed 's/^/| /' conftest.$ac_ext >&5
57218 eval "$as_ac_var=no"
57220 rm -f conftest.err conftest.$ac_objext \
57221 conftest$ac_exeext conftest.$ac_ext
57223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57225 if test `eval echo '${'$as_ac_var'}'` = yes; then
57226 cat >>confdefs.h <<_ACEOF
57227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57228 _ACEOF
57231 done
57233 else
57235 echo "$as_me:$LINENO: checking for _expf declaration" >&5
57236 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
57237 if test x${glibcxx_cv_func__expf_use+set} != xset; then
57238 if test "${glibcxx_cv_func__expf_use+set}" = set; then
57239 echo $ECHO_N "(cached) $ECHO_C" >&6
57240 else
57244 ac_ext=cc
57245 ac_cpp='$CXXCPP $CPPFLAGS'
57246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57250 cat >conftest.$ac_ext <<_ACEOF
57251 /* confdefs.h. */
57252 _ACEOF
57253 cat confdefs.h >>conftest.$ac_ext
57254 cat >>conftest.$ac_ext <<_ACEOF
57255 /* end confdefs.h. */
57256 #include <math.h>
57257 #ifdef HAVE_IEEEFP_H
57258 #include <ieeefp.h>
57259 #endif
57262 main ()
57264 _expf(0);
57266 return 0;
57268 _ACEOF
57269 rm -f conftest.$ac_objext
57270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57271 (eval $ac_compile) 2>conftest.er1
57272 ac_status=$?
57273 grep -v '^ *+' conftest.er1 >conftest.err
57274 rm -f conftest.er1
57275 cat conftest.err >&5
57276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57277 (exit $ac_status); } &&
57278 { ac_try='test -z "$ac_cxx_werror_flag"
57279 || test ! -s conftest.err'
57280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57281 (eval $ac_try) 2>&5
57282 ac_status=$?
57283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57284 (exit $ac_status); }; } &&
57285 { ac_try='test -s conftest.$ac_objext'
57286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57287 (eval $ac_try) 2>&5
57288 ac_status=$?
57289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57290 (exit $ac_status); }; }; then
57291 glibcxx_cv_func__expf_use=yes
57292 else
57293 echo "$as_me: failed program was:" >&5
57294 sed 's/^/| /' conftest.$ac_ext >&5
57296 glibcxx_cv_func__expf_use=no
57298 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57299 ac_ext=c
57300 ac_cpp='$CPP $CPPFLAGS'
57301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57309 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
57310 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
57312 if test x$glibcxx_cv_func__expf_use = x"yes"; then
57314 for ac_func in _expf
57316 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57317 echo "$as_me:$LINENO: checking for $ac_func" >&5
57318 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57319 if eval "test \"\${$as_ac_var+set}\" = set"; then
57320 echo $ECHO_N "(cached) $ECHO_C" >&6
57321 else
57322 if test x$gcc_no_link = xyes; then
57323 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57324 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57325 { (exit 1); exit 1; }; }
57327 cat >conftest.$ac_ext <<_ACEOF
57328 /* confdefs.h. */
57329 _ACEOF
57330 cat confdefs.h >>conftest.$ac_ext
57331 cat >>conftest.$ac_ext <<_ACEOF
57332 /* end confdefs.h. */
57333 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57334 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57335 #define $ac_func innocuous_$ac_func
57337 /* System header to define __stub macros and hopefully few prototypes,
57338 which can conflict with char $ac_func (); below.
57339 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57340 <limits.h> exists even on freestanding compilers. */
57342 #ifdef __STDC__
57343 # include <limits.h>
57344 #else
57345 # include <assert.h>
57346 #endif
57348 #undef $ac_func
57350 /* Override any gcc2 internal prototype to avoid an error. */
57351 #ifdef __cplusplus
57352 extern "C"
57354 #endif
57355 /* We use char because int might match the return type of a gcc2
57356 builtin and then its argument prototype would still apply. */
57357 char $ac_func ();
57358 /* The GNU C library defines this for functions which it implements
57359 to always fail with ENOSYS. Some functions are actually named
57360 something starting with __ and the normal name is an alias. */
57361 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57362 choke me
57363 #else
57364 char (*f) () = $ac_func;
57365 #endif
57366 #ifdef __cplusplus
57368 #endif
57371 main ()
57373 return f != $ac_func;
57375 return 0;
57377 _ACEOF
57378 rm -f conftest.$ac_objext conftest$ac_exeext
57379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57380 (eval $ac_link) 2>conftest.er1
57381 ac_status=$?
57382 grep -v '^ *+' conftest.er1 >conftest.err
57383 rm -f conftest.er1
57384 cat conftest.err >&5
57385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57386 (exit $ac_status); } &&
57387 { ac_try='test -z "$ac_c_werror_flag"
57388 || test ! -s conftest.err'
57389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57390 (eval $ac_try) 2>&5
57391 ac_status=$?
57392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57393 (exit $ac_status); }; } &&
57394 { ac_try='test -s conftest$ac_exeext'
57395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57396 (eval $ac_try) 2>&5
57397 ac_status=$?
57398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57399 (exit $ac_status); }; }; then
57400 eval "$as_ac_var=yes"
57401 else
57402 echo "$as_me: failed program was:" >&5
57403 sed 's/^/| /' conftest.$ac_ext >&5
57405 eval "$as_ac_var=no"
57407 rm -f conftest.err conftest.$ac_objext \
57408 conftest$ac_exeext conftest.$ac_ext
57410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57411 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57412 if test `eval echo '${'$as_ac_var'}'` = yes; then
57413 cat >>confdefs.h <<_ACEOF
57414 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57415 _ACEOF
57418 done
57425 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
57426 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
57427 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
57428 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
57429 echo $ECHO_N "(cached) $ECHO_C" >&6
57430 else
57434 ac_ext=cc
57435 ac_cpp='$CXXCPP $CPPFLAGS'
57436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57440 cat >conftest.$ac_ext <<_ACEOF
57441 /* confdefs.h. */
57442 _ACEOF
57443 cat confdefs.h >>conftest.$ac_ext
57444 cat >>conftest.$ac_ext <<_ACEOF
57445 /* end confdefs.h. */
57446 #include <math.h>
57447 #ifdef HAVE_IEEEFP_H
57448 #include <ieeefp.h>
57449 #endif
57452 main ()
57454 isnanf(0);
57456 return 0;
57458 _ACEOF
57459 rm -f conftest.$ac_objext
57460 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57461 (eval $ac_compile) 2>conftest.er1
57462 ac_status=$?
57463 grep -v '^ *+' conftest.er1 >conftest.err
57464 rm -f conftest.er1
57465 cat conftest.err >&5
57466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57467 (exit $ac_status); } &&
57468 { ac_try='test -z "$ac_cxx_werror_flag"
57469 || test ! -s conftest.err'
57470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57471 (eval $ac_try) 2>&5
57472 ac_status=$?
57473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57474 (exit $ac_status); }; } &&
57475 { ac_try='test -s conftest.$ac_objext'
57476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57477 (eval $ac_try) 2>&5
57478 ac_status=$?
57479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57480 (exit $ac_status); }; }; then
57481 glibcxx_cv_func_isnanf_use=yes
57482 else
57483 echo "$as_me: failed program was:" >&5
57484 sed 's/^/| /' conftest.$ac_ext >&5
57486 glibcxx_cv_func_isnanf_use=no
57488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57489 ac_ext=c
57490 ac_cpp='$CPP $CPPFLAGS'
57491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57499 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
57500 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
57502 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
57504 for ac_func in isnanf
57506 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57507 echo "$as_me:$LINENO: checking for $ac_func" >&5
57508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57509 if eval "test \"\${$as_ac_var+set}\" = set"; then
57510 echo $ECHO_N "(cached) $ECHO_C" >&6
57511 else
57512 if test x$gcc_no_link = xyes; then
57513 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57514 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57515 { (exit 1); exit 1; }; }
57517 cat >conftest.$ac_ext <<_ACEOF
57518 /* confdefs.h. */
57519 _ACEOF
57520 cat confdefs.h >>conftest.$ac_ext
57521 cat >>conftest.$ac_ext <<_ACEOF
57522 /* end confdefs.h. */
57523 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57524 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57525 #define $ac_func innocuous_$ac_func
57527 /* System header to define __stub macros and hopefully few prototypes,
57528 which can conflict with char $ac_func (); below.
57529 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57530 <limits.h> exists even on freestanding compilers. */
57532 #ifdef __STDC__
57533 # include <limits.h>
57534 #else
57535 # include <assert.h>
57536 #endif
57538 #undef $ac_func
57540 /* Override any gcc2 internal prototype to avoid an error. */
57541 #ifdef __cplusplus
57542 extern "C"
57544 #endif
57545 /* We use char because int might match the return type of a gcc2
57546 builtin and then its argument prototype would still apply. */
57547 char $ac_func ();
57548 /* The GNU C library defines this for functions which it implements
57549 to always fail with ENOSYS. Some functions are actually named
57550 something starting with __ and the normal name is an alias. */
57551 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57552 choke me
57553 #else
57554 char (*f) () = $ac_func;
57555 #endif
57556 #ifdef __cplusplus
57558 #endif
57561 main ()
57563 return f != $ac_func;
57565 return 0;
57567 _ACEOF
57568 rm -f conftest.$ac_objext conftest$ac_exeext
57569 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57570 (eval $ac_link) 2>conftest.er1
57571 ac_status=$?
57572 grep -v '^ *+' conftest.er1 >conftest.err
57573 rm -f conftest.er1
57574 cat conftest.err >&5
57575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57576 (exit $ac_status); } &&
57577 { ac_try='test -z "$ac_c_werror_flag"
57578 || test ! -s conftest.err'
57579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57580 (eval $ac_try) 2>&5
57581 ac_status=$?
57582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57583 (exit $ac_status); }; } &&
57584 { ac_try='test -s conftest$ac_exeext'
57585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57586 (eval $ac_try) 2>&5
57587 ac_status=$?
57588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57589 (exit $ac_status); }; }; then
57590 eval "$as_ac_var=yes"
57591 else
57592 echo "$as_me: failed program was:" >&5
57593 sed 's/^/| /' conftest.$ac_ext >&5
57595 eval "$as_ac_var=no"
57597 rm -f conftest.err conftest.$ac_objext \
57598 conftest$ac_exeext conftest.$ac_ext
57600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57601 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57602 if test `eval echo '${'$as_ac_var'}'` = yes; then
57603 cat >>confdefs.h <<_ACEOF
57604 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57605 _ACEOF
57608 done
57610 else
57612 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
57613 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
57614 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
57615 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
57616 echo $ECHO_N "(cached) $ECHO_C" >&6
57617 else
57621 ac_ext=cc
57622 ac_cpp='$CXXCPP $CPPFLAGS'
57623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57627 cat >conftest.$ac_ext <<_ACEOF
57628 /* confdefs.h. */
57629 _ACEOF
57630 cat confdefs.h >>conftest.$ac_ext
57631 cat >>conftest.$ac_ext <<_ACEOF
57632 /* end confdefs.h. */
57633 #include <math.h>
57634 #ifdef HAVE_IEEEFP_H
57635 #include <ieeefp.h>
57636 #endif
57639 main ()
57641 _isnanf(0);
57643 return 0;
57645 _ACEOF
57646 rm -f conftest.$ac_objext
57647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57648 (eval $ac_compile) 2>conftest.er1
57649 ac_status=$?
57650 grep -v '^ *+' conftest.er1 >conftest.err
57651 rm -f conftest.er1
57652 cat conftest.err >&5
57653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57654 (exit $ac_status); } &&
57655 { ac_try='test -z "$ac_cxx_werror_flag"
57656 || test ! -s conftest.err'
57657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57658 (eval $ac_try) 2>&5
57659 ac_status=$?
57660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57661 (exit $ac_status); }; } &&
57662 { ac_try='test -s conftest.$ac_objext'
57663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57664 (eval $ac_try) 2>&5
57665 ac_status=$?
57666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57667 (exit $ac_status); }; }; then
57668 glibcxx_cv_func__isnanf_use=yes
57669 else
57670 echo "$as_me: failed program was:" >&5
57671 sed 's/^/| /' conftest.$ac_ext >&5
57673 glibcxx_cv_func__isnanf_use=no
57675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57676 ac_ext=c
57677 ac_cpp='$CPP $CPPFLAGS'
57678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57686 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
57687 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
57689 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
57691 for ac_func in _isnanf
57693 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57694 echo "$as_me:$LINENO: checking for $ac_func" >&5
57695 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57696 if eval "test \"\${$as_ac_var+set}\" = set"; then
57697 echo $ECHO_N "(cached) $ECHO_C" >&6
57698 else
57699 if test x$gcc_no_link = xyes; then
57700 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57702 { (exit 1); exit 1; }; }
57704 cat >conftest.$ac_ext <<_ACEOF
57705 /* confdefs.h. */
57706 _ACEOF
57707 cat confdefs.h >>conftest.$ac_ext
57708 cat >>conftest.$ac_ext <<_ACEOF
57709 /* end confdefs.h. */
57710 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57711 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57712 #define $ac_func innocuous_$ac_func
57714 /* System header to define __stub macros and hopefully few prototypes,
57715 which can conflict with char $ac_func (); below.
57716 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57717 <limits.h> exists even on freestanding compilers. */
57719 #ifdef __STDC__
57720 # include <limits.h>
57721 #else
57722 # include <assert.h>
57723 #endif
57725 #undef $ac_func
57727 /* Override any gcc2 internal prototype to avoid an error. */
57728 #ifdef __cplusplus
57729 extern "C"
57731 #endif
57732 /* We use char because int might match the return type of a gcc2
57733 builtin and then its argument prototype would still apply. */
57734 char $ac_func ();
57735 /* The GNU C library defines this for functions which it implements
57736 to always fail with ENOSYS. Some functions are actually named
57737 something starting with __ and the normal name is an alias. */
57738 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57739 choke me
57740 #else
57741 char (*f) () = $ac_func;
57742 #endif
57743 #ifdef __cplusplus
57745 #endif
57748 main ()
57750 return f != $ac_func;
57752 return 0;
57754 _ACEOF
57755 rm -f conftest.$ac_objext conftest$ac_exeext
57756 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57757 (eval $ac_link) 2>conftest.er1
57758 ac_status=$?
57759 grep -v '^ *+' conftest.er1 >conftest.err
57760 rm -f conftest.er1
57761 cat conftest.err >&5
57762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57763 (exit $ac_status); } &&
57764 { ac_try='test -z "$ac_c_werror_flag"
57765 || test ! -s conftest.err'
57766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57767 (eval $ac_try) 2>&5
57768 ac_status=$?
57769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57770 (exit $ac_status); }; } &&
57771 { ac_try='test -s conftest$ac_exeext'
57772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57773 (eval $ac_try) 2>&5
57774 ac_status=$?
57775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57776 (exit $ac_status); }; }; then
57777 eval "$as_ac_var=yes"
57778 else
57779 echo "$as_me: failed program was:" >&5
57780 sed 's/^/| /' conftest.$ac_ext >&5
57782 eval "$as_ac_var=no"
57784 rm -f conftest.err conftest.$ac_objext \
57785 conftest$ac_exeext conftest.$ac_ext
57787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57788 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57789 if test `eval echo '${'$as_ac_var'}'` = yes; then
57790 cat >>confdefs.h <<_ACEOF
57791 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57792 _ACEOF
57795 done
57802 echo "$as_me:$LINENO: checking for isinff declaration" >&5
57803 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
57804 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
57805 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
57806 echo $ECHO_N "(cached) $ECHO_C" >&6
57807 else
57811 ac_ext=cc
57812 ac_cpp='$CXXCPP $CPPFLAGS'
57813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57817 cat >conftest.$ac_ext <<_ACEOF
57818 /* confdefs.h. */
57819 _ACEOF
57820 cat confdefs.h >>conftest.$ac_ext
57821 cat >>conftest.$ac_ext <<_ACEOF
57822 /* end confdefs.h. */
57823 #include <math.h>
57824 #ifdef HAVE_IEEEFP_H
57825 #include <ieeefp.h>
57826 #endif
57829 main ()
57831 isinff(0);
57833 return 0;
57835 _ACEOF
57836 rm -f conftest.$ac_objext
57837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57838 (eval $ac_compile) 2>conftest.er1
57839 ac_status=$?
57840 grep -v '^ *+' conftest.er1 >conftest.err
57841 rm -f conftest.er1
57842 cat conftest.err >&5
57843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57844 (exit $ac_status); } &&
57845 { ac_try='test -z "$ac_cxx_werror_flag"
57846 || test ! -s conftest.err'
57847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57848 (eval $ac_try) 2>&5
57849 ac_status=$?
57850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57851 (exit $ac_status); }; } &&
57852 { ac_try='test -s conftest.$ac_objext'
57853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57854 (eval $ac_try) 2>&5
57855 ac_status=$?
57856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57857 (exit $ac_status); }; }; then
57858 glibcxx_cv_func_isinff_use=yes
57859 else
57860 echo "$as_me: failed program was:" >&5
57861 sed 's/^/| /' conftest.$ac_ext >&5
57863 glibcxx_cv_func_isinff_use=no
57865 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57866 ac_ext=c
57867 ac_cpp='$CPP $CPPFLAGS'
57868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57876 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
57877 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
57879 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
57881 for ac_func in isinff
57883 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57884 echo "$as_me:$LINENO: checking for $ac_func" >&5
57885 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57886 if eval "test \"\${$as_ac_var+set}\" = set"; then
57887 echo $ECHO_N "(cached) $ECHO_C" >&6
57888 else
57889 if test x$gcc_no_link = xyes; then
57890 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57891 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57892 { (exit 1); exit 1; }; }
57894 cat >conftest.$ac_ext <<_ACEOF
57895 /* confdefs.h. */
57896 _ACEOF
57897 cat confdefs.h >>conftest.$ac_ext
57898 cat >>conftest.$ac_ext <<_ACEOF
57899 /* end confdefs.h. */
57900 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57901 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57902 #define $ac_func innocuous_$ac_func
57904 /* System header to define __stub macros and hopefully few prototypes,
57905 which can conflict with char $ac_func (); below.
57906 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57907 <limits.h> exists even on freestanding compilers. */
57909 #ifdef __STDC__
57910 # include <limits.h>
57911 #else
57912 # include <assert.h>
57913 #endif
57915 #undef $ac_func
57917 /* Override any gcc2 internal prototype to avoid an error. */
57918 #ifdef __cplusplus
57919 extern "C"
57921 #endif
57922 /* We use char because int might match the return type of a gcc2
57923 builtin and then its argument prototype would still apply. */
57924 char $ac_func ();
57925 /* The GNU C library defines this for functions which it implements
57926 to always fail with ENOSYS. Some functions are actually named
57927 something starting with __ and the normal name is an alias. */
57928 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57929 choke me
57930 #else
57931 char (*f) () = $ac_func;
57932 #endif
57933 #ifdef __cplusplus
57935 #endif
57938 main ()
57940 return f != $ac_func;
57942 return 0;
57944 _ACEOF
57945 rm -f conftest.$ac_objext conftest$ac_exeext
57946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57947 (eval $ac_link) 2>conftest.er1
57948 ac_status=$?
57949 grep -v '^ *+' conftest.er1 >conftest.err
57950 rm -f conftest.er1
57951 cat conftest.err >&5
57952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57953 (exit $ac_status); } &&
57954 { ac_try='test -z "$ac_c_werror_flag"
57955 || test ! -s conftest.err'
57956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57957 (eval $ac_try) 2>&5
57958 ac_status=$?
57959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57960 (exit $ac_status); }; } &&
57961 { ac_try='test -s conftest$ac_exeext'
57962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57963 (eval $ac_try) 2>&5
57964 ac_status=$?
57965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57966 (exit $ac_status); }; }; then
57967 eval "$as_ac_var=yes"
57968 else
57969 echo "$as_me: failed program was:" >&5
57970 sed 's/^/| /' conftest.$ac_ext >&5
57972 eval "$as_ac_var=no"
57974 rm -f conftest.err conftest.$ac_objext \
57975 conftest$ac_exeext conftest.$ac_ext
57977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57978 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57979 if test `eval echo '${'$as_ac_var'}'` = yes; then
57980 cat >>confdefs.h <<_ACEOF
57981 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57982 _ACEOF
57985 done
57987 else
57989 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
57990 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
57991 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
57992 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
57993 echo $ECHO_N "(cached) $ECHO_C" >&6
57994 else
57998 ac_ext=cc
57999 ac_cpp='$CXXCPP $CPPFLAGS'
58000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58004 cat >conftest.$ac_ext <<_ACEOF
58005 /* confdefs.h. */
58006 _ACEOF
58007 cat confdefs.h >>conftest.$ac_ext
58008 cat >>conftest.$ac_ext <<_ACEOF
58009 /* end confdefs.h. */
58010 #include <math.h>
58011 #ifdef HAVE_IEEEFP_H
58012 #include <ieeefp.h>
58013 #endif
58016 main ()
58018 _isinff(0);
58020 return 0;
58022 _ACEOF
58023 rm -f conftest.$ac_objext
58024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58025 (eval $ac_compile) 2>conftest.er1
58026 ac_status=$?
58027 grep -v '^ *+' conftest.er1 >conftest.err
58028 rm -f conftest.er1
58029 cat conftest.err >&5
58030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58031 (exit $ac_status); } &&
58032 { ac_try='test -z "$ac_cxx_werror_flag"
58033 || test ! -s conftest.err'
58034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58035 (eval $ac_try) 2>&5
58036 ac_status=$?
58037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58038 (exit $ac_status); }; } &&
58039 { ac_try='test -s conftest.$ac_objext'
58040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58041 (eval $ac_try) 2>&5
58042 ac_status=$?
58043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58044 (exit $ac_status); }; }; then
58045 glibcxx_cv_func__isinff_use=yes
58046 else
58047 echo "$as_me: failed program was:" >&5
58048 sed 's/^/| /' conftest.$ac_ext >&5
58050 glibcxx_cv_func__isinff_use=no
58052 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58053 ac_ext=c
58054 ac_cpp='$CPP $CPPFLAGS'
58055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58063 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
58064 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
58066 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
58068 for ac_func in _isinff
58070 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58071 echo "$as_me:$LINENO: checking for $ac_func" >&5
58072 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58073 if eval "test \"\${$as_ac_var+set}\" = set"; then
58074 echo $ECHO_N "(cached) $ECHO_C" >&6
58075 else
58076 if test x$gcc_no_link = xyes; then
58077 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58078 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58079 { (exit 1); exit 1; }; }
58081 cat >conftest.$ac_ext <<_ACEOF
58082 /* confdefs.h. */
58083 _ACEOF
58084 cat confdefs.h >>conftest.$ac_ext
58085 cat >>conftest.$ac_ext <<_ACEOF
58086 /* end confdefs.h. */
58087 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58088 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58089 #define $ac_func innocuous_$ac_func
58091 /* System header to define __stub macros and hopefully few prototypes,
58092 which can conflict with char $ac_func (); below.
58093 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58094 <limits.h> exists even on freestanding compilers. */
58096 #ifdef __STDC__
58097 # include <limits.h>
58098 #else
58099 # include <assert.h>
58100 #endif
58102 #undef $ac_func
58104 /* Override any gcc2 internal prototype to avoid an error. */
58105 #ifdef __cplusplus
58106 extern "C"
58108 #endif
58109 /* We use char because int might match the return type of a gcc2
58110 builtin and then its argument prototype would still apply. */
58111 char $ac_func ();
58112 /* The GNU C library defines this for functions which it implements
58113 to always fail with ENOSYS. Some functions are actually named
58114 something starting with __ and the normal name is an alias. */
58115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58116 choke me
58117 #else
58118 char (*f) () = $ac_func;
58119 #endif
58120 #ifdef __cplusplus
58122 #endif
58125 main ()
58127 return f != $ac_func;
58129 return 0;
58131 _ACEOF
58132 rm -f conftest.$ac_objext conftest$ac_exeext
58133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58134 (eval $ac_link) 2>conftest.er1
58135 ac_status=$?
58136 grep -v '^ *+' conftest.er1 >conftest.err
58137 rm -f conftest.er1
58138 cat conftest.err >&5
58139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58140 (exit $ac_status); } &&
58141 { ac_try='test -z "$ac_c_werror_flag"
58142 || test ! -s conftest.err'
58143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58144 (eval $ac_try) 2>&5
58145 ac_status=$?
58146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58147 (exit $ac_status); }; } &&
58148 { ac_try='test -s conftest$ac_exeext'
58149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58150 (eval $ac_try) 2>&5
58151 ac_status=$?
58152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58153 (exit $ac_status); }; }; then
58154 eval "$as_ac_var=yes"
58155 else
58156 echo "$as_me: failed program was:" >&5
58157 sed 's/^/| /' conftest.$ac_ext >&5
58159 eval "$as_ac_var=no"
58161 rm -f conftest.err conftest.$ac_objext \
58162 conftest$ac_exeext conftest.$ac_ext
58164 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58165 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58166 if test `eval echo '${'$as_ac_var'}'` = yes; then
58167 cat >>confdefs.h <<_ACEOF
58168 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58169 _ACEOF
58172 done
58179 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
58180 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
58181 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
58182 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
58183 echo $ECHO_N "(cached) $ECHO_C" >&6
58184 else
58188 ac_ext=cc
58189 ac_cpp='$CXXCPP $CPPFLAGS'
58190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58194 cat >conftest.$ac_ext <<_ACEOF
58195 /* confdefs.h. */
58196 _ACEOF
58197 cat confdefs.h >>conftest.$ac_ext
58198 cat >>conftest.$ac_ext <<_ACEOF
58199 /* end confdefs.h. */
58200 #include <math.h>
58202 main ()
58204 atan2f(0, 0);
58206 return 0;
58208 _ACEOF
58209 rm -f conftest.$ac_objext
58210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58211 (eval $ac_compile) 2>conftest.er1
58212 ac_status=$?
58213 grep -v '^ *+' conftest.er1 >conftest.err
58214 rm -f conftest.er1
58215 cat conftest.err >&5
58216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58217 (exit $ac_status); } &&
58218 { ac_try='test -z "$ac_cxx_werror_flag"
58219 || test ! -s conftest.err'
58220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58221 (eval $ac_try) 2>&5
58222 ac_status=$?
58223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58224 (exit $ac_status); }; } &&
58225 { ac_try='test -s conftest.$ac_objext'
58226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58227 (eval $ac_try) 2>&5
58228 ac_status=$?
58229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58230 (exit $ac_status); }; }; then
58231 glibcxx_cv_func_atan2f_use=yes
58232 else
58233 echo "$as_me: failed program was:" >&5
58234 sed 's/^/| /' conftest.$ac_ext >&5
58236 glibcxx_cv_func_atan2f_use=no
58238 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58239 ac_ext=c
58240 ac_cpp='$CPP $CPPFLAGS'
58241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58249 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
58250 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
58252 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
58254 for ac_func in atan2f
58256 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58257 echo "$as_me:$LINENO: checking for $ac_func" >&5
58258 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58259 if eval "test \"\${$as_ac_var+set}\" = set"; then
58260 echo $ECHO_N "(cached) $ECHO_C" >&6
58261 else
58262 if test x$gcc_no_link = xyes; then
58263 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58264 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58265 { (exit 1); exit 1; }; }
58267 cat >conftest.$ac_ext <<_ACEOF
58268 /* confdefs.h. */
58269 _ACEOF
58270 cat confdefs.h >>conftest.$ac_ext
58271 cat >>conftest.$ac_ext <<_ACEOF
58272 /* end confdefs.h. */
58273 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58274 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58275 #define $ac_func innocuous_$ac_func
58277 /* System header to define __stub macros and hopefully few prototypes,
58278 which can conflict with char $ac_func (); below.
58279 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58280 <limits.h> exists even on freestanding compilers. */
58282 #ifdef __STDC__
58283 # include <limits.h>
58284 #else
58285 # include <assert.h>
58286 #endif
58288 #undef $ac_func
58290 /* Override any gcc2 internal prototype to avoid an error. */
58291 #ifdef __cplusplus
58292 extern "C"
58294 #endif
58295 /* We use char because int might match the return type of a gcc2
58296 builtin and then its argument prototype would still apply. */
58297 char $ac_func ();
58298 /* The GNU C library defines this for functions which it implements
58299 to always fail with ENOSYS. Some functions are actually named
58300 something starting with __ and the normal name is an alias. */
58301 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58302 choke me
58303 #else
58304 char (*f) () = $ac_func;
58305 #endif
58306 #ifdef __cplusplus
58308 #endif
58311 main ()
58313 return f != $ac_func;
58315 return 0;
58317 _ACEOF
58318 rm -f conftest.$ac_objext conftest$ac_exeext
58319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58320 (eval $ac_link) 2>conftest.er1
58321 ac_status=$?
58322 grep -v '^ *+' conftest.er1 >conftest.err
58323 rm -f conftest.er1
58324 cat conftest.err >&5
58325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58326 (exit $ac_status); } &&
58327 { ac_try='test -z "$ac_c_werror_flag"
58328 || test ! -s conftest.err'
58329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58330 (eval $ac_try) 2>&5
58331 ac_status=$?
58332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58333 (exit $ac_status); }; } &&
58334 { ac_try='test -s conftest$ac_exeext'
58335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58336 (eval $ac_try) 2>&5
58337 ac_status=$?
58338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58339 (exit $ac_status); }; }; then
58340 eval "$as_ac_var=yes"
58341 else
58342 echo "$as_me: failed program was:" >&5
58343 sed 's/^/| /' conftest.$ac_ext >&5
58345 eval "$as_ac_var=no"
58347 rm -f conftest.err conftest.$ac_objext \
58348 conftest$ac_exeext conftest.$ac_ext
58350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58351 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58352 if test `eval echo '${'$as_ac_var'}'` = yes; then
58353 cat >>confdefs.h <<_ACEOF
58354 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58355 _ACEOF
58358 done
58360 else
58362 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
58363 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
58364 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
58365 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
58366 echo $ECHO_N "(cached) $ECHO_C" >&6
58367 else
58371 ac_ext=cc
58372 ac_cpp='$CXXCPP $CPPFLAGS'
58373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58377 cat >conftest.$ac_ext <<_ACEOF
58378 /* confdefs.h. */
58379 _ACEOF
58380 cat confdefs.h >>conftest.$ac_ext
58381 cat >>conftest.$ac_ext <<_ACEOF
58382 /* end confdefs.h. */
58383 #include <math.h>
58385 main ()
58387 _atan2f(0, 0);
58389 return 0;
58391 _ACEOF
58392 rm -f conftest.$ac_objext
58393 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58394 (eval $ac_compile) 2>conftest.er1
58395 ac_status=$?
58396 grep -v '^ *+' conftest.er1 >conftest.err
58397 rm -f conftest.er1
58398 cat conftest.err >&5
58399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58400 (exit $ac_status); } &&
58401 { ac_try='test -z "$ac_cxx_werror_flag"
58402 || test ! -s conftest.err'
58403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58404 (eval $ac_try) 2>&5
58405 ac_status=$?
58406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58407 (exit $ac_status); }; } &&
58408 { ac_try='test -s conftest.$ac_objext'
58409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58410 (eval $ac_try) 2>&5
58411 ac_status=$?
58412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58413 (exit $ac_status); }; }; then
58414 glibcxx_cv_func__atan2f_use=yes
58415 else
58416 echo "$as_me: failed program was:" >&5
58417 sed 's/^/| /' conftest.$ac_ext >&5
58419 glibcxx_cv_func__atan2f_use=no
58421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58422 ac_ext=c
58423 ac_cpp='$CPP $CPPFLAGS'
58424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58432 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
58433 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
58435 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
58437 for ac_func in _atan2f
58439 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58440 echo "$as_me:$LINENO: checking for $ac_func" >&5
58441 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58442 if eval "test \"\${$as_ac_var+set}\" = set"; then
58443 echo $ECHO_N "(cached) $ECHO_C" >&6
58444 else
58445 if test x$gcc_no_link = xyes; then
58446 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58447 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58448 { (exit 1); exit 1; }; }
58450 cat >conftest.$ac_ext <<_ACEOF
58451 /* confdefs.h. */
58452 _ACEOF
58453 cat confdefs.h >>conftest.$ac_ext
58454 cat >>conftest.$ac_ext <<_ACEOF
58455 /* end confdefs.h. */
58456 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58457 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58458 #define $ac_func innocuous_$ac_func
58460 /* System header to define __stub macros and hopefully few prototypes,
58461 which can conflict with char $ac_func (); below.
58462 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58463 <limits.h> exists even on freestanding compilers. */
58465 #ifdef __STDC__
58466 # include <limits.h>
58467 #else
58468 # include <assert.h>
58469 #endif
58471 #undef $ac_func
58473 /* Override any gcc2 internal prototype to avoid an error. */
58474 #ifdef __cplusplus
58475 extern "C"
58477 #endif
58478 /* We use char because int might match the return type of a gcc2
58479 builtin and then its argument prototype would still apply. */
58480 char $ac_func ();
58481 /* The GNU C library defines this for functions which it implements
58482 to always fail with ENOSYS. Some functions are actually named
58483 something starting with __ and the normal name is an alias. */
58484 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58485 choke me
58486 #else
58487 char (*f) () = $ac_func;
58488 #endif
58489 #ifdef __cplusplus
58491 #endif
58494 main ()
58496 return f != $ac_func;
58498 return 0;
58500 _ACEOF
58501 rm -f conftest.$ac_objext conftest$ac_exeext
58502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58503 (eval $ac_link) 2>conftest.er1
58504 ac_status=$?
58505 grep -v '^ *+' conftest.er1 >conftest.err
58506 rm -f conftest.er1
58507 cat conftest.err >&5
58508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58509 (exit $ac_status); } &&
58510 { ac_try='test -z "$ac_c_werror_flag"
58511 || test ! -s conftest.err'
58512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58513 (eval $ac_try) 2>&5
58514 ac_status=$?
58515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58516 (exit $ac_status); }; } &&
58517 { ac_try='test -s conftest$ac_exeext'
58518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58519 (eval $ac_try) 2>&5
58520 ac_status=$?
58521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58522 (exit $ac_status); }; }; then
58523 eval "$as_ac_var=yes"
58524 else
58525 echo "$as_me: failed program was:" >&5
58526 sed 's/^/| /' conftest.$ac_ext >&5
58528 eval "$as_ac_var=no"
58530 rm -f conftest.err conftest.$ac_objext \
58531 conftest$ac_exeext conftest.$ac_ext
58533 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58534 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58535 if test `eval echo '${'$as_ac_var'}'` = yes; then
58536 cat >>confdefs.h <<_ACEOF
58537 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58538 _ACEOF
58541 done
58548 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
58549 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
58550 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
58551 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
58552 echo $ECHO_N "(cached) $ECHO_C" >&6
58553 else
58557 ac_ext=cc
58558 ac_cpp='$CXXCPP $CPPFLAGS'
58559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58563 cat >conftest.$ac_ext <<_ACEOF
58564 /* confdefs.h. */
58565 _ACEOF
58566 cat confdefs.h >>conftest.$ac_ext
58567 cat >>conftest.$ac_ext <<_ACEOF
58568 /* end confdefs.h. */
58569 #include <math.h>
58570 #ifdef HAVE_IEEEFP_H
58571 #include <ieeefp.h>
58572 #endif
58575 main ()
58577 fabsf(0);
58579 return 0;
58581 _ACEOF
58582 rm -f conftest.$ac_objext
58583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58584 (eval $ac_compile) 2>conftest.er1
58585 ac_status=$?
58586 grep -v '^ *+' conftest.er1 >conftest.err
58587 rm -f conftest.er1
58588 cat conftest.err >&5
58589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58590 (exit $ac_status); } &&
58591 { ac_try='test -z "$ac_cxx_werror_flag"
58592 || test ! -s conftest.err'
58593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58594 (eval $ac_try) 2>&5
58595 ac_status=$?
58596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58597 (exit $ac_status); }; } &&
58598 { ac_try='test -s conftest.$ac_objext'
58599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58600 (eval $ac_try) 2>&5
58601 ac_status=$?
58602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58603 (exit $ac_status); }; }; then
58604 glibcxx_cv_func_fabsf_use=yes
58605 else
58606 echo "$as_me: failed program was:" >&5
58607 sed 's/^/| /' conftest.$ac_ext >&5
58609 glibcxx_cv_func_fabsf_use=no
58611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58612 ac_ext=c
58613 ac_cpp='$CPP $CPPFLAGS'
58614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58622 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
58623 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
58625 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
58627 for ac_func in fabsf
58629 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58630 echo "$as_me:$LINENO: checking for $ac_func" >&5
58631 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58632 if eval "test \"\${$as_ac_var+set}\" = set"; then
58633 echo $ECHO_N "(cached) $ECHO_C" >&6
58634 else
58635 if test x$gcc_no_link = xyes; then
58636 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58637 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58638 { (exit 1); exit 1; }; }
58640 cat >conftest.$ac_ext <<_ACEOF
58641 /* confdefs.h. */
58642 _ACEOF
58643 cat confdefs.h >>conftest.$ac_ext
58644 cat >>conftest.$ac_ext <<_ACEOF
58645 /* end confdefs.h. */
58646 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58647 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58648 #define $ac_func innocuous_$ac_func
58650 /* System header to define __stub macros and hopefully few prototypes,
58651 which can conflict with char $ac_func (); below.
58652 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58653 <limits.h> exists even on freestanding compilers. */
58655 #ifdef __STDC__
58656 # include <limits.h>
58657 #else
58658 # include <assert.h>
58659 #endif
58661 #undef $ac_func
58663 /* Override any gcc2 internal prototype to avoid an error. */
58664 #ifdef __cplusplus
58665 extern "C"
58667 #endif
58668 /* We use char because int might match the return type of a gcc2
58669 builtin and then its argument prototype would still apply. */
58670 char $ac_func ();
58671 /* The GNU C library defines this for functions which it implements
58672 to always fail with ENOSYS. Some functions are actually named
58673 something starting with __ and the normal name is an alias. */
58674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58675 choke me
58676 #else
58677 char (*f) () = $ac_func;
58678 #endif
58679 #ifdef __cplusplus
58681 #endif
58684 main ()
58686 return f != $ac_func;
58688 return 0;
58690 _ACEOF
58691 rm -f conftest.$ac_objext conftest$ac_exeext
58692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58693 (eval $ac_link) 2>conftest.er1
58694 ac_status=$?
58695 grep -v '^ *+' conftest.er1 >conftest.err
58696 rm -f conftest.er1
58697 cat conftest.err >&5
58698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58699 (exit $ac_status); } &&
58700 { ac_try='test -z "$ac_c_werror_flag"
58701 || test ! -s conftest.err'
58702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58703 (eval $ac_try) 2>&5
58704 ac_status=$?
58705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58706 (exit $ac_status); }; } &&
58707 { ac_try='test -s conftest$ac_exeext'
58708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58709 (eval $ac_try) 2>&5
58710 ac_status=$?
58711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58712 (exit $ac_status); }; }; then
58713 eval "$as_ac_var=yes"
58714 else
58715 echo "$as_me: failed program was:" >&5
58716 sed 's/^/| /' conftest.$ac_ext >&5
58718 eval "$as_ac_var=no"
58720 rm -f conftest.err conftest.$ac_objext \
58721 conftest$ac_exeext conftest.$ac_ext
58723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58725 if test `eval echo '${'$as_ac_var'}'` = yes; then
58726 cat >>confdefs.h <<_ACEOF
58727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58728 _ACEOF
58731 done
58733 else
58735 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
58736 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
58737 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
58738 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
58739 echo $ECHO_N "(cached) $ECHO_C" >&6
58740 else
58744 ac_ext=cc
58745 ac_cpp='$CXXCPP $CPPFLAGS'
58746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58750 cat >conftest.$ac_ext <<_ACEOF
58751 /* confdefs.h. */
58752 _ACEOF
58753 cat confdefs.h >>conftest.$ac_ext
58754 cat >>conftest.$ac_ext <<_ACEOF
58755 /* end confdefs.h. */
58756 #include <math.h>
58757 #ifdef HAVE_IEEEFP_H
58758 #include <ieeefp.h>
58759 #endif
58762 main ()
58764 _fabsf(0);
58766 return 0;
58768 _ACEOF
58769 rm -f conftest.$ac_objext
58770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58771 (eval $ac_compile) 2>conftest.er1
58772 ac_status=$?
58773 grep -v '^ *+' conftest.er1 >conftest.err
58774 rm -f conftest.er1
58775 cat conftest.err >&5
58776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58777 (exit $ac_status); } &&
58778 { ac_try='test -z "$ac_cxx_werror_flag"
58779 || test ! -s conftest.err'
58780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58781 (eval $ac_try) 2>&5
58782 ac_status=$?
58783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58784 (exit $ac_status); }; } &&
58785 { ac_try='test -s conftest.$ac_objext'
58786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58787 (eval $ac_try) 2>&5
58788 ac_status=$?
58789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58790 (exit $ac_status); }; }; then
58791 glibcxx_cv_func__fabsf_use=yes
58792 else
58793 echo "$as_me: failed program was:" >&5
58794 sed 's/^/| /' conftest.$ac_ext >&5
58796 glibcxx_cv_func__fabsf_use=no
58798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58799 ac_ext=c
58800 ac_cpp='$CPP $CPPFLAGS'
58801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58809 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
58810 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
58812 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
58814 for ac_func in _fabsf
58816 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58817 echo "$as_me:$LINENO: checking for $ac_func" >&5
58818 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58819 if eval "test \"\${$as_ac_var+set}\" = set"; then
58820 echo $ECHO_N "(cached) $ECHO_C" >&6
58821 else
58822 if test x$gcc_no_link = xyes; then
58823 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58824 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58825 { (exit 1); exit 1; }; }
58827 cat >conftest.$ac_ext <<_ACEOF
58828 /* confdefs.h. */
58829 _ACEOF
58830 cat confdefs.h >>conftest.$ac_ext
58831 cat >>conftest.$ac_ext <<_ACEOF
58832 /* end confdefs.h. */
58833 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58834 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58835 #define $ac_func innocuous_$ac_func
58837 /* System header to define __stub macros and hopefully few prototypes,
58838 which can conflict with char $ac_func (); below.
58839 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58840 <limits.h> exists even on freestanding compilers. */
58842 #ifdef __STDC__
58843 # include <limits.h>
58844 #else
58845 # include <assert.h>
58846 #endif
58848 #undef $ac_func
58850 /* Override any gcc2 internal prototype to avoid an error. */
58851 #ifdef __cplusplus
58852 extern "C"
58854 #endif
58855 /* We use char because int might match the return type of a gcc2
58856 builtin and then its argument prototype would still apply. */
58857 char $ac_func ();
58858 /* The GNU C library defines this for functions which it implements
58859 to always fail with ENOSYS. Some functions are actually named
58860 something starting with __ and the normal name is an alias. */
58861 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58862 choke me
58863 #else
58864 char (*f) () = $ac_func;
58865 #endif
58866 #ifdef __cplusplus
58868 #endif
58871 main ()
58873 return f != $ac_func;
58875 return 0;
58877 _ACEOF
58878 rm -f conftest.$ac_objext conftest$ac_exeext
58879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58880 (eval $ac_link) 2>conftest.er1
58881 ac_status=$?
58882 grep -v '^ *+' conftest.er1 >conftest.err
58883 rm -f conftest.er1
58884 cat conftest.err >&5
58885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58886 (exit $ac_status); } &&
58887 { ac_try='test -z "$ac_c_werror_flag"
58888 || test ! -s conftest.err'
58889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58890 (eval $ac_try) 2>&5
58891 ac_status=$?
58892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58893 (exit $ac_status); }; } &&
58894 { ac_try='test -s conftest$ac_exeext'
58895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58896 (eval $ac_try) 2>&5
58897 ac_status=$?
58898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58899 (exit $ac_status); }; }; then
58900 eval "$as_ac_var=yes"
58901 else
58902 echo "$as_me: failed program was:" >&5
58903 sed 's/^/| /' conftest.$ac_ext >&5
58905 eval "$as_ac_var=no"
58907 rm -f conftest.err conftest.$ac_objext \
58908 conftest$ac_exeext conftest.$ac_ext
58910 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58911 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58912 if test `eval echo '${'$as_ac_var'}'` = yes; then
58913 cat >>confdefs.h <<_ACEOF
58914 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58915 _ACEOF
58918 done
58925 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
58926 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
58927 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
58928 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
58929 echo $ECHO_N "(cached) $ECHO_C" >&6
58930 else
58934 ac_ext=cc
58935 ac_cpp='$CXXCPP $CPPFLAGS'
58936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58940 cat >conftest.$ac_ext <<_ACEOF
58941 /* confdefs.h. */
58942 _ACEOF
58943 cat confdefs.h >>conftest.$ac_ext
58944 cat >>conftest.$ac_ext <<_ACEOF
58945 /* end confdefs.h. */
58946 #include <math.h>
58948 main ()
58950 fmodf(0, 0);
58952 return 0;
58954 _ACEOF
58955 rm -f conftest.$ac_objext
58956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58957 (eval $ac_compile) 2>conftest.er1
58958 ac_status=$?
58959 grep -v '^ *+' conftest.er1 >conftest.err
58960 rm -f conftest.er1
58961 cat conftest.err >&5
58962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58963 (exit $ac_status); } &&
58964 { ac_try='test -z "$ac_cxx_werror_flag"
58965 || test ! -s conftest.err'
58966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58967 (eval $ac_try) 2>&5
58968 ac_status=$?
58969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58970 (exit $ac_status); }; } &&
58971 { ac_try='test -s conftest.$ac_objext'
58972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58973 (eval $ac_try) 2>&5
58974 ac_status=$?
58975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58976 (exit $ac_status); }; }; then
58977 glibcxx_cv_func_fmodf_use=yes
58978 else
58979 echo "$as_me: failed program was:" >&5
58980 sed 's/^/| /' conftest.$ac_ext >&5
58982 glibcxx_cv_func_fmodf_use=no
58984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58985 ac_ext=c
58986 ac_cpp='$CPP $CPPFLAGS'
58987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58995 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
58996 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
58998 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
59000 for ac_func in fmodf
59002 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59003 echo "$as_me:$LINENO: checking for $ac_func" >&5
59004 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59005 if eval "test \"\${$as_ac_var+set}\" = set"; then
59006 echo $ECHO_N "(cached) $ECHO_C" >&6
59007 else
59008 if test x$gcc_no_link = xyes; then
59009 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59010 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59011 { (exit 1); exit 1; }; }
59013 cat >conftest.$ac_ext <<_ACEOF
59014 /* confdefs.h. */
59015 _ACEOF
59016 cat confdefs.h >>conftest.$ac_ext
59017 cat >>conftest.$ac_ext <<_ACEOF
59018 /* end confdefs.h. */
59019 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59021 #define $ac_func innocuous_$ac_func
59023 /* System header to define __stub macros and hopefully few prototypes,
59024 which can conflict with char $ac_func (); below.
59025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59026 <limits.h> exists even on freestanding compilers. */
59028 #ifdef __STDC__
59029 # include <limits.h>
59030 #else
59031 # include <assert.h>
59032 #endif
59034 #undef $ac_func
59036 /* Override any gcc2 internal prototype to avoid an error. */
59037 #ifdef __cplusplus
59038 extern "C"
59040 #endif
59041 /* We use char because int might match the return type of a gcc2
59042 builtin and then its argument prototype would still apply. */
59043 char $ac_func ();
59044 /* The GNU C library defines this for functions which it implements
59045 to always fail with ENOSYS. Some functions are actually named
59046 something starting with __ and the normal name is an alias. */
59047 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59048 choke me
59049 #else
59050 char (*f) () = $ac_func;
59051 #endif
59052 #ifdef __cplusplus
59054 #endif
59057 main ()
59059 return f != $ac_func;
59061 return 0;
59063 _ACEOF
59064 rm -f conftest.$ac_objext conftest$ac_exeext
59065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59066 (eval $ac_link) 2>conftest.er1
59067 ac_status=$?
59068 grep -v '^ *+' conftest.er1 >conftest.err
59069 rm -f conftest.er1
59070 cat conftest.err >&5
59071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59072 (exit $ac_status); } &&
59073 { ac_try='test -z "$ac_c_werror_flag"
59074 || test ! -s conftest.err'
59075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59076 (eval $ac_try) 2>&5
59077 ac_status=$?
59078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59079 (exit $ac_status); }; } &&
59080 { ac_try='test -s conftest$ac_exeext'
59081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59082 (eval $ac_try) 2>&5
59083 ac_status=$?
59084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59085 (exit $ac_status); }; }; then
59086 eval "$as_ac_var=yes"
59087 else
59088 echo "$as_me: failed program was:" >&5
59089 sed 's/^/| /' conftest.$ac_ext >&5
59091 eval "$as_ac_var=no"
59093 rm -f conftest.err conftest.$ac_objext \
59094 conftest$ac_exeext conftest.$ac_ext
59096 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59097 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59098 if test `eval echo '${'$as_ac_var'}'` = yes; then
59099 cat >>confdefs.h <<_ACEOF
59100 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59101 _ACEOF
59104 done
59106 else
59108 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
59109 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
59110 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
59111 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
59112 echo $ECHO_N "(cached) $ECHO_C" >&6
59113 else
59117 ac_ext=cc
59118 ac_cpp='$CXXCPP $CPPFLAGS'
59119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59123 cat >conftest.$ac_ext <<_ACEOF
59124 /* confdefs.h. */
59125 _ACEOF
59126 cat confdefs.h >>conftest.$ac_ext
59127 cat >>conftest.$ac_ext <<_ACEOF
59128 /* end confdefs.h. */
59129 #include <math.h>
59131 main ()
59133 _fmodf(0, 0);
59135 return 0;
59137 _ACEOF
59138 rm -f conftest.$ac_objext
59139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59140 (eval $ac_compile) 2>conftest.er1
59141 ac_status=$?
59142 grep -v '^ *+' conftest.er1 >conftest.err
59143 rm -f conftest.er1
59144 cat conftest.err >&5
59145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59146 (exit $ac_status); } &&
59147 { ac_try='test -z "$ac_cxx_werror_flag"
59148 || test ! -s conftest.err'
59149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59150 (eval $ac_try) 2>&5
59151 ac_status=$?
59152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59153 (exit $ac_status); }; } &&
59154 { ac_try='test -s conftest.$ac_objext'
59155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59156 (eval $ac_try) 2>&5
59157 ac_status=$?
59158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59159 (exit $ac_status); }; }; then
59160 glibcxx_cv_func__fmodf_use=yes
59161 else
59162 echo "$as_me: failed program was:" >&5
59163 sed 's/^/| /' conftest.$ac_ext >&5
59165 glibcxx_cv_func__fmodf_use=no
59167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59168 ac_ext=c
59169 ac_cpp='$CPP $CPPFLAGS'
59170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59178 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
59179 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
59181 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
59183 for ac_func in _fmodf
59185 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59186 echo "$as_me:$LINENO: checking for $ac_func" >&5
59187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59188 if eval "test \"\${$as_ac_var+set}\" = set"; then
59189 echo $ECHO_N "(cached) $ECHO_C" >&6
59190 else
59191 if test x$gcc_no_link = xyes; then
59192 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59193 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59194 { (exit 1); exit 1; }; }
59196 cat >conftest.$ac_ext <<_ACEOF
59197 /* confdefs.h. */
59198 _ACEOF
59199 cat confdefs.h >>conftest.$ac_ext
59200 cat >>conftest.$ac_ext <<_ACEOF
59201 /* end confdefs.h. */
59202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59204 #define $ac_func innocuous_$ac_func
59206 /* System header to define __stub macros and hopefully few prototypes,
59207 which can conflict with char $ac_func (); below.
59208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59209 <limits.h> exists even on freestanding compilers. */
59211 #ifdef __STDC__
59212 # include <limits.h>
59213 #else
59214 # include <assert.h>
59215 #endif
59217 #undef $ac_func
59219 /* Override any gcc2 internal prototype to avoid an error. */
59220 #ifdef __cplusplus
59221 extern "C"
59223 #endif
59224 /* We use char because int might match the return type of a gcc2
59225 builtin and then its argument prototype would still apply. */
59226 char $ac_func ();
59227 /* The GNU C library defines this for functions which it implements
59228 to always fail with ENOSYS. Some functions are actually named
59229 something starting with __ and the normal name is an alias. */
59230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59231 choke me
59232 #else
59233 char (*f) () = $ac_func;
59234 #endif
59235 #ifdef __cplusplus
59237 #endif
59240 main ()
59242 return f != $ac_func;
59244 return 0;
59246 _ACEOF
59247 rm -f conftest.$ac_objext conftest$ac_exeext
59248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59249 (eval $ac_link) 2>conftest.er1
59250 ac_status=$?
59251 grep -v '^ *+' conftest.er1 >conftest.err
59252 rm -f conftest.er1
59253 cat conftest.err >&5
59254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59255 (exit $ac_status); } &&
59256 { ac_try='test -z "$ac_c_werror_flag"
59257 || test ! -s conftest.err'
59258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59259 (eval $ac_try) 2>&5
59260 ac_status=$?
59261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59262 (exit $ac_status); }; } &&
59263 { ac_try='test -s conftest$ac_exeext'
59264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59265 (eval $ac_try) 2>&5
59266 ac_status=$?
59267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59268 (exit $ac_status); }; }; then
59269 eval "$as_ac_var=yes"
59270 else
59271 echo "$as_me: failed program was:" >&5
59272 sed 's/^/| /' conftest.$ac_ext >&5
59274 eval "$as_ac_var=no"
59276 rm -f conftest.err conftest.$ac_objext \
59277 conftest$ac_exeext conftest.$ac_ext
59279 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59280 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59281 if test `eval echo '${'$as_ac_var'}'` = yes; then
59282 cat >>confdefs.h <<_ACEOF
59283 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59284 _ACEOF
59287 done
59294 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
59295 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
59296 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
59297 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
59298 echo $ECHO_N "(cached) $ECHO_C" >&6
59299 else
59303 ac_ext=cc
59304 ac_cpp='$CXXCPP $CPPFLAGS'
59305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59309 cat >conftest.$ac_ext <<_ACEOF
59310 /* confdefs.h. */
59311 _ACEOF
59312 cat confdefs.h >>conftest.$ac_ext
59313 cat >>conftest.$ac_ext <<_ACEOF
59314 /* end confdefs.h. */
59315 #include <math.h>
59317 main ()
59319 frexpf(0, 0);
59321 return 0;
59323 _ACEOF
59324 rm -f conftest.$ac_objext
59325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59326 (eval $ac_compile) 2>conftest.er1
59327 ac_status=$?
59328 grep -v '^ *+' conftest.er1 >conftest.err
59329 rm -f conftest.er1
59330 cat conftest.err >&5
59331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59332 (exit $ac_status); } &&
59333 { ac_try='test -z "$ac_cxx_werror_flag"
59334 || test ! -s conftest.err'
59335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59336 (eval $ac_try) 2>&5
59337 ac_status=$?
59338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59339 (exit $ac_status); }; } &&
59340 { ac_try='test -s conftest.$ac_objext'
59341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59342 (eval $ac_try) 2>&5
59343 ac_status=$?
59344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59345 (exit $ac_status); }; }; then
59346 glibcxx_cv_func_frexpf_use=yes
59347 else
59348 echo "$as_me: failed program was:" >&5
59349 sed 's/^/| /' conftest.$ac_ext >&5
59351 glibcxx_cv_func_frexpf_use=no
59353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59354 ac_ext=c
59355 ac_cpp='$CPP $CPPFLAGS'
59356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59364 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
59365 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
59367 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
59369 for ac_func in frexpf
59371 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59372 echo "$as_me:$LINENO: checking for $ac_func" >&5
59373 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59374 if eval "test \"\${$as_ac_var+set}\" = set"; then
59375 echo $ECHO_N "(cached) $ECHO_C" >&6
59376 else
59377 if test x$gcc_no_link = xyes; then
59378 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59379 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59380 { (exit 1); exit 1; }; }
59382 cat >conftest.$ac_ext <<_ACEOF
59383 /* confdefs.h. */
59384 _ACEOF
59385 cat confdefs.h >>conftest.$ac_ext
59386 cat >>conftest.$ac_ext <<_ACEOF
59387 /* end confdefs.h. */
59388 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59389 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59390 #define $ac_func innocuous_$ac_func
59392 /* System header to define __stub macros and hopefully few prototypes,
59393 which can conflict with char $ac_func (); below.
59394 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59395 <limits.h> exists even on freestanding compilers. */
59397 #ifdef __STDC__
59398 # include <limits.h>
59399 #else
59400 # include <assert.h>
59401 #endif
59403 #undef $ac_func
59405 /* Override any gcc2 internal prototype to avoid an error. */
59406 #ifdef __cplusplus
59407 extern "C"
59409 #endif
59410 /* We use char because int might match the return type of a gcc2
59411 builtin and then its argument prototype would still apply. */
59412 char $ac_func ();
59413 /* The GNU C library defines this for functions which it implements
59414 to always fail with ENOSYS. Some functions are actually named
59415 something starting with __ and the normal name is an alias. */
59416 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59417 choke me
59418 #else
59419 char (*f) () = $ac_func;
59420 #endif
59421 #ifdef __cplusplus
59423 #endif
59426 main ()
59428 return f != $ac_func;
59430 return 0;
59432 _ACEOF
59433 rm -f conftest.$ac_objext conftest$ac_exeext
59434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59435 (eval $ac_link) 2>conftest.er1
59436 ac_status=$?
59437 grep -v '^ *+' conftest.er1 >conftest.err
59438 rm -f conftest.er1
59439 cat conftest.err >&5
59440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59441 (exit $ac_status); } &&
59442 { ac_try='test -z "$ac_c_werror_flag"
59443 || test ! -s conftest.err'
59444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59445 (eval $ac_try) 2>&5
59446 ac_status=$?
59447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59448 (exit $ac_status); }; } &&
59449 { ac_try='test -s conftest$ac_exeext'
59450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59451 (eval $ac_try) 2>&5
59452 ac_status=$?
59453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59454 (exit $ac_status); }; }; then
59455 eval "$as_ac_var=yes"
59456 else
59457 echo "$as_me: failed program was:" >&5
59458 sed 's/^/| /' conftest.$ac_ext >&5
59460 eval "$as_ac_var=no"
59462 rm -f conftest.err conftest.$ac_objext \
59463 conftest$ac_exeext conftest.$ac_ext
59465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59466 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59467 if test `eval echo '${'$as_ac_var'}'` = yes; then
59468 cat >>confdefs.h <<_ACEOF
59469 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59470 _ACEOF
59473 done
59475 else
59477 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
59478 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
59479 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
59480 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
59481 echo $ECHO_N "(cached) $ECHO_C" >&6
59482 else
59486 ac_ext=cc
59487 ac_cpp='$CXXCPP $CPPFLAGS'
59488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59492 cat >conftest.$ac_ext <<_ACEOF
59493 /* confdefs.h. */
59494 _ACEOF
59495 cat confdefs.h >>conftest.$ac_ext
59496 cat >>conftest.$ac_ext <<_ACEOF
59497 /* end confdefs.h. */
59498 #include <math.h>
59500 main ()
59502 _frexpf(0, 0);
59504 return 0;
59506 _ACEOF
59507 rm -f conftest.$ac_objext
59508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59509 (eval $ac_compile) 2>conftest.er1
59510 ac_status=$?
59511 grep -v '^ *+' conftest.er1 >conftest.err
59512 rm -f conftest.er1
59513 cat conftest.err >&5
59514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59515 (exit $ac_status); } &&
59516 { ac_try='test -z "$ac_cxx_werror_flag"
59517 || test ! -s conftest.err'
59518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59519 (eval $ac_try) 2>&5
59520 ac_status=$?
59521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59522 (exit $ac_status); }; } &&
59523 { ac_try='test -s conftest.$ac_objext'
59524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59525 (eval $ac_try) 2>&5
59526 ac_status=$?
59527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59528 (exit $ac_status); }; }; then
59529 glibcxx_cv_func__frexpf_use=yes
59530 else
59531 echo "$as_me: failed program was:" >&5
59532 sed 's/^/| /' conftest.$ac_ext >&5
59534 glibcxx_cv_func__frexpf_use=no
59536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59537 ac_ext=c
59538 ac_cpp='$CPP $CPPFLAGS'
59539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59547 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
59548 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
59550 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
59552 for ac_func in _frexpf
59554 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59555 echo "$as_me:$LINENO: checking for $ac_func" >&5
59556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59557 if eval "test \"\${$as_ac_var+set}\" = set"; then
59558 echo $ECHO_N "(cached) $ECHO_C" >&6
59559 else
59560 if test x$gcc_no_link = xyes; then
59561 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59562 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59563 { (exit 1); exit 1; }; }
59565 cat >conftest.$ac_ext <<_ACEOF
59566 /* confdefs.h. */
59567 _ACEOF
59568 cat confdefs.h >>conftest.$ac_ext
59569 cat >>conftest.$ac_ext <<_ACEOF
59570 /* end confdefs.h. */
59571 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59572 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59573 #define $ac_func innocuous_$ac_func
59575 /* System header to define __stub macros and hopefully few prototypes,
59576 which can conflict with char $ac_func (); below.
59577 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59578 <limits.h> exists even on freestanding compilers. */
59580 #ifdef __STDC__
59581 # include <limits.h>
59582 #else
59583 # include <assert.h>
59584 #endif
59586 #undef $ac_func
59588 /* Override any gcc2 internal prototype to avoid an error. */
59589 #ifdef __cplusplus
59590 extern "C"
59592 #endif
59593 /* We use char because int might match the return type of a gcc2
59594 builtin and then its argument prototype would still apply. */
59595 char $ac_func ();
59596 /* The GNU C library defines this for functions which it implements
59597 to always fail with ENOSYS. Some functions are actually named
59598 something starting with __ and the normal name is an alias. */
59599 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59600 choke me
59601 #else
59602 char (*f) () = $ac_func;
59603 #endif
59604 #ifdef __cplusplus
59606 #endif
59609 main ()
59611 return f != $ac_func;
59613 return 0;
59615 _ACEOF
59616 rm -f conftest.$ac_objext conftest$ac_exeext
59617 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59618 (eval $ac_link) 2>conftest.er1
59619 ac_status=$?
59620 grep -v '^ *+' conftest.er1 >conftest.err
59621 rm -f conftest.er1
59622 cat conftest.err >&5
59623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59624 (exit $ac_status); } &&
59625 { ac_try='test -z "$ac_c_werror_flag"
59626 || test ! -s conftest.err'
59627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59628 (eval $ac_try) 2>&5
59629 ac_status=$?
59630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59631 (exit $ac_status); }; } &&
59632 { ac_try='test -s conftest$ac_exeext'
59633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59634 (eval $ac_try) 2>&5
59635 ac_status=$?
59636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59637 (exit $ac_status); }; }; then
59638 eval "$as_ac_var=yes"
59639 else
59640 echo "$as_me: failed program was:" >&5
59641 sed 's/^/| /' conftest.$ac_ext >&5
59643 eval "$as_ac_var=no"
59645 rm -f conftest.err conftest.$ac_objext \
59646 conftest$ac_exeext conftest.$ac_ext
59648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59649 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59650 if test `eval echo '${'$as_ac_var'}'` = yes; then
59651 cat >>confdefs.h <<_ACEOF
59652 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59653 _ACEOF
59656 done
59663 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
59664 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
59665 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
59666 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
59667 echo $ECHO_N "(cached) $ECHO_C" >&6
59668 else
59672 ac_ext=cc
59673 ac_cpp='$CXXCPP $CPPFLAGS'
59674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59678 cat >conftest.$ac_ext <<_ACEOF
59679 /* confdefs.h. */
59680 _ACEOF
59681 cat confdefs.h >>conftest.$ac_ext
59682 cat >>conftest.$ac_ext <<_ACEOF
59683 /* end confdefs.h. */
59684 #include <math.h>
59686 main ()
59688 hypotf(0, 0);
59690 return 0;
59692 _ACEOF
59693 rm -f conftest.$ac_objext
59694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59695 (eval $ac_compile) 2>conftest.er1
59696 ac_status=$?
59697 grep -v '^ *+' conftest.er1 >conftest.err
59698 rm -f conftest.er1
59699 cat conftest.err >&5
59700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59701 (exit $ac_status); } &&
59702 { ac_try='test -z "$ac_cxx_werror_flag"
59703 || test ! -s conftest.err'
59704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59705 (eval $ac_try) 2>&5
59706 ac_status=$?
59707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59708 (exit $ac_status); }; } &&
59709 { ac_try='test -s conftest.$ac_objext'
59710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59711 (eval $ac_try) 2>&5
59712 ac_status=$?
59713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59714 (exit $ac_status); }; }; then
59715 glibcxx_cv_func_hypotf_use=yes
59716 else
59717 echo "$as_me: failed program was:" >&5
59718 sed 's/^/| /' conftest.$ac_ext >&5
59720 glibcxx_cv_func_hypotf_use=no
59722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59723 ac_ext=c
59724 ac_cpp='$CPP $CPPFLAGS'
59725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59733 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
59734 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
59736 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
59738 for ac_func in hypotf
59740 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59741 echo "$as_me:$LINENO: checking for $ac_func" >&5
59742 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59743 if eval "test \"\${$as_ac_var+set}\" = set"; then
59744 echo $ECHO_N "(cached) $ECHO_C" >&6
59745 else
59746 if test x$gcc_no_link = xyes; then
59747 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59749 { (exit 1); exit 1; }; }
59751 cat >conftest.$ac_ext <<_ACEOF
59752 /* confdefs.h. */
59753 _ACEOF
59754 cat confdefs.h >>conftest.$ac_ext
59755 cat >>conftest.$ac_ext <<_ACEOF
59756 /* end confdefs.h. */
59757 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59758 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59759 #define $ac_func innocuous_$ac_func
59761 /* System header to define __stub macros and hopefully few prototypes,
59762 which can conflict with char $ac_func (); below.
59763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59764 <limits.h> exists even on freestanding compilers. */
59766 #ifdef __STDC__
59767 # include <limits.h>
59768 #else
59769 # include <assert.h>
59770 #endif
59772 #undef $ac_func
59774 /* Override any gcc2 internal prototype to avoid an error. */
59775 #ifdef __cplusplus
59776 extern "C"
59778 #endif
59779 /* We use char because int might match the return type of a gcc2
59780 builtin and then its argument prototype would still apply. */
59781 char $ac_func ();
59782 /* The GNU C library defines this for functions which it implements
59783 to always fail with ENOSYS. Some functions are actually named
59784 something starting with __ and the normal name is an alias. */
59785 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59786 choke me
59787 #else
59788 char (*f) () = $ac_func;
59789 #endif
59790 #ifdef __cplusplus
59792 #endif
59795 main ()
59797 return f != $ac_func;
59799 return 0;
59801 _ACEOF
59802 rm -f conftest.$ac_objext conftest$ac_exeext
59803 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59804 (eval $ac_link) 2>conftest.er1
59805 ac_status=$?
59806 grep -v '^ *+' conftest.er1 >conftest.err
59807 rm -f conftest.er1
59808 cat conftest.err >&5
59809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59810 (exit $ac_status); } &&
59811 { ac_try='test -z "$ac_c_werror_flag"
59812 || test ! -s conftest.err'
59813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59814 (eval $ac_try) 2>&5
59815 ac_status=$?
59816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59817 (exit $ac_status); }; } &&
59818 { ac_try='test -s conftest$ac_exeext'
59819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59820 (eval $ac_try) 2>&5
59821 ac_status=$?
59822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59823 (exit $ac_status); }; }; then
59824 eval "$as_ac_var=yes"
59825 else
59826 echo "$as_me: failed program was:" >&5
59827 sed 's/^/| /' conftest.$ac_ext >&5
59829 eval "$as_ac_var=no"
59831 rm -f conftest.err conftest.$ac_objext \
59832 conftest$ac_exeext conftest.$ac_ext
59834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59835 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59836 if test `eval echo '${'$as_ac_var'}'` = yes; then
59837 cat >>confdefs.h <<_ACEOF
59838 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59839 _ACEOF
59842 done
59844 else
59846 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
59847 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
59848 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
59849 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
59850 echo $ECHO_N "(cached) $ECHO_C" >&6
59851 else
59855 ac_ext=cc
59856 ac_cpp='$CXXCPP $CPPFLAGS'
59857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59861 cat >conftest.$ac_ext <<_ACEOF
59862 /* confdefs.h. */
59863 _ACEOF
59864 cat confdefs.h >>conftest.$ac_ext
59865 cat >>conftest.$ac_ext <<_ACEOF
59866 /* end confdefs.h. */
59867 #include <math.h>
59869 main ()
59871 _hypotf(0, 0);
59873 return 0;
59875 _ACEOF
59876 rm -f conftest.$ac_objext
59877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59878 (eval $ac_compile) 2>conftest.er1
59879 ac_status=$?
59880 grep -v '^ *+' conftest.er1 >conftest.err
59881 rm -f conftest.er1
59882 cat conftest.err >&5
59883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59884 (exit $ac_status); } &&
59885 { ac_try='test -z "$ac_cxx_werror_flag"
59886 || test ! -s conftest.err'
59887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59888 (eval $ac_try) 2>&5
59889 ac_status=$?
59890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59891 (exit $ac_status); }; } &&
59892 { ac_try='test -s conftest.$ac_objext'
59893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59894 (eval $ac_try) 2>&5
59895 ac_status=$?
59896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59897 (exit $ac_status); }; }; then
59898 glibcxx_cv_func__hypotf_use=yes
59899 else
59900 echo "$as_me: failed program was:" >&5
59901 sed 's/^/| /' conftest.$ac_ext >&5
59903 glibcxx_cv_func__hypotf_use=no
59905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59906 ac_ext=c
59907 ac_cpp='$CPP $CPPFLAGS'
59908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59916 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
59917 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
59919 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
59921 for ac_func in _hypotf
59923 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59924 echo "$as_me:$LINENO: checking for $ac_func" >&5
59925 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59926 if eval "test \"\${$as_ac_var+set}\" = set"; then
59927 echo $ECHO_N "(cached) $ECHO_C" >&6
59928 else
59929 if test x$gcc_no_link = xyes; then
59930 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59932 { (exit 1); exit 1; }; }
59934 cat >conftest.$ac_ext <<_ACEOF
59935 /* confdefs.h. */
59936 _ACEOF
59937 cat confdefs.h >>conftest.$ac_ext
59938 cat >>conftest.$ac_ext <<_ACEOF
59939 /* end confdefs.h. */
59940 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59942 #define $ac_func innocuous_$ac_func
59944 /* System header to define __stub macros and hopefully few prototypes,
59945 which can conflict with char $ac_func (); below.
59946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59947 <limits.h> exists even on freestanding compilers. */
59949 #ifdef __STDC__
59950 # include <limits.h>
59951 #else
59952 # include <assert.h>
59953 #endif
59955 #undef $ac_func
59957 /* Override any gcc2 internal prototype to avoid an error. */
59958 #ifdef __cplusplus
59959 extern "C"
59961 #endif
59962 /* We use char because int might match the return type of a gcc2
59963 builtin and then its argument prototype would still apply. */
59964 char $ac_func ();
59965 /* The GNU C library defines this for functions which it implements
59966 to always fail with ENOSYS. Some functions are actually named
59967 something starting with __ and the normal name is an alias. */
59968 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59969 choke me
59970 #else
59971 char (*f) () = $ac_func;
59972 #endif
59973 #ifdef __cplusplus
59975 #endif
59978 main ()
59980 return f != $ac_func;
59982 return 0;
59984 _ACEOF
59985 rm -f conftest.$ac_objext conftest$ac_exeext
59986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59987 (eval $ac_link) 2>conftest.er1
59988 ac_status=$?
59989 grep -v '^ *+' conftest.er1 >conftest.err
59990 rm -f conftest.er1
59991 cat conftest.err >&5
59992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59993 (exit $ac_status); } &&
59994 { ac_try='test -z "$ac_c_werror_flag"
59995 || test ! -s conftest.err'
59996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59997 (eval $ac_try) 2>&5
59998 ac_status=$?
59999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60000 (exit $ac_status); }; } &&
60001 { ac_try='test -s conftest$ac_exeext'
60002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60003 (eval $ac_try) 2>&5
60004 ac_status=$?
60005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60006 (exit $ac_status); }; }; then
60007 eval "$as_ac_var=yes"
60008 else
60009 echo "$as_me: failed program was:" >&5
60010 sed 's/^/| /' conftest.$ac_ext >&5
60012 eval "$as_ac_var=no"
60014 rm -f conftest.err conftest.$ac_objext \
60015 conftest$ac_exeext conftest.$ac_ext
60017 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60018 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60019 if test `eval echo '${'$as_ac_var'}'` = yes; then
60020 cat >>confdefs.h <<_ACEOF
60021 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60022 _ACEOF
60025 done
60032 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
60033 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
60034 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
60035 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
60036 echo $ECHO_N "(cached) $ECHO_C" >&6
60037 else
60041 ac_ext=cc
60042 ac_cpp='$CXXCPP $CPPFLAGS'
60043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60047 cat >conftest.$ac_ext <<_ACEOF
60048 /* confdefs.h. */
60049 _ACEOF
60050 cat confdefs.h >>conftest.$ac_ext
60051 cat >>conftest.$ac_ext <<_ACEOF
60052 /* end confdefs.h. */
60053 #include <math.h>
60055 main ()
60057 ldexpf(0, 0);
60059 return 0;
60061 _ACEOF
60062 rm -f conftest.$ac_objext
60063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60064 (eval $ac_compile) 2>conftest.er1
60065 ac_status=$?
60066 grep -v '^ *+' conftest.er1 >conftest.err
60067 rm -f conftest.er1
60068 cat conftest.err >&5
60069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60070 (exit $ac_status); } &&
60071 { ac_try='test -z "$ac_cxx_werror_flag"
60072 || test ! -s conftest.err'
60073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60074 (eval $ac_try) 2>&5
60075 ac_status=$?
60076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60077 (exit $ac_status); }; } &&
60078 { ac_try='test -s conftest.$ac_objext'
60079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60080 (eval $ac_try) 2>&5
60081 ac_status=$?
60082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60083 (exit $ac_status); }; }; then
60084 glibcxx_cv_func_ldexpf_use=yes
60085 else
60086 echo "$as_me: failed program was:" >&5
60087 sed 's/^/| /' conftest.$ac_ext >&5
60089 glibcxx_cv_func_ldexpf_use=no
60091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60092 ac_ext=c
60093 ac_cpp='$CPP $CPPFLAGS'
60094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60102 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
60103 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
60105 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
60107 for ac_func in ldexpf
60109 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60110 echo "$as_me:$LINENO: checking for $ac_func" >&5
60111 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60112 if eval "test \"\${$as_ac_var+set}\" = set"; then
60113 echo $ECHO_N "(cached) $ECHO_C" >&6
60114 else
60115 if test x$gcc_no_link = xyes; then
60116 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60117 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60118 { (exit 1); exit 1; }; }
60120 cat >conftest.$ac_ext <<_ACEOF
60121 /* confdefs.h. */
60122 _ACEOF
60123 cat confdefs.h >>conftest.$ac_ext
60124 cat >>conftest.$ac_ext <<_ACEOF
60125 /* end confdefs.h. */
60126 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60127 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60128 #define $ac_func innocuous_$ac_func
60130 /* System header to define __stub macros and hopefully few prototypes,
60131 which can conflict with char $ac_func (); below.
60132 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60133 <limits.h> exists even on freestanding compilers. */
60135 #ifdef __STDC__
60136 # include <limits.h>
60137 #else
60138 # include <assert.h>
60139 #endif
60141 #undef $ac_func
60143 /* Override any gcc2 internal prototype to avoid an error. */
60144 #ifdef __cplusplus
60145 extern "C"
60147 #endif
60148 /* We use char because int might match the return type of a gcc2
60149 builtin and then its argument prototype would still apply. */
60150 char $ac_func ();
60151 /* The GNU C library defines this for functions which it implements
60152 to always fail with ENOSYS. Some functions are actually named
60153 something starting with __ and the normal name is an alias. */
60154 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60155 choke me
60156 #else
60157 char (*f) () = $ac_func;
60158 #endif
60159 #ifdef __cplusplus
60161 #endif
60164 main ()
60166 return f != $ac_func;
60168 return 0;
60170 _ACEOF
60171 rm -f conftest.$ac_objext conftest$ac_exeext
60172 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60173 (eval $ac_link) 2>conftest.er1
60174 ac_status=$?
60175 grep -v '^ *+' conftest.er1 >conftest.err
60176 rm -f conftest.er1
60177 cat conftest.err >&5
60178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60179 (exit $ac_status); } &&
60180 { ac_try='test -z "$ac_c_werror_flag"
60181 || test ! -s conftest.err'
60182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60183 (eval $ac_try) 2>&5
60184 ac_status=$?
60185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60186 (exit $ac_status); }; } &&
60187 { ac_try='test -s conftest$ac_exeext'
60188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60189 (eval $ac_try) 2>&5
60190 ac_status=$?
60191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60192 (exit $ac_status); }; }; then
60193 eval "$as_ac_var=yes"
60194 else
60195 echo "$as_me: failed program was:" >&5
60196 sed 's/^/| /' conftest.$ac_ext >&5
60198 eval "$as_ac_var=no"
60200 rm -f conftest.err conftest.$ac_objext \
60201 conftest$ac_exeext conftest.$ac_ext
60203 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60204 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60205 if test `eval echo '${'$as_ac_var'}'` = yes; then
60206 cat >>confdefs.h <<_ACEOF
60207 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60208 _ACEOF
60211 done
60213 else
60215 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
60216 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
60217 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
60218 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
60219 echo $ECHO_N "(cached) $ECHO_C" >&6
60220 else
60224 ac_ext=cc
60225 ac_cpp='$CXXCPP $CPPFLAGS'
60226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60230 cat >conftest.$ac_ext <<_ACEOF
60231 /* confdefs.h. */
60232 _ACEOF
60233 cat confdefs.h >>conftest.$ac_ext
60234 cat >>conftest.$ac_ext <<_ACEOF
60235 /* end confdefs.h. */
60236 #include <math.h>
60238 main ()
60240 _ldexpf(0, 0);
60242 return 0;
60244 _ACEOF
60245 rm -f conftest.$ac_objext
60246 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60247 (eval $ac_compile) 2>conftest.er1
60248 ac_status=$?
60249 grep -v '^ *+' conftest.er1 >conftest.err
60250 rm -f conftest.er1
60251 cat conftest.err >&5
60252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60253 (exit $ac_status); } &&
60254 { ac_try='test -z "$ac_cxx_werror_flag"
60255 || test ! -s conftest.err'
60256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60257 (eval $ac_try) 2>&5
60258 ac_status=$?
60259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60260 (exit $ac_status); }; } &&
60261 { ac_try='test -s conftest.$ac_objext'
60262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60263 (eval $ac_try) 2>&5
60264 ac_status=$?
60265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60266 (exit $ac_status); }; }; then
60267 glibcxx_cv_func__ldexpf_use=yes
60268 else
60269 echo "$as_me: failed program was:" >&5
60270 sed 's/^/| /' conftest.$ac_ext >&5
60272 glibcxx_cv_func__ldexpf_use=no
60274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60275 ac_ext=c
60276 ac_cpp='$CPP $CPPFLAGS'
60277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60285 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
60286 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
60288 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
60290 for ac_func in _ldexpf
60292 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60293 echo "$as_me:$LINENO: checking for $ac_func" >&5
60294 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60295 if eval "test \"\${$as_ac_var+set}\" = set"; then
60296 echo $ECHO_N "(cached) $ECHO_C" >&6
60297 else
60298 if test x$gcc_no_link = xyes; then
60299 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60300 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60301 { (exit 1); exit 1; }; }
60303 cat >conftest.$ac_ext <<_ACEOF
60304 /* confdefs.h. */
60305 _ACEOF
60306 cat confdefs.h >>conftest.$ac_ext
60307 cat >>conftest.$ac_ext <<_ACEOF
60308 /* end confdefs.h. */
60309 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60310 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60311 #define $ac_func innocuous_$ac_func
60313 /* System header to define __stub macros and hopefully few prototypes,
60314 which can conflict with char $ac_func (); below.
60315 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60316 <limits.h> exists even on freestanding compilers. */
60318 #ifdef __STDC__
60319 # include <limits.h>
60320 #else
60321 # include <assert.h>
60322 #endif
60324 #undef $ac_func
60326 /* Override any gcc2 internal prototype to avoid an error. */
60327 #ifdef __cplusplus
60328 extern "C"
60330 #endif
60331 /* We use char because int might match the return type of a gcc2
60332 builtin and then its argument prototype would still apply. */
60333 char $ac_func ();
60334 /* The GNU C library defines this for functions which it implements
60335 to always fail with ENOSYS. Some functions are actually named
60336 something starting with __ and the normal name is an alias. */
60337 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60338 choke me
60339 #else
60340 char (*f) () = $ac_func;
60341 #endif
60342 #ifdef __cplusplus
60344 #endif
60347 main ()
60349 return f != $ac_func;
60351 return 0;
60353 _ACEOF
60354 rm -f conftest.$ac_objext conftest$ac_exeext
60355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60356 (eval $ac_link) 2>conftest.er1
60357 ac_status=$?
60358 grep -v '^ *+' conftest.er1 >conftest.err
60359 rm -f conftest.er1
60360 cat conftest.err >&5
60361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60362 (exit $ac_status); } &&
60363 { ac_try='test -z "$ac_c_werror_flag"
60364 || test ! -s conftest.err'
60365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60366 (eval $ac_try) 2>&5
60367 ac_status=$?
60368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60369 (exit $ac_status); }; } &&
60370 { ac_try='test -s conftest$ac_exeext'
60371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60372 (eval $ac_try) 2>&5
60373 ac_status=$?
60374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60375 (exit $ac_status); }; }; then
60376 eval "$as_ac_var=yes"
60377 else
60378 echo "$as_me: failed program was:" >&5
60379 sed 's/^/| /' conftest.$ac_ext >&5
60381 eval "$as_ac_var=no"
60383 rm -f conftest.err conftest.$ac_objext \
60384 conftest$ac_exeext conftest.$ac_ext
60386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60387 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60388 if test `eval echo '${'$as_ac_var'}'` = yes; then
60389 cat >>confdefs.h <<_ACEOF
60390 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60391 _ACEOF
60394 done
60401 echo "$as_me:$LINENO: checking for logf declaration" >&5
60402 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
60403 if test x${glibcxx_cv_func_logf_use+set} != xset; then
60404 if test "${glibcxx_cv_func_logf_use+set}" = set; then
60405 echo $ECHO_N "(cached) $ECHO_C" >&6
60406 else
60410 ac_ext=cc
60411 ac_cpp='$CXXCPP $CPPFLAGS'
60412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60416 cat >conftest.$ac_ext <<_ACEOF
60417 /* confdefs.h. */
60418 _ACEOF
60419 cat confdefs.h >>conftest.$ac_ext
60420 cat >>conftest.$ac_ext <<_ACEOF
60421 /* end confdefs.h. */
60422 #include <math.h>
60423 #ifdef HAVE_IEEEFP_H
60424 #include <ieeefp.h>
60425 #endif
60428 main ()
60430 logf(0);
60432 return 0;
60434 _ACEOF
60435 rm -f conftest.$ac_objext
60436 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60437 (eval $ac_compile) 2>conftest.er1
60438 ac_status=$?
60439 grep -v '^ *+' conftest.er1 >conftest.err
60440 rm -f conftest.er1
60441 cat conftest.err >&5
60442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60443 (exit $ac_status); } &&
60444 { ac_try='test -z "$ac_cxx_werror_flag"
60445 || test ! -s conftest.err'
60446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60447 (eval $ac_try) 2>&5
60448 ac_status=$?
60449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60450 (exit $ac_status); }; } &&
60451 { ac_try='test -s conftest.$ac_objext'
60452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60453 (eval $ac_try) 2>&5
60454 ac_status=$?
60455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60456 (exit $ac_status); }; }; then
60457 glibcxx_cv_func_logf_use=yes
60458 else
60459 echo "$as_me: failed program was:" >&5
60460 sed 's/^/| /' conftest.$ac_ext >&5
60462 glibcxx_cv_func_logf_use=no
60464 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60465 ac_ext=c
60466 ac_cpp='$CPP $CPPFLAGS'
60467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60475 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
60476 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
60478 if test x$glibcxx_cv_func_logf_use = x"yes"; then
60480 for ac_func in logf
60482 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60483 echo "$as_me:$LINENO: checking for $ac_func" >&5
60484 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60485 if eval "test \"\${$as_ac_var+set}\" = set"; then
60486 echo $ECHO_N "(cached) $ECHO_C" >&6
60487 else
60488 if test x$gcc_no_link = xyes; then
60489 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60490 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60491 { (exit 1); exit 1; }; }
60493 cat >conftest.$ac_ext <<_ACEOF
60494 /* confdefs.h. */
60495 _ACEOF
60496 cat confdefs.h >>conftest.$ac_ext
60497 cat >>conftest.$ac_ext <<_ACEOF
60498 /* end confdefs.h. */
60499 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60500 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60501 #define $ac_func innocuous_$ac_func
60503 /* System header to define __stub macros and hopefully few prototypes,
60504 which can conflict with char $ac_func (); below.
60505 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60506 <limits.h> exists even on freestanding compilers. */
60508 #ifdef __STDC__
60509 # include <limits.h>
60510 #else
60511 # include <assert.h>
60512 #endif
60514 #undef $ac_func
60516 /* Override any gcc2 internal prototype to avoid an error. */
60517 #ifdef __cplusplus
60518 extern "C"
60520 #endif
60521 /* We use char because int might match the return type of a gcc2
60522 builtin and then its argument prototype would still apply. */
60523 char $ac_func ();
60524 /* The GNU C library defines this for functions which it implements
60525 to always fail with ENOSYS. Some functions are actually named
60526 something starting with __ and the normal name is an alias. */
60527 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60528 choke me
60529 #else
60530 char (*f) () = $ac_func;
60531 #endif
60532 #ifdef __cplusplus
60534 #endif
60537 main ()
60539 return f != $ac_func;
60541 return 0;
60543 _ACEOF
60544 rm -f conftest.$ac_objext conftest$ac_exeext
60545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60546 (eval $ac_link) 2>conftest.er1
60547 ac_status=$?
60548 grep -v '^ *+' conftest.er1 >conftest.err
60549 rm -f conftest.er1
60550 cat conftest.err >&5
60551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60552 (exit $ac_status); } &&
60553 { ac_try='test -z "$ac_c_werror_flag"
60554 || test ! -s conftest.err'
60555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60556 (eval $ac_try) 2>&5
60557 ac_status=$?
60558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60559 (exit $ac_status); }; } &&
60560 { ac_try='test -s conftest$ac_exeext'
60561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60562 (eval $ac_try) 2>&5
60563 ac_status=$?
60564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60565 (exit $ac_status); }; }; then
60566 eval "$as_ac_var=yes"
60567 else
60568 echo "$as_me: failed program was:" >&5
60569 sed 's/^/| /' conftest.$ac_ext >&5
60571 eval "$as_ac_var=no"
60573 rm -f conftest.err conftest.$ac_objext \
60574 conftest$ac_exeext conftest.$ac_ext
60576 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60577 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60578 if test `eval echo '${'$as_ac_var'}'` = yes; then
60579 cat >>confdefs.h <<_ACEOF
60580 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60581 _ACEOF
60584 done
60586 else
60588 echo "$as_me:$LINENO: checking for _logf declaration" >&5
60589 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
60590 if test x${glibcxx_cv_func__logf_use+set} != xset; then
60591 if test "${glibcxx_cv_func__logf_use+set}" = set; then
60592 echo $ECHO_N "(cached) $ECHO_C" >&6
60593 else
60597 ac_ext=cc
60598 ac_cpp='$CXXCPP $CPPFLAGS'
60599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60603 cat >conftest.$ac_ext <<_ACEOF
60604 /* confdefs.h. */
60605 _ACEOF
60606 cat confdefs.h >>conftest.$ac_ext
60607 cat >>conftest.$ac_ext <<_ACEOF
60608 /* end confdefs.h. */
60609 #include <math.h>
60610 #ifdef HAVE_IEEEFP_H
60611 #include <ieeefp.h>
60612 #endif
60615 main ()
60617 _logf(0);
60619 return 0;
60621 _ACEOF
60622 rm -f conftest.$ac_objext
60623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60624 (eval $ac_compile) 2>conftest.er1
60625 ac_status=$?
60626 grep -v '^ *+' conftest.er1 >conftest.err
60627 rm -f conftest.er1
60628 cat conftest.err >&5
60629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60630 (exit $ac_status); } &&
60631 { ac_try='test -z "$ac_cxx_werror_flag"
60632 || test ! -s conftest.err'
60633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60634 (eval $ac_try) 2>&5
60635 ac_status=$?
60636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60637 (exit $ac_status); }; } &&
60638 { ac_try='test -s conftest.$ac_objext'
60639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60640 (eval $ac_try) 2>&5
60641 ac_status=$?
60642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60643 (exit $ac_status); }; }; then
60644 glibcxx_cv_func__logf_use=yes
60645 else
60646 echo "$as_me: failed program was:" >&5
60647 sed 's/^/| /' conftest.$ac_ext >&5
60649 glibcxx_cv_func__logf_use=no
60651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60652 ac_ext=c
60653 ac_cpp='$CPP $CPPFLAGS'
60654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60662 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
60663 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
60665 if test x$glibcxx_cv_func__logf_use = x"yes"; then
60667 for ac_func in _logf
60669 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60670 echo "$as_me:$LINENO: checking for $ac_func" >&5
60671 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60672 if eval "test \"\${$as_ac_var+set}\" = set"; then
60673 echo $ECHO_N "(cached) $ECHO_C" >&6
60674 else
60675 if test x$gcc_no_link = xyes; then
60676 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60677 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60678 { (exit 1); exit 1; }; }
60680 cat >conftest.$ac_ext <<_ACEOF
60681 /* confdefs.h. */
60682 _ACEOF
60683 cat confdefs.h >>conftest.$ac_ext
60684 cat >>conftest.$ac_ext <<_ACEOF
60685 /* end confdefs.h. */
60686 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60687 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60688 #define $ac_func innocuous_$ac_func
60690 /* System header to define __stub macros and hopefully few prototypes,
60691 which can conflict with char $ac_func (); below.
60692 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60693 <limits.h> exists even on freestanding compilers. */
60695 #ifdef __STDC__
60696 # include <limits.h>
60697 #else
60698 # include <assert.h>
60699 #endif
60701 #undef $ac_func
60703 /* Override any gcc2 internal prototype to avoid an error. */
60704 #ifdef __cplusplus
60705 extern "C"
60707 #endif
60708 /* We use char because int might match the return type of a gcc2
60709 builtin and then its argument prototype would still apply. */
60710 char $ac_func ();
60711 /* The GNU C library defines this for functions which it implements
60712 to always fail with ENOSYS. Some functions are actually named
60713 something starting with __ and the normal name is an alias. */
60714 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60715 choke me
60716 #else
60717 char (*f) () = $ac_func;
60718 #endif
60719 #ifdef __cplusplus
60721 #endif
60724 main ()
60726 return f != $ac_func;
60728 return 0;
60730 _ACEOF
60731 rm -f conftest.$ac_objext conftest$ac_exeext
60732 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60733 (eval $ac_link) 2>conftest.er1
60734 ac_status=$?
60735 grep -v '^ *+' conftest.er1 >conftest.err
60736 rm -f conftest.er1
60737 cat conftest.err >&5
60738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60739 (exit $ac_status); } &&
60740 { ac_try='test -z "$ac_c_werror_flag"
60741 || test ! -s conftest.err'
60742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60743 (eval $ac_try) 2>&5
60744 ac_status=$?
60745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60746 (exit $ac_status); }; } &&
60747 { ac_try='test -s conftest$ac_exeext'
60748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60749 (eval $ac_try) 2>&5
60750 ac_status=$?
60751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60752 (exit $ac_status); }; }; then
60753 eval "$as_ac_var=yes"
60754 else
60755 echo "$as_me: failed program was:" >&5
60756 sed 's/^/| /' conftest.$ac_ext >&5
60758 eval "$as_ac_var=no"
60760 rm -f conftest.err conftest.$ac_objext \
60761 conftest$ac_exeext conftest.$ac_ext
60763 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60764 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60765 if test `eval echo '${'$as_ac_var'}'` = yes; then
60766 cat >>confdefs.h <<_ACEOF
60767 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60768 _ACEOF
60771 done
60778 echo "$as_me:$LINENO: checking for log10f declaration" >&5
60779 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
60780 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
60781 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
60782 echo $ECHO_N "(cached) $ECHO_C" >&6
60783 else
60787 ac_ext=cc
60788 ac_cpp='$CXXCPP $CPPFLAGS'
60789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60793 cat >conftest.$ac_ext <<_ACEOF
60794 /* confdefs.h. */
60795 _ACEOF
60796 cat confdefs.h >>conftest.$ac_ext
60797 cat >>conftest.$ac_ext <<_ACEOF
60798 /* end confdefs.h. */
60799 #include <math.h>
60800 #ifdef HAVE_IEEEFP_H
60801 #include <ieeefp.h>
60802 #endif
60805 main ()
60807 log10f(0);
60809 return 0;
60811 _ACEOF
60812 rm -f conftest.$ac_objext
60813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60814 (eval $ac_compile) 2>conftest.er1
60815 ac_status=$?
60816 grep -v '^ *+' conftest.er1 >conftest.err
60817 rm -f conftest.er1
60818 cat conftest.err >&5
60819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60820 (exit $ac_status); } &&
60821 { ac_try='test -z "$ac_cxx_werror_flag"
60822 || test ! -s conftest.err'
60823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60824 (eval $ac_try) 2>&5
60825 ac_status=$?
60826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60827 (exit $ac_status); }; } &&
60828 { ac_try='test -s conftest.$ac_objext'
60829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60830 (eval $ac_try) 2>&5
60831 ac_status=$?
60832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60833 (exit $ac_status); }; }; then
60834 glibcxx_cv_func_log10f_use=yes
60835 else
60836 echo "$as_me: failed program was:" >&5
60837 sed 's/^/| /' conftest.$ac_ext >&5
60839 glibcxx_cv_func_log10f_use=no
60841 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60842 ac_ext=c
60843 ac_cpp='$CPP $CPPFLAGS'
60844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60852 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
60853 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
60855 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
60857 for ac_func in log10f
60859 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60860 echo "$as_me:$LINENO: checking for $ac_func" >&5
60861 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60862 if eval "test \"\${$as_ac_var+set}\" = set"; then
60863 echo $ECHO_N "(cached) $ECHO_C" >&6
60864 else
60865 if test x$gcc_no_link = xyes; then
60866 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60867 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60868 { (exit 1); exit 1; }; }
60870 cat >conftest.$ac_ext <<_ACEOF
60871 /* confdefs.h. */
60872 _ACEOF
60873 cat confdefs.h >>conftest.$ac_ext
60874 cat >>conftest.$ac_ext <<_ACEOF
60875 /* end confdefs.h. */
60876 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60877 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60878 #define $ac_func innocuous_$ac_func
60880 /* System header to define __stub macros and hopefully few prototypes,
60881 which can conflict with char $ac_func (); below.
60882 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60883 <limits.h> exists even on freestanding compilers. */
60885 #ifdef __STDC__
60886 # include <limits.h>
60887 #else
60888 # include <assert.h>
60889 #endif
60891 #undef $ac_func
60893 /* Override any gcc2 internal prototype to avoid an error. */
60894 #ifdef __cplusplus
60895 extern "C"
60897 #endif
60898 /* We use char because int might match the return type of a gcc2
60899 builtin and then its argument prototype would still apply. */
60900 char $ac_func ();
60901 /* The GNU C library defines this for functions which it implements
60902 to always fail with ENOSYS. Some functions are actually named
60903 something starting with __ and the normal name is an alias. */
60904 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60905 choke me
60906 #else
60907 char (*f) () = $ac_func;
60908 #endif
60909 #ifdef __cplusplus
60911 #endif
60914 main ()
60916 return f != $ac_func;
60918 return 0;
60920 _ACEOF
60921 rm -f conftest.$ac_objext conftest$ac_exeext
60922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60923 (eval $ac_link) 2>conftest.er1
60924 ac_status=$?
60925 grep -v '^ *+' conftest.er1 >conftest.err
60926 rm -f conftest.er1
60927 cat conftest.err >&5
60928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60929 (exit $ac_status); } &&
60930 { ac_try='test -z "$ac_c_werror_flag"
60931 || test ! -s conftest.err'
60932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60933 (eval $ac_try) 2>&5
60934 ac_status=$?
60935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60936 (exit $ac_status); }; } &&
60937 { ac_try='test -s conftest$ac_exeext'
60938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60939 (eval $ac_try) 2>&5
60940 ac_status=$?
60941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60942 (exit $ac_status); }; }; then
60943 eval "$as_ac_var=yes"
60944 else
60945 echo "$as_me: failed program was:" >&5
60946 sed 's/^/| /' conftest.$ac_ext >&5
60948 eval "$as_ac_var=no"
60950 rm -f conftest.err conftest.$ac_objext \
60951 conftest$ac_exeext conftest.$ac_ext
60953 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60954 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60955 if test `eval echo '${'$as_ac_var'}'` = yes; then
60956 cat >>confdefs.h <<_ACEOF
60957 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60958 _ACEOF
60961 done
60963 else
60965 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
60966 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
60967 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
60968 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
60969 echo $ECHO_N "(cached) $ECHO_C" >&6
60970 else
60974 ac_ext=cc
60975 ac_cpp='$CXXCPP $CPPFLAGS'
60976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60980 cat >conftest.$ac_ext <<_ACEOF
60981 /* confdefs.h. */
60982 _ACEOF
60983 cat confdefs.h >>conftest.$ac_ext
60984 cat >>conftest.$ac_ext <<_ACEOF
60985 /* end confdefs.h. */
60986 #include <math.h>
60987 #ifdef HAVE_IEEEFP_H
60988 #include <ieeefp.h>
60989 #endif
60992 main ()
60994 _log10f(0);
60996 return 0;
60998 _ACEOF
60999 rm -f conftest.$ac_objext
61000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61001 (eval $ac_compile) 2>conftest.er1
61002 ac_status=$?
61003 grep -v '^ *+' conftest.er1 >conftest.err
61004 rm -f conftest.er1
61005 cat conftest.err >&5
61006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61007 (exit $ac_status); } &&
61008 { ac_try='test -z "$ac_cxx_werror_flag"
61009 || test ! -s conftest.err'
61010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61011 (eval $ac_try) 2>&5
61012 ac_status=$?
61013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61014 (exit $ac_status); }; } &&
61015 { ac_try='test -s conftest.$ac_objext'
61016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61017 (eval $ac_try) 2>&5
61018 ac_status=$?
61019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61020 (exit $ac_status); }; }; then
61021 glibcxx_cv_func__log10f_use=yes
61022 else
61023 echo "$as_me: failed program was:" >&5
61024 sed 's/^/| /' conftest.$ac_ext >&5
61026 glibcxx_cv_func__log10f_use=no
61028 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61029 ac_ext=c
61030 ac_cpp='$CPP $CPPFLAGS'
61031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61039 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
61040 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
61042 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
61044 for ac_func in _log10f
61046 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61047 echo "$as_me:$LINENO: checking for $ac_func" >&5
61048 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61049 if eval "test \"\${$as_ac_var+set}\" = set"; then
61050 echo $ECHO_N "(cached) $ECHO_C" >&6
61051 else
61052 if test x$gcc_no_link = xyes; then
61053 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61054 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61055 { (exit 1); exit 1; }; }
61057 cat >conftest.$ac_ext <<_ACEOF
61058 /* confdefs.h. */
61059 _ACEOF
61060 cat confdefs.h >>conftest.$ac_ext
61061 cat >>conftest.$ac_ext <<_ACEOF
61062 /* end confdefs.h. */
61063 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61064 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61065 #define $ac_func innocuous_$ac_func
61067 /* System header to define __stub macros and hopefully few prototypes,
61068 which can conflict with char $ac_func (); below.
61069 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61070 <limits.h> exists even on freestanding compilers. */
61072 #ifdef __STDC__
61073 # include <limits.h>
61074 #else
61075 # include <assert.h>
61076 #endif
61078 #undef $ac_func
61080 /* Override any gcc2 internal prototype to avoid an error. */
61081 #ifdef __cplusplus
61082 extern "C"
61084 #endif
61085 /* We use char because int might match the return type of a gcc2
61086 builtin and then its argument prototype would still apply. */
61087 char $ac_func ();
61088 /* The GNU C library defines this for functions which it implements
61089 to always fail with ENOSYS. Some functions are actually named
61090 something starting with __ and the normal name is an alias. */
61091 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61092 choke me
61093 #else
61094 char (*f) () = $ac_func;
61095 #endif
61096 #ifdef __cplusplus
61098 #endif
61101 main ()
61103 return f != $ac_func;
61105 return 0;
61107 _ACEOF
61108 rm -f conftest.$ac_objext conftest$ac_exeext
61109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61110 (eval $ac_link) 2>conftest.er1
61111 ac_status=$?
61112 grep -v '^ *+' conftest.er1 >conftest.err
61113 rm -f conftest.er1
61114 cat conftest.err >&5
61115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61116 (exit $ac_status); } &&
61117 { ac_try='test -z "$ac_c_werror_flag"
61118 || test ! -s conftest.err'
61119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61120 (eval $ac_try) 2>&5
61121 ac_status=$?
61122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61123 (exit $ac_status); }; } &&
61124 { ac_try='test -s conftest$ac_exeext'
61125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61126 (eval $ac_try) 2>&5
61127 ac_status=$?
61128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61129 (exit $ac_status); }; }; then
61130 eval "$as_ac_var=yes"
61131 else
61132 echo "$as_me: failed program was:" >&5
61133 sed 's/^/| /' conftest.$ac_ext >&5
61135 eval "$as_ac_var=no"
61137 rm -f conftest.err conftest.$ac_objext \
61138 conftest$ac_exeext conftest.$ac_ext
61140 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61141 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61142 if test `eval echo '${'$as_ac_var'}'` = yes; then
61143 cat >>confdefs.h <<_ACEOF
61144 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61145 _ACEOF
61148 done
61155 echo "$as_me:$LINENO: checking for modff declaration" >&5
61156 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
61157 if test x${glibcxx_cv_func_modff_use+set} != xset; then
61158 if test "${glibcxx_cv_func_modff_use+set}" = set; then
61159 echo $ECHO_N "(cached) $ECHO_C" >&6
61160 else
61164 ac_ext=cc
61165 ac_cpp='$CXXCPP $CPPFLAGS'
61166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61170 cat >conftest.$ac_ext <<_ACEOF
61171 /* confdefs.h. */
61172 _ACEOF
61173 cat confdefs.h >>conftest.$ac_ext
61174 cat >>conftest.$ac_ext <<_ACEOF
61175 /* end confdefs.h. */
61176 #include <math.h>
61178 main ()
61180 modff(0, 0);
61182 return 0;
61184 _ACEOF
61185 rm -f conftest.$ac_objext
61186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61187 (eval $ac_compile) 2>conftest.er1
61188 ac_status=$?
61189 grep -v '^ *+' conftest.er1 >conftest.err
61190 rm -f conftest.er1
61191 cat conftest.err >&5
61192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61193 (exit $ac_status); } &&
61194 { ac_try='test -z "$ac_cxx_werror_flag"
61195 || test ! -s conftest.err'
61196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61197 (eval $ac_try) 2>&5
61198 ac_status=$?
61199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61200 (exit $ac_status); }; } &&
61201 { ac_try='test -s conftest.$ac_objext'
61202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61203 (eval $ac_try) 2>&5
61204 ac_status=$?
61205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61206 (exit $ac_status); }; }; then
61207 glibcxx_cv_func_modff_use=yes
61208 else
61209 echo "$as_me: failed program was:" >&5
61210 sed 's/^/| /' conftest.$ac_ext >&5
61212 glibcxx_cv_func_modff_use=no
61214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61215 ac_ext=c
61216 ac_cpp='$CPP $CPPFLAGS'
61217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61225 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
61226 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
61228 if test x$glibcxx_cv_func_modff_use = x"yes"; then
61230 for ac_func in modff
61232 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61233 echo "$as_me:$LINENO: checking for $ac_func" >&5
61234 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61235 if eval "test \"\${$as_ac_var+set}\" = set"; then
61236 echo $ECHO_N "(cached) $ECHO_C" >&6
61237 else
61238 if test x$gcc_no_link = xyes; then
61239 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61240 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61241 { (exit 1); exit 1; }; }
61243 cat >conftest.$ac_ext <<_ACEOF
61244 /* confdefs.h. */
61245 _ACEOF
61246 cat confdefs.h >>conftest.$ac_ext
61247 cat >>conftest.$ac_ext <<_ACEOF
61248 /* end confdefs.h. */
61249 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61250 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61251 #define $ac_func innocuous_$ac_func
61253 /* System header to define __stub macros and hopefully few prototypes,
61254 which can conflict with char $ac_func (); below.
61255 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61256 <limits.h> exists even on freestanding compilers. */
61258 #ifdef __STDC__
61259 # include <limits.h>
61260 #else
61261 # include <assert.h>
61262 #endif
61264 #undef $ac_func
61266 /* Override any gcc2 internal prototype to avoid an error. */
61267 #ifdef __cplusplus
61268 extern "C"
61270 #endif
61271 /* We use char because int might match the return type of a gcc2
61272 builtin and then its argument prototype would still apply. */
61273 char $ac_func ();
61274 /* The GNU C library defines this for functions which it implements
61275 to always fail with ENOSYS. Some functions are actually named
61276 something starting with __ and the normal name is an alias. */
61277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61278 choke me
61279 #else
61280 char (*f) () = $ac_func;
61281 #endif
61282 #ifdef __cplusplus
61284 #endif
61287 main ()
61289 return f != $ac_func;
61291 return 0;
61293 _ACEOF
61294 rm -f conftest.$ac_objext conftest$ac_exeext
61295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61296 (eval $ac_link) 2>conftest.er1
61297 ac_status=$?
61298 grep -v '^ *+' conftest.er1 >conftest.err
61299 rm -f conftest.er1
61300 cat conftest.err >&5
61301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61302 (exit $ac_status); } &&
61303 { ac_try='test -z "$ac_c_werror_flag"
61304 || test ! -s conftest.err'
61305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61306 (eval $ac_try) 2>&5
61307 ac_status=$?
61308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61309 (exit $ac_status); }; } &&
61310 { ac_try='test -s conftest$ac_exeext'
61311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61312 (eval $ac_try) 2>&5
61313 ac_status=$?
61314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61315 (exit $ac_status); }; }; then
61316 eval "$as_ac_var=yes"
61317 else
61318 echo "$as_me: failed program was:" >&5
61319 sed 's/^/| /' conftest.$ac_ext >&5
61321 eval "$as_ac_var=no"
61323 rm -f conftest.err conftest.$ac_objext \
61324 conftest$ac_exeext conftest.$ac_ext
61326 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61327 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61328 if test `eval echo '${'$as_ac_var'}'` = yes; then
61329 cat >>confdefs.h <<_ACEOF
61330 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61331 _ACEOF
61334 done
61336 else
61338 echo "$as_me:$LINENO: checking for _modff declaration" >&5
61339 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
61340 if test x${glibcxx_cv_func__modff_use+set} != xset; then
61341 if test "${glibcxx_cv_func__modff_use+set}" = set; then
61342 echo $ECHO_N "(cached) $ECHO_C" >&6
61343 else
61347 ac_ext=cc
61348 ac_cpp='$CXXCPP $CPPFLAGS'
61349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61353 cat >conftest.$ac_ext <<_ACEOF
61354 /* confdefs.h. */
61355 _ACEOF
61356 cat confdefs.h >>conftest.$ac_ext
61357 cat >>conftest.$ac_ext <<_ACEOF
61358 /* end confdefs.h. */
61359 #include <math.h>
61361 main ()
61363 _modff(0, 0);
61365 return 0;
61367 _ACEOF
61368 rm -f conftest.$ac_objext
61369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61370 (eval $ac_compile) 2>conftest.er1
61371 ac_status=$?
61372 grep -v '^ *+' conftest.er1 >conftest.err
61373 rm -f conftest.er1
61374 cat conftest.err >&5
61375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61376 (exit $ac_status); } &&
61377 { ac_try='test -z "$ac_cxx_werror_flag"
61378 || test ! -s conftest.err'
61379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61380 (eval $ac_try) 2>&5
61381 ac_status=$?
61382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61383 (exit $ac_status); }; } &&
61384 { ac_try='test -s conftest.$ac_objext'
61385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61386 (eval $ac_try) 2>&5
61387 ac_status=$?
61388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61389 (exit $ac_status); }; }; then
61390 glibcxx_cv_func__modff_use=yes
61391 else
61392 echo "$as_me: failed program was:" >&5
61393 sed 's/^/| /' conftest.$ac_ext >&5
61395 glibcxx_cv_func__modff_use=no
61397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61398 ac_ext=c
61399 ac_cpp='$CPP $CPPFLAGS'
61400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61408 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
61409 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
61411 if test x$glibcxx_cv_func__modff_use = x"yes"; then
61413 for ac_func in _modff
61415 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61416 echo "$as_me:$LINENO: checking for $ac_func" >&5
61417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61418 if eval "test \"\${$as_ac_var+set}\" = set"; then
61419 echo $ECHO_N "(cached) $ECHO_C" >&6
61420 else
61421 if test x$gcc_no_link = xyes; then
61422 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61424 { (exit 1); exit 1; }; }
61426 cat >conftest.$ac_ext <<_ACEOF
61427 /* confdefs.h. */
61428 _ACEOF
61429 cat confdefs.h >>conftest.$ac_ext
61430 cat >>conftest.$ac_ext <<_ACEOF
61431 /* end confdefs.h. */
61432 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61434 #define $ac_func innocuous_$ac_func
61436 /* System header to define __stub macros and hopefully few prototypes,
61437 which can conflict with char $ac_func (); below.
61438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61439 <limits.h> exists even on freestanding compilers. */
61441 #ifdef __STDC__
61442 # include <limits.h>
61443 #else
61444 # include <assert.h>
61445 #endif
61447 #undef $ac_func
61449 /* Override any gcc2 internal prototype to avoid an error. */
61450 #ifdef __cplusplus
61451 extern "C"
61453 #endif
61454 /* We use char because int might match the return type of a gcc2
61455 builtin and then its argument prototype would still apply. */
61456 char $ac_func ();
61457 /* The GNU C library defines this for functions which it implements
61458 to always fail with ENOSYS. Some functions are actually named
61459 something starting with __ and the normal name is an alias. */
61460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61461 choke me
61462 #else
61463 char (*f) () = $ac_func;
61464 #endif
61465 #ifdef __cplusplus
61467 #endif
61470 main ()
61472 return f != $ac_func;
61474 return 0;
61476 _ACEOF
61477 rm -f conftest.$ac_objext conftest$ac_exeext
61478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61479 (eval $ac_link) 2>conftest.er1
61480 ac_status=$?
61481 grep -v '^ *+' conftest.er1 >conftest.err
61482 rm -f conftest.er1
61483 cat conftest.err >&5
61484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61485 (exit $ac_status); } &&
61486 { ac_try='test -z "$ac_c_werror_flag"
61487 || test ! -s conftest.err'
61488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61489 (eval $ac_try) 2>&5
61490 ac_status=$?
61491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61492 (exit $ac_status); }; } &&
61493 { ac_try='test -s conftest$ac_exeext'
61494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61495 (eval $ac_try) 2>&5
61496 ac_status=$?
61497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61498 (exit $ac_status); }; }; then
61499 eval "$as_ac_var=yes"
61500 else
61501 echo "$as_me: failed program was:" >&5
61502 sed 's/^/| /' conftest.$ac_ext >&5
61504 eval "$as_ac_var=no"
61506 rm -f conftest.err conftest.$ac_objext \
61507 conftest$ac_exeext conftest.$ac_ext
61509 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61510 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61511 if test `eval echo '${'$as_ac_var'}'` = yes; then
61512 cat >>confdefs.h <<_ACEOF
61513 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61514 _ACEOF
61517 done
61524 echo "$as_me:$LINENO: checking for powf declaration" >&5
61525 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
61526 if test x${glibcxx_cv_func_powf_use+set} != xset; then
61527 if test "${glibcxx_cv_func_powf_use+set}" = set; then
61528 echo $ECHO_N "(cached) $ECHO_C" >&6
61529 else
61533 ac_ext=cc
61534 ac_cpp='$CXXCPP $CPPFLAGS'
61535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61539 cat >conftest.$ac_ext <<_ACEOF
61540 /* confdefs.h. */
61541 _ACEOF
61542 cat confdefs.h >>conftest.$ac_ext
61543 cat >>conftest.$ac_ext <<_ACEOF
61544 /* end confdefs.h. */
61545 #include <math.h>
61547 main ()
61549 powf(0, 0);
61551 return 0;
61553 _ACEOF
61554 rm -f conftest.$ac_objext
61555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61556 (eval $ac_compile) 2>conftest.er1
61557 ac_status=$?
61558 grep -v '^ *+' conftest.er1 >conftest.err
61559 rm -f conftest.er1
61560 cat conftest.err >&5
61561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61562 (exit $ac_status); } &&
61563 { ac_try='test -z "$ac_cxx_werror_flag"
61564 || test ! -s conftest.err'
61565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61566 (eval $ac_try) 2>&5
61567 ac_status=$?
61568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61569 (exit $ac_status); }; } &&
61570 { ac_try='test -s conftest.$ac_objext'
61571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61572 (eval $ac_try) 2>&5
61573 ac_status=$?
61574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61575 (exit $ac_status); }; }; then
61576 glibcxx_cv_func_powf_use=yes
61577 else
61578 echo "$as_me: failed program was:" >&5
61579 sed 's/^/| /' conftest.$ac_ext >&5
61581 glibcxx_cv_func_powf_use=no
61583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61584 ac_ext=c
61585 ac_cpp='$CPP $CPPFLAGS'
61586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61594 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
61595 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
61597 if test x$glibcxx_cv_func_powf_use = x"yes"; then
61599 for ac_func in powf
61601 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61602 echo "$as_me:$LINENO: checking for $ac_func" >&5
61603 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61604 if eval "test \"\${$as_ac_var+set}\" = set"; then
61605 echo $ECHO_N "(cached) $ECHO_C" >&6
61606 else
61607 if test x$gcc_no_link = xyes; then
61608 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61609 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61610 { (exit 1); exit 1; }; }
61612 cat >conftest.$ac_ext <<_ACEOF
61613 /* confdefs.h. */
61614 _ACEOF
61615 cat confdefs.h >>conftest.$ac_ext
61616 cat >>conftest.$ac_ext <<_ACEOF
61617 /* end confdefs.h. */
61618 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61619 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61620 #define $ac_func innocuous_$ac_func
61622 /* System header to define __stub macros and hopefully few prototypes,
61623 which can conflict with char $ac_func (); below.
61624 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61625 <limits.h> exists even on freestanding compilers. */
61627 #ifdef __STDC__
61628 # include <limits.h>
61629 #else
61630 # include <assert.h>
61631 #endif
61633 #undef $ac_func
61635 /* Override any gcc2 internal prototype to avoid an error. */
61636 #ifdef __cplusplus
61637 extern "C"
61639 #endif
61640 /* We use char because int might match the return type of a gcc2
61641 builtin and then its argument prototype would still apply. */
61642 char $ac_func ();
61643 /* The GNU C library defines this for functions which it implements
61644 to always fail with ENOSYS. Some functions are actually named
61645 something starting with __ and the normal name is an alias. */
61646 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61647 choke me
61648 #else
61649 char (*f) () = $ac_func;
61650 #endif
61651 #ifdef __cplusplus
61653 #endif
61656 main ()
61658 return f != $ac_func;
61660 return 0;
61662 _ACEOF
61663 rm -f conftest.$ac_objext conftest$ac_exeext
61664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61665 (eval $ac_link) 2>conftest.er1
61666 ac_status=$?
61667 grep -v '^ *+' conftest.er1 >conftest.err
61668 rm -f conftest.er1
61669 cat conftest.err >&5
61670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61671 (exit $ac_status); } &&
61672 { ac_try='test -z "$ac_c_werror_flag"
61673 || test ! -s conftest.err'
61674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61675 (eval $ac_try) 2>&5
61676 ac_status=$?
61677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61678 (exit $ac_status); }; } &&
61679 { ac_try='test -s conftest$ac_exeext'
61680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61681 (eval $ac_try) 2>&5
61682 ac_status=$?
61683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61684 (exit $ac_status); }; }; then
61685 eval "$as_ac_var=yes"
61686 else
61687 echo "$as_me: failed program was:" >&5
61688 sed 's/^/| /' conftest.$ac_ext >&5
61690 eval "$as_ac_var=no"
61692 rm -f conftest.err conftest.$ac_objext \
61693 conftest$ac_exeext conftest.$ac_ext
61695 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61696 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61697 if test `eval echo '${'$as_ac_var'}'` = yes; then
61698 cat >>confdefs.h <<_ACEOF
61699 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61700 _ACEOF
61703 done
61705 else
61707 echo "$as_me:$LINENO: checking for _powf declaration" >&5
61708 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
61709 if test x${glibcxx_cv_func__powf_use+set} != xset; then
61710 if test "${glibcxx_cv_func__powf_use+set}" = set; then
61711 echo $ECHO_N "(cached) $ECHO_C" >&6
61712 else
61716 ac_ext=cc
61717 ac_cpp='$CXXCPP $CPPFLAGS'
61718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61722 cat >conftest.$ac_ext <<_ACEOF
61723 /* confdefs.h. */
61724 _ACEOF
61725 cat confdefs.h >>conftest.$ac_ext
61726 cat >>conftest.$ac_ext <<_ACEOF
61727 /* end confdefs.h. */
61728 #include <math.h>
61730 main ()
61732 _powf(0, 0);
61734 return 0;
61736 _ACEOF
61737 rm -f conftest.$ac_objext
61738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61739 (eval $ac_compile) 2>conftest.er1
61740 ac_status=$?
61741 grep -v '^ *+' conftest.er1 >conftest.err
61742 rm -f conftest.er1
61743 cat conftest.err >&5
61744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61745 (exit $ac_status); } &&
61746 { ac_try='test -z "$ac_cxx_werror_flag"
61747 || test ! -s conftest.err'
61748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61749 (eval $ac_try) 2>&5
61750 ac_status=$?
61751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61752 (exit $ac_status); }; } &&
61753 { ac_try='test -s conftest.$ac_objext'
61754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61755 (eval $ac_try) 2>&5
61756 ac_status=$?
61757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61758 (exit $ac_status); }; }; then
61759 glibcxx_cv_func__powf_use=yes
61760 else
61761 echo "$as_me: failed program was:" >&5
61762 sed 's/^/| /' conftest.$ac_ext >&5
61764 glibcxx_cv_func__powf_use=no
61766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61767 ac_ext=c
61768 ac_cpp='$CPP $CPPFLAGS'
61769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61777 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
61778 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
61780 if test x$glibcxx_cv_func__powf_use = x"yes"; then
61782 for ac_func in _powf
61784 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61785 echo "$as_me:$LINENO: checking for $ac_func" >&5
61786 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61787 if eval "test \"\${$as_ac_var+set}\" = set"; then
61788 echo $ECHO_N "(cached) $ECHO_C" >&6
61789 else
61790 if test x$gcc_no_link = xyes; then
61791 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61793 { (exit 1); exit 1; }; }
61795 cat >conftest.$ac_ext <<_ACEOF
61796 /* confdefs.h. */
61797 _ACEOF
61798 cat confdefs.h >>conftest.$ac_ext
61799 cat >>conftest.$ac_ext <<_ACEOF
61800 /* end confdefs.h. */
61801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61802 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61803 #define $ac_func innocuous_$ac_func
61805 /* System header to define __stub macros and hopefully few prototypes,
61806 which can conflict with char $ac_func (); below.
61807 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61808 <limits.h> exists even on freestanding compilers. */
61810 #ifdef __STDC__
61811 # include <limits.h>
61812 #else
61813 # include <assert.h>
61814 #endif
61816 #undef $ac_func
61818 /* Override any gcc2 internal prototype to avoid an error. */
61819 #ifdef __cplusplus
61820 extern "C"
61822 #endif
61823 /* We use char because int might match the return type of a gcc2
61824 builtin and then its argument prototype would still apply. */
61825 char $ac_func ();
61826 /* The GNU C library defines this for functions which it implements
61827 to always fail with ENOSYS. Some functions are actually named
61828 something starting with __ and the normal name is an alias. */
61829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61830 choke me
61831 #else
61832 char (*f) () = $ac_func;
61833 #endif
61834 #ifdef __cplusplus
61836 #endif
61839 main ()
61841 return f != $ac_func;
61843 return 0;
61845 _ACEOF
61846 rm -f conftest.$ac_objext conftest$ac_exeext
61847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61848 (eval $ac_link) 2>conftest.er1
61849 ac_status=$?
61850 grep -v '^ *+' conftest.er1 >conftest.err
61851 rm -f conftest.er1
61852 cat conftest.err >&5
61853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61854 (exit $ac_status); } &&
61855 { ac_try='test -z "$ac_c_werror_flag"
61856 || test ! -s conftest.err'
61857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61858 (eval $ac_try) 2>&5
61859 ac_status=$?
61860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61861 (exit $ac_status); }; } &&
61862 { ac_try='test -s conftest$ac_exeext'
61863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61864 (eval $ac_try) 2>&5
61865 ac_status=$?
61866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61867 (exit $ac_status); }; }; then
61868 eval "$as_ac_var=yes"
61869 else
61870 echo "$as_me: failed program was:" >&5
61871 sed 's/^/| /' conftest.$ac_ext >&5
61873 eval "$as_ac_var=no"
61875 rm -f conftest.err conftest.$ac_objext \
61876 conftest$ac_exeext conftest.$ac_ext
61878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61879 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61880 if test `eval echo '${'$as_ac_var'}'` = yes; then
61881 cat >>confdefs.h <<_ACEOF
61882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61883 _ACEOF
61886 done
61893 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
61894 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
61895 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
61896 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
61897 echo $ECHO_N "(cached) $ECHO_C" >&6
61898 else
61902 ac_ext=cc
61903 ac_cpp='$CXXCPP $CPPFLAGS'
61904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61908 cat >conftest.$ac_ext <<_ACEOF
61909 /* confdefs.h. */
61910 _ACEOF
61911 cat confdefs.h >>conftest.$ac_ext
61912 cat >>conftest.$ac_ext <<_ACEOF
61913 /* end confdefs.h. */
61914 #include <math.h>
61915 #ifdef HAVE_IEEEFP_H
61916 #include <ieeefp.h>
61917 #endif
61920 main ()
61922 sqrtf(0);
61924 return 0;
61926 _ACEOF
61927 rm -f conftest.$ac_objext
61928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61929 (eval $ac_compile) 2>conftest.er1
61930 ac_status=$?
61931 grep -v '^ *+' conftest.er1 >conftest.err
61932 rm -f conftest.er1
61933 cat conftest.err >&5
61934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61935 (exit $ac_status); } &&
61936 { ac_try='test -z "$ac_cxx_werror_flag"
61937 || test ! -s conftest.err'
61938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61939 (eval $ac_try) 2>&5
61940 ac_status=$?
61941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61942 (exit $ac_status); }; } &&
61943 { ac_try='test -s conftest.$ac_objext'
61944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61945 (eval $ac_try) 2>&5
61946 ac_status=$?
61947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61948 (exit $ac_status); }; }; then
61949 glibcxx_cv_func_sqrtf_use=yes
61950 else
61951 echo "$as_me: failed program was:" >&5
61952 sed 's/^/| /' conftest.$ac_ext >&5
61954 glibcxx_cv_func_sqrtf_use=no
61956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61957 ac_ext=c
61958 ac_cpp='$CPP $CPPFLAGS'
61959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61967 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
61968 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
61970 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
61972 for ac_func in sqrtf
61974 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61975 echo "$as_me:$LINENO: checking for $ac_func" >&5
61976 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61977 if eval "test \"\${$as_ac_var+set}\" = set"; then
61978 echo $ECHO_N "(cached) $ECHO_C" >&6
61979 else
61980 if test x$gcc_no_link = xyes; then
61981 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61982 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61983 { (exit 1); exit 1; }; }
61985 cat >conftest.$ac_ext <<_ACEOF
61986 /* confdefs.h. */
61987 _ACEOF
61988 cat confdefs.h >>conftest.$ac_ext
61989 cat >>conftest.$ac_ext <<_ACEOF
61990 /* end confdefs.h. */
61991 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61992 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61993 #define $ac_func innocuous_$ac_func
61995 /* System header to define __stub macros and hopefully few prototypes,
61996 which can conflict with char $ac_func (); below.
61997 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61998 <limits.h> exists even on freestanding compilers. */
62000 #ifdef __STDC__
62001 # include <limits.h>
62002 #else
62003 # include <assert.h>
62004 #endif
62006 #undef $ac_func
62008 /* Override any gcc2 internal prototype to avoid an error. */
62009 #ifdef __cplusplus
62010 extern "C"
62012 #endif
62013 /* We use char because int might match the return type of a gcc2
62014 builtin and then its argument prototype would still apply. */
62015 char $ac_func ();
62016 /* The GNU C library defines this for functions which it implements
62017 to always fail with ENOSYS. Some functions are actually named
62018 something starting with __ and the normal name is an alias. */
62019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62020 choke me
62021 #else
62022 char (*f) () = $ac_func;
62023 #endif
62024 #ifdef __cplusplus
62026 #endif
62029 main ()
62031 return f != $ac_func;
62033 return 0;
62035 _ACEOF
62036 rm -f conftest.$ac_objext conftest$ac_exeext
62037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62038 (eval $ac_link) 2>conftest.er1
62039 ac_status=$?
62040 grep -v '^ *+' conftest.er1 >conftest.err
62041 rm -f conftest.er1
62042 cat conftest.err >&5
62043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62044 (exit $ac_status); } &&
62045 { ac_try='test -z "$ac_c_werror_flag"
62046 || test ! -s conftest.err'
62047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62048 (eval $ac_try) 2>&5
62049 ac_status=$?
62050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62051 (exit $ac_status); }; } &&
62052 { ac_try='test -s conftest$ac_exeext'
62053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62054 (eval $ac_try) 2>&5
62055 ac_status=$?
62056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62057 (exit $ac_status); }; }; then
62058 eval "$as_ac_var=yes"
62059 else
62060 echo "$as_me: failed program was:" >&5
62061 sed 's/^/| /' conftest.$ac_ext >&5
62063 eval "$as_ac_var=no"
62065 rm -f conftest.err conftest.$ac_objext \
62066 conftest$ac_exeext conftest.$ac_ext
62068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62069 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62070 if test `eval echo '${'$as_ac_var'}'` = yes; then
62071 cat >>confdefs.h <<_ACEOF
62072 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62073 _ACEOF
62076 done
62078 else
62080 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
62081 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
62082 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
62083 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
62084 echo $ECHO_N "(cached) $ECHO_C" >&6
62085 else
62089 ac_ext=cc
62090 ac_cpp='$CXXCPP $CPPFLAGS'
62091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62095 cat >conftest.$ac_ext <<_ACEOF
62096 /* confdefs.h. */
62097 _ACEOF
62098 cat confdefs.h >>conftest.$ac_ext
62099 cat >>conftest.$ac_ext <<_ACEOF
62100 /* end confdefs.h. */
62101 #include <math.h>
62102 #ifdef HAVE_IEEEFP_H
62103 #include <ieeefp.h>
62104 #endif
62107 main ()
62109 _sqrtf(0);
62111 return 0;
62113 _ACEOF
62114 rm -f conftest.$ac_objext
62115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62116 (eval $ac_compile) 2>conftest.er1
62117 ac_status=$?
62118 grep -v '^ *+' conftest.er1 >conftest.err
62119 rm -f conftest.er1
62120 cat conftest.err >&5
62121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62122 (exit $ac_status); } &&
62123 { ac_try='test -z "$ac_cxx_werror_flag"
62124 || test ! -s conftest.err'
62125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62126 (eval $ac_try) 2>&5
62127 ac_status=$?
62128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62129 (exit $ac_status); }; } &&
62130 { ac_try='test -s conftest.$ac_objext'
62131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62132 (eval $ac_try) 2>&5
62133 ac_status=$?
62134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62135 (exit $ac_status); }; }; then
62136 glibcxx_cv_func__sqrtf_use=yes
62137 else
62138 echo "$as_me: failed program was:" >&5
62139 sed 's/^/| /' conftest.$ac_ext >&5
62141 glibcxx_cv_func__sqrtf_use=no
62143 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62144 ac_ext=c
62145 ac_cpp='$CPP $CPPFLAGS'
62146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62154 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
62155 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
62157 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
62159 for ac_func in _sqrtf
62161 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62162 echo "$as_me:$LINENO: checking for $ac_func" >&5
62163 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62164 if eval "test \"\${$as_ac_var+set}\" = set"; then
62165 echo $ECHO_N "(cached) $ECHO_C" >&6
62166 else
62167 if test x$gcc_no_link = xyes; then
62168 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62169 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62170 { (exit 1); exit 1; }; }
62172 cat >conftest.$ac_ext <<_ACEOF
62173 /* confdefs.h. */
62174 _ACEOF
62175 cat confdefs.h >>conftest.$ac_ext
62176 cat >>conftest.$ac_ext <<_ACEOF
62177 /* end confdefs.h. */
62178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62180 #define $ac_func innocuous_$ac_func
62182 /* System header to define __stub macros and hopefully few prototypes,
62183 which can conflict with char $ac_func (); below.
62184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62185 <limits.h> exists even on freestanding compilers. */
62187 #ifdef __STDC__
62188 # include <limits.h>
62189 #else
62190 # include <assert.h>
62191 #endif
62193 #undef $ac_func
62195 /* Override any gcc2 internal prototype to avoid an error. */
62196 #ifdef __cplusplus
62197 extern "C"
62199 #endif
62200 /* We use char because int might match the return type of a gcc2
62201 builtin and then its argument prototype would still apply. */
62202 char $ac_func ();
62203 /* The GNU C library defines this for functions which it implements
62204 to always fail with ENOSYS. Some functions are actually named
62205 something starting with __ and the normal name is an alias. */
62206 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62207 choke me
62208 #else
62209 char (*f) () = $ac_func;
62210 #endif
62211 #ifdef __cplusplus
62213 #endif
62216 main ()
62218 return f != $ac_func;
62220 return 0;
62222 _ACEOF
62223 rm -f conftest.$ac_objext conftest$ac_exeext
62224 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62225 (eval $ac_link) 2>conftest.er1
62226 ac_status=$?
62227 grep -v '^ *+' conftest.er1 >conftest.err
62228 rm -f conftest.er1
62229 cat conftest.err >&5
62230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62231 (exit $ac_status); } &&
62232 { ac_try='test -z "$ac_c_werror_flag"
62233 || test ! -s conftest.err'
62234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62235 (eval $ac_try) 2>&5
62236 ac_status=$?
62237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62238 (exit $ac_status); }; } &&
62239 { ac_try='test -s conftest$ac_exeext'
62240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62241 (eval $ac_try) 2>&5
62242 ac_status=$?
62243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62244 (exit $ac_status); }; }; then
62245 eval "$as_ac_var=yes"
62246 else
62247 echo "$as_me: failed program was:" >&5
62248 sed 's/^/| /' conftest.$ac_ext >&5
62250 eval "$as_ac_var=no"
62252 rm -f conftest.err conftest.$ac_objext \
62253 conftest$ac_exeext conftest.$ac_ext
62255 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62256 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62257 if test `eval echo '${'$as_ac_var'}'` = yes; then
62258 cat >>confdefs.h <<_ACEOF
62259 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62260 _ACEOF
62263 done
62270 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
62271 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
62272 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
62273 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
62274 echo $ECHO_N "(cached) $ECHO_C" >&6
62275 else
62279 ac_ext=cc
62280 ac_cpp='$CXXCPP $CPPFLAGS'
62281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62285 cat >conftest.$ac_ext <<_ACEOF
62286 /* confdefs.h. */
62287 _ACEOF
62288 cat confdefs.h >>conftest.$ac_ext
62289 cat >>conftest.$ac_ext <<_ACEOF
62290 /* end confdefs.h. */
62291 #include <math.h>
62293 main ()
62295 sincosf(0, 0, 0);
62297 return 0;
62299 _ACEOF
62300 rm -f conftest.$ac_objext
62301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62302 (eval $ac_compile) 2>conftest.er1
62303 ac_status=$?
62304 grep -v '^ *+' conftest.er1 >conftest.err
62305 rm -f conftest.er1
62306 cat conftest.err >&5
62307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62308 (exit $ac_status); } &&
62309 { ac_try='test -z "$ac_cxx_werror_flag"
62310 || test ! -s conftest.err'
62311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62312 (eval $ac_try) 2>&5
62313 ac_status=$?
62314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62315 (exit $ac_status); }; } &&
62316 { ac_try='test -s conftest.$ac_objext'
62317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62318 (eval $ac_try) 2>&5
62319 ac_status=$?
62320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62321 (exit $ac_status); }; }; then
62322 glibcxx_cv_func_sincosf_use=yes
62323 else
62324 echo "$as_me: failed program was:" >&5
62325 sed 's/^/| /' conftest.$ac_ext >&5
62327 glibcxx_cv_func_sincosf_use=no
62329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62330 ac_ext=c
62331 ac_cpp='$CPP $CPPFLAGS'
62332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62340 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
62341 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
62343 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
62345 for ac_func in sincosf
62347 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62348 echo "$as_me:$LINENO: checking for $ac_func" >&5
62349 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62350 if eval "test \"\${$as_ac_var+set}\" = set"; then
62351 echo $ECHO_N "(cached) $ECHO_C" >&6
62352 else
62353 if test x$gcc_no_link = xyes; then
62354 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62355 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62356 { (exit 1); exit 1; }; }
62358 cat >conftest.$ac_ext <<_ACEOF
62359 /* confdefs.h. */
62360 _ACEOF
62361 cat confdefs.h >>conftest.$ac_ext
62362 cat >>conftest.$ac_ext <<_ACEOF
62363 /* end confdefs.h. */
62364 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62365 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62366 #define $ac_func innocuous_$ac_func
62368 /* System header to define __stub macros and hopefully few prototypes,
62369 which can conflict with char $ac_func (); below.
62370 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62371 <limits.h> exists even on freestanding compilers. */
62373 #ifdef __STDC__
62374 # include <limits.h>
62375 #else
62376 # include <assert.h>
62377 #endif
62379 #undef $ac_func
62381 /* Override any gcc2 internal prototype to avoid an error. */
62382 #ifdef __cplusplus
62383 extern "C"
62385 #endif
62386 /* We use char because int might match the return type of a gcc2
62387 builtin and then its argument prototype would still apply. */
62388 char $ac_func ();
62389 /* The GNU C library defines this for functions which it implements
62390 to always fail with ENOSYS. Some functions are actually named
62391 something starting with __ and the normal name is an alias. */
62392 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62393 choke me
62394 #else
62395 char (*f) () = $ac_func;
62396 #endif
62397 #ifdef __cplusplus
62399 #endif
62402 main ()
62404 return f != $ac_func;
62406 return 0;
62408 _ACEOF
62409 rm -f conftest.$ac_objext conftest$ac_exeext
62410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62411 (eval $ac_link) 2>conftest.er1
62412 ac_status=$?
62413 grep -v '^ *+' conftest.er1 >conftest.err
62414 rm -f conftest.er1
62415 cat conftest.err >&5
62416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62417 (exit $ac_status); } &&
62418 { ac_try='test -z "$ac_c_werror_flag"
62419 || test ! -s conftest.err'
62420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62421 (eval $ac_try) 2>&5
62422 ac_status=$?
62423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62424 (exit $ac_status); }; } &&
62425 { ac_try='test -s conftest$ac_exeext'
62426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62427 (eval $ac_try) 2>&5
62428 ac_status=$?
62429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62430 (exit $ac_status); }; }; then
62431 eval "$as_ac_var=yes"
62432 else
62433 echo "$as_me: failed program was:" >&5
62434 sed 's/^/| /' conftest.$ac_ext >&5
62436 eval "$as_ac_var=no"
62438 rm -f conftest.err conftest.$ac_objext \
62439 conftest$ac_exeext conftest.$ac_ext
62441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62442 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62443 if test `eval echo '${'$as_ac_var'}'` = yes; then
62444 cat >>confdefs.h <<_ACEOF
62445 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62446 _ACEOF
62449 done
62451 else
62453 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
62454 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
62455 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
62456 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
62457 echo $ECHO_N "(cached) $ECHO_C" >&6
62458 else
62462 ac_ext=cc
62463 ac_cpp='$CXXCPP $CPPFLAGS'
62464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62468 cat >conftest.$ac_ext <<_ACEOF
62469 /* confdefs.h. */
62470 _ACEOF
62471 cat confdefs.h >>conftest.$ac_ext
62472 cat >>conftest.$ac_ext <<_ACEOF
62473 /* end confdefs.h. */
62474 #include <math.h>
62476 main ()
62478 _sincosf(0, 0, 0);
62480 return 0;
62482 _ACEOF
62483 rm -f conftest.$ac_objext
62484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62485 (eval $ac_compile) 2>conftest.er1
62486 ac_status=$?
62487 grep -v '^ *+' conftest.er1 >conftest.err
62488 rm -f conftest.er1
62489 cat conftest.err >&5
62490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62491 (exit $ac_status); } &&
62492 { ac_try='test -z "$ac_cxx_werror_flag"
62493 || test ! -s conftest.err'
62494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62495 (eval $ac_try) 2>&5
62496 ac_status=$?
62497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62498 (exit $ac_status); }; } &&
62499 { ac_try='test -s conftest.$ac_objext'
62500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62501 (eval $ac_try) 2>&5
62502 ac_status=$?
62503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62504 (exit $ac_status); }; }; then
62505 glibcxx_cv_func__sincosf_use=yes
62506 else
62507 echo "$as_me: failed program was:" >&5
62508 sed 's/^/| /' conftest.$ac_ext >&5
62510 glibcxx_cv_func__sincosf_use=no
62512 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62513 ac_ext=c
62514 ac_cpp='$CPP $CPPFLAGS'
62515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62523 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
62524 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
62526 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
62528 for ac_func in _sincosf
62530 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62531 echo "$as_me:$LINENO: checking for $ac_func" >&5
62532 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62533 if eval "test \"\${$as_ac_var+set}\" = set"; then
62534 echo $ECHO_N "(cached) $ECHO_C" >&6
62535 else
62536 if test x$gcc_no_link = xyes; then
62537 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62538 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62539 { (exit 1); exit 1; }; }
62541 cat >conftest.$ac_ext <<_ACEOF
62542 /* confdefs.h. */
62543 _ACEOF
62544 cat confdefs.h >>conftest.$ac_ext
62545 cat >>conftest.$ac_ext <<_ACEOF
62546 /* end confdefs.h. */
62547 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62548 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62549 #define $ac_func innocuous_$ac_func
62551 /* System header to define __stub macros and hopefully few prototypes,
62552 which can conflict with char $ac_func (); below.
62553 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62554 <limits.h> exists even on freestanding compilers. */
62556 #ifdef __STDC__
62557 # include <limits.h>
62558 #else
62559 # include <assert.h>
62560 #endif
62562 #undef $ac_func
62564 /* Override any gcc2 internal prototype to avoid an error. */
62565 #ifdef __cplusplus
62566 extern "C"
62568 #endif
62569 /* We use char because int might match the return type of a gcc2
62570 builtin and then its argument prototype would still apply. */
62571 char $ac_func ();
62572 /* The GNU C library defines this for functions which it implements
62573 to always fail with ENOSYS. Some functions are actually named
62574 something starting with __ and the normal name is an alias. */
62575 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62576 choke me
62577 #else
62578 char (*f) () = $ac_func;
62579 #endif
62580 #ifdef __cplusplus
62582 #endif
62585 main ()
62587 return f != $ac_func;
62589 return 0;
62591 _ACEOF
62592 rm -f conftest.$ac_objext conftest$ac_exeext
62593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62594 (eval $ac_link) 2>conftest.er1
62595 ac_status=$?
62596 grep -v '^ *+' conftest.er1 >conftest.err
62597 rm -f conftest.er1
62598 cat conftest.err >&5
62599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62600 (exit $ac_status); } &&
62601 { ac_try='test -z "$ac_c_werror_flag"
62602 || test ! -s conftest.err'
62603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62604 (eval $ac_try) 2>&5
62605 ac_status=$?
62606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62607 (exit $ac_status); }; } &&
62608 { ac_try='test -s conftest$ac_exeext'
62609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62610 (eval $ac_try) 2>&5
62611 ac_status=$?
62612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62613 (exit $ac_status); }; }; then
62614 eval "$as_ac_var=yes"
62615 else
62616 echo "$as_me: failed program was:" >&5
62617 sed 's/^/| /' conftest.$ac_ext >&5
62619 eval "$as_ac_var=no"
62621 rm -f conftest.err conftest.$ac_objext \
62622 conftest$ac_exeext conftest.$ac_ext
62624 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62625 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62626 if test `eval echo '${'$as_ac_var'}'` = yes; then
62627 cat >>confdefs.h <<_ACEOF
62628 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62629 _ACEOF
62632 done
62639 echo "$as_me:$LINENO: checking for finitef declaration" >&5
62640 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
62641 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
62642 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
62643 echo $ECHO_N "(cached) $ECHO_C" >&6
62644 else
62648 ac_ext=cc
62649 ac_cpp='$CXXCPP $CPPFLAGS'
62650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62654 cat >conftest.$ac_ext <<_ACEOF
62655 /* confdefs.h. */
62656 _ACEOF
62657 cat confdefs.h >>conftest.$ac_ext
62658 cat >>conftest.$ac_ext <<_ACEOF
62659 /* end confdefs.h. */
62660 #include <math.h>
62661 #ifdef HAVE_IEEEFP_H
62662 #include <ieeefp.h>
62663 #endif
62666 main ()
62668 finitef(0);
62670 return 0;
62672 _ACEOF
62673 rm -f conftest.$ac_objext
62674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62675 (eval $ac_compile) 2>conftest.er1
62676 ac_status=$?
62677 grep -v '^ *+' conftest.er1 >conftest.err
62678 rm -f conftest.er1
62679 cat conftest.err >&5
62680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62681 (exit $ac_status); } &&
62682 { ac_try='test -z "$ac_cxx_werror_flag"
62683 || test ! -s conftest.err'
62684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62685 (eval $ac_try) 2>&5
62686 ac_status=$?
62687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62688 (exit $ac_status); }; } &&
62689 { ac_try='test -s conftest.$ac_objext'
62690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62691 (eval $ac_try) 2>&5
62692 ac_status=$?
62693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62694 (exit $ac_status); }; }; then
62695 glibcxx_cv_func_finitef_use=yes
62696 else
62697 echo "$as_me: failed program was:" >&5
62698 sed 's/^/| /' conftest.$ac_ext >&5
62700 glibcxx_cv_func_finitef_use=no
62702 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62703 ac_ext=c
62704 ac_cpp='$CPP $CPPFLAGS'
62705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62713 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
62714 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
62716 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
62718 for ac_func in finitef
62720 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62721 echo "$as_me:$LINENO: checking for $ac_func" >&5
62722 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62723 if eval "test \"\${$as_ac_var+set}\" = set"; then
62724 echo $ECHO_N "(cached) $ECHO_C" >&6
62725 else
62726 if test x$gcc_no_link = xyes; then
62727 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62728 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62729 { (exit 1); exit 1; }; }
62731 cat >conftest.$ac_ext <<_ACEOF
62732 /* confdefs.h. */
62733 _ACEOF
62734 cat confdefs.h >>conftest.$ac_ext
62735 cat >>conftest.$ac_ext <<_ACEOF
62736 /* end confdefs.h. */
62737 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62738 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62739 #define $ac_func innocuous_$ac_func
62741 /* System header to define __stub macros and hopefully few prototypes,
62742 which can conflict with char $ac_func (); below.
62743 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62744 <limits.h> exists even on freestanding compilers. */
62746 #ifdef __STDC__
62747 # include <limits.h>
62748 #else
62749 # include <assert.h>
62750 #endif
62752 #undef $ac_func
62754 /* Override any gcc2 internal prototype to avoid an error. */
62755 #ifdef __cplusplus
62756 extern "C"
62758 #endif
62759 /* We use char because int might match the return type of a gcc2
62760 builtin and then its argument prototype would still apply. */
62761 char $ac_func ();
62762 /* The GNU C library defines this for functions which it implements
62763 to always fail with ENOSYS. Some functions are actually named
62764 something starting with __ and the normal name is an alias. */
62765 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62766 choke me
62767 #else
62768 char (*f) () = $ac_func;
62769 #endif
62770 #ifdef __cplusplus
62772 #endif
62775 main ()
62777 return f != $ac_func;
62779 return 0;
62781 _ACEOF
62782 rm -f conftest.$ac_objext conftest$ac_exeext
62783 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62784 (eval $ac_link) 2>conftest.er1
62785 ac_status=$?
62786 grep -v '^ *+' conftest.er1 >conftest.err
62787 rm -f conftest.er1
62788 cat conftest.err >&5
62789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62790 (exit $ac_status); } &&
62791 { ac_try='test -z "$ac_c_werror_flag"
62792 || test ! -s conftest.err'
62793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62794 (eval $ac_try) 2>&5
62795 ac_status=$?
62796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62797 (exit $ac_status); }; } &&
62798 { ac_try='test -s conftest$ac_exeext'
62799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62800 (eval $ac_try) 2>&5
62801 ac_status=$?
62802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62803 (exit $ac_status); }; }; then
62804 eval "$as_ac_var=yes"
62805 else
62806 echo "$as_me: failed program was:" >&5
62807 sed 's/^/| /' conftest.$ac_ext >&5
62809 eval "$as_ac_var=no"
62811 rm -f conftest.err conftest.$ac_objext \
62812 conftest$ac_exeext conftest.$ac_ext
62814 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62815 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62816 if test `eval echo '${'$as_ac_var'}'` = yes; then
62817 cat >>confdefs.h <<_ACEOF
62818 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62819 _ACEOF
62822 done
62824 else
62826 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
62827 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
62828 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
62829 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
62830 echo $ECHO_N "(cached) $ECHO_C" >&6
62831 else
62835 ac_ext=cc
62836 ac_cpp='$CXXCPP $CPPFLAGS'
62837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62841 cat >conftest.$ac_ext <<_ACEOF
62842 /* confdefs.h. */
62843 _ACEOF
62844 cat confdefs.h >>conftest.$ac_ext
62845 cat >>conftest.$ac_ext <<_ACEOF
62846 /* end confdefs.h. */
62847 #include <math.h>
62848 #ifdef HAVE_IEEEFP_H
62849 #include <ieeefp.h>
62850 #endif
62853 main ()
62855 _finitef(0);
62857 return 0;
62859 _ACEOF
62860 rm -f conftest.$ac_objext
62861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62862 (eval $ac_compile) 2>conftest.er1
62863 ac_status=$?
62864 grep -v '^ *+' conftest.er1 >conftest.err
62865 rm -f conftest.er1
62866 cat conftest.err >&5
62867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62868 (exit $ac_status); } &&
62869 { ac_try='test -z "$ac_cxx_werror_flag"
62870 || test ! -s conftest.err'
62871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62872 (eval $ac_try) 2>&5
62873 ac_status=$?
62874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62875 (exit $ac_status); }; } &&
62876 { ac_try='test -s conftest.$ac_objext'
62877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62878 (eval $ac_try) 2>&5
62879 ac_status=$?
62880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62881 (exit $ac_status); }; }; then
62882 glibcxx_cv_func__finitef_use=yes
62883 else
62884 echo "$as_me: failed program was:" >&5
62885 sed 's/^/| /' conftest.$ac_ext >&5
62887 glibcxx_cv_func__finitef_use=no
62889 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62890 ac_ext=c
62891 ac_cpp='$CPP $CPPFLAGS'
62892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62900 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
62901 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
62903 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
62905 for ac_func in _finitef
62907 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62908 echo "$as_me:$LINENO: checking for $ac_func" >&5
62909 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62910 if eval "test \"\${$as_ac_var+set}\" = set"; then
62911 echo $ECHO_N "(cached) $ECHO_C" >&6
62912 else
62913 if test x$gcc_no_link = xyes; then
62914 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62915 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62916 { (exit 1); exit 1; }; }
62918 cat >conftest.$ac_ext <<_ACEOF
62919 /* confdefs.h. */
62920 _ACEOF
62921 cat confdefs.h >>conftest.$ac_ext
62922 cat >>conftest.$ac_ext <<_ACEOF
62923 /* end confdefs.h. */
62924 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62925 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62926 #define $ac_func innocuous_$ac_func
62928 /* System header to define __stub macros and hopefully few prototypes,
62929 which can conflict with char $ac_func (); below.
62930 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62931 <limits.h> exists even on freestanding compilers. */
62933 #ifdef __STDC__
62934 # include <limits.h>
62935 #else
62936 # include <assert.h>
62937 #endif
62939 #undef $ac_func
62941 /* Override any gcc2 internal prototype to avoid an error. */
62942 #ifdef __cplusplus
62943 extern "C"
62945 #endif
62946 /* We use char because int might match the return type of a gcc2
62947 builtin and then its argument prototype would still apply. */
62948 char $ac_func ();
62949 /* The GNU C library defines this for functions which it implements
62950 to always fail with ENOSYS. Some functions are actually named
62951 something starting with __ and the normal name is an alias. */
62952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62953 choke me
62954 #else
62955 char (*f) () = $ac_func;
62956 #endif
62957 #ifdef __cplusplus
62959 #endif
62962 main ()
62964 return f != $ac_func;
62966 return 0;
62968 _ACEOF
62969 rm -f conftest.$ac_objext conftest$ac_exeext
62970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62971 (eval $ac_link) 2>conftest.er1
62972 ac_status=$?
62973 grep -v '^ *+' conftest.er1 >conftest.err
62974 rm -f conftest.er1
62975 cat conftest.err >&5
62976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62977 (exit $ac_status); } &&
62978 { ac_try='test -z "$ac_c_werror_flag"
62979 || test ! -s conftest.err'
62980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62981 (eval $ac_try) 2>&5
62982 ac_status=$?
62983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62984 (exit $ac_status); }; } &&
62985 { ac_try='test -s conftest$ac_exeext'
62986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62987 (eval $ac_try) 2>&5
62988 ac_status=$?
62989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62990 (exit $ac_status); }; }; then
62991 eval "$as_ac_var=yes"
62992 else
62993 echo "$as_me: failed program was:" >&5
62994 sed 's/^/| /' conftest.$ac_ext >&5
62996 eval "$as_ac_var=no"
62998 rm -f conftest.err conftest.$ac_objext \
62999 conftest$ac_exeext conftest.$ac_ext
63001 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63002 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63003 if test `eval echo '${'$as_ac_var'}'` = yes; then
63004 cat >>confdefs.h <<_ACEOF
63005 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63006 _ACEOF
63009 done
63016 echo "$as_me:$LINENO: checking for long double trig functions" >&5
63017 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
63018 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
63019 echo $ECHO_N "(cached) $ECHO_C" >&6
63020 else
63024 ac_ext=cc
63025 ac_cpp='$CXXCPP $CPPFLAGS'
63026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63030 cat >conftest.$ac_ext <<_ACEOF
63031 /* confdefs.h. */
63032 _ACEOF
63033 cat confdefs.h >>conftest.$ac_ext
63034 cat >>conftest.$ac_ext <<_ACEOF
63035 /* end confdefs.h. */
63036 #include <math.h>
63038 main ()
63040 `for x in acosl asinl atanl \
63041 cosl sinl tanl \
63042 coshl sinhl tanhl; do echo "$x (0);"; done`
63044 return 0;
63046 _ACEOF
63047 rm -f conftest.$ac_objext
63048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63049 (eval $ac_compile) 2>conftest.er1
63050 ac_status=$?
63051 grep -v '^ *+' conftest.er1 >conftest.err
63052 rm -f conftest.er1
63053 cat conftest.err >&5
63054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63055 (exit $ac_status); } &&
63056 { ac_try='test -z "$ac_cxx_werror_flag"
63057 || test ! -s conftest.err'
63058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63059 (eval $ac_try) 2>&5
63060 ac_status=$?
63061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63062 (exit $ac_status); }; } &&
63063 { ac_try='test -s conftest.$ac_objext'
63064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63065 (eval $ac_try) 2>&5
63066 ac_status=$?
63067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63068 (exit $ac_status); }; }; then
63069 glibcxx_cv_func_long_double_trig_use=yes
63070 else
63071 echo "$as_me: failed program was:" >&5
63072 sed 's/^/| /' conftest.$ac_ext >&5
63074 glibcxx_cv_func_long_double_trig_use=no
63076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63077 ac_ext=c
63078 ac_cpp='$CPP $CPPFLAGS'
63079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63085 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
63086 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
63087 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
63097 for ac_func in acosl asinl atanl \
63098 cosl sinl tanl \
63099 coshl sinhl tanhl
63101 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63102 echo "$as_me:$LINENO: checking for $ac_func" >&5
63103 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63104 if eval "test \"\${$as_ac_var+set}\" = set"; then
63105 echo $ECHO_N "(cached) $ECHO_C" >&6
63106 else
63107 if test x$gcc_no_link = xyes; then
63108 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63109 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63110 { (exit 1); exit 1; }; }
63112 cat >conftest.$ac_ext <<_ACEOF
63113 /* confdefs.h. */
63114 _ACEOF
63115 cat confdefs.h >>conftest.$ac_ext
63116 cat >>conftest.$ac_ext <<_ACEOF
63117 /* end confdefs.h. */
63118 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63119 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63120 #define $ac_func innocuous_$ac_func
63122 /* System header to define __stub macros and hopefully few prototypes,
63123 which can conflict with char $ac_func (); below.
63124 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63125 <limits.h> exists even on freestanding compilers. */
63127 #ifdef __STDC__
63128 # include <limits.h>
63129 #else
63130 # include <assert.h>
63131 #endif
63133 #undef $ac_func
63135 /* Override any gcc2 internal prototype to avoid an error. */
63136 #ifdef __cplusplus
63137 extern "C"
63139 #endif
63140 /* We use char because int might match the return type of a gcc2
63141 builtin and then its argument prototype would still apply. */
63142 char $ac_func ();
63143 /* The GNU C library defines this for functions which it implements
63144 to always fail with ENOSYS. Some functions are actually named
63145 something starting with __ and the normal name is an alias. */
63146 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63147 choke me
63148 #else
63149 char (*f) () = $ac_func;
63150 #endif
63151 #ifdef __cplusplus
63153 #endif
63156 main ()
63158 return f != $ac_func;
63160 return 0;
63162 _ACEOF
63163 rm -f conftest.$ac_objext conftest$ac_exeext
63164 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63165 (eval $ac_link) 2>conftest.er1
63166 ac_status=$?
63167 grep -v '^ *+' conftest.er1 >conftest.err
63168 rm -f conftest.er1
63169 cat conftest.err >&5
63170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63171 (exit $ac_status); } &&
63172 { ac_try='test -z "$ac_c_werror_flag"
63173 || test ! -s conftest.err'
63174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63175 (eval $ac_try) 2>&5
63176 ac_status=$?
63177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63178 (exit $ac_status); }; } &&
63179 { ac_try='test -s conftest$ac_exeext'
63180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63181 (eval $ac_try) 2>&5
63182 ac_status=$?
63183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63184 (exit $ac_status); }; }; then
63185 eval "$as_ac_var=yes"
63186 else
63187 echo "$as_me: failed program was:" >&5
63188 sed 's/^/| /' conftest.$ac_ext >&5
63190 eval "$as_ac_var=no"
63192 rm -f conftest.err conftest.$ac_objext \
63193 conftest$ac_exeext conftest.$ac_ext
63195 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63196 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63197 if test `eval echo '${'$as_ac_var'}'` = yes; then
63198 cat >>confdefs.h <<_ACEOF
63199 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63200 _ACEOF
63203 done
63208 echo "$as_me:$LINENO: checking for long double round functions" >&5
63209 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
63210 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
63211 echo $ECHO_N "(cached) $ECHO_C" >&6
63212 else
63216 ac_ext=cc
63217 ac_cpp='$CXXCPP $CPPFLAGS'
63218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63222 cat >conftest.$ac_ext <<_ACEOF
63223 /* confdefs.h. */
63224 _ACEOF
63225 cat confdefs.h >>conftest.$ac_ext
63226 cat >>conftest.$ac_ext <<_ACEOF
63227 /* end confdefs.h. */
63228 #include <math.h>
63230 main ()
63232 `for x in ceill floorl; do echo "$x (0);"; done`
63234 return 0;
63236 _ACEOF
63237 rm -f conftest.$ac_objext
63238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63239 (eval $ac_compile) 2>conftest.er1
63240 ac_status=$?
63241 grep -v '^ *+' conftest.er1 >conftest.err
63242 rm -f conftest.er1
63243 cat conftest.err >&5
63244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63245 (exit $ac_status); } &&
63246 { ac_try='test -z "$ac_cxx_werror_flag"
63247 || test ! -s conftest.err'
63248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63249 (eval $ac_try) 2>&5
63250 ac_status=$?
63251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63252 (exit $ac_status); }; } &&
63253 { ac_try='test -s conftest.$ac_objext'
63254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63255 (eval $ac_try) 2>&5
63256 ac_status=$?
63257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63258 (exit $ac_status); }; }; then
63259 glibcxx_cv_func_long_double_round_use=yes
63260 else
63261 echo "$as_me: failed program was:" >&5
63262 sed 's/^/| /' conftest.$ac_ext >&5
63264 glibcxx_cv_func_long_double_round_use=no
63266 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63267 ac_ext=c
63268 ac_cpp='$CPP $CPPFLAGS'
63269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63275 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
63276 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
63277 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
63280 for ac_func in ceill floorl
63282 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63283 echo "$as_me:$LINENO: checking for $ac_func" >&5
63284 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63285 if eval "test \"\${$as_ac_var+set}\" = set"; then
63286 echo $ECHO_N "(cached) $ECHO_C" >&6
63287 else
63288 if test x$gcc_no_link = xyes; then
63289 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63290 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63291 { (exit 1); exit 1; }; }
63293 cat >conftest.$ac_ext <<_ACEOF
63294 /* confdefs.h. */
63295 _ACEOF
63296 cat confdefs.h >>conftest.$ac_ext
63297 cat >>conftest.$ac_ext <<_ACEOF
63298 /* end confdefs.h. */
63299 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63300 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63301 #define $ac_func innocuous_$ac_func
63303 /* System header to define __stub macros and hopefully few prototypes,
63304 which can conflict with char $ac_func (); below.
63305 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63306 <limits.h> exists even on freestanding compilers. */
63308 #ifdef __STDC__
63309 # include <limits.h>
63310 #else
63311 # include <assert.h>
63312 #endif
63314 #undef $ac_func
63316 /* Override any gcc2 internal prototype to avoid an error. */
63317 #ifdef __cplusplus
63318 extern "C"
63320 #endif
63321 /* We use char because int might match the return type of a gcc2
63322 builtin and then its argument prototype would still apply. */
63323 char $ac_func ();
63324 /* The GNU C library defines this for functions which it implements
63325 to always fail with ENOSYS. Some functions are actually named
63326 something starting with __ and the normal name is an alias. */
63327 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63328 choke me
63329 #else
63330 char (*f) () = $ac_func;
63331 #endif
63332 #ifdef __cplusplus
63334 #endif
63337 main ()
63339 return f != $ac_func;
63341 return 0;
63343 _ACEOF
63344 rm -f conftest.$ac_objext conftest$ac_exeext
63345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63346 (eval $ac_link) 2>conftest.er1
63347 ac_status=$?
63348 grep -v '^ *+' conftest.er1 >conftest.err
63349 rm -f conftest.er1
63350 cat conftest.err >&5
63351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63352 (exit $ac_status); } &&
63353 { ac_try='test -z "$ac_c_werror_flag"
63354 || test ! -s conftest.err'
63355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63356 (eval $ac_try) 2>&5
63357 ac_status=$?
63358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63359 (exit $ac_status); }; } &&
63360 { ac_try='test -s conftest$ac_exeext'
63361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63362 (eval $ac_try) 2>&5
63363 ac_status=$?
63364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63365 (exit $ac_status); }; }; then
63366 eval "$as_ac_var=yes"
63367 else
63368 echo "$as_me: failed program was:" >&5
63369 sed 's/^/| /' conftest.$ac_ext >&5
63371 eval "$as_ac_var=no"
63373 rm -f conftest.err conftest.$ac_objext \
63374 conftest$ac_exeext conftest.$ac_ext
63376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63377 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63378 if test `eval echo '${'$as_ac_var'}'` = yes; then
63379 cat >>confdefs.h <<_ACEOF
63380 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63381 _ACEOF
63384 done
63390 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
63391 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
63392 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
63393 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
63394 echo $ECHO_N "(cached) $ECHO_C" >&6
63395 else
63399 ac_ext=cc
63400 ac_cpp='$CXXCPP $CPPFLAGS'
63401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63405 cat >conftest.$ac_ext <<_ACEOF
63406 /* confdefs.h. */
63407 _ACEOF
63408 cat confdefs.h >>conftest.$ac_ext
63409 cat >>conftest.$ac_ext <<_ACEOF
63410 /* end confdefs.h. */
63411 #include <math.h>
63412 #ifdef HAVE_IEEEFP_H
63413 #include <ieeefp.h>
63414 #endif
63417 main ()
63419 isnanl(0);
63421 return 0;
63423 _ACEOF
63424 rm -f conftest.$ac_objext
63425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63426 (eval $ac_compile) 2>conftest.er1
63427 ac_status=$?
63428 grep -v '^ *+' conftest.er1 >conftest.err
63429 rm -f conftest.er1
63430 cat conftest.err >&5
63431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63432 (exit $ac_status); } &&
63433 { ac_try='test -z "$ac_cxx_werror_flag"
63434 || test ! -s conftest.err'
63435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63436 (eval $ac_try) 2>&5
63437 ac_status=$?
63438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63439 (exit $ac_status); }; } &&
63440 { ac_try='test -s conftest.$ac_objext'
63441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63442 (eval $ac_try) 2>&5
63443 ac_status=$?
63444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63445 (exit $ac_status); }; }; then
63446 glibcxx_cv_func_isnanl_use=yes
63447 else
63448 echo "$as_me: failed program was:" >&5
63449 sed 's/^/| /' conftest.$ac_ext >&5
63451 glibcxx_cv_func_isnanl_use=no
63453 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63454 ac_ext=c
63455 ac_cpp='$CPP $CPPFLAGS'
63456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63464 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
63465 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
63467 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
63469 for ac_func in isnanl
63471 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63472 echo "$as_me:$LINENO: checking for $ac_func" >&5
63473 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63474 if eval "test \"\${$as_ac_var+set}\" = set"; then
63475 echo $ECHO_N "(cached) $ECHO_C" >&6
63476 else
63477 if test x$gcc_no_link = xyes; then
63478 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63479 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63480 { (exit 1); exit 1; }; }
63482 cat >conftest.$ac_ext <<_ACEOF
63483 /* confdefs.h. */
63484 _ACEOF
63485 cat confdefs.h >>conftest.$ac_ext
63486 cat >>conftest.$ac_ext <<_ACEOF
63487 /* end confdefs.h. */
63488 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63489 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63490 #define $ac_func innocuous_$ac_func
63492 /* System header to define __stub macros and hopefully few prototypes,
63493 which can conflict with char $ac_func (); below.
63494 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63495 <limits.h> exists even on freestanding compilers. */
63497 #ifdef __STDC__
63498 # include <limits.h>
63499 #else
63500 # include <assert.h>
63501 #endif
63503 #undef $ac_func
63505 /* Override any gcc2 internal prototype to avoid an error. */
63506 #ifdef __cplusplus
63507 extern "C"
63509 #endif
63510 /* We use char because int might match the return type of a gcc2
63511 builtin and then its argument prototype would still apply. */
63512 char $ac_func ();
63513 /* The GNU C library defines this for functions which it implements
63514 to always fail with ENOSYS. Some functions are actually named
63515 something starting with __ and the normal name is an alias. */
63516 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63517 choke me
63518 #else
63519 char (*f) () = $ac_func;
63520 #endif
63521 #ifdef __cplusplus
63523 #endif
63526 main ()
63528 return f != $ac_func;
63530 return 0;
63532 _ACEOF
63533 rm -f conftest.$ac_objext conftest$ac_exeext
63534 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63535 (eval $ac_link) 2>conftest.er1
63536 ac_status=$?
63537 grep -v '^ *+' conftest.er1 >conftest.err
63538 rm -f conftest.er1
63539 cat conftest.err >&5
63540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63541 (exit $ac_status); } &&
63542 { ac_try='test -z "$ac_c_werror_flag"
63543 || test ! -s conftest.err'
63544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63545 (eval $ac_try) 2>&5
63546 ac_status=$?
63547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63548 (exit $ac_status); }; } &&
63549 { ac_try='test -s conftest$ac_exeext'
63550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63551 (eval $ac_try) 2>&5
63552 ac_status=$?
63553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63554 (exit $ac_status); }; }; then
63555 eval "$as_ac_var=yes"
63556 else
63557 echo "$as_me: failed program was:" >&5
63558 sed 's/^/| /' conftest.$ac_ext >&5
63560 eval "$as_ac_var=no"
63562 rm -f conftest.err conftest.$ac_objext \
63563 conftest$ac_exeext conftest.$ac_ext
63565 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63566 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63567 if test `eval echo '${'$as_ac_var'}'` = yes; then
63568 cat >>confdefs.h <<_ACEOF
63569 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63570 _ACEOF
63573 done
63575 else
63577 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
63578 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
63579 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
63580 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
63581 echo $ECHO_N "(cached) $ECHO_C" >&6
63582 else
63586 ac_ext=cc
63587 ac_cpp='$CXXCPP $CPPFLAGS'
63588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63592 cat >conftest.$ac_ext <<_ACEOF
63593 /* confdefs.h. */
63594 _ACEOF
63595 cat confdefs.h >>conftest.$ac_ext
63596 cat >>conftest.$ac_ext <<_ACEOF
63597 /* end confdefs.h. */
63598 #include <math.h>
63599 #ifdef HAVE_IEEEFP_H
63600 #include <ieeefp.h>
63601 #endif
63604 main ()
63606 _isnanl(0);
63608 return 0;
63610 _ACEOF
63611 rm -f conftest.$ac_objext
63612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63613 (eval $ac_compile) 2>conftest.er1
63614 ac_status=$?
63615 grep -v '^ *+' conftest.er1 >conftest.err
63616 rm -f conftest.er1
63617 cat conftest.err >&5
63618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63619 (exit $ac_status); } &&
63620 { ac_try='test -z "$ac_cxx_werror_flag"
63621 || test ! -s conftest.err'
63622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63623 (eval $ac_try) 2>&5
63624 ac_status=$?
63625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63626 (exit $ac_status); }; } &&
63627 { ac_try='test -s conftest.$ac_objext'
63628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63629 (eval $ac_try) 2>&5
63630 ac_status=$?
63631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63632 (exit $ac_status); }; }; then
63633 glibcxx_cv_func__isnanl_use=yes
63634 else
63635 echo "$as_me: failed program was:" >&5
63636 sed 's/^/| /' conftest.$ac_ext >&5
63638 glibcxx_cv_func__isnanl_use=no
63640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63641 ac_ext=c
63642 ac_cpp='$CPP $CPPFLAGS'
63643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63651 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
63652 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
63654 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
63656 for ac_func in _isnanl
63658 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63659 echo "$as_me:$LINENO: checking for $ac_func" >&5
63660 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63661 if eval "test \"\${$as_ac_var+set}\" = set"; then
63662 echo $ECHO_N "(cached) $ECHO_C" >&6
63663 else
63664 if test x$gcc_no_link = xyes; then
63665 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63666 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63667 { (exit 1); exit 1; }; }
63669 cat >conftest.$ac_ext <<_ACEOF
63670 /* confdefs.h. */
63671 _ACEOF
63672 cat confdefs.h >>conftest.$ac_ext
63673 cat >>conftest.$ac_ext <<_ACEOF
63674 /* end confdefs.h. */
63675 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63676 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63677 #define $ac_func innocuous_$ac_func
63679 /* System header to define __stub macros and hopefully few prototypes,
63680 which can conflict with char $ac_func (); below.
63681 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63682 <limits.h> exists even on freestanding compilers. */
63684 #ifdef __STDC__
63685 # include <limits.h>
63686 #else
63687 # include <assert.h>
63688 #endif
63690 #undef $ac_func
63692 /* Override any gcc2 internal prototype to avoid an error. */
63693 #ifdef __cplusplus
63694 extern "C"
63696 #endif
63697 /* We use char because int might match the return type of a gcc2
63698 builtin and then its argument prototype would still apply. */
63699 char $ac_func ();
63700 /* The GNU C library defines this for functions which it implements
63701 to always fail with ENOSYS. Some functions are actually named
63702 something starting with __ and the normal name is an alias. */
63703 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63704 choke me
63705 #else
63706 char (*f) () = $ac_func;
63707 #endif
63708 #ifdef __cplusplus
63710 #endif
63713 main ()
63715 return f != $ac_func;
63717 return 0;
63719 _ACEOF
63720 rm -f conftest.$ac_objext conftest$ac_exeext
63721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63722 (eval $ac_link) 2>conftest.er1
63723 ac_status=$?
63724 grep -v '^ *+' conftest.er1 >conftest.err
63725 rm -f conftest.er1
63726 cat conftest.err >&5
63727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63728 (exit $ac_status); } &&
63729 { ac_try='test -z "$ac_c_werror_flag"
63730 || test ! -s conftest.err'
63731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63732 (eval $ac_try) 2>&5
63733 ac_status=$?
63734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63735 (exit $ac_status); }; } &&
63736 { ac_try='test -s conftest$ac_exeext'
63737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63738 (eval $ac_try) 2>&5
63739 ac_status=$?
63740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63741 (exit $ac_status); }; }; then
63742 eval "$as_ac_var=yes"
63743 else
63744 echo "$as_me: failed program was:" >&5
63745 sed 's/^/| /' conftest.$ac_ext >&5
63747 eval "$as_ac_var=no"
63749 rm -f conftest.err conftest.$ac_objext \
63750 conftest$ac_exeext conftest.$ac_ext
63752 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63753 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63754 if test `eval echo '${'$as_ac_var'}'` = yes; then
63755 cat >>confdefs.h <<_ACEOF
63756 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63757 _ACEOF
63760 done
63767 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
63768 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
63769 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
63770 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
63771 echo $ECHO_N "(cached) $ECHO_C" >&6
63772 else
63776 ac_ext=cc
63777 ac_cpp='$CXXCPP $CPPFLAGS'
63778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63782 cat >conftest.$ac_ext <<_ACEOF
63783 /* confdefs.h. */
63784 _ACEOF
63785 cat confdefs.h >>conftest.$ac_ext
63786 cat >>conftest.$ac_ext <<_ACEOF
63787 /* end confdefs.h. */
63788 #include <math.h>
63789 #ifdef HAVE_IEEEFP_H
63790 #include <ieeefp.h>
63791 #endif
63794 main ()
63796 isinfl(0);
63798 return 0;
63800 _ACEOF
63801 rm -f conftest.$ac_objext
63802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63803 (eval $ac_compile) 2>conftest.er1
63804 ac_status=$?
63805 grep -v '^ *+' conftest.er1 >conftest.err
63806 rm -f conftest.er1
63807 cat conftest.err >&5
63808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63809 (exit $ac_status); } &&
63810 { ac_try='test -z "$ac_cxx_werror_flag"
63811 || test ! -s conftest.err'
63812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63813 (eval $ac_try) 2>&5
63814 ac_status=$?
63815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63816 (exit $ac_status); }; } &&
63817 { ac_try='test -s conftest.$ac_objext'
63818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63819 (eval $ac_try) 2>&5
63820 ac_status=$?
63821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63822 (exit $ac_status); }; }; then
63823 glibcxx_cv_func_isinfl_use=yes
63824 else
63825 echo "$as_me: failed program was:" >&5
63826 sed 's/^/| /' conftest.$ac_ext >&5
63828 glibcxx_cv_func_isinfl_use=no
63830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63831 ac_ext=c
63832 ac_cpp='$CPP $CPPFLAGS'
63833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63841 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
63842 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
63844 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
63846 for ac_func in isinfl
63848 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63849 echo "$as_me:$LINENO: checking for $ac_func" >&5
63850 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63851 if eval "test \"\${$as_ac_var+set}\" = set"; then
63852 echo $ECHO_N "(cached) $ECHO_C" >&6
63853 else
63854 if test x$gcc_no_link = xyes; then
63855 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63856 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63857 { (exit 1); exit 1; }; }
63859 cat >conftest.$ac_ext <<_ACEOF
63860 /* confdefs.h. */
63861 _ACEOF
63862 cat confdefs.h >>conftest.$ac_ext
63863 cat >>conftest.$ac_ext <<_ACEOF
63864 /* end confdefs.h. */
63865 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63866 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63867 #define $ac_func innocuous_$ac_func
63869 /* System header to define __stub macros and hopefully few prototypes,
63870 which can conflict with char $ac_func (); below.
63871 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63872 <limits.h> exists even on freestanding compilers. */
63874 #ifdef __STDC__
63875 # include <limits.h>
63876 #else
63877 # include <assert.h>
63878 #endif
63880 #undef $ac_func
63882 /* Override any gcc2 internal prototype to avoid an error. */
63883 #ifdef __cplusplus
63884 extern "C"
63886 #endif
63887 /* We use char because int might match the return type of a gcc2
63888 builtin and then its argument prototype would still apply. */
63889 char $ac_func ();
63890 /* The GNU C library defines this for functions which it implements
63891 to always fail with ENOSYS. Some functions are actually named
63892 something starting with __ and the normal name is an alias. */
63893 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63894 choke me
63895 #else
63896 char (*f) () = $ac_func;
63897 #endif
63898 #ifdef __cplusplus
63900 #endif
63903 main ()
63905 return f != $ac_func;
63907 return 0;
63909 _ACEOF
63910 rm -f conftest.$ac_objext conftest$ac_exeext
63911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63912 (eval $ac_link) 2>conftest.er1
63913 ac_status=$?
63914 grep -v '^ *+' conftest.er1 >conftest.err
63915 rm -f conftest.er1
63916 cat conftest.err >&5
63917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63918 (exit $ac_status); } &&
63919 { ac_try='test -z "$ac_c_werror_flag"
63920 || test ! -s conftest.err'
63921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63922 (eval $ac_try) 2>&5
63923 ac_status=$?
63924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63925 (exit $ac_status); }; } &&
63926 { ac_try='test -s conftest$ac_exeext'
63927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63928 (eval $ac_try) 2>&5
63929 ac_status=$?
63930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63931 (exit $ac_status); }; }; then
63932 eval "$as_ac_var=yes"
63933 else
63934 echo "$as_me: failed program was:" >&5
63935 sed 's/^/| /' conftest.$ac_ext >&5
63937 eval "$as_ac_var=no"
63939 rm -f conftest.err conftest.$ac_objext \
63940 conftest$ac_exeext conftest.$ac_ext
63942 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63943 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63944 if test `eval echo '${'$as_ac_var'}'` = yes; then
63945 cat >>confdefs.h <<_ACEOF
63946 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63947 _ACEOF
63950 done
63952 else
63954 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
63955 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
63956 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
63957 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
63958 echo $ECHO_N "(cached) $ECHO_C" >&6
63959 else
63963 ac_ext=cc
63964 ac_cpp='$CXXCPP $CPPFLAGS'
63965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63969 cat >conftest.$ac_ext <<_ACEOF
63970 /* confdefs.h. */
63971 _ACEOF
63972 cat confdefs.h >>conftest.$ac_ext
63973 cat >>conftest.$ac_ext <<_ACEOF
63974 /* end confdefs.h. */
63975 #include <math.h>
63976 #ifdef HAVE_IEEEFP_H
63977 #include <ieeefp.h>
63978 #endif
63981 main ()
63983 _isinfl(0);
63985 return 0;
63987 _ACEOF
63988 rm -f conftest.$ac_objext
63989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63990 (eval $ac_compile) 2>conftest.er1
63991 ac_status=$?
63992 grep -v '^ *+' conftest.er1 >conftest.err
63993 rm -f conftest.er1
63994 cat conftest.err >&5
63995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63996 (exit $ac_status); } &&
63997 { ac_try='test -z "$ac_cxx_werror_flag"
63998 || test ! -s conftest.err'
63999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64000 (eval $ac_try) 2>&5
64001 ac_status=$?
64002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64003 (exit $ac_status); }; } &&
64004 { ac_try='test -s conftest.$ac_objext'
64005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64006 (eval $ac_try) 2>&5
64007 ac_status=$?
64008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64009 (exit $ac_status); }; }; then
64010 glibcxx_cv_func__isinfl_use=yes
64011 else
64012 echo "$as_me: failed program was:" >&5
64013 sed 's/^/| /' conftest.$ac_ext >&5
64015 glibcxx_cv_func__isinfl_use=no
64017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64018 ac_ext=c
64019 ac_cpp='$CPP $CPPFLAGS'
64020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64028 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
64029 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
64031 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
64033 for ac_func in _isinfl
64035 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64036 echo "$as_me:$LINENO: checking for $ac_func" >&5
64037 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64038 if eval "test \"\${$as_ac_var+set}\" = set"; then
64039 echo $ECHO_N "(cached) $ECHO_C" >&6
64040 else
64041 if test x$gcc_no_link = xyes; then
64042 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64043 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64044 { (exit 1); exit 1; }; }
64046 cat >conftest.$ac_ext <<_ACEOF
64047 /* confdefs.h. */
64048 _ACEOF
64049 cat confdefs.h >>conftest.$ac_ext
64050 cat >>conftest.$ac_ext <<_ACEOF
64051 /* end confdefs.h. */
64052 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64053 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64054 #define $ac_func innocuous_$ac_func
64056 /* System header to define __stub macros and hopefully few prototypes,
64057 which can conflict with char $ac_func (); below.
64058 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64059 <limits.h> exists even on freestanding compilers. */
64061 #ifdef __STDC__
64062 # include <limits.h>
64063 #else
64064 # include <assert.h>
64065 #endif
64067 #undef $ac_func
64069 /* Override any gcc2 internal prototype to avoid an error. */
64070 #ifdef __cplusplus
64071 extern "C"
64073 #endif
64074 /* We use char because int might match the return type of a gcc2
64075 builtin and then its argument prototype would still apply. */
64076 char $ac_func ();
64077 /* The GNU C library defines this for functions which it implements
64078 to always fail with ENOSYS. Some functions are actually named
64079 something starting with __ and the normal name is an alias. */
64080 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64081 choke me
64082 #else
64083 char (*f) () = $ac_func;
64084 #endif
64085 #ifdef __cplusplus
64087 #endif
64090 main ()
64092 return f != $ac_func;
64094 return 0;
64096 _ACEOF
64097 rm -f conftest.$ac_objext conftest$ac_exeext
64098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64099 (eval $ac_link) 2>conftest.er1
64100 ac_status=$?
64101 grep -v '^ *+' conftest.er1 >conftest.err
64102 rm -f conftest.er1
64103 cat conftest.err >&5
64104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64105 (exit $ac_status); } &&
64106 { ac_try='test -z "$ac_c_werror_flag"
64107 || test ! -s conftest.err'
64108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64109 (eval $ac_try) 2>&5
64110 ac_status=$?
64111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64112 (exit $ac_status); }; } &&
64113 { ac_try='test -s conftest$ac_exeext'
64114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64115 (eval $ac_try) 2>&5
64116 ac_status=$?
64117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64118 (exit $ac_status); }; }; then
64119 eval "$as_ac_var=yes"
64120 else
64121 echo "$as_me: failed program was:" >&5
64122 sed 's/^/| /' conftest.$ac_ext >&5
64124 eval "$as_ac_var=no"
64126 rm -f conftest.err conftest.$ac_objext \
64127 conftest$ac_exeext conftest.$ac_ext
64129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64130 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64131 if test `eval echo '${'$as_ac_var'}'` = yes; then
64132 cat >>confdefs.h <<_ACEOF
64133 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64134 _ACEOF
64137 done
64144 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
64145 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
64146 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
64147 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
64148 echo $ECHO_N "(cached) $ECHO_C" >&6
64149 else
64153 ac_ext=cc
64154 ac_cpp='$CXXCPP $CPPFLAGS'
64155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64159 cat >conftest.$ac_ext <<_ACEOF
64160 /* confdefs.h. */
64161 _ACEOF
64162 cat confdefs.h >>conftest.$ac_ext
64163 cat >>conftest.$ac_ext <<_ACEOF
64164 /* end confdefs.h. */
64165 #include <math.h>
64167 main ()
64169 copysignl(0, 0);
64171 return 0;
64173 _ACEOF
64174 rm -f conftest.$ac_objext
64175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64176 (eval $ac_compile) 2>conftest.er1
64177 ac_status=$?
64178 grep -v '^ *+' conftest.er1 >conftest.err
64179 rm -f conftest.er1
64180 cat conftest.err >&5
64181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64182 (exit $ac_status); } &&
64183 { ac_try='test -z "$ac_cxx_werror_flag"
64184 || test ! -s conftest.err'
64185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64186 (eval $ac_try) 2>&5
64187 ac_status=$?
64188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64189 (exit $ac_status); }; } &&
64190 { ac_try='test -s conftest.$ac_objext'
64191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64192 (eval $ac_try) 2>&5
64193 ac_status=$?
64194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64195 (exit $ac_status); }; }; then
64196 glibcxx_cv_func_copysignl_use=yes
64197 else
64198 echo "$as_me: failed program was:" >&5
64199 sed 's/^/| /' conftest.$ac_ext >&5
64201 glibcxx_cv_func_copysignl_use=no
64203 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64204 ac_ext=c
64205 ac_cpp='$CPP $CPPFLAGS'
64206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64214 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
64215 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
64217 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
64219 for ac_func in copysignl
64221 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64222 echo "$as_me:$LINENO: checking for $ac_func" >&5
64223 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64224 if eval "test \"\${$as_ac_var+set}\" = set"; then
64225 echo $ECHO_N "(cached) $ECHO_C" >&6
64226 else
64227 if test x$gcc_no_link = xyes; then
64228 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64229 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64230 { (exit 1); exit 1; }; }
64232 cat >conftest.$ac_ext <<_ACEOF
64233 /* confdefs.h. */
64234 _ACEOF
64235 cat confdefs.h >>conftest.$ac_ext
64236 cat >>conftest.$ac_ext <<_ACEOF
64237 /* end confdefs.h. */
64238 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64239 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64240 #define $ac_func innocuous_$ac_func
64242 /* System header to define __stub macros and hopefully few prototypes,
64243 which can conflict with char $ac_func (); below.
64244 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64245 <limits.h> exists even on freestanding compilers. */
64247 #ifdef __STDC__
64248 # include <limits.h>
64249 #else
64250 # include <assert.h>
64251 #endif
64253 #undef $ac_func
64255 /* Override any gcc2 internal prototype to avoid an error. */
64256 #ifdef __cplusplus
64257 extern "C"
64259 #endif
64260 /* We use char because int might match the return type of a gcc2
64261 builtin and then its argument prototype would still apply. */
64262 char $ac_func ();
64263 /* The GNU C library defines this for functions which it implements
64264 to always fail with ENOSYS. Some functions are actually named
64265 something starting with __ and the normal name is an alias. */
64266 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64267 choke me
64268 #else
64269 char (*f) () = $ac_func;
64270 #endif
64271 #ifdef __cplusplus
64273 #endif
64276 main ()
64278 return f != $ac_func;
64280 return 0;
64282 _ACEOF
64283 rm -f conftest.$ac_objext conftest$ac_exeext
64284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64285 (eval $ac_link) 2>conftest.er1
64286 ac_status=$?
64287 grep -v '^ *+' conftest.er1 >conftest.err
64288 rm -f conftest.er1
64289 cat conftest.err >&5
64290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64291 (exit $ac_status); } &&
64292 { ac_try='test -z "$ac_c_werror_flag"
64293 || test ! -s conftest.err'
64294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64295 (eval $ac_try) 2>&5
64296 ac_status=$?
64297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64298 (exit $ac_status); }; } &&
64299 { ac_try='test -s conftest$ac_exeext'
64300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64301 (eval $ac_try) 2>&5
64302 ac_status=$?
64303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64304 (exit $ac_status); }; }; then
64305 eval "$as_ac_var=yes"
64306 else
64307 echo "$as_me: failed program was:" >&5
64308 sed 's/^/| /' conftest.$ac_ext >&5
64310 eval "$as_ac_var=no"
64312 rm -f conftest.err conftest.$ac_objext \
64313 conftest$ac_exeext conftest.$ac_ext
64315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64316 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64317 if test `eval echo '${'$as_ac_var'}'` = yes; then
64318 cat >>confdefs.h <<_ACEOF
64319 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64320 _ACEOF
64323 done
64325 else
64327 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
64328 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
64329 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
64330 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
64331 echo $ECHO_N "(cached) $ECHO_C" >&6
64332 else
64336 ac_ext=cc
64337 ac_cpp='$CXXCPP $CPPFLAGS'
64338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64342 cat >conftest.$ac_ext <<_ACEOF
64343 /* confdefs.h. */
64344 _ACEOF
64345 cat confdefs.h >>conftest.$ac_ext
64346 cat >>conftest.$ac_ext <<_ACEOF
64347 /* end confdefs.h. */
64348 #include <math.h>
64350 main ()
64352 _copysignl(0, 0);
64354 return 0;
64356 _ACEOF
64357 rm -f conftest.$ac_objext
64358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64359 (eval $ac_compile) 2>conftest.er1
64360 ac_status=$?
64361 grep -v '^ *+' conftest.er1 >conftest.err
64362 rm -f conftest.er1
64363 cat conftest.err >&5
64364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64365 (exit $ac_status); } &&
64366 { ac_try='test -z "$ac_cxx_werror_flag"
64367 || test ! -s conftest.err'
64368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64369 (eval $ac_try) 2>&5
64370 ac_status=$?
64371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64372 (exit $ac_status); }; } &&
64373 { ac_try='test -s conftest.$ac_objext'
64374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64375 (eval $ac_try) 2>&5
64376 ac_status=$?
64377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64378 (exit $ac_status); }; }; then
64379 glibcxx_cv_func__copysignl_use=yes
64380 else
64381 echo "$as_me: failed program was:" >&5
64382 sed 's/^/| /' conftest.$ac_ext >&5
64384 glibcxx_cv_func__copysignl_use=no
64386 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64387 ac_ext=c
64388 ac_cpp='$CPP $CPPFLAGS'
64389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64397 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
64398 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
64400 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
64402 for ac_func in _copysignl
64404 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64405 echo "$as_me:$LINENO: checking for $ac_func" >&5
64406 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64407 if eval "test \"\${$as_ac_var+set}\" = set"; then
64408 echo $ECHO_N "(cached) $ECHO_C" >&6
64409 else
64410 if test x$gcc_no_link = xyes; then
64411 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64412 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64413 { (exit 1); exit 1; }; }
64415 cat >conftest.$ac_ext <<_ACEOF
64416 /* confdefs.h. */
64417 _ACEOF
64418 cat confdefs.h >>conftest.$ac_ext
64419 cat >>conftest.$ac_ext <<_ACEOF
64420 /* end confdefs.h. */
64421 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64422 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64423 #define $ac_func innocuous_$ac_func
64425 /* System header to define __stub macros and hopefully few prototypes,
64426 which can conflict with char $ac_func (); below.
64427 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64428 <limits.h> exists even on freestanding compilers. */
64430 #ifdef __STDC__
64431 # include <limits.h>
64432 #else
64433 # include <assert.h>
64434 #endif
64436 #undef $ac_func
64438 /* Override any gcc2 internal prototype to avoid an error. */
64439 #ifdef __cplusplus
64440 extern "C"
64442 #endif
64443 /* We use char because int might match the return type of a gcc2
64444 builtin and then its argument prototype would still apply. */
64445 char $ac_func ();
64446 /* The GNU C library defines this for functions which it implements
64447 to always fail with ENOSYS. Some functions are actually named
64448 something starting with __ and the normal name is an alias. */
64449 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64450 choke me
64451 #else
64452 char (*f) () = $ac_func;
64453 #endif
64454 #ifdef __cplusplus
64456 #endif
64459 main ()
64461 return f != $ac_func;
64463 return 0;
64465 _ACEOF
64466 rm -f conftest.$ac_objext conftest$ac_exeext
64467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64468 (eval $ac_link) 2>conftest.er1
64469 ac_status=$?
64470 grep -v '^ *+' conftest.er1 >conftest.err
64471 rm -f conftest.er1
64472 cat conftest.err >&5
64473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64474 (exit $ac_status); } &&
64475 { ac_try='test -z "$ac_c_werror_flag"
64476 || test ! -s conftest.err'
64477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64478 (eval $ac_try) 2>&5
64479 ac_status=$?
64480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64481 (exit $ac_status); }; } &&
64482 { ac_try='test -s conftest$ac_exeext'
64483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64484 (eval $ac_try) 2>&5
64485 ac_status=$?
64486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64487 (exit $ac_status); }; }; then
64488 eval "$as_ac_var=yes"
64489 else
64490 echo "$as_me: failed program was:" >&5
64491 sed 's/^/| /' conftest.$ac_ext >&5
64493 eval "$as_ac_var=no"
64495 rm -f conftest.err conftest.$ac_objext \
64496 conftest$ac_exeext conftest.$ac_ext
64498 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64499 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64500 if test `eval echo '${'$as_ac_var'}'` = yes; then
64501 cat >>confdefs.h <<_ACEOF
64502 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64503 _ACEOF
64506 done
64513 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
64514 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
64515 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
64516 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
64517 echo $ECHO_N "(cached) $ECHO_C" >&6
64518 else
64522 ac_ext=cc
64523 ac_cpp='$CXXCPP $CPPFLAGS'
64524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64528 cat >conftest.$ac_ext <<_ACEOF
64529 /* confdefs.h. */
64530 _ACEOF
64531 cat confdefs.h >>conftest.$ac_ext
64532 cat >>conftest.$ac_ext <<_ACEOF
64533 /* end confdefs.h. */
64534 #include <math.h>
64536 main ()
64538 atan2l(0, 0);
64540 return 0;
64542 _ACEOF
64543 rm -f conftest.$ac_objext
64544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64545 (eval $ac_compile) 2>conftest.er1
64546 ac_status=$?
64547 grep -v '^ *+' conftest.er1 >conftest.err
64548 rm -f conftest.er1
64549 cat conftest.err >&5
64550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64551 (exit $ac_status); } &&
64552 { ac_try='test -z "$ac_cxx_werror_flag"
64553 || test ! -s conftest.err'
64554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64555 (eval $ac_try) 2>&5
64556 ac_status=$?
64557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64558 (exit $ac_status); }; } &&
64559 { ac_try='test -s conftest.$ac_objext'
64560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64561 (eval $ac_try) 2>&5
64562 ac_status=$?
64563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64564 (exit $ac_status); }; }; then
64565 glibcxx_cv_func_atan2l_use=yes
64566 else
64567 echo "$as_me: failed program was:" >&5
64568 sed 's/^/| /' conftest.$ac_ext >&5
64570 glibcxx_cv_func_atan2l_use=no
64572 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64573 ac_ext=c
64574 ac_cpp='$CPP $CPPFLAGS'
64575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64583 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
64584 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
64586 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
64588 for ac_func in atan2l
64590 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64591 echo "$as_me:$LINENO: checking for $ac_func" >&5
64592 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64593 if eval "test \"\${$as_ac_var+set}\" = set"; then
64594 echo $ECHO_N "(cached) $ECHO_C" >&6
64595 else
64596 if test x$gcc_no_link = xyes; then
64597 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64598 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64599 { (exit 1); exit 1; }; }
64601 cat >conftest.$ac_ext <<_ACEOF
64602 /* confdefs.h. */
64603 _ACEOF
64604 cat confdefs.h >>conftest.$ac_ext
64605 cat >>conftest.$ac_ext <<_ACEOF
64606 /* end confdefs.h. */
64607 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64609 #define $ac_func innocuous_$ac_func
64611 /* System header to define __stub macros and hopefully few prototypes,
64612 which can conflict with char $ac_func (); below.
64613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64614 <limits.h> exists even on freestanding compilers. */
64616 #ifdef __STDC__
64617 # include <limits.h>
64618 #else
64619 # include <assert.h>
64620 #endif
64622 #undef $ac_func
64624 /* Override any gcc2 internal prototype to avoid an error. */
64625 #ifdef __cplusplus
64626 extern "C"
64628 #endif
64629 /* We use char because int might match the return type of a gcc2
64630 builtin and then its argument prototype would still apply. */
64631 char $ac_func ();
64632 /* The GNU C library defines this for functions which it implements
64633 to always fail with ENOSYS. Some functions are actually named
64634 something starting with __ and the normal name is an alias. */
64635 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64636 choke me
64637 #else
64638 char (*f) () = $ac_func;
64639 #endif
64640 #ifdef __cplusplus
64642 #endif
64645 main ()
64647 return f != $ac_func;
64649 return 0;
64651 _ACEOF
64652 rm -f conftest.$ac_objext conftest$ac_exeext
64653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64654 (eval $ac_link) 2>conftest.er1
64655 ac_status=$?
64656 grep -v '^ *+' conftest.er1 >conftest.err
64657 rm -f conftest.er1
64658 cat conftest.err >&5
64659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64660 (exit $ac_status); } &&
64661 { ac_try='test -z "$ac_c_werror_flag"
64662 || test ! -s conftest.err'
64663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64664 (eval $ac_try) 2>&5
64665 ac_status=$?
64666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64667 (exit $ac_status); }; } &&
64668 { ac_try='test -s conftest$ac_exeext'
64669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64670 (eval $ac_try) 2>&5
64671 ac_status=$?
64672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64673 (exit $ac_status); }; }; then
64674 eval "$as_ac_var=yes"
64675 else
64676 echo "$as_me: failed program was:" >&5
64677 sed 's/^/| /' conftest.$ac_ext >&5
64679 eval "$as_ac_var=no"
64681 rm -f conftest.err conftest.$ac_objext \
64682 conftest$ac_exeext conftest.$ac_ext
64684 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64685 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64686 if test `eval echo '${'$as_ac_var'}'` = yes; then
64687 cat >>confdefs.h <<_ACEOF
64688 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64689 _ACEOF
64692 done
64694 else
64696 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
64697 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
64698 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
64699 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
64700 echo $ECHO_N "(cached) $ECHO_C" >&6
64701 else
64705 ac_ext=cc
64706 ac_cpp='$CXXCPP $CPPFLAGS'
64707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64711 cat >conftest.$ac_ext <<_ACEOF
64712 /* confdefs.h. */
64713 _ACEOF
64714 cat confdefs.h >>conftest.$ac_ext
64715 cat >>conftest.$ac_ext <<_ACEOF
64716 /* end confdefs.h. */
64717 #include <math.h>
64719 main ()
64721 _atan2l(0, 0);
64723 return 0;
64725 _ACEOF
64726 rm -f conftest.$ac_objext
64727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64728 (eval $ac_compile) 2>conftest.er1
64729 ac_status=$?
64730 grep -v '^ *+' conftest.er1 >conftest.err
64731 rm -f conftest.er1
64732 cat conftest.err >&5
64733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64734 (exit $ac_status); } &&
64735 { ac_try='test -z "$ac_cxx_werror_flag"
64736 || test ! -s conftest.err'
64737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64738 (eval $ac_try) 2>&5
64739 ac_status=$?
64740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64741 (exit $ac_status); }; } &&
64742 { ac_try='test -s conftest.$ac_objext'
64743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64744 (eval $ac_try) 2>&5
64745 ac_status=$?
64746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64747 (exit $ac_status); }; }; then
64748 glibcxx_cv_func__atan2l_use=yes
64749 else
64750 echo "$as_me: failed program was:" >&5
64751 sed 's/^/| /' conftest.$ac_ext >&5
64753 glibcxx_cv_func__atan2l_use=no
64755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64756 ac_ext=c
64757 ac_cpp='$CPP $CPPFLAGS'
64758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64766 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
64767 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
64769 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
64771 for ac_func in _atan2l
64773 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64774 echo "$as_me:$LINENO: checking for $ac_func" >&5
64775 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64776 if eval "test \"\${$as_ac_var+set}\" = set"; then
64777 echo $ECHO_N "(cached) $ECHO_C" >&6
64778 else
64779 if test x$gcc_no_link = xyes; then
64780 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64781 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64782 { (exit 1); exit 1; }; }
64784 cat >conftest.$ac_ext <<_ACEOF
64785 /* confdefs.h. */
64786 _ACEOF
64787 cat confdefs.h >>conftest.$ac_ext
64788 cat >>conftest.$ac_ext <<_ACEOF
64789 /* end confdefs.h. */
64790 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64791 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64792 #define $ac_func innocuous_$ac_func
64794 /* System header to define __stub macros and hopefully few prototypes,
64795 which can conflict with char $ac_func (); below.
64796 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64797 <limits.h> exists even on freestanding compilers. */
64799 #ifdef __STDC__
64800 # include <limits.h>
64801 #else
64802 # include <assert.h>
64803 #endif
64805 #undef $ac_func
64807 /* Override any gcc2 internal prototype to avoid an error. */
64808 #ifdef __cplusplus
64809 extern "C"
64811 #endif
64812 /* We use char because int might match the return type of a gcc2
64813 builtin and then its argument prototype would still apply. */
64814 char $ac_func ();
64815 /* The GNU C library defines this for functions which it implements
64816 to always fail with ENOSYS. Some functions are actually named
64817 something starting with __ and the normal name is an alias. */
64818 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64819 choke me
64820 #else
64821 char (*f) () = $ac_func;
64822 #endif
64823 #ifdef __cplusplus
64825 #endif
64828 main ()
64830 return f != $ac_func;
64832 return 0;
64834 _ACEOF
64835 rm -f conftest.$ac_objext conftest$ac_exeext
64836 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64837 (eval $ac_link) 2>conftest.er1
64838 ac_status=$?
64839 grep -v '^ *+' conftest.er1 >conftest.err
64840 rm -f conftest.er1
64841 cat conftest.err >&5
64842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64843 (exit $ac_status); } &&
64844 { ac_try='test -z "$ac_c_werror_flag"
64845 || test ! -s conftest.err'
64846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64847 (eval $ac_try) 2>&5
64848 ac_status=$?
64849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64850 (exit $ac_status); }; } &&
64851 { ac_try='test -s conftest$ac_exeext'
64852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64853 (eval $ac_try) 2>&5
64854 ac_status=$?
64855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64856 (exit $ac_status); }; }; then
64857 eval "$as_ac_var=yes"
64858 else
64859 echo "$as_me: failed program was:" >&5
64860 sed 's/^/| /' conftest.$ac_ext >&5
64862 eval "$as_ac_var=no"
64864 rm -f conftest.err conftest.$ac_objext \
64865 conftest$ac_exeext conftest.$ac_ext
64867 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64868 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64869 if test `eval echo '${'$as_ac_var'}'` = yes; then
64870 cat >>confdefs.h <<_ACEOF
64871 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64872 _ACEOF
64875 done
64882 echo "$as_me:$LINENO: checking for expl declaration" >&5
64883 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
64884 if test x${glibcxx_cv_func_expl_use+set} != xset; then
64885 if test "${glibcxx_cv_func_expl_use+set}" = set; then
64886 echo $ECHO_N "(cached) $ECHO_C" >&6
64887 else
64891 ac_ext=cc
64892 ac_cpp='$CXXCPP $CPPFLAGS'
64893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64897 cat >conftest.$ac_ext <<_ACEOF
64898 /* confdefs.h. */
64899 _ACEOF
64900 cat confdefs.h >>conftest.$ac_ext
64901 cat >>conftest.$ac_ext <<_ACEOF
64902 /* end confdefs.h. */
64903 #include <math.h>
64904 #ifdef HAVE_IEEEFP_H
64905 #include <ieeefp.h>
64906 #endif
64909 main ()
64911 expl(0);
64913 return 0;
64915 _ACEOF
64916 rm -f conftest.$ac_objext
64917 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64918 (eval $ac_compile) 2>conftest.er1
64919 ac_status=$?
64920 grep -v '^ *+' conftest.er1 >conftest.err
64921 rm -f conftest.er1
64922 cat conftest.err >&5
64923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64924 (exit $ac_status); } &&
64925 { ac_try='test -z "$ac_cxx_werror_flag"
64926 || test ! -s conftest.err'
64927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64928 (eval $ac_try) 2>&5
64929 ac_status=$?
64930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64931 (exit $ac_status); }; } &&
64932 { ac_try='test -s conftest.$ac_objext'
64933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64934 (eval $ac_try) 2>&5
64935 ac_status=$?
64936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64937 (exit $ac_status); }; }; then
64938 glibcxx_cv_func_expl_use=yes
64939 else
64940 echo "$as_me: failed program was:" >&5
64941 sed 's/^/| /' conftest.$ac_ext >&5
64943 glibcxx_cv_func_expl_use=no
64945 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64946 ac_ext=c
64947 ac_cpp='$CPP $CPPFLAGS'
64948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64956 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
64957 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
64959 if test x$glibcxx_cv_func_expl_use = x"yes"; then
64961 for ac_func in expl
64963 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64964 echo "$as_me:$LINENO: checking for $ac_func" >&5
64965 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64966 if eval "test \"\${$as_ac_var+set}\" = set"; then
64967 echo $ECHO_N "(cached) $ECHO_C" >&6
64968 else
64969 if test x$gcc_no_link = xyes; then
64970 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64971 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64972 { (exit 1); exit 1; }; }
64974 cat >conftest.$ac_ext <<_ACEOF
64975 /* confdefs.h. */
64976 _ACEOF
64977 cat confdefs.h >>conftest.$ac_ext
64978 cat >>conftest.$ac_ext <<_ACEOF
64979 /* end confdefs.h. */
64980 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64981 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64982 #define $ac_func innocuous_$ac_func
64984 /* System header to define __stub macros and hopefully few prototypes,
64985 which can conflict with char $ac_func (); below.
64986 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64987 <limits.h> exists even on freestanding compilers. */
64989 #ifdef __STDC__
64990 # include <limits.h>
64991 #else
64992 # include <assert.h>
64993 #endif
64995 #undef $ac_func
64997 /* Override any gcc2 internal prototype to avoid an error. */
64998 #ifdef __cplusplus
64999 extern "C"
65001 #endif
65002 /* We use char because int might match the return type of a gcc2
65003 builtin and then its argument prototype would still apply. */
65004 char $ac_func ();
65005 /* The GNU C library defines this for functions which it implements
65006 to always fail with ENOSYS. Some functions are actually named
65007 something starting with __ and the normal name is an alias. */
65008 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65009 choke me
65010 #else
65011 char (*f) () = $ac_func;
65012 #endif
65013 #ifdef __cplusplus
65015 #endif
65018 main ()
65020 return f != $ac_func;
65022 return 0;
65024 _ACEOF
65025 rm -f conftest.$ac_objext conftest$ac_exeext
65026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65027 (eval $ac_link) 2>conftest.er1
65028 ac_status=$?
65029 grep -v '^ *+' conftest.er1 >conftest.err
65030 rm -f conftest.er1
65031 cat conftest.err >&5
65032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65033 (exit $ac_status); } &&
65034 { ac_try='test -z "$ac_c_werror_flag"
65035 || test ! -s conftest.err'
65036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65037 (eval $ac_try) 2>&5
65038 ac_status=$?
65039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65040 (exit $ac_status); }; } &&
65041 { ac_try='test -s conftest$ac_exeext'
65042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65043 (eval $ac_try) 2>&5
65044 ac_status=$?
65045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65046 (exit $ac_status); }; }; then
65047 eval "$as_ac_var=yes"
65048 else
65049 echo "$as_me: failed program was:" >&5
65050 sed 's/^/| /' conftest.$ac_ext >&5
65052 eval "$as_ac_var=no"
65054 rm -f conftest.err conftest.$ac_objext \
65055 conftest$ac_exeext conftest.$ac_ext
65057 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65058 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65059 if test `eval echo '${'$as_ac_var'}'` = yes; then
65060 cat >>confdefs.h <<_ACEOF
65061 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65062 _ACEOF
65065 done
65067 else
65069 echo "$as_me:$LINENO: checking for _expl declaration" >&5
65070 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
65071 if test x${glibcxx_cv_func__expl_use+set} != xset; then
65072 if test "${glibcxx_cv_func__expl_use+set}" = set; then
65073 echo $ECHO_N "(cached) $ECHO_C" >&6
65074 else
65078 ac_ext=cc
65079 ac_cpp='$CXXCPP $CPPFLAGS'
65080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65084 cat >conftest.$ac_ext <<_ACEOF
65085 /* confdefs.h. */
65086 _ACEOF
65087 cat confdefs.h >>conftest.$ac_ext
65088 cat >>conftest.$ac_ext <<_ACEOF
65089 /* end confdefs.h. */
65090 #include <math.h>
65091 #ifdef HAVE_IEEEFP_H
65092 #include <ieeefp.h>
65093 #endif
65096 main ()
65098 _expl(0);
65100 return 0;
65102 _ACEOF
65103 rm -f conftest.$ac_objext
65104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65105 (eval $ac_compile) 2>conftest.er1
65106 ac_status=$?
65107 grep -v '^ *+' conftest.er1 >conftest.err
65108 rm -f conftest.er1
65109 cat conftest.err >&5
65110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65111 (exit $ac_status); } &&
65112 { ac_try='test -z "$ac_cxx_werror_flag"
65113 || test ! -s conftest.err'
65114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65115 (eval $ac_try) 2>&5
65116 ac_status=$?
65117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65118 (exit $ac_status); }; } &&
65119 { ac_try='test -s conftest.$ac_objext'
65120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65121 (eval $ac_try) 2>&5
65122 ac_status=$?
65123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65124 (exit $ac_status); }; }; then
65125 glibcxx_cv_func__expl_use=yes
65126 else
65127 echo "$as_me: failed program was:" >&5
65128 sed 's/^/| /' conftest.$ac_ext >&5
65130 glibcxx_cv_func__expl_use=no
65132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65133 ac_ext=c
65134 ac_cpp='$CPP $CPPFLAGS'
65135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65143 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
65144 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
65146 if test x$glibcxx_cv_func__expl_use = x"yes"; then
65148 for ac_func in _expl
65150 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65151 echo "$as_me:$LINENO: checking for $ac_func" >&5
65152 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65153 if eval "test \"\${$as_ac_var+set}\" = set"; then
65154 echo $ECHO_N "(cached) $ECHO_C" >&6
65155 else
65156 if test x$gcc_no_link = xyes; then
65157 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65158 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65159 { (exit 1); exit 1; }; }
65161 cat >conftest.$ac_ext <<_ACEOF
65162 /* confdefs.h. */
65163 _ACEOF
65164 cat confdefs.h >>conftest.$ac_ext
65165 cat >>conftest.$ac_ext <<_ACEOF
65166 /* end confdefs.h. */
65167 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65168 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65169 #define $ac_func innocuous_$ac_func
65171 /* System header to define __stub macros and hopefully few prototypes,
65172 which can conflict with char $ac_func (); below.
65173 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65174 <limits.h> exists even on freestanding compilers. */
65176 #ifdef __STDC__
65177 # include <limits.h>
65178 #else
65179 # include <assert.h>
65180 #endif
65182 #undef $ac_func
65184 /* Override any gcc2 internal prototype to avoid an error. */
65185 #ifdef __cplusplus
65186 extern "C"
65188 #endif
65189 /* We use char because int might match the return type of a gcc2
65190 builtin and then its argument prototype would still apply. */
65191 char $ac_func ();
65192 /* The GNU C library defines this for functions which it implements
65193 to always fail with ENOSYS. Some functions are actually named
65194 something starting with __ and the normal name is an alias. */
65195 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65196 choke me
65197 #else
65198 char (*f) () = $ac_func;
65199 #endif
65200 #ifdef __cplusplus
65202 #endif
65205 main ()
65207 return f != $ac_func;
65209 return 0;
65211 _ACEOF
65212 rm -f conftest.$ac_objext conftest$ac_exeext
65213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65214 (eval $ac_link) 2>conftest.er1
65215 ac_status=$?
65216 grep -v '^ *+' conftest.er1 >conftest.err
65217 rm -f conftest.er1
65218 cat conftest.err >&5
65219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65220 (exit $ac_status); } &&
65221 { ac_try='test -z "$ac_c_werror_flag"
65222 || test ! -s conftest.err'
65223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65224 (eval $ac_try) 2>&5
65225 ac_status=$?
65226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65227 (exit $ac_status); }; } &&
65228 { ac_try='test -s conftest$ac_exeext'
65229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65230 (eval $ac_try) 2>&5
65231 ac_status=$?
65232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65233 (exit $ac_status); }; }; then
65234 eval "$as_ac_var=yes"
65235 else
65236 echo "$as_me: failed program was:" >&5
65237 sed 's/^/| /' conftest.$ac_ext >&5
65239 eval "$as_ac_var=no"
65241 rm -f conftest.err conftest.$ac_objext \
65242 conftest$ac_exeext conftest.$ac_ext
65244 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65245 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65246 if test `eval echo '${'$as_ac_var'}'` = yes; then
65247 cat >>confdefs.h <<_ACEOF
65248 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65249 _ACEOF
65252 done
65259 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
65260 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
65261 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
65262 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
65263 echo $ECHO_N "(cached) $ECHO_C" >&6
65264 else
65268 ac_ext=cc
65269 ac_cpp='$CXXCPP $CPPFLAGS'
65270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65274 cat >conftest.$ac_ext <<_ACEOF
65275 /* confdefs.h. */
65276 _ACEOF
65277 cat confdefs.h >>conftest.$ac_ext
65278 cat >>conftest.$ac_ext <<_ACEOF
65279 /* end confdefs.h. */
65280 #include <math.h>
65281 #ifdef HAVE_IEEEFP_H
65282 #include <ieeefp.h>
65283 #endif
65286 main ()
65288 fabsl(0);
65290 return 0;
65292 _ACEOF
65293 rm -f conftest.$ac_objext
65294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65295 (eval $ac_compile) 2>conftest.er1
65296 ac_status=$?
65297 grep -v '^ *+' conftest.er1 >conftest.err
65298 rm -f conftest.er1
65299 cat conftest.err >&5
65300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65301 (exit $ac_status); } &&
65302 { ac_try='test -z "$ac_cxx_werror_flag"
65303 || test ! -s conftest.err'
65304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65305 (eval $ac_try) 2>&5
65306 ac_status=$?
65307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65308 (exit $ac_status); }; } &&
65309 { ac_try='test -s conftest.$ac_objext'
65310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65311 (eval $ac_try) 2>&5
65312 ac_status=$?
65313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65314 (exit $ac_status); }; }; then
65315 glibcxx_cv_func_fabsl_use=yes
65316 else
65317 echo "$as_me: failed program was:" >&5
65318 sed 's/^/| /' conftest.$ac_ext >&5
65320 glibcxx_cv_func_fabsl_use=no
65322 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65323 ac_ext=c
65324 ac_cpp='$CPP $CPPFLAGS'
65325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65333 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
65334 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
65336 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
65338 for ac_func in fabsl
65340 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65341 echo "$as_me:$LINENO: checking for $ac_func" >&5
65342 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65343 if eval "test \"\${$as_ac_var+set}\" = set"; then
65344 echo $ECHO_N "(cached) $ECHO_C" >&6
65345 else
65346 if test x$gcc_no_link = xyes; then
65347 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65348 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65349 { (exit 1); exit 1; }; }
65351 cat >conftest.$ac_ext <<_ACEOF
65352 /* confdefs.h. */
65353 _ACEOF
65354 cat confdefs.h >>conftest.$ac_ext
65355 cat >>conftest.$ac_ext <<_ACEOF
65356 /* end confdefs.h. */
65357 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65358 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65359 #define $ac_func innocuous_$ac_func
65361 /* System header to define __stub macros and hopefully few prototypes,
65362 which can conflict with char $ac_func (); below.
65363 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65364 <limits.h> exists even on freestanding compilers. */
65366 #ifdef __STDC__
65367 # include <limits.h>
65368 #else
65369 # include <assert.h>
65370 #endif
65372 #undef $ac_func
65374 /* Override any gcc2 internal prototype to avoid an error. */
65375 #ifdef __cplusplus
65376 extern "C"
65378 #endif
65379 /* We use char because int might match the return type of a gcc2
65380 builtin and then its argument prototype would still apply. */
65381 char $ac_func ();
65382 /* The GNU C library defines this for functions which it implements
65383 to always fail with ENOSYS. Some functions are actually named
65384 something starting with __ and the normal name is an alias. */
65385 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65386 choke me
65387 #else
65388 char (*f) () = $ac_func;
65389 #endif
65390 #ifdef __cplusplus
65392 #endif
65395 main ()
65397 return f != $ac_func;
65399 return 0;
65401 _ACEOF
65402 rm -f conftest.$ac_objext conftest$ac_exeext
65403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65404 (eval $ac_link) 2>conftest.er1
65405 ac_status=$?
65406 grep -v '^ *+' conftest.er1 >conftest.err
65407 rm -f conftest.er1
65408 cat conftest.err >&5
65409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65410 (exit $ac_status); } &&
65411 { ac_try='test -z "$ac_c_werror_flag"
65412 || test ! -s conftest.err'
65413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65414 (eval $ac_try) 2>&5
65415 ac_status=$?
65416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65417 (exit $ac_status); }; } &&
65418 { ac_try='test -s conftest$ac_exeext'
65419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65420 (eval $ac_try) 2>&5
65421 ac_status=$?
65422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65423 (exit $ac_status); }; }; then
65424 eval "$as_ac_var=yes"
65425 else
65426 echo "$as_me: failed program was:" >&5
65427 sed 's/^/| /' conftest.$ac_ext >&5
65429 eval "$as_ac_var=no"
65431 rm -f conftest.err conftest.$ac_objext \
65432 conftest$ac_exeext conftest.$ac_ext
65434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65435 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65436 if test `eval echo '${'$as_ac_var'}'` = yes; then
65437 cat >>confdefs.h <<_ACEOF
65438 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65439 _ACEOF
65442 done
65444 else
65446 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
65447 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
65448 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
65449 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
65450 echo $ECHO_N "(cached) $ECHO_C" >&6
65451 else
65455 ac_ext=cc
65456 ac_cpp='$CXXCPP $CPPFLAGS'
65457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65461 cat >conftest.$ac_ext <<_ACEOF
65462 /* confdefs.h. */
65463 _ACEOF
65464 cat confdefs.h >>conftest.$ac_ext
65465 cat >>conftest.$ac_ext <<_ACEOF
65466 /* end confdefs.h. */
65467 #include <math.h>
65468 #ifdef HAVE_IEEEFP_H
65469 #include <ieeefp.h>
65470 #endif
65473 main ()
65475 _fabsl(0);
65477 return 0;
65479 _ACEOF
65480 rm -f conftest.$ac_objext
65481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65482 (eval $ac_compile) 2>conftest.er1
65483 ac_status=$?
65484 grep -v '^ *+' conftest.er1 >conftest.err
65485 rm -f conftest.er1
65486 cat conftest.err >&5
65487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65488 (exit $ac_status); } &&
65489 { ac_try='test -z "$ac_cxx_werror_flag"
65490 || test ! -s conftest.err'
65491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65492 (eval $ac_try) 2>&5
65493 ac_status=$?
65494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65495 (exit $ac_status); }; } &&
65496 { ac_try='test -s conftest.$ac_objext'
65497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65498 (eval $ac_try) 2>&5
65499 ac_status=$?
65500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65501 (exit $ac_status); }; }; then
65502 glibcxx_cv_func__fabsl_use=yes
65503 else
65504 echo "$as_me: failed program was:" >&5
65505 sed 's/^/| /' conftest.$ac_ext >&5
65507 glibcxx_cv_func__fabsl_use=no
65509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65510 ac_ext=c
65511 ac_cpp='$CPP $CPPFLAGS'
65512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65520 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
65521 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
65523 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
65525 for ac_func in _fabsl
65527 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65528 echo "$as_me:$LINENO: checking for $ac_func" >&5
65529 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65530 if eval "test \"\${$as_ac_var+set}\" = set"; then
65531 echo $ECHO_N "(cached) $ECHO_C" >&6
65532 else
65533 if test x$gcc_no_link = xyes; then
65534 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65535 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65536 { (exit 1); exit 1; }; }
65538 cat >conftest.$ac_ext <<_ACEOF
65539 /* confdefs.h. */
65540 _ACEOF
65541 cat confdefs.h >>conftest.$ac_ext
65542 cat >>conftest.$ac_ext <<_ACEOF
65543 /* end confdefs.h. */
65544 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65545 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65546 #define $ac_func innocuous_$ac_func
65548 /* System header to define __stub macros and hopefully few prototypes,
65549 which can conflict with char $ac_func (); below.
65550 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65551 <limits.h> exists even on freestanding compilers. */
65553 #ifdef __STDC__
65554 # include <limits.h>
65555 #else
65556 # include <assert.h>
65557 #endif
65559 #undef $ac_func
65561 /* Override any gcc2 internal prototype to avoid an error. */
65562 #ifdef __cplusplus
65563 extern "C"
65565 #endif
65566 /* We use char because int might match the return type of a gcc2
65567 builtin and then its argument prototype would still apply. */
65568 char $ac_func ();
65569 /* The GNU C library defines this for functions which it implements
65570 to always fail with ENOSYS. Some functions are actually named
65571 something starting with __ and the normal name is an alias. */
65572 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65573 choke me
65574 #else
65575 char (*f) () = $ac_func;
65576 #endif
65577 #ifdef __cplusplus
65579 #endif
65582 main ()
65584 return f != $ac_func;
65586 return 0;
65588 _ACEOF
65589 rm -f conftest.$ac_objext conftest$ac_exeext
65590 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65591 (eval $ac_link) 2>conftest.er1
65592 ac_status=$?
65593 grep -v '^ *+' conftest.er1 >conftest.err
65594 rm -f conftest.er1
65595 cat conftest.err >&5
65596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65597 (exit $ac_status); } &&
65598 { ac_try='test -z "$ac_c_werror_flag"
65599 || test ! -s conftest.err'
65600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65601 (eval $ac_try) 2>&5
65602 ac_status=$?
65603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65604 (exit $ac_status); }; } &&
65605 { ac_try='test -s conftest$ac_exeext'
65606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65607 (eval $ac_try) 2>&5
65608 ac_status=$?
65609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65610 (exit $ac_status); }; }; then
65611 eval "$as_ac_var=yes"
65612 else
65613 echo "$as_me: failed program was:" >&5
65614 sed 's/^/| /' conftest.$ac_ext >&5
65616 eval "$as_ac_var=no"
65618 rm -f conftest.err conftest.$ac_objext \
65619 conftest$ac_exeext conftest.$ac_ext
65621 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65622 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65623 if test `eval echo '${'$as_ac_var'}'` = yes; then
65624 cat >>confdefs.h <<_ACEOF
65625 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65626 _ACEOF
65629 done
65636 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
65637 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
65638 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
65639 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
65640 echo $ECHO_N "(cached) $ECHO_C" >&6
65641 else
65645 ac_ext=cc
65646 ac_cpp='$CXXCPP $CPPFLAGS'
65647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65651 cat >conftest.$ac_ext <<_ACEOF
65652 /* confdefs.h. */
65653 _ACEOF
65654 cat confdefs.h >>conftest.$ac_ext
65655 cat >>conftest.$ac_ext <<_ACEOF
65656 /* end confdefs.h. */
65657 #include <math.h>
65659 main ()
65661 fmodl(0, 0);
65663 return 0;
65665 _ACEOF
65666 rm -f conftest.$ac_objext
65667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65668 (eval $ac_compile) 2>conftest.er1
65669 ac_status=$?
65670 grep -v '^ *+' conftest.er1 >conftest.err
65671 rm -f conftest.er1
65672 cat conftest.err >&5
65673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65674 (exit $ac_status); } &&
65675 { ac_try='test -z "$ac_cxx_werror_flag"
65676 || test ! -s conftest.err'
65677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65678 (eval $ac_try) 2>&5
65679 ac_status=$?
65680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65681 (exit $ac_status); }; } &&
65682 { ac_try='test -s conftest.$ac_objext'
65683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65684 (eval $ac_try) 2>&5
65685 ac_status=$?
65686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65687 (exit $ac_status); }; }; then
65688 glibcxx_cv_func_fmodl_use=yes
65689 else
65690 echo "$as_me: failed program was:" >&5
65691 sed 's/^/| /' conftest.$ac_ext >&5
65693 glibcxx_cv_func_fmodl_use=no
65695 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65696 ac_ext=c
65697 ac_cpp='$CPP $CPPFLAGS'
65698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65706 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
65707 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
65709 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
65711 for ac_func in fmodl
65713 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65714 echo "$as_me:$LINENO: checking for $ac_func" >&5
65715 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65716 if eval "test \"\${$as_ac_var+set}\" = set"; then
65717 echo $ECHO_N "(cached) $ECHO_C" >&6
65718 else
65719 if test x$gcc_no_link = xyes; then
65720 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65721 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65722 { (exit 1); exit 1; }; }
65724 cat >conftest.$ac_ext <<_ACEOF
65725 /* confdefs.h. */
65726 _ACEOF
65727 cat confdefs.h >>conftest.$ac_ext
65728 cat >>conftest.$ac_ext <<_ACEOF
65729 /* end confdefs.h. */
65730 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65731 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65732 #define $ac_func innocuous_$ac_func
65734 /* System header to define __stub macros and hopefully few prototypes,
65735 which can conflict with char $ac_func (); below.
65736 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65737 <limits.h> exists even on freestanding compilers. */
65739 #ifdef __STDC__
65740 # include <limits.h>
65741 #else
65742 # include <assert.h>
65743 #endif
65745 #undef $ac_func
65747 /* Override any gcc2 internal prototype to avoid an error. */
65748 #ifdef __cplusplus
65749 extern "C"
65751 #endif
65752 /* We use char because int might match the return type of a gcc2
65753 builtin and then its argument prototype would still apply. */
65754 char $ac_func ();
65755 /* The GNU C library defines this for functions which it implements
65756 to always fail with ENOSYS. Some functions are actually named
65757 something starting with __ and the normal name is an alias. */
65758 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65759 choke me
65760 #else
65761 char (*f) () = $ac_func;
65762 #endif
65763 #ifdef __cplusplus
65765 #endif
65768 main ()
65770 return f != $ac_func;
65772 return 0;
65774 _ACEOF
65775 rm -f conftest.$ac_objext conftest$ac_exeext
65776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65777 (eval $ac_link) 2>conftest.er1
65778 ac_status=$?
65779 grep -v '^ *+' conftest.er1 >conftest.err
65780 rm -f conftest.er1
65781 cat conftest.err >&5
65782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65783 (exit $ac_status); } &&
65784 { ac_try='test -z "$ac_c_werror_flag"
65785 || test ! -s conftest.err'
65786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65787 (eval $ac_try) 2>&5
65788 ac_status=$?
65789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65790 (exit $ac_status); }; } &&
65791 { ac_try='test -s conftest$ac_exeext'
65792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65793 (eval $ac_try) 2>&5
65794 ac_status=$?
65795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65796 (exit $ac_status); }; }; then
65797 eval "$as_ac_var=yes"
65798 else
65799 echo "$as_me: failed program was:" >&5
65800 sed 's/^/| /' conftest.$ac_ext >&5
65802 eval "$as_ac_var=no"
65804 rm -f conftest.err conftest.$ac_objext \
65805 conftest$ac_exeext conftest.$ac_ext
65807 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65808 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65809 if test `eval echo '${'$as_ac_var'}'` = yes; then
65810 cat >>confdefs.h <<_ACEOF
65811 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65812 _ACEOF
65815 done
65817 else
65819 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
65820 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
65821 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
65822 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
65823 echo $ECHO_N "(cached) $ECHO_C" >&6
65824 else
65828 ac_ext=cc
65829 ac_cpp='$CXXCPP $CPPFLAGS'
65830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65834 cat >conftest.$ac_ext <<_ACEOF
65835 /* confdefs.h. */
65836 _ACEOF
65837 cat confdefs.h >>conftest.$ac_ext
65838 cat >>conftest.$ac_ext <<_ACEOF
65839 /* end confdefs.h. */
65840 #include <math.h>
65842 main ()
65844 _fmodl(0, 0);
65846 return 0;
65848 _ACEOF
65849 rm -f conftest.$ac_objext
65850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65851 (eval $ac_compile) 2>conftest.er1
65852 ac_status=$?
65853 grep -v '^ *+' conftest.er1 >conftest.err
65854 rm -f conftest.er1
65855 cat conftest.err >&5
65856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65857 (exit $ac_status); } &&
65858 { ac_try='test -z "$ac_cxx_werror_flag"
65859 || test ! -s conftest.err'
65860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65861 (eval $ac_try) 2>&5
65862 ac_status=$?
65863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65864 (exit $ac_status); }; } &&
65865 { ac_try='test -s conftest.$ac_objext'
65866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65867 (eval $ac_try) 2>&5
65868 ac_status=$?
65869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65870 (exit $ac_status); }; }; then
65871 glibcxx_cv_func__fmodl_use=yes
65872 else
65873 echo "$as_me: failed program was:" >&5
65874 sed 's/^/| /' conftest.$ac_ext >&5
65876 glibcxx_cv_func__fmodl_use=no
65878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65879 ac_ext=c
65880 ac_cpp='$CPP $CPPFLAGS'
65881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65889 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
65890 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
65892 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
65894 for ac_func in _fmodl
65896 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65897 echo "$as_me:$LINENO: checking for $ac_func" >&5
65898 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65899 if eval "test \"\${$as_ac_var+set}\" = set"; then
65900 echo $ECHO_N "(cached) $ECHO_C" >&6
65901 else
65902 if test x$gcc_no_link = xyes; then
65903 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65904 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65905 { (exit 1); exit 1; }; }
65907 cat >conftest.$ac_ext <<_ACEOF
65908 /* confdefs.h. */
65909 _ACEOF
65910 cat confdefs.h >>conftest.$ac_ext
65911 cat >>conftest.$ac_ext <<_ACEOF
65912 /* end confdefs.h. */
65913 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65914 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65915 #define $ac_func innocuous_$ac_func
65917 /* System header to define __stub macros and hopefully few prototypes,
65918 which can conflict with char $ac_func (); below.
65919 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65920 <limits.h> exists even on freestanding compilers. */
65922 #ifdef __STDC__
65923 # include <limits.h>
65924 #else
65925 # include <assert.h>
65926 #endif
65928 #undef $ac_func
65930 /* Override any gcc2 internal prototype to avoid an error. */
65931 #ifdef __cplusplus
65932 extern "C"
65934 #endif
65935 /* We use char because int might match the return type of a gcc2
65936 builtin and then its argument prototype would still apply. */
65937 char $ac_func ();
65938 /* The GNU C library defines this for functions which it implements
65939 to always fail with ENOSYS. Some functions are actually named
65940 something starting with __ and the normal name is an alias. */
65941 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65942 choke me
65943 #else
65944 char (*f) () = $ac_func;
65945 #endif
65946 #ifdef __cplusplus
65948 #endif
65951 main ()
65953 return f != $ac_func;
65955 return 0;
65957 _ACEOF
65958 rm -f conftest.$ac_objext conftest$ac_exeext
65959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65960 (eval $ac_link) 2>conftest.er1
65961 ac_status=$?
65962 grep -v '^ *+' conftest.er1 >conftest.err
65963 rm -f conftest.er1
65964 cat conftest.err >&5
65965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65966 (exit $ac_status); } &&
65967 { ac_try='test -z "$ac_c_werror_flag"
65968 || test ! -s conftest.err'
65969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65970 (eval $ac_try) 2>&5
65971 ac_status=$?
65972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65973 (exit $ac_status); }; } &&
65974 { ac_try='test -s conftest$ac_exeext'
65975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65976 (eval $ac_try) 2>&5
65977 ac_status=$?
65978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65979 (exit $ac_status); }; }; then
65980 eval "$as_ac_var=yes"
65981 else
65982 echo "$as_me: failed program was:" >&5
65983 sed 's/^/| /' conftest.$ac_ext >&5
65985 eval "$as_ac_var=no"
65987 rm -f conftest.err conftest.$ac_objext \
65988 conftest$ac_exeext conftest.$ac_ext
65990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65991 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65992 if test `eval echo '${'$as_ac_var'}'` = yes; then
65993 cat >>confdefs.h <<_ACEOF
65994 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65995 _ACEOF
65998 done
66005 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
66006 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
66007 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
66008 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
66009 echo $ECHO_N "(cached) $ECHO_C" >&6
66010 else
66014 ac_ext=cc
66015 ac_cpp='$CXXCPP $CPPFLAGS'
66016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66020 cat >conftest.$ac_ext <<_ACEOF
66021 /* confdefs.h. */
66022 _ACEOF
66023 cat confdefs.h >>conftest.$ac_ext
66024 cat >>conftest.$ac_ext <<_ACEOF
66025 /* end confdefs.h. */
66026 #include <math.h>
66028 main ()
66030 frexpl(0, 0);
66032 return 0;
66034 _ACEOF
66035 rm -f conftest.$ac_objext
66036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66037 (eval $ac_compile) 2>conftest.er1
66038 ac_status=$?
66039 grep -v '^ *+' conftest.er1 >conftest.err
66040 rm -f conftest.er1
66041 cat conftest.err >&5
66042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66043 (exit $ac_status); } &&
66044 { ac_try='test -z "$ac_cxx_werror_flag"
66045 || test ! -s conftest.err'
66046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66047 (eval $ac_try) 2>&5
66048 ac_status=$?
66049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66050 (exit $ac_status); }; } &&
66051 { ac_try='test -s conftest.$ac_objext'
66052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66053 (eval $ac_try) 2>&5
66054 ac_status=$?
66055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66056 (exit $ac_status); }; }; then
66057 glibcxx_cv_func_frexpl_use=yes
66058 else
66059 echo "$as_me: failed program was:" >&5
66060 sed 's/^/| /' conftest.$ac_ext >&5
66062 glibcxx_cv_func_frexpl_use=no
66064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66065 ac_ext=c
66066 ac_cpp='$CPP $CPPFLAGS'
66067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66075 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
66076 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
66078 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
66080 for ac_func in frexpl
66082 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66083 echo "$as_me:$LINENO: checking for $ac_func" >&5
66084 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66085 if eval "test \"\${$as_ac_var+set}\" = set"; then
66086 echo $ECHO_N "(cached) $ECHO_C" >&6
66087 else
66088 if test x$gcc_no_link = xyes; then
66089 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66090 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66091 { (exit 1); exit 1; }; }
66093 cat >conftest.$ac_ext <<_ACEOF
66094 /* confdefs.h. */
66095 _ACEOF
66096 cat confdefs.h >>conftest.$ac_ext
66097 cat >>conftest.$ac_ext <<_ACEOF
66098 /* end confdefs.h. */
66099 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66100 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66101 #define $ac_func innocuous_$ac_func
66103 /* System header to define __stub macros and hopefully few prototypes,
66104 which can conflict with char $ac_func (); below.
66105 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66106 <limits.h> exists even on freestanding compilers. */
66108 #ifdef __STDC__
66109 # include <limits.h>
66110 #else
66111 # include <assert.h>
66112 #endif
66114 #undef $ac_func
66116 /* Override any gcc2 internal prototype to avoid an error. */
66117 #ifdef __cplusplus
66118 extern "C"
66120 #endif
66121 /* We use char because int might match the return type of a gcc2
66122 builtin and then its argument prototype would still apply. */
66123 char $ac_func ();
66124 /* The GNU C library defines this for functions which it implements
66125 to always fail with ENOSYS. Some functions are actually named
66126 something starting with __ and the normal name is an alias. */
66127 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66128 choke me
66129 #else
66130 char (*f) () = $ac_func;
66131 #endif
66132 #ifdef __cplusplus
66134 #endif
66137 main ()
66139 return f != $ac_func;
66141 return 0;
66143 _ACEOF
66144 rm -f conftest.$ac_objext conftest$ac_exeext
66145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66146 (eval $ac_link) 2>conftest.er1
66147 ac_status=$?
66148 grep -v '^ *+' conftest.er1 >conftest.err
66149 rm -f conftest.er1
66150 cat conftest.err >&5
66151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66152 (exit $ac_status); } &&
66153 { ac_try='test -z "$ac_c_werror_flag"
66154 || test ! -s conftest.err'
66155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66156 (eval $ac_try) 2>&5
66157 ac_status=$?
66158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66159 (exit $ac_status); }; } &&
66160 { ac_try='test -s conftest$ac_exeext'
66161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66162 (eval $ac_try) 2>&5
66163 ac_status=$?
66164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66165 (exit $ac_status); }; }; then
66166 eval "$as_ac_var=yes"
66167 else
66168 echo "$as_me: failed program was:" >&5
66169 sed 's/^/| /' conftest.$ac_ext >&5
66171 eval "$as_ac_var=no"
66173 rm -f conftest.err conftest.$ac_objext \
66174 conftest$ac_exeext conftest.$ac_ext
66176 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66177 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66178 if test `eval echo '${'$as_ac_var'}'` = yes; then
66179 cat >>confdefs.h <<_ACEOF
66180 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66181 _ACEOF
66184 done
66186 else
66188 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
66189 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
66190 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
66191 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
66192 echo $ECHO_N "(cached) $ECHO_C" >&6
66193 else
66197 ac_ext=cc
66198 ac_cpp='$CXXCPP $CPPFLAGS'
66199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66203 cat >conftest.$ac_ext <<_ACEOF
66204 /* confdefs.h. */
66205 _ACEOF
66206 cat confdefs.h >>conftest.$ac_ext
66207 cat >>conftest.$ac_ext <<_ACEOF
66208 /* end confdefs.h. */
66209 #include <math.h>
66211 main ()
66213 _frexpl(0, 0);
66215 return 0;
66217 _ACEOF
66218 rm -f conftest.$ac_objext
66219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66220 (eval $ac_compile) 2>conftest.er1
66221 ac_status=$?
66222 grep -v '^ *+' conftest.er1 >conftest.err
66223 rm -f conftest.er1
66224 cat conftest.err >&5
66225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66226 (exit $ac_status); } &&
66227 { ac_try='test -z "$ac_cxx_werror_flag"
66228 || test ! -s conftest.err'
66229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66230 (eval $ac_try) 2>&5
66231 ac_status=$?
66232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66233 (exit $ac_status); }; } &&
66234 { ac_try='test -s conftest.$ac_objext'
66235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66236 (eval $ac_try) 2>&5
66237 ac_status=$?
66238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66239 (exit $ac_status); }; }; then
66240 glibcxx_cv_func__frexpl_use=yes
66241 else
66242 echo "$as_me: failed program was:" >&5
66243 sed 's/^/| /' conftest.$ac_ext >&5
66245 glibcxx_cv_func__frexpl_use=no
66247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66248 ac_ext=c
66249 ac_cpp='$CPP $CPPFLAGS'
66250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66258 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
66259 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
66261 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
66263 for ac_func in _frexpl
66265 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66266 echo "$as_me:$LINENO: checking for $ac_func" >&5
66267 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66268 if eval "test \"\${$as_ac_var+set}\" = set"; then
66269 echo $ECHO_N "(cached) $ECHO_C" >&6
66270 else
66271 if test x$gcc_no_link = xyes; then
66272 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66273 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66274 { (exit 1); exit 1; }; }
66276 cat >conftest.$ac_ext <<_ACEOF
66277 /* confdefs.h. */
66278 _ACEOF
66279 cat confdefs.h >>conftest.$ac_ext
66280 cat >>conftest.$ac_ext <<_ACEOF
66281 /* end confdefs.h. */
66282 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66283 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66284 #define $ac_func innocuous_$ac_func
66286 /* System header to define __stub macros and hopefully few prototypes,
66287 which can conflict with char $ac_func (); below.
66288 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66289 <limits.h> exists even on freestanding compilers. */
66291 #ifdef __STDC__
66292 # include <limits.h>
66293 #else
66294 # include <assert.h>
66295 #endif
66297 #undef $ac_func
66299 /* Override any gcc2 internal prototype to avoid an error. */
66300 #ifdef __cplusplus
66301 extern "C"
66303 #endif
66304 /* We use char because int might match the return type of a gcc2
66305 builtin and then its argument prototype would still apply. */
66306 char $ac_func ();
66307 /* The GNU C library defines this for functions which it implements
66308 to always fail with ENOSYS. Some functions are actually named
66309 something starting with __ and the normal name is an alias. */
66310 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66311 choke me
66312 #else
66313 char (*f) () = $ac_func;
66314 #endif
66315 #ifdef __cplusplus
66317 #endif
66320 main ()
66322 return f != $ac_func;
66324 return 0;
66326 _ACEOF
66327 rm -f conftest.$ac_objext conftest$ac_exeext
66328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66329 (eval $ac_link) 2>conftest.er1
66330 ac_status=$?
66331 grep -v '^ *+' conftest.er1 >conftest.err
66332 rm -f conftest.er1
66333 cat conftest.err >&5
66334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66335 (exit $ac_status); } &&
66336 { ac_try='test -z "$ac_c_werror_flag"
66337 || test ! -s conftest.err'
66338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66339 (eval $ac_try) 2>&5
66340 ac_status=$?
66341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66342 (exit $ac_status); }; } &&
66343 { ac_try='test -s conftest$ac_exeext'
66344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66345 (eval $ac_try) 2>&5
66346 ac_status=$?
66347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66348 (exit $ac_status); }; }; then
66349 eval "$as_ac_var=yes"
66350 else
66351 echo "$as_me: failed program was:" >&5
66352 sed 's/^/| /' conftest.$ac_ext >&5
66354 eval "$as_ac_var=no"
66356 rm -f conftest.err conftest.$ac_objext \
66357 conftest$ac_exeext conftest.$ac_ext
66359 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66360 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66361 if test `eval echo '${'$as_ac_var'}'` = yes; then
66362 cat >>confdefs.h <<_ACEOF
66363 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66364 _ACEOF
66367 done
66374 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
66375 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
66376 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
66377 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
66378 echo $ECHO_N "(cached) $ECHO_C" >&6
66379 else
66383 ac_ext=cc
66384 ac_cpp='$CXXCPP $CPPFLAGS'
66385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66389 cat >conftest.$ac_ext <<_ACEOF
66390 /* confdefs.h. */
66391 _ACEOF
66392 cat confdefs.h >>conftest.$ac_ext
66393 cat >>conftest.$ac_ext <<_ACEOF
66394 /* end confdefs.h. */
66395 #include <math.h>
66397 main ()
66399 hypotl(0, 0);
66401 return 0;
66403 _ACEOF
66404 rm -f conftest.$ac_objext
66405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66406 (eval $ac_compile) 2>conftest.er1
66407 ac_status=$?
66408 grep -v '^ *+' conftest.er1 >conftest.err
66409 rm -f conftest.er1
66410 cat conftest.err >&5
66411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66412 (exit $ac_status); } &&
66413 { ac_try='test -z "$ac_cxx_werror_flag"
66414 || test ! -s conftest.err'
66415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66416 (eval $ac_try) 2>&5
66417 ac_status=$?
66418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66419 (exit $ac_status); }; } &&
66420 { ac_try='test -s conftest.$ac_objext'
66421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66422 (eval $ac_try) 2>&5
66423 ac_status=$?
66424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66425 (exit $ac_status); }; }; then
66426 glibcxx_cv_func_hypotl_use=yes
66427 else
66428 echo "$as_me: failed program was:" >&5
66429 sed 's/^/| /' conftest.$ac_ext >&5
66431 glibcxx_cv_func_hypotl_use=no
66433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66434 ac_ext=c
66435 ac_cpp='$CPP $CPPFLAGS'
66436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66444 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
66445 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
66447 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
66449 for ac_func in hypotl
66451 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66452 echo "$as_me:$LINENO: checking for $ac_func" >&5
66453 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66454 if eval "test \"\${$as_ac_var+set}\" = set"; then
66455 echo $ECHO_N "(cached) $ECHO_C" >&6
66456 else
66457 if test x$gcc_no_link = xyes; then
66458 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66459 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66460 { (exit 1); exit 1; }; }
66462 cat >conftest.$ac_ext <<_ACEOF
66463 /* confdefs.h. */
66464 _ACEOF
66465 cat confdefs.h >>conftest.$ac_ext
66466 cat >>conftest.$ac_ext <<_ACEOF
66467 /* end confdefs.h. */
66468 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66469 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66470 #define $ac_func innocuous_$ac_func
66472 /* System header to define __stub macros and hopefully few prototypes,
66473 which can conflict with char $ac_func (); below.
66474 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66475 <limits.h> exists even on freestanding compilers. */
66477 #ifdef __STDC__
66478 # include <limits.h>
66479 #else
66480 # include <assert.h>
66481 #endif
66483 #undef $ac_func
66485 /* Override any gcc2 internal prototype to avoid an error. */
66486 #ifdef __cplusplus
66487 extern "C"
66489 #endif
66490 /* We use char because int might match the return type of a gcc2
66491 builtin and then its argument prototype would still apply. */
66492 char $ac_func ();
66493 /* The GNU C library defines this for functions which it implements
66494 to always fail with ENOSYS. Some functions are actually named
66495 something starting with __ and the normal name is an alias. */
66496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66497 choke me
66498 #else
66499 char (*f) () = $ac_func;
66500 #endif
66501 #ifdef __cplusplus
66503 #endif
66506 main ()
66508 return f != $ac_func;
66510 return 0;
66512 _ACEOF
66513 rm -f conftest.$ac_objext conftest$ac_exeext
66514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66515 (eval $ac_link) 2>conftest.er1
66516 ac_status=$?
66517 grep -v '^ *+' conftest.er1 >conftest.err
66518 rm -f conftest.er1
66519 cat conftest.err >&5
66520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66521 (exit $ac_status); } &&
66522 { ac_try='test -z "$ac_c_werror_flag"
66523 || test ! -s conftest.err'
66524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66525 (eval $ac_try) 2>&5
66526 ac_status=$?
66527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66528 (exit $ac_status); }; } &&
66529 { ac_try='test -s conftest$ac_exeext'
66530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66531 (eval $ac_try) 2>&5
66532 ac_status=$?
66533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66534 (exit $ac_status); }; }; then
66535 eval "$as_ac_var=yes"
66536 else
66537 echo "$as_me: failed program was:" >&5
66538 sed 's/^/| /' conftest.$ac_ext >&5
66540 eval "$as_ac_var=no"
66542 rm -f conftest.err conftest.$ac_objext \
66543 conftest$ac_exeext conftest.$ac_ext
66545 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66546 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66547 if test `eval echo '${'$as_ac_var'}'` = yes; then
66548 cat >>confdefs.h <<_ACEOF
66549 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66550 _ACEOF
66553 done
66555 else
66557 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
66558 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
66559 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
66560 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
66561 echo $ECHO_N "(cached) $ECHO_C" >&6
66562 else
66566 ac_ext=cc
66567 ac_cpp='$CXXCPP $CPPFLAGS'
66568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66572 cat >conftest.$ac_ext <<_ACEOF
66573 /* confdefs.h. */
66574 _ACEOF
66575 cat confdefs.h >>conftest.$ac_ext
66576 cat >>conftest.$ac_ext <<_ACEOF
66577 /* end confdefs.h. */
66578 #include <math.h>
66580 main ()
66582 _hypotl(0, 0);
66584 return 0;
66586 _ACEOF
66587 rm -f conftest.$ac_objext
66588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66589 (eval $ac_compile) 2>conftest.er1
66590 ac_status=$?
66591 grep -v '^ *+' conftest.er1 >conftest.err
66592 rm -f conftest.er1
66593 cat conftest.err >&5
66594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66595 (exit $ac_status); } &&
66596 { ac_try='test -z "$ac_cxx_werror_flag"
66597 || test ! -s conftest.err'
66598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66599 (eval $ac_try) 2>&5
66600 ac_status=$?
66601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66602 (exit $ac_status); }; } &&
66603 { ac_try='test -s conftest.$ac_objext'
66604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66605 (eval $ac_try) 2>&5
66606 ac_status=$?
66607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66608 (exit $ac_status); }; }; then
66609 glibcxx_cv_func__hypotl_use=yes
66610 else
66611 echo "$as_me: failed program was:" >&5
66612 sed 's/^/| /' conftest.$ac_ext >&5
66614 glibcxx_cv_func__hypotl_use=no
66616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66617 ac_ext=c
66618 ac_cpp='$CPP $CPPFLAGS'
66619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66627 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
66628 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
66630 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
66632 for ac_func in _hypotl
66634 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66635 echo "$as_me:$LINENO: checking for $ac_func" >&5
66636 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66637 if eval "test \"\${$as_ac_var+set}\" = set"; then
66638 echo $ECHO_N "(cached) $ECHO_C" >&6
66639 else
66640 if test x$gcc_no_link = xyes; then
66641 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66642 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66643 { (exit 1); exit 1; }; }
66645 cat >conftest.$ac_ext <<_ACEOF
66646 /* confdefs.h. */
66647 _ACEOF
66648 cat confdefs.h >>conftest.$ac_ext
66649 cat >>conftest.$ac_ext <<_ACEOF
66650 /* end confdefs.h. */
66651 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66652 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66653 #define $ac_func innocuous_$ac_func
66655 /* System header to define __stub macros and hopefully few prototypes,
66656 which can conflict with char $ac_func (); below.
66657 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66658 <limits.h> exists even on freestanding compilers. */
66660 #ifdef __STDC__
66661 # include <limits.h>
66662 #else
66663 # include <assert.h>
66664 #endif
66666 #undef $ac_func
66668 /* Override any gcc2 internal prototype to avoid an error. */
66669 #ifdef __cplusplus
66670 extern "C"
66672 #endif
66673 /* We use char because int might match the return type of a gcc2
66674 builtin and then its argument prototype would still apply. */
66675 char $ac_func ();
66676 /* The GNU C library defines this for functions which it implements
66677 to always fail with ENOSYS. Some functions are actually named
66678 something starting with __ and the normal name is an alias. */
66679 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66680 choke me
66681 #else
66682 char (*f) () = $ac_func;
66683 #endif
66684 #ifdef __cplusplus
66686 #endif
66689 main ()
66691 return f != $ac_func;
66693 return 0;
66695 _ACEOF
66696 rm -f conftest.$ac_objext conftest$ac_exeext
66697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66698 (eval $ac_link) 2>conftest.er1
66699 ac_status=$?
66700 grep -v '^ *+' conftest.er1 >conftest.err
66701 rm -f conftest.er1
66702 cat conftest.err >&5
66703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66704 (exit $ac_status); } &&
66705 { ac_try='test -z "$ac_c_werror_flag"
66706 || test ! -s conftest.err'
66707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66708 (eval $ac_try) 2>&5
66709 ac_status=$?
66710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66711 (exit $ac_status); }; } &&
66712 { ac_try='test -s conftest$ac_exeext'
66713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66714 (eval $ac_try) 2>&5
66715 ac_status=$?
66716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66717 (exit $ac_status); }; }; then
66718 eval "$as_ac_var=yes"
66719 else
66720 echo "$as_me: failed program was:" >&5
66721 sed 's/^/| /' conftest.$ac_ext >&5
66723 eval "$as_ac_var=no"
66725 rm -f conftest.err conftest.$ac_objext \
66726 conftest$ac_exeext conftest.$ac_ext
66728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66729 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66730 if test `eval echo '${'$as_ac_var'}'` = yes; then
66731 cat >>confdefs.h <<_ACEOF
66732 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66733 _ACEOF
66736 done
66743 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
66744 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
66745 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
66746 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
66747 echo $ECHO_N "(cached) $ECHO_C" >&6
66748 else
66752 ac_ext=cc
66753 ac_cpp='$CXXCPP $CPPFLAGS'
66754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66758 cat >conftest.$ac_ext <<_ACEOF
66759 /* confdefs.h. */
66760 _ACEOF
66761 cat confdefs.h >>conftest.$ac_ext
66762 cat >>conftest.$ac_ext <<_ACEOF
66763 /* end confdefs.h. */
66764 #include <math.h>
66766 main ()
66768 ldexpl(0, 0);
66770 return 0;
66772 _ACEOF
66773 rm -f conftest.$ac_objext
66774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66775 (eval $ac_compile) 2>conftest.er1
66776 ac_status=$?
66777 grep -v '^ *+' conftest.er1 >conftest.err
66778 rm -f conftest.er1
66779 cat conftest.err >&5
66780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66781 (exit $ac_status); } &&
66782 { ac_try='test -z "$ac_cxx_werror_flag"
66783 || test ! -s conftest.err'
66784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66785 (eval $ac_try) 2>&5
66786 ac_status=$?
66787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66788 (exit $ac_status); }; } &&
66789 { ac_try='test -s conftest.$ac_objext'
66790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66791 (eval $ac_try) 2>&5
66792 ac_status=$?
66793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66794 (exit $ac_status); }; }; then
66795 glibcxx_cv_func_ldexpl_use=yes
66796 else
66797 echo "$as_me: failed program was:" >&5
66798 sed 's/^/| /' conftest.$ac_ext >&5
66800 glibcxx_cv_func_ldexpl_use=no
66802 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66803 ac_ext=c
66804 ac_cpp='$CPP $CPPFLAGS'
66805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66813 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
66814 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
66816 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
66818 for ac_func in ldexpl
66820 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66821 echo "$as_me:$LINENO: checking for $ac_func" >&5
66822 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66823 if eval "test \"\${$as_ac_var+set}\" = set"; then
66824 echo $ECHO_N "(cached) $ECHO_C" >&6
66825 else
66826 if test x$gcc_no_link = xyes; then
66827 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66828 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66829 { (exit 1); exit 1; }; }
66831 cat >conftest.$ac_ext <<_ACEOF
66832 /* confdefs.h. */
66833 _ACEOF
66834 cat confdefs.h >>conftest.$ac_ext
66835 cat >>conftest.$ac_ext <<_ACEOF
66836 /* end confdefs.h. */
66837 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66838 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66839 #define $ac_func innocuous_$ac_func
66841 /* System header to define __stub macros and hopefully few prototypes,
66842 which can conflict with char $ac_func (); below.
66843 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66844 <limits.h> exists even on freestanding compilers. */
66846 #ifdef __STDC__
66847 # include <limits.h>
66848 #else
66849 # include <assert.h>
66850 #endif
66852 #undef $ac_func
66854 /* Override any gcc2 internal prototype to avoid an error. */
66855 #ifdef __cplusplus
66856 extern "C"
66858 #endif
66859 /* We use char because int might match the return type of a gcc2
66860 builtin and then its argument prototype would still apply. */
66861 char $ac_func ();
66862 /* The GNU C library defines this for functions which it implements
66863 to always fail with ENOSYS. Some functions are actually named
66864 something starting with __ and the normal name is an alias. */
66865 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66866 choke me
66867 #else
66868 char (*f) () = $ac_func;
66869 #endif
66870 #ifdef __cplusplus
66872 #endif
66875 main ()
66877 return f != $ac_func;
66879 return 0;
66881 _ACEOF
66882 rm -f conftest.$ac_objext conftest$ac_exeext
66883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66884 (eval $ac_link) 2>conftest.er1
66885 ac_status=$?
66886 grep -v '^ *+' conftest.er1 >conftest.err
66887 rm -f conftest.er1
66888 cat conftest.err >&5
66889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66890 (exit $ac_status); } &&
66891 { ac_try='test -z "$ac_c_werror_flag"
66892 || test ! -s conftest.err'
66893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66894 (eval $ac_try) 2>&5
66895 ac_status=$?
66896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66897 (exit $ac_status); }; } &&
66898 { ac_try='test -s conftest$ac_exeext'
66899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66900 (eval $ac_try) 2>&5
66901 ac_status=$?
66902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66903 (exit $ac_status); }; }; then
66904 eval "$as_ac_var=yes"
66905 else
66906 echo "$as_me: failed program was:" >&5
66907 sed 's/^/| /' conftest.$ac_ext >&5
66909 eval "$as_ac_var=no"
66911 rm -f conftest.err conftest.$ac_objext \
66912 conftest$ac_exeext conftest.$ac_ext
66914 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66915 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66916 if test `eval echo '${'$as_ac_var'}'` = yes; then
66917 cat >>confdefs.h <<_ACEOF
66918 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66919 _ACEOF
66922 done
66924 else
66926 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
66927 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
66928 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
66929 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
66930 echo $ECHO_N "(cached) $ECHO_C" >&6
66931 else
66935 ac_ext=cc
66936 ac_cpp='$CXXCPP $CPPFLAGS'
66937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66941 cat >conftest.$ac_ext <<_ACEOF
66942 /* confdefs.h. */
66943 _ACEOF
66944 cat confdefs.h >>conftest.$ac_ext
66945 cat >>conftest.$ac_ext <<_ACEOF
66946 /* end confdefs.h. */
66947 #include <math.h>
66949 main ()
66951 _ldexpl(0, 0);
66953 return 0;
66955 _ACEOF
66956 rm -f conftest.$ac_objext
66957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66958 (eval $ac_compile) 2>conftest.er1
66959 ac_status=$?
66960 grep -v '^ *+' conftest.er1 >conftest.err
66961 rm -f conftest.er1
66962 cat conftest.err >&5
66963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66964 (exit $ac_status); } &&
66965 { ac_try='test -z "$ac_cxx_werror_flag"
66966 || test ! -s conftest.err'
66967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66968 (eval $ac_try) 2>&5
66969 ac_status=$?
66970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66971 (exit $ac_status); }; } &&
66972 { ac_try='test -s conftest.$ac_objext'
66973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66974 (eval $ac_try) 2>&5
66975 ac_status=$?
66976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66977 (exit $ac_status); }; }; then
66978 glibcxx_cv_func__ldexpl_use=yes
66979 else
66980 echo "$as_me: failed program was:" >&5
66981 sed 's/^/| /' conftest.$ac_ext >&5
66983 glibcxx_cv_func__ldexpl_use=no
66985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66986 ac_ext=c
66987 ac_cpp='$CPP $CPPFLAGS'
66988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66996 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
66997 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
66999 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
67001 for ac_func in _ldexpl
67003 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67004 echo "$as_me:$LINENO: checking for $ac_func" >&5
67005 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67006 if eval "test \"\${$as_ac_var+set}\" = set"; then
67007 echo $ECHO_N "(cached) $ECHO_C" >&6
67008 else
67009 if test x$gcc_no_link = xyes; then
67010 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67011 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67012 { (exit 1); exit 1; }; }
67014 cat >conftest.$ac_ext <<_ACEOF
67015 /* confdefs.h. */
67016 _ACEOF
67017 cat confdefs.h >>conftest.$ac_ext
67018 cat >>conftest.$ac_ext <<_ACEOF
67019 /* end confdefs.h. */
67020 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67021 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67022 #define $ac_func innocuous_$ac_func
67024 /* System header to define __stub macros and hopefully few prototypes,
67025 which can conflict with char $ac_func (); below.
67026 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67027 <limits.h> exists even on freestanding compilers. */
67029 #ifdef __STDC__
67030 # include <limits.h>
67031 #else
67032 # include <assert.h>
67033 #endif
67035 #undef $ac_func
67037 /* Override any gcc2 internal prototype to avoid an error. */
67038 #ifdef __cplusplus
67039 extern "C"
67041 #endif
67042 /* We use char because int might match the return type of a gcc2
67043 builtin and then its argument prototype would still apply. */
67044 char $ac_func ();
67045 /* The GNU C library defines this for functions which it implements
67046 to always fail with ENOSYS. Some functions are actually named
67047 something starting with __ and the normal name is an alias. */
67048 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67049 choke me
67050 #else
67051 char (*f) () = $ac_func;
67052 #endif
67053 #ifdef __cplusplus
67055 #endif
67058 main ()
67060 return f != $ac_func;
67062 return 0;
67064 _ACEOF
67065 rm -f conftest.$ac_objext conftest$ac_exeext
67066 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67067 (eval $ac_link) 2>conftest.er1
67068 ac_status=$?
67069 grep -v '^ *+' conftest.er1 >conftest.err
67070 rm -f conftest.er1
67071 cat conftest.err >&5
67072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67073 (exit $ac_status); } &&
67074 { ac_try='test -z "$ac_c_werror_flag"
67075 || test ! -s conftest.err'
67076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67077 (eval $ac_try) 2>&5
67078 ac_status=$?
67079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67080 (exit $ac_status); }; } &&
67081 { ac_try='test -s conftest$ac_exeext'
67082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67083 (eval $ac_try) 2>&5
67084 ac_status=$?
67085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67086 (exit $ac_status); }; }; then
67087 eval "$as_ac_var=yes"
67088 else
67089 echo "$as_me: failed program was:" >&5
67090 sed 's/^/| /' conftest.$ac_ext >&5
67092 eval "$as_ac_var=no"
67094 rm -f conftest.err conftest.$ac_objext \
67095 conftest$ac_exeext conftest.$ac_ext
67097 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67098 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67099 if test `eval echo '${'$as_ac_var'}'` = yes; then
67100 cat >>confdefs.h <<_ACEOF
67101 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67102 _ACEOF
67105 done
67112 echo "$as_me:$LINENO: checking for logl declaration" >&5
67113 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
67114 if test x${glibcxx_cv_func_logl_use+set} != xset; then
67115 if test "${glibcxx_cv_func_logl_use+set}" = set; then
67116 echo $ECHO_N "(cached) $ECHO_C" >&6
67117 else
67121 ac_ext=cc
67122 ac_cpp='$CXXCPP $CPPFLAGS'
67123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67127 cat >conftest.$ac_ext <<_ACEOF
67128 /* confdefs.h. */
67129 _ACEOF
67130 cat confdefs.h >>conftest.$ac_ext
67131 cat >>conftest.$ac_ext <<_ACEOF
67132 /* end confdefs.h. */
67133 #include <math.h>
67134 #ifdef HAVE_IEEEFP_H
67135 #include <ieeefp.h>
67136 #endif
67139 main ()
67141 logl(0);
67143 return 0;
67145 _ACEOF
67146 rm -f conftest.$ac_objext
67147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67148 (eval $ac_compile) 2>conftest.er1
67149 ac_status=$?
67150 grep -v '^ *+' conftest.er1 >conftest.err
67151 rm -f conftest.er1
67152 cat conftest.err >&5
67153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67154 (exit $ac_status); } &&
67155 { ac_try='test -z "$ac_cxx_werror_flag"
67156 || test ! -s conftest.err'
67157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67158 (eval $ac_try) 2>&5
67159 ac_status=$?
67160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67161 (exit $ac_status); }; } &&
67162 { ac_try='test -s conftest.$ac_objext'
67163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67164 (eval $ac_try) 2>&5
67165 ac_status=$?
67166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67167 (exit $ac_status); }; }; then
67168 glibcxx_cv_func_logl_use=yes
67169 else
67170 echo "$as_me: failed program was:" >&5
67171 sed 's/^/| /' conftest.$ac_ext >&5
67173 glibcxx_cv_func_logl_use=no
67175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67176 ac_ext=c
67177 ac_cpp='$CPP $CPPFLAGS'
67178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67186 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
67187 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
67189 if test x$glibcxx_cv_func_logl_use = x"yes"; then
67191 for ac_func in logl
67193 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67194 echo "$as_me:$LINENO: checking for $ac_func" >&5
67195 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67196 if eval "test \"\${$as_ac_var+set}\" = set"; then
67197 echo $ECHO_N "(cached) $ECHO_C" >&6
67198 else
67199 if test x$gcc_no_link = xyes; then
67200 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67201 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67202 { (exit 1); exit 1; }; }
67204 cat >conftest.$ac_ext <<_ACEOF
67205 /* confdefs.h. */
67206 _ACEOF
67207 cat confdefs.h >>conftest.$ac_ext
67208 cat >>conftest.$ac_ext <<_ACEOF
67209 /* end confdefs.h. */
67210 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67211 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67212 #define $ac_func innocuous_$ac_func
67214 /* System header to define __stub macros and hopefully few prototypes,
67215 which can conflict with char $ac_func (); below.
67216 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67217 <limits.h> exists even on freestanding compilers. */
67219 #ifdef __STDC__
67220 # include <limits.h>
67221 #else
67222 # include <assert.h>
67223 #endif
67225 #undef $ac_func
67227 /* Override any gcc2 internal prototype to avoid an error. */
67228 #ifdef __cplusplus
67229 extern "C"
67231 #endif
67232 /* We use char because int might match the return type of a gcc2
67233 builtin and then its argument prototype would still apply. */
67234 char $ac_func ();
67235 /* The GNU C library defines this for functions which it implements
67236 to always fail with ENOSYS. Some functions are actually named
67237 something starting with __ and the normal name is an alias. */
67238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67239 choke me
67240 #else
67241 char (*f) () = $ac_func;
67242 #endif
67243 #ifdef __cplusplus
67245 #endif
67248 main ()
67250 return f != $ac_func;
67252 return 0;
67254 _ACEOF
67255 rm -f conftest.$ac_objext conftest$ac_exeext
67256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67257 (eval $ac_link) 2>conftest.er1
67258 ac_status=$?
67259 grep -v '^ *+' conftest.er1 >conftest.err
67260 rm -f conftest.er1
67261 cat conftest.err >&5
67262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67263 (exit $ac_status); } &&
67264 { ac_try='test -z "$ac_c_werror_flag"
67265 || test ! -s conftest.err'
67266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67267 (eval $ac_try) 2>&5
67268 ac_status=$?
67269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67270 (exit $ac_status); }; } &&
67271 { ac_try='test -s conftest$ac_exeext'
67272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67273 (eval $ac_try) 2>&5
67274 ac_status=$?
67275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67276 (exit $ac_status); }; }; then
67277 eval "$as_ac_var=yes"
67278 else
67279 echo "$as_me: failed program was:" >&5
67280 sed 's/^/| /' conftest.$ac_ext >&5
67282 eval "$as_ac_var=no"
67284 rm -f conftest.err conftest.$ac_objext \
67285 conftest$ac_exeext conftest.$ac_ext
67287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67288 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67289 if test `eval echo '${'$as_ac_var'}'` = yes; then
67290 cat >>confdefs.h <<_ACEOF
67291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67292 _ACEOF
67295 done
67297 else
67299 echo "$as_me:$LINENO: checking for _logl declaration" >&5
67300 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
67301 if test x${glibcxx_cv_func__logl_use+set} != xset; then
67302 if test "${glibcxx_cv_func__logl_use+set}" = set; then
67303 echo $ECHO_N "(cached) $ECHO_C" >&6
67304 else
67308 ac_ext=cc
67309 ac_cpp='$CXXCPP $CPPFLAGS'
67310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67314 cat >conftest.$ac_ext <<_ACEOF
67315 /* confdefs.h. */
67316 _ACEOF
67317 cat confdefs.h >>conftest.$ac_ext
67318 cat >>conftest.$ac_ext <<_ACEOF
67319 /* end confdefs.h. */
67320 #include <math.h>
67321 #ifdef HAVE_IEEEFP_H
67322 #include <ieeefp.h>
67323 #endif
67326 main ()
67328 _logl(0);
67330 return 0;
67332 _ACEOF
67333 rm -f conftest.$ac_objext
67334 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67335 (eval $ac_compile) 2>conftest.er1
67336 ac_status=$?
67337 grep -v '^ *+' conftest.er1 >conftest.err
67338 rm -f conftest.er1
67339 cat conftest.err >&5
67340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67341 (exit $ac_status); } &&
67342 { ac_try='test -z "$ac_cxx_werror_flag"
67343 || test ! -s conftest.err'
67344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67345 (eval $ac_try) 2>&5
67346 ac_status=$?
67347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67348 (exit $ac_status); }; } &&
67349 { ac_try='test -s conftest.$ac_objext'
67350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67351 (eval $ac_try) 2>&5
67352 ac_status=$?
67353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67354 (exit $ac_status); }; }; then
67355 glibcxx_cv_func__logl_use=yes
67356 else
67357 echo "$as_me: failed program was:" >&5
67358 sed 's/^/| /' conftest.$ac_ext >&5
67360 glibcxx_cv_func__logl_use=no
67362 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67363 ac_ext=c
67364 ac_cpp='$CPP $CPPFLAGS'
67365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67373 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
67374 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
67376 if test x$glibcxx_cv_func__logl_use = x"yes"; then
67378 for ac_func in _logl
67380 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67381 echo "$as_me:$LINENO: checking for $ac_func" >&5
67382 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67383 if eval "test \"\${$as_ac_var+set}\" = set"; then
67384 echo $ECHO_N "(cached) $ECHO_C" >&6
67385 else
67386 if test x$gcc_no_link = xyes; then
67387 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67388 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67389 { (exit 1); exit 1; }; }
67391 cat >conftest.$ac_ext <<_ACEOF
67392 /* confdefs.h. */
67393 _ACEOF
67394 cat confdefs.h >>conftest.$ac_ext
67395 cat >>conftest.$ac_ext <<_ACEOF
67396 /* end confdefs.h. */
67397 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67398 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67399 #define $ac_func innocuous_$ac_func
67401 /* System header to define __stub macros and hopefully few prototypes,
67402 which can conflict with char $ac_func (); below.
67403 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67404 <limits.h> exists even on freestanding compilers. */
67406 #ifdef __STDC__
67407 # include <limits.h>
67408 #else
67409 # include <assert.h>
67410 #endif
67412 #undef $ac_func
67414 /* Override any gcc2 internal prototype to avoid an error. */
67415 #ifdef __cplusplus
67416 extern "C"
67418 #endif
67419 /* We use char because int might match the return type of a gcc2
67420 builtin and then its argument prototype would still apply. */
67421 char $ac_func ();
67422 /* The GNU C library defines this for functions which it implements
67423 to always fail with ENOSYS. Some functions are actually named
67424 something starting with __ and the normal name is an alias. */
67425 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67426 choke me
67427 #else
67428 char (*f) () = $ac_func;
67429 #endif
67430 #ifdef __cplusplus
67432 #endif
67435 main ()
67437 return f != $ac_func;
67439 return 0;
67441 _ACEOF
67442 rm -f conftest.$ac_objext conftest$ac_exeext
67443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67444 (eval $ac_link) 2>conftest.er1
67445 ac_status=$?
67446 grep -v '^ *+' conftest.er1 >conftest.err
67447 rm -f conftest.er1
67448 cat conftest.err >&5
67449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67450 (exit $ac_status); } &&
67451 { ac_try='test -z "$ac_c_werror_flag"
67452 || test ! -s conftest.err'
67453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67454 (eval $ac_try) 2>&5
67455 ac_status=$?
67456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67457 (exit $ac_status); }; } &&
67458 { ac_try='test -s conftest$ac_exeext'
67459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67460 (eval $ac_try) 2>&5
67461 ac_status=$?
67462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67463 (exit $ac_status); }; }; then
67464 eval "$as_ac_var=yes"
67465 else
67466 echo "$as_me: failed program was:" >&5
67467 sed 's/^/| /' conftest.$ac_ext >&5
67469 eval "$as_ac_var=no"
67471 rm -f conftest.err conftest.$ac_objext \
67472 conftest$ac_exeext conftest.$ac_ext
67474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67475 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67476 if test `eval echo '${'$as_ac_var'}'` = yes; then
67477 cat >>confdefs.h <<_ACEOF
67478 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67479 _ACEOF
67482 done
67489 echo "$as_me:$LINENO: checking for log10l declaration" >&5
67490 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
67491 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
67492 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
67493 echo $ECHO_N "(cached) $ECHO_C" >&6
67494 else
67498 ac_ext=cc
67499 ac_cpp='$CXXCPP $CPPFLAGS'
67500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67504 cat >conftest.$ac_ext <<_ACEOF
67505 /* confdefs.h. */
67506 _ACEOF
67507 cat confdefs.h >>conftest.$ac_ext
67508 cat >>conftest.$ac_ext <<_ACEOF
67509 /* end confdefs.h. */
67510 #include <math.h>
67511 #ifdef HAVE_IEEEFP_H
67512 #include <ieeefp.h>
67513 #endif
67516 main ()
67518 log10l(0);
67520 return 0;
67522 _ACEOF
67523 rm -f conftest.$ac_objext
67524 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67525 (eval $ac_compile) 2>conftest.er1
67526 ac_status=$?
67527 grep -v '^ *+' conftest.er1 >conftest.err
67528 rm -f conftest.er1
67529 cat conftest.err >&5
67530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67531 (exit $ac_status); } &&
67532 { ac_try='test -z "$ac_cxx_werror_flag"
67533 || test ! -s conftest.err'
67534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67535 (eval $ac_try) 2>&5
67536 ac_status=$?
67537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67538 (exit $ac_status); }; } &&
67539 { ac_try='test -s conftest.$ac_objext'
67540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67541 (eval $ac_try) 2>&5
67542 ac_status=$?
67543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67544 (exit $ac_status); }; }; then
67545 glibcxx_cv_func_log10l_use=yes
67546 else
67547 echo "$as_me: failed program was:" >&5
67548 sed 's/^/| /' conftest.$ac_ext >&5
67550 glibcxx_cv_func_log10l_use=no
67552 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67553 ac_ext=c
67554 ac_cpp='$CPP $CPPFLAGS'
67555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67563 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
67564 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
67566 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
67568 for ac_func in log10l
67570 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67571 echo "$as_me:$LINENO: checking for $ac_func" >&5
67572 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67573 if eval "test \"\${$as_ac_var+set}\" = set"; then
67574 echo $ECHO_N "(cached) $ECHO_C" >&6
67575 else
67576 if test x$gcc_no_link = xyes; then
67577 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67578 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67579 { (exit 1); exit 1; }; }
67581 cat >conftest.$ac_ext <<_ACEOF
67582 /* confdefs.h. */
67583 _ACEOF
67584 cat confdefs.h >>conftest.$ac_ext
67585 cat >>conftest.$ac_ext <<_ACEOF
67586 /* end confdefs.h. */
67587 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67588 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67589 #define $ac_func innocuous_$ac_func
67591 /* System header to define __stub macros and hopefully few prototypes,
67592 which can conflict with char $ac_func (); below.
67593 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67594 <limits.h> exists even on freestanding compilers. */
67596 #ifdef __STDC__
67597 # include <limits.h>
67598 #else
67599 # include <assert.h>
67600 #endif
67602 #undef $ac_func
67604 /* Override any gcc2 internal prototype to avoid an error. */
67605 #ifdef __cplusplus
67606 extern "C"
67608 #endif
67609 /* We use char because int might match the return type of a gcc2
67610 builtin and then its argument prototype would still apply. */
67611 char $ac_func ();
67612 /* The GNU C library defines this for functions which it implements
67613 to always fail with ENOSYS. Some functions are actually named
67614 something starting with __ and the normal name is an alias. */
67615 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67616 choke me
67617 #else
67618 char (*f) () = $ac_func;
67619 #endif
67620 #ifdef __cplusplus
67622 #endif
67625 main ()
67627 return f != $ac_func;
67629 return 0;
67631 _ACEOF
67632 rm -f conftest.$ac_objext conftest$ac_exeext
67633 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67634 (eval $ac_link) 2>conftest.er1
67635 ac_status=$?
67636 grep -v '^ *+' conftest.er1 >conftest.err
67637 rm -f conftest.er1
67638 cat conftest.err >&5
67639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67640 (exit $ac_status); } &&
67641 { ac_try='test -z "$ac_c_werror_flag"
67642 || test ! -s conftest.err'
67643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67644 (eval $ac_try) 2>&5
67645 ac_status=$?
67646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67647 (exit $ac_status); }; } &&
67648 { ac_try='test -s conftest$ac_exeext'
67649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67650 (eval $ac_try) 2>&5
67651 ac_status=$?
67652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67653 (exit $ac_status); }; }; then
67654 eval "$as_ac_var=yes"
67655 else
67656 echo "$as_me: failed program was:" >&5
67657 sed 's/^/| /' conftest.$ac_ext >&5
67659 eval "$as_ac_var=no"
67661 rm -f conftest.err conftest.$ac_objext \
67662 conftest$ac_exeext conftest.$ac_ext
67664 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67665 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67666 if test `eval echo '${'$as_ac_var'}'` = yes; then
67667 cat >>confdefs.h <<_ACEOF
67668 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67669 _ACEOF
67672 done
67674 else
67676 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
67677 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
67678 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
67679 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
67680 echo $ECHO_N "(cached) $ECHO_C" >&6
67681 else
67685 ac_ext=cc
67686 ac_cpp='$CXXCPP $CPPFLAGS'
67687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67691 cat >conftest.$ac_ext <<_ACEOF
67692 /* confdefs.h. */
67693 _ACEOF
67694 cat confdefs.h >>conftest.$ac_ext
67695 cat >>conftest.$ac_ext <<_ACEOF
67696 /* end confdefs.h. */
67697 #include <math.h>
67698 #ifdef HAVE_IEEEFP_H
67699 #include <ieeefp.h>
67700 #endif
67703 main ()
67705 _log10l(0);
67707 return 0;
67709 _ACEOF
67710 rm -f conftest.$ac_objext
67711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67712 (eval $ac_compile) 2>conftest.er1
67713 ac_status=$?
67714 grep -v '^ *+' conftest.er1 >conftest.err
67715 rm -f conftest.er1
67716 cat conftest.err >&5
67717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67718 (exit $ac_status); } &&
67719 { ac_try='test -z "$ac_cxx_werror_flag"
67720 || test ! -s conftest.err'
67721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67722 (eval $ac_try) 2>&5
67723 ac_status=$?
67724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67725 (exit $ac_status); }; } &&
67726 { ac_try='test -s conftest.$ac_objext'
67727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67728 (eval $ac_try) 2>&5
67729 ac_status=$?
67730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67731 (exit $ac_status); }; }; then
67732 glibcxx_cv_func__log10l_use=yes
67733 else
67734 echo "$as_me: failed program was:" >&5
67735 sed 's/^/| /' conftest.$ac_ext >&5
67737 glibcxx_cv_func__log10l_use=no
67739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67740 ac_ext=c
67741 ac_cpp='$CPP $CPPFLAGS'
67742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67750 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
67751 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
67753 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
67755 for ac_func in _log10l
67757 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67758 echo "$as_me:$LINENO: checking for $ac_func" >&5
67759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67760 if eval "test \"\${$as_ac_var+set}\" = set"; then
67761 echo $ECHO_N "(cached) $ECHO_C" >&6
67762 else
67763 if test x$gcc_no_link = xyes; then
67764 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67765 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67766 { (exit 1); exit 1; }; }
67768 cat >conftest.$ac_ext <<_ACEOF
67769 /* confdefs.h. */
67770 _ACEOF
67771 cat confdefs.h >>conftest.$ac_ext
67772 cat >>conftest.$ac_ext <<_ACEOF
67773 /* end confdefs.h. */
67774 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67775 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67776 #define $ac_func innocuous_$ac_func
67778 /* System header to define __stub macros and hopefully few prototypes,
67779 which can conflict with char $ac_func (); below.
67780 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67781 <limits.h> exists even on freestanding compilers. */
67783 #ifdef __STDC__
67784 # include <limits.h>
67785 #else
67786 # include <assert.h>
67787 #endif
67789 #undef $ac_func
67791 /* Override any gcc2 internal prototype to avoid an error. */
67792 #ifdef __cplusplus
67793 extern "C"
67795 #endif
67796 /* We use char because int might match the return type of a gcc2
67797 builtin and then its argument prototype would still apply. */
67798 char $ac_func ();
67799 /* The GNU C library defines this for functions which it implements
67800 to always fail with ENOSYS. Some functions are actually named
67801 something starting with __ and the normal name is an alias. */
67802 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67803 choke me
67804 #else
67805 char (*f) () = $ac_func;
67806 #endif
67807 #ifdef __cplusplus
67809 #endif
67812 main ()
67814 return f != $ac_func;
67816 return 0;
67818 _ACEOF
67819 rm -f conftest.$ac_objext conftest$ac_exeext
67820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67821 (eval $ac_link) 2>conftest.er1
67822 ac_status=$?
67823 grep -v '^ *+' conftest.er1 >conftest.err
67824 rm -f conftest.er1
67825 cat conftest.err >&5
67826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67827 (exit $ac_status); } &&
67828 { ac_try='test -z "$ac_c_werror_flag"
67829 || test ! -s conftest.err'
67830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67831 (eval $ac_try) 2>&5
67832 ac_status=$?
67833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67834 (exit $ac_status); }; } &&
67835 { ac_try='test -s conftest$ac_exeext'
67836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67837 (eval $ac_try) 2>&5
67838 ac_status=$?
67839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67840 (exit $ac_status); }; }; then
67841 eval "$as_ac_var=yes"
67842 else
67843 echo "$as_me: failed program was:" >&5
67844 sed 's/^/| /' conftest.$ac_ext >&5
67846 eval "$as_ac_var=no"
67848 rm -f conftest.err conftest.$ac_objext \
67849 conftest$ac_exeext conftest.$ac_ext
67851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67852 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67853 if test `eval echo '${'$as_ac_var'}'` = yes; then
67854 cat >>confdefs.h <<_ACEOF
67855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67856 _ACEOF
67859 done
67866 echo "$as_me:$LINENO: checking for modfl declaration" >&5
67867 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
67868 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
67869 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
67870 echo $ECHO_N "(cached) $ECHO_C" >&6
67871 else
67875 ac_ext=cc
67876 ac_cpp='$CXXCPP $CPPFLAGS'
67877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67881 cat >conftest.$ac_ext <<_ACEOF
67882 /* confdefs.h. */
67883 _ACEOF
67884 cat confdefs.h >>conftest.$ac_ext
67885 cat >>conftest.$ac_ext <<_ACEOF
67886 /* end confdefs.h. */
67887 #include <math.h>
67889 main ()
67891 modfl(0, 0);
67893 return 0;
67895 _ACEOF
67896 rm -f conftest.$ac_objext
67897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67898 (eval $ac_compile) 2>conftest.er1
67899 ac_status=$?
67900 grep -v '^ *+' conftest.er1 >conftest.err
67901 rm -f conftest.er1
67902 cat conftest.err >&5
67903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67904 (exit $ac_status); } &&
67905 { ac_try='test -z "$ac_cxx_werror_flag"
67906 || test ! -s conftest.err'
67907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67908 (eval $ac_try) 2>&5
67909 ac_status=$?
67910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67911 (exit $ac_status); }; } &&
67912 { ac_try='test -s conftest.$ac_objext'
67913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67914 (eval $ac_try) 2>&5
67915 ac_status=$?
67916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67917 (exit $ac_status); }; }; then
67918 glibcxx_cv_func_modfl_use=yes
67919 else
67920 echo "$as_me: failed program was:" >&5
67921 sed 's/^/| /' conftest.$ac_ext >&5
67923 glibcxx_cv_func_modfl_use=no
67925 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67926 ac_ext=c
67927 ac_cpp='$CPP $CPPFLAGS'
67928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67936 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
67937 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
67939 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
67941 for ac_func in modfl
67943 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67944 echo "$as_me:$LINENO: checking for $ac_func" >&5
67945 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67946 if eval "test \"\${$as_ac_var+set}\" = set"; then
67947 echo $ECHO_N "(cached) $ECHO_C" >&6
67948 else
67949 if test x$gcc_no_link = xyes; then
67950 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67952 { (exit 1); exit 1; }; }
67954 cat >conftest.$ac_ext <<_ACEOF
67955 /* confdefs.h. */
67956 _ACEOF
67957 cat confdefs.h >>conftest.$ac_ext
67958 cat >>conftest.$ac_ext <<_ACEOF
67959 /* end confdefs.h. */
67960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67962 #define $ac_func innocuous_$ac_func
67964 /* System header to define __stub macros and hopefully few prototypes,
67965 which can conflict with char $ac_func (); below.
67966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67967 <limits.h> exists even on freestanding compilers. */
67969 #ifdef __STDC__
67970 # include <limits.h>
67971 #else
67972 # include <assert.h>
67973 #endif
67975 #undef $ac_func
67977 /* Override any gcc2 internal prototype to avoid an error. */
67978 #ifdef __cplusplus
67979 extern "C"
67981 #endif
67982 /* We use char because int might match the return type of a gcc2
67983 builtin and then its argument prototype would still apply. */
67984 char $ac_func ();
67985 /* The GNU C library defines this for functions which it implements
67986 to always fail with ENOSYS. Some functions are actually named
67987 something starting with __ and the normal name is an alias. */
67988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67989 choke me
67990 #else
67991 char (*f) () = $ac_func;
67992 #endif
67993 #ifdef __cplusplus
67995 #endif
67998 main ()
68000 return f != $ac_func;
68002 return 0;
68004 _ACEOF
68005 rm -f conftest.$ac_objext conftest$ac_exeext
68006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68007 (eval $ac_link) 2>conftest.er1
68008 ac_status=$?
68009 grep -v '^ *+' conftest.er1 >conftest.err
68010 rm -f conftest.er1
68011 cat conftest.err >&5
68012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68013 (exit $ac_status); } &&
68014 { ac_try='test -z "$ac_c_werror_flag"
68015 || test ! -s conftest.err'
68016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68017 (eval $ac_try) 2>&5
68018 ac_status=$?
68019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68020 (exit $ac_status); }; } &&
68021 { ac_try='test -s conftest$ac_exeext'
68022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68023 (eval $ac_try) 2>&5
68024 ac_status=$?
68025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68026 (exit $ac_status); }; }; then
68027 eval "$as_ac_var=yes"
68028 else
68029 echo "$as_me: failed program was:" >&5
68030 sed 's/^/| /' conftest.$ac_ext >&5
68032 eval "$as_ac_var=no"
68034 rm -f conftest.err conftest.$ac_objext \
68035 conftest$ac_exeext conftest.$ac_ext
68037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68038 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68039 if test `eval echo '${'$as_ac_var'}'` = yes; then
68040 cat >>confdefs.h <<_ACEOF
68041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68042 _ACEOF
68045 done
68047 else
68049 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
68050 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
68051 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
68052 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
68053 echo $ECHO_N "(cached) $ECHO_C" >&6
68054 else
68058 ac_ext=cc
68059 ac_cpp='$CXXCPP $CPPFLAGS'
68060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68064 cat >conftest.$ac_ext <<_ACEOF
68065 /* confdefs.h. */
68066 _ACEOF
68067 cat confdefs.h >>conftest.$ac_ext
68068 cat >>conftest.$ac_ext <<_ACEOF
68069 /* end confdefs.h. */
68070 #include <math.h>
68072 main ()
68074 _modfl(0, 0);
68076 return 0;
68078 _ACEOF
68079 rm -f conftest.$ac_objext
68080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68081 (eval $ac_compile) 2>conftest.er1
68082 ac_status=$?
68083 grep -v '^ *+' conftest.er1 >conftest.err
68084 rm -f conftest.er1
68085 cat conftest.err >&5
68086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68087 (exit $ac_status); } &&
68088 { ac_try='test -z "$ac_cxx_werror_flag"
68089 || test ! -s conftest.err'
68090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68091 (eval $ac_try) 2>&5
68092 ac_status=$?
68093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68094 (exit $ac_status); }; } &&
68095 { ac_try='test -s conftest.$ac_objext'
68096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68097 (eval $ac_try) 2>&5
68098 ac_status=$?
68099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68100 (exit $ac_status); }; }; then
68101 glibcxx_cv_func__modfl_use=yes
68102 else
68103 echo "$as_me: failed program was:" >&5
68104 sed 's/^/| /' conftest.$ac_ext >&5
68106 glibcxx_cv_func__modfl_use=no
68108 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68109 ac_ext=c
68110 ac_cpp='$CPP $CPPFLAGS'
68111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68119 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
68120 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
68122 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
68124 for ac_func in _modfl
68126 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68127 echo "$as_me:$LINENO: checking for $ac_func" >&5
68128 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68129 if eval "test \"\${$as_ac_var+set}\" = set"; then
68130 echo $ECHO_N "(cached) $ECHO_C" >&6
68131 else
68132 if test x$gcc_no_link = xyes; then
68133 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68134 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68135 { (exit 1); exit 1; }; }
68137 cat >conftest.$ac_ext <<_ACEOF
68138 /* confdefs.h. */
68139 _ACEOF
68140 cat confdefs.h >>conftest.$ac_ext
68141 cat >>conftest.$ac_ext <<_ACEOF
68142 /* end confdefs.h. */
68143 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68144 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68145 #define $ac_func innocuous_$ac_func
68147 /* System header to define __stub macros and hopefully few prototypes,
68148 which can conflict with char $ac_func (); below.
68149 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68150 <limits.h> exists even on freestanding compilers. */
68152 #ifdef __STDC__
68153 # include <limits.h>
68154 #else
68155 # include <assert.h>
68156 #endif
68158 #undef $ac_func
68160 /* Override any gcc2 internal prototype to avoid an error. */
68161 #ifdef __cplusplus
68162 extern "C"
68164 #endif
68165 /* We use char because int might match the return type of a gcc2
68166 builtin and then its argument prototype would still apply. */
68167 char $ac_func ();
68168 /* The GNU C library defines this for functions which it implements
68169 to always fail with ENOSYS. Some functions are actually named
68170 something starting with __ and the normal name is an alias. */
68171 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68172 choke me
68173 #else
68174 char (*f) () = $ac_func;
68175 #endif
68176 #ifdef __cplusplus
68178 #endif
68181 main ()
68183 return f != $ac_func;
68185 return 0;
68187 _ACEOF
68188 rm -f conftest.$ac_objext conftest$ac_exeext
68189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68190 (eval $ac_link) 2>conftest.er1
68191 ac_status=$?
68192 grep -v '^ *+' conftest.er1 >conftest.err
68193 rm -f conftest.er1
68194 cat conftest.err >&5
68195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68196 (exit $ac_status); } &&
68197 { ac_try='test -z "$ac_c_werror_flag"
68198 || test ! -s conftest.err'
68199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68200 (eval $ac_try) 2>&5
68201 ac_status=$?
68202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68203 (exit $ac_status); }; } &&
68204 { ac_try='test -s conftest$ac_exeext'
68205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68206 (eval $ac_try) 2>&5
68207 ac_status=$?
68208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68209 (exit $ac_status); }; }; then
68210 eval "$as_ac_var=yes"
68211 else
68212 echo "$as_me: failed program was:" >&5
68213 sed 's/^/| /' conftest.$ac_ext >&5
68215 eval "$as_ac_var=no"
68217 rm -f conftest.err conftest.$ac_objext \
68218 conftest$ac_exeext conftest.$ac_ext
68220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68221 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68222 if test `eval echo '${'$as_ac_var'}'` = yes; then
68223 cat >>confdefs.h <<_ACEOF
68224 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68225 _ACEOF
68228 done
68235 echo "$as_me:$LINENO: checking for powl declaration" >&5
68236 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
68237 if test x${glibcxx_cv_func_powl_use+set} != xset; then
68238 if test "${glibcxx_cv_func_powl_use+set}" = set; then
68239 echo $ECHO_N "(cached) $ECHO_C" >&6
68240 else
68244 ac_ext=cc
68245 ac_cpp='$CXXCPP $CPPFLAGS'
68246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68250 cat >conftest.$ac_ext <<_ACEOF
68251 /* confdefs.h. */
68252 _ACEOF
68253 cat confdefs.h >>conftest.$ac_ext
68254 cat >>conftest.$ac_ext <<_ACEOF
68255 /* end confdefs.h. */
68256 #include <math.h>
68258 main ()
68260 powl(0, 0);
68262 return 0;
68264 _ACEOF
68265 rm -f conftest.$ac_objext
68266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68267 (eval $ac_compile) 2>conftest.er1
68268 ac_status=$?
68269 grep -v '^ *+' conftest.er1 >conftest.err
68270 rm -f conftest.er1
68271 cat conftest.err >&5
68272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68273 (exit $ac_status); } &&
68274 { ac_try='test -z "$ac_cxx_werror_flag"
68275 || test ! -s conftest.err'
68276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68277 (eval $ac_try) 2>&5
68278 ac_status=$?
68279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68280 (exit $ac_status); }; } &&
68281 { ac_try='test -s conftest.$ac_objext'
68282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68283 (eval $ac_try) 2>&5
68284 ac_status=$?
68285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68286 (exit $ac_status); }; }; then
68287 glibcxx_cv_func_powl_use=yes
68288 else
68289 echo "$as_me: failed program was:" >&5
68290 sed 's/^/| /' conftest.$ac_ext >&5
68292 glibcxx_cv_func_powl_use=no
68294 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68295 ac_ext=c
68296 ac_cpp='$CPP $CPPFLAGS'
68297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68305 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
68306 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
68308 if test x$glibcxx_cv_func_powl_use = x"yes"; then
68310 for ac_func in powl
68312 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68313 echo "$as_me:$LINENO: checking for $ac_func" >&5
68314 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68315 if eval "test \"\${$as_ac_var+set}\" = set"; then
68316 echo $ECHO_N "(cached) $ECHO_C" >&6
68317 else
68318 if test x$gcc_no_link = xyes; then
68319 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68320 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68321 { (exit 1); exit 1; }; }
68323 cat >conftest.$ac_ext <<_ACEOF
68324 /* confdefs.h. */
68325 _ACEOF
68326 cat confdefs.h >>conftest.$ac_ext
68327 cat >>conftest.$ac_ext <<_ACEOF
68328 /* end confdefs.h. */
68329 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68330 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68331 #define $ac_func innocuous_$ac_func
68333 /* System header to define __stub macros and hopefully few prototypes,
68334 which can conflict with char $ac_func (); below.
68335 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68336 <limits.h> exists even on freestanding compilers. */
68338 #ifdef __STDC__
68339 # include <limits.h>
68340 #else
68341 # include <assert.h>
68342 #endif
68344 #undef $ac_func
68346 /* Override any gcc2 internal prototype to avoid an error. */
68347 #ifdef __cplusplus
68348 extern "C"
68350 #endif
68351 /* We use char because int might match the return type of a gcc2
68352 builtin and then its argument prototype would still apply. */
68353 char $ac_func ();
68354 /* The GNU C library defines this for functions which it implements
68355 to always fail with ENOSYS. Some functions are actually named
68356 something starting with __ and the normal name is an alias. */
68357 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68358 choke me
68359 #else
68360 char (*f) () = $ac_func;
68361 #endif
68362 #ifdef __cplusplus
68364 #endif
68367 main ()
68369 return f != $ac_func;
68371 return 0;
68373 _ACEOF
68374 rm -f conftest.$ac_objext conftest$ac_exeext
68375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68376 (eval $ac_link) 2>conftest.er1
68377 ac_status=$?
68378 grep -v '^ *+' conftest.er1 >conftest.err
68379 rm -f conftest.er1
68380 cat conftest.err >&5
68381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68382 (exit $ac_status); } &&
68383 { ac_try='test -z "$ac_c_werror_flag"
68384 || test ! -s conftest.err'
68385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68386 (eval $ac_try) 2>&5
68387 ac_status=$?
68388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68389 (exit $ac_status); }; } &&
68390 { ac_try='test -s conftest$ac_exeext'
68391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68392 (eval $ac_try) 2>&5
68393 ac_status=$?
68394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68395 (exit $ac_status); }; }; then
68396 eval "$as_ac_var=yes"
68397 else
68398 echo "$as_me: failed program was:" >&5
68399 sed 's/^/| /' conftest.$ac_ext >&5
68401 eval "$as_ac_var=no"
68403 rm -f conftest.err conftest.$ac_objext \
68404 conftest$ac_exeext conftest.$ac_ext
68406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68407 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68408 if test `eval echo '${'$as_ac_var'}'` = yes; then
68409 cat >>confdefs.h <<_ACEOF
68410 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68411 _ACEOF
68414 done
68416 else
68418 echo "$as_me:$LINENO: checking for _powl declaration" >&5
68419 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
68420 if test x${glibcxx_cv_func__powl_use+set} != xset; then
68421 if test "${glibcxx_cv_func__powl_use+set}" = set; then
68422 echo $ECHO_N "(cached) $ECHO_C" >&6
68423 else
68427 ac_ext=cc
68428 ac_cpp='$CXXCPP $CPPFLAGS'
68429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68433 cat >conftest.$ac_ext <<_ACEOF
68434 /* confdefs.h. */
68435 _ACEOF
68436 cat confdefs.h >>conftest.$ac_ext
68437 cat >>conftest.$ac_ext <<_ACEOF
68438 /* end confdefs.h. */
68439 #include <math.h>
68441 main ()
68443 _powl(0, 0);
68445 return 0;
68447 _ACEOF
68448 rm -f conftest.$ac_objext
68449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68450 (eval $ac_compile) 2>conftest.er1
68451 ac_status=$?
68452 grep -v '^ *+' conftest.er1 >conftest.err
68453 rm -f conftest.er1
68454 cat conftest.err >&5
68455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68456 (exit $ac_status); } &&
68457 { ac_try='test -z "$ac_cxx_werror_flag"
68458 || test ! -s conftest.err'
68459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68460 (eval $ac_try) 2>&5
68461 ac_status=$?
68462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68463 (exit $ac_status); }; } &&
68464 { ac_try='test -s conftest.$ac_objext'
68465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68466 (eval $ac_try) 2>&5
68467 ac_status=$?
68468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68469 (exit $ac_status); }; }; then
68470 glibcxx_cv_func__powl_use=yes
68471 else
68472 echo "$as_me: failed program was:" >&5
68473 sed 's/^/| /' conftest.$ac_ext >&5
68475 glibcxx_cv_func__powl_use=no
68477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68478 ac_ext=c
68479 ac_cpp='$CPP $CPPFLAGS'
68480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68488 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
68489 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
68491 if test x$glibcxx_cv_func__powl_use = x"yes"; then
68493 for ac_func in _powl
68495 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68496 echo "$as_me:$LINENO: checking for $ac_func" >&5
68497 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68498 if eval "test \"\${$as_ac_var+set}\" = set"; then
68499 echo $ECHO_N "(cached) $ECHO_C" >&6
68500 else
68501 if test x$gcc_no_link = xyes; then
68502 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68503 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68504 { (exit 1); exit 1; }; }
68506 cat >conftest.$ac_ext <<_ACEOF
68507 /* confdefs.h. */
68508 _ACEOF
68509 cat confdefs.h >>conftest.$ac_ext
68510 cat >>conftest.$ac_ext <<_ACEOF
68511 /* end confdefs.h. */
68512 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68513 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68514 #define $ac_func innocuous_$ac_func
68516 /* System header to define __stub macros and hopefully few prototypes,
68517 which can conflict with char $ac_func (); below.
68518 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68519 <limits.h> exists even on freestanding compilers. */
68521 #ifdef __STDC__
68522 # include <limits.h>
68523 #else
68524 # include <assert.h>
68525 #endif
68527 #undef $ac_func
68529 /* Override any gcc2 internal prototype to avoid an error. */
68530 #ifdef __cplusplus
68531 extern "C"
68533 #endif
68534 /* We use char because int might match the return type of a gcc2
68535 builtin and then its argument prototype would still apply. */
68536 char $ac_func ();
68537 /* The GNU C library defines this for functions which it implements
68538 to always fail with ENOSYS. Some functions are actually named
68539 something starting with __ and the normal name is an alias. */
68540 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68541 choke me
68542 #else
68543 char (*f) () = $ac_func;
68544 #endif
68545 #ifdef __cplusplus
68547 #endif
68550 main ()
68552 return f != $ac_func;
68554 return 0;
68556 _ACEOF
68557 rm -f conftest.$ac_objext conftest$ac_exeext
68558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68559 (eval $ac_link) 2>conftest.er1
68560 ac_status=$?
68561 grep -v '^ *+' conftest.er1 >conftest.err
68562 rm -f conftest.er1
68563 cat conftest.err >&5
68564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68565 (exit $ac_status); } &&
68566 { ac_try='test -z "$ac_c_werror_flag"
68567 || test ! -s conftest.err'
68568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68569 (eval $ac_try) 2>&5
68570 ac_status=$?
68571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68572 (exit $ac_status); }; } &&
68573 { ac_try='test -s conftest$ac_exeext'
68574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68575 (eval $ac_try) 2>&5
68576 ac_status=$?
68577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68578 (exit $ac_status); }; }; then
68579 eval "$as_ac_var=yes"
68580 else
68581 echo "$as_me: failed program was:" >&5
68582 sed 's/^/| /' conftest.$ac_ext >&5
68584 eval "$as_ac_var=no"
68586 rm -f conftest.err conftest.$ac_objext \
68587 conftest$ac_exeext conftest.$ac_ext
68589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68590 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68591 if test `eval echo '${'$as_ac_var'}'` = yes; then
68592 cat >>confdefs.h <<_ACEOF
68593 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68594 _ACEOF
68597 done
68604 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
68605 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
68606 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
68607 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
68608 echo $ECHO_N "(cached) $ECHO_C" >&6
68609 else
68613 ac_ext=cc
68614 ac_cpp='$CXXCPP $CPPFLAGS'
68615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68619 cat >conftest.$ac_ext <<_ACEOF
68620 /* confdefs.h. */
68621 _ACEOF
68622 cat confdefs.h >>conftest.$ac_ext
68623 cat >>conftest.$ac_ext <<_ACEOF
68624 /* end confdefs.h. */
68625 #include <math.h>
68626 #ifdef HAVE_IEEEFP_H
68627 #include <ieeefp.h>
68628 #endif
68631 main ()
68633 sqrtl(0);
68635 return 0;
68637 _ACEOF
68638 rm -f conftest.$ac_objext
68639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68640 (eval $ac_compile) 2>conftest.er1
68641 ac_status=$?
68642 grep -v '^ *+' conftest.er1 >conftest.err
68643 rm -f conftest.er1
68644 cat conftest.err >&5
68645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68646 (exit $ac_status); } &&
68647 { ac_try='test -z "$ac_cxx_werror_flag"
68648 || test ! -s conftest.err'
68649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68650 (eval $ac_try) 2>&5
68651 ac_status=$?
68652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68653 (exit $ac_status); }; } &&
68654 { ac_try='test -s conftest.$ac_objext'
68655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68656 (eval $ac_try) 2>&5
68657 ac_status=$?
68658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68659 (exit $ac_status); }; }; then
68660 glibcxx_cv_func_sqrtl_use=yes
68661 else
68662 echo "$as_me: failed program was:" >&5
68663 sed 's/^/| /' conftest.$ac_ext >&5
68665 glibcxx_cv_func_sqrtl_use=no
68667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68668 ac_ext=c
68669 ac_cpp='$CPP $CPPFLAGS'
68670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68678 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
68679 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
68681 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
68683 for ac_func in sqrtl
68685 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68686 echo "$as_me:$LINENO: checking for $ac_func" >&5
68687 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68688 if eval "test \"\${$as_ac_var+set}\" = set"; then
68689 echo $ECHO_N "(cached) $ECHO_C" >&6
68690 else
68691 if test x$gcc_no_link = xyes; then
68692 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68693 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68694 { (exit 1); exit 1; }; }
68696 cat >conftest.$ac_ext <<_ACEOF
68697 /* confdefs.h. */
68698 _ACEOF
68699 cat confdefs.h >>conftest.$ac_ext
68700 cat >>conftest.$ac_ext <<_ACEOF
68701 /* end confdefs.h. */
68702 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68703 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68704 #define $ac_func innocuous_$ac_func
68706 /* System header to define __stub macros and hopefully few prototypes,
68707 which can conflict with char $ac_func (); below.
68708 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68709 <limits.h> exists even on freestanding compilers. */
68711 #ifdef __STDC__
68712 # include <limits.h>
68713 #else
68714 # include <assert.h>
68715 #endif
68717 #undef $ac_func
68719 /* Override any gcc2 internal prototype to avoid an error. */
68720 #ifdef __cplusplus
68721 extern "C"
68723 #endif
68724 /* We use char because int might match the return type of a gcc2
68725 builtin and then its argument prototype would still apply. */
68726 char $ac_func ();
68727 /* The GNU C library defines this for functions which it implements
68728 to always fail with ENOSYS. Some functions are actually named
68729 something starting with __ and the normal name is an alias. */
68730 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68731 choke me
68732 #else
68733 char (*f) () = $ac_func;
68734 #endif
68735 #ifdef __cplusplus
68737 #endif
68740 main ()
68742 return f != $ac_func;
68744 return 0;
68746 _ACEOF
68747 rm -f conftest.$ac_objext conftest$ac_exeext
68748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68749 (eval $ac_link) 2>conftest.er1
68750 ac_status=$?
68751 grep -v '^ *+' conftest.er1 >conftest.err
68752 rm -f conftest.er1
68753 cat conftest.err >&5
68754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68755 (exit $ac_status); } &&
68756 { ac_try='test -z "$ac_c_werror_flag"
68757 || test ! -s conftest.err'
68758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68759 (eval $ac_try) 2>&5
68760 ac_status=$?
68761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68762 (exit $ac_status); }; } &&
68763 { ac_try='test -s conftest$ac_exeext'
68764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68765 (eval $ac_try) 2>&5
68766 ac_status=$?
68767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68768 (exit $ac_status); }; }; then
68769 eval "$as_ac_var=yes"
68770 else
68771 echo "$as_me: failed program was:" >&5
68772 sed 's/^/| /' conftest.$ac_ext >&5
68774 eval "$as_ac_var=no"
68776 rm -f conftest.err conftest.$ac_objext \
68777 conftest$ac_exeext conftest.$ac_ext
68779 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68780 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68781 if test `eval echo '${'$as_ac_var'}'` = yes; then
68782 cat >>confdefs.h <<_ACEOF
68783 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68784 _ACEOF
68787 done
68789 else
68791 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
68792 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
68793 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
68794 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
68795 echo $ECHO_N "(cached) $ECHO_C" >&6
68796 else
68800 ac_ext=cc
68801 ac_cpp='$CXXCPP $CPPFLAGS'
68802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68806 cat >conftest.$ac_ext <<_ACEOF
68807 /* confdefs.h. */
68808 _ACEOF
68809 cat confdefs.h >>conftest.$ac_ext
68810 cat >>conftest.$ac_ext <<_ACEOF
68811 /* end confdefs.h. */
68812 #include <math.h>
68813 #ifdef HAVE_IEEEFP_H
68814 #include <ieeefp.h>
68815 #endif
68818 main ()
68820 _sqrtl(0);
68822 return 0;
68824 _ACEOF
68825 rm -f conftest.$ac_objext
68826 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68827 (eval $ac_compile) 2>conftest.er1
68828 ac_status=$?
68829 grep -v '^ *+' conftest.er1 >conftest.err
68830 rm -f conftest.er1
68831 cat conftest.err >&5
68832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68833 (exit $ac_status); } &&
68834 { ac_try='test -z "$ac_cxx_werror_flag"
68835 || test ! -s conftest.err'
68836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68837 (eval $ac_try) 2>&5
68838 ac_status=$?
68839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68840 (exit $ac_status); }; } &&
68841 { ac_try='test -s conftest.$ac_objext'
68842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68843 (eval $ac_try) 2>&5
68844 ac_status=$?
68845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68846 (exit $ac_status); }; }; then
68847 glibcxx_cv_func__sqrtl_use=yes
68848 else
68849 echo "$as_me: failed program was:" >&5
68850 sed 's/^/| /' conftest.$ac_ext >&5
68852 glibcxx_cv_func__sqrtl_use=no
68854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68855 ac_ext=c
68856 ac_cpp='$CPP $CPPFLAGS'
68857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68865 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
68866 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
68868 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
68870 for ac_func in _sqrtl
68872 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68873 echo "$as_me:$LINENO: checking for $ac_func" >&5
68874 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68875 if eval "test \"\${$as_ac_var+set}\" = set"; then
68876 echo $ECHO_N "(cached) $ECHO_C" >&6
68877 else
68878 if test x$gcc_no_link = xyes; then
68879 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68880 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68881 { (exit 1); exit 1; }; }
68883 cat >conftest.$ac_ext <<_ACEOF
68884 /* confdefs.h. */
68885 _ACEOF
68886 cat confdefs.h >>conftest.$ac_ext
68887 cat >>conftest.$ac_ext <<_ACEOF
68888 /* end confdefs.h. */
68889 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68890 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68891 #define $ac_func innocuous_$ac_func
68893 /* System header to define __stub macros and hopefully few prototypes,
68894 which can conflict with char $ac_func (); below.
68895 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68896 <limits.h> exists even on freestanding compilers. */
68898 #ifdef __STDC__
68899 # include <limits.h>
68900 #else
68901 # include <assert.h>
68902 #endif
68904 #undef $ac_func
68906 /* Override any gcc2 internal prototype to avoid an error. */
68907 #ifdef __cplusplus
68908 extern "C"
68910 #endif
68911 /* We use char because int might match the return type of a gcc2
68912 builtin and then its argument prototype would still apply. */
68913 char $ac_func ();
68914 /* The GNU C library defines this for functions which it implements
68915 to always fail with ENOSYS. Some functions are actually named
68916 something starting with __ and the normal name is an alias. */
68917 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68918 choke me
68919 #else
68920 char (*f) () = $ac_func;
68921 #endif
68922 #ifdef __cplusplus
68924 #endif
68927 main ()
68929 return f != $ac_func;
68931 return 0;
68933 _ACEOF
68934 rm -f conftest.$ac_objext conftest$ac_exeext
68935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68936 (eval $ac_link) 2>conftest.er1
68937 ac_status=$?
68938 grep -v '^ *+' conftest.er1 >conftest.err
68939 rm -f conftest.er1
68940 cat conftest.err >&5
68941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68942 (exit $ac_status); } &&
68943 { ac_try='test -z "$ac_c_werror_flag"
68944 || test ! -s conftest.err'
68945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68946 (eval $ac_try) 2>&5
68947 ac_status=$?
68948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68949 (exit $ac_status); }; } &&
68950 { ac_try='test -s conftest$ac_exeext'
68951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68952 (eval $ac_try) 2>&5
68953 ac_status=$?
68954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68955 (exit $ac_status); }; }; then
68956 eval "$as_ac_var=yes"
68957 else
68958 echo "$as_me: failed program was:" >&5
68959 sed 's/^/| /' conftest.$ac_ext >&5
68961 eval "$as_ac_var=no"
68963 rm -f conftest.err conftest.$ac_objext \
68964 conftest$ac_exeext conftest.$ac_ext
68966 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68967 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68968 if test `eval echo '${'$as_ac_var'}'` = yes; then
68969 cat >>confdefs.h <<_ACEOF
68970 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68971 _ACEOF
68974 done
68981 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
68982 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
68983 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
68984 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
68985 echo $ECHO_N "(cached) $ECHO_C" >&6
68986 else
68990 ac_ext=cc
68991 ac_cpp='$CXXCPP $CPPFLAGS'
68992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68996 cat >conftest.$ac_ext <<_ACEOF
68997 /* confdefs.h. */
68998 _ACEOF
68999 cat confdefs.h >>conftest.$ac_ext
69000 cat >>conftest.$ac_ext <<_ACEOF
69001 /* end confdefs.h. */
69002 #include <math.h>
69004 main ()
69006 sincosl(0, 0, 0);
69008 return 0;
69010 _ACEOF
69011 rm -f conftest.$ac_objext
69012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69013 (eval $ac_compile) 2>conftest.er1
69014 ac_status=$?
69015 grep -v '^ *+' conftest.er1 >conftest.err
69016 rm -f conftest.er1
69017 cat conftest.err >&5
69018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69019 (exit $ac_status); } &&
69020 { ac_try='test -z "$ac_cxx_werror_flag"
69021 || test ! -s conftest.err'
69022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69023 (eval $ac_try) 2>&5
69024 ac_status=$?
69025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69026 (exit $ac_status); }; } &&
69027 { ac_try='test -s conftest.$ac_objext'
69028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69029 (eval $ac_try) 2>&5
69030 ac_status=$?
69031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69032 (exit $ac_status); }; }; then
69033 glibcxx_cv_func_sincosl_use=yes
69034 else
69035 echo "$as_me: failed program was:" >&5
69036 sed 's/^/| /' conftest.$ac_ext >&5
69038 glibcxx_cv_func_sincosl_use=no
69040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69041 ac_ext=c
69042 ac_cpp='$CPP $CPPFLAGS'
69043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69051 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
69052 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
69054 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
69056 for ac_func in sincosl
69058 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69059 echo "$as_me:$LINENO: checking for $ac_func" >&5
69060 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69061 if eval "test \"\${$as_ac_var+set}\" = set"; then
69062 echo $ECHO_N "(cached) $ECHO_C" >&6
69063 else
69064 if test x$gcc_no_link = xyes; then
69065 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69066 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69067 { (exit 1); exit 1; }; }
69069 cat >conftest.$ac_ext <<_ACEOF
69070 /* confdefs.h. */
69071 _ACEOF
69072 cat confdefs.h >>conftest.$ac_ext
69073 cat >>conftest.$ac_ext <<_ACEOF
69074 /* end confdefs.h. */
69075 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69076 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69077 #define $ac_func innocuous_$ac_func
69079 /* System header to define __stub macros and hopefully few prototypes,
69080 which can conflict with char $ac_func (); below.
69081 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69082 <limits.h> exists even on freestanding compilers. */
69084 #ifdef __STDC__
69085 # include <limits.h>
69086 #else
69087 # include <assert.h>
69088 #endif
69090 #undef $ac_func
69092 /* Override any gcc2 internal prototype to avoid an error. */
69093 #ifdef __cplusplus
69094 extern "C"
69096 #endif
69097 /* We use char because int might match the return type of a gcc2
69098 builtin and then its argument prototype would still apply. */
69099 char $ac_func ();
69100 /* The GNU C library defines this for functions which it implements
69101 to always fail with ENOSYS. Some functions are actually named
69102 something starting with __ and the normal name is an alias. */
69103 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69104 choke me
69105 #else
69106 char (*f) () = $ac_func;
69107 #endif
69108 #ifdef __cplusplus
69110 #endif
69113 main ()
69115 return f != $ac_func;
69117 return 0;
69119 _ACEOF
69120 rm -f conftest.$ac_objext conftest$ac_exeext
69121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69122 (eval $ac_link) 2>conftest.er1
69123 ac_status=$?
69124 grep -v '^ *+' conftest.er1 >conftest.err
69125 rm -f conftest.er1
69126 cat conftest.err >&5
69127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69128 (exit $ac_status); } &&
69129 { ac_try='test -z "$ac_c_werror_flag"
69130 || test ! -s conftest.err'
69131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69132 (eval $ac_try) 2>&5
69133 ac_status=$?
69134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69135 (exit $ac_status); }; } &&
69136 { ac_try='test -s conftest$ac_exeext'
69137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69138 (eval $ac_try) 2>&5
69139 ac_status=$?
69140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69141 (exit $ac_status); }; }; then
69142 eval "$as_ac_var=yes"
69143 else
69144 echo "$as_me: failed program was:" >&5
69145 sed 's/^/| /' conftest.$ac_ext >&5
69147 eval "$as_ac_var=no"
69149 rm -f conftest.err conftest.$ac_objext \
69150 conftest$ac_exeext conftest.$ac_ext
69152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69153 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69154 if test `eval echo '${'$as_ac_var'}'` = yes; then
69155 cat >>confdefs.h <<_ACEOF
69156 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69157 _ACEOF
69160 done
69162 else
69164 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
69165 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
69166 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
69167 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
69168 echo $ECHO_N "(cached) $ECHO_C" >&6
69169 else
69173 ac_ext=cc
69174 ac_cpp='$CXXCPP $CPPFLAGS'
69175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69179 cat >conftest.$ac_ext <<_ACEOF
69180 /* confdefs.h. */
69181 _ACEOF
69182 cat confdefs.h >>conftest.$ac_ext
69183 cat >>conftest.$ac_ext <<_ACEOF
69184 /* end confdefs.h. */
69185 #include <math.h>
69187 main ()
69189 _sincosl(0, 0, 0);
69191 return 0;
69193 _ACEOF
69194 rm -f conftest.$ac_objext
69195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69196 (eval $ac_compile) 2>conftest.er1
69197 ac_status=$?
69198 grep -v '^ *+' conftest.er1 >conftest.err
69199 rm -f conftest.er1
69200 cat conftest.err >&5
69201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69202 (exit $ac_status); } &&
69203 { ac_try='test -z "$ac_cxx_werror_flag"
69204 || test ! -s conftest.err'
69205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69206 (eval $ac_try) 2>&5
69207 ac_status=$?
69208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69209 (exit $ac_status); }; } &&
69210 { ac_try='test -s conftest.$ac_objext'
69211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69212 (eval $ac_try) 2>&5
69213 ac_status=$?
69214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69215 (exit $ac_status); }; }; then
69216 glibcxx_cv_func__sincosl_use=yes
69217 else
69218 echo "$as_me: failed program was:" >&5
69219 sed 's/^/| /' conftest.$ac_ext >&5
69221 glibcxx_cv_func__sincosl_use=no
69223 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69224 ac_ext=c
69225 ac_cpp='$CPP $CPPFLAGS'
69226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69234 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
69235 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
69237 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
69239 for ac_func in _sincosl
69241 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69242 echo "$as_me:$LINENO: checking for $ac_func" >&5
69243 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69244 if eval "test \"\${$as_ac_var+set}\" = set"; then
69245 echo $ECHO_N "(cached) $ECHO_C" >&6
69246 else
69247 if test x$gcc_no_link = xyes; then
69248 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69249 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69250 { (exit 1); exit 1; }; }
69252 cat >conftest.$ac_ext <<_ACEOF
69253 /* confdefs.h. */
69254 _ACEOF
69255 cat confdefs.h >>conftest.$ac_ext
69256 cat >>conftest.$ac_ext <<_ACEOF
69257 /* end confdefs.h. */
69258 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69259 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69260 #define $ac_func innocuous_$ac_func
69262 /* System header to define __stub macros and hopefully few prototypes,
69263 which can conflict with char $ac_func (); below.
69264 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69265 <limits.h> exists even on freestanding compilers. */
69267 #ifdef __STDC__
69268 # include <limits.h>
69269 #else
69270 # include <assert.h>
69271 #endif
69273 #undef $ac_func
69275 /* Override any gcc2 internal prototype to avoid an error. */
69276 #ifdef __cplusplus
69277 extern "C"
69279 #endif
69280 /* We use char because int might match the return type of a gcc2
69281 builtin and then its argument prototype would still apply. */
69282 char $ac_func ();
69283 /* The GNU C library defines this for functions which it implements
69284 to always fail with ENOSYS. Some functions are actually named
69285 something starting with __ and the normal name is an alias. */
69286 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69287 choke me
69288 #else
69289 char (*f) () = $ac_func;
69290 #endif
69291 #ifdef __cplusplus
69293 #endif
69296 main ()
69298 return f != $ac_func;
69300 return 0;
69302 _ACEOF
69303 rm -f conftest.$ac_objext conftest$ac_exeext
69304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69305 (eval $ac_link) 2>conftest.er1
69306 ac_status=$?
69307 grep -v '^ *+' conftest.er1 >conftest.err
69308 rm -f conftest.er1
69309 cat conftest.err >&5
69310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69311 (exit $ac_status); } &&
69312 { ac_try='test -z "$ac_c_werror_flag"
69313 || test ! -s conftest.err'
69314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69315 (eval $ac_try) 2>&5
69316 ac_status=$?
69317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69318 (exit $ac_status); }; } &&
69319 { ac_try='test -s conftest$ac_exeext'
69320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69321 (eval $ac_try) 2>&5
69322 ac_status=$?
69323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69324 (exit $ac_status); }; }; then
69325 eval "$as_ac_var=yes"
69326 else
69327 echo "$as_me: failed program was:" >&5
69328 sed 's/^/| /' conftest.$ac_ext >&5
69330 eval "$as_ac_var=no"
69332 rm -f conftest.err conftest.$ac_objext \
69333 conftest$ac_exeext conftest.$ac_ext
69335 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69336 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69337 if test `eval echo '${'$as_ac_var'}'` = yes; then
69338 cat >>confdefs.h <<_ACEOF
69339 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69340 _ACEOF
69343 done
69350 echo "$as_me:$LINENO: checking for finitel declaration" >&5
69351 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
69352 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
69353 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
69354 echo $ECHO_N "(cached) $ECHO_C" >&6
69355 else
69359 ac_ext=cc
69360 ac_cpp='$CXXCPP $CPPFLAGS'
69361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69365 cat >conftest.$ac_ext <<_ACEOF
69366 /* confdefs.h. */
69367 _ACEOF
69368 cat confdefs.h >>conftest.$ac_ext
69369 cat >>conftest.$ac_ext <<_ACEOF
69370 /* end confdefs.h. */
69371 #include <math.h>
69372 #ifdef HAVE_IEEEFP_H
69373 #include <ieeefp.h>
69374 #endif
69377 main ()
69379 finitel(0);
69381 return 0;
69383 _ACEOF
69384 rm -f conftest.$ac_objext
69385 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69386 (eval $ac_compile) 2>conftest.er1
69387 ac_status=$?
69388 grep -v '^ *+' conftest.er1 >conftest.err
69389 rm -f conftest.er1
69390 cat conftest.err >&5
69391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69392 (exit $ac_status); } &&
69393 { ac_try='test -z "$ac_cxx_werror_flag"
69394 || test ! -s conftest.err'
69395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69396 (eval $ac_try) 2>&5
69397 ac_status=$?
69398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69399 (exit $ac_status); }; } &&
69400 { ac_try='test -s conftest.$ac_objext'
69401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69402 (eval $ac_try) 2>&5
69403 ac_status=$?
69404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69405 (exit $ac_status); }; }; then
69406 glibcxx_cv_func_finitel_use=yes
69407 else
69408 echo "$as_me: failed program was:" >&5
69409 sed 's/^/| /' conftest.$ac_ext >&5
69411 glibcxx_cv_func_finitel_use=no
69413 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69414 ac_ext=c
69415 ac_cpp='$CPP $CPPFLAGS'
69416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69424 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
69425 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
69427 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
69429 for ac_func in finitel
69431 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69432 echo "$as_me:$LINENO: checking for $ac_func" >&5
69433 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69434 if eval "test \"\${$as_ac_var+set}\" = set"; then
69435 echo $ECHO_N "(cached) $ECHO_C" >&6
69436 else
69437 if test x$gcc_no_link = xyes; then
69438 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69439 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69440 { (exit 1); exit 1; }; }
69442 cat >conftest.$ac_ext <<_ACEOF
69443 /* confdefs.h. */
69444 _ACEOF
69445 cat confdefs.h >>conftest.$ac_ext
69446 cat >>conftest.$ac_ext <<_ACEOF
69447 /* end confdefs.h. */
69448 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69449 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69450 #define $ac_func innocuous_$ac_func
69452 /* System header to define __stub macros and hopefully few prototypes,
69453 which can conflict with char $ac_func (); below.
69454 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69455 <limits.h> exists even on freestanding compilers. */
69457 #ifdef __STDC__
69458 # include <limits.h>
69459 #else
69460 # include <assert.h>
69461 #endif
69463 #undef $ac_func
69465 /* Override any gcc2 internal prototype to avoid an error. */
69466 #ifdef __cplusplus
69467 extern "C"
69469 #endif
69470 /* We use char because int might match the return type of a gcc2
69471 builtin and then its argument prototype would still apply. */
69472 char $ac_func ();
69473 /* The GNU C library defines this for functions which it implements
69474 to always fail with ENOSYS. Some functions are actually named
69475 something starting with __ and the normal name is an alias. */
69476 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69477 choke me
69478 #else
69479 char (*f) () = $ac_func;
69480 #endif
69481 #ifdef __cplusplus
69483 #endif
69486 main ()
69488 return f != $ac_func;
69490 return 0;
69492 _ACEOF
69493 rm -f conftest.$ac_objext conftest$ac_exeext
69494 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69495 (eval $ac_link) 2>conftest.er1
69496 ac_status=$?
69497 grep -v '^ *+' conftest.er1 >conftest.err
69498 rm -f conftest.er1
69499 cat conftest.err >&5
69500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69501 (exit $ac_status); } &&
69502 { ac_try='test -z "$ac_c_werror_flag"
69503 || test ! -s conftest.err'
69504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69505 (eval $ac_try) 2>&5
69506 ac_status=$?
69507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69508 (exit $ac_status); }; } &&
69509 { ac_try='test -s conftest$ac_exeext'
69510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69511 (eval $ac_try) 2>&5
69512 ac_status=$?
69513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69514 (exit $ac_status); }; }; then
69515 eval "$as_ac_var=yes"
69516 else
69517 echo "$as_me: failed program was:" >&5
69518 sed 's/^/| /' conftest.$ac_ext >&5
69520 eval "$as_ac_var=no"
69522 rm -f conftest.err conftest.$ac_objext \
69523 conftest$ac_exeext conftest.$ac_ext
69525 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69526 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69527 if test `eval echo '${'$as_ac_var'}'` = yes; then
69528 cat >>confdefs.h <<_ACEOF
69529 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69530 _ACEOF
69533 done
69535 else
69537 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
69538 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
69539 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
69540 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
69541 echo $ECHO_N "(cached) $ECHO_C" >&6
69542 else
69546 ac_ext=cc
69547 ac_cpp='$CXXCPP $CPPFLAGS'
69548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69552 cat >conftest.$ac_ext <<_ACEOF
69553 /* confdefs.h. */
69554 _ACEOF
69555 cat confdefs.h >>conftest.$ac_ext
69556 cat >>conftest.$ac_ext <<_ACEOF
69557 /* end confdefs.h. */
69558 #include <math.h>
69559 #ifdef HAVE_IEEEFP_H
69560 #include <ieeefp.h>
69561 #endif
69564 main ()
69566 _finitel(0);
69568 return 0;
69570 _ACEOF
69571 rm -f conftest.$ac_objext
69572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69573 (eval $ac_compile) 2>conftest.er1
69574 ac_status=$?
69575 grep -v '^ *+' conftest.er1 >conftest.err
69576 rm -f conftest.er1
69577 cat conftest.err >&5
69578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69579 (exit $ac_status); } &&
69580 { ac_try='test -z "$ac_cxx_werror_flag"
69581 || test ! -s conftest.err'
69582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69583 (eval $ac_try) 2>&5
69584 ac_status=$?
69585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69586 (exit $ac_status); }; } &&
69587 { ac_try='test -s conftest.$ac_objext'
69588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69589 (eval $ac_try) 2>&5
69590 ac_status=$?
69591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69592 (exit $ac_status); }; }; then
69593 glibcxx_cv_func__finitel_use=yes
69594 else
69595 echo "$as_me: failed program was:" >&5
69596 sed 's/^/| /' conftest.$ac_ext >&5
69598 glibcxx_cv_func__finitel_use=no
69600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69601 ac_ext=c
69602 ac_cpp='$CPP $CPPFLAGS'
69603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69611 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
69612 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
69614 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
69616 for ac_func in _finitel
69618 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69619 echo "$as_me:$LINENO: checking for $ac_func" >&5
69620 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69621 if eval "test \"\${$as_ac_var+set}\" = set"; then
69622 echo $ECHO_N "(cached) $ECHO_C" >&6
69623 else
69624 if test x$gcc_no_link = xyes; then
69625 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69626 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69627 { (exit 1); exit 1; }; }
69629 cat >conftest.$ac_ext <<_ACEOF
69630 /* confdefs.h. */
69631 _ACEOF
69632 cat confdefs.h >>conftest.$ac_ext
69633 cat >>conftest.$ac_ext <<_ACEOF
69634 /* end confdefs.h. */
69635 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69636 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69637 #define $ac_func innocuous_$ac_func
69639 /* System header to define __stub macros and hopefully few prototypes,
69640 which can conflict with char $ac_func (); below.
69641 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69642 <limits.h> exists even on freestanding compilers. */
69644 #ifdef __STDC__
69645 # include <limits.h>
69646 #else
69647 # include <assert.h>
69648 #endif
69650 #undef $ac_func
69652 /* Override any gcc2 internal prototype to avoid an error. */
69653 #ifdef __cplusplus
69654 extern "C"
69656 #endif
69657 /* We use char because int might match the return type of a gcc2
69658 builtin and then its argument prototype would still apply. */
69659 char $ac_func ();
69660 /* The GNU C library defines this for functions which it implements
69661 to always fail with ENOSYS. Some functions are actually named
69662 something starting with __ and the normal name is an alias. */
69663 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69664 choke me
69665 #else
69666 char (*f) () = $ac_func;
69667 #endif
69668 #ifdef __cplusplus
69670 #endif
69673 main ()
69675 return f != $ac_func;
69677 return 0;
69679 _ACEOF
69680 rm -f conftest.$ac_objext conftest$ac_exeext
69681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69682 (eval $ac_link) 2>conftest.er1
69683 ac_status=$?
69684 grep -v '^ *+' conftest.er1 >conftest.err
69685 rm -f conftest.er1
69686 cat conftest.err >&5
69687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69688 (exit $ac_status); } &&
69689 { ac_try='test -z "$ac_c_werror_flag"
69690 || test ! -s conftest.err'
69691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69692 (eval $ac_try) 2>&5
69693 ac_status=$?
69694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69695 (exit $ac_status); }; } &&
69696 { ac_try='test -s conftest$ac_exeext'
69697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69698 (eval $ac_try) 2>&5
69699 ac_status=$?
69700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69701 (exit $ac_status); }; }; then
69702 eval "$as_ac_var=yes"
69703 else
69704 echo "$as_me: failed program was:" >&5
69705 sed 's/^/| /' conftest.$ac_ext >&5
69707 eval "$as_ac_var=no"
69709 rm -f conftest.err conftest.$ac_objext \
69710 conftest$ac_exeext conftest.$ac_ext
69712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69713 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69714 if test `eval echo '${'$as_ac_var'}'` = yes; then
69715 cat >>confdefs.h <<_ACEOF
69716 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69717 _ACEOF
69720 done
69728 echo "$as_me:$LINENO: checking for _float trig functions" >&5
69729 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
69730 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
69731 echo $ECHO_N "(cached) $ECHO_C" >&6
69732 else
69736 ac_ext=cc
69737 ac_cpp='$CXXCPP $CPPFLAGS'
69738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69742 cat >conftest.$ac_ext <<_ACEOF
69743 /* confdefs.h. */
69744 _ACEOF
69745 cat confdefs.h >>conftest.$ac_ext
69746 cat >>conftest.$ac_ext <<_ACEOF
69747 /* end confdefs.h. */
69748 #include <math.h>
69750 main ()
69752 `for x in _acosf _asinf _atanf \
69753 _cosf _sinf _tanf \
69754 _coshf _sinhf _tanhf; do echo "$x (0);"; done`
69756 return 0;
69758 _ACEOF
69759 rm -f conftest.$ac_objext
69760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69761 (eval $ac_compile) 2>conftest.er1
69762 ac_status=$?
69763 grep -v '^ *+' conftest.er1 >conftest.err
69764 rm -f conftest.er1
69765 cat conftest.err >&5
69766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69767 (exit $ac_status); } &&
69768 { ac_try='test -z "$ac_cxx_werror_flag"
69769 || test ! -s conftest.err'
69770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69771 (eval $ac_try) 2>&5
69772 ac_status=$?
69773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69774 (exit $ac_status); }; } &&
69775 { ac_try='test -s conftest.$ac_objext'
69776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69777 (eval $ac_try) 2>&5
69778 ac_status=$?
69779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69780 (exit $ac_status); }; }; then
69781 glibcxx_cv_func__float_trig_use=yes
69782 else
69783 echo "$as_me: failed program was:" >&5
69784 sed 's/^/| /' conftest.$ac_ext >&5
69786 glibcxx_cv_func__float_trig_use=no
69788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69789 ac_ext=c
69790 ac_cpp='$CPP $CPPFLAGS'
69791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69797 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
69798 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
69799 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
69809 for ac_func in _acosf _asinf _atanf \
69810 _cosf _sinf _tanf \
69811 _coshf _sinhf _tanhf
69813 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69814 echo "$as_me:$LINENO: checking for $ac_func" >&5
69815 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69816 if eval "test \"\${$as_ac_var+set}\" = set"; then
69817 echo $ECHO_N "(cached) $ECHO_C" >&6
69818 else
69819 if test x$gcc_no_link = xyes; then
69820 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69822 { (exit 1); exit 1; }; }
69824 cat >conftest.$ac_ext <<_ACEOF
69825 /* confdefs.h. */
69826 _ACEOF
69827 cat confdefs.h >>conftest.$ac_ext
69828 cat >>conftest.$ac_ext <<_ACEOF
69829 /* end confdefs.h. */
69830 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69832 #define $ac_func innocuous_$ac_func
69834 /* System header to define __stub macros and hopefully few prototypes,
69835 which can conflict with char $ac_func (); below.
69836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69837 <limits.h> exists even on freestanding compilers. */
69839 #ifdef __STDC__
69840 # include <limits.h>
69841 #else
69842 # include <assert.h>
69843 #endif
69845 #undef $ac_func
69847 /* Override any gcc2 internal prototype to avoid an error. */
69848 #ifdef __cplusplus
69849 extern "C"
69851 #endif
69852 /* We use char because int might match the return type of a gcc2
69853 builtin and then its argument prototype would still apply. */
69854 char $ac_func ();
69855 /* The GNU C library defines this for functions which it implements
69856 to always fail with ENOSYS. Some functions are actually named
69857 something starting with __ and the normal name is an alias. */
69858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69859 choke me
69860 #else
69861 char (*f) () = $ac_func;
69862 #endif
69863 #ifdef __cplusplus
69865 #endif
69868 main ()
69870 return f != $ac_func;
69872 return 0;
69874 _ACEOF
69875 rm -f conftest.$ac_objext conftest$ac_exeext
69876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69877 (eval $ac_link) 2>conftest.er1
69878 ac_status=$?
69879 grep -v '^ *+' conftest.er1 >conftest.err
69880 rm -f conftest.er1
69881 cat conftest.err >&5
69882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69883 (exit $ac_status); } &&
69884 { ac_try='test -z "$ac_c_werror_flag"
69885 || test ! -s conftest.err'
69886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69887 (eval $ac_try) 2>&5
69888 ac_status=$?
69889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69890 (exit $ac_status); }; } &&
69891 { ac_try='test -s conftest$ac_exeext'
69892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69893 (eval $ac_try) 2>&5
69894 ac_status=$?
69895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69896 (exit $ac_status); }; }; then
69897 eval "$as_ac_var=yes"
69898 else
69899 echo "$as_me: failed program was:" >&5
69900 sed 's/^/| /' conftest.$ac_ext >&5
69902 eval "$as_ac_var=no"
69904 rm -f conftest.err conftest.$ac_objext \
69905 conftest$ac_exeext conftest.$ac_ext
69907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69908 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69909 if test `eval echo '${'$as_ac_var'}'` = yes; then
69910 cat >>confdefs.h <<_ACEOF
69911 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69912 _ACEOF
69915 done
69920 echo "$as_me:$LINENO: checking for _float round functions" >&5
69921 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
69922 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
69923 echo $ECHO_N "(cached) $ECHO_C" >&6
69924 else
69928 ac_ext=cc
69929 ac_cpp='$CXXCPP $CPPFLAGS'
69930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69934 cat >conftest.$ac_ext <<_ACEOF
69935 /* confdefs.h. */
69936 _ACEOF
69937 cat confdefs.h >>conftest.$ac_ext
69938 cat >>conftest.$ac_ext <<_ACEOF
69939 /* end confdefs.h. */
69940 #include <math.h>
69942 main ()
69944 `for x in _ceilf _floorf; do echo "$x (0);"; done`
69946 return 0;
69948 _ACEOF
69949 rm -f conftest.$ac_objext
69950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69951 (eval $ac_compile) 2>conftest.er1
69952 ac_status=$?
69953 grep -v '^ *+' conftest.er1 >conftest.err
69954 rm -f conftest.er1
69955 cat conftest.err >&5
69956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69957 (exit $ac_status); } &&
69958 { ac_try='test -z "$ac_cxx_werror_flag"
69959 || test ! -s conftest.err'
69960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69961 (eval $ac_try) 2>&5
69962 ac_status=$?
69963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69964 (exit $ac_status); }; } &&
69965 { ac_try='test -s conftest.$ac_objext'
69966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69967 (eval $ac_try) 2>&5
69968 ac_status=$?
69969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69970 (exit $ac_status); }; }; then
69971 glibcxx_cv_func__float_round_use=yes
69972 else
69973 echo "$as_me: failed program was:" >&5
69974 sed 's/^/| /' conftest.$ac_ext >&5
69976 glibcxx_cv_func__float_round_use=no
69978 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69979 ac_ext=c
69980 ac_cpp='$CPP $CPPFLAGS'
69981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69987 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
69988 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
69989 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
69992 for ac_func in _ceilf _floorf
69994 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69995 echo "$as_me:$LINENO: checking for $ac_func" >&5
69996 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69997 if eval "test \"\${$as_ac_var+set}\" = set"; then
69998 echo $ECHO_N "(cached) $ECHO_C" >&6
69999 else
70000 if test x$gcc_no_link = xyes; then
70001 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70002 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70003 { (exit 1); exit 1; }; }
70005 cat >conftest.$ac_ext <<_ACEOF
70006 /* confdefs.h. */
70007 _ACEOF
70008 cat confdefs.h >>conftest.$ac_ext
70009 cat >>conftest.$ac_ext <<_ACEOF
70010 /* end confdefs.h. */
70011 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70012 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70013 #define $ac_func innocuous_$ac_func
70015 /* System header to define __stub macros and hopefully few prototypes,
70016 which can conflict with char $ac_func (); below.
70017 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70018 <limits.h> exists even on freestanding compilers. */
70020 #ifdef __STDC__
70021 # include <limits.h>
70022 #else
70023 # include <assert.h>
70024 #endif
70026 #undef $ac_func
70028 /* Override any gcc2 internal prototype to avoid an error. */
70029 #ifdef __cplusplus
70030 extern "C"
70032 #endif
70033 /* We use char because int might match the return type of a gcc2
70034 builtin and then its argument prototype would still apply. */
70035 char $ac_func ();
70036 /* The GNU C library defines this for functions which it implements
70037 to always fail with ENOSYS. Some functions are actually named
70038 something starting with __ and the normal name is an alias. */
70039 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70040 choke me
70041 #else
70042 char (*f) () = $ac_func;
70043 #endif
70044 #ifdef __cplusplus
70046 #endif
70049 main ()
70051 return f != $ac_func;
70053 return 0;
70055 _ACEOF
70056 rm -f conftest.$ac_objext conftest$ac_exeext
70057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70058 (eval $ac_link) 2>conftest.er1
70059 ac_status=$?
70060 grep -v '^ *+' conftest.er1 >conftest.err
70061 rm -f conftest.er1
70062 cat conftest.err >&5
70063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70064 (exit $ac_status); } &&
70065 { ac_try='test -z "$ac_c_werror_flag"
70066 || test ! -s conftest.err'
70067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70068 (eval $ac_try) 2>&5
70069 ac_status=$?
70070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70071 (exit $ac_status); }; } &&
70072 { ac_try='test -s conftest$ac_exeext'
70073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70074 (eval $ac_try) 2>&5
70075 ac_status=$?
70076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70077 (exit $ac_status); }; }; then
70078 eval "$as_ac_var=yes"
70079 else
70080 echo "$as_me: failed program was:" >&5
70081 sed 's/^/| /' conftest.$ac_ext >&5
70083 eval "$as_ac_var=no"
70085 rm -f conftest.err conftest.$ac_objext \
70086 conftest$ac_exeext conftest.$ac_ext
70088 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70089 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70090 if test `eval echo '${'$as_ac_var'}'` = yes; then
70091 cat >>confdefs.h <<_ACEOF
70092 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70093 _ACEOF
70096 done
70102 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
70103 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
70104 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
70105 echo $ECHO_N "(cached) $ECHO_C" >&6
70106 else
70110 ac_ext=cc
70111 ac_cpp='$CXXCPP $CPPFLAGS'
70112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70116 cat >conftest.$ac_ext <<_ACEOF
70117 /* confdefs.h. */
70118 _ACEOF
70119 cat confdefs.h >>conftest.$ac_ext
70120 cat >>conftest.$ac_ext <<_ACEOF
70121 /* end confdefs.h. */
70122 #include <math.h>
70124 main ()
70126 `for x in _acosl _asinl _atanl \
70127 _cosl _sinl _tanl \
70128 _coshl _sinhl _tanhl; do echo "$x (0);"; done`
70130 return 0;
70132 _ACEOF
70133 rm -f conftest.$ac_objext
70134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70135 (eval $ac_compile) 2>conftest.er1
70136 ac_status=$?
70137 grep -v '^ *+' conftest.er1 >conftest.err
70138 rm -f conftest.er1
70139 cat conftest.err >&5
70140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70141 (exit $ac_status); } &&
70142 { ac_try='test -z "$ac_cxx_werror_flag"
70143 || test ! -s conftest.err'
70144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70145 (eval $ac_try) 2>&5
70146 ac_status=$?
70147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70148 (exit $ac_status); }; } &&
70149 { ac_try='test -s conftest.$ac_objext'
70150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70151 (eval $ac_try) 2>&5
70152 ac_status=$?
70153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70154 (exit $ac_status); }; }; then
70155 glibcxx_cv_func__long_double_trig_use=yes
70156 else
70157 echo "$as_me: failed program was:" >&5
70158 sed 's/^/| /' conftest.$ac_ext >&5
70160 glibcxx_cv_func__long_double_trig_use=no
70162 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70163 ac_ext=c
70164 ac_cpp='$CPP $CPPFLAGS'
70165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70171 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
70172 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
70173 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
70183 for ac_func in _acosl _asinl _atanl \
70184 _cosl _sinl _tanl \
70185 _coshl _sinhl _tanhl
70187 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70188 echo "$as_me:$LINENO: checking for $ac_func" >&5
70189 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70190 if eval "test \"\${$as_ac_var+set}\" = set"; then
70191 echo $ECHO_N "(cached) $ECHO_C" >&6
70192 else
70193 if test x$gcc_no_link = xyes; then
70194 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70195 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70196 { (exit 1); exit 1; }; }
70198 cat >conftest.$ac_ext <<_ACEOF
70199 /* confdefs.h. */
70200 _ACEOF
70201 cat confdefs.h >>conftest.$ac_ext
70202 cat >>conftest.$ac_ext <<_ACEOF
70203 /* end confdefs.h. */
70204 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70205 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70206 #define $ac_func innocuous_$ac_func
70208 /* System header to define __stub macros and hopefully few prototypes,
70209 which can conflict with char $ac_func (); below.
70210 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70211 <limits.h> exists even on freestanding compilers. */
70213 #ifdef __STDC__
70214 # include <limits.h>
70215 #else
70216 # include <assert.h>
70217 #endif
70219 #undef $ac_func
70221 /* Override any gcc2 internal prototype to avoid an error. */
70222 #ifdef __cplusplus
70223 extern "C"
70225 #endif
70226 /* We use char because int might match the return type of a gcc2
70227 builtin and then its argument prototype would still apply. */
70228 char $ac_func ();
70229 /* The GNU C library defines this for functions which it implements
70230 to always fail with ENOSYS. Some functions are actually named
70231 something starting with __ and the normal name is an alias. */
70232 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70233 choke me
70234 #else
70235 char (*f) () = $ac_func;
70236 #endif
70237 #ifdef __cplusplus
70239 #endif
70242 main ()
70244 return f != $ac_func;
70246 return 0;
70248 _ACEOF
70249 rm -f conftest.$ac_objext conftest$ac_exeext
70250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70251 (eval $ac_link) 2>conftest.er1
70252 ac_status=$?
70253 grep -v '^ *+' conftest.er1 >conftest.err
70254 rm -f conftest.er1
70255 cat conftest.err >&5
70256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70257 (exit $ac_status); } &&
70258 { ac_try='test -z "$ac_c_werror_flag"
70259 || test ! -s conftest.err'
70260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70261 (eval $ac_try) 2>&5
70262 ac_status=$?
70263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70264 (exit $ac_status); }; } &&
70265 { ac_try='test -s conftest$ac_exeext'
70266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70267 (eval $ac_try) 2>&5
70268 ac_status=$?
70269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70270 (exit $ac_status); }; }; then
70271 eval "$as_ac_var=yes"
70272 else
70273 echo "$as_me: failed program was:" >&5
70274 sed 's/^/| /' conftest.$ac_ext >&5
70276 eval "$as_ac_var=no"
70278 rm -f conftest.err conftest.$ac_objext \
70279 conftest$ac_exeext conftest.$ac_ext
70281 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70282 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70283 if test `eval echo '${'$as_ac_var'}'` = yes; then
70284 cat >>confdefs.h <<_ACEOF
70285 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70286 _ACEOF
70289 done
70294 echo "$as_me:$LINENO: checking for _long double round functions" >&5
70295 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
70296 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
70297 echo $ECHO_N "(cached) $ECHO_C" >&6
70298 else
70302 ac_ext=cc
70303 ac_cpp='$CXXCPP $CPPFLAGS'
70304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70308 cat >conftest.$ac_ext <<_ACEOF
70309 /* confdefs.h. */
70310 _ACEOF
70311 cat confdefs.h >>conftest.$ac_ext
70312 cat >>conftest.$ac_ext <<_ACEOF
70313 /* end confdefs.h. */
70314 #include <math.h>
70316 main ()
70318 `for x in _ceill _floorl; do echo "$x (0);"; done`
70320 return 0;
70322 _ACEOF
70323 rm -f conftest.$ac_objext
70324 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70325 (eval $ac_compile) 2>conftest.er1
70326 ac_status=$?
70327 grep -v '^ *+' conftest.er1 >conftest.err
70328 rm -f conftest.er1
70329 cat conftest.err >&5
70330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70331 (exit $ac_status); } &&
70332 { ac_try='test -z "$ac_cxx_werror_flag"
70333 || test ! -s conftest.err'
70334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70335 (eval $ac_try) 2>&5
70336 ac_status=$?
70337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70338 (exit $ac_status); }; } &&
70339 { ac_try='test -s conftest.$ac_objext'
70340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70341 (eval $ac_try) 2>&5
70342 ac_status=$?
70343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70344 (exit $ac_status); }; }; then
70345 glibcxx_cv_func__long_double_round_use=yes
70346 else
70347 echo "$as_me: failed program was:" >&5
70348 sed 's/^/| /' conftest.$ac_ext >&5
70350 glibcxx_cv_func__long_double_round_use=no
70352 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70353 ac_ext=c
70354 ac_cpp='$CPP $CPPFLAGS'
70355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70361 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
70362 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
70363 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
70366 for ac_func in _ceill _floorl
70368 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70369 echo "$as_me:$LINENO: checking for $ac_func" >&5
70370 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70371 if eval "test \"\${$as_ac_var+set}\" = set"; then
70372 echo $ECHO_N "(cached) $ECHO_C" >&6
70373 else
70374 if test x$gcc_no_link = xyes; then
70375 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70376 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70377 { (exit 1); exit 1; }; }
70379 cat >conftest.$ac_ext <<_ACEOF
70380 /* confdefs.h. */
70381 _ACEOF
70382 cat confdefs.h >>conftest.$ac_ext
70383 cat >>conftest.$ac_ext <<_ACEOF
70384 /* end confdefs.h. */
70385 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70386 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70387 #define $ac_func innocuous_$ac_func
70389 /* System header to define __stub macros and hopefully few prototypes,
70390 which can conflict with char $ac_func (); below.
70391 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70392 <limits.h> exists even on freestanding compilers. */
70394 #ifdef __STDC__
70395 # include <limits.h>
70396 #else
70397 # include <assert.h>
70398 #endif
70400 #undef $ac_func
70402 /* Override any gcc2 internal prototype to avoid an error. */
70403 #ifdef __cplusplus
70404 extern "C"
70406 #endif
70407 /* We use char because int might match the return type of a gcc2
70408 builtin and then its argument prototype would still apply. */
70409 char $ac_func ();
70410 /* The GNU C library defines this for functions which it implements
70411 to always fail with ENOSYS. Some functions are actually named
70412 something starting with __ and the normal name is an alias. */
70413 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70414 choke me
70415 #else
70416 char (*f) () = $ac_func;
70417 #endif
70418 #ifdef __cplusplus
70420 #endif
70423 main ()
70425 return f != $ac_func;
70427 return 0;
70429 _ACEOF
70430 rm -f conftest.$ac_objext conftest$ac_exeext
70431 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70432 (eval $ac_link) 2>conftest.er1
70433 ac_status=$?
70434 grep -v '^ *+' conftest.er1 >conftest.err
70435 rm -f conftest.er1
70436 cat conftest.err >&5
70437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70438 (exit $ac_status); } &&
70439 { ac_try='test -z "$ac_c_werror_flag"
70440 || test ! -s conftest.err'
70441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70442 (eval $ac_try) 2>&5
70443 ac_status=$?
70444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70445 (exit $ac_status); }; } &&
70446 { ac_try='test -s conftest$ac_exeext'
70447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70448 (eval $ac_try) 2>&5
70449 ac_status=$?
70450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70451 (exit $ac_status); }; }; then
70452 eval "$as_ac_var=yes"
70453 else
70454 echo "$as_me: failed program was:" >&5
70455 sed 's/^/| /' conftest.$ac_ext >&5
70457 eval "$as_ac_var=no"
70459 rm -f conftest.err conftest.$ac_objext \
70460 conftest$ac_exeext conftest.$ac_ext
70462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70463 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70464 if test `eval echo '${'$as_ac_var'}'` = yes; then
70465 cat >>confdefs.h <<_ACEOF
70466 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70467 _ACEOF
70470 done
70475 LIBS="$ac_save_LIBS"
70476 CXXFLAGS="$ac_save_CXXFLAGS"
70480 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
70481 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
70482 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
70483 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
70484 echo $ECHO_N "(cached) $ECHO_C" >&6
70485 else
70489 ac_ext=cc
70490 ac_cpp='$CXXCPP $CPPFLAGS'
70491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70495 cat >conftest.$ac_ext <<_ACEOF
70496 /* confdefs.h. */
70497 _ACEOF
70498 cat confdefs.h >>conftest.$ac_ext
70499 cat >>conftest.$ac_ext <<_ACEOF
70500 /* end confdefs.h. */
70501 #include <math.h>
70503 main ()
70505 __builtin_abs(0);
70507 return 0;
70509 _ACEOF
70510 rm -f conftest.$ac_objext
70511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70512 (eval $ac_compile) 2>conftest.er1
70513 ac_status=$?
70514 grep -v '^ *+' conftest.er1 >conftest.err
70515 rm -f conftest.er1
70516 cat conftest.err >&5
70517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70518 (exit $ac_status); } &&
70519 { ac_try='test -z "$ac_cxx_werror_flag"
70520 || test ! -s conftest.err'
70521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70522 (eval $ac_try) 2>&5
70523 ac_status=$?
70524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70525 (exit $ac_status); }; } &&
70526 { ac_try='test -s conftest.$ac_objext'
70527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70528 (eval $ac_try) 2>&5
70529 ac_status=$?
70530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70531 (exit $ac_status); }; }; then
70532 glibcxx_cv_func___builtin_abs_use=yes
70533 else
70534 echo "$as_me: failed program was:" >&5
70535 sed 's/^/| /' conftest.$ac_ext >&5
70537 glibcxx_cv_func___builtin_abs_use=no
70539 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70540 ac_ext=c
70541 ac_cpp='$CPP $CPPFLAGS'
70542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70550 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
70551 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
70552 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
70553 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
70554 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
70555 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
70556 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
70557 echo $ECHO_N "(cached) $ECHO_C" >&6
70558 else
70560 if test x$gcc_no_link = xyes; then
70561 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70562 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70563 { (exit 1); exit 1; }; }
70565 cat >conftest.$ac_ext <<_ACEOF
70566 /* confdefs.h. */
70567 _ACEOF
70568 cat confdefs.h >>conftest.$ac_ext
70569 cat >>conftest.$ac_ext <<_ACEOF
70570 /* end confdefs.h. */
70571 #include <math.h>
70573 main ()
70575 __builtin_abs(0);
70577 return 0;
70579 _ACEOF
70580 rm -f conftest.$ac_objext conftest$ac_exeext
70581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70582 (eval $ac_link) 2>conftest.er1
70583 ac_status=$?
70584 grep -v '^ *+' conftest.er1 >conftest.err
70585 rm -f conftest.er1
70586 cat conftest.err >&5
70587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70588 (exit $ac_status); } &&
70589 { ac_try='test -z "$ac_c_werror_flag"
70590 || test ! -s conftest.err'
70591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70592 (eval $ac_try) 2>&5
70593 ac_status=$?
70594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70595 (exit $ac_status); }; } &&
70596 { ac_try='test -s conftest$ac_exeext'
70597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70598 (eval $ac_try) 2>&5
70599 ac_status=$?
70600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70601 (exit $ac_status); }; }; then
70602 glibcxx_cv_func___builtin_abs_link=yes
70603 else
70604 echo "$as_me: failed program was:" >&5
70605 sed 's/^/| /' conftest.$ac_ext >&5
70607 glibcxx_cv_func___builtin_abs_link=no
70609 rm -f conftest.err conftest.$ac_objext \
70610 conftest$ac_exeext conftest.$ac_ext
70615 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
70616 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
70617 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
70618 ac_tr_func=HAVE_`echo __builtin_abs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
70620 cat >>confdefs.h <<_ACEOF
70621 #define ${ac_tr_func} 1
70622 _ACEOF
70628 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
70629 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
70630 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
70631 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
70632 echo $ECHO_N "(cached) $ECHO_C" >&6
70633 else
70637 ac_ext=cc
70638 ac_cpp='$CXXCPP $CPPFLAGS'
70639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70643 cat >conftest.$ac_ext <<_ACEOF
70644 /* confdefs.h. */
70645 _ACEOF
70646 cat confdefs.h >>conftest.$ac_ext
70647 cat >>conftest.$ac_ext <<_ACEOF
70648 /* end confdefs.h. */
70649 #include <math.h>
70651 main ()
70653 __builtin_fabsf(0);
70655 return 0;
70657 _ACEOF
70658 rm -f conftest.$ac_objext
70659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70660 (eval $ac_compile) 2>conftest.er1
70661 ac_status=$?
70662 grep -v '^ *+' conftest.er1 >conftest.err
70663 rm -f conftest.er1
70664 cat conftest.err >&5
70665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70666 (exit $ac_status); } &&
70667 { ac_try='test -z "$ac_cxx_werror_flag"
70668 || test ! -s conftest.err'
70669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70670 (eval $ac_try) 2>&5
70671 ac_status=$?
70672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70673 (exit $ac_status); }; } &&
70674 { ac_try='test -s conftest.$ac_objext'
70675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70676 (eval $ac_try) 2>&5
70677 ac_status=$?
70678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70679 (exit $ac_status); }; }; then
70680 glibcxx_cv_func___builtin_fabsf_use=yes
70681 else
70682 echo "$as_me: failed program was:" >&5
70683 sed 's/^/| /' conftest.$ac_ext >&5
70685 glibcxx_cv_func___builtin_fabsf_use=no
70687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70688 ac_ext=c
70689 ac_cpp='$CPP $CPPFLAGS'
70690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70698 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
70699 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
70700 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
70701 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
70702 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
70703 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
70704 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
70705 echo $ECHO_N "(cached) $ECHO_C" >&6
70706 else
70708 if test x$gcc_no_link = xyes; then
70709 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70710 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70711 { (exit 1); exit 1; }; }
70713 cat >conftest.$ac_ext <<_ACEOF
70714 /* confdefs.h. */
70715 _ACEOF
70716 cat confdefs.h >>conftest.$ac_ext
70717 cat >>conftest.$ac_ext <<_ACEOF
70718 /* end confdefs.h. */
70719 #include <math.h>
70721 main ()
70723 __builtin_fabsf(0);
70725 return 0;
70727 _ACEOF
70728 rm -f conftest.$ac_objext conftest$ac_exeext
70729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70730 (eval $ac_link) 2>conftest.er1
70731 ac_status=$?
70732 grep -v '^ *+' conftest.er1 >conftest.err
70733 rm -f conftest.er1
70734 cat conftest.err >&5
70735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70736 (exit $ac_status); } &&
70737 { ac_try='test -z "$ac_c_werror_flag"
70738 || test ! -s conftest.err'
70739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70740 (eval $ac_try) 2>&5
70741 ac_status=$?
70742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70743 (exit $ac_status); }; } &&
70744 { ac_try='test -s conftest$ac_exeext'
70745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70746 (eval $ac_try) 2>&5
70747 ac_status=$?
70748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70749 (exit $ac_status); }; }; then
70750 glibcxx_cv_func___builtin_fabsf_link=yes
70751 else
70752 echo "$as_me: failed program was:" >&5
70753 sed 's/^/| /' conftest.$ac_ext >&5
70755 glibcxx_cv_func___builtin_fabsf_link=no
70757 rm -f conftest.err conftest.$ac_objext \
70758 conftest$ac_exeext conftest.$ac_ext
70763 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
70764 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
70765 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
70766 ac_tr_func=HAVE_`echo __builtin_fabsf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
70768 cat >>confdefs.h <<_ACEOF
70769 #define ${ac_tr_func} 1
70770 _ACEOF
70776 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
70777 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
70778 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
70779 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
70780 echo $ECHO_N "(cached) $ECHO_C" >&6
70781 else
70785 ac_ext=cc
70786 ac_cpp='$CXXCPP $CPPFLAGS'
70787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70791 cat >conftest.$ac_ext <<_ACEOF
70792 /* confdefs.h. */
70793 _ACEOF
70794 cat confdefs.h >>conftest.$ac_ext
70795 cat >>conftest.$ac_ext <<_ACEOF
70796 /* end confdefs.h. */
70797 #include <math.h>
70799 main ()
70801 __builtin_fabs(0);
70803 return 0;
70805 _ACEOF
70806 rm -f conftest.$ac_objext
70807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70808 (eval $ac_compile) 2>conftest.er1
70809 ac_status=$?
70810 grep -v '^ *+' conftest.er1 >conftest.err
70811 rm -f conftest.er1
70812 cat conftest.err >&5
70813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70814 (exit $ac_status); } &&
70815 { ac_try='test -z "$ac_cxx_werror_flag"
70816 || test ! -s conftest.err'
70817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70818 (eval $ac_try) 2>&5
70819 ac_status=$?
70820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70821 (exit $ac_status); }; } &&
70822 { ac_try='test -s conftest.$ac_objext'
70823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70824 (eval $ac_try) 2>&5
70825 ac_status=$?
70826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70827 (exit $ac_status); }; }; then
70828 glibcxx_cv_func___builtin_fabs_use=yes
70829 else
70830 echo "$as_me: failed program was:" >&5
70831 sed 's/^/| /' conftest.$ac_ext >&5
70833 glibcxx_cv_func___builtin_fabs_use=no
70835 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70836 ac_ext=c
70837 ac_cpp='$CPP $CPPFLAGS'
70838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70846 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
70847 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
70848 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
70849 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
70850 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
70851 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
70852 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
70853 echo $ECHO_N "(cached) $ECHO_C" >&6
70854 else
70856 if test x$gcc_no_link = xyes; then
70857 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70858 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70859 { (exit 1); exit 1; }; }
70861 cat >conftest.$ac_ext <<_ACEOF
70862 /* confdefs.h. */
70863 _ACEOF
70864 cat confdefs.h >>conftest.$ac_ext
70865 cat >>conftest.$ac_ext <<_ACEOF
70866 /* end confdefs.h. */
70867 #include <math.h>
70869 main ()
70871 __builtin_fabs(0);
70873 return 0;
70875 _ACEOF
70876 rm -f conftest.$ac_objext conftest$ac_exeext
70877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70878 (eval $ac_link) 2>conftest.er1
70879 ac_status=$?
70880 grep -v '^ *+' conftest.er1 >conftest.err
70881 rm -f conftest.er1
70882 cat conftest.err >&5
70883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70884 (exit $ac_status); } &&
70885 { ac_try='test -z "$ac_c_werror_flag"
70886 || test ! -s conftest.err'
70887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70888 (eval $ac_try) 2>&5
70889 ac_status=$?
70890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70891 (exit $ac_status); }; } &&
70892 { ac_try='test -s conftest$ac_exeext'
70893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70894 (eval $ac_try) 2>&5
70895 ac_status=$?
70896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70897 (exit $ac_status); }; }; then
70898 glibcxx_cv_func___builtin_fabs_link=yes
70899 else
70900 echo "$as_me: failed program was:" >&5
70901 sed 's/^/| /' conftest.$ac_ext >&5
70903 glibcxx_cv_func___builtin_fabs_link=no
70905 rm -f conftest.err conftest.$ac_objext \
70906 conftest$ac_exeext conftest.$ac_ext
70911 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
70912 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
70913 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
70914 ac_tr_func=HAVE_`echo __builtin_fabs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
70916 cat >>confdefs.h <<_ACEOF
70917 #define ${ac_tr_func} 1
70918 _ACEOF
70924 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
70925 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
70926 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
70927 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
70928 echo $ECHO_N "(cached) $ECHO_C" >&6
70929 else
70933 ac_ext=cc
70934 ac_cpp='$CXXCPP $CPPFLAGS'
70935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70939 cat >conftest.$ac_ext <<_ACEOF
70940 /* confdefs.h. */
70941 _ACEOF
70942 cat confdefs.h >>conftest.$ac_ext
70943 cat >>conftest.$ac_ext <<_ACEOF
70944 /* end confdefs.h. */
70945 #include <math.h>
70947 main ()
70949 __builtin_fabsl(0);
70951 return 0;
70953 _ACEOF
70954 rm -f conftest.$ac_objext
70955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70956 (eval $ac_compile) 2>conftest.er1
70957 ac_status=$?
70958 grep -v '^ *+' conftest.er1 >conftest.err
70959 rm -f conftest.er1
70960 cat conftest.err >&5
70961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70962 (exit $ac_status); } &&
70963 { ac_try='test -z "$ac_cxx_werror_flag"
70964 || test ! -s conftest.err'
70965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70966 (eval $ac_try) 2>&5
70967 ac_status=$?
70968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70969 (exit $ac_status); }; } &&
70970 { ac_try='test -s conftest.$ac_objext'
70971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70972 (eval $ac_try) 2>&5
70973 ac_status=$?
70974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70975 (exit $ac_status); }; }; then
70976 glibcxx_cv_func___builtin_fabsl_use=yes
70977 else
70978 echo "$as_me: failed program was:" >&5
70979 sed 's/^/| /' conftest.$ac_ext >&5
70981 glibcxx_cv_func___builtin_fabsl_use=no
70983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70984 ac_ext=c
70985 ac_cpp='$CPP $CPPFLAGS'
70986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70994 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
70995 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
70996 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
70997 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
70998 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
70999 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
71000 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
71001 echo $ECHO_N "(cached) $ECHO_C" >&6
71002 else
71004 if test x$gcc_no_link = xyes; then
71005 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71006 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71007 { (exit 1); exit 1; }; }
71009 cat >conftest.$ac_ext <<_ACEOF
71010 /* confdefs.h. */
71011 _ACEOF
71012 cat confdefs.h >>conftest.$ac_ext
71013 cat >>conftest.$ac_ext <<_ACEOF
71014 /* end confdefs.h. */
71015 #include <math.h>
71017 main ()
71019 __builtin_fabsl(0);
71021 return 0;
71023 _ACEOF
71024 rm -f conftest.$ac_objext conftest$ac_exeext
71025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71026 (eval $ac_link) 2>conftest.er1
71027 ac_status=$?
71028 grep -v '^ *+' conftest.er1 >conftest.err
71029 rm -f conftest.er1
71030 cat conftest.err >&5
71031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71032 (exit $ac_status); } &&
71033 { ac_try='test -z "$ac_c_werror_flag"
71034 || test ! -s conftest.err'
71035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71036 (eval $ac_try) 2>&5
71037 ac_status=$?
71038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71039 (exit $ac_status); }; } &&
71040 { ac_try='test -s conftest$ac_exeext'
71041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71042 (eval $ac_try) 2>&5
71043 ac_status=$?
71044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71045 (exit $ac_status); }; }; then
71046 glibcxx_cv_func___builtin_fabsl_link=yes
71047 else
71048 echo "$as_me: failed program was:" >&5
71049 sed 's/^/| /' conftest.$ac_ext >&5
71051 glibcxx_cv_func___builtin_fabsl_link=no
71053 rm -f conftest.err conftest.$ac_objext \
71054 conftest$ac_exeext conftest.$ac_ext
71059 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
71060 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
71061 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
71062 ac_tr_func=HAVE_`echo __builtin_fabsl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71064 cat >>confdefs.h <<_ACEOF
71065 #define ${ac_tr_func} 1
71066 _ACEOF
71072 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
71073 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
71074 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
71075 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
71076 echo $ECHO_N "(cached) $ECHO_C" >&6
71077 else
71081 ac_ext=cc
71082 ac_cpp='$CXXCPP $CPPFLAGS'
71083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71087 cat >conftest.$ac_ext <<_ACEOF
71088 /* confdefs.h. */
71089 _ACEOF
71090 cat confdefs.h >>conftest.$ac_ext
71091 cat >>conftest.$ac_ext <<_ACEOF
71092 /* end confdefs.h. */
71093 #include <math.h>
71095 main ()
71097 __builtin_labs(0);
71099 return 0;
71101 _ACEOF
71102 rm -f conftest.$ac_objext
71103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71104 (eval $ac_compile) 2>conftest.er1
71105 ac_status=$?
71106 grep -v '^ *+' conftest.er1 >conftest.err
71107 rm -f conftest.er1
71108 cat conftest.err >&5
71109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71110 (exit $ac_status); } &&
71111 { ac_try='test -z "$ac_cxx_werror_flag"
71112 || test ! -s conftest.err'
71113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71114 (eval $ac_try) 2>&5
71115 ac_status=$?
71116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71117 (exit $ac_status); }; } &&
71118 { ac_try='test -s conftest.$ac_objext'
71119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71120 (eval $ac_try) 2>&5
71121 ac_status=$?
71122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71123 (exit $ac_status); }; }; then
71124 glibcxx_cv_func___builtin_labs_use=yes
71125 else
71126 echo "$as_me: failed program was:" >&5
71127 sed 's/^/| /' conftest.$ac_ext >&5
71129 glibcxx_cv_func___builtin_labs_use=no
71131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71132 ac_ext=c
71133 ac_cpp='$CPP $CPPFLAGS'
71134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71142 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
71143 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
71144 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
71145 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
71146 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
71147 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
71148 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
71149 echo $ECHO_N "(cached) $ECHO_C" >&6
71150 else
71152 if test x$gcc_no_link = xyes; then
71153 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71154 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71155 { (exit 1); exit 1; }; }
71157 cat >conftest.$ac_ext <<_ACEOF
71158 /* confdefs.h. */
71159 _ACEOF
71160 cat confdefs.h >>conftest.$ac_ext
71161 cat >>conftest.$ac_ext <<_ACEOF
71162 /* end confdefs.h. */
71163 #include <math.h>
71165 main ()
71167 __builtin_labs(0);
71169 return 0;
71171 _ACEOF
71172 rm -f conftest.$ac_objext conftest$ac_exeext
71173 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71174 (eval $ac_link) 2>conftest.er1
71175 ac_status=$?
71176 grep -v '^ *+' conftest.er1 >conftest.err
71177 rm -f conftest.er1
71178 cat conftest.err >&5
71179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71180 (exit $ac_status); } &&
71181 { ac_try='test -z "$ac_c_werror_flag"
71182 || test ! -s conftest.err'
71183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71184 (eval $ac_try) 2>&5
71185 ac_status=$?
71186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71187 (exit $ac_status); }; } &&
71188 { ac_try='test -s conftest$ac_exeext'
71189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71190 (eval $ac_try) 2>&5
71191 ac_status=$?
71192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71193 (exit $ac_status); }; }; then
71194 glibcxx_cv_func___builtin_labs_link=yes
71195 else
71196 echo "$as_me: failed program was:" >&5
71197 sed 's/^/| /' conftest.$ac_ext >&5
71199 glibcxx_cv_func___builtin_labs_link=no
71201 rm -f conftest.err conftest.$ac_objext \
71202 conftest$ac_exeext conftest.$ac_ext
71207 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
71208 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
71209 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
71210 ac_tr_func=HAVE_`echo __builtin_labs | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71212 cat >>confdefs.h <<_ACEOF
71213 #define ${ac_tr_func} 1
71214 _ACEOF
71221 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
71222 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
71223 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
71224 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
71225 echo $ECHO_N "(cached) $ECHO_C" >&6
71226 else
71230 ac_ext=cc
71231 ac_cpp='$CXXCPP $CPPFLAGS'
71232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71236 cat >conftest.$ac_ext <<_ACEOF
71237 /* confdefs.h. */
71238 _ACEOF
71239 cat confdefs.h >>conftest.$ac_ext
71240 cat >>conftest.$ac_ext <<_ACEOF
71241 /* end confdefs.h. */
71242 #include <math.h>
71244 main ()
71246 __builtin_sqrtf(0);
71248 return 0;
71250 _ACEOF
71251 rm -f conftest.$ac_objext
71252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71253 (eval $ac_compile) 2>conftest.er1
71254 ac_status=$?
71255 grep -v '^ *+' conftest.er1 >conftest.err
71256 rm -f conftest.er1
71257 cat conftest.err >&5
71258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71259 (exit $ac_status); } &&
71260 { ac_try='test -z "$ac_cxx_werror_flag"
71261 || test ! -s conftest.err'
71262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71263 (eval $ac_try) 2>&5
71264 ac_status=$?
71265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71266 (exit $ac_status); }; } &&
71267 { ac_try='test -s conftest.$ac_objext'
71268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71269 (eval $ac_try) 2>&5
71270 ac_status=$?
71271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71272 (exit $ac_status); }; }; then
71273 glibcxx_cv_func___builtin_sqrtf_use=yes
71274 else
71275 echo "$as_me: failed program was:" >&5
71276 sed 's/^/| /' conftest.$ac_ext >&5
71278 glibcxx_cv_func___builtin_sqrtf_use=no
71280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71281 ac_ext=c
71282 ac_cpp='$CPP $CPPFLAGS'
71283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71291 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
71292 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
71293 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
71294 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
71295 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
71296 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
71297 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
71298 echo $ECHO_N "(cached) $ECHO_C" >&6
71299 else
71301 if test x$gcc_no_link = xyes; then
71302 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71303 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71304 { (exit 1); exit 1; }; }
71306 cat >conftest.$ac_ext <<_ACEOF
71307 /* confdefs.h. */
71308 _ACEOF
71309 cat confdefs.h >>conftest.$ac_ext
71310 cat >>conftest.$ac_ext <<_ACEOF
71311 /* end confdefs.h. */
71312 #include <math.h>
71314 main ()
71316 __builtin_sqrtf(0);
71318 return 0;
71320 _ACEOF
71321 rm -f conftest.$ac_objext conftest$ac_exeext
71322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71323 (eval $ac_link) 2>conftest.er1
71324 ac_status=$?
71325 grep -v '^ *+' conftest.er1 >conftest.err
71326 rm -f conftest.er1
71327 cat conftest.err >&5
71328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71329 (exit $ac_status); } &&
71330 { ac_try='test -z "$ac_c_werror_flag"
71331 || test ! -s conftest.err'
71332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71333 (eval $ac_try) 2>&5
71334 ac_status=$?
71335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71336 (exit $ac_status); }; } &&
71337 { ac_try='test -s conftest$ac_exeext'
71338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71339 (eval $ac_try) 2>&5
71340 ac_status=$?
71341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71342 (exit $ac_status); }; }; then
71343 glibcxx_cv_func___builtin_sqrtf_link=yes
71344 else
71345 echo "$as_me: failed program was:" >&5
71346 sed 's/^/| /' conftest.$ac_ext >&5
71348 glibcxx_cv_func___builtin_sqrtf_link=no
71350 rm -f conftest.err conftest.$ac_objext \
71351 conftest$ac_exeext conftest.$ac_ext
71356 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
71357 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
71358 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
71359 ac_tr_func=HAVE_`echo __builtin_sqrtf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71361 cat >>confdefs.h <<_ACEOF
71362 #define ${ac_tr_func} 1
71363 _ACEOF
71369 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
71370 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
71371 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
71372 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
71373 echo $ECHO_N "(cached) $ECHO_C" >&6
71374 else
71378 ac_ext=cc
71379 ac_cpp='$CXXCPP $CPPFLAGS'
71380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71384 cat >conftest.$ac_ext <<_ACEOF
71385 /* confdefs.h. */
71386 _ACEOF
71387 cat confdefs.h >>conftest.$ac_ext
71388 cat >>conftest.$ac_ext <<_ACEOF
71389 /* end confdefs.h. */
71390 #include <math.h>
71392 main ()
71394 __builtin_sqrt(0);
71396 return 0;
71398 _ACEOF
71399 rm -f conftest.$ac_objext
71400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71401 (eval $ac_compile) 2>conftest.er1
71402 ac_status=$?
71403 grep -v '^ *+' conftest.er1 >conftest.err
71404 rm -f conftest.er1
71405 cat conftest.err >&5
71406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71407 (exit $ac_status); } &&
71408 { ac_try='test -z "$ac_cxx_werror_flag"
71409 || test ! -s conftest.err'
71410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71411 (eval $ac_try) 2>&5
71412 ac_status=$?
71413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71414 (exit $ac_status); }; } &&
71415 { ac_try='test -s conftest.$ac_objext'
71416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71417 (eval $ac_try) 2>&5
71418 ac_status=$?
71419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71420 (exit $ac_status); }; }; then
71421 glibcxx_cv_func___builtin_sqrt_use=yes
71422 else
71423 echo "$as_me: failed program was:" >&5
71424 sed 's/^/| /' conftest.$ac_ext >&5
71426 glibcxx_cv_func___builtin_sqrt_use=no
71428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71429 ac_ext=c
71430 ac_cpp='$CPP $CPPFLAGS'
71431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71439 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
71440 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
71441 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
71442 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
71443 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
71444 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
71445 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
71446 echo $ECHO_N "(cached) $ECHO_C" >&6
71447 else
71449 if test x$gcc_no_link = xyes; then
71450 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71451 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71452 { (exit 1); exit 1; }; }
71454 cat >conftest.$ac_ext <<_ACEOF
71455 /* confdefs.h. */
71456 _ACEOF
71457 cat confdefs.h >>conftest.$ac_ext
71458 cat >>conftest.$ac_ext <<_ACEOF
71459 /* end confdefs.h. */
71460 #include <math.h>
71462 main ()
71464 __builtin_sqrt(0);
71466 return 0;
71468 _ACEOF
71469 rm -f conftest.$ac_objext conftest$ac_exeext
71470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71471 (eval $ac_link) 2>conftest.er1
71472 ac_status=$?
71473 grep -v '^ *+' conftest.er1 >conftest.err
71474 rm -f conftest.er1
71475 cat conftest.err >&5
71476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71477 (exit $ac_status); } &&
71478 { ac_try='test -z "$ac_c_werror_flag"
71479 || test ! -s conftest.err'
71480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71481 (eval $ac_try) 2>&5
71482 ac_status=$?
71483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71484 (exit $ac_status); }; } &&
71485 { ac_try='test -s conftest$ac_exeext'
71486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71487 (eval $ac_try) 2>&5
71488 ac_status=$?
71489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71490 (exit $ac_status); }; }; then
71491 glibcxx_cv_func___builtin_sqrt_link=yes
71492 else
71493 echo "$as_me: failed program was:" >&5
71494 sed 's/^/| /' conftest.$ac_ext >&5
71496 glibcxx_cv_func___builtin_sqrt_link=no
71498 rm -f conftest.err conftest.$ac_objext \
71499 conftest$ac_exeext conftest.$ac_ext
71504 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
71505 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
71506 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
71507 ac_tr_func=HAVE_`echo __builtin_sqrt | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71509 cat >>confdefs.h <<_ACEOF
71510 #define ${ac_tr_func} 1
71511 _ACEOF
71517 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
71518 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
71519 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
71520 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
71521 echo $ECHO_N "(cached) $ECHO_C" >&6
71522 else
71526 ac_ext=cc
71527 ac_cpp='$CXXCPP $CPPFLAGS'
71528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71532 cat >conftest.$ac_ext <<_ACEOF
71533 /* confdefs.h. */
71534 _ACEOF
71535 cat confdefs.h >>conftest.$ac_ext
71536 cat >>conftest.$ac_ext <<_ACEOF
71537 /* end confdefs.h. */
71538 #include <math.h>
71540 main ()
71542 __builtin_sqrtl(0);
71544 return 0;
71546 _ACEOF
71547 rm -f conftest.$ac_objext
71548 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71549 (eval $ac_compile) 2>conftest.er1
71550 ac_status=$?
71551 grep -v '^ *+' conftest.er1 >conftest.err
71552 rm -f conftest.er1
71553 cat conftest.err >&5
71554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71555 (exit $ac_status); } &&
71556 { ac_try='test -z "$ac_cxx_werror_flag"
71557 || test ! -s conftest.err'
71558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71559 (eval $ac_try) 2>&5
71560 ac_status=$?
71561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71562 (exit $ac_status); }; } &&
71563 { ac_try='test -s conftest.$ac_objext'
71564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71565 (eval $ac_try) 2>&5
71566 ac_status=$?
71567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71568 (exit $ac_status); }; }; then
71569 glibcxx_cv_func___builtin_sqrtl_use=yes
71570 else
71571 echo "$as_me: failed program was:" >&5
71572 sed 's/^/| /' conftest.$ac_ext >&5
71574 glibcxx_cv_func___builtin_sqrtl_use=no
71576 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71577 ac_ext=c
71578 ac_cpp='$CPP $CPPFLAGS'
71579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71587 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
71588 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
71589 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
71590 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
71591 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
71592 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
71593 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
71594 echo $ECHO_N "(cached) $ECHO_C" >&6
71595 else
71597 if test x$gcc_no_link = xyes; then
71598 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71600 { (exit 1); exit 1; }; }
71602 cat >conftest.$ac_ext <<_ACEOF
71603 /* confdefs.h. */
71604 _ACEOF
71605 cat confdefs.h >>conftest.$ac_ext
71606 cat >>conftest.$ac_ext <<_ACEOF
71607 /* end confdefs.h. */
71608 #include <math.h>
71610 main ()
71612 __builtin_sqrtl(0);
71614 return 0;
71616 _ACEOF
71617 rm -f conftest.$ac_objext conftest$ac_exeext
71618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71619 (eval $ac_link) 2>conftest.er1
71620 ac_status=$?
71621 grep -v '^ *+' conftest.er1 >conftest.err
71622 rm -f conftest.er1
71623 cat conftest.err >&5
71624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71625 (exit $ac_status); } &&
71626 { ac_try='test -z "$ac_c_werror_flag"
71627 || test ! -s conftest.err'
71628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71629 (eval $ac_try) 2>&5
71630 ac_status=$?
71631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71632 (exit $ac_status); }; } &&
71633 { ac_try='test -s conftest$ac_exeext'
71634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71635 (eval $ac_try) 2>&5
71636 ac_status=$?
71637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71638 (exit $ac_status); }; }; then
71639 glibcxx_cv_func___builtin_sqrtl_link=yes
71640 else
71641 echo "$as_me: failed program was:" >&5
71642 sed 's/^/| /' conftest.$ac_ext >&5
71644 glibcxx_cv_func___builtin_sqrtl_link=no
71646 rm -f conftest.err conftest.$ac_objext \
71647 conftest$ac_exeext conftest.$ac_ext
71652 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
71653 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
71654 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
71655 ac_tr_func=HAVE_`echo __builtin_sqrtl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71657 cat >>confdefs.h <<_ACEOF
71658 #define ${ac_tr_func} 1
71659 _ACEOF
71666 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
71667 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
71668 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
71669 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
71670 echo $ECHO_N "(cached) $ECHO_C" >&6
71671 else
71675 ac_ext=cc
71676 ac_cpp='$CXXCPP $CPPFLAGS'
71677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71681 cat >conftest.$ac_ext <<_ACEOF
71682 /* confdefs.h. */
71683 _ACEOF
71684 cat confdefs.h >>conftest.$ac_ext
71685 cat >>conftest.$ac_ext <<_ACEOF
71686 /* end confdefs.h. */
71687 #include <math.h>
71689 main ()
71691 __builtin_sinf(0);
71693 return 0;
71695 _ACEOF
71696 rm -f conftest.$ac_objext
71697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71698 (eval $ac_compile) 2>conftest.er1
71699 ac_status=$?
71700 grep -v '^ *+' conftest.er1 >conftest.err
71701 rm -f conftest.er1
71702 cat conftest.err >&5
71703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71704 (exit $ac_status); } &&
71705 { ac_try='test -z "$ac_cxx_werror_flag"
71706 || test ! -s conftest.err'
71707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71708 (eval $ac_try) 2>&5
71709 ac_status=$?
71710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71711 (exit $ac_status); }; } &&
71712 { ac_try='test -s conftest.$ac_objext'
71713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71714 (eval $ac_try) 2>&5
71715 ac_status=$?
71716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71717 (exit $ac_status); }; }; then
71718 glibcxx_cv_func___builtin_sinf_use=yes
71719 else
71720 echo "$as_me: failed program was:" >&5
71721 sed 's/^/| /' conftest.$ac_ext >&5
71723 glibcxx_cv_func___builtin_sinf_use=no
71725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71726 ac_ext=c
71727 ac_cpp='$CPP $CPPFLAGS'
71728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71736 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
71737 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
71738 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
71739 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
71740 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
71741 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
71742 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
71743 echo $ECHO_N "(cached) $ECHO_C" >&6
71744 else
71746 if test x$gcc_no_link = xyes; then
71747 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71748 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71749 { (exit 1); exit 1; }; }
71751 cat >conftest.$ac_ext <<_ACEOF
71752 /* confdefs.h. */
71753 _ACEOF
71754 cat confdefs.h >>conftest.$ac_ext
71755 cat >>conftest.$ac_ext <<_ACEOF
71756 /* end confdefs.h. */
71757 #include <math.h>
71759 main ()
71761 __builtin_sinf(0);
71763 return 0;
71765 _ACEOF
71766 rm -f conftest.$ac_objext conftest$ac_exeext
71767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71768 (eval $ac_link) 2>conftest.er1
71769 ac_status=$?
71770 grep -v '^ *+' conftest.er1 >conftest.err
71771 rm -f conftest.er1
71772 cat conftest.err >&5
71773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71774 (exit $ac_status); } &&
71775 { ac_try='test -z "$ac_c_werror_flag"
71776 || test ! -s conftest.err'
71777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71778 (eval $ac_try) 2>&5
71779 ac_status=$?
71780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71781 (exit $ac_status); }; } &&
71782 { ac_try='test -s conftest$ac_exeext'
71783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71784 (eval $ac_try) 2>&5
71785 ac_status=$?
71786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71787 (exit $ac_status); }; }; then
71788 glibcxx_cv_func___builtin_sinf_link=yes
71789 else
71790 echo "$as_me: failed program was:" >&5
71791 sed 's/^/| /' conftest.$ac_ext >&5
71793 glibcxx_cv_func___builtin_sinf_link=no
71795 rm -f conftest.err conftest.$ac_objext \
71796 conftest$ac_exeext conftest.$ac_ext
71801 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
71802 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
71803 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
71804 ac_tr_func=HAVE_`echo __builtin_sinf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71806 cat >>confdefs.h <<_ACEOF
71807 #define ${ac_tr_func} 1
71808 _ACEOF
71814 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
71815 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
71816 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
71817 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
71818 echo $ECHO_N "(cached) $ECHO_C" >&6
71819 else
71823 ac_ext=cc
71824 ac_cpp='$CXXCPP $CPPFLAGS'
71825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71829 cat >conftest.$ac_ext <<_ACEOF
71830 /* confdefs.h. */
71831 _ACEOF
71832 cat confdefs.h >>conftest.$ac_ext
71833 cat >>conftest.$ac_ext <<_ACEOF
71834 /* end confdefs.h. */
71835 #include <math.h>
71837 main ()
71839 __builtin_sin(0);
71841 return 0;
71843 _ACEOF
71844 rm -f conftest.$ac_objext
71845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71846 (eval $ac_compile) 2>conftest.er1
71847 ac_status=$?
71848 grep -v '^ *+' conftest.er1 >conftest.err
71849 rm -f conftest.er1
71850 cat conftest.err >&5
71851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71852 (exit $ac_status); } &&
71853 { ac_try='test -z "$ac_cxx_werror_flag"
71854 || test ! -s conftest.err'
71855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71856 (eval $ac_try) 2>&5
71857 ac_status=$?
71858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71859 (exit $ac_status); }; } &&
71860 { ac_try='test -s conftest.$ac_objext'
71861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71862 (eval $ac_try) 2>&5
71863 ac_status=$?
71864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71865 (exit $ac_status); }; }; then
71866 glibcxx_cv_func___builtin_sin_use=yes
71867 else
71868 echo "$as_me: failed program was:" >&5
71869 sed 's/^/| /' conftest.$ac_ext >&5
71871 glibcxx_cv_func___builtin_sin_use=no
71873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71874 ac_ext=c
71875 ac_cpp='$CPP $CPPFLAGS'
71876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71884 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
71885 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
71886 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
71887 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
71888 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
71889 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
71890 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
71891 echo $ECHO_N "(cached) $ECHO_C" >&6
71892 else
71894 if test x$gcc_no_link = xyes; then
71895 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71896 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71897 { (exit 1); exit 1; }; }
71899 cat >conftest.$ac_ext <<_ACEOF
71900 /* confdefs.h. */
71901 _ACEOF
71902 cat confdefs.h >>conftest.$ac_ext
71903 cat >>conftest.$ac_ext <<_ACEOF
71904 /* end confdefs.h. */
71905 #include <math.h>
71907 main ()
71909 __builtin_sin(0);
71911 return 0;
71913 _ACEOF
71914 rm -f conftest.$ac_objext conftest$ac_exeext
71915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71916 (eval $ac_link) 2>conftest.er1
71917 ac_status=$?
71918 grep -v '^ *+' conftest.er1 >conftest.err
71919 rm -f conftest.er1
71920 cat conftest.err >&5
71921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71922 (exit $ac_status); } &&
71923 { ac_try='test -z "$ac_c_werror_flag"
71924 || test ! -s conftest.err'
71925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71926 (eval $ac_try) 2>&5
71927 ac_status=$?
71928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71929 (exit $ac_status); }; } &&
71930 { ac_try='test -s conftest$ac_exeext'
71931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71932 (eval $ac_try) 2>&5
71933 ac_status=$?
71934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71935 (exit $ac_status); }; }; then
71936 glibcxx_cv_func___builtin_sin_link=yes
71937 else
71938 echo "$as_me: failed program was:" >&5
71939 sed 's/^/| /' conftest.$ac_ext >&5
71941 glibcxx_cv_func___builtin_sin_link=no
71943 rm -f conftest.err conftest.$ac_objext \
71944 conftest$ac_exeext conftest.$ac_ext
71949 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
71950 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
71951 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
71952 ac_tr_func=HAVE_`echo __builtin_sin | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
71954 cat >>confdefs.h <<_ACEOF
71955 #define ${ac_tr_func} 1
71956 _ACEOF
71962 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
71963 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
71964 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
71965 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
71966 echo $ECHO_N "(cached) $ECHO_C" >&6
71967 else
71971 ac_ext=cc
71972 ac_cpp='$CXXCPP $CPPFLAGS'
71973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71977 cat >conftest.$ac_ext <<_ACEOF
71978 /* confdefs.h. */
71979 _ACEOF
71980 cat confdefs.h >>conftest.$ac_ext
71981 cat >>conftest.$ac_ext <<_ACEOF
71982 /* end confdefs.h. */
71983 #include <math.h>
71985 main ()
71987 __builtin_sinl(0);
71989 return 0;
71991 _ACEOF
71992 rm -f conftest.$ac_objext
71993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71994 (eval $ac_compile) 2>conftest.er1
71995 ac_status=$?
71996 grep -v '^ *+' conftest.er1 >conftest.err
71997 rm -f conftest.er1
71998 cat conftest.err >&5
71999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72000 (exit $ac_status); } &&
72001 { ac_try='test -z "$ac_cxx_werror_flag"
72002 || test ! -s conftest.err'
72003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72004 (eval $ac_try) 2>&5
72005 ac_status=$?
72006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72007 (exit $ac_status); }; } &&
72008 { ac_try='test -s conftest.$ac_objext'
72009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72010 (eval $ac_try) 2>&5
72011 ac_status=$?
72012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72013 (exit $ac_status); }; }; then
72014 glibcxx_cv_func___builtin_sinl_use=yes
72015 else
72016 echo "$as_me: failed program was:" >&5
72017 sed 's/^/| /' conftest.$ac_ext >&5
72019 glibcxx_cv_func___builtin_sinl_use=no
72021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72022 ac_ext=c
72023 ac_cpp='$CPP $CPPFLAGS'
72024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72032 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
72033 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
72034 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
72035 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
72036 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
72037 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
72038 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
72039 echo $ECHO_N "(cached) $ECHO_C" >&6
72040 else
72042 if test x$gcc_no_link = xyes; then
72043 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72044 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72045 { (exit 1); exit 1; }; }
72047 cat >conftest.$ac_ext <<_ACEOF
72048 /* confdefs.h. */
72049 _ACEOF
72050 cat confdefs.h >>conftest.$ac_ext
72051 cat >>conftest.$ac_ext <<_ACEOF
72052 /* end confdefs.h. */
72053 #include <math.h>
72055 main ()
72057 __builtin_sinl(0);
72059 return 0;
72061 _ACEOF
72062 rm -f conftest.$ac_objext conftest$ac_exeext
72063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72064 (eval $ac_link) 2>conftest.er1
72065 ac_status=$?
72066 grep -v '^ *+' conftest.er1 >conftest.err
72067 rm -f conftest.er1
72068 cat conftest.err >&5
72069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72070 (exit $ac_status); } &&
72071 { ac_try='test -z "$ac_c_werror_flag"
72072 || test ! -s conftest.err'
72073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72074 (eval $ac_try) 2>&5
72075 ac_status=$?
72076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72077 (exit $ac_status); }; } &&
72078 { ac_try='test -s conftest$ac_exeext'
72079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72080 (eval $ac_try) 2>&5
72081 ac_status=$?
72082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72083 (exit $ac_status); }; }; then
72084 glibcxx_cv_func___builtin_sinl_link=yes
72085 else
72086 echo "$as_me: failed program was:" >&5
72087 sed 's/^/| /' conftest.$ac_ext >&5
72089 glibcxx_cv_func___builtin_sinl_link=no
72091 rm -f conftest.err conftest.$ac_objext \
72092 conftest$ac_exeext conftest.$ac_ext
72097 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
72098 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
72099 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
72100 ac_tr_func=HAVE_`echo __builtin_sinl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
72102 cat >>confdefs.h <<_ACEOF
72103 #define ${ac_tr_func} 1
72104 _ACEOF
72111 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
72112 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
72113 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
72114 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
72115 echo $ECHO_N "(cached) $ECHO_C" >&6
72116 else
72120 ac_ext=cc
72121 ac_cpp='$CXXCPP $CPPFLAGS'
72122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72126 cat >conftest.$ac_ext <<_ACEOF
72127 /* confdefs.h. */
72128 _ACEOF
72129 cat confdefs.h >>conftest.$ac_ext
72130 cat >>conftest.$ac_ext <<_ACEOF
72131 /* end confdefs.h. */
72132 #include <math.h>
72134 main ()
72136 __builtin_cosf(0);
72138 return 0;
72140 _ACEOF
72141 rm -f conftest.$ac_objext
72142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72143 (eval $ac_compile) 2>conftest.er1
72144 ac_status=$?
72145 grep -v '^ *+' conftest.er1 >conftest.err
72146 rm -f conftest.er1
72147 cat conftest.err >&5
72148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72149 (exit $ac_status); } &&
72150 { ac_try='test -z "$ac_cxx_werror_flag"
72151 || test ! -s conftest.err'
72152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72153 (eval $ac_try) 2>&5
72154 ac_status=$?
72155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72156 (exit $ac_status); }; } &&
72157 { ac_try='test -s conftest.$ac_objext'
72158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72159 (eval $ac_try) 2>&5
72160 ac_status=$?
72161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72162 (exit $ac_status); }; }; then
72163 glibcxx_cv_func___builtin_cosf_use=yes
72164 else
72165 echo "$as_me: failed program was:" >&5
72166 sed 's/^/| /' conftest.$ac_ext >&5
72168 glibcxx_cv_func___builtin_cosf_use=no
72170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72171 ac_ext=c
72172 ac_cpp='$CPP $CPPFLAGS'
72173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72181 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
72182 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
72183 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
72184 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
72185 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
72186 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
72187 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
72188 echo $ECHO_N "(cached) $ECHO_C" >&6
72189 else
72191 if test x$gcc_no_link = xyes; then
72192 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72193 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72194 { (exit 1); exit 1; }; }
72196 cat >conftest.$ac_ext <<_ACEOF
72197 /* confdefs.h. */
72198 _ACEOF
72199 cat confdefs.h >>conftest.$ac_ext
72200 cat >>conftest.$ac_ext <<_ACEOF
72201 /* end confdefs.h. */
72202 #include <math.h>
72204 main ()
72206 __builtin_cosf(0);
72208 return 0;
72210 _ACEOF
72211 rm -f conftest.$ac_objext conftest$ac_exeext
72212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72213 (eval $ac_link) 2>conftest.er1
72214 ac_status=$?
72215 grep -v '^ *+' conftest.er1 >conftest.err
72216 rm -f conftest.er1
72217 cat conftest.err >&5
72218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72219 (exit $ac_status); } &&
72220 { ac_try='test -z "$ac_c_werror_flag"
72221 || test ! -s conftest.err'
72222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72223 (eval $ac_try) 2>&5
72224 ac_status=$?
72225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72226 (exit $ac_status); }; } &&
72227 { ac_try='test -s conftest$ac_exeext'
72228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72229 (eval $ac_try) 2>&5
72230 ac_status=$?
72231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72232 (exit $ac_status); }; }; then
72233 glibcxx_cv_func___builtin_cosf_link=yes
72234 else
72235 echo "$as_me: failed program was:" >&5
72236 sed 's/^/| /' conftest.$ac_ext >&5
72238 glibcxx_cv_func___builtin_cosf_link=no
72240 rm -f conftest.err conftest.$ac_objext \
72241 conftest$ac_exeext conftest.$ac_ext
72246 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
72247 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
72248 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
72249 ac_tr_func=HAVE_`echo __builtin_cosf | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
72251 cat >>confdefs.h <<_ACEOF
72252 #define ${ac_tr_func} 1
72253 _ACEOF
72259 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
72260 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
72261 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
72262 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
72263 echo $ECHO_N "(cached) $ECHO_C" >&6
72264 else
72268 ac_ext=cc
72269 ac_cpp='$CXXCPP $CPPFLAGS'
72270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72274 cat >conftest.$ac_ext <<_ACEOF
72275 /* confdefs.h. */
72276 _ACEOF
72277 cat confdefs.h >>conftest.$ac_ext
72278 cat >>conftest.$ac_ext <<_ACEOF
72279 /* end confdefs.h. */
72280 #include <math.h>
72282 main ()
72284 __builtin_cos(0);
72286 return 0;
72288 _ACEOF
72289 rm -f conftest.$ac_objext
72290 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72291 (eval $ac_compile) 2>conftest.er1
72292 ac_status=$?
72293 grep -v '^ *+' conftest.er1 >conftest.err
72294 rm -f conftest.er1
72295 cat conftest.err >&5
72296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72297 (exit $ac_status); } &&
72298 { ac_try='test -z "$ac_cxx_werror_flag"
72299 || test ! -s conftest.err'
72300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72301 (eval $ac_try) 2>&5
72302 ac_status=$?
72303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72304 (exit $ac_status); }; } &&
72305 { ac_try='test -s conftest.$ac_objext'
72306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72307 (eval $ac_try) 2>&5
72308 ac_status=$?
72309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72310 (exit $ac_status); }; }; then
72311 glibcxx_cv_func___builtin_cos_use=yes
72312 else
72313 echo "$as_me: failed program was:" >&5
72314 sed 's/^/| /' conftest.$ac_ext >&5
72316 glibcxx_cv_func___builtin_cos_use=no
72318 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72319 ac_ext=c
72320 ac_cpp='$CPP $CPPFLAGS'
72321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72329 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
72330 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
72331 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
72332 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
72333 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
72334 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
72335 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
72336 echo $ECHO_N "(cached) $ECHO_C" >&6
72337 else
72339 if test x$gcc_no_link = xyes; then
72340 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72341 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72342 { (exit 1); exit 1; }; }
72344 cat >conftest.$ac_ext <<_ACEOF
72345 /* confdefs.h. */
72346 _ACEOF
72347 cat confdefs.h >>conftest.$ac_ext
72348 cat >>conftest.$ac_ext <<_ACEOF
72349 /* end confdefs.h. */
72350 #include <math.h>
72352 main ()
72354 __builtin_cos(0);
72356 return 0;
72358 _ACEOF
72359 rm -f conftest.$ac_objext conftest$ac_exeext
72360 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72361 (eval $ac_link) 2>conftest.er1
72362 ac_status=$?
72363 grep -v '^ *+' conftest.er1 >conftest.err
72364 rm -f conftest.er1
72365 cat conftest.err >&5
72366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72367 (exit $ac_status); } &&
72368 { ac_try='test -z "$ac_c_werror_flag"
72369 || test ! -s conftest.err'
72370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72371 (eval $ac_try) 2>&5
72372 ac_status=$?
72373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72374 (exit $ac_status); }; } &&
72375 { ac_try='test -s conftest$ac_exeext'
72376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72377 (eval $ac_try) 2>&5
72378 ac_status=$?
72379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72380 (exit $ac_status); }; }; then
72381 glibcxx_cv_func___builtin_cos_link=yes
72382 else
72383 echo "$as_me: failed program was:" >&5
72384 sed 's/^/| /' conftest.$ac_ext >&5
72386 glibcxx_cv_func___builtin_cos_link=no
72388 rm -f conftest.err conftest.$ac_objext \
72389 conftest$ac_exeext conftest.$ac_ext
72394 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
72395 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
72396 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
72397 ac_tr_func=HAVE_`echo __builtin_cos | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
72399 cat >>confdefs.h <<_ACEOF
72400 #define ${ac_tr_func} 1
72401 _ACEOF
72407 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
72408 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
72409 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
72410 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
72411 echo $ECHO_N "(cached) $ECHO_C" >&6
72412 else
72416 ac_ext=cc
72417 ac_cpp='$CXXCPP $CPPFLAGS'
72418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72422 cat >conftest.$ac_ext <<_ACEOF
72423 /* confdefs.h. */
72424 _ACEOF
72425 cat confdefs.h >>conftest.$ac_ext
72426 cat >>conftest.$ac_ext <<_ACEOF
72427 /* end confdefs.h. */
72428 #include <math.h>
72430 main ()
72432 __builtin_cosl(0);
72434 return 0;
72436 _ACEOF
72437 rm -f conftest.$ac_objext
72438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72439 (eval $ac_compile) 2>conftest.er1
72440 ac_status=$?
72441 grep -v '^ *+' conftest.er1 >conftest.err
72442 rm -f conftest.er1
72443 cat conftest.err >&5
72444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72445 (exit $ac_status); } &&
72446 { ac_try='test -z "$ac_cxx_werror_flag"
72447 || test ! -s conftest.err'
72448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72449 (eval $ac_try) 2>&5
72450 ac_status=$?
72451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72452 (exit $ac_status); }; } &&
72453 { ac_try='test -s conftest.$ac_objext'
72454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72455 (eval $ac_try) 2>&5
72456 ac_status=$?
72457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72458 (exit $ac_status); }; }; then
72459 glibcxx_cv_func___builtin_cosl_use=yes
72460 else
72461 echo "$as_me: failed program was:" >&5
72462 sed 's/^/| /' conftest.$ac_ext >&5
72464 glibcxx_cv_func___builtin_cosl_use=no
72466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72467 ac_ext=c
72468 ac_cpp='$CPP $CPPFLAGS'
72469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72477 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
72478 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
72479 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
72480 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
72481 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
72482 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
72483 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
72484 echo $ECHO_N "(cached) $ECHO_C" >&6
72485 else
72487 if test x$gcc_no_link = xyes; then
72488 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72489 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72490 { (exit 1); exit 1; }; }
72492 cat >conftest.$ac_ext <<_ACEOF
72493 /* confdefs.h. */
72494 _ACEOF
72495 cat confdefs.h >>conftest.$ac_ext
72496 cat >>conftest.$ac_ext <<_ACEOF
72497 /* end confdefs.h. */
72498 #include <math.h>
72500 main ()
72502 __builtin_cosl(0);
72504 return 0;
72506 _ACEOF
72507 rm -f conftest.$ac_objext conftest$ac_exeext
72508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72509 (eval $ac_link) 2>conftest.er1
72510 ac_status=$?
72511 grep -v '^ *+' conftest.er1 >conftest.err
72512 rm -f conftest.er1
72513 cat conftest.err >&5
72514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72515 (exit $ac_status); } &&
72516 { ac_try='test -z "$ac_c_werror_flag"
72517 || test ! -s conftest.err'
72518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72519 (eval $ac_try) 2>&5
72520 ac_status=$?
72521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72522 (exit $ac_status); }; } &&
72523 { ac_try='test -s conftest$ac_exeext'
72524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72525 (eval $ac_try) 2>&5
72526 ac_status=$?
72527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72528 (exit $ac_status); }; }; then
72529 glibcxx_cv_func___builtin_cosl_link=yes
72530 else
72531 echo "$as_me: failed program was:" >&5
72532 sed 's/^/| /' conftest.$ac_ext >&5
72534 glibcxx_cv_func___builtin_cosl_link=no
72536 rm -f conftest.err conftest.$ac_objext \
72537 conftest$ac_exeext conftest.$ac_ext
72542 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
72543 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
72544 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
72545 ac_tr_func=HAVE_`echo __builtin_cosl | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
72547 cat >>confdefs.h <<_ACEOF
72548 #define ${ac_tr_func} 1
72549 _ACEOF
72557 echo "$as_me:$LINENO: checking for main in -lm" >&5
72558 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
72559 if test "${ac_cv_lib_m_main+set}" = set; then
72560 echo $ECHO_N "(cached) $ECHO_C" >&6
72561 else
72562 ac_check_lib_save_LIBS=$LIBS
72563 LIBS="-lm $LIBS"
72564 if test x$gcc_no_link = xyes; then
72565 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72566 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72567 { (exit 1); exit 1; }; }
72569 cat >conftest.$ac_ext <<_ACEOF
72570 /* confdefs.h. */
72571 _ACEOF
72572 cat confdefs.h >>conftest.$ac_ext
72573 cat >>conftest.$ac_ext <<_ACEOF
72574 /* end confdefs.h. */
72578 main ()
72580 main ();
72582 return 0;
72584 _ACEOF
72585 rm -f conftest.$ac_objext conftest$ac_exeext
72586 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72587 (eval $ac_link) 2>conftest.er1
72588 ac_status=$?
72589 grep -v '^ *+' conftest.er1 >conftest.err
72590 rm -f conftest.er1
72591 cat conftest.err >&5
72592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72593 (exit $ac_status); } &&
72594 { ac_try='test -z "$ac_c_werror_flag"
72595 || test ! -s conftest.err'
72596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72597 (eval $ac_try) 2>&5
72598 ac_status=$?
72599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72600 (exit $ac_status); }; } &&
72601 { ac_try='test -s conftest$ac_exeext'
72602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72603 (eval $ac_try) 2>&5
72604 ac_status=$?
72605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72606 (exit $ac_status); }; }; then
72607 ac_cv_lib_m_main=yes
72608 else
72609 echo "$as_me: failed program was:" >&5
72610 sed 's/^/| /' conftest.$ac_ext >&5
72612 ac_cv_lib_m_main=no
72614 rm -f conftest.err conftest.$ac_objext \
72615 conftest$ac_exeext conftest.$ac_ext
72616 LIBS=$ac_check_lib_save_LIBS
72618 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
72619 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
72620 if test $ac_cv_lib_m_main = yes; then
72621 cat >>confdefs.h <<_ACEOF
72622 #define HAVE_LIBM 1
72623 _ACEOF
72625 LIBS="-lm $LIBS"
72630 for ac_func in copysignf
72632 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72633 echo "$as_me:$LINENO: checking for $ac_func" >&5
72634 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72635 if eval "test \"\${$as_ac_var+set}\" = set"; then
72636 echo $ECHO_N "(cached) $ECHO_C" >&6
72637 else
72638 if test x$gcc_no_link = xyes; then
72639 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72640 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72641 { (exit 1); exit 1; }; }
72643 cat >conftest.$ac_ext <<_ACEOF
72644 /* confdefs.h. */
72645 _ACEOF
72646 cat confdefs.h >>conftest.$ac_ext
72647 cat >>conftest.$ac_ext <<_ACEOF
72648 /* end confdefs.h. */
72649 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72650 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72651 #define $ac_func innocuous_$ac_func
72653 /* System header to define __stub macros and hopefully few prototypes,
72654 which can conflict with char $ac_func (); below.
72655 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72656 <limits.h> exists even on freestanding compilers. */
72658 #ifdef __STDC__
72659 # include <limits.h>
72660 #else
72661 # include <assert.h>
72662 #endif
72664 #undef $ac_func
72666 /* Override any gcc2 internal prototype to avoid an error. */
72667 #ifdef __cplusplus
72668 extern "C"
72670 #endif
72671 /* We use char because int might match the return type of a gcc2
72672 builtin and then its argument prototype would still apply. */
72673 char $ac_func ();
72674 /* The GNU C library defines this for functions which it implements
72675 to always fail with ENOSYS. Some functions are actually named
72676 something starting with __ and the normal name is an alias. */
72677 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72678 choke me
72679 #else
72680 char (*f) () = $ac_func;
72681 #endif
72682 #ifdef __cplusplus
72684 #endif
72687 main ()
72689 return f != $ac_func;
72691 return 0;
72693 _ACEOF
72694 rm -f conftest.$ac_objext conftest$ac_exeext
72695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72696 (eval $ac_link) 2>conftest.er1
72697 ac_status=$?
72698 grep -v '^ *+' conftest.er1 >conftest.err
72699 rm -f conftest.er1
72700 cat conftest.err >&5
72701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72702 (exit $ac_status); } &&
72703 { ac_try='test -z "$ac_c_werror_flag"
72704 || test ! -s conftest.err'
72705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72706 (eval $ac_try) 2>&5
72707 ac_status=$?
72708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72709 (exit $ac_status); }; } &&
72710 { ac_try='test -s conftest$ac_exeext'
72711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72712 (eval $ac_try) 2>&5
72713 ac_status=$?
72714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72715 (exit $ac_status); }; }; then
72716 eval "$as_ac_var=yes"
72717 else
72718 echo "$as_me: failed program was:" >&5
72719 sed 's/^/| /' conftest.$ac_ext >&5
72721 eval "$as_ac_var=no"
72723 rm -f conftest.err conftest.$ac_objext \
72724 conftest$ac_exeext conftest.$ac_ext
72726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72727 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72728 if test `eval echo '${'$as_ac_var'}'` = yes; then
72729 cat >>confdefs.h <<_ACEOF
72730 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72731 _ACEOF
72733 else
72734 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
72736 done
72740 for ac_func in __signbit
72742 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72743 echo "$as_me:$LINENO: checking for $ac_func" >&5
72744 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72745 if eval "test \"\${$as_ac_var+set}\" = set"; then
72746 echo $ECHO_N "(cached) $ECHO_C" >&6
72747 else
72748 if test x$gcc_no_link = xyes; then
72749 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72750 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72751 { (exit 1); exit 1; }; }
72753 cat >conftest.$ac_ext <<_ACEOF
72754 /* confdefs.h. */
72755 _ACEOF
72756 cat confdefs.h >>conftest.$ac_ext
72757 cat >>conftest.$ac_ext <<_ACEOF
72758 /* end confdefs.h. */
72759 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72760 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72761 #define $ac_func innocuous_$ac_func
72763 /* System header to define __stub macros and hopefully few prototypes,
72764 which can conflict with char $ac_func (); below.
72765 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72766 <limits.h> exists even on freestanding compilers. */
72768 #ifdef __STDC__
72769 # include <limits.h>
72770 #else
72771 # include <assert.h>
72772 #endif
72774 #undef $ac_func
72776 /* Override any gcc2 internal prototype to avoid an error. */
72777 #ifdef __cplusplus
72778 extern "C"
72780 #endif
72781 /* We use char because int might match the return type of a gcc2
72782 builtin and then its argument prototype would still apply. */
72783 char $ac_func ();
72784 /* The GNU C library defines this for functions which it implements
72785 to always fail with ENOSYS. Some functions are actually named
72786 something starting with __ and the normal name is an alias. */
72787 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72788 choke me
72789 #else
72790 char (*f) () = $ac_func;
72791 #endif
72792 #ifdef __cplusplus
72794 #endif
72797 main ()
72799 return f != $ac_func;
72801 return 0;
72803 _ACEOF
72804 rm -f conftest.$ac_objext conftest$ac_exeext
72805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72806 (eval $ac_link) 2>conftest.er1
72807 ac_status=$?
72808 grep -v '^ *+' conftest.er1 >conftest.err
72809 rm -f conftest.er1
72810 cat conftest.err >&5
72811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72812 (exit $ac_status); } &&
72813 { ac_try='test -z "$ac_c_werror_flag"
72814 || test ! -s conftest.err'
72815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72816 (eval $ac_try) 2>&5
72817 ac_status=$?
72818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72819 (exit $ac_status); }; } &&
72820 { ac_try='test -s conftest$ac_exeext'
72821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72822 (eval $ac_try) 2>&5
72823 ac_status=$?
72824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72825 (exit $ac_status); }; }; then
72826 eval "$as_ac_var=yes"
72827 else
72828 echo "$as_me: failed program was:" >&5
72829 sed 's/^/| /' conftest.$ac_ext >&5
72831 eval "$as_ac_var=no"
72833 rm -f conftest.err conftest.$ac_objext \
72834 conftest$ac_exeext conftest.$ac_ext
72836 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72837 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72838 if test `eval echo '${'$as_ac_var'}'` = yes; then
72839 cat >>confdefs.h <<_ACEOF
72840 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72841 _ACEOF
72843 else
72844 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
72846 done
72850 for ac_func in __signbitf
72852 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72853 echo "$as_me:$LINENO: checking for $ac_func" >&5
72854 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72855 if eval "test \"\${$as_ac_var+set}\" = set"; then
72856 echo $ECHO_N "(cached) $ECHO_C" >&6
72857 else
72858 if test x$gcc_no_link = xyes; then
72859 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72860 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72861 { (exit 1); exit 1; }; }
72863 cat >conftest.$ac_ext <<_ACEOF
72864 /* confdefs.h. */
72865 _ACEOF
72866 cat confdefs.h >>conftest.$ac_ext
72867 cat >>conftest.$ac_ext <<_ACEOF
72868 /* end confdefs.h. */
72869 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72870 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72871 #define $ac_func innocuous_$ac_func
72873 /* System header to define __stub macros and hopefully few prototypes,
72874 which can conflict with char $ac_func (); below.
72875 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72876 <limits.h> exists even on freestanding compilers. */
72878 #ifdef __STDC__
72879 # include <limits.h>
72880 #else
72881 # include <assert.h>
72882 #endif
72884 #undef $ac_func
72886 /* Override any gcc2 internal prototype to avoid an error. */
72887 #ifdef __cplusplus
72888 extern "C"
72890 #endif
72891 /* We use char because int might match the return type of a gcc2
72892 builtin and then its argument prototype would still apply. */
72893 char $ac_func ();
72894 /* The GNU C library defines this for functions which it implements
72895 to always fail with ENOSYS. Some functions are actually named
72896 something starting with __ and the normal name is an alias. */
72897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72898 choke me
72899 #else
72900 char (*f) () = $ac_func;
72901 #endif
72902 #ifdef __cplusplus
72904 #endif
72907 main ()
72909 return f != $ac_func;
72911 return 0;
72913 _ACEOF
72914 rm -f conftest.$ac_objext conftest$ac_exeext
72915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72916 (eval $ac_link) 2>conftest.er1
72917 ac_status=$?
72918 grep -v '^ *+' conftest.er1 >conftest.err
72919 rm -f conftest.er1
72920 cat conftest.err >&5
72921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72922 (exit $ac_status); } &&
72923 { ac_try='test -z "$ac_c_werror_flag"
72924 || test ! -s conftest.err'
72925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72926 (eval $ac_try) 2>&5
72927 ac_status=$?
72928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72929 (exit $ac_status); }; } &&
72930 { ac_try='test -s conftest$ac_exeext'
72931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72932 (eval $ac_try) 2>&5
72933 ac_status=$?
72934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72935 (exit $ac_status); }; }; then
72936 eval "$as_ac_var=yes"
72937 else
72938 echo "$as_me: failed program was:" >&5
72939 sed 's/^/| /' conftest.$ac_ext >&5
72941 eval "$as_ac_var=no"
72943 rm -f conftest.err conftest.$ac_objext \
72944 conftest$ac_exeext conftest.$ac_ext
72946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72947 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72948 if test `eval echo '${'$as_ac_var'}'` = yes; then
72949 cat >>confdefs.h <<_ACEOF
72950 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72951 _ACEOF
72953 else
72954 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
72956 done
72959 if test x$ac_cv_func_copysignl = x"yes"; then
72961 for ac_func in __signbitl
72963 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72964 echo "$as_me:$LINENO: checking for $ac_func" >&5
72965 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72966 if eval "test \"\${$as_ac_var+set}\" = set"; then
72967 echo $ECHO_N "(cached) $ECHO_C" >&6
72968 else
72969 if test x$gcc_no_link = xyes; then
72970 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72971 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72972 { (exit 1); exit 1; }; }
72974 cat >conftest.$ac_ext <<_ACEOF
72975 /* confdefs.h. */
72976 _ACEOF
72977 cat confdefs.h >>conftest.$ac_ext
72978 cat >>conftest.$ac_ext <<_ACEOF
72979 /* end confdefs.h. */
72980 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72981 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72982 #define $ac_func innocuous_$ac_func
72984 /* System header to define __stub macros and hopefully few prototypes,
72985 which can conflict with char $ac_func (); below.
72986 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72987 <limits.h> exists even on freestanding compilers. */
72989 #ifdef __STDC__
72990 # include <limits.h>
72991 #else
72992 # include <assert.h>
72993 #endif
72995 #undef $ac_func
72997 /* Override any gcc2 internal prototype to avoid an error. */
72998 #ifdef __cplusplus
72999 extern "C"
73001 #endif
73002 /* We use char because int might match the return type of a gcc2
73003 builtin and then its argument prototype would still apply. */
73004 char $ac_func ();
73005 /* The GNU C library defines this for functions which it implements
73006 to always fail with ENOSYS. Some functions are actually named
73007 something starting with __ and the normal name is an alias. */
73008 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73009 choke me
73010 #else
73011 char (*f) () = $ac_func;
73012 #endif
73013 #ifdef __cplusplus
73015 #endif
73018 main ()
73020 return f != $ac_func;
73022 return 0;
73024 _ACEOF
73025 rm -f conftest.$ac_objext conftest$ac_exeext
73026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73027 (eval $ac_link) 2>conftest.er1
73028 ac_status=$?
73029 grep -v '^ *+' conftest.er1 >conftest.err
73030 rm -f conftest.er1
73031 cat conftest.err >&5
73032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73033 (exit $ac_status); } &&
73034 { ac_try='test -z "$ac_c_werror_flag"
73035 || test ! -s conftest.err'
73036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73037 (eval $ac_try) 2>&5
73038 ac_status=$?
73039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73040 (exit $ac_status); }; } &&
73041 { ac_try='test -s conftest$ac_exeext'
73042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73043 (eval $ac_try) 2>&5
73044 ac_status=$?
73045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73046 (exit $ac_status); }; }; then
73047 eval "$as_ac_var=yes"
73048 else
73049 echo "$as_me: failed program was:" >&5
73050 sed 's/^/| /' conftest.$ac_ext >&5
73052 eval "$as_ac_var=no"
73054 rm -f conftest.err conftest.$ac_objext \
73055 conftest$ac_exeext conftest.$ac_ext
73057 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73058 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73059 if test `eval echo '${'$as_ac_var'}'` = yes; then
73060 cat >>confdefs.h <<_ACEOF
73061 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73062 _ACEOF
73064 else
73065 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
73067 done
73071 # Used in libmath/Makefile.am.
73072 if test -n "$LIBMATHOBJS"; then
73073 need_libmath=yes
73078 # Test wchar.h for mbstate_t, which is needed for char_traits and
73079 # others even if wchar_t support is not on.
73080 echo "$as_me:$LINENO: checking for mbstate_t" >&5
73081 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
73082 cat >conftest.$ac_ext <<_ACEOF
73083 /* confdefs.h. */
73084 _ACEOF
73085 cat confdefs.h >>conftest.$ac_ext
73086 cat >>conftest.$ac_ext <<_ACEOF
73087 /* end confdefs.h. */
73088 #include <wchar.h>
73090 main ()
73092 mbstate_t teststate;
73094 return 0;
73096 _ACEOF
73097 rm -f conftest.$ac_objext
73098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73099 (eval $ac_compile) 2>conftest.er1
73100 ac_status=$?
73101 grep -v '^ *+' conftest.er1 >conftest.err
73102 rm -f conftest.er1
73103 cat conftest.err >&5
73104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73105 (exit $ac_status); } &&
73106 { ac_try='test -z "$ac_c_werror_flag"
73107 || test ! -s conftest.err'
73108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73109 (eval $ac_try) 2>&5
73110 ac_status=$?
73111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73112 (exit $ac_status); }; } &&
73113 { ac_try='test -s conftest.$ac_objext'
73114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73115 (eval $ac_try) 2>&5
73116 ac_status=$?
73117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73118 (exit $ac_status); }; }; then
73119 have_mbstate_t=yes
73120 else
73121 echo "$as_me: failed program was:" >&5
73122 sed 's/^/| /' conftest.$ac_ext >&5
73124 have_mbstate_t=no
73126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73127 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
73128 echo "${ECHO_T}$have_mbstate_t" >&6
73129 if test x"$have_mbstate_t" = xyes; then
73130 cat >>confdefs.h <<\_ACEOF
73131 #define HAVE_MBSTATE_T 1
73132 _ACEOF
73136 # Sanity check for existence of ISO C99 headers for extended encoding.
73138 for ac_header in wchar.h
73140 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
73141 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73142 echo "$as_me:$LINENO: checking for $ac_header" >&5
73143 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73144 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73145 echo $ECHO_N "(cached) $ECHO_C" >&6
73147 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73148 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73149 else
73150 # Is the header compilable?
73151 echo "$as_me:$LINENO: checking $ac_header usability" >&5
73152 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
73153 cat >conftest.$ac_ext <<_ACEOF
73154 /* confdefs.h. */
73155 _ACEOF
73156 cat confdefs.h >>conftest.$ac_ext
73157 cat >>conftest.$ac_ext <<_ACEOF
73158 /* end confdefs.h. */
73159 $ac_includes_default
73160 #include <$ac_header>
73161 _ACEOF
73162 rm -f conftest.$ac_objext
73163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73164 (eval $ac_compile) 2>conftest.er1
73165 ac_status=$?
73166 grep -v '^ *+' conftest.er1 >conftest.err
73167 rm -f conftest.er1
73168 cat conftest.err >&5
73169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73170 (exit $ac_status); } &&
73171 { ac_try='test -z "$ac_c_werror_flag"
73172 || test ! -s conftest.err'
73173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73174 (eval $ac_try) 2>&5
73175 ac_status=$?
73176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73177 (exit $ac_status); }; } &&
73178 { ac_try='test -s conftest.$ac_objext'
73179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73180 (eval $ac_try) 2>&5
73181 ac_status=$?
73182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73183 (exit $ac_status); }; }; then
73184 ac_header_compiler=yes
73185 else
73186 echo "$as_me: failed program was:" >&5
73187 sed 's/^/| /' conftest.$ac_ext >&5
73189 ac_header_compiler=no
73191 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73192 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73193 echo "${ECHO_T}$ac_header_compiler" >&6
73195 # Is the header present?
73196 echo "$as_me:$LINENO: checking $ac_header presence" >&5
73197 echo $ECHO_N "checking $ac_header presence... $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 #include <$ac_header>
73205 _ACEOF
73206 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73207 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73208 ac_status=$?
73209 grep -v '^ *+' conftest.er1 >conftest.err
73210 rm -f conftest.er1
73211 cat conftest.err >&5
73212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73213 (exit $ac_status); } >/dev/null; then
73214 if test -s conftest.err; then
73215 ac_cpp_err=$ac_c_preproc_warn_flag
73216 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
73217 else
73218 ac_cpp_err=
73220 else
73221 ac_cpp_err=yes
73223 if test -z "$ac_cpp_err"; then
73224 ac_header_preproc=yes
73225 else
73226 echo "$as_me: failed program was:" >&5
73227 sed 's/^/| /' conftest.$ac_ext >&5
73229 ac_header_preproc=no
73231 rm -f conftest.err conftest.$ac_ext
73232 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73233 echo "${ECHO_T}$ac_header_preproc" >&6
73235 # So? What about this header?
73236 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
73237 yes:no: )
73238 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
73239 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
73240 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
73241 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
73242 ac_header_preproc=yes
73244 no:yes:* )
73245 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
73246 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
73247 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
73248 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
73249 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
73250 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
73251 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
73252 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
73253 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
73254 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
73255 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
73256 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
73258 cat <<\_ASBOX
73259 ## ----------------------------------------- ##
73260 ## Report this to the package-unused lists. ##
73261 ## ----------------------------------------- ##
73262 _ASBOX
73264 sed "s/^/$as_me: WARNING: /" >&2
73266 esac
73267 echo "$as_me:$LINENO: checking for $ac_header" >&5
73268 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73269 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73270 echo $ECHO_N "(cached) $ECHO_C" >&6
73271 else
73272 eval "$as_ac_Header=\$ac_header_preproc"
73274 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73275 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73278 if test `eval echo '${'$as_ac_Header'}'` = yes; then
73279 cat >>confdefs.h <<_ACEOF
73280 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
73281 _ACEOF
73282 ac_has_wchar_h=yes
73283 else
73284 ac_has_wchar_h=no
73287 done
73290 for ac_header in wctype.h
73292 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
73293 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73294 echo "$as_me:$LINENO: checking for $ac_header" >&5
73295 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73296 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73297 echo $ECHO_N "(cached) $ECHO_C" >&6
73299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73300 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73301 else
73302 # Is the header compilable?
73303 echo "$as_me:$LINENO: checking $ac_header usability" >&5
73304 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
73305 cat >conftest.$ac_ext <<_ACEOF
73306 /* confdefs.h. */
73307 _ACEOF
73308 cat confdefs.h >>conftest.$ac_ext
73309 cat >>conftest.$ac_ext <<_ACEOF
73310 /* end confdefs.h. */
73311 $ac_includes_default
73312 #include <$ac_header>
73313 _ACEOF
73314 rm -f conftest.$ac_objext
73315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73316 (eval $ac_compile) 2>conftest.er1
73317 ac_status=$?
73318 grep -v '^ *+' conftest.er1 >conftest.err
73319 rm -f conftest.er1
73320 cat conftest.err >&5
73321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73322 (exit $ac_status); } &&
73323 { ac_try='test -z "$ac_c_werror_flag"
73324 || test ! -s conftest.err'
73325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73326 (eval $ac_try) 2>&5
73327 ac_status=$?
73328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73329 (exit $ac_status); }; } &&
73330 { ac_try='test -s conftest.$ac_objext'
73331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73332 (eval $ac_try) 2>&5
73333 ac_status=$?
73334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73335 (exit $ac_status); }; }; then
73336 ac_header_compiler=yes
73337 else
73338 echo "$as_me: failed program was:" >&5
73339 sed 's/^/| /' conftest.$ac_ext >&5
73341 ac_header_compiler=no
73343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73344 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
73345 echo "${ECHO_T}$ac_header_compiler" >&6
73347 # Is the header present?
73348 echo "$as_me:$LINENO: checking $ac_header presence" >&5
73349 echo $ECHO_N "checking $ac_header presence... $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 #include <$ac_header>
73357 _ACEOF
73358 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
73359 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
73360 ac_status=$?
73361 grep -v '^ *+' conftest.er1 >conftest.err
73362 rm -f conftest.er1
73363 cat conftest.err >&5
73364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73365 (exit $ac_status); } >/dev/null; then
73366 if test -s conftest.err; then
73367 ac_cpp_err=$ac_c_preproc_warn_flag
73368 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
73369 else
73370 ac_cpp_err=
73372 else
73373 ac_cpp_err=yes
73375 if test -z "$ac_cpp_err"; then
73376 ac_header_preproc=yes
73377 else
73378 echo "$as_me: failed program was:" >&5
73379 sed 's/^/| /' conftest.$ac_ext >&5
73381 ac_header_preproc=no
73383 rm -f conftest.err conftest.$ac_ext
73384 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
73385 echo "${ECHO_T}$ac_header_preproc" >&6
73387 # So? What about this header?
73388 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
73389 yes:no: )
73390 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
73391 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
73392 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
73393 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
73394 ac_header_preproc=yes
73396 no:yes:* )
73397 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
73398 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
73399 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
73400 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
73401 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
73402 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
73403 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
73404 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
73405 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
73406 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
73407 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
73408 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
73410 cat <<\_ASBOX
73411 ## ----------------------------------------- ##
73412 ## Report this to the package-unused lists. ##
73413 ## ----------------------------------------- ##
73414 _ASBOX
73416 sed "s/^/$as_me: WARNING: /" >&2
73418 esac
73419 echo "$as_me:$LINENO: checking for $ac_header" >&5
73420 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
73421 if eval "test \"\${$as_ac_Header+set}\" = set"; then
73422 echo $ECHO_N "(cached) $ECHO_C" >&6
73423 else
73424 eval "$as_ac_Header=\$ac_header_preproc"
73426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
73427 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
73430 if test `eval echo '${'$as_ac_Header'}'` = yes; then
73431 cat >>confdefs.h <<_ACEOF
73432 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
73433 _ACEOF
73434 ac_has_wctype_h=yes
73435 else
73436 ac_has_wctype_h=no
73439 done
73442 # Only continue checking if the ISO C99 headers exist and support is on.
73443 if test x"$ac_has_wchar_h" = xyes &&
73444 test x"$ac_has_wctype_h" = xyes &&
73445 test x"$enable_c_mbchar" != xno; then
73447 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
73448 # numeric_limits can instantiate type_traits<wchar_t>
73449 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
73450 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
73451 cat >conftest.$ac_ext <<_ACEOF
73452 /* confdefs.h. */
73453 _ACEOF
73454 cat confdefs.h >>conftest.$ac_ext
73455 cat >>conftest.$ac_ext <<_ACEOF
73456 /* end confdefs.h. */
73457 #include <wchar.h>
73459 main ()
73461 int i = WCHAR_MIN; int j = WCHAR_MAX;
73463 return 0;
73465 _ACEOF
73466 rm -f conftest.$ac_objext
73467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73468 (eval $ac_compile) 2>conftest.er1
73469 ac_status=$?
73470 grep -v '^ *+' conftest.er1 >conftest.err
73471 rm -f conftest.er1
73472 cat conftest.err >&5
73473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73474 (exit $ac_status); } &&
73475 { ac_try='test -z "$ac_c_werror_flag"
73476 || test ! -s conftest.err'
73477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73478 (eval $ac_try) 2>&5
73479 ac_status=$?
73480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73481 (exit $ac_status); }; } &&
73482 { ac_try='test -s conftest.$ac_objext'
73483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73484 (eval $ac_try) 2>&5
73485 ac_status=$?
73486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73487 (exit $ac_status); }; }; then
73488 has_wchar_minmax=yes
73489 else
73490 echo "$as_me: failed program was:" >&5
73491 sed 's/^/| /' conftest.$ac_ext >&5
73493 has_wchar_minmax=no
73495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73496 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
73497 echo "${ECHO_T}$has_wchar_minmax" >&6
73499 # Test wchar.h for WEOF, which is what we use to determine whether
73500 # to specialize for char_traits<wchar_t> or not.
73501 echo "$as_me:$LINENO: checking for WEOF" >&5
73502 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
73503 cat >conftest.$ac_ext <<_ACEOF
73504 /* confdefs.h. */
73505 _ACEOF
73506 cat confdefs.h >>conftest.$ac_ext
73507 cat >>conftest.$ac_ext <<_ACEOF
73508 /* end confdefs.h. */
73510 #include <wchar.h>
73511 #include <stddef.h>
73513 main ()
73515 wint_t i = WEOF;
73517 return 0;
73519 _ACEOF
73520 rm -f conftest.$ac_objext
73521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73522 (eval $ac_compile) 2>conftest.er1
73523 ac_status=$?
73524 grep -v '^ *+' conftest.er1 >conftest.err
73525 rm -f conftest.er1
73526 cat conftest.err >&5
73527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73528 (exit $ac_status); } &&
73529 { ac_try='test -z "$ac_c_werror_flag"
73530 || test ! -s conftest.err'
73531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73532 (eval $ac_try) 2>&5
73533 ac_status=$?
73534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73535 (exit $ac_status); }; } &&
73536 { ac_try='test -s conftest.$ac_objext'
73537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73538 (eval $ac_try) 2>&5
73539 ac_status=$?
73540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73541 (exit $ac_status); }; }; then
73542 has_weof=yes
73543 else
73544 echo "$as_me: failed program was:" >&5
73545 sed 's/^/| /' conftest.$ac_ext >&5
73547 has_weof=no
73549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73550 echo "$as_me:$LINENO: result: $has_weof" >&5
73551 echo "${ECHO_T}$has_weof" >&6
73553 # Tests for wide character functions used in char_traits<wchar_t>.
73554 ac_wfuncs=yes
73561 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
73563 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73564 echo "$as_me:$LINENO: checking for $ac_func" >&5
73565 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73566 if eval "test \"\${$as_ac_var+set}\" = set"; then
73567 echo $ECHO_N "(cached) $ECHO_C" >&6
73568 else
73569 if test x$gcc_no_link = xyes; then
73570 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73572 { (exit 1); exit 1; }; }
73574 cat >conftest.$ac_ext <<_ACEOF
73575 /* confdefs.h. */
73576 _ACEOF
73577 cat confdefs.h >>conftest.$ac_ext
73578 cat >>conftest.$ac_ext <<_ACEOF
73579 /* end confdefs.h. */
73580 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73581 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73582 #define $ac_func innocuous_$ac_func
73584 /* System header to define __stub macros and hopefully few prototypes,
73585 which can conflict with char $ac_func (); below.
73586 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73587 <limits.h> exists even on freestanding compilers. */
73589 #ifdef __STDC__
73590 # include <limits.h>
73591 #else
73592 # include <assert.h>
73593 #endif
73595 #undef $ac_func
73597 /* Override any gcc2 internal prototype to avoid an error. */
73598 #ifdef __cplusplus
73599 extern "C"
73601 #endif
73602 /* We use char because int might match the return type of a gcc2
73603 builtin and then its argument prototype would still apply. */
73604 char $ac_func ();
73605 /* The GNU C library defines this for functions which it implements
73606 to always fail with ENOSYS. Some functions are actually named
73607 something starting with __ and the normal name is an alias. */
73608 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73609 choke me
73610 #else
73611 char (*f) () = $ac_func;
73612 #endif
73613 #ifdef __cplusplus
73615 #endif
73618 main ()
73620 return f != $ac_func;
73622 return 0;
73624 _ACEOF
73625 rm -f conftest.$ac_objext conftest$ac_exeext
73626 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73627 (eval $ac_link) 2>conftest.er1
73628 ac_status=$?
73629 grep -v '^ *+' conftest.er1 >conftest.err
73630 rm -f conftest.er1
73631 cat conftest.err >&5
73632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73633 (exit $ac_status); } &&
73634 { ac_try='test -z "$ac_c_werror_flag"
73635 || test ! -s conftest.err'
73636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73637 (eval $ac_try) 2>&5
73638 ac_status=$?
73639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73640 (exit $ac_status); }; } &&
73641 { ac_try='test -s conftest$ac_exeext'
73642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73643 (eval $ac_try) 2>&5
73644 ac_status=$?
73645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73646 (exit $ac_status); }; }; then
73647 eval "$as_ac_var=yes"
73648 else
73649 echo "$as_me: failed program was:" >&5
73650 sed 's/^/| /' conftest.$ac_ext >&5
73652 eval "$as_ac_var=no"
73654 rm -f conftest.err conftest.$ac_objext \
73655 conftest$ac_exeext conftest.$ac_ext
73657 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73658 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73659 if test `eval echo '${'$as_ac_var'}'` = yes; then
73660 cat >>confdefs.h <<_ACEOF
73661 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73662 _ACEOF
73664 else
73665 ac_wfuncs=no
73667 done
73670 # Checks for names injected into std:: by the c_std headers.
73717 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
73718 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
73719 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
73720 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
73721 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
73722 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
73724 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73725 echo "$as_me:$LINENO: checking for $ac_func" >&5
73726 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73727 if eval "test \"\${$as_ac_var+set}\" = set"; then
73728 echo $ECHO_N "(cached) $ECHO_C" >&6
73729 else
73730 if test x$gcc_no_link = xyes; then
73731 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73732 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73733 { (exit 1); exit 1; }; }
73735 cat >conftest.$ac_ext <<_ACEOF
73736 /* confdefs.h. */
73737 _ACEOF
73738 cat confdefs.h >>conftest.$ac_ext
73739 cat >>conftest.$ac_ext <<_ACEOF
73740 /* end confdefs.h. */
73741 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73742 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73743 #define $ac_func innocuous_$ac_func
73745 /* System header to define __stub macros and hopefully few prototypes,
73746 which can conflict with char $ac_func (); below.
73747 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73748 <limits.h> exists even on freestanding compilers. */
73750 #ifdef __STDC__
73751 # include <limits.h>
73752 #else
73753 # include <assert.h>
73754 #endif
73756 #undef $ac_func
73758 /* Override any gcc2 internal prototype to avoid an error. */
73759 #ifdef __cplusplus
73760 extern "C"
73762 #endif
73763 /* We use char because int might match the return type of a gcc2
73764 builtin and then its argument prototype would still apply. */
73765 char $ac_func ();
73766 /* The GNU C library defines this for functions which it implements
73767 to always fail with ENOSYS. Some functions are actually named
73768 something starting with __ and the normal name is an alias. */
73769 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73770 choke me
73771 #else
73772 char (*f) () = $ac_func;
73773 #endif
73774 #ifdef __cplusplus
73776 #endif
73779 main ()
73781 return f != $ac_func;
73783 return 0;
73785 _ACEOF
73786 rm -f conftest.$ac_objext conftest$ac_exeext
73787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73788 (eval $ac_link) 2>conftest.er1
73789 ac_status=$?
73790 grep -v '^ *+' conftest.er1 >conftest.err
73791 rm -f conftest.er1
73792 cat conftest.err >&5
73793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73794 (exit $ac_status); } &&
73795 { ac_try='test -z "$ac_c_werror_flag"
73796 || test ! -s conftest.err'
73797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73798 (eval $ac_try) 2>&5
73799 ac_status=$?
73800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73801 (exit $ac_status); }; } &&
73802 { ac_try='test -s conftest$ac_exeext'
73803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73804 (eval $ac_try) 2>&5
73805 ac_status=$?
73806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73807 (exit $ac_status); }; }; then
73808 eval "$as_ac_var=yes"
73809 else
73810 echo "$as_me: failed program was:" >&5
73811 sed 's/^/| /' conftest.$ac_ext >&5
73813 eval "$as_ac_var=no"
73815 rm -f conftest.err conftest.$ac_objext \
73816 conftest$ac_exeext conftest.$ac_ext
73818 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73819 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73820 if test `eval echo '${'$as_ac_var'}'` = yes; then
73821 cat >>confdefs.h <<_ACEOF
73822 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73823 _ACEOF
73825 else
73826 ac_wfuncs=no
73828 done
73831 # Checks for wide character functions that are not required
73832 # for basic wchar_t support. Don't disable support if they are missing.
73833 # Injection of these is wrapped with guard macros.
73839 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
73841 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73842 echo "$as_me:$LINENO: checking for $ac_func" >&5
73843 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73844 if eval "test \"\${$as_ac_var+set}\" = set"; then
73845 echo $ECHO_N "(cached) $ECHO_C" >&6
73846 else
73847 if test x$gcc_no_link = xyes; then
73848 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73849 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73850 { (exit 1); exit 1; }; }
73852 cat >conftest.$ac_ext <<_ACEOF
73853 /* confdefs.h. */
73854 _ACEOF
73855 cat confdefs.h >>conftest.$ac_ext
73856 cat >>conftest.$ac_ext <<_ACEOF
73857 /* end confdefs.h. */
73858 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73859 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73860 #define $ac_func innocuous_$ac_func
73862 /* System header to define __stub macros and hopefully few prototypes,
73863 which can conflict with char $ac_func (); below.
73864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73865 <limits.h> exists even on freestanding compilers. */
73867 #ifdef __STDC__
73868 # include <limits.h>
73869 #else
73870 # include <assert.h>
73871 #endif
73873 #undef $ac_func
73875 /* Override any gcc2 internal prototype to avoid an error. */
73876 #ifdef __cplusplus
73877 extern "C"
73879 #endif
73880 /* We use char because int might match the return type of a gcc2
73881 builtin and then its argument prototype would still apply. */
73882 char $ac_func ();
73883 /* The GNU C library defines this for functions which it implements
73884 to always fail with ENOSYS. Some functions are actually named
73885 something starting with __ and the normal name is an alias. */
73886 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73887 choke me
73888 #else
73889 char (*f) () = $ac_func;
73890 #endif
73891 #ifdef __cplusplus
73893 #endif
73896 main ()
73898 return f != $ac_func;
73900 return 0;
73902 _ACEOF
73903 rm -f conftest.$ac_objext conftest$ac_exeext
73904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73905 (eval $ac_link) 2>conftest.er1
73906 ac_status=$?
73907 grep -v '^ *+' conftest.er1 >conftest.err
73908 rm -f conftest.er1
73909 cat conftest.err >&5
73910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73911 (exit $ac_status); } &&
73912 { ac_try='test -z "$ac_c_werror_flag"
73913 || test ! -s conftest.err'
73914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73915 (eval $ac_try) 2>&5
73916 ac_status=$?
73917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73918 (exit $ac_status); }; } &&
73919 { ac_try='test -s conftest$ac_exeext'
73920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73921 (eval $ac_try) 2>&5
73922 ac_status=$?
73923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73924 (exit $ac_status); }; }; then
73925 eval "$as_ac_var=yes"
73926 else
73927 echo "$as_me: failed program was:" >&5
73928 sed 's/^/| /' conftest.$ac_ext >&5
73930 eval "$as_ac_var=no"
73932 rm -f conftest.err conftest.$ac_objext \
73933 conftest$ac_exeext conftest.$ac_ext
73935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73936 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73937 if test `eval echo '${'$as_ac_var'}'` = yes; then
73938 cat >>confdefs.h <<_ACEOF
73939 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73940 _ACEOF
73943 done
73946 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
73947 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
73948 if test x"$has_weof" = xyes &&
73949 test x"$has_wchar_minmax" = xyes &&
73950 test x"$ac_wfuncs" = xyes;
73951 then
73952 ac_isoC99_wchar_t=yes
73953 else
73954 ac_isoC99_wchar_t=no
73956 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
73957 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
73959 # Use iconv for wchar_t to char conversions. As such, check for
73960 # X/Open Portability Guide, version 2 features (XPG2).
73961 if test "${ac_cv_header_iconv_h+set}" = set; then
73962 echo "$as_me:$LINENO: checking for iconv.h" >&5
73963 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
73964 if test "${ac_cv_header_iconv_h+set}" = set; then
73965 echo $ECHO_N "(cached) $ECHO_C" >&6
73967 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
73968 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
73969 else
73970 # Is the header compilable?
73971 echo "$as_me:$LINENO: checking iconv.h usability" >&5
73972 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
73973 cat >conftest.$ac_ext <<_ACEOF
73974 /* confdefs.h. */
73975 _ACEOF
73976 cat confdefs.h >>conftest.$ac_ext
73977 cat >>conftest.$ac_ext <<_ACEOF
73978 /* end confdefs.h. */
73979 $ac_includes_default
73980 #include <iconv.h>
73981 _ACEOF
73982 rm -f conftest.$ac_objext
73983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73984 (eval $ac_compile) 2>conftest.er1
73985 ac_status=$?
73986 grep -v '^ *+' conftest.er1 >conftest.err
73987 rm -f conftest.er1
73988 cat conftest.err >&5
73989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73990 (exit $ac_status); } &&
73991 { ac_try='test -z "$ac_c_werror_flag"
73992 || test ! -s conftest.err'
73993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73994 (eval $ac_try) 2>&5
73995 ac_status=$?
73996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73997 (exit $ac_status); }; } &&
73998 { ac_try='test -s conftest.$ac_objext'
73999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74000 (eval $ac_try) 2>&5
74001 ac_status=$?
74002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74003 (exit $ac_status); }; }; then
74004 ac_header_compiler=yes
74005 else
74006 echo "$as_me: failed program was:" >&5
74007 sed 's/^/| /' conftest.$ac_ext >&5
74009 ac_header_compiler=no
74011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74012 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74013 echo "${ECHO_T}$ac_header_compiler" >&6
74015 # Is the header present?
74016 echo "$as_me:$LINENO: checking iconv.h presence" >&5
74017 echo $ECHO_N "checking iconv.h presence... $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 #include <iconv.h>
74025 _ACEOF
74026 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74027 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74028 ac_status=$?
74029 grep -v '^ *+' conftest.er1 >conftest.err
74030 rm -f conftest.er1
74031 cat conftest.err >&5
74032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74033 (exit $ac_status); } >/dev/null; then
74034 if test -s conftest.err; then
74035 ac_cpp_err=$ac_c_preproc_warn_flag
74036 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74037 else
74038 ac_cpp_err=
74040 else
74041 ac_cpp_err=yes
74043 if test -z "$ac_cpp_err"; then
74044 ac_header_preproc=yes
74045 else
74046 echo "$as_me: failed program was:" >&5
74047 sed 's/^/| /' conftest.$ac_ext >&5
74049 ac_header_preproc=no
74051 rm -f conftest.err conftest.$ac_ext
74052 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74053 echo "${ECHO_T}$ac_header_preproc" >&6
74055 # So? What about this header?
74056 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74057 yes:no: )
74058 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
74059 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
74060 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
74061 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
74062 ac_header_preproc=yes
74064 no:yes:* )
74065 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
74066 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
74067 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
74068 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
74069 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
74070 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
74071 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
74072 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
74073 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
74074 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
74075 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
74076 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
74078 cat <<\_ASBOX
74079 ## ----------------------------------------- ##
74080 ## Report this to the package-unused lists. ##
74081 ## ----------------------------------------- ##
74082 _ASBOX
74084 sed "s/^/$as_me: WARNING: /" >&2
74086 esac
74087 echo "$as_me:$LINENO: checking for iconv.h" >&5
74088 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
74089 if test "${ac_cv_header_iconv_h+set}" = set; then
74090 echo $ECHO_N "(cached) $ECHO_C" >&6
74091 else
74092 ac_cv_header_iconv_h=$ac_header_preproc
74094 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
74095 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
74098 if test $ac_cv_header_iconv_h = yes; then
74099 ac_has_iconv_h=yes
74100 else
74101 ac_has_iconv_h=no
74105 if test "${ac_cv_header_langinfo_h+set}" = set; then
74106 echo "$as_me:$LINENO: checking for langinfo.h" >&5
74107 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
74108 if test "${ac_cv_header_langinfo_h+set}" = set; then
74109 echo $ECHO_N "(cached) $ECHO_C" >&6
74111 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
74112 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
74113 else
74114 # Is the header compilable?
74115 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
74116 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
74117 cat >conftest.$ac_ext <<_ACEOF
74118 /* confdefs.h. */
74119 _ACEOF
74120 cat confdefs.h >>conftest.$ac_ext
74121 cat >>conftest.$ac_ext <<_ACEOF
74122 /* end confdefs.h. */
74123 $ac_includes_default
74124 #include <langinfo.h>
74125 _ACEOF
74126 rm -f conftest.$ac_objext
74127 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74128 (eval $ac_compile) 2>conftest.er1
74129 ac_status=$?
74130 grep -v '^ *+' conftest.er1 >conftest.err
74131 rm -f conftest.er1
74132 cat conftest.err >&5
74133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74134 (exit $ac_status); } &&
74135 { ac_try='test -z "$ac_c_werror_flag"
74136 || test ! -s conftest.err'
74137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74138 (eval $ac_try) 2>&5
74139 ac_status=$?
74140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74141 (exit $ac_status); }; } &&
74142 { ac_try='test -s conftest.$ac_objext'
74143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74144 (eval $ac_try) 2>&5
74145 ac_status=$?
74146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74147 (exit $ac_status); }; }; then
74148 ac_header_compiler=yes
74149 else
74150 echo "$as_me: failed program was:" >&5
74151 sed 's/^/| /' conftest.$ac_ext >&5
74153 ac_header_compiler=no
74155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74156 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
74157 echo "${ECHO_T}$ac_header_compiler" >&6
74159 # Is the header present?
74160 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
74161 echo $ECHO_N "checking langinfo.h presence... $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 #include <langinfo.h>
74169 _ACEOF
74170 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
74171 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
74172 ac_status=$?
74173 grep -v '^ *+' conftest.er1 >conftest.err
74174 rm -f conftest.er1
74175 cat conftest.err >&5
74176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74177 (exit $ac_status); } >/dev/null; then
74178 if test -s conftest.err; then
74179 ac_cpp_err=$ac_c_preproc_warn_flag
74180 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
74181 else
74182 ac_cpp_err=
74184 else
74185 ac_cpp_err=yes
74187 if test -z "$ac_cpp_err"; then
74188 ac_header_preproc=yes
74189 else
74190 echo "$as_me: failed program was:" >&5
74191 sed 's/^/| /' conftest.$ac_ext >&5
74193 ac_header_preproc=no
74195 rm -f conftest.err conftest.$ac_ext
74196 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
74197 echo "${ECHO_T}$ac_header_preproc" >&6
74199 # So? What about this header?
74200 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
74201 yes:no: )
74202 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
74203 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
74204 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
74205 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
74206 ac_header_preproc=yes
74208 no:yes:* )
74209 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
74210 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
74211 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
74212 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
74213 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
74214 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
74215 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
74216 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
74217 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
74218 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
74219 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
74220 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
74222 cat <<\_ASBOX
74223 ## ----------------------------------------- ##
74224 ## Report this to the package-unused lists. ##
74225 ## ----------------------------------------- ##
74226 _ASBOX
74228 sed "s/^/$as_me: WARNING: /" >&2
74230 esac
74231 echo "$as_me:$LINENO: checking for langinfo.h" >&5
74232 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
74233 if test "${ac_cv_header_langinfo_h+set}" = set; then
74234 echo $ECHO_N "(cached) $ECHO_C" >&6
74235 else
74236 ac_cv_header_langinfo_h=$ac_header_preproc
74238 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
74239 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
74242 if test $ac_cv_header_langinfo_h = yes; then
74243 ac_has_langinfo_h=yes
74244 else
74245 ac_has_langinfo_h=no
74250 # Check for existence of libiconv.a providing XPG2 wchar_t support.
74251 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
74252 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
74253 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
74254 echo $ECHO_N "(cached) $ECHO_C" >&6
74255 else
74256 ac_check_lib_save_LIBS=$LIBS
74257 LIBS="-liconv $LIBS"
74258 if test x$gcc_no_link = xyes; then
74259 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74260 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74261 { (exit 1); exit 1; }; }
74263 cat >conftest.$ac_ext <<_ACEOF
74264 /* confdefs.h. */
74265 _ACEOF
74266 cat confdefs.h >>conftest.$ac_ext
74267 cat >>conftest.$ac_ext <<_ACEOF
74268 /* end confdefs.h. */
74270 /* Override any gcc2 internal prototype to avoid an error. */
74271 #ifdef __cplusplus
74272 extern "C"
74273 #endif
74274 /* We use char because int might match the return type of a gcc2
74275 builtin and then its argument prototype would still apply. */
74276 char iconv ();
74278 main ()
74280 iconv ();
74282 return 0;
74284 _ACEOF
74285 rm -f conftest.$ac_objext conftest$ac_exeext
74286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74287 (eval $ac_link) 2>conftest.er1
74288 ac_status=$?
74289 grep -v '^ *+' conftest.er1 >conftest.err
74290 rm -f conftest.er1
74291 cat conftest.err >&5
74292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74293 (exit $ac_status); } &&
74294 { ac_try='test -z "$ac_c_werror_flag"
74295 || test ! -s conftest.err'
74296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74297 (eval $ac_try) 2>&5
74298 ac_status=$?
74299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74300 (exit $ac_status); }; } &&
74301 { ac_try='test -s conftest$ac_exeext'
74302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74303 (eval $ac_try) 2>&5
74304 ac_status=$?
74305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74306 (exit $ac_status); }; }; then
74307 ac_cv_lib_iconv_iconv=yes
74308 else
74309 echo "$as_me: failed program was:" >&5
74310 sed 's/^/| /' conftest.$ac_ext >&5
74312 ac_cv_lib_iconv_iconv=no
74314 rm -f conftest.err conftest.$ac_objext \
74315 conftest$ac_exeext conftest.$ac_ext
74316 LIBS=$ac_check_lib_save_LIBS
74318 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
74319 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
74320 if test $ac_cv_lib_iconv_iconv = yes; then
74321 LIBICONV="-liconv"
74324 ac_save_LIBS="$LIBS"
74325 LIBS="$LIBS $LIBICONV"
74332 for ac_func in iconv_open iconv_close iconv nl_langinfo
74334 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74335 echo "$as_me:$LINENO: checking for $ac_func" >&5
74336 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74337 if eval "test \"\${$as_ac_var+set}\" = set"; then
74338 echo $ECHO_N "(cached) $ECHO_C" >&6
74339 else
74340 if test x$gcc_no_link = xyes; then
74341 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74342 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74343 { (exit 1); exit 1; }; }
74345 cat >conftest.$ac_ext <<_ACEOF
74346 /* confdefs.h. */
74347 _ACEOF
74348 cat confdefs.h >>conftest.$ac_ext
74349 cat >>conftest.$ac_ext <<_ACEOF
74350 /* end confdefs.h. */
74351 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74352 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74353 #define $ac_func innocuous_$ac_func
74355 /* System header to define __stub macros and hopefully few prototypes,
74356 which can conflict with char $ac_func (); below.
74357 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74358 <limits.h> exists even on freestanding compilers. */
74360 #ifdef __STDC__
74361 # include <limits.h>
74362 #else
74363 # include <assert.h>
74364 #endif
74366 #undef $ac_func
74368 /* Override any gcc2 internal prototype to avoid an error. */
74369 #ifdef __cplusplus
74370 extern "C"
74372 #endif
74373 /* We use char because int might match the return type of a gcc2
74374 builtin and then its argument prototype would still apply. */
74375 char $ac_func ();
74376 /* The GNU C library defines this for functions which it implements
74377 to always fail with ENOSYS. Some functions are actually named
74378 something starting with __ and the normal name is an alias. */
74379 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74380 choke me
74381 #else
74382 char (*f) () = $ac_func;
74383 #endif
74384 #ifdef __cplusplus
74386 #endif
74389 main ()
74391 return f != $ac_func;
74393 return 0;
74395 _ACEOF
74396 rm -f conftest.$ac_objext conftest$ac_exeext
74397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74398 (eval $ac_link) 2>conftest.er1
74399 ac_status=$?
74400 grep -v '^ *+' conftest.er1 >conftest.err
74401 rm -f conftest.er1
74402 cat conftest.err >&5
74403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74404 (exit $ac_status); } &&
74405 { ac_try='test -z "$ac_c_werror_flag"
74406 || test ! -s conftest.err'
74407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74408 (eval $ac_try) 2>&5
74409 ac_status=$?
74410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74411 (exit $ac_status); }; } &&
74412 { ac_try='test -s conftest$ac_exeext'
74413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74414 (eval $ac_try) 2>&5
74415 ac_status=$?
74416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74417 (exit $ac_status); }; }; then
74418 eval "$as_ac_var=yes"
74419 else
74420 echo "$as_me: failed program was:" >&5
74421 sed 's/^/| /' conftest.$ac_ext >&5
74423 eval "$as_ac_var=no"
74425 rm -f conftest.err conftest.$ac_objext \
74426 conftest$ac_exeext conftest.$ac_ext
74428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74429 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74430 if test `eval echo '${'$as_ac_var'}'` = yes; then
74431 cat >>confdefs.h <<_ACEOF
74432 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74433 _ACEOF
74434 ac_XPG2funcs=yes
74435 else
74436 ac_XPG2funcs=no
74438 done
74441 LIBS="$ac_save_LIBS"
74443 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
74444 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
74445 if test x"$ac_has_iconv_h" = xyes &&
74446 test x"$ac_has_langinfo_h" = xyes &&
74447 test x"$ac_XPG2funcs" = xyes;
74448 then
74449 ac_XPG2_wchar_t=yes
74450 else
74451 ac_XPG2_wchar_t=no
74453 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
74454 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
74456 # At the moment, only enable wchar_t specializations if all the
74457 # above support is present.
74458 if test x"$ac_isoC99_wchar_t" = xyes &&
74459 test x"$ac_XPG2_wchar_t" = xyes;
74460 then
74461 cat >>confdefs.h <<\_ACEOF
74462 #define _GLIBCXX_USE_WCHAR_T 1
74463 _ACEOF
74465 enable_wchar_t=yes
74468 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
74469 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
74470 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
74471 echo "${ECHO_T}$enable_wchar_t" >&6
74474 ac_test_CXXFLAGS="${CXXFLAGS+set}"
74475 ac_save_CXXFLAGS="$CXXFLAGS"
74476 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
74479 echo "$as_me:$LINENO: checking for strtold declaration" >&5
74480 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
74481 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
74482 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
74483 echo $ECHO_N "(cached) $ECHO_C" >&6
74484 else
74488 ac_ext=cc
74489 ac_cpp='$CXXCPP $CPPFLAGS'
74490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74494 cat >conftest.$ac_ext <<_ACEOF
74495 /* confdefs.h. */
74496 _ACEOF
74497 cat confdefs.h >>conftest.$ac_ext
74498 cat >>conftest.$ac_ext <<_ACEOF
74499 /* end confdefs.h. */
74500 #include <stdlib.h>
74502 main ()
74504 strtold(0, 0);
74506 return 0;
74508 _ACEOF
74509 rm -f conftest.$ac_objext
74510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74511 (eval $ac_compile) 2>conftest.er1
74512 ac_status=$?
74513 grep -v '^ *+' conftest.er1 >conftest.err
74514 rm -f conftest.er1
74515 cat conftest.err >&5
74516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74517 (exit $ac_status); } &&
74518 { ac_try='test -z "$ac_cxx_werror_flag"
74519 || test ! -s conftest.err'
74520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74521 (eval $ac_try) 2>&5
74522 ac_status=$?
74523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74524 (exit $ac_status); }; } &&
74525 { ac_try='test -s conftest.$ac_objext'
74526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74527 (eval $ac_try) 2>&5
74528 ac_status=$?
74529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74530 (exit $ac_status); }; }; then
74531 glibcxx_cv_func_strtold_use=yes
74532 else
74533 echo "$as_me: failed program was:" >&5
74534 sed 's/^/| /' conftest.$ac_ext >&5
74536 glibcxx_cv_func_strtold_use=no
74538 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74539 ac_ext=c
74540 ac_cpp='$CPP $CPPFLAGS'
74541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74549 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
74550 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
74551 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
74553 for ac_func in strtold
74555 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74556 echo "$as_me:$LINENO: checking for $ac_func" >&5
74557 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74558 if eval "test \"\${$as_ac_var+set}\" = set"; then
74559 echo $ECHO_N "(cached) $ECHO_C" >&6
74560 else
74561 if test x$gcc_no_link = xyes; then
74562 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74563 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74564 { (exit 1); exit 1; }; }
74566 cat >conftest.$ac_ext <<_ACEOF
74567 /* confdefs.h. */
74568 _ACEOF
74569 cat confdefs.h >>conftest.$ac_ext
74570 cat >>conftest.$ac_ext <<_ACEOF
74571 /* end confdefs.h. */
74572 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74573 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74574 #define $ac_func innocuous_$ac_func
74576 /* System header to define __stub macros and hopefully few prototypes,
74577 which can conflict with char $ac_func (); below.
74578 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74579 <limits.h> exists even on freestanding compilers. */
74581 #ifdef __STDC__
74582 # include <limits.h>
74583 #else
74584 # include <assert.h>
74585 #endif
74587 #undef $ac_func
74589 /* Override any gcc2 internal prototype to avoid an error. */
74590 #ifdef __cplusplus
74591 extern "C"
74593 #endif
74594 /* We use char because int might match the return type of a gcc2
74595 builtin and then its argument prototype would still apply. */
74596 char $ac_func ();
74597 /* The GNU C library defines this for functions which it implements
74598 to always fail with ENOSYS. Some functions are actually named
74599 something starting with __ and the normal name is an alias. */
74600 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74601 choke me
74602 #else
74603 char (*f) () = $ac_func;
74604 #endif
74605 #ifdef __cplusplus
74607 #endif
74610 main ()
74612 return f != $ac_func;
74614 return 0;
74616 _ACEOF
74617 rm -f conftest.$ac_objext conftest$ac_exeext
74618 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74619 (eval $ac_link) 2>conftest.er1
74620 ac_status=$?
74621 grep -v '^ *+' conftest.er1 >conftest.err
74622 rm -f conftest.er1
74623 cat conftest.err >&5
74624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74625 (exit $ac_status); } &&
74626 { ac_try='test -z "$ac_c_werror_flag"
74627 || test ! -s conftest.err'
74628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74629 (eval $ac_try) 2>&5
74630 ac_status=$?
74631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74632 (exit $ac_status); }; } &&
74633 { ac_try='test -s conftest$ac_exeext'
74634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74635 (eval $ac_try) 2>&5
74636 ac_status=$?
74637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74638 (exit $ac_status); }; }; then
74639 eval "$as_ac_var=yes"
74640 else
74641 echo "$as_me: failed program was:" >&5
74642 sed 's/^/| /' conftest.$ac_ext >&5
74644 eval "$as_ac_var=no"
74646 rm -f conftest.err conftest.$ac_objext \
74647 conftest$ac_exeext conftest.$ac_ext
74649 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74650 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74651 if test `eval echo '${'$as_ac_var'}'` = yes; then
74652 cat >>confdefs.h <<_ACEOF
74653 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74654 _ACEOF
74657 done
74662 echo "$as_me:$LINENO: checking for strtof declaration" >&5
74663 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
74664 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
74665 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
74666 echo $ECHO_N "(cached) $ECHO_C" >&6
74667 else
74671 ac_ext=cc
74672 ac_cpp='$CXXCPP $CPPFLAGS'
74673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74677 cat >conftest.$ac_ext <<_ACEOF
74678 /* confdefs.h. */
74679 _ACEOF
74680 cat confdefs.h >>conftest.$ac_ext
74681 cat >>conftest.$ac_ext <<_ACEOF
74682 /* end confdefs.h. */
74683 #include <stdlib.h>
74685 main ()
74687 strtof(0, 0);
74689 return 0;
74691 _ACEOF
74692 rm -f conftest.$ac_objext
74693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74694 (eval $ac_compile) 2>conftest.er1
74695 ac_status=$?
74696 grep -v '^ *+' conftest.er1 >conftest.err
74697 rm -f conftest.er1
74698 cat conftest.err >&5
74699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74700 (exit $ac_status); } &&
74701 { ac_try='test -z "$ac_cxx_werror_flag"
74702 || test ! -s conftest.err'
74703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74704 (eval $ac_try) 2>&5
74705 ac_status=$?
74706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74707 (exit $ac_status); }; } &&
74708 { ac_try='test -s conftest.$ac_objext'
74709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74710 (eval $ac_try) 2>&5
74711 ac_status=$?
74712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74713 (exit $ac_status); }; }; then
74714 glibcxx_cv_func_strtof_use=yes
74715 else
74716 echo "$as_me: failed program was:" >&5
74717 sed 's/^/| /' conftest.$ac_ext >&5
74719 glibcxx_cv_func_strtof_use=no
74721 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74722 ac_ext=c
74723 ac_cpp='$CPP $CPPFLAGS'
74724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74732 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
74733 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
74734 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
74736 for ac_func in strtof
74738 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74739 echo "$as_me:$LINENO: checking for $ac_func" >&5
74740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74741 if eval "test \"\${$as_ac_var+set}\" = set"; then
74742 echo $ECHO_N "(cached) $ECHO_C" >&6
74743 else
74744 if test x$gcc_no_link = xyes; then
74745 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74746 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74747 { (exit 1); exit 1; }; }
74749 cat >conftest.$ac_ext <<_ACEOF
74750 /* confdefs.h. */
74751 _ACEOF
74752 cat confdefs.h >>conftest.$ac_ext
74753 cat >>conftest.$ac_ext <<_ACEOF
74754 /* end confdefs.h. */
74755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74757 #define $ac_func innocuous_$ac_func
74759 /* System header to define __stub macros and hopefully few prototypes,
74760 which can conflict with char $ac_func (); below.
74761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74762 <limits.h> exists even on freestanding compilers. */
74764 #ifdef __STDC__
74765 # include <limits.h>
74766 #else
74767 # include <assert.h>
74768 #endif
74770 #undef $ac_func
74772 /* Override any gcc2 internal prototype to avoid an error. */
74773 #ifdef __cplusplus
74774 extern "C"
74776 #endif
74777 /* We use char because int might match the return type of a gcc2
74778 builtin and then its argument prototype would still apply. */
74779 char $ac_func ();
74780 /* The GNU C library defines this for functions which it implements
74781 to always fail with ENOSYS. Some functions are actually named
74782 something starting with __ and the normal name is an alias. */
74783 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74784 choke me
74785 #else
74786 char (*f) () = $ac_func;
74787 #endif
74788 #ifdef __cplusplus
74790 #endif
74793 main ()
74795 return f != $ac_func;
74797 return 0;
74799 _ACEOF
74800 rm -f conftest.$ac_objext conftest$ac_exeext
74801 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74802 (eval $ac_link) 2>conftest.er1
74803 ac_status=$?
74804 grep -v '^ *+' conftest.er1 >conftest.err
74805 rm -f conftest.er1
74806 cat conftest.err >&5
74807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74808 (exit $ac_status); } &&
74809 { ac_try='test -z "$ac_c_werror_flag"
74810 || test ! -s conftest.err'
74811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74812 (eval $ac_try) 2>&5
74813 ac_status=$?
74814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74815 (exit $ac_status); }; } &&
74816 { ac_try='test -s conftest$ac_exeext'
74817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74818 (eval $ac_try) 2>&5
74819 ac_status=$?
74820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74821 (exit $ac_status); }; }; then
74822 eval "$as_ac_var=yes"
74823 else
74824 echo "$as_me: failed program was:" >&5
74825 sed 's/^/| /' conftest.$ac_ext >&5
74827 eval "$as_ac_var=no"
74829 rm -f conftest.err conftest.$ac_objext \
74830 conftest$ac_exeext conftest.$ac_ext
74832 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74833 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74834 if test `eval echo '${'$as_ac_var'}'` = yes; then
74835 cat >>confdefs.h <<_ACEOF
74836 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74837 _ACEOF
74840 done
74845 CXXFLAGS="$ac_save_CXXFLAGS"
74848 if test "${glibcxx_cv_S_ISREG+set}" = set; then
74849 echo $ECHO_N "(cached) $ECHO_C" >&6
74850 else
74852 if test x$gcc_no_link = xyes; then
74853 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74854 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74855 { (exit 1); exit 1; }; }
74857 cat >conftest.$ac_ext <<_ACEOF
74858 /* confdefs.h. */
74859 _ACEOF
74860 cat confdefs.h >>conftest.$ac_ext
74861 cat >>conftest.$ac_ext <<_ACEOF
74862 /* end confdefs.h. */
74863 #include <sys/stat.h>
74865 main ()
74867 struct stat buffer;
74868 fstat(0, &buffer);
74869 S_ISREG(buffer.st_mode);
74871 return 0;
74873 _ACEOF
74874 rm -f conftest.$ac_objext conftest$ac_exeext
74875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74876 (eval $ac_link) 2>conftest.er1
74877 ac_status=$?
74878 grep -v '^ *+' conftest.er1 >conftest.err
74879 rm -f conftest.er1
74880 cat conftest.err >&5
74881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74882 (exit $ac_status); } &&
74883 { ac_try='test -z "$ac_c_werror_flag"
74884 || test ! -s conftest.err'
74885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74886 (eval $ac_try) 2>&5
74887 ac_status=$?
74888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74889 (exit $ac_status); }; } &&
74890 { ac_try='test -s conftest$ac_exeext'
74891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74892 (eval $ac_try) 2>&5
74893 ac_status=$?
74894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74895 (exit $ac_status); }; }; then
74896 glibcxx_cv_S_ISREG=yes
74897 else
74898 echo "$as_me: failed program was:" >&5
74899 sed 's/^/| /' conftest.$ac_ext >&5
74901 glibcxx_cv_S_ISREG=no
74903 rm -f conftest.err conftest.$ac_objext \
74904 conftest$ac_exeext conftest.$ac_ext
74908 if test "${glibcxx_cv_S_IFREG+set}" = set; then
74909 echo $ECHO_N "(cached) $ECHO_C" >&6
74910 else
74912 if test x$gcc_no_link = xyes; then
74913 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74914 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74915 { (exit 1); exit 1; }; }
74917 cat >conftest.$ac_ext <<_ACEOF
74918 /* confdefs.h. */
74919 _ACEOF
74920 cat confdefs.h >>conftest.$ac_ext
74921 cat >>conftest.$ac_ext <<_ACEOF
74922 /* end confdefs.h. */
74923 #include <sys/stat.h>
74925 main ()
74927 struct stat buffer;
74928 fstat(0, &buffer);
74929 S_IFREG & buffer.st_mode;
74931 return 0;
74933 _ACEOF
74934 rm -f conftest.$ac_objext conftest$ac_exeext
74935 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74936 (eval $ac_link) 2>conftest.er1
74937 ac_status=$?
74938 grep -v '^ *+' conftest.er1 >conftest.err
74939 rm -f conftest.er1
74940 cat conftest.err >&5
74941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74942 (exit $ac_status); } &&
74943 { ac_try='test -z "$ac_c_werror_flag"
74944 || test ! -s conftest.err'
74945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74946 (eval $ac_try) 2>&5
74947 ac_status=$?
74948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74949 (exit $ac_status); }; } &&
74950 { ac_try='test -s conftest$ac_exeext'
74951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74952 (eval $ac_try) 2>&5
74953 ac_status=$?
74954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74955 (exit $ac_status); }; }; then
74956 glibcxx_cv_S_IFREG=yes
74957 else
74958 echo "$as_me: failed program was:" >&5
74959 sed 's/^/| /' conftest.$ac_ext >&5
74961 glibcxx_cv_S_IFREG=no
74963 rm -f conftest.err conftest.$ac_objext \
74964 conftest$ac_exeext conftest.$ac_ext
74968 if test $glibcxx_cv_S_ISREG = yes; then
74969 cat >>confdefs.h <<\_ACEOF
74970 #define HAVE_S_ISREG 1
74971 _ACEOF
74973 elif test $glibcxx_cv_S_IFREG = yes; then
74974 cat >>confdefs.h <<\_ACEOF
74975 #define HAVE_S_IFREG 1
74976 _ACEOF
74980 cat >>confdefs.h <<\_ACEOF
74981 #define HAVE_WRITEV 1
74982 _ACEOF
74986 *-freebsd*)
75003 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
75004 machine/endian.h machine/param.h sys/machine.h sys/types.h \
75005 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
75006 sys/time.h unistd.h
75008 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
75009 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75010 echo "$as_me:$LINENO: checking for $ac_header" >&5
75011 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75012 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75013 echo $ECHO_N "(cached) $ECHO_C" >&6
75015 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75016 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75017 else
75018 # Is the header compilable?
75019 echo "$as_me:$LINENO: checking $ac_header usability" >&5
75020 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
75021 cat >conftest.$ac_ext <<_ACEOF
75022 /* confdefs.h. */
75023 _ACEOF
75024 cat confdefs.h >>conftest.$ac_ext
75025 cat >>conftest.$ac_ext <<_ACEOF
75026 /* end confdefs.h. */
75027 $ac_includes_default
75028 #include <$ac_header>
75029 _ACEOF
75030 rm -f conftest.$ac_objext
75031 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75032 (eval $ac_compile) 2>conftest.er1
75033 ac_status=$?
75034 grep -v '^ *+' conftest.er1 >conftest.err
75035 rm -f conftest.er1
75036 cat conftest.err >&5
75037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75038 (exit $ac_status); } &&
75039 { ac_try='test -z "$ac_c_werror_flag"
75040 || test ! -s conftest.err'
75041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75042 (eval $ac_try) 2>&5
75043 ac_status=$?
75044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75045 (exit $ac_status); }; } &&
75046 { ac_try='test -s conftest.$ac_objext'
75047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75048 (eval $ac_try) 2>&5
75049 ac_status=$?
75050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75051 (exit $ac_status); }; }; then
75052 ac_header_compiler=yes
75053 else
75054 echo "$as_me: failed program was:" >&5
75055 sed 's/^/| /' conftest.$ac_ext >&5
75057 ac_header_compiler=no
75059 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75060 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75061 echo "${ECHO_T}$ac_header_compiler" >&6
75063 # Is the header present?
75064 echo "$as_me:$LINENO: checking $ac_header presence" >&5
75065 echo $ECHO_N "checking $ac_header presence... $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 #include <$ac_header>
75073 _ACEOF
75074 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75075 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75076 ac_status=$?
75077 grep -v '^ *+' conftest.er1 >conftest.err
75078 rm -f conftest.er1
75079 cat conftest.err >&5
75080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75081 (exit $ac_status); } >/dev/null; then
75082 if test -s conftest.err; then
75083 ac_cpp_err=$ac_c_preproc_warn_flag
75084 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75085 else
75086 ac_cpp_err=
75088 else
75089 ac_cpp_err=yes
75091 if test -z "$ac_cpp_err"; then
75092 ac_header_preproc=yes
75093 else
75094 echo "$as_me: failed program was:" >&5
75095 sed 's/^/| /' conftest.$ac_ext >&5
75097 ac_header_preproc=no
75099 rm -f conftest.err conftest.$ac_ext
75100 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75101 echo "${ECHO_T}$ac_header_preproc" >&6
75103 # So? What about this header?
75104 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75105 yes:no: )
75106 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
75107 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
75108 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
75109 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
75110 ac_header_preproc=yes
75112 no:yes:* )
75113 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
75114 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
75115 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
75116 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
75117 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
75118 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
75119 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
75120 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
75121 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
75122 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
75123 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
75124 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
75126 cat <<\_ASBOX
75127 ## ----------------------------------------- ##
75128 ## Report this to the package-unused lists. ##
75129 ## ----------------------------------------- ##
75130 _ASBOX
75132 sed "s/^/$as_me: WARNING: /" >&2
75134 esac
75135 echo "$as_me:$LINENO: checking for $ac_header" >&5
75136 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75137 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75138 echo $ECHO_N "(cached) $ECHO_C" >&6
75139 else
75140 eval "$as_ac_Header=\$ac_header_preproc"
75142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75143 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75146 if test `eval echo '${'$as_ac_Header'}'` = yes; then
75147 cat >>confdefs.h <<_ACEOF
75148 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
75149 _ACEOF
75153 done
75155 SECTION_FLAGS='-ffunction-sections -fdata-sections'
75158 # If we're not using GNU ld, then there's no point in even trying these
75159 # tests. Check for that first. We should have already tested for gld
75160 # by now (in libtool), but require it now just to be safe...
75161 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
75162 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
75166 # The name set by libtool depends on the version of libtool. Shame on us
75167 # for depending on an impl detail, but c'est la vie. Older versions used
75168 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
75169 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
75170 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
75171 # set (hence we're using an older libtool), then set it.
75172 if test x${with_gnu_ld+set} != xset; then
75173 if test x${ac_cv_prog_gnu_ld+set} != xset; then
75174 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
75175 with_gnu_ld=no
75176 else
75177 with_gnu_ld=$ac_cv_prog_gnu_ld
75181 # Start by getting the version number. I think the libtool test already
75182 # does some of this, but throws away the result.
75184 ldver=`$LD --version 2>/dev/null | head -1 | \
75185 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
75187 glibcxx_gnu_ld_version=`echo $ldver | \
75188 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
75190 # Set --gc-sections.
75191 if test "$with_gnu_ld" = "notbroken"; then
75192 # GNU ld it is! Joy and bunny rabbits!
75194 # All these tests are for C++; save the language and the compiler flags.
75195 # Need to do this so that g++ won't try to link in libstdc++
75196 ac_test_CFLAGS="${CFLAGS+set}"
75197 ac_save_CFLAGS="$CFLAGS"
75198 CFLAGS='-x c++ -Wl,--gc-sections'
75200 # Check for -Wl,--gc-sections
75201 # XXX This test is broken at the moment, as symbols required for linking
75202 # are now in libsupc++ (not built yet). In addition, this test has
75203 # cored on solaris in the past. In addition, --gc-sections doesn't
75204 # really work at the moment (keeps on discarding used sections, first
75205 # .eh_frame and now some of the glibc sections for iconv).
75206 # Bzzzzt. Thanks for playing, maybe next time.
75207 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
75208 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
75209 if test "$cross_compiling" = yes; then
75210 ac_sectionLDflags=yes
75211 else
75212 cat >conftest.$ac_ext <<_ACEOF
75213 /* confdefs.h. */
75214 _ACEOF
75215 cat confdefs.h >>conftest.$ac_ext
75216 cat >>conftest.$ac_ext <<_ACEOF
75217 /* end confdefs.h. */
75219 int main(void)
75221 try { throw 1; }
75222 catch (...) { };
75223 return 0;
75226 _ACEOF
75227 rm -f conftest$ac_exeext
75228 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75229 (eval $ac_link) 2>&5
75230 ac_status=$?
75231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75232 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
75233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75234 (eval $ac_try) 2>&5
75235 ac_status=$?
75236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75237 (exit $ac_status); }; }; then
75238 ac_sectionLDflags=yes
75239 else
75240 echo "$as_me: program exited with status $ac_status" >&5
75241 echo "$as_me: failed program was:" >&5
75242 sed 's/^/| /' conftest.$ac_ext >&5
75244 ( exit $ac_status )
75245 ac_sectionLDflags=no
75247 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
75249 if test "$ac_test_CFLAGS" = set; then
75250 CFLAGS="$ac_save_CFLAGS"
75251 else
75252 # this is the suspicious part
75253 CFLAGS=''
75255 if test "$ac_sectionLDflags" = "yes"; then
75256 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
75258 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
75259 echo "${ECHO_T}$ac_sectionLDflags" >&6
75262 # Set linker optimization flags.
75263 if test x"$with_gnu_ld" = x"yes"; then
75264 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
75272 echo "$as_me:$LINENO: checking for main in -lm" >&5
75273 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
75274 if test "${ac_cv_lib_m_main+set}" = set; then
75275 echo $ECHO_N "(cached) $ECHO_C" >&6
75276 else
75277 ac_check_lib_save_LIBS=$LIBS
75278 LIBS="-lm $LIBS"
75279 if test x$gcc_no_link = xyes; then
75280 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75281 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75282 { (exit 1); exit 1; }; }
75284 cat >conftest.$ac_ext <<_ACEOF
75285 /* confdefs.h. */
75286 _ACEOF
75287 cat confdefs.h >>conftest.$ac_ext
75288 cat >>conftest.$ac_ext <<_ACEOF
75289 /* end confdefs.h. */
75293 main ()
75295 main ();
75297 return 0;
75299 _ACEOF
75300 rm -f conftest.$ac_objext conftest$ac_exeext
75301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75302 (eval $ac_link) 2>conftest.er1
75303 ac_status=$?
75304 grep -v '^ *+' conftest.er1 >conftest.err
75305 rm -f conftest.er1
75306 cat conftest.err >&5
75307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75308 (exit $ac_status); } &&
75309 { ac_try='test -z "$ac_c_werror_flag"
75310 || test ! -s conftest.err'
75311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75312 (eval $ac_try) 2>&5
75313 ac_status=$?
75314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75315 (exit $ac_status); }; } &&
75316 { ac_try='test -s conftest$ac_exeext'
75317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75318 (eval $ac_try) 2>&5
75319 ac_status=$?
75320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75321 (exit $ac_status); }; }; then
75322 ac_cv_lib_m_main=yes
75323 else
75324 echo "$as_me: failed program was:" >&5
75325 sed 's/^/| /' conftest.$ac_ext >&5
75327 ac_cv_lib_m_main=no
75329 rm -f conftest.err conftest.$ac_objext \
75330 conftest$ac_exeext conftest.$ac_ext
75331 LIBS=$ac_check_lib_save_LIBS
75333 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
75334 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
75335 if test $ac_cv_lib_m_main = yes; then
75336 cat >>confdefs.h <<_ACEOF
75337 #define HAVE_LIBM 1
75338 _ACEOF
75340 LIBS="-lm $LIBS"
75345 for ac_func in copysignf
75347 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75348 echo "$as_me:$LINENO: checking for $ac_func" >&5
75349 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75350 if eval "test \"\${$as_ac_var+set}\" = set"; then
75351 echo $ECHO_N "(cached) $ECHO_C" >&6
75352 else
75353 if test x$gcc_no_link = xyes; then
75354 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75355 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75356 { (exit 1); exit 1; }; }
75358 cat >conftest.$ac_ext <<_ACEOF
75359 /* confdefs.h. */
75360 _ACEOF
75361 cat confdefs.h >>conftest.$ac_ext
75362 cat >>conftest.$ac_ext <<_ACEOF
75363 /* end confdefs.h. */
75364 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75365 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75366 #define $ac_func innocuous_$ac_func
75368 /* System header to define __stub macros and hopefully few prototypes,
75369 which can conflict with char $ac_func (); below.
75370 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75371 <limits.h> exists even on freestanding compilers. */
75373 #ifdef __STDC__
75374 # include <limits.h>
75375 #else
75376 # include <assert.h>
75377 #endif
75379 #undef $ac_func
75381 /* Override any gcc2 internal prototype to avoid an error. */
75382 #ifdef __cplusplus
75383 extern "C"
75385 #endif
75386 /* We use char because int might match the return type of a gcc2
75387 builtin and then its argument prototype would still apply. */
75388 char $ac_func ();
75389 /* The GNU C library defines this for functions which it implements
75390 to always fail with ENOSYS. Some functions are actually named
75391 something starting with __ and the normal name is an alias. */
75392 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75393 choke me
75394 #else
75395 char (*f) () = $ac_func;
75396 #endif
75397 #ifdef __cplusplus
75399 #endif
75402 main ()
75404 return f != $ac_func;
75406 return 0;
75408 _ACEOF
75409 rm -f conftest.$ac_objext conftest$ac_exeext
75410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75411 (eval $ac_link) 2>conftest.er1
75412 ac_status=$?
75413 grep -v '^ *+' conftest.er1 >conftest.err
75414 rm -f conftest.er1
75415 cat conftest.err >&5
75416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75417 (exit $ac_status); } &&
75418 { ac_try='test -z "$ac_c_werror_flag"
75419 || test ! -s conftest.err'
75420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75421 (eval $ac_try) 2>&5
75422 ac_status=$?
75423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75424 (exit $ac_status); }; } &&
75425 { ac_try='test -s conftest$ac_exeext'
75426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75427 (eval $ac_try) 2>&5
75428 ac_status=$?
75429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75430 (exit $ac_status); }; }; then
75431 eval "$as_ac_var=yes"
75432 else
75433 echo "$as_me: failed program was:" >&5
75434 sed 's/^/| /' conftest.$ac_ext >&5
75436 eval "$as_ac_var=no"
75438 rm -f conftest.err conftest.$ac_objext \
75439 conftest$ac_exeext conftest.$ac_ext
75441 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75442 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75443 if test `eval echo '${'$as_ac_var'}'` = yes; then
75444 cat >>confdefs.h <<_ACEOF
75445 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75446 _ACEOF
75448 else
75449 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
75451 done
75455 for ac_func in __signbit
75457 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75458 echo "$as_me:$LINENO: checking for $ac_func" >&5
75459 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75460 if eval "test \"\${$as_ac_var+set}\" = set"; then
75461 echo $ECHO_N "(cached) $ECHO_C" >&6
75462 else
75463 if test x$gcc_no_link = xyes; then
75464 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75465 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75466 { (exit 1); exit 1; }; }
75468 cat >conftest.$ac_ext <<_ACEOF
75469 /* confdefs.h. */
75470 _ACEOF
75471 cat confdefs.h >>conftest.$ac_ext
75472 cat >>conftest.$ac_ext <<_ACEOF
75473 /* end confdefs.h. */
75474 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75475 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75476 #define $ac_func innocuous_$ac_func
75478 /* System header to define __stub macros and hopefully few prototypes,
75479 which can conflict with char $ac_func (); below.
75480 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75481 <limits.h> exists even on freestanding compilers. */
75483 #ifdef __STDC__
75484 # include <limits.h>
75485 #else
75486 # include <assert.h>
75487 #endif
75489 #undef $ac_func
75491 /* Override any gcc2 internal prototype to avoid an error. */
75492 #ifdef __cplusplus
75493 extern "C"
75495 #endif
75496 /* We use char because int might match the return type of a gcc2
75497 builtin and then its argument prototype would still apply. */
75498 char $ac_func ();
75499 /* The GNU C library defines this for functions which it implements
75500 to always fail with ENOSYS. Some functions are actually named
75501 something starting with __ and the normal name is an alias. */
75502 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75503 choke me
75504 #else
75505 char (*f) () = $ac_func;
75506 #endif
75507 #ifdef __cplusplus
75509 #endif
75512 main ()
75514 return f != $ac_func;
75516 return 0;
75518 _ACEOF
75519 rm -f conftest.$ac_objext conftest$ac_exeext
75520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75521 (eval $ac_link) 2>conftest.er1
75522 ac_status=$?
75523 grep -v '^ *+' conftest.er1 >conftest.err
75524 rm -f conftest.er1
75525 cat conftest.err >&5
75526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75527 (exit $ac_status); } &&
75528 { ac_try='test -z "$ac_c_werror_flag"
75529 || test ! -s conftest.err'
75530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75531 (eval $ac_try) 2>&5
75532 ac_status=$?
75533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75534 (exit $ac_status); }; } &&
75535 { ac_try='test -s conftest$ac_exeext'
75536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75537 (eval $ac_try) 2>&5
75538 ac_status=$?
75539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75540 (exit $ac_status); }; }; then
75541 eval "$as_ac_var=yes"
75542 else
75543 echo "$as_me: failed program was:" >&5
75544 sed 's/^/| /' conftest.$ac_ext >&5
75546 eval "$as_ac_var=no"
75548 rm -f conftest.err conftest.$ac_objext \
75549 conftest$ac_exeext conftest.$ac_ext
75551 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75552 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75553 if test `eval echo '${'$as_ac_var'}'` = yes; then
75554 cat >>confdefs.h <<_ACEOF
75555 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75556 _ACEOF
75558 else
75559 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
75561 done
75565 for ac_func in __signbitf
75567 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75568 echo "$as_me:$LINENO: checking for $ac_func" >&5
75569 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75570 if eval "test \"\${$as_ac_var+set}\" = set"; then
75571 echo $ECHO_N "(cached) $ECHO_C" >&6
75572 else
75573 if test x$gcc_no_link = xyes; then
75574 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75575 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75576 { (exit 1); exit 1; }; }
75578 cat >conftest.$ac_ext <<_ACEOF
75579 /* confdefs.h. */
75580 _ACEOF
75581 cat confdefs.h >>conftest.$ac_ext
75582 cat >>conftest.$ac_ext <<_ACEOF
75583 /* end confdefs.h. */
75584 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75585 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75586 #define $ac_func innocuous_$ac_func
75588 /* System header to define __stub macros and hopefully few prototypes,
75589 which can conflict with char $ac_func (); below.
75590 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75591 <limits.h> exists even on freestanding compilers. */
75593 #ifdef __STDC__
75594 # include <limits.h>
75595 #else
75596 # include <assert.h>
75597 #endif
75599 #undef $ac_func
75601 /* Override any gcc2 internal prototype to avoid an error. */
75602 #ifdef __cplusplus
75603 extern "C"
75605 #endif
75606 /* We use char because int might match the return type of a gcc2
75607 builtin and then its argument prototype would still apply. */
75608 char $ac_func ();
75609 /* The GNU C library defines this for functions which it implements
75610 to always fail with ENOSYS. Some functions are actually named
75611 something starting with __ and the normal name is an alias. */
75612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75613 choke me
75614 #else
75615 char (*f) () = $ac_func;
75616 #endif
75617 #ifdef __cplusplus
75619 #endif
75622 main ()
75624 return f != $ac_func;
75626 return 0;
75628 _ACEOF
75629 rm -f conftest.$ac_objext conftest$ac_exeext
75630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75631 (eval $ac_link) 2>conftest.er1
75632 ac_status=$?
75633 grep -v '^ *+' conftest.er1 >conftest.err
75634 rm -f conftest.er1
75635 cat conftest.err >&5
75636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75637 (exit $ac_status); } &&
75638 { ac_try='test -z "$ac_c_werror_flag"
75639 || test ! -s conftest.err'
75640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75641 (eval $ac_try) 2>&5
75642 ac_status=$?
75643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75644 (exit $ac_status); }; } &&
75645 { ac_try='test -s conftest$ac_exeext'
75646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75647 (eval $ac_try) 2>&5
75648 ac_status=$?
75649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75650 (exit $ac_status); }; }; then
75651 eval "$as_ac_var=yes"
75652 else
75653 echo "$as_me: failed program was:" >&5
75654 sed 's/^/| /' conftest.$ac_ext >&5
75656 eval "$as_ac_var=no"
75658 rm -f conftest.err conftest.$ac_objext \
75659 conftest$ac_exeext conftest.$ac_ext
75661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75662 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75663 if test `eval echo '${'$as_ac_var'}'` = yes; then
75664 cat >>confdefs.h <<_ACEOF
75665 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75666 _ACEOF
75668 else
75669 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
75671 done
75674 if test x$ac_cv_func_copysignl = x"yes"; then
75676 for ac_func in __signbitl
75678 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75679 echo "$as_me:$LINENO: checking for $ac_func" >&5
75680 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75681 if eval "test \"\${$as_ac_var+set}\" = set"; then
75682 echo $ECHO_N "(cached) $ECHO_C" >&6
75683 else
75684 if test x$gcc_no_link = xyes; then
75685 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75686 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75687 { (exit 1); exit 1; }; }
75689 cat >conftest.$ac_ext <<_ACEOF
75690 /* confdefs.h. */
75691 _ACEOF
75692 cat confdefs.h >>conftest.$ac_ext
75693 cat >>conftest.$ac_ext <<_ACEOF
75694 /* end confdefs.h. */
75695 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75697 #define $ac_func innocuous_$ac_func
75699 /* System header to define __stub macros and hopefully few prototypes,
75700 which can conflict with char $ac_func (); below.
75701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75702 <limits.h> exists even on freestanding compilers. */
75704 #ifdef __STDC__
75705 # include <limits.h>
75706 #else
75707 # include <assert.h>
75708 #endif
75710 #undef $ac_func
75712 /* Override any gcc2 internal prototype to avoid an error. */
75713 #ifdef __cplusplus
75714 extern "C"
75716 #endif
75717 /* We use char because int might match the return type of a gcc2
75718 builtin and then its argument prototype would still apply. */
75719 char $ac_func ();
75720 /* The GNU C library defines this for functions which it implements
75721 to always fail with ENOSYS. Some functions are actually named
75722 something starting with __ and the normal name is an alias. */
75723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75724 choke me
75725 #else
75726 char (*f) () = $ac_func;
75727 #endif
75728 #ifdef __cplusplus
75730 #endif
75733 main ()
75735 return f != $ac_func;
75737 return 0;
75739 _ACEOF
75740 rm -f conftest.$ac_objext conftest$ac_exeext
75741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75742 (eval $ac_link) 2>conftest.er1
75743 ac_status=$?
75744 grep -v '^ *+' conftest.er1 >conftest.err
75745 rm -f conftest.er1
75746 cat conftest.err >&5
75747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75748 (exit $ac_status); } &&
75749 { ac_try='test -z "$ac_c_werror_flag"
75750 || test ! -s conftest.err'
75751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75752 (eval $ac_try) 2>&5
75753 ac_status=$?
75754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75755 (exit $ac_status); }; } &&
75756 { ac_try='test -s conftest$ac_exeext'
75757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75758 (eval $ac_try) 2>&5
75759 ac_status=$?
75760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75761 (exit $ac_status); }; }; then
75762 eval "$as_ac_var=yes"
75763 else
75764 echo "$as_me: failed program was:" >&5
75765 sed 's/^/| /' conftest.$ac_ext >&5
75767 eval "$as_ac_var=no"
75769 rm -f conftest.err conftest.$ac_objext \
75770 conftest$ac_exeext conftest.$ac_ext
75772 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75773 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75774 if test `eval echo '${'$as_ac_var'}'` = yes; then
75775 cat >>confdefs.h <<_ACEOF
75776 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75777 _ACEOF
75779 else
75780 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
75782 done
75786 # Used in libmath/Makefile.am.
75787 if test -n "$LIBMATHOBJS"; then
75788 need_libmath=yes
75793 # Test wchar.h for mbstate_t, which is needed for char_traits and
75794 # others even if wchar_t support is not on.
75795 echo "$as_me:$LINENO: checking for mbstate_t" >&5
75796 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
75797 cat >conftest.$ac_ext <<_ACEOF
75798 /* confdefs.h. */
75799 _ACEOF
75800 cat confdefs.h >>conftest.$ac_ext
75801 cat >>conftest.$ac_ext <<_ACEOF
75802 /* end confdefs.h. */
75803 #include <wchar.h>
75805 main ()
75807 mbstate_t teststate;
75809 return 0;
75811 _ACEOF
75812 rm -f conftest.$ac_objext
75813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75814 (eval $ac_compile) 2>conftest.er1
75815 ac_status=$?
75816 grep -v '^ *+' conftest.er1 >conftest.err
75817 rm -f conftest.er1
75818 cat conftest.err >&5
75819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75820 (exit $ac_status); } &&
75821 { ac_try='test -z "$ac_c_werror_flag"
75822 || test ! -s conftest.err'
75823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75824 (eval $ac_try) 2>&5
75825 ac_status=$?
75826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75827 (exit $ac_status); }; } &&
75828 { ac_try='test -s conftest.$ac_objext'
75829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75830 (eval $ac_try) 2>&5
75831 ac_status=$?
75832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75833 (exit $ac_status); }; }; then
75834 have_mbstate_t=yes
75835 else
75836 echo "$as_me: failed program was:" >&5
75837 sed 's/^/| /' conftest.$ac_ext >&5
75839 have_mbstate_t=no
75841 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75842 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
75843 echo "${ECHO_T}$have_mbstate_t" >&6
75844 if test x"$have_mbstate_t" = xyes; then
75845 cat >>confdefs.h <<\_ACEOF
75846 #define HAVE_MBSTATE_T 1
75847 _ACEOF
75851 # Sanity check for existence of ISO C99 headers for extended encoding.
75853 for ac_header in wchar.h
75855 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
75856 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75857 echo "$as_me:$LINENO: checking for $ac_header" >&5
75858 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75859 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75860 echo $ECHO_N "(cached) $ECHO_C" >&6
75862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75863 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75864 else
75865 # Is the header compilable?
75866 echo "$as_me:$LINENO: checking $ac_header usability" >&5
75867 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
75868 cat >conftest.$ac_ext <<_ACEOF
75869 /* confdefs.h. */
75870 _ACEOF
75871 cat confdefs.h >>conftest.$ac_ext
75872 cat >>conftest.$ac_ext <<_ACEOF
75873 /* end confdefs.h. */
75874 $ac_includes_default
75875 #include <$ac_header>
75876 _ACEOF
75877 rm -f conftest.$ac_objext
75878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75879 (eval $ac_compile) 2>conftest.er1
75880 ac_status=$?
75881 grep -v '^ *+' conftest.er1 >conftest.err
75882 rm -f conftest.er1
75883 cat conftest.err >&5
75884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75885 (exit $ac_status); } &&
75886 { ac_try='test -z "$ac_c_werror_flag"
75887 || test ! -s conftest.err'
75888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75889 (eval $ac_try) 2>&5
75890 ac_status=$?
75891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75892 (exit $ac_status); }; } &&
75893 { ac_try='test -s conftest.$ac_objext'
75894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75895 (eval $ac_try) 2>&5
75896 ac_status=$?
75897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75898 (exit $ac_status); }; }; then
75899 ac_header_compiler=yes
75900 else
75901 echo "$as_me: failed program was:" >&5
75902 sed 's/^/| /' conftest.$ac_ext >&5
75904 ac_header_compiler=no
75906 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75907 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
75908 echo "${ECHO_T}$ac_header_compiler" >&6
75910 # Is the header present?
75911 echo "$as_me:$LINENO: checking $ac_header presence" >&5
75912 echo $ECHO_N "checking $ac_header presence... $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 #include <$ac_header>
75920 _ACEOF
75921 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
75922 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
75923 ac_status=$?
75924 grep -v '^ *+' conftest.er1 >conftest.err
75925 rm -f conftest.er1
75926 cat conftest.err >&5
75927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75928 (exit $ac_status); } >/dev/null; then
75929 if test -s conftest.err; then
75930 ac_cpp_err=$ac_c_preproc_warn_flag
75931 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
75932 else
75933 ac_cpp_err=
75935 else
75936 ac_cpp_err=yes
75938 if test -z "$ac_cpp_err"; then
75939 ac_header_preproc=yes
75940 else
75941 echo "$as_me: failed program was:" >&5
75942 sed 's/^/| /' conftest.$ac_ext >&5
75944 ac_header_preproc=no
75946 rm -f conftest.err conftest.$ac_ext
75947 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
75948 echo "${ECHO_T}$ac_header_preproc" >&6
75950 # So? What about this header?
75951 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
75952 yes:no: )
75953 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
75954 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
75955 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
75956 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
75957 ac_header_preproc=yes
75959 no:yes:* )
75960 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
75961 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
75962 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
75963 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
75964 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
75965 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
75966 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
75967 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
75968 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
75969 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
75970 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
75971 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
75973 cat <<\_ASBOX
75974 ## ----------------------------------------- ##
75975 ## Report this to the package-unused lists. ##
75976 ## ----------------------------------------- ##
75977 _ASBOX
75979 sed "s/^/$as_me: WARNING: /" >&2
75981 esac
75982 echo "$as_me:$LINENO: checking for $ac_header" >&5
75983 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
75984 if eval "test \"\${$as_ac_Header+set}\" = set"; then
75985 echo $ECHO_N "(cached) $ECHO_C" >&6
75986 else
75987 eval "$as_ac_Header=\$ac_header_preproc"
75989 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
75990 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
75993 if test `eval echo '${'$as_ac_Header'}'` = yes; then
75994 cat >>confdefs.h <<_ACEOF
75995 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
75996 _ACEOF
75997 ac_has_wchar_h=yes
75998 else
75999 ac_has_wchar_h=no
76002 done
76005 for ac_header in wctype.h
76007 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
76008 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76009 echo "$as_me:$LINENO: checking for $ac_header" >&5
76010 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76011 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76012 echo $ECHO_N "(cached) $ECHO_C" >&6
76014 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76015 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76016 else
76017 # Is the header compilable?
76018 echo "$as_me:$LINENO: checking $ac_header usability" >&5
76019 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
76020 cat >conftest.$ac_ext <<_ACEOF
76021 /* confdefs.h. */
76022 _ACEOF
76023 cat confdefs.h >>conftest.$ac_ext
76024 cat >>conftest.$ac_ext <<_ACEOF
76025 /* end confdefs.h. */
76026 $ac_includes_default
76027 #include <$ac_header>
76028 _ACEOF
76029 rm -f conftest.$ac_objext
76030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76031 (eval $ac_compile) 2>conftest.er1
76032 ac_status=$?
76033 grep -v '^ *+' conftest.er1 >conftest.err
76034 rm -f conftest.er1
76035 cat conftest.err >&5
76036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76037 (exit $ac_status); } &&
76038 { ac_try='test -z "$ac_c_werror_flag"
76039 || test ! -s conftest.err'
76040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76041 (eval $ac_try) 2>&5
76042 ac_status=$?
76043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76044 (exit $ac_status); }; } &&
76045 { ac_try='test -s conftest.$ac_objext'
76046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76047 (eval $ac_try) 2>&5
76048 ac_status=$?
76049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76050 (exit $ac_status); }; }; then
76051 ac_header_compiler=yes
76052 else
76053 echo "$as_me: failed program was:" >&5
76054 sed 's/^/| /' conftest.$ac_ext >&5
76056 ac_header_compiler=no
76058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76059 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76060 echo "${ECHO_T}$ac_header_compiler" >&6
76062 # Is the header present?
76063 echo "$as_me:$LINENO: checking $ac_header presence" >&5
76064 echo $ECHO_N "checking $ac_header presence... $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 #include <$ac_header>
76072 _ACEOF
76073 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76074 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76075 ac_status=$?
76076 grep -v '^ *+' conftest.er1 >conftest.err
76077 rm -f conftest.er1
76078 cat conftest.err >&5
76079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76080 (exit $ac_status); } >/dev/null; then
76081 if test -s conftest.err; then
76082 ac_cpp_err=$ac_c_preproc_warn_flag
76083 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76084 else
76085 ac_cpp_err=
76087 else
76088 ac_cpp_err=yes
76090 if test -z "$ac_cpp_err"; then
76091 ac_header_preproc=yes
76092 else
76093 echo "$as_me: failed program was:" >&5
76094 sed 's/^/| /' conftest.$ac_ext >&5
76096 ac_header_preproc=no
76098 rm -f conftest.err conftest.$ac_ext
76099 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76100 echo "${ECHO_T}$ac_header_preproc" >&6
76102 # So? What about this header?
76103 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76104 yes:no: )
76105 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
76106 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
76107 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
76108 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
76109 ac_header_preproc=yes
76111 no:yes:* )
76112 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
76113 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
76114 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
76115 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
76116 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
76117 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
76118 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
76119 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
76120 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
76121 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
76122 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
76123 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
76125 cat <<\_ASBOX
76126 ## ----------------------------------------- ##
76127 ## Report this to the package-unused lists. ##
76128 ## ----------------------------------------- ##
76129 _ASBOX
76131 sed "s/^/$as_me: WARNING: /" >&2
76133 esac
76134 echo "$as_me:$LINENO: checking for $ac_header" >&5
76135 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
76136 if eval "test \"\${$as_ac_Header+set}\" = set"; then
76137 echo $ECHO_N "(cached) $ECHO_C" >&6
76138 else
76139 eval "$as_ac_Header=\$ac_header_preproc"
76141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
76142 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
76145 if test `eval echo '${'$as_ac_Header'}'` = yes; then
76146 cat >>confdefs.h <<_ACEOF
76147 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
76148 _ACEOF
76149 ac_has_wctype_h=yes
76150 else
76151 ac_has_wctype_h=no
76154 done
76157 # Only continue checking if the ISO C99 headers exist and support is on.
76158 if test x"$ac_has_wchar_h" = xyes &&
76159 test x"$ac_has_wctype_h" = xyes &&
76160 test x"$enable_c_mbchar" != xno; then
76162 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
76163 # numeric_limits can instantiate type_traits<wchar_t>
76164 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
76165 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
76166 cat >conftest.$ac_ext <<_ACEOF
76167 /* confdefs.h. */
76168 _ACEOF
76169 cat confdefs.h >>conftest.$ac_ext
76170 cat >>conftest.$ac_ext <<_ACEOF
76171 /* end confdefs.h. */
76172 #include <wchar.h>
76174 main ()
76176 int i = WCHAR_MIN; int j = WCHAR_MAX;
76178 return 0;
76180 _ACEOF
76181 rm -f conftest.$ac_objext
76182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76183 (eval $ac_compile) 2>conftest.er1
76184 ac_status=$?
76185 grep -v '^ *+' conftest.er1 >conftest.err
76186 rm -f conftest.er1
76187 cat conftest.err >&5
76188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76189 (exit $ac_status); } &&
76190 { ac_try='test -z "$ac_c_werror_flag"
76191 || test ! -s conftest.err'
76192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76193 (eval $ac_try) 2>&5
76194 ac_status=$?
76195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76196 (exit $ac_status); }; } &&
76197 { ac_try='test -s conftest.$ac_objext'
76198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76199 (eval $ac_try) 2>&5
76200 ac_status=$?
76201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76202 (exit $ac_status); }; }; then
76203 has_wchar_minmax=yes
76204 else
76205 echo "$as_me: failed program was:" >&5
76206 sed 's/^/| /' conftest.$ac_ext >&5
76208 has_wchar_minmax=no
76210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76211 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
76212 echo "${ECHO_T}$has_wchar_minmax" >&6
76214 # Test wchar.h for WEOF, which is what we use to determine whether
76215 # to specialize for char_traits<wchar_t> or not.
76216 echo "$as_me:$LINENO: checking for WEOF" >&5
76217 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
76218 cat >conftest.$ac_ext <<_ACEOF
76219 /* confdefs.h. */
76220 _ACEOF
76221 cat confdefs.h >>conftest.$ac_ext
76222 cat >>conftest.$ac_ext <<_ACEOF
76223 /* end confdefs.h. */
76225 #include <wchar.h>
76226 #include <stddef.h>
76228 main ()
76230 wint_t i = WEOF;
76232 return 0;
76234 _ACEOF
76235 rm -f conftest.$ac_objext
76236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76237 (eval $ac_compile) 2>conftest.er1
76238 ac_status=$?
76239 grep -v '^ *+' conftest.er1 >conftest.err
76240 rm -f conftest.er1
76241 cat conftest.err >&5
76242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76243 (exit $ac_status); } &&
76244 { ac_try='test -z "$ac_c_werror_flag"
76245 || test ! -s conftest.err'
76246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76247 (eval $ac_try) 2>&5
76248 ac_status=$?
76249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76250 (exit $ac_status); }; } &&
76251 { ac_try='test -s conftest.$ac_objext'
76252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76253 (eval $ac_try) 2>&5
76254 ac_status=$?
76255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76256 (exit $ac_status); }; }; then
76257 has_weof=yes
76258 else
76259 echo "$as_me: failed program was:" >&5
76260 sed 's/^/| /' conftest.$ac_ext >&5
76262 has_weof=no
76264 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76265 echo "$as_me:$LINENO: result: $has_weof" >&5
76266 echo "${ECHO_T}$has_weof" >&6
76268 # Tests for wide character functions used in char_traits<wchar_t>.
76269 ac_wfuncs=yes
76276 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
76278 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76279 echo "$as_me:$LINENO: checking for $ac_func" >&5
76280 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76281 if eval "test \"\${$as_ac_var+set}\" = set"; then
76282 echo $ECHO_N "(cached) $ECHO_C" >&6
76283 else
76284 if test x$gcc_no_link = xyes; then
76285 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76286 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76287 { (exit 1); exit 1; }; }
76289 cat >conftest.$ac_ext <<_ACEOF
76290 /* confdefs.h. */
76291 _ACEOF
76292 cat confdefs.h >>conftest.$ac_ext
76293 cat >>conftest.$ac_ext <<_ACEOF
76294 /* end confdefs.h. */
76295 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76296 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76297 #define $ac_func innocuous_$ac_func
76299 /* System header to define __stub macros and hopefully few prototypes,
76300 which can conflict with char $ac_func (); below.
76301 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76302 <limits.h> exists even on freestanding compilers. */
76304 #ifdef __STDC__
76305 # include <limits.h>
76306 #else
76307 # include <assert.h>
76308 #endif
76310 #undef $ac_func
76312 /* Override any gcc2 internal prototype to avoid an error. */
76313 #ifdef __cplusplus
76314 extern "C"
76316 #endif
76317 /* We use char because int might match the return type of a gcc2
76318 builtin and then its argument prototype would still apply. */
76319 char $ac_func ();
76320 /* The GNU C library defines this for functions which it implements
76321 to always fail with ENOSYS. Some functions are actually named
76322 something starting with __ and the normal name is an alias. */
76323 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76324 choke me
76325 #else
76326 char (*f) () = $ac_func;
76327 #endif
76328 #ifdef __cplusplus
76330 #endif
76333 main ()
76335 return f != $ac_func;
76337 return 0;
76339 _ACEOF
76340 rm -f conftest.$ac_objext conftest$ac_exeext
76341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76342 (eval $ac_link) 2>conftest.er1
76343 ac_status=$?
76344 grep -v '^ *+' conftest.er1 >conftest.err
76345 rm -f conftest.er1
76346 cat conftest.err >&5
76347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76348 (exit $ac_status); } &&
76349 { ac_try='test -z "$ac_c_werror_flag"
76350 || test ! -s conftest.err'
76351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76352 (eval $ac_try) 2>&5
76353 ac_status=$?
76354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76355 (exit $ac_status); }; } &&
76356 { ac_try='test -s conftest$ac_exeext'
76357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76358 (eval $ac_try) 2>&5
76359 ac_status=$?
76360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76361 (exit $ac_status); }; }; then
76362 eval "$as_ac_var=yes"
76363 else
76364 echo "$as_me: failed program was:" >&5
76365 sed 's/^/| /' conftest.$ac_ext >&5
76367 eval "$as_ac_var=no"
76369 rm -f conftest.err conftest.$ac_objext \
76370 conftest$ac_exeext conftest.$ac_ext
76372 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76373 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76374 if test `eval echo '${'$as_ac_var'}'` = yes; then
76375 cat >>confdefs.h <<_ACEOF
76376 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76377 _ACEOF
76379 else
76380 ac_wfuncs=no
76382 done
76385 # Checks for names injected into std:: by the c_std headers.
76432 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
76433 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
76434 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
76435 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
76436 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
76437 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
76439 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76440 echo "$as_me:$LINENO: checking for $ac_func" >&5
76441 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76442 if eval "test \"\${$as_ac_var+set}\" = set"; then
76443 echo $ECHO_N "(cached) $ECHO_C" >&6
76444 else
76445 if test x$gcc_no_link = xyes; then
76446 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76447 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76448 { (exit 1); exit 1; }; }
76450 cat >conftest.$ac_ext <<_ACEOF
76451 /* confdefs.h. */
76452 _ACEOF
76453 cat confdefs.h >>conftest.$ac_ext
76454 cat >>conftest.$ac_ext <<_ACEOF
76455 /* end confdefs.h. */
76456 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76457 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76458 #define $ac_func innocuous_$ac_func
76460 /* System header to define __stub macros and hopefully few prototypes,
76461 which can conflict with char $ac_func (); below.
76462 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76463 <limits.h> exists even on freestanding compilers. */
76465 #ifdef __STDC__
76466 # include <limits.h>
76467 #else
76468 # include <assert.h>
76469 #endif
76471 #undef $ac_func
76473 /* Override any gcc2 internal prototype to avoid an error. */
76474 #ifdef __cplusplus
76475 extern "C"
76477 #endif
76478 /* We use char because int might match the return type of a gcc2
76479 builtin and then its argument prototype would still apply. */
76480 char $ac_func ();
76481 /* The GNU C library defines this for functions which it implements
76482 to always fail with ENOSYS. Some functions are actually named
76483 something starting with __ and the normal name is an alias. */
76484 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76485 choke me
76486 #else
76487 char (*f) () = $ac_func;
76488 #endif
76489 #ifdef __cplusplus
76491 #endif
76494 main ()
76496 return f != $ac_func;
76498 return 0;
76500 _ACEOF
76501 rm -f conftest.$ac_objext conftest$ac_exeext
76502 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76503 (eval $ac_link) 2>conftest.er1
76504 ac_status=$?
76505 grep -v '^ *+' conftest.er1 >conftest.err
76506 rm -f conftest.er1
76507 cat conftest.err >&5
76508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76509 (exit $ac_status); } &&
76510 { ac_try='test -z "$ac_c_werror_flag"
76511 || test ! -s conftest.err'
76512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76513 (eval $ac_try) 2>&5
76514 ac_status=$?
76515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76516 (exit $ac_status); }; } &&
76517 { ac_try='test -s conftest$ac_exeext'
76518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76519 (eval $ac_try) 2>&5
76520 ac_status=$?
76521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76522 (exit $ac_status); }; }; then
76523 eval "$as_ac_var=yes"
76524 else
76525 echo "$as_me: failed program was:" >&5
76526 sed 's/^/| /' conftest.$ac_ext >&5
76528 eval "$as_ac_var=no"
76530 rm -f conftest.err conftest.$ac_objext \
76531 conftest$ac_exeext conftest.$ac_ext
76533 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76534 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76535 if test `eval echo '${'$as_ac_var'}'` = yes; then
76536 cat >>confdefs.h <<_ACEOF
76537 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76538 _ACEOF
76540 else
76541 ac_wfuncs=no
76543 done
76546 # Checks for wide character functions that are not required
76547 # for basic wchar_t support. Don't disable support if they are missing.
76548 # Injection of these is wrapped with guard macros.
76554 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
76556 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76557 echo "$as_me:$LINENO: checking for $ac_func" >&5
76558 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76559 if eval "test \"\${$as_ac_var+set}\" = set"; then
76560 echo $ECHO_N "(cached) $ECHO_C" >&6
76561 else
76562 if test x$gcc_no_link = xyes; then
76563 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76564 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76565 { (exit 1); exit 1; }; }
76567 cat >conftest.$ac_ext <<_ACEOF
76568 /* confdefs.h. */
76569 _ACEOF
76570 cat confdefs.h >>conftest.$ac_ext
76571 cat >>conftest.$ac_ext <<_ACEOF
76572 /* end confdefs.h. */
76573 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76574 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76575 #define $ac_func innocuous_$ac_func
76577 /* System header to define __stub macros and hopefully few prototypes,
76578 which can conflict with char $ac_func (); below.
76579 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76580 <limits.h> exists even on freestanding compilers. */
76582 #ifdef __STDC__
76583 # include <limits.h>
76584 #else
76585 # include <assert.h>
76586 #endif
76588 #undef $ac_func
76590 /* Override any gcc2 internal prototype to avoid an error. */
76591 #ifdef __cplusplus
76592 extern "C"
76594 #endif
76595 /* We use char because int might match the return type of a gcc2
76596 builtin and then its argument prototype would still apply. */
76597 char $ac_func ();
76598 /* The GNU C library defines this for functions which it implements
76599 to always fail with ENOSYS. Some functions are actually named
76600 something starting with __ and the normal name is an alias. */
76601 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76602 choke me
76603 #else
76604 char (*f) () = $ac_func;
76605 #endif
76606 #ifdef __cplusplus
76608 #endif
76611 main ()
76613 return f != $ac_func;
76615 return 0;
76617 _ACEOF
76618 rm -f conftest.$ac_objext conftest$ac_exeext
76619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76620 (eval $ac_link) 2>conftest.er1
76621 ac_status=$?
76622 grep -v '^ *+' conftest.er1 >conftest.err
76623 rm -f conftest.er1
76624 cat conftest.err >&5
76625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76626 (exit $ac_status); } &&
76627 { ac_try='test -z "$ac_c_werror_flag"
76628 || test ! -s conftest.err'
76629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76630 (eval $ac_try) 2>&5
76631 ac_status=$?
76632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76633 (exit $ac_status); }; } &&
76634 { ac_try='test -s conftest$ac_exeext'
76635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76636 (eval $ac_try) 2>&5
76637 ac_status=$?
76638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76639 (exit $ac_status); }; }; then
76640 eval "$as_ac_var=yes"
76641 else
76642 echo "$as_me: failed program was:" >&5
76643 sed 's/^/| /' conftest.$ac_ext >&5
76645 eval "$as_ac_var=no"
76647 rm -f conftest.err conftest.$ac_objext \
76648 conftest$ac_exeext conftest.$ac_ext
76650 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76651 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76652 if test `eval echo '${'$as_ac_var'}'` = yes; then
76653 cat >>confdefs.h <<_ACEOF
76654 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76655 _ACEOF
76658 done
76661 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
76662 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
76663 if test x"$has_weof" = xyes &&
76664 test x"$has_wchar_minmax" = xyes &&
76665 test x"$ac_wfuncs" = xyes;
76666 then
76667 ac_isoC99_wchar_t=yes
76668 else
76669 ac_isoC99_wchar_t=no
76671 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
76672 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
76674 # Use iconv for wchar_t to char conversions. As such, check for
76675 # X/Open Portability Guide, version 2 features (XPG2).
76676 if test "${ac_cv_header_iconv_h+set}" = set; then
76677 echo "$as_me:$LINENO: checking for iconv.h" >&5
76678 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76679 if test "${ac_cv_header_iconv_h+set}" = set; then
76680 echo $ECHO_N "(cached) $ECHO_C" >&6
76682 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76683 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76684 else
76685 # Is the header compilable?
76686 echo "$as_me:$LINENO: checking iconv.h usability" >&5
76687 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
76688 cat >conftest.$ac_ext <<_ACEOF
76689 /* confdefs.h. */
76690 _ACEOF
76691 cat confdefs.h >>conftest.$ac_ext
76692 cat >>conftest.$ac_ext <<_ACEOF
76693 /* end confdefs.h. */
76694 $ac_includes_default
76695 #include <iconv.h>
76696 _ACEOF
76697 rm -f conftest.$ac_objext
76698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76699 (eval $ac_compile) 2>conftest.er1
76700 ac_status=$?
76701 grep -v '^ *+' conftest.er1 >conftest.err
76702 rm -f conftest.er1
76703 cat conftest.err >&5
76704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76705 (exit $ac_status); } &&
76706 { ac_try='test -z "$ac_c_werror_flag"
76707 || test ! -s conftest.err'
76708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76709 (eval $ac_try) 2>&5
76710 ac_status=$?
76711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76712 (exit $ac_status); }; } &&
76713 { ac_try='test -s conftest.$ac_objext'
76714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76715 (eval $ac_try) 2>&5
76716 ac_status=$?
76717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76718 (exit $ac_status); }; }; then
76719 ac_header_compiler=yes
76720 else
76721 echo "$as_me: failed program was:" >&5
76722 sed 's/^/| /' conftest.$ac_ext >&5
76724 ac_header_compiler=no
76726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76727 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76728 echo "${ECHO_T}$ac_header_compiler" >&6
76730 # Is the header present?
76731 echo "$as_me:$LINENO: checking iconv.h presence" >&5
76732 echo $ECHO_N "checking iconv.h presence... $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 #include <iconv.h>
76740 _ACEOF
76741 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76742 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76743 ac_status=$?
76744 grep -v '^ *+' conftest.er1 >conftest.err
76745 rm -f conftest.er1
76746 cat conftest.err >&5
76747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76748 (exit $ac_status); } >/dev/null; then
76749 if test -s conftest.err; then
76750 ac_cpp_err=$ac_c_preproc_warn_flag
76751 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76752 else
76753 ac_cpp_err=
76755 else
76756 ac_cpp_err=yes
76758 if test -z "$ac_cpp_err"; then
76759 ac_header_preproc=yes
76760 else
76761 echo "$as_me: failed program was:" >&5
76762 sed 's/^/| /' conftest.$ac_ext >&5
76764 ac_header_preproc=no
76766 rm -f conftest.err conftest.$ac_ext
76767 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76768 echo "${ECHO_T}$ac_header_preproc" >&6
76770 # So? What about this header?
76771 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76772 yes:no: )
76773 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
76774 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76775 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
76776 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
76777 ac_header_preproc=yes
76779 no:yes:* )
76780 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
76781 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
76782 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
76783 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
76784 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
76785 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
76786 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
76787 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
76788 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
76789 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
76790 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
76791 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
76793 cat <<\_ASBOX
76794 ## ----------------------------------------- ##
76795 ## Report this to the package-unused lists. ##
76796 ## ----------------------------------------- ##
76797 _ASBOX
76799 sed "s/^/$as_me: WARNING: /" >&2
76801 esac
76802 echo "$as_me:$LINENO: checking for iconv.h" >&5
76803 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
76804 if test "${ac_cv_header_iconv_h+set}" = set; then
76805 echo $ECHO_N "(cached) $ECHO_C" >&6
76806 else
76807 ac_cv_header_iconv_h=$ac_header_preproc
76809 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
76810 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
76813 if test $ac_cv_header_iconv_h = yes; then
76814 ac_has_iconv_h=yes
76815 else
76816 ac_has_iconv_h=no
76820 if test "${ac_cv_header_langinfo_h+set}" = set; then
76821 echo "$as_me:$LINENO: checking for langinfo.h" >&5
76822 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76823 if test "${ac_cv_header_langinfo_h+set}" = set; then
76824 echo $ECHO_N "(cached) $ECHO_C" >&6
76826 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76827 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76828 else
76829 # Is the header compilable?
76830 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
76831 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
76832 cat >conftest.$ac_ext <<_ACEOF
76833 /* confdefs.h. */
76834 _ACEOF
76835 cat confdefs.h >>conftest.$ac_ext
76836 cat >>conftest.$ac_ext <<_ACEOF
76837 /* end confdefs.h. */
76838 $ac_includes_default
76839 #include <langinfo.h>
76840 _ACEOF
76841 rm -f conftest.$ac_objext
76842 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76843 (eval $ac_compile) 2>conftest.er1
76844 ac_status=$?
76845 grep -v '^ *+' conftest.er1 >conftest.err
76846 rm -f conftest.er1
76847 cat conftest.err >&5
76848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76849 (exit $ac_status); } &&
76850 { ac_try='test -z "$ac_c_werror_flag"
76851 || test ! -s conftest.err'
76852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76853 (eval $ac_try) 2>&5
76854 ac_status=$?
76855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76856 (exit $ac_status); }; } &&
76857 { ac_try='test -s conftest.$ac_objext'
76858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76859 (eval $ac_try) 2>&5
76860 ac_status=$?
76861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76862 (exit $ac_status); }; }; then
76863 ac_header_compiler=yes
76864 else
76865 echo "$as_me: failed program was:" >&5
76866 sed 's/^/| /' conftest.$ac_ext >&5
76868 ac_header_compiler=no
76870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76871 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
76872 echo "${ECHO_T}$ac_header_compiler" >&6
76874 # Is the header present?
76875 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
76876 echo $ECHO_N "checking langinfo.h presence... $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 #include <langinfo.h>
76884 _ACEOF
76885 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
76886 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
76887 ac_status=$?
76888 grep -v '^ *+' conftest.er1 >conftest.err
76889 rm -f conftest.er1
76890 cat conftest.err >&5
76891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76892 (exit $ac_status); } >/dev/null; then
76893 if test -s conftest.err; then
76894 ac_cpp_err=$ac_c_preproc_warn_flag
76895 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
76896 else
76897 ac_cpp_err=
76899 else
76900 ac_cpp_err=yes
76902 if test -z "$ac_cpp_err"; then
76903 ac_header_preproc=yes
76904 else
76905 echo "$as_me: failed program was:" >&5
76906 sed 's/^/| /' conftest.$ac_ext >&5
76908 ac_header_preproc=no
76910 rm -f conftest.err conftest.$ac_ext
76911 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
76912 echo "${ECHO_T}$ac_header_preproc" >&6
76914 # So? What about this header?
76915 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
76916 yes:no: )
76917 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
76918 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
76919 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
76920 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
76921 ac_header_preproc=yes
76923 no:yes:* )
76924 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
76925 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
76926 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
76927 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
76928 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
76929 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
76930 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
76931 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
76932 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
76933 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
76934 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
76935 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
76937 cat <<\_ASBOX
76938 ## ----------------------------------------- ##
76939 ## Report this to the package-unused lists. ##
76940 ## ----------------------------------------- ##
76941 _ASBOX
76943 sed "s/^/$as_me: WARNING: /" >&2
76945 esac
76946 echo "$as_me:$LINENO: checking for langinfo.h" >&5
76947 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
76948 if test "${ac_cv_header_langinfo_h+set}" = set; then
76949 echo $ECHO_N "(cached) $ECHO_C" >&6
76950 else
76951 ac_cv_header_langinfo_h=$ac_header_preproc
76953 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
76954 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
76957 if test $ac_cv_header_langinfo_h = yes; then
76958 ac_has_langinfo_h=yes
76959 else
76960 ac_has_langinfo_h=no
76965 # Check for existence of libiconv.a providing XPG2 wchar_t support.
76966 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
76967 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
76968 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
76969 echo $ECHO_N "(cached) $ECHO_C" >&6
76970 else
76971 ac_check_lib_save_LIBS=$LIBS
76972 LIBS="-liconv $LIBS"
76973 if test x$gcc_no_link = xyes; then
76974 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76976 { (exit 1); exit 1; }; }
76978 cat >conftest.$ac_ext <<_ACEOF
76979 /* confdefs.h. */
76980 _ACEOF
76981 cat confdefs.h >>conftest.$ac_ext
76982 cat >>conftest.$ac_ext <<_ACEOF
76983 /* end confdefs.h. */
76985 /* Override any gcc2 internal prototype to avoid an error. */
76986 #ifdef __cplusplus
76987 extern "C"
76988 #endif
76989 /* We use char because int might match the return type of a gcc2
76990 builtin and then its argument prototype would still apply. */
76991 char iconv ();
76993 main ()
76995 iconv ();
76997 return 0;
76999 _ACEOF
77000 rm -f conftest.$ac_objext conftest$ac_exeext
77001 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77002 (eval $ac_link) 2>conftest.er1
77003 ac_status=$?
77004 grep -v '^ *+' conftest.er1 >conftest.err
77005 rm -f conftest.er1
77006 cat conftest.err >&5
77007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77008 (exit $ac_status); } &&
77009 { ac_try='test -z "$ac_c_werror_flag"
77010 || test ! -s conftest.err'
77011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77012 (eval $ac_try) 2>&5
77013 ac_status=$?
77014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77015 (exit $ac_status); }; } &&
77016 { ac_try='test -s conftest$ac_exeext'
77017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77018 (eval $ac_try) 2>&5
77019 ac_status=$?
77020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77021 (exit $ac_status); }; }; then
77022 ac_cv_lib_iconv_iconv=yes
77023 else
77024 echo "$as_me: failed program was:" >&5
77025 sed 's/^/| /' conftest.$ac_ext >&5
77027 ac_cv_lib_iconv_iconv=no
77029 rm -f conftest.err conftest.$ac_objext \
77030 conftest$ac_exeext conftest.$ac_ext
77031 LIBS=$ac_check_lib_save_LIBS
77033 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
77034 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
77035 if test $ac_cv_lib_iconv_iconv = yes; then
77036 LIBICONV="-liconv"
77039 ac_save_LIBS="$LIBS"
77040 LIBS="$LIBS $LIBICONV"
77047 for ac_func in iconv_open iconv_close iconv nl_langinfo
77049 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77050 echo "$as_me:$LINENO: checking for $ac_func" >&5
77051 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77052 if eval "test \"\${$as_ac_var+set}\" = set"; then
77053 echo $ECHO_N "(cached) $ECHO_C" >&6
77054 else
77055 if test x$gcc_no_link = xyes; then
77056 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77057 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77058 { (exit 1); exit 1; }; }
77060 cat >conftest.$ac_ext <<_ACEOF
77061 /* confdefs.h. */
77062 _ACEOF
77063 cat confdefs.h >>conftest.$ac_ext
77064 cat >>conftest.$ac_ext <<_ACEOF
77065 /* end confdefs.h. */
77066 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77067 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77068 #define $ac_func innocuous_$ac_func
77070 /* System header to define __stub macros and hopefully few prototypes,
77071 which can conflict with char $ac_func (); below.
77072 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77073 <limits.h> exists even on freestanding compilers. */
77075 #ifdef __STDC__
77076 # include <limits.h>
77077 #else
77078 # include <assert.h>
77079 #endif
77081 #undef $ac_func
77083 /* Override any gcc2 internal prototype to avoid an error. */
77084 #ifdef __cplusplus
77085 extern "C"
77087 #endif
77088 /* We use char because int might match the return type of a gcc2
77089 builtin and then its argument prototype would still apply. */
77090 char $ac_func ();
77091 /* The GNU C library defines this for functions which it implements
77092 to always fail with ENOSYS. Some functions are actually named
77093 something starting with __ and the normal name is an alias. */
77094 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77095 choke me
77096 #else
77097 char (*f) () = $ac_func;
77098 #endif
77099 #ifdef __cplusplus
77101 #endif
77104 main ()
77106 return f != $ac_func;
77108 return 0;
77110 _ACEOF
77111 rm -f conftest.$ac_objext conftest$ac_exeext
77112 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77113 (eval $ac_link) 2>conftest.er1
77114 ac_status=$?
77115 grep -v '^ *+' conftest.er1 >conftest.err
77116 rm -f conftest.er1
77117 cat conftest.err >&5
77118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77119 (exit $ac_status); } &&
77120 { ac_try='test -z "$ac_c_werror_flag"
77121 || test ! -s conftest.err'
77122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77123 (eval $ac_try) 2>&5
77124 ac_status=$?
77125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77126 (exit $ac_status); }; } &&
77127 { ac_try='test -s conftest$ac_exeext'
77128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77129 (eval $ac_try) 2>&5
77130 ac_status=$?
77131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77132 (exit $ac_status); }; }; then
77133 eval "$as_ac_var=yes"
77134 else
77135 echo "$as_me: failed program was:" >&5
77136 sed 's/^/| /' conftest.$ac_ext >&5
77138 eval "$as_ac_var=no"
77140 rm -f conftest.err conftest.$ac_objext \
77141 conftest$ac_exeext conftest.$ac_ext
77143 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77144 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77145 if test `eval echo '${'$as_ac_var'}'` = yes; then
77146 cat >>confdefs.h <<_ACEOF
77147 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77148 _ACEOF
77149 ac_XPG2funcs=yes
77150 else
77151 ac_XPG2funcs=no
77153 done
77156 LIBS="$ac_save_LIBS"
77158 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
77159 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
77160 if test x"$ac_has_iconv_h" = xyes &&
77161 test x"$ac_has_langinfo_h" = xyes &&
77162 test x"$ac_XPG2funcs" = xyes;
77163 then
77164 ac_XPG2_wchar_t=yes
77165 else
77166 ac_XPG2_wchar_t=no
77168 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
77169 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
77171 # At the moment, only enable wchar_t specializations if all the
77172 # above support is present.
77173 if test x"$ac_isoC99_wchar_t" = xyes &&
77174 test x"$ac_XPG2_wchar_t" = xyes;
77175 then
77176 cat >>confdefs.h <<\_ACEOF
77177 #define _GLIBCXX_USE_WCHAR_T 1
77178 _ACEOF
77180 enable_wchar_t=yes
77183 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
77184 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
77185 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
77186 echo "${ECHO_T}$enable_wchar_t" >&6
77188 cat >>confdefs.h <<\_ACEOF
77189 #define HAVE_LC_MESSAGES 1
77190 _ACEOF
77192 cat >>confdefs.h <<\_ACEOF
77193 #define HAVE_GETPAGESIZE 1
77194 _ACEOF
77196 cat >>confdefs.h <<\_ACEOF
77197 #define HAVE_SETENV 1
77198 _ACEOF
77200 cat >>confdefs.h <<\_ACEOF
77201 #define HAVE_SIGSETJMP 1
77202 _ACEOF
77204 cat >>confdefs.h <<\_ACEOF
77205 #define HAVE_COPYSIGN 1
77206 _ACEOF
77208 cat >>confdefs.h <<\_ACEOF
77209 #define HAVE_COPYSIGNF 1
77210 _ACEOF
77212 cat >>confdefs.h <<\_ACEOF
77213 #define HAVE_FINITEF 1
77214 _ACEOF
77216 cat >>confdefs.h <<\_ACEOF
77217 #define HAVE_FINITE 1
77218 _ACEOF
77220 cat >>confdefs.h <<\_ACEOF
77221 #define HAVE_FREXPF 1
77222 _ACEOF
77224 cat >>confdefs.h <<\_ACEOF
77225 #define HAVE_HYPOT 1
77226 _ACEOF
77228 cat >>confdefs.h <<\_ACEOF
77229 #define HAVE_HYPOTF 1
77230 _ACEOF
77232 cat >>confdefs.h <<\_ACEOF
77233 #define HAVE_ISINF 1
77234 _ACEOF
77236 cat >>confdefs.h <<\_ACEOF
77237 #define HAVE_ISNAN 1
77238 _ACEOF
77240 cat >>confdefs.h <<\_ACEOF
77241 #define HAVE_ISNANF 1
77242 _ACEOF
77245 cat >>confdefs.h <<\_ACEOF
77246 #define HAVE_MMAP 1
77247 _ACEOF
77249 cat >>confdefs.h <<\_ACEOF
77250 #define HAVE_ACOSF 1
77251 _ACEOF
77253 cat >>confdefs.h <<\_ACEOF
77254 #define HAVE_ASINF 1
77255 _ACEOF
77257 cat >>confdefs.h <<\_ACEOF
77258 #define HAVE_ATAN2F 1
77259 _ACEOF
77261 cat >>confdefs.h <<\_ACEOF
77262 #define HAVE_ATANF 1
77263 _ACEOF
77265 cat >>confdefs.h <<\_ACEOF
77266 #define HAVE_CEILF 1
77267 _ACEOF
77269 cat >>confdefs.h <<\_ACEOF
77270 #define HAVE_COPYSIGN 1
77271 _ACEOF
77273 cat >>confdefs.h <<\_ACEOF
77274 #define HAVE_COPYSIGNF 1
77275 _ACEOF
77277 cat >>confdefs.h <<\_ACEOF
77278 #define HAVE_COSF 1
77279 _ACEOF
77281 cat >>confdefs.h <<\_ACEOF
77282 #define HAVE_COSHF 1
77283 _ACEOF
77285 cat >>confdefs.h <<\_ACEOF
77286 #define HAVE_EXPF 1
77287 _ACEOF
77289 cat >>confdefs.h <<\_ACEOF
77290 #define HAVE_FABSF 1
77291 _ACEOF
77293 cat >>confdefs.h <<\_ACEOF
77294 #define HAVE_FLOORF 1
77295 _ACEOF
77297 cat >>confdefs.h <<\_ACEOF
77298 #define HAVE_FMODF 1
77299 _ACEOF
77301 cat >>confdefs.h <<\_ACEOF
77302 #define HAVE_FREXPF 1
77303 _ACEOF
77305 cat >>confdefs.h <<\_ACEOF
77306 #define HAVE_LDEXPF 1
77307 _ACEOF
77309 cat >>confdefs.h <<\_ACEOF
77310 #define HAVE_LOG10F 1
77311 _ACEOF
77313 cat >>confdefs.h <<\_ACEOF
77314 #define HAVE_LOGF 1
77315 _ACEOF
77317 cat >>confdefs.h <<\_ACEOF
77318 #define HAVE_MODFF 1
77319 _ACEOF
77321 cat >>confdefs.h <<\_ACEOF
77322 #define HAVE_POWF 1
77323 _ACEOF
77325 cat >>confdefs.h <<\_ACEOF
77326 #define HAVE_SINF 1
77327 _ACEOF
77329 cat >>confdefs.h <<\_ACEOF
77330 #define HAVE_SINHF 1
77331 _ACEOF
77333 cat >>confdefs.h <<\_ACEOF
77334 #define HAVE_SQRTF 1
77335 _ACEOF
77337 cat >>confdefs.h <<\_ACEOF
77338 #define HAVE_TANF 1
77339 _ACEOF
77341 cat >>confdefs.h <<\_ACEOF
77342 #define HAVE_TANHF 1
77343 _ACEOF
77345 if test x"long_double_math_on_this_cpu" = x"yes"; then
77346 cat >>confdefs.h <<\_ACEOF
77347 #define HAVE_FINITEL 1
77348 _ACEOF
77350 cat >>confdefs.h <<\_ACEOF
77351 #define HAVE_ISINFL 1
77352 _ACEOF
77354 cat >>confdefs.h <<\_ACEOF
77355 #define HAVE_ISNANL 1
77356 _ACEOF
77360 *-hpux*)
77373 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
77374 machine/endian.h machine/param.h sys/machine.h sys/types.h \
77375 fp.h locale.h float.h inttypes.h
77377 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
77378 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77379 echo "$as_me:$LINENO: checking for $ac_header" >&5
77380 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77381 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77382 echo $ECHO_N "(cached) $ECHO_C" >&6
77384 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77385 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77386 else
77387 # Is the header compilable?
77388 echo "$as_me:$LINENO: checking $ac_header usability" >&5
77389 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
77390 cat >conftest.$ac_ext <<_ACEOF
77391 /* confdefs.h. */
77392 _ACEOF
77393 cat confdefs.h >>conftest.$ac_ext
77394 cat >>conftest.$ac_ext <<_ACEOF
77395 /* end confdefs.h. */
77396 $ac_includes_default
77397 #include <$ac_header>
77398 _ACEOF
77399 rm -f conftest.$ac_objext
77400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77401 (eval $ac_compile) 2>conftest.er1
77402 ac_status=$?
77403 grep -v '^ *+' conftest.er1 >conftest.err
77404 rm -f conftest.er1
77405 cat conftest.err >&5
77406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77407 (exit $ac_status); } &&
77408 { ac_try='test -z "$ac_c_werror_flag"
77409 || test ! -s conftest.err'
77410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77411 (eval $ac_try) 2>&5
77412 ac_status=$?
77413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77414 (exit $ac_status); }; } &&
77415 { ac_try='test -s conftest.$ac_objext'
77416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77417 (eval $ac_try) 2>&5
77418 ac_status=$?
77419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77420 (exit $ac_status); }; }; then
77421 ac_header_compiler=yes
77422 else
77423 echo "$as_me: failed program was:" >&5
77424 sed 's/^/| /' conftest.$ac_ext >&5
77426 ac_header_compiler=no
77428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77429 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
77430 echo "${ECHO_T}$ac_header_compiler" >&6
77432 # Is the header present?
77433 echo "$as_me:$LINENO: checking $ac_header presence" >&5
77434 echo $ECHO_N "checking $ac_header presence... $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 #include <$ac_header>
77442 _ACEOF
77443 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
77444 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
77445 ac_status=$?
77446 grep -v '^ *+' conftest.er1 >conftest.err
77447 rm -f conftest.er1
77448 cat conftest.err >&5
77449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77450 (exit $ac_status); } >/dev/null; then
77451 if test -s conftest.err; then
77452 ac_cpp_err=$ac_c_preproc_warn_flag
77453 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
77454 else
77455 ac_cpp_err=
77457 else
77458 ac_cpp_err=yes
77460 if test -z "$ac_cpp_err"; then
77461 ac_header_preproc=yes
77462 else
77463 echo "$as_me: failed program was:" >&5
77464 sed 's/^/| /' conftest.$ac_ext >&5
77466 ac_header_preproc=no
77468 rm -f conftest.err conftest.$ac_ext
77469 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
77470 echo "${ECHO_T}$ac_header_preproc" >&6
77472 # So? What about this header?
77473 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
77474 yes:no: )
77475 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
77476 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
77477 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
77478 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
77479 ac_header_preproc=yes
77481 no:yes:* )
77482 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
77483 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
77484 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
77485 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
77486 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
77487 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
77488 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
77489 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
77490 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
77491 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
77492 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
77493 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
77495 cat <<\_ASBOX
77496 ## ----------------------------------------- ##
77497 ## Report this to the package-unused lists. ##
77498 ## ----------------------------------------- ##
77499 _ASBOX
77501 sed "s/^/$as_me: WARNING: /" >&2
77503 esac
77504 echo "$as_me:$LINENO: checking for $ac_header" >&5
77505 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
77506 if eval "test \"\${$as_ac_Header+set}\" = set"; then
77507 echo $ECHO_N "(cached) $ECHO_C" >&6
77508 else
77509 eval "$as_ac_Header=\$ac_header_preproc"
77511 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
77512 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
77515 if test `eval echo '${'$as_ac_Header'}'` = yes; then
77516 cat >>confdefs.h <<_ACEOF
77517 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
77518 _ACEOF
77522 done
77524 SECTION_FLAGS='-ffunction-sections -fdata-sections'
77527 # If we're not using GNU ld, then there's no point in even trying these
77528 # tests. Check for that first. We should have already tested for gld
77529 # by now (in libtool), but require it now just to be safe...
77530 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
77531 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
77535 # The name set by libtool depends on the version of libtool. Shame on us
77536 # for depending on an impl detail, but c'est la vie. Older versions used
77537 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
77538 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
77539 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
77540 # set (hence we're using an older libtool), then set it.
77541 if test x${with_gnu_ld+set} != xset; then
77542 if test x${ac_cv_prog_gnu_ld+set} != xset; then
77543 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
77544 with_gnu_ld=no
77545 else
77546 with_gnu_ld=$ac_cv_prog_gnu_ld
77550 # Start by getting the version number. I think the libtool test already
77551 # does some of this, but throws away the result.
77553 ldver=`$LD --version 2>/dev/null | head -1 | \
77554 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
77556 glibcxx_gnu_ld_version=`echo $ldver | \
77557 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
77559 # Set --gc-sections.
77560 if test "$with_gnu_ld" = "notbroken"; then
77561 # GNU ld it is! Joy and bunny rabbits!
77563 # All these tests are for C++; save the language and the compiler flags.
77564 # Need to do this so that g++ won't try to link in libstdc++
77565 ac_test_CFLAGS="${CFLAGS+set}"
77566 ac_save_CFLAGS="$CFLAGS"
77567 CFLAGS='-x c++ -Wl,--gc-sections'
77569 # Check for -Wl,--gc-sections
77570 # XXX This test is broken at the moment, as symbols required for linking
77571 # are now in libsupc++ (not built yet). In addition, this test has
77572 # cored on solaris in the past. In addition, --gc-sections doesn't
77573 # really work at the moment (keeps on discarding used sections, first
77574 # .eh_frame and now some of the glibc sections for iconv).
77575 # Bzzzzt. Thanks for playing, maybe next time.
77576 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
77577 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
77578 if test "$cross_compiling" = yes; then
77579 ac_sectionLDflags=yes
77580 else
77581 cat >conftest.$ac_ext <<_ACEOF
77582 /* confdefs.h. */
77583 _ACEOF
77584 cat confdefs.h >>conftest.$ac_ext
77585 cat >>conftest.$ac_ext <<_ACEOF
77586 /* end confdefs.h. */
77588 int main(void)
77590 try { throw 1; }
77591 catch (...) { };
77592 return 0;
77595 _ACEOF
77596 rm -f conftest$ac_exeext
77597 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77598 (eval $ac_link) 2>&5
77599 ac_status=$?
77600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77601 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
77602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77603 (eval $ac_try) 2>&5
77604 ac_status=$?
77605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77606 (exit $ac_status); }; }; then
77607 ac_sectionLDflags=yes
77608 else
77609 echo "$as_me: program exited with status $ac_status" >&5
77610 echo "$as_me: failed program was:" >&5
77611 sed 's/^/| /' conftest.$ac_ext >&5
77613 ( exit $ac_status )
77614 ac_sectionLDflags=no
77616 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
77618 if test "$ac_test_CFLAGS" = set; then
77619 CFLAGS="$ac_save_CFLAGS"
77620 else
77621 # this is the suspicious part
77622 CFLAGS=''
77624 if test "$ac_sectionLDflags" = "yes"; then
77625 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
77627 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
77628 echo "${ECHO_T}$ac_sectionLDflags" >&6
77631 # Set linker optimization flags.
77632 if test x"$with_gnu_ld" = x"yes"; then
77633 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
77641 echo "$as_me:$LINENO: checking for main in -lm" >&5
77642 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
77643 if test "${ac_cv_lib_m_main+set}" = set; then
77644 echo $ECHO_N "(cached) $ECHO_C" >&6
77645 else
77646 ac_check_lib_save_LIBS=$LIBS
77647 LIBS="-lm $LIBS"
77648 if test x$gcc_no_link = xyes; then
77649 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77650 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77651 { (exit 1); exit 1; }; }
77653 cat >conftest.$ac_ext <<_ACEOF
77654 /* confdefs.h. */
77655 _ACEOF
77656 cat confdefs.h >>conftest.$ac_ext
77657 cat >>conftest.$ac_ext <<_ACEOF
77658 /* end confdefs.h. */
77662 main ()
77664 main ();
77666 return 0;
77668 _ACEOF
77669 rm -f conftest.$ac_objext conftest$ac_exeext
77670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77671 (eval $ac_link) 2>conftest.er1
77672 ac_status=$?
77673 grep -v '^ *+' conftest.er1 >conftest.err
77674 rm -f conftest.er1
77675 cat conftest.err >&5
77676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77677 (exit $ac_status); } &&
77678 { ac_try='test -z "$ac_c_werror_flag"
77679 || test ! -s conftest.err'
77680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77681 (eval $ac_try) 2>&5
77682 ac_status=$?
77683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77684 (exit $ac_status); }; } &&
77685 { ac_try='test -s conftest$ac_exeext'
77686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77687 (eval $ac_try) 2>&5
77688 ac_status=$?
77689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77690 (exit $ac_status); }; }; then
77691 ac_cv_lib_m_main=yes
77692 else
77693 echo "$as_me: failed program was:" >&5
77694 sed 's/^/| /' conftest.$ac_ext >&5
77696 ac_cv_lib_m_main=no
77698 rm -f conftest.err conftest.$ac_objext \
77699 conftest$ac_exeext conftest.$ac_ext
77700 LIBS=$ac_check_lib_save_LIBS
77702 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
77703 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
77704 if test $ac_cv_lib_m_main = yes; then
77705 cat >>confdefs.h <<_ACEOF
77706 #define HAVE_LIBM 1
77707 _ACEOF
77709 LIBS="-lm $LIBS"
77714 for ac_func in copysignf
77716 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77717 echo "$as_me:$LINENO: checking for $ac_func" >&5
77718 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77719 if eval "test \"\${$as_ac_var+set}\" = set"; then
77720 echo $ECHO_N "(cached) $ECHO_C" >&6
77721 else
77722 if test x$gcc_no_link = xyes; then
77723 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77724 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77725 { (exit 1); exit 1; }; }
77727 cat >conftest.$ac_ext <<_ACEOF
77728 /* confdefs.h. */
77729 _ACEOF
77730 cat confdefs.h >>conftest.$ac_ext
77731 cat >>conftest.$ac_ext <<_ACEOF
77732 /* end confdefs.h. */
77733 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77734 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77735 #define $ac_func innocuous_$ac_func
77737 /* System header to define __stub macros and hopefully few prototypes,
77738 which can conflict with char $ac_func (); below.
77739 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77740 <limits.h> exists even on freestanding compilers. */
77742 #ifdef __STDC__
77743 # include <limits.h>
77744 #else
77745 # include <assert.h>
77746 #endif
77748 #undef $ac_func
77750 /* Override any gcc2 internal prototype to avoid an error. */
77751 #ifdef __cplusplus
77752 extern "C"
77754 #endif
77755 /* We use char because int might match the return type of a gcc2
77756 builtin and then its argument prototype would still apply. */
77757 char $ac_func ();
77758 /* The GNU C library defines this for functions which it implements
77759 to always fail with ENOSYS. Some functions are actually named
77760 something starting with __ and the normal name is an alias. */
77761 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77762 choke me
77763 #else
77764 char (*f) () = $ac_func;
77765 #endif
77766 #ifdef __cplusplus
77768 #endif
77771 main ()
77773 return f != $ac_func;
77775 return 0;
77777 _ACEOF
77778 rm -f conftest.$ac_objext conftest$ac_exeext
77779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77780 (eval $ac_link) 2>conftest.er1
77781 ac_status=$?
77782 grep -v '^ *+' conftest.er1 >conftest.err
77783 rm -f conftest.er1
77784 cat conftest.err >&5
77785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77786 (exit $ac_status); } &&
77787 { ac_try='test -z "$ac_c_werror_flag"
77788 || test ! -s conftest.err'
77789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77790 (eval $ac_try) 2>&5
77791 ac_status=$?
77792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77793 (exit $ac_status); }; } &&
77794 { ac_try='test -s conftest$ac_exeext'
77795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77796 (eval $ac_try) 2>&5
77797 ac_status=$?
77798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77799 (exit $ac_status); }; }; then
77800 eval "$as_ac_var=yes"
77801 else
77802 echo "$as_me: failed program was:" >&5
77803 sed 's/^/| /' conftest.$ac_ext >&5
77805 eval "$as_ac_var=no"
77807 rm -f conftest.err conftest.$ac_objext \
77808 conftest$ac_exeext conftest.$ac_ext
77810 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77811 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77812 if test `eval echo '${'$as_ac_var'}'` = yes; then
77813 cat >>confdefs.h <<_ACEOF
77814 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77815 _ACEOF
77817 else
77818 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
77820 done
77824 for ac_func in __signbit
77826 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77827 echo "$as_me:$LINENO: checking for $ac_func" >&5
77828 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77829 if eval "test \"\${$as_ac_var+set}\" = set"; then
77830 echo $ECHO_N "(cached) $ECHO_C" >&6
77831 else
77832 if test x$gcc_no_link = xyes; then
77833 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77834 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77835 { (exit 1); exit 1; }; }
77837 cat >conftest.$ac_ext <<_ACEOF
77838 /* confdefs.h. */
77839 _ACEOF
77840 cat confdefs.h >>conftest.$ac_ext
77841 cat >>conftest.$ac_ext <<_ACEOF
77842 /* end confdefs.h. */
77843 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77844 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77845 #define $ac_func innocuous_$ac_func
77847 /* System header to define __stub macros and hopefully few prototypes,
77848 which can conflict with char $ac_func (); below.
77849 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77850 <limits.h> exists even on freestanding compilers. */
77852 #ifdef __STDC__
77853 # include <limits.h>
77854 #else
77855 # include <assert.h>
77856 #endif
77858 #undef $ac_func
77860 /* Override any gcc2 internal prototype to avoid an error. */
77861 #ifdef __cplusplus
77862 extern "C"
77864 #endif
77865 /* We use char because int might match the return type of a gcc2
77866 builtin and then its argument prototype would still apply. */
77867 char $ac_func ();
77868 /* The GNU C library defines this for functions which it implements
77869 to always fail with ENOSYS. Some functions are actually named
77870 something starting with __ and the normal name is an alias. */
77871 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77872 choke me
77873 #else
77874 char (*f) () = $ac_func;
77875 #endif
77876 #ifdef __cplusplus
77878 #endif
77881 main ()
77883 return f != $ac_func;
77885 return 0;
77887 _ACEOF
77888 rm -f conftest.$ac_objext conftest$ac_exeext
77889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77890 (eval $ac_link) 2>conftest.er1
77891 ac_status=$?
77892 grep -v '^ *+' conftest.er1 >conftest.err
77893 rm -f conftest.er1
77894 cat conftest.err >&5
77895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77896 (exit $ac_status); } &&
77897 { ac_try='test -z "$ac_c_werror_flag"
77898 || test ! -s conftest.err'
77899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77900 (eval $ac_try) 2>&5
77901 ac_status=$?
77902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77903 (exit $ac_status); }; } &&
77904 { ac_try='test -s conftest$ac_exeext'
77905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77906 (eval $ac_try) 2>&5
77907 ac_status=$?
77908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77909 (exit $ac_status); }; }; then
77910 eval "$as_ac_var=yes"
77911 else
77912 echo "$as_me: failed program was:" >&5
77913 sed 's/^/| /' conftest.$ac_ext >&5
77915 eval "$as_ac_var=no"
77917 rm -f conftest.err conftest.$ac_objext \
77918 conftest$ac_exeext conftest.$ac_ext
77920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77921 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77922 if test `eval echo '${'$as_ac_var'}'` = yes; then
77923 cat >>confdefs.h <<_ACEOF
77924 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77925 _ACEOF
77927 else
77928 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
77930 done
77934 for ac_func in __signbitf
77936 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77937 echo "$as_me:$LINENO: checking for $ac_func" >&5
77938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77939 if eval "test \"\${$as_ac_var+set}\" = set"; then
77940 echo $ECHO_N "(cached) $ECHO_C" >&6
77941 else
77942 if test x$gcc_no_link = xyes; then
77943 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77944 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77945 { (exit 1); exit 1; }; }
77947 cat >conftest.$ac_ext <<_ACEOF
77948 /* confdefs.h. */
77949 _ACEOF
77950 cat confdefs.h >>conftest.$ac_ext
77951 cat >>conftest.$ac_ext <<_ACEOF
77952 /* end confdefs.h. */
77953 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77954 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77955 #define $ac_func innocuous_$ac_func
77957 /* System header to define __stub macros and hopefully few prototypes,
77958 which can conflict with char $ac_func (); below.
77959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77960 <limits.h> exists even on freestanding compilers. */
77962 #ifdef __STDC__
77963 # include <limits.h>
77964 #else
77965 # include <assert.h>
77966 #endif
77968 #undef $ac_func
77970 /* Override any gcc2 internal prototype to avoid an error. */
77971 #ifdef __cplusplus
77972 extern "C"
77974 #endif
77975 /* We use char because int might match the return type of a gcc2
77976 builtin and then its argument prototype would still apply. */
77977 char $ac_func ();
77978 /* The GNU C library defines this for functions which it implements
77979 to always fail with ENOSYS. Some functions are actually named
77980 something starting with __ and the normal name is an alias. */
77981 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77982 choke me
77983 #else
77984 char (*f) () = $ac_func;
77985 #endif
77986 #ifdef __cplusplus
77988 #endif
77991 main ()
77993 return f != $ac_func;
77995 return 0;
77997 _ACEOF
77998 rm -f conftest.$ac_objext conftest$ac_exeext
77999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78000 (eval $ac_link) 2>conftest.er1
78001 ac_status=$?
78002 grep -v '^ *+' conftest.er1 >conftest.err
78003 rm -f conftest.er1
78004 cat conftest.err >&5
78005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78006 (exit $ac_status); } &&
78007 { ac_try='test -z "$ac_c_werror_flag"
78008 || test ! -s conftest.err'
78009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78010 (eval $ac_try) 2>&5
78011 ac_status=$?
78012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78013 (exit $ac_status); }; } &&
78014 { ac_try='test -s conftest$ac_exeext'
78015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78016 (eval $ac_try) 2>&5
78017 ac_status=$?
78018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78019 (exit $ac_status); }; }; then
78020 eval "$as_ac_var=yes"
78021 else
78022 echo "$as_me: failed program was:" >&5
78023 sed 's/^/| /' conftest.$ac_ext >&5
78025 eval "$as_ac_var=no"
78027 rm -f conftest.err conftest.$ac_objext \
78028 conftest$ac_exeext conftest.$ac_ext
78030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78031 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78032 if test `eval echo '${'$as_ac_var'}'` = yes; then
78033 cat >>confdefs.h <<_ACEOF
78034 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78035 _ACEOF
78037 else
78038 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
78040 done
78043 if test x$ac_cv_func_copysignl = x"yes"; then
78045 for ac_func in __signbitl
78047 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78048 echo "$as_me:$LINENO: checking for $ac_func" >&5
78049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78050 if eval "test \"\${$as_ac_var+set}\" = set"; then
78051 echo $ECHO_N "(cached) $ECHO_C" >&6
78052 else
78053 if test x$gcc_no_link = xyes; then
78054 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78056 { (exit 1); exit 1; }; }
78058 cat >conftest.$ac_ext <<_ACEOF
78059 /* confdefs.h. */
78060 _ACEOF
78061 cat confdefs.h >>conftest.$ac_ext
78062 cat >>conftest.$ac_ext <<_ACEOF
78063 /* end confdefs.h. */
78064 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78065 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78066 #define $ac_func innocuous_$ac_func
78068 /* System header to define __stub macros and hopefully few prototypes,
78069 which can conflict with char $ac_func (); below.
78070 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78071 <limits.h> exists even on freestanding compilers. */
78073 #ifdef __STDC__
78074 # include <limits.h>
78075 #else
78076 # include <assert.h>
78077 #endif
78079 #undef $ac_func
78081 /* Override any gcc2 internal prototype to avoid an error. */
78082 #ifdef __cplusplus
78083 extern "C"
78085 #endif
78086 /* We use char because int might match the return type of a gcc2
78087 builtin and then its argument prototype would still apply. */
78088 char $ac_func ();
78089 /* The GNU C library defines this for functions which it implements
78090 to always fail with ENOSYS. Some functions are actually named
78091 something starting with __ and the normal name is an alias. */
78092 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78093 choke me
78094 #else
78095 char (*f) () = $ac_func;
78096 #endif
78097 #ifdef __cplusplus
78099 #endif
78102 main ()
78104 return f != $ac_func;
78106 return 0;
78108 _ACEOF
78109 rm -f conftest.$ac_objext conftest$ac_exeext
78110 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78111 (eval $ac_link) 2>conftest.er1
78112 ac_status=$?
78113 grep -v '^ *+' conftest.er1 >conftest.err
78114 rm -f conftest.er1
78115 cat conftest.err >&5
78116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78117 (exit $ac_status); } &&
78118 { ac_try='test -z "$ac_c_werror_flag"
78119 || test ! -s conftest.err'
78120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78121 (eval $ac_try) 2>&5
78122 ac_status=$?
78123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78124 (exit $ac_status); }; } &&
78125 { ac_try='test -s conftest$ac_exeext'
78126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78127 (eval $ac_try) 2>&5
78128 ac_status=$?
78129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78130 (exit $ac_status); }; }; then
78131 eval "$as_ac_var=yes"
78132 else
78133 echo "$as_me: failed program was:" >&5
78134 sed 's/^/| /' conftest.$ac_ext >&5
78136 eval "$as_ac_var=no"
78138 rm -f conftest.err conftest.$ac_objext \
78139 conftest$ac_exeext conftest.$ac_ext
78141 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78142 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78143 if test `eval echo '${'$as_ac_var'}'` = yes; then
78144 cat >>confdefs.h <<_ACEOF
78145 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78146 _ACEOF
78148 else
78149 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
78151 done
78155 # Used in libmath/Makefile.am.
78156 if test -n "$LIBMATHOBJS"; then
78157 need_libmath=yes
78162 # Test wchar.h for mbstate_t, which is needed for char_traits and
78163 # others even if wchar_t support is not on.
78164 echo "$as_me:$LINENO: checking for mbstate_t" >&5
78165 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
78166 cat >conftest.$ac_ext <<_ACEOF
78167 /* confdefs.h. */
78168 _ACEOF
78169 cat confdefs.h >>conftest.$ac_ext
78170 cat >>conftest.$ac_ext <<_ACEOF
78171 /* end confdefs.h. */
78172 #include <wchar.h>
78174 main ()
78176 mbstate_t teststate;
78178 return 0;
78180 _ACEOF
78181 rm -f conftest.$ac_objext
78182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78183 (eval $ac_compile) 2>conftest.er1
78184 ac_status=$?
78185 grep -v '^ *+' conftest.er1 >conftest.err
78186 rm -f conftest.er1
78187 cat conftest.err >&5
78188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78189 (exit $ac_status); } &&
78190 { ac_try='test -z "$ac_c_werror_flag"
78191 || test ! -s conftest.err'
78192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78193 (eval $ac_try) 2>&5
78194 ac_status=$?
78195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78196 (exit $ac_status); }; } &&
78197 { ac_try='test -s conftest.$ac_objext'
78198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78199 (eval $ac_try) 2>&5
78200 ac_status=$?
78201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78202 (exit $ac_status); }; }; then
78203 have_mbstate_t=yes
78204 else
78205 echo "$as_me: failed program was:" >&5
78206 sed 's/^/| /' conftest.$ac_ext >&5
78208 have_mbstate_t=no
78210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78211 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
78212 echo "${ECHO_T}$have_mbstate_t" >&6
78213 if test x"$have_mbstate_t" = xyes; then
78214 cat >>confdefs.h <<\_ACEOF
78215 #define HAVE_MBSTATE_T 1
78216 _ACEOF
78220 # Sanity check for existence of ISO C99 headers for extended encoding.
78222 for ac_header in wchar.h
78224 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78225 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78226 echo "$as_me:$LINENO: checking for $ac_header" >&5
78227 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78228 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78229 echo $ECHO_N "(cached) $ECHO_C" >&6
78231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78232 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78233 else
78234 # Is the header compilable?
78235 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78236 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78237 cat >conftest.$ac_ext <<_ACEOF
78238 /* confdefs.h. */
78239 _ACEOF
78240 cat confdefs.h >>conftest.$ac_ext
78241 cat >>conftest.$ac_ext <<_ACEOF
78242 /* end confdefs.h. */
78243 $ac_includes_default
78244 #include <$ac_header>
78245 _ACEOF
78246 rm -f conftest.$ac_objext
78247 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78248 (eval $ac_compile) 2>conftest.er1
78249 ac_status=$?
78250 grep -v '^ *+' conftest.er1 >conftest.err
78251 rm -f conftest.er1
78252 cat conftest.err >&5
78253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78254 (exit $ac_status); } &&
78255 { ac_try='test -z "$ac_c_werror_flag"
78256 || test ! -s conftest.err'
78257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78258 (eval $ac_try) 2>&5
78259 ac_status=$?
78260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78261 (exit $ac_status); }; } &&
78262 { ac_try='test -s conftest.$ac_objext'
78263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78264 (eval $ac_try) 2>&5
78265 ac_status=$?
78266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78267 (exit $ac_status); }; }; then
78268 ac_header_compiler=yes
78269 else
78270 echo "$as_me: failed program was:" >&5
78271 sed 's/^/| /' conftest.$ac_ext >&5
78273 ac_header_compiler=no
78275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78276 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78277 echo "${ECHO_T}$ac_header_compiler" >&6
78279 # Is the header present?
78280 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78281 echo $ECHO_N "checking $ac_header presence... $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 #include <$ac_header>
78289 _ACEOF
78290 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78291 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78292 ac_status=$?
78293 grep -v '^ *+' conftest.er1 >conftest.err
78294 rm -f conftest.er1
78295 cat conftest.err >&5
78296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78297 (exit $ac_status); } >/dev/null; then
78298 if test -s conftest.err; then
78299 ac_cpp_err=$ac_c_preproc_warn_flag
78300 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78301 else
78302 ac_cpp_err=
78304 else
78305 ac_cpp_err=yes
78307 if test -z "$ac_cpp_err"; then
78308 ac_header_preproc=yes
78309 else
78310 echo "$as_me: failed program was:" >&5
78311 sed 's/^/| /' conftest.$ac_ext >&5
78313 ac_header_preproc=no
78315 rm -f conftest.err conftest.$ac_ext
78316 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78317 echo "${ECHO_T}$ac_header_preproc" >&6
78319 # So? What about this header?
78320 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78321 yes:no: )
78322 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78323 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78324 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78325 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78326 ac_header_preproc=yes
78328 no:yes:* )
78329 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78330 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78331 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
78332 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
78333 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78334 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78335 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
78336 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
78337 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78338 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78339 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78340 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78342 cat <<\_ASBOX
78343 ## ----------------------------------------- ##
78344 ## Report this to the package-unused lists. ##
78345 ## ----------------------------------------- ##
78346 _ASBOX
78348 sed "s/^/$as_me: WARNING: /" >&2
78350 esac
78351 echo "$as_me:$LINENO: checking for $ac_header" >&5
78352 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78353 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78354 echo $ECHO_N "(cached) $ECHO_C" >&6
78355 else
78356 eval "$as_ac_Header=\$ac_header_preproc"
78358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78359 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78362 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78363 cat >>confdefs.h <<_ACEOF
78364 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78365 _ACEOF
78366 ac_has_wchar_h=yes
78367 else
78368 ac_has_wchar_h=no
78371 done
78374 for ac_header in wctype.h
78376 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
78377 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78378 echo "$as_me:$LINENO: checking for $ac_header" >&5
78379 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78380 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78381 echo $ECHO_N "(cached) $ECHO_C" >&6
78383 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78384 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78385 else
78386 # Is the header compilable?
78387 echo "$as_me:$LINENO: checking $ac_header usability" >&5
78388 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
78389 cat >conftest.$ac_ext <<_ACEOF
78390 /* confdefs.h. */
78391 _ACEOF
78392 cat confdefs.h >>conftest.$ac_ext
78393 cat >>conftest.$ac_ext <<_ACEOF
78394 /* end confdefs.h. */
78395 $ac_includes_default
78396 #include <$ac_header>
78397 _ACEOF
78398 rm -f conftest.$ac_objext
78399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78400 (eval $ac_compile) 2>conftest.er1
78401 ac_status=$?
78402 grep -v '^ *+' conftest.er1 >conftest.err
78403 rm -f conftest.er1
78404 cat conftest.err >&5
78405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78406 (exit $ac_status); } &&
78407 { ac_try='test -z "$ac_c_werror_flag"
78408 || test ! -s conftest.err'
78409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78410 (eval $ac_try) 2>&5
78411 ac_status=$?
78412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78413 (exit $ac_status); }; } &&
78414 { ac_try='test -s conftest.$ac_objext'
78415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78416 (eval $ac_try) 2>&5
78417 ac_status=$?
78418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78419 (exit $ac_status); }; }; then
78420 ac_header_compiler=yes
78421 else
78422 echo "$as_me: failed program was:" >&5
78423 sed 's/^/| /' conftest.$ac_ext >&5
78425 ac_header_compiler=no
78427 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78428 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
78429 echo "${ECHO_T}$ac_header_compiler" >&6
78431 # Is the header present?
78432 echo "$as_me:$LINENO: checking $ac_header presence" >&5
78433 echo $ECHO_N "checking $ac_header presence... $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 #include <$ac_header>
78441 _ACEOF
78442 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
78443 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
78444 ac_status=$?
78445 grep -v '^ *+' conftest.er1 >conftest.err
78446 rm -f conftest.er1
78447 cat conftest.err >&5
78448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78449 (exit $ac_status); } >/dev/null; then
78450 if test -s conftest.err; then
78451 ac_cpp_err=$ac_c_preproc_warn_flag
78452 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
78453 else
78454 ac_cpp_err=
78456 else
78457 ac_cpp_err=yes
78459 if test -z "$ac_cpp_err"; then
78460 ac_header_preproc=yes
78461 else
78462 echo "$as_me: failed program was:" >&5
78463 sed 's/^/| /' conftest.$ac_ext >&5
78465 ac_header_preproc=no
78467 rm -f conftest.err conftest.$ac_ext
78468 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
78469 echo "${ECHO_T}$ac_header_preproc" >&6
78471 # So? What about this header?
78472 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
78473 yes:no: )
78474 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
78475 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
78476 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
78477 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
78478 ac_header_preproc=yes
78480 no:yes:* )
78481 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
78482 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
78483 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
78484 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
78485 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
78486 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
78487 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
78488 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
78489 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
78490 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
78491 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
78492 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
78494 cat <<\_ASBOX
78495 ## ----------------------------------------- ##
78496 ## Report this to the package-unused lists. ##
78497 ## ----------------------------------------- ##
78498 _ASBOX
78500 sed "s/^/$as_me: WARNING: /" >&2
78502 esac
78503 echo "$as_me:$LINENO: checking for $ac_header" >&5
78504 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
78505 if eval "test \"\${$as_ac_Header+set}\" = set"; then
78506 echo $ECHO_N "(cached) $ECHO_C" >&6
78507 else
78508 eval "$as_ac_Header=\$ac_header_preproc"
78510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
78511 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
78514 if test `eval echo '${'$as_ac_Header'}'` = yes; then
78515 cat >>confdefs.h <<_ACEOF
78516 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
78517 _ACEOF
78518 ac_has_wctype_h=yes
78519 else
78520 ac_has_wctype_h=no
78523 done
78526 # Only continue checking if the ISO C99 headers exist and support is on.
78527 if test x"$ac_has_wchar_h" = xyes &&
78528 test x"$ac_has_wctype_h" = xyes &&
78529 test x"$enable_c_mbchar" != xno; then
78531 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
78532 # numeric_limits can instantiate type_traits<wchar_t>
78533 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
78534 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
78535 cat >conftest.$ac_ext <<_ACEOF
78536 /* confdefs.h. */
78537 _ACEOF
78538 cat confdefs.h >>conftest.$ac_ext
78539 cat >>conftest.$ac_ext <<_ACEOF
78540 /* end confdefs.h. */
78541 #include <wchar.h>
78543 main ()
78545 int i = WCHAR_MIN; int j = WCHAR_MAX;
78547 return 0;
78549 _ACEOF
78550 rm -f conftest.$ac_objext
78551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78552 (eval $ac_compile) 2>conftest.er1
78553 ac_status=$?
78554 grep -v '^ *+' conftest.er1 >conftest.err
78555 rm -f conftest.er1
78556 cat conftest.err >&5
78557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78558 (exit $ac_status); } &&
78559 { ac_try='test -z "$ac_c_werror_flag"
78560 || test ! -s conftest.err'
78561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78562 (eval $ac_try) 2>&5
78563 ac_status=$?
78564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78565 (exit $ac_status); }; } &&
78566 { ac_try='test -s conftest.$ac_objext'
78567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78568 (eval $ac_try) 2>&5
78569 ac_status=$?
78570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78571 (exit $ac_status); }; }; then
78572 has_wchar_minmax=yes
78573 else
78574 echo "$as_me: failed program was:" >&5
78575 sed 's/^/| /' conftest.$ac_ext >&5
78577 has_wchar_minmax=no
78579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78580 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
78581 echo "${ECHO_T}$has_wchar_minmax" >&6
78583 # Test wchar.h for WEOF, which is what we use to determine whether
78584 # to specialize for char_traits<wchar_t> or not.
78585 echo "$as_me:$LINENO: checking for WEOF" >&5
78586 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
78587 cat >conftest.$ac_ext <<_ACEOF
78588 /* confdefs.h. */
78589 _ACEOF
78590 cat confdefs.h >>conftest.$ac_ext
78591 cat >>conftest.$ac_ext <<_ACEOF
78592 /* end confdefs.h. */
78594 #include <wchar.h>
78595 #include <stddef.h>
78597 main ()
78599 wint_t i = WEOF;
78601 return 0;
78603 _ACEOF
78604 rm -f conftest.$ac_objext
78605 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78606 (eval $ac_compile) 2>conftest.er1
78607 ac_status=$?
78608 grep -v '^ *+' conftest.er1 >conftest.err
78609 rm -f conftest.er1
78610 cat conftest.err >&5
78611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78612 (exit $ac_status); } &&
78613 { ac_try='test -z "$ac_c_werror_flag"
78614 || test ! -s conftest.err'
78615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78616 (eval $ac_try) 2>&5
78617 ac_status=$?
78618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78619 (exit $ac_status); }; } &&
78620 { ac_try='test -s conftest.$ac_objext'
78621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78622 (eval $ac_try) 2>&5
78623 ac_status=$?
78624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78625 (exit $ac_status); }; }; then
78626 has_weof=yes
78627 else
78628 echo "$as_me: failed program was:" >&5
78629 sed 's/^/| /' conftest.$ac_ext >&5
78631 has_weof=no
78633 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78634 echo "$as_me:$LINENO: result: $has_weof" >&5
78635 echo "${ECHO_T}$has_weof" >&6
78637 # Tests for wide character functions used in char_traits<wchar_t>.
78638 ac_wfuncs=yes
78645 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
78647 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78648 echo "$as_me:$LINENO: checking for $ac_func" >&5
78649 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78650 if eval "test \"\${$as_ac_var+set}\" = set"; then
78651 echo $ECHO_N "(cached) $ECHO_C" >&6
78652 else
78653 if test x$gcc_no_link = xyes; then
78654 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78655 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78656 { (exit 1); exit 1; }; }
78658 cat >conftest.$ac_ext <<_ACEOF
78659 /* confdefs.h. */
78660 _ACEOF
78661 cat confdefs.h >>conftest.$ac_ext
78662 cat >>conftest.$ac_ext <<_ACEOF
78663 /* end confdefs.h. */
78664 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78665 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78666 #define $ac_func innocuous_$ac_func
78668 /* System header to define __stub macros and hopefully few prototypes,
78669 which can conflict with char $ac_func (); below.
78670 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78671 <limits.h> exists even on freestanding compilers. */
78673 #ifdef __STDC__
78674 # include <limits.h>
78675 #else
78676 # include <assert.h>
78677 #endif
78679 #undef $ac_func
78681 /* Override any gcc2 internal prototype to avoid an error. */
78682 #ifdef __cplusplus
78683 extern "C"
78685 #endif
78686 /* We use char because int might match the return type of a gcc2
78687 builtin and then its argument prototype would still apply. */
78688 char $ac_func ();
78689 /* The GNU C library defines this for functions which it implements
78690 to always fail with ENOSYS. Some functions are actually named
78691 something starting with __ and the normal name is an alias. */
78692 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78693 choke me
78694 #else
78695 char (*f) () = $ac_func;
78696 #endif
78697 #ifdef __cplusplus
78699 #endif
78702 main ()
78704 return f != $ac_func;
78706 return 0;
78708 _ACEOF
78709 rm -f conftest.$ac_objext conftest$ac_exeext
78710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78711 (eval $ac_link) 2>conftest.er1
78712 ac_status=$?
78713 grep -v '^ *+' conftest.er1 >conftest.err
78714 rm -f conftest.er1
78715 cat conftest.err >&5
78716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78717 (exit $ac_status); } &&
78718 { ac_try='test -z "$ac_c_werror_flag"
78719 || test ! -s conftest.err'
78720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78721 (eval $ac_try) 2>&5
78722 ac_status=$?
78723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78724 (exit $ac_status); }; } &&
78725 { ac_try='test -s conftest$ac_exeext'
78726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78727 (eval $ac_try) 2>&5
78728 ac_status=$?
78729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78730 (exit $ac_status); }; }; then
78731 eval "$as_ac_var=yes"
78732 else
78733 echo "$as_me: failed program was:" >&5
78734 sed 's/^/| /' conftest.$ac_ext >&5
78736 eval "$as_ac_var=no"
78738 rm -f conftest.err conftest.$ac_objext \
78739 conftest$ac_exeext conftest.$ac_ext
78741 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78742 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78743 if test `eval echo '${'$as_ac_var'}'` = yes; then
78744 cat >>confdefs.h <<_ACEOF
78745 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78746 _ACEOF
78748 else
78749 ac_wfuncs=no
78751 done
78754 # Checks for names injected into std:: by the c_std headers.
78801 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
78802 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
78803 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
78804 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
78805 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
78806 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
78808 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78809 echo "$as_me:$LINENO: checking for $ac_func" >&5
78810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78811 if eval "test \"\${$as_ac_var+set}\" = set"; then
78812 echo $ECHO_N "(cached) $ECHO_C" >&6
78813 else
78814 if test x$gcc_no_link = xyes; then
78815 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78816 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78817 { (exit 1); exit 1; }; }
78819 cat >conftest.$ac_ext <<_ACEOF
78820 /* confdefs.h. */
78821 _ACEOF
78822 cat confdefs.h >>conftest.$ac_ext
78823 cat >>conftest.$ac_ext <<_ACEOF
78824 /* end confdefs.h. */
78825 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78826 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78827 #define $ac_func innocuous_$ac_func
78829 /* System header to define __stub macros and hopefully few prototypes,
78830 which can conflict with char $ac_func (); below.
78831 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78832 <limits.h> exists even on freestanding compilers. */
78834 #ifdef __STDC__
78835 # include <limits.h>
78836 #else
78837 # include <assert.h>
78838 #endif
78840 #undef $ac_func
78842 /* Override any gcc2 internal prototype to avoid an error. */
78843 #ifdef __cplusplus
78844 extern "C"
78846 #endif
78847 /* We use char because int might match the return type of a gcc2
78848 builtin and then its argument prototype would still apply. */
78849 char $ac_func ();
78850 /* The GNU C library defines this for functions which it implements
78851 to always fail with ENOSYS. Some functions are actually named
78852 something starting with __ and the normal name is an alias. */
78853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78854 choke me
78855 #else
78856 char (*f) () = $ac_func;
78857 #endif
78858 #ifdef __cplusplus
78860 #endif
78863 main ()
78865 return f != $ac_func;
78867 return 0;
78869 _ACEOF
78870 rm -f conftest.$ac_objext conftest$ac_exeext
78871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78872 (eval $ac_link) 2>conftest.er1
78873 ac_status=$?
78874 grep -v '^ *+' conftest.er1 >conftest.err
78875 rm -f conftest.er1
78876 cat conftest.err >&5
78877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78878 (exit $ac_status); } &&
78879 { ac_try='test -z "$ac_c_werror_flag"
78880 || test ! -s conftest.err'
78881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78882 (eval $ac_try) 2>&5
78883 ac_status=$?
78884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78885 (exit $ac_status); }; } &&
78886 { ac_try='test -s conftest$ac_exeext'
78887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78888 (eval $ac_try) 2>&5
78889 ac_status=$?
78890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78891 (exit $ac_status); }; }; then
78892 eval "$as_ac_var=yes"
78893 else
78894 echo "$as_me: failed program was:" >&5
78895 sed 's/^/| /' conftest.$ac_ext >&5
78897 eval "$as_ac_var=no"
78899 rm -f conftest.err conftest.$ac_objext \
78900 conftest$ac_exeext conftest.$ac_ext
78902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78903 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78904 if test `eval echo '${'$as_ac_var'}'` = yes; then
78905 cat >>confdefs.h <<_ACEOF
78906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78907 _ACEOF
78909 else
78910 ac_wfuncs=no
78912 done
78915 # Checks for wide character functions that are not required
78916 # for basic wchar_t support. Don't disable support if they are missing.
78917 # Injection of these is wrapped with guard macros.
78923 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
78925 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78926 echo "$as_me:$LINENO: checking for $ac_func" >&5
78927 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78928 if eval "test \"\${$as_ac_var+set}\" = set"; then
78929 echo $ECHO_N "(cached) $ECHO_C" >&6
78930 else
78931 if test x$gcc_no_link = xyes; then
78932 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78934 { (exit 1); exit 1; }; }
78936 cat >conftest.$ac_ext <<_ACEOF
78937 /* confdefs.h. */
78938 _ACEOF
78939 cat confdefs.h >>conftest.$ac_ext
78940 cat >>conftest.$ac_ext <<_ACEOF
78941 /* end confdefs.h. */
78942 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78943 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78944 #define $ac_func innocuous_$ac_func
78946 /* System header to define __stub macros and hopefully few prototypes,
78947 which can conflict with char $ac_func (); below.
78948 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78949 <limits.h> exists even on freestanding compilers. */
78951 #ifdef __STDC__
78952 # include <limits.h>
78953 #else
78954 # include <assert.h>
78955 #endif
78957 #undef $ac_func
78959 /* Override any gcc2 internal prototype to avoid an error. */
78960 #ifdef __cplusplus
78961 extern "C"
78963 #endif
78964 /* We use char because int might match the return type of a gcc2
78965 builtin and then its argument prototype would still apply. */
78966 char $ac_func ();
78967 /* The GNU C library defines this for functions which it implements
78968 to always fail with ENOSYS. Some functions are actually named
78969 something starting with __ and the normal name is an alias. */
78970 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78971 choke me
78972 #else
78973 char (*f) () = $ac_func;
78974 #endif
78975 #ifdef __cplusplus
78977 #endif
78980 main ()
78982 return f != $ac_func;
78984 return 0;
78986 _ACEOF
78987 rm -f conftest.$ac_objext conftest$ac_exeext
78988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78989 (eval $ac_link) 2>conftest.er1
78990 ac_status=$?
78991 grep -v '^ *+' conftest.er1 >conftest.err
78992 rm -f conftest.er1
78993 cat conftest.err >&5
78994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78995 (exit $ac_status); } &&
78996 { ac_try='test -z "$ac_c_werror_flag"
78997 || test ! -s conftest.err'
78998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78999 (eval $ac_try) 2>&5
79000 ac_status=$?
79001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79002 (exit $ac_status); }; } &&
79003 { ac_try='test -s conftest$ac_exeext'
79004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79005 (eval $ac_try) 2>&5
79006 ac_status=$?
79007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79008 (exit $ac_status); }; }; then
79009 eval "$as_ac_var=yes"
79010 else
79011 echo "$as_me: failed program was:" >&5
79012 sed 's/^/| /' conftest.$ac_ext >&5
79014 eval "$as_ac_var=no"
79016 rm -f conftest.err conftest.$ac_objext \
79017 conftest$ac_exeext conftest.$ac_ext
79019 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79020 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79021 if test `eval echo '${'$as_ac_var'}'` = yes; then
79022 cat >>confdefs.h <<_ACEOF
79023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79024 _ACEOF
79027 done
79030 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
79031 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
79032 if test x"$has_weof" = xyes &&
79033 test x"$has_wchar_minmax" = xyes &&
79034 test x"$ac_wfuncs" = xyes;
79035 then
79036 ac_isoC99_wchar_t=yes
79037 else
79038 ac_isoC99_wchar_t=no
79040 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
79041 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
79043 # Use iconv for wchar_t to char conversions. As such, check for
79044 # X/Open Portability Guide, version 2 features (XPG2).
79045 if test "${ac_cv_header_iconv_h+set}" = set; then
79046 echo "$as_me:$LINENO: checking for iconv.h" >&5
79047 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
79048 if test "${ac_cv_header_iconv_h+set}" = set; then
79049 echo $ECHO_N "(cached) $ECHO_C" >&6
79051 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
79052 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
79053 else
79054 # Is the header compilable?
79055 echo "$as_me:$LINENO: checking iconv.h usability" >&5
79056 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
79057 cat >conftest.$ac_ext <<_ACEOF
79058 /* confdefs.h. */
79059 _ACEOF
79060 cat confdefs.h >>conftest.$ac_ext
79061 cat >>conftest.$ac_ext <<_ACEOF
79062 /* end confdefs.h. */
79063 $ac_includes_default
79064 #include <iconv.h>
79065 _ACEOF
79066 rm -f conftest.$ac_objext
79067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79068 (eval $ac_compile) 2>conftest.er1
79069 ac_status=$?
79070 grep -v '^ *+' conftest.er1 >conftest.err
79071 rm -f conftest.er1
79072 cat conftest.err >&5
79073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79074 (exit $ac_status); } &&
79075 { ac_try='test -z "$ac_c_werror_flag"
79076 || test ! -s conftest.err'
79077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79078 (eval $ac_try) 2>&5
79079 ac_status=$?
79080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79081 (exit $ac_status); }; } &&
79082 { ac_try='test -s conftest.$ac_objext'
79083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79084 (eval $ac_try) 2>&5
79085 ac_status=$?
79086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79087 (exit $ac_status); }; }; then
79088 ac_header_compiler=yes
79089 else
79090 echo "$as_me: failed program was:" >&5
79091 sed 's/^/| /' conftest.$ac_ext >&5
79093 ac_header_compiler=no
79095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79096 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79097 echo "${ECHO_T}$ac_header_compiler" >&6
79099 # Is the header present?
79100 echo "$as_me:$LINENO: checking iconv.h presence" >&5
79101 echo $ECHO_N "checking iconv.h presence... $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 #include <iconv.h>
79109 _ACEOF
79110 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79111 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79112 ac_status=$?
79113 grep -v '^ *+' conftest.er1 >conftest.err
79114 rm -f conftest.er1
79115 cat conftest.err >&5
79116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79117 (exit $ac_status); } >/dev/null; then
79118 if test -s conftest.err; then
79119 ac_cpp_err=$ac_c_preproc_warn_flag
79120 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79121 else
79122 ac_cpp_err=
79124 else
79125 ac_cpp_err=yes
79127 if test -z "$ac_cpp_err"; then
79128 ac_header_preproc=yes
79129 else
79130 echo "$as_me: failed program was:" >&5
79131 sed 's/^/| /' conftest.$ac_ext >&5
79133 ac_header_preproc=no
79135 rm -f conftest.err conftest.$ac_ext
79136 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79137 echo "${ECHO_T}$ac_header_preproc" >&6
79139 # So? What about this header?
79140 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79141 yes:no: )
79142 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
79143 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
79144 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
79145 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
79146 ac_header_preproc=yes
79148 no:yes:* )
79149 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
79150 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
79151 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
79152 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
79153 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
79154 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
79155 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
79156 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
79157 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
79158 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
79159 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
79160 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
79162 cat <<\_ASBOX
79163 ## ----------------------------------------- ##
79164 ## Report this to the package-unused lists. ##
79165 ## ----------------------------------------- ##
79166 _ASBOX
79168 sed "s/^/$as_me: WARNING: /" >&2
79170 esac
79171 echo "$as_me:$LINENO: checking for iconv.h" >&5
79172 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
79173 if test "${ac_cv_header_iconv_h+set}" = set; then
79174 echo $ECHO_N "(cached) $ECHO_C" >&6
79175 else
79176 ac_cv_header_iconv_h=$ac_header_preproc
79178 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
79179 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
79182 if test $ac_cv_header_iconv_h = yes; then
79183 ac_has_iconv_h=yes
79184 else
79185 ac_has_iconv_h=no
79189 if test "${ac_cv_header_langinfo_h+set}" = set; then
79190 echo "$as_me:$LINENO: checking for langinfo.h" >&5
79191 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
79192 if test "${ac_cv_header_langinfo_h+set}" = set; then
79193 echo $ECHO_N "(cached) $ECHO_C" >&6
79195 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
79196 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
79197 else
79198 # Is the header compilable?
79199 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
79200 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
79201 cat >conftest.$ac_ext <<_ACEOF
79202 /* confdefs.h. */
79203 _ACEOF
79204 cat confdefs.h >>conftest.$ac_ext
79205 cat >>conftest.$ac_ext <<_ACEOF
79206 /* end confdefs.h. */
79207 $ac_includes_default
79208 #include <langinfo.h>
79209 _ACEOF
79210 rm -f conftest.$ac_objext
79211 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79212 (eval $ac_compile) 2>conftest.er1
79213 ac_status=$?
79214 grep -v '^ *+' conftest.er1 >conftest.err
79215 rm -f conftest.er1
79216 cat conftest.err >&5
79217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79218 (exit $ac_status); } &&
79219 { ac_try='test -z "$ac_c_werror_flag"
79220 || test ! -s conftest.err'
79221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79222 (eval $ac_try) 2>&5
79223 ac_status=$?
79224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79225 (exit $ac_status); }; } &&
79226 { ac_try='test -s conftest.$ac_objext'
79227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79228 (eval $ac_try) 2>&5
79229 ac_status=$?
79230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79231 (exit $ac_status); }; }; then
79232 ac_header_compiler=yes
79233 else
79234 echo "$as_me: failed program was:" >&5
79235 sed 's/^/| /' conftest.$ac_ext >&5
79237 ac_header_compiler=no
79239 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79240 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79241 echo "${ECHO_T}$ac_header_compiler" >&6
79243 # Is the header present?
79244 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
79245 echo $ECHO_N "checking langinfo.h presence... $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 #include <langinfo.h>
79253 _ACEOF
79254 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79255 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79256 ac_status=$?
79257 grep -v '^ *+' conftest.er1 >conftest.err
79258 rm -f conftest.er1
79259 cat conftest.err >&5
79260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79261 (exit $ac_status); } >/dev/null; then
79262 if test -s conftest.err; then
79263 ac_cpp_err=$ac_c_preproc_warn_flag
79264 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79265 else
79266 ac_cpp_err=
79268 else
79269 ac_cpp_err=yes
79271 if test -z "$ac_cpp_err"; then
79272 ac_header_preproc=yes
79273 else
79274 echo "$as_me: failed program was:" >&5
79275 sed 's/^/| /' conftest.$ac_ext >&5
79277 ac_header_preproc=no
79279 rm -f conftest.err conftest.$ac_ext
79280 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79281 echo "${ECHO_T}$ac_header_preproc" >&6
79283 # So? What about this header?
79284 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79285 yes:no: )
79286 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
79287 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
79288 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
79289 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
79290 ac_header_preproc=yes
79292 no:yes:* )
79293 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
79294 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
79295 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
79296 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
79297 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
79298 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
79299 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
79300 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
79301 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
79302 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
79303 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
79304 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
79306 cat <<\_ASBOX
79307 ## ----------------------------------------- ##
79308 ## Report this to the package-unused lists. ##
79309 ## ----------------------------------------- ##
79310 _ASBOX
79312 sed "s/^/$as_me: WARNING: /" >&2
79314 esac
79315 echo "$as_me:$LINENO: checking for langinfo.h" >&5
79316 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
79317 if test "${ac_cv_header_langinfo_h+set}" = set; then
79318 echo $ECHO_N "(cached) $ECHO_C" >&6
79319 else
79320 ac_cv_header_langinfo_h=$ac_header_preproc
79322 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
79323 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
79326 if test $ac_cv_header_langinfo_h = yes; then
79327 ac_has_langinfo_h=yes
79328 else
79329 ac_has_langinfo_h=no
79334 # Check for existence of libiconv.a providing XPG2 wchar_t support.
79335 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
79336 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
79337 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
79338 echo $ECHO_N "(cached) $ECHO_C" >&6
79339 else
79340 ac_check_lib_save_LIBS=$LIBS
79341 LIBS="-liconv $LIBS"
79342 if test x$gcc_no_link = xyes; then
79343 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79344 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79345 { (exit 1); exit 1; }; }
79347 cat >conftest.$ac_ext <<_ACEOF
79348 /* confdefs.h. */
79349 _ACEOF
79350 cat confdefs.h >>conftest.$ac_ext
79351 cat >>conftest.$ac_ext <<_ACEOF
79352 /* end confdefs.h. */
79354 /* Override any gcc2 internal prototype to avoid an error. */
79355 #ifdef __cplusplus
79356 extern "C"
79357 #endif
79358 /* We use char because int might match the return type of a gcc2
79359 builtin and then its argument prototype would still apply. */
79360 char iconv ();
79362 main ()
79364 iconv ();
79366 return 0;
79368 _ACEOF
79369 rm -f conftest.$ac_objext conftest$ac_exeext
79370 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79371 (eval $ac_link) 2>conftest.er1
79372 ac_status=$?
79373 grep -v '^ *+' conftest.er1 >conftest.err
79374 rm -f conftest.er1
79375 cat conftest.err >&5
79376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79377 (exit $ac_status); } &&
79378 { ac_try='test -z "$ac_c_werror_flag"
79379 || test ! -s conftest.err'
79380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79381 (eval $ac_try) 2>&5
79382 ac_status=$?
79383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79384 (exit $ac_status); }; } &&
79385 { ac_try='test -s conftest$ac_exeext'
79386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79387 (eval $ac_try) 2>&5
79388 ac_status=$?
79389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79390 (exit $ac_status); }; }; then
79391 ac_cv_lib_iconv_iconv=yes
79392 else
79393 echo "$as_me: failed program was:" >&5
79394 sed 's/^/| /' conftest.$ac_ext >&5
79396 ac_cv_lib_iconv_iconv=no
79398 rm -f conftest.err conftest.$ac_objext \
79399 conftest$ac_exeext conftest.$ac_ext
79400 LIBS=$ac_check_lib_save_LIBS
79402 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
79403 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
79404 if test $ac_cv_lib_iconv_iconv = yes; then
79405 LIBICONV="-liconv"
79408 ac_save_LIBS="$LIBS"
79409 LIBS="$LIBS $LIBICONV"
79416 for ac_func in iconv_open iconv_close iconv nl_langinfo
79418 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79419 echo "$as_me:$LINENO: checking for $ac_func" >&5
79420 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79421 if eval "test \"\${$as_ac_var+set}\" = set"; then
79422 echo $ECHO_N "(cached) $ECHO_C" >&6
79423 else
79424 if test x$gcc_no_link = xyes; then
79425 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79426 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79427 { (exit 1); exit 1; }; }
79429 cat >conftest.$ac_ext <<_ACEOF
79430 /* confdefs.h. */
79431 _ACEOF
79432 cat confdefs.h >>conftest.$ac_ext
79433 cat >>conftest.$ac_ext <<_ACEOF
79434 /* end confdefs.h. */
79435 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79436 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79437 #define $ac_func innocuous_$ac_func
79439 /* System header to define __stub macros and hopefully few prototypes,
79440 which can conflict with char $ac_func (); below.
79441 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79442 <limits.h> exists even on freestanding compilers. */
79444 #ifdef __STDC__
79445 # include <limits.h>
79446 #else
79447 # include <assert.h>
79448 #endif
79450 #undef $ac_func
79452 /* Override any gcc2 internal prototype to avoid an error. */
79453 #ifdef __cplusplus
79454 extern "C"
79456 #endif
79457 /* We use char because int might match the return type of a gcc2
79458 builtin and then its argument prototype would still apply. */
79459 char $ac_func ();
79460 /* The GNU C library defines this for functions which it implements
79461 to always fail with ENOSYS. Some functions are actually named
79462 something starting with __ and the normal name is an alias. */
79463 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79464 choke me
79465 #else
79466 char (*f) () = $ac_func;
79467 #endif
79468 #ifdef __cplusplus
79470 #endif
79473 main ()
79475 return f != $ac_func;
79477 return 0;
79479 _ACEOF
79480 rm -f conftest.$ac_objext conftest$ac_exeext
79481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79482 (eval $ac_link) 2>conftest.er1
79483 ac_status=$?
79484 grep -v '^ *+' conftest.er1 >conftest.err
79485 rm -f conftest.er1
79486 cat conftest.err >&5
79487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79488 (exit $ac_status); } &&
79489 { ac_try='test -z "$ac_c_werror_flag"
79490 || test ! -s conftest.err'
79491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79492 (eval $ac_try) 2>&5
79493 ac_status=$?
79494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79495 (exit $ac_status); }; } &&
79496 { ac_try='test -s conftest$ac_exeext'
79497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79498 (eval $ac_try) 2>&5
79499 ac_status=$?
79500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79501 (exit $ac_status); }; }; then
79502 eval "$as_ac_var=yes"
79503 else
79504 echo "$as_me: failed program was:" >&5
79505 sed 's/^/| /' conftest.$ac_ext >&5
79507 eval "$as_ac_var=no"
79509 rm -f conftest.err conftest.$ac_objext \
79510 conftest$ac_exeext conftest.$ac_ext
79512 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79513 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79514 if test `eval echo '${'$as_ac_var'}'` = yes; then
79515 cat >>confdefs.h <<_ACEOF
79516 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79517 _ACEOF
79518 ac_XPG2funcs=yes
79519 else
79520 ac_XPG2funcs=no
79522 done
79525 LIBS="$ac_save_LIBS"
79527 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
79528 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
79529 if test x"$ac_has_iconv_h" = xyes &&
79530 test x"$ac_has_langinfo_h" = xyes &&
79531 test x"$ac_XPG2funcs" = xyes;
79532 then
79533 ac_XPG2_wchar_t=yes
79534 else
79535 ac_XPG2_wchar_t=no
79537 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
79538 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
79540 # At the moment, only enable wchar_t specializations if all the
79541 # above support is present.
79542 if test x"$ac_isoC99_wchar_t" = xyes &&
79543 test x"$ac_XPG2_wchar_t" = xyes;
79544 then
79545 cat >>confdefs.h <<\_ACEOF
79546 #define _GLIBCXX_USE_WCHAR_T 1
79547 _ACEOF
79549 enable_wchar_t=yes
79552 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
79553 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
79554 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
79555 echo "${ECHO_T}$enable_wchar_t" >&6
79557 cat >>confdefs.h <<\_ACEOF
79558 #define HAVE_COPYSIGN 1
79559 _ACEOF
79561 cat >>confdefs.h <<\_ACEOF
79562 #define HAVE_COPYSIGNF 1
79563 _ACEOF
79565 cat >>confdefs.h <<\_ACEOF
79566 #define HAVE_FREXPF 1
79567 _ACEOF
79569 cat >>confdefs.h <<\_ACEOF
79570 #define HAVE_HYPOT 1
79571 _ACEOF
79573 case "$target" in
79574 *-hpux10*)
79575 cat >>confdefs.h <<\_ACEOF
79576 #define HAVE_FINITE 1
79577 _ACEOF
79579 cat >>confdefs.h <<\_ACEOF
79580 #define HAVE_FINITEF 1
79581 _ACEOF
79583 cat >>confdefs.h <<\_ACEOF
79584 #define HAVE_ISINF 1
79585 _ACEOF
79587 cat >>confdefs.h <<\_ACEOF
79588 #define HAVE_ISINFF 1
79589 _ACEOF
79591 cat >>confdefs.h <<\_ACEOF
79592 #define HAVE_ISNAN 1
79593 _ACEOF
79595 cat >>confdefs.h <<\_ACEOF
79596 #define HAVE_ISNANF 1
79597 _ACEOF
79600 esac
79602 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
79618 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
79619 machine/endian.h machine/param.h sys/machine.h sys/types.h \
79620 fp.h float.h endian.h inttypes.h locale.h float.h stdint.h
79622 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
79623 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79624 echo "$as_me:$LINENO: checking for $ac_header" >&5
79625 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79626 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79627 echo $ECHO_N "(cached) $ECHO_C" >&6
79629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79630 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79631 else
79632 # Is the header compilable?
79633 echo "$as_me:$LINENO: checking $ac_header usability" >&5
79634 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
79635 cat >conftest.$ac_ext <<_ACEOF
79636 /* confdefs.h. */
79637 _ACEOF
79638 cat confdefs.h >>conftest.$ac_ext
79639 cat >>conftest.$ac_ext <<_ACEOF
79640 /* end confdefs.h. */
79641 $ac_includes_default
79642 #include <$ac_header>
79643 _ACEOF
79644 rm -f conftest.$ac_objext
79645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79646 (eval $ac_compile) 2>conftest.er1
79647 ac_status=$?
79648 grep -v '^ *+' conftest.er1 >conftest.err
79649 rm -f conftest.er1
79650 cat conftest.err >&5
79651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79652 (exit $ac_status); } &&
79653 { ac_try='test -z "$ac_c_werror_flag"
79654 || test ! -s conftest.err'
79655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79656 (eval $ac_try) 2>&5
79657 ac_status=$?
79658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79659 (exit $ac_status); }; } &&
79660 { ac_try='test -s conftest.$ac_objext'
79661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79662 (eval $ac_try) 2>&5
79663 ac_status=$?
79664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79665 (exit $ac_status); }; }; then
79666 ac_header_compiler=yes
79667 else
79668 echo "$as_me: failed program was:" >&5
79669 sed 's/^/| /' conftest.$ac_ext >&5
79671 ac_header_compiler=no
79673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79674 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
79675 echo "${ECHO_T}$ac_header_compiler" >&6
79677 # Is the header present?
79678 echo "$as_me:$LINENO: checking $ac_header presence" >&5
79679 echo $ECHO_N "checking $ac_header presence... $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 #include <$ac_header>
79687 _ACEOF
79688 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
79689 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
79690 ac_status=$?
79691 grep -v '^ *+' conftest.er1 >conftest.err
79692 rm -f conftest.er1
79693 cat conftest.err >&5
79694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79695 (exit $ac_status); } >/dev/null; then
79696 if test -s conftest.err; then
79697 ac_cpp_err=$ac_c_preproc_warn_flag
79698 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
79699 else
79700 ac_cpp_err=
79702 else
79703 ac_cpp_err=yes
79705 if test -z "$ac_cpp_err"; then
79706 ac_header_preproc=yes
79707 else
79708 echo "$as_me: failed program was:" >&5
79709 sed 's/^/| /' conftest.$ac_ext >&5
79711 ac_header_preproc=no
79713 rm -f conftest.err conftest.$ac_ext
79714 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
79715 echo "${ECHO_T}$ac_header_preproc" >&6
79717 # So? What about this header?
79718 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
79719 yes:no: )
79720 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
79721 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
79722 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
79723 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
79724 ac_header_preproc=yes
79726 no:yes:* )
79727 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
79728 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
79729 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
79730 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
79731 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
79732 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
79733 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
79734 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
79735 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
79736 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
79737 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
79738 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
79740 cat <<\_ASBOX
79741 ## ----------------------------------------- ##
79742 ## Report this to the package-unused lists. ##
79743 ## ----------------------------------------- ##
79744 _ASBOX
79746 sed "s/^/$as_me: WARNING: /" >&2
79748 esac
79749 echo "$as_me:$LINENO: checking for $ac_header" >&5
79750 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
79751 if eval "test \"\${$as_ac_Header+set}\" = set"; then
79752 echo $ECHO_N "(cached) $ECHO_C" >&6
79753 else
79754 eval "$as_ac_Header=\$ac_header_preproc"
79756 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
79757 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
79760 if test `eval echo '${'$as_ac_Header'}'` = yes; then
79761 cat >>confdefs.h <<_ACEOF
79762 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
79763 _ACEOF
79767 done
79769 SECTION_FLAGS='-ffunction-sections -fdata-sections'
79772 # If we're not using GNU ld, then there's no point in even trying these
79773 # tests. Check for that first. We should have already tested for gld
79774 # by now (in libtool), but require it now just to be safe...
79775 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
79776 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
79780 # The name set by libtool depends on the version of libtool. Shame on us
79781 # for depending on an impl detail, but c'est la vie. Older versions used
79782 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
79783 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
79784 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
79785 # set (hence we're using an older libtool), then set it.
79786 if test x${with_gnu_ld+set} != xset; then
79787 if test x${ac_cv_prog_gnu_ld+set} != xset; then
79788 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
79789 with_gnu_ld=no
79790 else
79791 with_gnu_ld=$ac_cv_prog_gnu_ld
79795 # Start by getting the version number. I think the libtool test already
79796 # does some of this, but throws away the result.
79798 ldver=`$LD --version 2>/dev/null | head -1 | \
79799 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
79801 glibcxx_gnu_ld_version=`echo $ldver | \
79802 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
79804 # Set --gc-sections.
79805 if test "$with_gnu_ld" = "notbroken"; then
79806 # GNU ld it is! Joy and bunny rabbits!
79808 # All these tests are for C++; save the language and the compiler flags.
79809 # Need to do this so that g++ won't try to link in libstdc++
79810 ac_test_CFLAGS="${CFLAGS+set}"
79811 ac_save_CFLAGS="$CFLAGS"
79812 CFLAGS='-x c++ -Wl,--gc-sections'
79814 # Check for -Wl,--gc-sections
79815 # XXX This test is broken at the moment, as symbols required for linking
79816 # are now in libsupc++ (not built yet). In addition, this test has
79817 # cored on solaris in the past. In addition, --gc-sections doesn't
79818 # really work at the moment (keeps on discarding used sections, first
79819 # .eh_frame and now some of the glibc sections for iconv).
79820 # Bzzzzt. Thanks for playing, maybe next time.
79821 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
79822 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
79823 if test "$cross_compiling" = yes; then
79824 ac_sectionLDflags=yes
79825 else
79826 cat >conftest.$ac_ext <<_ACEOF
79827 /* confdefs.h. */
79828 _ACEOF
79829 cat confdefs.h >>conftest.$ac_ext
79830 cat >>conftest.$ac_ext <<_ACEOF
79831 /* end confdefs.h. */
79833 int main(void)
79835 try { throw 1; }
79836 catch (...) { };
79837 return 0;
79840 _ACEOF
79841 rm -f conftest$ac_exeext
79842 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79843 (eval $ac_link) 2>&5
79844 ac_status=$?
79845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79846 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
79847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79848 (eval $ac_try) 2>&5
79849 ac_status=$?
79850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79851 (exit $ac_status); }; }; then
79852 ac_sectionLDflags=yes
79853 else
79854 echo "$as_me: program exited with status $ac_status" >&5
79855 echo "$as_me: failed program was:" >&5
79856 sed 's/^/| /' conftest.$ac_ext >&5
79858 ( exit $ac_status )
79859 ac_sectionLDflags=no
79861 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
79863 if test "$ac_test_CFLAGS" = set; then
79864 CFLAGS="$ac_save_CFLAGS"
79865 else
79866 # this is the suspicious part
79867 CFLAGS=''
79869 if test "$ac_sectionLDflags" = "yes"; then
79870 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
79872 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
79873 echo "${ECHO_T}$ac_sectionLDflags" >&6
79876 # Set linker optimization flags.
79877 if test x"$with_gnu_ld" = x"yes"; then
79878 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
79886 echo "$as_me:$LINENO: checking for main in -lm" >&5
79887 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
79888 if test "${ac_cv_lib_m_main+set}" = set; then
79889 echo $ECHO_N "(cached) $ECHO_C" >&6
79890 else
79891 ac_check_lib_save_LIBS=$LIBS
79892 LIBS="-lm $LIBS"
79893 if test x$gcc_no_link = xyes; then
79894 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79896 { (exit 1); exit 1; }; }
79898 cat >conftest.$ac_ext <<_ACEOF
79899 /* confdefs.h. */
79900 _ACEOF
79901 cat confdefs.h >>conftest.$ac_ext
79902 cat >>conftest.$ac_ext <<_ACEOF
79903 /* end confdefs.h. */
79907 main ()
79909 main ();
79911 return 0;
79913 _ACEOF
79914 rm -f conftest.$ac_objext conftest$ac_exeext
79915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79916 (eval $ac_link) 2>conftest.er1
79917 ac_status=$?
79918 grep -v '^ *+' conftest.er1 >conftest.err
79919 rm -f conftest.er1
79920 cat conftest.err >&5
79921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79922 (exit $ac_status); } &&
79923 { ac_try='test -z "$ac_c_werror_flag"
79924 || test ! -s conftest.err'
79925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79926 (eval $ac_try) 2>&5
79927 ac_status=$?
79928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79929 (exit $ac_status); }; } &&
79930 { ac_try='test -s conftest$ac_exeext'
79931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79932 (eval $ac_try) 2>&5
79933 ac_status=$?
79934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79935 (exit $ac_status); }; }; then
79936 ac_cv_lib_m_main=yes
79937 else
79938 echo "$as_me: failed program was:" >&5
79939 sed 's/^/| /' conftest.$ac_ext >&5
79941 ac_cv_lib_m_main=no
79943 rm -f conftest.err conftest.$ac_objext \
79944 conftest$ac_exeext conftest.$ac_ext
79945 LIBS=$ac_check_lib_save_LIBS
79947 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
79948 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
79949 if test $ac_cv_lib_m_main = yes; then
79950 cat >>confdefs.h <<_ACEOF
79951 #define HAVE_LIBM 1
79952 _ACEOF
79954 LIBS="-lm $LIBS"
79959 for ac_func in copysignf
79961 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79962 echo "$as_me:$LINENO: checking for $ac_func" >&5
79963 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79964 if eval "test \"\${$as_ac_var+set}\" = set"; then
79965 echo $ECHO_N "(cached) $ECHO_C" >&6
79966 else
79967 if test x$gcc_no_link = xyes; then
79968 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79969 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79970 { (exit 1); exit 1; }; }
79972 cat >conftest.$ac_ext <<_ACEOF
79973 /* confdefs.h. */
79974 _ACEOF
79975 cat confdefs.h >>conftest.$ac_ext
79976 cat >>conftest.$ac_ext <<_ACEOF
79977 /* end confdefs.h. */
79978 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79979 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79980 #define $ac_func innocuous_$ac_func
79982 /* System header to define __stub macros and hopefully few prototypes,
79983 which can conflict with char $ac_func (); below.
79984 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79985 <limits.h> exists even on freestanding compilers. */
79987 #ifdef __STDC__
79988 # include <limits.h>
79989 #else
79990 # include <assert.h>
79991 #endif
79993 #undef $ac_func
79995 /* Override any gcc2 internal prototype to avoid an error. */
79996 #ifdef __cplusplus
79997 extern "C"
79999 #endif
80000 /* We use char because int might match the return type of a gcc2
80001 builtin and then its argument prototype would still apply. */
80002 char $ac_func ();
80003 /* The GNU C library defines this for functions which it implements
80004 to always fail with ENOSYS. Some functions are actually named
80005 something starting with __ and the normal name is an alias. */
80006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80007 choke me
80008 #else
80009 char (*f) () = $ac_func;
80010 #endif
80011 #ifdef __cplusplus
80013 #endif
80016 main ()
80018 return f != $ac_func;
80020 return 0;
80022 _ACEOF
80023 rm -f conftest.$ac_objext conftest$ac_exeext
80024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80025 (eval $ac_link) 2>conftest.er1
80026 ac_status=$?
80027 grep -v '^ *+' conftest.er1 >conftest.err
80028 rm -f conftest.er1
80029 cat conftest.err >&5
80030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80031 (exit $ac_status); } &&
80032 { ac_try='test -z "$ac_c_werror_flag"
80033 || test ! -s conftest.err'
80034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80035 (eval $ac_try) 2>&5
80036 ac_status=$?
80037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80038 (exit $ac_status); }; } &&
80039 { ac_try='test -s conftest$ac_exeext'
80040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80041 (eval $ac_try) 2>&5
80042 ac_status=$?
80043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80044 (exit $ac_status); }; }; then
80045 eval "$as_ac_var=yes"
80046 else
80047 echo "$as_me: failed program was:" >&5
80048 sed 's/^/| /' conftest.$ac_ext >&5
80050 eval "$as_ac_var=no"
80052 rm -f conftest.err conftest.$ac_objext \
80053 conftest$ac_exeext conftest.$ac_ext
80055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80056 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80057 if test `eval echo '${'$as_ac_var'}'` = yes; then
80058 cat >>confdefs.h <<_ACEOF
80059 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80060 _ACEOF
80062 else
80063 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
80065 done
80069 for ac_func in __signbit
80071 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80072 echo "$as_me:$LINENO: checking for $ac_func" >&5
80073 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80074 if eval "test \"\${$as_ac_var+set}\" = set"; then
80075 echo $ECHO_N "(cached) $ECHO_C" >&6
80076 else
80077 if test x$gcc_no_link = xyes; then
80078 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80079 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80080 { (exit 1); exit 1; }; }
80082 cat >conftest.$ac_ext <<_ACEOF
80083 /* confdefs.h. */
80084 _ACEOF
80085 cat confdefs.h >>conftest.$ac_ext
80086 cat >>conftest.$ac_ext <<_ACEOF
80087 /* end confdefs.h. */
80088 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80089 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80090 #define $ac_func innocuous_$ac_func
80092 /* System header to define __stub macros and hopefully few prototypes,
80093 which can conflict with char $ac_func (); below.
80094 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80095 <limits.h> exists even on freestanding compilers. */
80097 #ifdef __STDC__
80098 # include <limits.h>
80099 #else
80100 # include <assert.h>
80101 #endif
80103 #undef $ac_func
80105 /* Override any gcc2 internal prototype to avoid an error. */
80106 #ifdef __cplusplus
80107 extern "C"
80109 #endif
80110 /* We use char because int might match the return type of a gcc2
80111 builtin and then its argument prototype would still apply. */
80112 char $ac_func ();
80113 /* The GNU C library defines this for functions which it implements
80114 to always fail with ENOSYS. Some functions are actually named
80115 something starting with __ and the normal name is an alias. */
80116 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80117 choke me
80118 #else
80119 char (*f) () = $ac_func;
80120 #endif
80121 #ifdef __cplusplus
80123 #endif
80126 main ()
80128 return f != $ac_func;
80130 return 0;
80132 _ACEOF
80133 rm -f conftest.$ac_objext conftest$ac_exeext
80134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80135 (eval $ac_link) 2>conftest.er1
80136 ac_status=$?
80137 grep -v '^ *+' conftest.er1 >conftest.err
80138 rm -f conftest.er1
80139 cat conftest.err >&5
80140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80141 (exit $ac_status); } &&
80142 { ac_try='test -z "$ac_c_werror_flag"
80143 || test ! -s conftest.err'
80144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80145 (eval $ac_try) 2>&5
80146 ac_status=$?
80147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80148 (exit $ac_status); }; } &&
80149 { ac_try='test -s conftest$ac_exeext'
80150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80151 (eval $ac_try) 2>&5
80152 ac_status=$?
80153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80154 (exit $ac_status); }; }; then
80155 eval "$as_ac_var=yes"
80156 else
80157 echo "$as_me: failed program was:" >&5
80158 sed 's/^/| /' conftest.$ac_ext >&5
80160 eval "$as_ac_var=no"
80162 rm -f conftest.err conftest.$ac_objext \
80163 conftest$ac_exeext conftest.$ac_ext
80165 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80166 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80167 if test `eval echo '${'$as_ac_var'}'` = yes; then
80168 cat >>confdefs.h <<_ACEOF
80169 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80170 _ACEOF
80172 else
80173 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
80175 done
80179 for ac_func in __signbitf
80181 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80182 echo "$as_me:$LINENO: checking for $ac_func" >&5
80183 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80184 if eval "test \"\${$as_ac_var+set}\" = set"; then
80185 echo $ECHO_N "(cached) $ECHO_C" >&6
80186 else
80187 if test x$gcc_no_link = xyes; then
80188 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80189 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80190 { (exit 1); exit 1; }; }
80192 cat >conftest.$ac_ext <<_ACEOF
80193 /* confdefs.h. */
80194 _ACEOF
80195 cat confdefs.h >>conftest.$ac_ext
80196 cat >>conftest.$ac_ext <<_ACEOF
80197 /* end confdefs.h. */
80198 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80199 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80200 #define $ac_func innocuous_$ac_func
80202 /* System header to define __stub macros and hopefully few prototypes,
80203 which can conflict with char $ac_func (); below.
80204 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80205 <limits.h> exists even on freestanding compilers. */
80207 #ifdef __STDC__
80208 # include <limits.h>
80209 #else
80210 # include <assert.h>
80211 #endif
80213 #undef $ac_func
80215 /* Override any gcc2 internal prototype to avoid an error. */
80216 #ifdef __cplusplus
80217 extern "C"
80219 #endif
80220 /* We use char because int might match the return type of a gcc2
80221 builtin and then its argument prototype would still apply. */
80222 char $ac_func ();
80223 /* The GNU C library defines this for functions which it implements
80224 to always fail with ENOSYS. Some functions are actually named
80225 something starting with __ and the normal name is an alias. */
80226 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80227 choke me
80228 #else
80229 char (*f) () = $ac_func;
80230 #endif
80231 #ifdef __cplusplus
80233 #endif
80236 main ()
80238 return f != $ac_func;
80240 return 0;
80242 _ACEOF
80243 rm -f conftest.$ac_objext conftest$ac_exeext
80244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80245 (eval $ac_link) 2>conftest.er1
80246 ac_status=$?
80247 grep -v '^ *+' conftest.er1 >conftest.err
80248 rm -f conftest.er1
80249 cat conftest.err >&5
80250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80251 (exit $ac_status); } &&
80252 { ac_try='test -z "$ac_c_werror_flag"
80253 || test ! -s conftest.err'
80254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80255 (eval $ac_try) 2>&5
80256 ac_status=$?
80257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80258 (exit $ac_status); }; } &&
80259 { ac_try='test -s conftest$ac_exeext'
80260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80261 (eval $ac_try) 2>&5
80262 ac_status=$?
80263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80264 (exit $ac_status); }; }; then
80265 eval "$as_ac_var=yes"
80266 else
80267 echo "$as_me: failed program was:" >&5
80268 sed 's/^/| /' conftest.$ac_ext >&5
80270 eval "$as_ac_var=no"
80272 rm -f conftest.err conftest.$ac_objext \
80273 conftest$ac_exeext conftest.$ac_ext
80275 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80276 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80277 if test `eval echo '${'$as_ac_var'}'` = yes; then
80278 cat >>confdefs.h <<_ACEOF
80279 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80280 _ACEOF
80282 else
80283 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
80285 done
80288 if test x$ac_cv_func_copysignl = x"yes"; then
80290 for ac_func in __signbitl
80292 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80293 echo "$as_me:$LINENO: checking for $ac_func" >&5
80294 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80295 if eval "test \"\${$as_ac_var+set}\" = set"; then
80296 echo $ECHO_N "(cached) $ECHO_C" >&6
80297 else
80298 if test x$gcc_no_link = xyes; then
80299 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80300 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80301 { (exit 1); exit 1; }; }
80303 cat >conftest.$ac_ext <<_ACEOF
80304 /* confdefs.h. */
80305 _ACEOF
80306 cat confdefs.h >>conftest.$ac_ext
80307 cat >>conftest.$ac_ext <<_ACEOF
80308 /* end confdefs.h. */
80309 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80310 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80311 #define $ac_func innocuous_$ac_func
80313 /* System header to define __stub macros and hopefully few prototypes,
80314 which can conflict with char $ac_func (); below.
80315 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80316 <limits.h> exists even on freestanding compilers. */
80318 #ifdef __STDC__
80319 # include <limits.h>
80320 #else
80321 # include <assert.h>
80322 #endif
80324 #undef $ac_func
80326 /* Override any gcc2 internal prototype to avoid an error. */
80327 #ifdef __cplusplus
80328 extern "C"
80330 #endif
80331 /* We use char because int might match the return type of a gcc2
80332 builtin and then its argument prototype would still apply. */
80333 char $ac_func ();
80334 /* The GNU C library defines this for functions which it implements
80335 to always fail with ENOSYS. Some functions are actually named
80336 something starting with __ and the normal name is an alias. */
80337 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80338 choke me
80339 #else
80340 char (*f) () = $ac_func;
80341 #endif
80342 #ifdef __cplusplus
80344 #endif
80347 main ()
80349 return f != $ac_func;
80351 return 0;
80353 _ACEOF
80354 rm -f conftest.$ac_objext conftest$ac_exeext
80355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80356 (eval $ac_link) 2>conftest.er1
80357 ac_status=$?
80358 grep -v '^ *+' conftest.er1 >conftest.err
80359 rm -f conftest.er1
80360 cat conftest.err >&5
80361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80362 (exit $ac_status); } &&
80363 { ac_try='test -z "$ac_c_werror_flag"
80364 || test ! -s conftest.err'
80365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80366 (eval $ac_try) 2>&5
80367 ac_status=$?
80368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80369 (exit $ac_status); }; } &&
80370 { ac_try='test -s conftest$ac_exeext'
80371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80372 (eval $ac_try) 2>&5
80373 ac_status=$?
80374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80375 (exit $ac_status); }; }; then
80376 eval "$as_ac_var=yes"
80377 else
80378 echo "$as_me: failed program was:" >&5
80379 sed 's/^/| /' conftest.$ac_ext >&5
80381 eval "$as_ac_var=no"
80383 rm -f conftest.err conftest.$ac_objext \
80384 conftest$ac_exeext conftest.$ac_ext
80386 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80387 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80388 if test `eval echo '${'$as_ac_var'}'` = yes; then
80389 cat >>confdefs.h <<_ACEOF
80390 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80391 _ACEOF
80393 else
80394 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
80396 done
80400 # Used in libmath/Makefile.am.
80401 if test -n "$LIBMATHOBJS"; then
80402 need_libmath=yes
80407 # Test wchar.h for mbstate_t, which is needed for char_traits and
80408 # others even if wchar_t support is not on.
80409 echo "$as_me:$LINENO: checking for mbstate_t" >&5
80410 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
80411 cat >conftest.$ac_ext <<_ACEOF
80412 /* confdefs.h. */
80413 _ACEOF
80414 cat confdefs.h >>conftest.$ac_ext
80415 cat >>conftest.$ac_ext <<_ACEOF
80416 /* end confdefs.h. */
80417 #include <wchar.h>
80419 main ()
80421 mbstate_t teststate;
80423 return 0;
80425 _ACEOF
80426 rm -f conftest.$ac_objext
80427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80428 (eval $ac_compile) 2>conftest.er1
80429 ac_status=$?
80430 grep -v '^ *+' conftest.er1 >conftest.err
80431 rm -f conftest.er1
80432 cat conftest.err >&5
80433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80434 (exit $ac_status); } &&
80435 { ac_try='test -z "$ac_c_werror_flag"
80436 || test ! -s conftest.err'
80437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80438 (eval $ac_try) 2>&5
80439 ac_status=$?
80440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80441 (exit $ac_status); }; } &&
80442 { ac_try='test -s conftest.$ac_objext'
80443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80444 (eval $ac_try) 2>&5
80445 ac_status=$?
80446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80447 (exit $ac_status); }; }; then
80448 have_mbstate_t=yes
80449 else
80450 echo "$as_me: failed program was:" >&5
80451 sed 's/^/| /' conftest.$ac_ext >&5
80453 have_mbstate_t=no
80455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80456 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
80457 echo "${ECHO_T}$have_mbstate_t" >&6
80458 if test x"$have_mbstate_t" = xyes; then
80459 cat >>confdefs.h <<\_ACEOF
80460 #define HAVE_MBSTATE_T 1
80461 _ACEOF
80465 # Sanity check for existence of ISO C99 headers for extended encoding.
80467 for ac_header in wchar.h
80469 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
80470 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80471 echo "$as_me:$LINENO: checking for $ac_header" >&5
80472 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80473 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80474 echo $ECHO_N "(cached) $ECHO_C" >&6
80476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80477 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80478 else
80479 # Is the header compilable?
80480 echo "$as_me:$LINENO: checking $ac_header usability" >&5
80481 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
80482 cat >conftest.$ac_ext <<_ACEOF
80483 /* confdefs.h. */
80484 _ACEOF
80485 cat confdefs.h >>conftest.$ac_ext
80486 cat >>conftest.$ac_ext <<_ACEOF
80487 /* end confdefs.h. */
80488 $ac_includes_default
80489 #include <$ac_header>
80490 _ACEOF
80491 rm -f conftest.$ac_objext
80492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80493 (eval $ac_compile) 2>conftest.er1
80494 ac_status=$?
80495 grep -v '^ *+' conftest.er1 >conftest.err
80496 rm -f conftest.er1
80497 cat conftest.err >&5
80498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80499 (exit $ac_status); } &&
80500 { ac_try='test -z "$ac_c_werror_flag"
80501 || test ! -s conftest.err'
80502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80503 (eval $ac_try) 2>&5
80504 ac_status=$?
80505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80506 (exit $ac_status); }; } &&
80507 { ac_try='test -s conftest.$ac_objext'
80508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80509 (eval $ac_try) 2>&5
80510 ac_status=$?
80511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80512 (exit $ac_status); }; }; then
80513 ac_header_compiler=yes
80514 else
80515 echo "$as_me: failed program was:" >&5
80516 sed 's/^/| /' conftest.$ac_ext >&5
80518 ac_header_compiler=no
80520 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80521 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80522 echo "${ECHO_T}$ac_header_compiler" >&6
80524 # Is the header present?
80525 echo "$as_me:$LINENO: checking $ac_header presence" >&5
80526 echo $ECHO_N "checking $ac_header presence... $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 #include <$ac_header>
80534 _ACEOF
80535 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80536 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80537 ac_status=$?
80538 grep -v '^ *+' conftest.er1 >conftest.err
80539 rm -f conftest.er1
80540 cat conftest.err >&5
80541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80542 (exit $ac_status); } >/dev/null; then
80543 if test -s conftest.err; then
80544 ac_cpp_err=$ac_c_preproc_warn_flag
80545 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80546 else
80547 ac_cpp_err=
80549 else
80550 ac_cpp_err=yes
80552 if test -z "$ac_cpp_err"; then
80553 ac_header_preproc=yes
80554 else
80555 echo "$as_me: failed program was:" >&5
80556 sed 's/^/| /' conftest.$ac_ext >&5
80558 ac_header_preproc=no
80560 rm -f conftest.err conftest.$ac_ext
80561 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80562 echo "${ECHO_T}$ac_header_preproc" >&6
80564 # So? What about this header?
80565 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80566 yes:no: )
80567 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
80568 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
80569 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
80570 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
80571 ac_header_preproc=yes
80573 no:yes:* )
80574 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
80575 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
80576 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
80577 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
80578 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
80579 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
80580 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
80581 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
80582 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
80583 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
80584 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
80585 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
80587 cat <<\_ASBOX
80588 ## ----------------------------------------- ##
80589 ## Report this to the package-unused lists. ##
80590 ## ----------------------------------------- ##
80591 _ASBOX
80593 sed "s/^/$as_me: WARNING: /" >&2
80595 esac
80596 echo "$as_me:$LINENO: checking for $ac_header" >&5
80597 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80598 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80599 echo $ECHO_N "(cached) $ECHO_C" >&6
80600 else
80601 eval "$as_ac_Header=\$ac_header_preproc"
80603 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80604 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80607 if test `eval echo '${'$as_ac_Header'}'` = yes; then
80608 cat >>confdefs.h <<_ACEOF
80609 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
80610 _ACEOF
80611 ac_has_wchar_h=yes
80612 else
80613 ac_has_wchar_h=no
80616 done
80619 for ac_header in wctype.h
80621 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
80622 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80623 echo "$as_me:$LINENO: checking for $ac_header" >&5
80624 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80625 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80626 echo $ECHO_N "(cached) $ECHO_C" >&6
80628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80629 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80630 else
80631 # Is the header compilable?
80632 echo "$as_me:$LINENO: checking $ac_header usability" >&5
80633 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
80634 cat >conftest.$ac_ext <<_ACEOF
80635 /* confdefs.h. */
80636 _ACEOF
80637 cat confdefs.h >>conftest.$ac_ext
80638 cat >>conftest.$ac_ext <<_ACEOF
80639 /* end confdefs.h. */
80640 $ac_includes_default
80641 #include <$ac_header>
80642 _ACEOF
80643 rm -f conftest.$ac_objext
80644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80645 (eval $ac_compile) 2>conftest.er1
80646 ac_status=$?
80647 grep -v '^ *+' conftest.er1 >conftest.err
80648 rm -f conftest.er1
80649 cat conftest.err >&5
80650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80651 (exit $ac_status); } &&
80652 { ac_try='test -z "$ac_c_werror_flag"
80653 || test ! -s conftest.err'
80654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80655 (eval $ac_try) 2>&5
80656 ac_status=$?
80657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80658 (exit $ac_status); }; } &&
80659 { ac_try='test -s conftest.$ac_objext'
80660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80661 (eval $ac_try) 2>&5
80662 ac_status=$?
80663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80664 (exit $ac_status); }; }; then
80665 ac_header_compiler=yes
80666 else
80667 echo "$as_me: failed program was:" >&5
80668 sed 's/^/| /' conftest.$ac_ext >&5
80670 ac_header_compiler=no
80672 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80673 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
80674 echo "${ECHO_T}$ac_header_compiler" >&6
80676 # Is the header present?
80677 echo "$as_me:$LINENO: checking $ac_header presence" >&5
80678 echo $ECHO_N "checking $ac_header presence... $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 #include <$ac_header>
80686 _ACEOF
80687 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
80688 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
80689 ac_status=$?
80690 grep -v '^ *+' conftest.er1 >conftest.err
80691 rm -f conftest.er1
80692 cat conftest.err >&5
80693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80694 (exit $ac_status); } >/dev/null; then
80695 if test -s conftest.err; then
80696 ac_cpp_err=$ac_c_preproc_warn_flag
80697 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
80698 else
80699 ac_cpp_err=
80701 else
80702 ac_cpp_err=yes
80704 if test -z "$ac_cpp_err"; then
80705 ac_header_preproc=yes
80706 else
80707 echo "$as_me: failed program was:" >&5
80708 sed 's/^/| /' conftest.$ac_ext >&5
80710 ac_header_preproc=no
80712 rm -f conftest.err conftest.$ac_ext
80713 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
80714 echo "${ECHO_T}$ac_header_preproc" >&6
80716 # So? What about this header?
80717 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
80718 yes:no: )
80719 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
80720 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
80721 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
80722 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
80723 ac_header_preproc=yes
80725 no:yes:* )
80726 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
80727 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
80728 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
80729 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
80730 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
80731 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
80732 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
80733 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
80734 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
80735 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
80736 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
80737 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
80739 cat <<\_ASBOX
80740 ## ----------------------------------------- ##
80741 ## Report this to the package-unused lists. ##
80742 ## ----------------------------------------- ##
80743 _ASBOX
80745 sed "s/^/$as_me: WARNING: /" >&2
80747 esac
80748 echo "$as_me:$LINENO: checking for $ac_header" >&5
80749 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
80750 if eval "test \"\${$as_ac_Header+set}\" = set"; then
80751 echo $ECHO_N "(cached) $ECHO_C" >&6
80752 else
80753 eval "$as_ac_Header=\$ac_header_preproc"
80755 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
80756 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
80759 if test `eval echo '${'$as_ac_Header'}'` = yes; then
80760 cat >>confdefs.h <<_ACEOF
80761 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
80762 _ACEOF
80763 ac_has_wctype_h=yes
80764 else
80765 ac_has_wctype_h=no
80768 done
80771 # Only continue checking if the ISO C99 headers exist and support is on.
80772 if test x"$ac_has_wchar_h" = xyes &&
80773 test x"$ac_has_wctype_h" = xyes &&
80774 test x"$enable_c_mbchar" != xno; then
80776 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
80777 # numeric_limits can instantiate type_traits<wchar_t>
80778 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
80779 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
80780 cat >conftest.$ac_ext <<_ACEOF
80781 /* confdefs.h. */
80782 _ACEOF
80783 cat confdefs.h >>conftest.$ac_ext
80784 cat >>conftest.$ac_ext <<_ACEOF
80785 /* end confdefs.h. */
80786 #include <wchar.h>
80788 main ()
80790 int i = WCHAR_MIN; int j = WCHAR_MAX;
80792 return 0;
80794 _ACEOF
80795 rm -f conftest.$ac_objext
80796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80797 (eval $ac_compile) 2>conftest.er1
80798 ac_status=$?
80799 grep -v '^ *+' conftest.er1 >conftest.err
80800 rm -f conftest.er1
80801 cat conftest.err >&5
80802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80803 (exit $ac_status); } &&
80804 { ac_try='test -z "$ac_c_werror_flag"
80805 || test ! -s conftest.err'
80806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80807 (eval $ac_try) 2>&5
80808 ac_status=$?
80809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80810 (exit $ac_status); }; } &&
80811 { ac_try='test -s conftest.$ac_objext'
80812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80813 (eval $ac_try) 2>&5
80814 ac_status=$?
80815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80816 (exit $ac_status); }; }; then
80817 has_wchar_minmax=yes
80818 else
80819 echo "$as_me: failed program was:" >&5
80820 sed 's/^/| /' conftest.$ac_ext >&5
80822 has_wchar_minmax=no
80824 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80825 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
80826 echo "${ECHO_T}$has_wchar_minmax" >&6
80828 # Test wchar.h for WEOF, which is what we use to determine whether
80829 # to specialize for char_traits<wchar_t> or not.
80830 echo "$as_me:$LINENO: checking for WEOF" >&5
80831 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
80832 cat >conftest.$ac_ext <<_ACEOF
80833 /* confdefs.h. */
80834 _ACEOF
80835 cat confdefs.h >>conftest.$ac_ext
80836 cat >>conftest.$ac_ext <<_ACEOF
80837 /* end confdefs.h. */
80839 #include <wchar.h>
80840 #include <stddef.h>
80842 main ()
80844 wint_t i = WEOF;
80846 return 0;
80848 _ACEOF
80849 rm -f conftest.$ac_objext
80850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80851 (eval $ac_compile) 2>conftest.er1
80852 ac_status=$?
80853 grep -v '^ *+' conftest.er1 >conftest.err
80854 rm -f conftest.er1
80855 cat conftest.err >&5
80856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80857 (exit $ac_status); } &&
80858 { ac_try='test -z "$ac_c_werror_flag"
80859 || test ! -s conftest.err'
80860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80861 (eval $ac_try) 2>&5
80862 ac_status=$?
80863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80864 (exit $ac_status); }; } &&
80865 { ac_try='test -s conftest.$ac_objext'
80866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80867 (eval $ac_try) 2>&5
80868 ac_status=$?
80869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80870 (exit $ac_status); }; }; then
80871 has_weof=yes
80872 else
80873 echo "$as_me: failed program was:" >&5
80874 sed 's/^/| /' conftest.$ac_ext >&5
80876 has_weof=no
80878 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80879 echo "$as_me:$LINENO: result: $has_weof" >&5
80880 echo "${ECHO_T}$has_weof" >&6
80882 # Tests for wide character functions used in char_traits<wchar_t>.
80883 ac_wfuncs=yes
80890 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
80892 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80893 echo "$as_me:$LINENO: checking for $ac_func" >&5
80894 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80895 if eval "test \"\${$as_ac_var+set}\" = set"; then
80896 echo $ECHO_N "(cached) $ECHO_C" >&6
80897 else
80898 if test x$gcc_no_link = xyes; then
80899 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80900 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80901 { (exit 1); exit 1; }; }
80903 cat >conftest.$ac_ext <<_ACEOF
80904 /* confdefs.h. */
80905 _ACEOF
80906 cat confdefs.h >>conftest.$ac_ext
80907 cat >>conftest.$ac_ext <<_ACEOF
80908 /* end confdefs.h. */
80909 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80910 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80911 #define $ac_func innocuous_$ac_func
80913 /* System header to define __stub macros and hopefully few prototypes,
80914 which can conflict with char $ac_func (); below.
80915 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80916 <limits.h> exists even on freestanding compilers. */
80918 #ifdef __STDC__
80919 # include <limits.h>
80920 #else
80921 # include <assert.h>
80922 #endif
80924 #undef $ac_func
80926 /* Override any gcc2 internal prototype to avoid an error. */
80927 #ifdef __cplusplus
80928 extern "C"
80930 #endif
80931 /* We use char because int might match the return type of a gcc2
80932 builtin and then its argument prototype would still apply. */
80933 char $ac_func ();
80934 /* The GNU C library defines this for functions which it implements
80935 to always fail with ENOSYS. Some functions are actually named
80936 something starting with __ and the normal name is an alias. */
80937 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80938 choke me
80939 #else
80940 char (*f) () = $ac_func;
80941 #endif
80942 #ifdef __cplusplus
80944 #endif
80947 main ()
80949 return f != $ac_func;
80951 return 0;
80953 _ACEOF
80954 rm -f conftest.$ac_objext conftest$ac_exeext
80955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80956 (eval $ac_link) 2>conftest.er1
80957 ac_status=$?
80958 grep -v '^ *+' conftest.er1 >conftest.err
80959 rm -f conftest.er1
80960 cat conftest.err >&5
80961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80962 (exit $ac_status); } &&
80963 { ac_try='test -z "$ac_c_werror_flag"
80964 || test ! -s conftest.err'
80965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80966 (eval $ac_try) 2>&5
80967 ac_status=$?
80968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80969 (exit $ac_status); }; } &&
80970 { ac_try='test -s conftest$ac_exeext'
80971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80972 (eval $ac_try) 2>&5
80973 ac_status=$?
80974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80975 (exit $ac_status); }; }; then
80976 eval "$as_ac_var=yes"
80977 else
80978 echo "$as_me: failed program was:" >&5
80979 sed 's/^/| /' conftest.$ac_ext >&5
80981 eval "$as_ac_var=no"
80983 rm -f conftest.err conftest.$ac_objext \
80984 conftest$ac_exeext conftest.$ac_ext
80986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80987 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80988 if test `eval echo '${'$as_ac_var'}'` = yes; then
80989 cat >>confdefs.h <<_ACEOF
80990 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80991 _ACEOF
80993 else
80994 ac_wfuncs=no
80996 done
80999 # Checks for names injected into std:: by the c_std headers.
81046 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
81047 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
81048 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
81049 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
81050 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
81051 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
81053 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81054 echo "$as_me:$LINENO: checking for $ac_func" >&5
81055 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81056 if eval "test \"\${$as_ac_var+set}\" = set"; then
81057 echo $ECHO_N "(cached) $ECHO_C" >&6
81058 else
81059 if test x$gcc_no_link = xyes; then
81060 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81061 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81062 { (exit 1); exit 1; }; }
81064 cat >conftest.$ac_ext <<_ACEOF
81065 /* confdefs.h. */
81066 _ACEOF
81067 cat confdefs.h >>conftest.$ac_ext
81068 cat >>conftest.$ac_ext <<_ACEOF
81069 /* end confdefs.h. */
81070 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81072 #define $ac_func innocuous_$ac_func
81074 /* System header to define __stub macros and hopefully few prototypes,
81075 which can conflict with char $ac_func (); below.
81076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81077 <limits.h> exists even on freestanding compilers. */
81079 #ifdef __STDC__
81080 # include <limits.h>
81081 #else
81082 # include <assert.h>
81083 #endif
81085 #undef $ac_func
81087 /* Override any gcc2 internal prototype to avoid an error. */
81088 #ifdef __cplusplus
81089 extern "C"
81091 #endif
81092 /* We use char because int might match the return type of a gcc2
81093 builtin and then its argument prototype would still apply. */
81094 char $ac_func ();
81095 /* The GNU C library defines this for functions which it implements
81096 to always fail with ENOSYS. Some functions are actually named
81097 something starting with __ and the normal name is an alias. */
81098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81099 choke me
81100 #else
81101 char (*f) () = $ac_func;
81102 #endif
81103 #ifdef __cplusplus
81105 #endif
81108 main ()
81110 return f != $ac_func;
81112 return 0;
81114 _ACEOF
81115 rm -f conftest.$ac_objext conftest$ac_exeext
81116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81117 (eval $ac_link) 2>conftest.er1
81118 ac_status=$?
81119 grep -v '^ *+' conftest.er1 >conftest.err
81120 rm -f conftest.er1
81121 cat conftest.err >&5
81122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81123 (exit $ac_status); } &&
81124 { ac_try='test -z "$ac_c_werror_flag"
81125 || test ! -s conftest.err'
81126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81127 (eval $ac_try) 2>&5
81128 ac_status=$?
81129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81130 (exit $ac_status); }; } &&
81131 { ac_try='test -s conftest$ac_exeext'
81132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81133 (eval $ac_try) 2>&5
81134 ac_status=$?
81135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81136 (exit $ac_status); }; }; then
81137 eval "$as_ac_var=yes"
81138 else
81139 echo "$as_me: failed program was:" >&5
81140 sed 's/^/| /' conftest.$ac_ext >&5
81142 eval "$as_ac_var=no"
81144 rm -f conftest.err conftest.$ac_objext \
81145 conftest$ac_exeext conftest.$ac_ext
81147 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81148 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81149 if test `eval echo '${'$as_ac_var'}'` = yes; then
81150 cat >>confdefs.h <<_ACEOF
81151 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81152 _ACEOF
81154 else
81155 ac_wfuncs=no
81157 done
81160 # Checks for wide character functions that are not required
81161 # for basic wchar_t support. Don't disable support if they are missing.
81162 # Injection of these is wrapped with guard macros.
81168 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
81170 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81171 echo "$as_me:$LINENO: checking for $ac_func" >&5
81172 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81173 if eval "test \"\${$as_ac_var+set}\" = set"; then
81174 echo $ECHO_N "(cached) $ECHO_C" >&6
81175 else
81176 if test x$gcc_no_link = xyes; then
81177 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81178 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81179 { (exit 1); exit 1; }; }
81181 cat >conftest.$ac_ext <<_ACEOF
81182 /* confdefs.h. */
81183 _ACEOF
81184 cat confdefs.h >>conftest.$ac_ext
81185 cat >>conftest.$ac_ext <<_ACEOF
81186 /* end confdefs.h. */
81187 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81188 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81189 #define $ac_func innocuous_$ac_func
81191 /* System header to define __stub macros and hopefully few prototypes,
81192 which can conflict with char $ac_func (); below.
81193 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81194 <limits.h> exists even on freestanding compilers. */
81196 #ifdef __STDC__
81197 # include <limits.h>
81198 #else
81199 # include <assert.h>
81200 #endif
81202 #undef $ac_func
81204 /* Override any gcc2 internal prototype to avoid an error. */
81205 #ifdef __cplusplus
81206 extern "C"
81208 #endif
81209 /* We use char because int might match the return type of a gcc2
81210 builtin and then its argument prototype would still apply. */
81211 char $ac_func ();
81212 /* The GNU C library defines this for functions which it implements
81213 to always fail with ENOSYS. Some functions are actually named
81214 something starting with __ and the normal name is an alias. */
81215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81216 choke me
81217 #else
81218 char (*f) () = $ac_func;
81219 #endif
81220 #ifdef __cplusplus
81222 #endif
81225 main ()
81227 return f != $ac_func;
81229 return 0;
81231 _ACEOF
81232 rm -f conftest.$ac_objext conftest$ac_exeext
81233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81234 (eval $ac_link) 2>conftest.er1
81235 ac_status=$?
81236 grep -v '^ *+' conftest.er1 >conftest.err
81237 rm -f conftest.er1
81238 cat conftest.err >&5
81239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81240 (exit $ac_status); } &&
81241 { ac_try='test -z "$ac_c_werror_flag"
81242 || test ! -s conftest.err'
81243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81244 (eval $ac_try) 2>&5
81245 ac_status=$?
81246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81247 (exit $ac_status); }; } &&
81248 { ac_try='test -s conftest$ac_exeext'
81249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81250 (eval $ac_try) 2>&5
81251 ac_status=$?
81252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81253 (exit $ac_status); }; }; then
81254 eval "$as_ac_var=yes"
81255 else
81256 echo "$as_me: failed program was:" >&5
81257 sed 's/^/| /' conftest.$ac_ext >&5
81259 eval "$as_ac_var=no"
81261 rm -f conftest.err conftest.$ac_objext \
81262 conftest$ac_exeext conftest.$ac_ext
81264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81265 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81266 if test `eval echo '${'$as_ac_var'}'` = yes; then
81267 cat >>confdefs.h <<_ACEOF
81268 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81269 _ACEOF
81272 done
81275 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
81276 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
81277 if test x"$has_weof" = xyes &&
81278 test x"$has_wchar_minmax" = xyes &&
81279 test x"$ac_wfuncs" = xyes;
81280 then
81281 ac_isoC99_wchar_t=yes
81282 else
81283 ac_isoC99_wchar_t=no
81285 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
81286 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
81288 # Use iconv for wchar_t to char conversions. As such, check for
81289 # X/Open Portability Guide, version 2 features (XPG2).
81290 if test "${ac_cv_header_iconv_h+set}" = set; then
81291 echo "$as_me:$LINENO: checking for iconv.h" >&5
81292 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
81293 if test "${ac_cv_header_iconv_h+set}" = set; then
81294 echo $ECHO_N "(cached) $ECHO_C" >&6
81296 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
81297 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
81298 else
81299 # Is the header compilable?
81300 echo "$as_me:$LINENO: checking iconv.h usability" >&5
81301 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
81302 cat >conftest.$ac_ext <<_ACEOF
81303 /* confdefs.h. */
81304 _ACEOF
81305 cat confdefs.h >>conftest.$ac_ext
81306 cat >>conftest.$ac_ext <<_ACEOF
81307 /* end confdefs.h. */
81308 $ac_includes_default
81309 #include <iconv.h>
81310 _ACEOF
81311 rm -f conftest.$ac_objext
81312 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81313 (eval $ac_compile) 2>conftest.er1
81314 ac_status=$?
81315 grep -v '^ *+' conftest.er1 >conftest.err
81316 rm -f conftest.er1
81317 cat conftest.err >&5
81318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81319 (exit $ac_status); } &&
81320 { ac_try='test -z "$ac_c_werror_flag"
81321 || test ! -s conftest.err'
81322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81323 (eval $ac_try) 2>&5
81324 ac_status=$?
81325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81326 (exit $ac_status); }; } &&
81327 { ac_try='test -s conftest.$ac_objext'
81328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81329 (eval $ac_try) 2>&5
81330 ac_status=$?
81331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81332 (exit $ac_status); }; }; then
81333 ac_header_compiler=yes
81334 else
81335 echo "$as_me: failed program was:" >&5
81336 sed 's/^/| /' conftest.$ac_ext >&5
81338 ac_header_compiler=no
81340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81341 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81342 echo "${ECHO_T}$ac_header_compiler" >&6
81344 # Is the header present?
81345 echo "$as_me:$LINENO: checking iconv.h presence" >&5
81346 echo $ECHO_N "checking iconv.h presence... $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 #include <iconv.h>
81354 _ACEOF
81355 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81356 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81357 ac_status=$?
81358 grep -v '^ *+' conftest.er1 >conftest.err
81359 rm -f conftest.er1
81360 cat conftest.err >&5
81361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81362 (exit $ac_status); } >/dev/null; then
81363 if test -s conftest.err; then
81364 ac_cpp_err=$ac_c_preproc_warn_flag
81365 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81366 else
81367 ac_cpp_err=
81369 else
81370 ac_cpp_err=yes
81372 if test -z "$ac_cpp_err"; then
81373 ac_header_preproc=yes
81374 else
81375 echo "$as_me: failed program was:" >&5
81376 sed 's/^/| /' conftest.$ac_ext >&5
81378 ac_header_preproc=no
81380 rm -f conftest.err conftest.$ac_ext
81381 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81382 echo "${ECHO_T}$ac_header_preproc" >&6
81384 # So? What about this header?
81385 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81386 yes:no: )
81387 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
81388 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
81389 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
81390 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
81391 ac_header_preproc=yes
81393 no:yes:* )
81394 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
81395 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
81396 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
81397 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
81398 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
81399 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
81400 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
81401 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
81402 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
81403 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
81404 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
81405 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
81407 cat <<\_ASBOX
81408 ## ----------------------------------------- ##
81409 ## Report this to the package-unused lists. ##
81410 ## ----------------------------------------- ##
81411 _ASBOX
81413 sed "s/^/$as_me: WARNING: /" >&2
81415 esac
81416 echo "$as_me:$LINENO: checking for iconv.h" >&5
81417 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
81418 if test "${ac_cv_header_iconv_h+set}" = set; then
81419 echo $ECHO_N "(cached) $ECHO_C" >&6
81420 else
81421 ac_cv_header_iconv_h=$ac_header_preproc
81423 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
81424 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
81427 if test $ac_cv_header_iconv_h = yes; then
81428 ac_has_iconv_h=yes
81429 else
81430 ac_has_iconv_h=no
81434 if test "${ac_cv_header_langinfo_h+set}" = set; then
81435 echo "$as_me:$LINENO: checking for langinfo.h" >&5
81436 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
81437 if test "${ac_cv_header_langinfo_h+set}" = set; then
81438 echo $ECHO_N "(cached) $ECHO_C" >&6
81440 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
81441 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
81442 else
81443 # Is the header compilable?
81444 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
81445 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
81446 cat >conftest.$ac_ext <<_ACEOF
81447 /* confdefs.h. */
81448 _ACEOF
81449 cat confdefs.h >>conftest.$ac_ext
81450 cat >>conftest.$ac_ext <<_ACEOF
81451 /* end confdefs.h. */
81452 $ac_includes_default
81453 #include <langinfo.h>
81454 _ACEOF
81455 rm -f conftest.$ac_objext
81456 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81457 (eval $ac_compile) 2>conftest.er1
81458 ac_status=$?
81459 grep -v '^ *+' conftest.er1 >conftest.err
81460 rm -f conftest.er1
81461 cat conftest.err >&5
81462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81463 (exit $ac_status); } &&
81464 { ac_try='test -z "$ac_c_werror_flag"
81465 || test ! -s conftest.err'
81466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81467 (eval $ac_try) 2>&5
81468 ac_status=$?
81469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81470 (exit $ac_status); }; } &&
81471 { ac_try='test -s conftest.$ac_objext'
81472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81473 (eval $ac_try) 2>&5
81474 ac_status=$?
81475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81476 (exit $ac_status); }; }; then
81477 ac_header_compiler=yes
81478 else
81479 echo "$as_me: failed program was:" >&5
81480 sed 's/^/| /' conftest.$ac_ext >&5
81482 ac_header_compiler=no
81484 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81485 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81486 echo "${ECHO_T}$ac_header_compiler" >&6
81488 # Is the header present?
81489 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
81490 echo $ECHO_N "checking langinfo.h presence... $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 #include <langinfo.h>
81498 _ACEOF
81499 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81500 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81501 ac_status=$?
81502 grep -v '^ *+' conftest.er1 >conftest.err
81503 rm -f conftest.er1
81504 cat conftest.err >&5
81505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81506 (exit $ac_status); } >/dev/null; then
81507 if test -s conftest.err; then
81508 ac_cpp_err=$ac_c_preproc_warn_flag
81509 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81510 else
81511 ac_cpp_err=
81513 else
81514 ac_cpp_err=yes
81516 if test -z "$ac_cpp_err"; then
81517 ac_header_preproc=yes
81518 else
81519 echo "$as_me: failed program was:" >&5
81520 sed 's/^/| /' conftest.$ac_ext >&5
81522 ac_header_preproc=no
81524 rm -f conftest.err conftest.$ac_ext
81525 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81526 echo "${ECHO_T}$ac_header_preproc" >&6
81528 # So? What about this header?
81529 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81530 yes:no: )
81531 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
81532 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
81533 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
81534 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
81535 ac_header_preproc=yes
81537 no:yes:* )
81538 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
81539 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
81540 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
81541 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
81542 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
81543 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
81544 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
81545 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
81546 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
81547 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
81548 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
81549 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
81551 cat <<\_ASBOX
81552 ## ----------------------------------------- ##
81553 ## Report this to the package-unused lists. ##
81554 ## ----------------------------------------- ##
81555 _ASBOX
81557 sed "s/^/$as_me: WARNING: /" >&2
81559 esac
81560 echo "$as_me:$LINENO: checking for langinfo.h" >&5
81561 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
81562 if test "${ac_cv_header_langinfo_h+set}" = set; then
81563 echo $ECHO_N "(cached) $ECHO_C" >&6
81564 else
81565 ac_cv_header_langinfo_h=$ac_header_preproc
81567 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
81568 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
81571 if test $ac_cv_header_langinfo_h = yes; then
81572 ac_has_langinfo_h=yes
81573 else
81574 ac_has_langinfo_h=no
81579 # Check for existence of libiconv.a providing XPG2 wchar_t support.
81580 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
81581 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
81582 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
81583 echo $ECHO_N "(cached) $ECHO_C" >&6
81584 else
81585 ac_check_lib_save_LIBS=$LIBS
81586 LIBS="-liconv $LIBS"
81587 if test x$gcc_no_link = xyes; then
81588 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81589 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81590 { (exit 1); exit 1; }; }
81592 cat >conftest.$ac_ext <<_ACEOF
81593 /* confdefs.h. */
81594 _ACEOF
81595 cat confdefs.h >>conftest.$ac_ext
81596 cat >>conftest.$ac_ext <<_ACEOF
81597 /* end confdefs.h. */
81599 /* Override any gcc2 internal prototype to avoid an error. */
81600 #ifdef __cplusplus
81601 extern "C"
81602 #endif
81603 /* We use char because int might match the return type of a gcc2
81604 builtin and then its argument prototype would still apply. */
81605 char iconv ();
81607 main ()
81609 iconv ();
81611 return 0;
81613 _ACEOF
81614 rm -f conftest.$ac_objext conftest$ac_exeext
81615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81616 (eval $ac_link) 2>conftest.er1
81617 ac_status=$?
81618 grep -v '^ *+' conftest.er1 >conftest.err
81619 rm -f conftest.er1
81620 cat conftest.err >&5
81621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81622 (exit $ac_status); } &&
81623 { ac_try='test -z "$ac_c_werror_flag"
81624 || test ! -s conftest.err'
81625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81626 (eval $ac_try) 2>&5
81627 ac_status=$?
81628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81629 (exit $ac_status); }; } &&
81630 { ac_try='test -s conftest$ac_exeext'
81631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81632 (eval $ac_try) 2>&5
81633 ac_status=$?
81634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81635 (exit $ac_status); }; }; then
81636 ac_cv_lib_iconv_iconv=yes
81637 else
81638 echo "$as_me: failed program was:" >&5
81639 sed 's/^/| /' conftest.$ac_ext >&5
81641 ac_cv_lib_iconv_iconv=no
81643 rm -f conftest.err conftest.$ac_objext \
81644 conftest$ac_exeext conftest.$ac_ext
81645 LIBS=$ac_check_lib_save_LIBS
81647 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
81648 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
81649 if test $ac_cv_lib_iconv_iconv = yes; then
81650 LIBICONV="-liconv"
81653 ac_save_LIBS="$LIBS"
81654 LIBS="$LIBS $LIBICONV"
81661 for ac_func in iconv_open iconv_close iconv nl_langinfo
81663 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81664 echo "$as_me:$LINENO: checking for $ac_func" >&5
81665 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81666 if eval "test \"\${$as_ac_var+set}\" = set"; then
81667 echo $ECHO_N "(cached) $ECHO_C" >&6
81668 else
81669 if test x$gcc_no_link = xyes; then
81670 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81671 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81672 { (exit 1); exit 1; }; }
81674 cat >conftest.$ac_ext <<_ACEOF
81675 /* confdefs.h. */
81676 _ACEOF
81677 cat confdefs.h >>conftest.$ac_ext
81678 cat >>conftest.$ac_ext <<_ACEOF
81679 /* end confdefs.h. */
81680 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81681 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81682 #define $ac_func innocuous_$ac_func
81684 /* System header to define __stub macros and hopefully few prototypes,
81685 which can conflict with char $ac_func (); below.
81686 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81687 <limits.h> exists even on freestanding compilers. */
81689 #ifdef __STDC__
81690 # include <limits.h>
81691 #else
81692 # include <assert.h>
81693 #endif
81695 #undef $ac_func
81697 /* Override any gcc2 internal prototype to avoid an error. */
81698 #ifdef __cplusplus
81699 extern "C"
81701 #endif
81702 /* We use char because int might match the return type of a gcc2
81703 builtin and then its argument prototype would still apply. */
81704 char $ac_func ();
81705 /* The GNU C library defines this for functions which it implements
81706 to always fail with ENOSYS. Some functions are actually named
81707 something starting with __ and the normal name is an alias. */
81708 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81709 choke me
81710 #else
81711 char (*f) () = $ac_func;
81712 #endif
81713 #ifdef __cplusplus
81715 #endif
81718 main ()
81720 return f != $ac_func;
81722 return 0;
81724 _ACEOF
81725 rm -f conftest.$ac_objext conftest$ac_exeext
81726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81727 (eval $ac_link) 2>conftest.er1
81728 ac_status=$?
81729 grep -v '^ *+' conftest.er1 >conftest.err
81730 rm -f conftest.er1
81731 cat conftest.err >&5
81732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81733 (exit $ac_status); } &&
81734 { ac_try='test -z "$ac_c_werror_flag"
81735 || test ! -s conftest.err'
81736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81737 (eval $ac_try) 2>&5
81738 ac_status=$?
81739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81740 (exit $ac_status); }; } &&
81741 { ac_try='test -s conftest$ac_exeext'
81742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81743 (eval $ac_try) 2>&5
81744 ac_status=$?
81745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81746 (exit $ac_status); }; }; then
81747 eval "$as_ac_var=yes"
81748 else
81749 echo "$as_me: failed program was:" >&5
81750 sed 's/^/| /' conftest.$ac_ext >&5
81752 eval "$as_ac_var=no"
81754 rm -f conftest.err conftest.$ac_objext \
81755 conftest$ac_exeext conftest.$ac_ext
81757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81758 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81759 if test `eval echo '${'$as_ac_var'}'` = yes; then
81760 cat >>confdefs.h <<_ACEOF
81761 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81762 _ACEOF
81763 ac_XPG2funcs=yes
81764 else
81765 ac_XPG2funcs=no
81767 done
81770 LIBS="$ac_save_LIBS"
81772 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
81773 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
81774 if test x"$ac_has_iconv_h" = xyes &&
81775 test x"$ac_has_langinfo_h" = xyes &&
81776 test x"$ac_XPG2funcs" = xyes;
81777 then
81778 ac_XPG2_wchar_t=yes
81779 else
81780 ac_XPG2_wchar_t=no
81782 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
81783 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
81785 # At the moment, only enable wchar_t specializations if all the
81786 # above support is present.
81787 if test x"$ac_isoC99_wchar_t" = xyes &&
81788 test x"$ac_XPG2_wchar_t" = xyes;
81789 then
81790 cat >>confdefs.h <<\_ACEOF
81791 #define _GLIBCXX_USE_WCHAR_T 1
81792 _ACEOF
81794 enable_wchar_t=yes
81797 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
81798 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
81799 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
81800 echo "${ECHO_T}$enable_wchar_t" >&6
81803 # For LFS.
81804 cat >>confdefs.h <<\_ACEOF
81805 #define HAVE_INT64_T 1
81806 _ACEOF
81808 case "$target" in
81809 *-uclinux*)
81810 # Don't enable LFS with uClibc
81813 cat >>confdefs.h <<\_ACEOF
81814 #define _GLIBCXX_USE_LFS 1
81815 _ACEOF
81817 esac
81819 # For showmanyc_helper().
81822 for ac_header in sys/ioctl.h sys/filio.h
81824 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
81825 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81826 echo "$as_me:$LINENO: checking for $ac_header" >&5
81827 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81828 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81829 echo $ECHO_N "(cached) $ECHO_C" >&6
81831 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
81832 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
81833 else
81834 # Is the header compilable?
81835 echo "$as_me:$LINENO: checking $ac_header usability" >&5
81836 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
81837 cat >conftest.$ac_ext <<_ACEOF
81838 /* confdefs.h. */
81839 _ACEOF
81840 cat confdefs.h >>conftest.$ac_ext
81841 cat >>conftest.$ac_ext <<_ACEOF
81842 /* end confdefs.h. */
81843 $ac_includes_default
81844 #include <$ac_header>
81845 _ACEOF
81846 rm -f conftest.$ac_objext
81847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81848 (eval $ac_compile) 2>conftest.er1
81849 ac_status=$?
81850 grep -v '^ *+' conftest.er1 >conftest.err
81851 rm -f conftest.er1
81852 cat conftest.err >&5
81853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81854 (exit $ac_status); } &&
81855 { ac_try='test -z "$ac_c_werror_flag"
81856 || test ! -s conftest.err'
81857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81858 (eval $ac_try) 2>&5
81859 ac_status=$?
81860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81861 (exit $ac_status); }; } &&
81862 { ac_try='test -s conftest.$ac_objext'
81863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81864 (eval $ac_try) 2>&5
81865 ac_status=$?
81866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81867 (exit $ac_status); }; }; then
81868 ac_header_compiler=yes
81869 else
81870 echo "$as_me: failed program was:" >&5
81871 sed 's/^/| /' conftest.$ac_ext >&5
81873 ac_header_compiler=no
81875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81876 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
81877 echo "${ECHO_T}$ac_header_compiler" >&6
81879 # Is the header present?
81880 echo "$as_me:$LINENO: checking $ac_header presence" >&5
81881 echo $ECHO_N "checking $ac_header presence... $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 #include <$ac_header>
81889 _ACEOF
81890 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
81891 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
81892 ac_status=$?
81893 grep -v '^ *+' conftest.er1 >conftest.err
81894 rm -f conftest.er1
81895 cat conftest.err >&5
81896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81897 (exit $ac_status); } >/dev/null; then
81898 if test -s conftest.err; then
81899 ac_cpp_err=$ac_c_preproc_warn_flag
81900 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
81901 else
81902 ac_cpp_err=
81904 else
81905 ac_cpp_err=yes
81907 if test -z "$ac_cpp_err"; then
81908 ac_header_preproc=yes
81909 else
81910 echo "$as_me: failed program was:" >&5
81911 sed 's/^/| /' conftest.$ac_ext >&5
81913 ac_header_preproc=no
81915 rm -f conftest.err conftest.$ac_ext
81916 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
81917 echo "${ECHO_T}$ac_header_preproc" >&6
81919 # So? What about this header?
81920 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
81921 yes:no: )
81922 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
81923 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
81924 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
81925 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
81926 ac_header_preproc=yes
81928 no:yes:* )
81929 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
81930 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
81931 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
81932 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
81933 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
81934 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
81935 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
81936 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
81937 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
81938 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
81939 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
81940 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
81942 cat <<\_ASBOX
81943 ## ----------------------------------------- ##
81944 ## Report this to the package-unused lists. ##
81945 ## ----------------------------------------- ##
81946 _ASBOX
81948 sed "s/^/$as_me: WARNING: /" >&2
81950 esac
81951 echo "$as_me:$LINENO: checking for $ac_header" >&5
81952 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
81953 if eval "test \"\${$as_ac_Header+set}\" = set"; then
81954 echo $ECHO_N "(cached) $ECHO_C" >&6
81955 else
81956 eval "$as_ac_Header=\$ac_header_preproc"
81958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
81959 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
81962 if test `eval echo '${'$as_ac_Header'}'` = yes; then
81963 cat >>confdefs.h <<_ACEOF
81964 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
81965 _ACEOF
81969 done
81972 if test "${glibcxx_cv_POLL+set}" = set; then
81973 echo $ECHO_N "(cached) $ECHO_C" >&6
81974 else
81976 if test x$gcc_no_link = xyes; then
81977 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81978 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81979 { (exit 1); exit 1; }; }
81981 cat >conftest.$ac_ext <<_ACEOF
81982 /* confdefs.h. */
81983 _ACEOF
81984 cat confdefs.h >>conftest.$ac_ext
81985 cat >>conftest.$ac_ext <<_ACEOF
81986 /* end confdefs.h. */
81987 #include <poll.h>
81989 main ()
81991 struct pollfd pfd[1];
81992 pfd[0].events = POLLIN;
81993 poll(pfd, 1, 0);
81995 return 0;
81997 _ACEOF
81998 rm -f conftest.$ac_objext conftest$ac_exeext
81999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82000 (eval $ac_link) 2>conftest.er1
82001 ac_status=$?
82002 grep -v '^ *+' conftest.er1 >conftest.err
82003 rm -f conftest.er1
82004 cat conftest.err >&5
82005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82006 (exit $ac_status); } &&
82007 { ac_try='test -z "$ac_c_werror_flag"
82008 || test ! -s conftest.err'
82009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82010 (eval $ac_try) 2>&5
82011 ac_status=$?
82012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82013 (exit $ac_status); }; } &&
82014 { ac_try='test -s conftest$ac_exeext'
82015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82016 (eval $ac_try) 2>&5
82017 ac_status=$?
82018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82019 (exit $ac_status); }; }; then
82020 glibcxx_cv_POLL=yes
82021 else
82022 echo "$as_me: failed program was:" >&5
82023 sed 's/^/| /' conftest.$ac_ext >&5
82025 glibcxx_cv_POLL=no
82027 rm -f conftest.err conftest.$ac_objext \
82028 conftest$ac_exeext conftest.$ac_ext
82032 if test $glibcxx_cv_POLL = yes; then
82033 cat >>confdefs.h <<\_ACEOF
82034 #define HAVE_POLL 1
82035 _ACEOF
82040 if test "${glibcxx_cv_S_ISREG+set}" = set; then
82041 echo $ECHO_N "(cached) $ECHO_C" >&6
82042 else
82044 if test x$gcc_no_link = xyes; then
82045 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82047 { (exit 1); exit 1; }; }
82049 cat >conftest.$ac_ext <<_ACEOF
82050 /* confdefs.h. */
82051 _ACEOF
82052 cat confdefs.h >>conftest.$ac_ext
82053 cat >>conftest.$ac_ext <<_ACEOF
82054 /* end confdefs.h. */
82055 #include <sys/stat.h>
82057 main ()
82059 struct stat buffer;
82060 fstat(0, &buffer);
82061 S_ISREG(buffer.st_mode);
82063 return 0;
82065 _ACEOF
82066 rm -f conftest.$ac_objext conftest$ac_exeext
82067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82068 (eval $ac_link) 2>conftest.er1
82069 ac_status=$?
82070 grep -v '^ *+' conftest.er1 >conftest.err
82071 rm -f conftest.er1
82072 cat conftest.err >&5
82073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82074 (exit $ac_status); } &&
82075 { ac_try='test -z "$ac_c_werror_flag"
82076 || test ! -s conftest.err'
82077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82078 (eval $ac_try) 2>&5
82079 ac_status=$?
82080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82081 (exit $ac_status); }; } &&
82082 { ac_try='test -s conftest$ac_exeext'
82083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82084 (eval $ac_try) 2>&5
82085 ac_status=$?
82086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82087 (exit $ac_status); }; }; then
82088 glibcxx_cv_S_ISREG=yes
82089 else
82090 echo "$as_me: failed program was:" >&5
82091 sed 's/^/| /' conftest.$ac_ext >&5
82093 glibcxx_cv_S_ISREG=no
82095 rm -f conftest.err conftest.$ac_objext \
82096 conftest$ac_exeext conftest.$ac_ext
82100 if test "${glibcxx_cv_S_IFREG+set}" = set; then
82101 echo $ECHO_N "(cached) $ECHO_C" >&6
82102 else
82104 if test x$gcc_no_link = xyes; then
82105 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82107 { (exit 1); exit 1; }; }
82109 cat >conftest.$ac_ext <<_ACEOF
82110 /* confdefs.h. */
82111 _ACEOF
82112 cat confdefs.h >>conftest.$ac_ext
82113 cat >>conftest.$ac_ext <<_ACEOF
82114 /* end confdefs.h. */
82115 #include <sys/stat.h>
82117 main ()
82119 struct stat buffer;
82120 fstat(0, &buffer);
82121 S_IFREG & buffer.st_mode;
82123 return 0;
82125 _ACEOF
82126 rm -f conftest.$ac_objext conftest$ac_exeext
82127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82128 (eval $ac_link) 2>conftest.er1
82129 ac_status=$?
82130 grep -v '^ *+' conftest.er1 >conftest.err
82131 rm -f conftest.er1
82132 cat conftest.err >&5
82133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82134 (exit $ac_status); } &&
82135 { ac_try='test -z "$ac_c_werror_flag"
82136 || test ! -s conftest.err'
82137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82138 (eval $ac_try) 2>&5
82139 ac_status=$?
82140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82141 (exit $ac_status); }; } &&
82142 { ac_try='test -s conftest$ac_exeext'
82143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82144 (eval $ac_try) 2>&5
82145 ac_status=$?
82146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82147 (exit $ac_status); }; }; then
82148 glibcxx_cv_S_IFREG=yes
82149 else
82150 echo "$as_me: failed program was:" >&5
82151 sed 's/^/| /' conftest.$ac_ext >&5
82153 glibcxx_cv_S_IFREG=no
82155 rm -f conftest.err conftest.$ac_objext \
82156 conftest$ac_exeext conftest.$ac_ext
82160 if test $glibcxx_cv_S_ISREG = yes; then
82161 cat >>confdefs.h <<\_ACEOF
82162 #define HAVE_S_ISREG 1
82163 _ACEOF
82165 elif test $glibcxx_cv_S_IFREG = yes; then
82166 cat >>confdefs.h <<\_ACEOF
82167 #define HAVE_S_IFREG 1
82168 _ACEOF
82173 # For xsputn_2().
82175 for ac_header in sys/uio.h
82177 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
82178 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82179 echo "$as_me:$LINENO: checking for $ac_header" >&5
82180 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82181 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82182 echo $ECHO_N "(cached) $ECHO_C" >&6
82184 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82185 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82186 else
82187 # Is the header compilable?
82188 echo "$as_me:$LINENO: checking $ac_header usability" >&5
82189 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
82190 cat >conftest.$ac_ext <<_ACEOF
82191 /* confdefs.h. */
82192 _ACEOF
82193 cat confdefs.h >>conftest.$ac_ext
82194 cat >>conftest.$ac_ext <<_ACEOF
82195 /* end confdefs.h. */
82196 $ac_includes_default
82197 #include <$ac_header>
82198 _ACEOF
82199 rm -f conftest.$ac_objext
82200 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82201 (eval $ac_compile) 2>conftest.er1
82202 ac_status=$?
82203 grep -v '^ *+' conftest.er1 >conftest.err
82204 rm -f conftest.er1
82205 cat conftest.err >&5
82206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82207 (exit $ac_status); } &&
82208 { ac_try='test -z "$ac_c_werror_flag"
82209 || test ! -s conftest.err'
82210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82211 (eval $ac_try) 2>&5
82212 ac_status=$?
82213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82214 (exit $ac_status); }; } &&
82215 { ac_try='test -s conftest.$ac_objext'
82216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82217 (eval $ac_try) 2>&5
82218 ac_status=$?
82219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82220 (exit $ac_status); }; }; then
82221 ac_header_compiler=yes
82222 else
82223 echo "$as_me: failed program was:" >&5
82224 sed 's/^/| /' conftest.$ac_ext >&5
82226 ac_header_compiler=no
82228 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82229 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82230 echo "${ECHO_T}$ac_header_compiler" >&6
82232 # Is the header present?
82233 echo "$as_me:$LINENO: checking $ac_header presence" >&5
82234 echo $ECHO_N "checking $ac_header presence... $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 #include <$ac_header>
82242 _ACEOF
82243 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82244 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82245 ac_status=$?
82246 grep -v '^ *+' conftest.er1 >conftest.err
82247 rm -f conftest.er1
82248 cat conftest.err >&5
82249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82250 (exit $ac_status); } >/dev/null; then
82251 if test -s conftest.err; then
82252 ac_cpp_err=$ac_c_preproc_warn_flag
82253 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82254 else
82255 ac_cpp_err=
82257 else
82258 ac_cpp_err=yes
82260 if test -z "$ac_cpp_err"; then
82261 ac_header_preproc=yes
82262 else
82263 echo "$as_me: failed program was:" >&5
82264 sed 's/^/| /' conftest.$ac_ext >&5
82266 ac_header_preproc=no
82268 rm -f conftest.err conftest.$ac_ext
82269 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82270 echo "${ECHO_T}$ac_header_preproc" >&6
82272 # So? What about this header?
82273 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82274 yes:no: )
82275 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
82276 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
82277 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
82278 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
82279 ac_header_preproc=yes
82281 no:yes:* )
82282 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
82283 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
82284 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
82285 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
82286 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
82287 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
82288 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
82289 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
82290 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
82291 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
82292 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
82293 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
82295 cat <<\_ASBOX
82296 ## ----------------------------------------- ##
82297 ## Report this to the package-unused lists. ##
82298 ## ----------------------------------------- ##
82299 _ASBOX
82301 sed "s/^/$as_me: WARNING: /" >&2
82303 esac
82304 echo "$as_me:$LINENO: checking for $ac_header" >&5
82305 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82306 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82307 echo $ECHO_N "(cached) $ECHO_C" >&6
82308 else
82309 eval "$as_ac_Header=\$ac_header_preproc"
82311 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82312 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82315 if test `eval echo '${'$as_ac_Header'}'` = yes; then
82316 cat >>confdefs.h <<_ACEOF
82317 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
82318 _ACEOF
82322 done
82325 if test "${glibcxx_cv_WRITEV+set}" = set; then
82326 echo $ECHO_N "(cached) $ECHO_C" >&6
82327 else
82329 if test x$gcc_no_link = xyes; then
82330 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82331 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82332 { (exit 1); exit 1; }; }
82334 cat >conftest.$ac_ext <<_ACEOF
82335 /* confdefs.h. */
82336 _ACEOF
82337 cat confdefs.h >>conftest.$ac_ext
82338 cat >>conftest.$ac_ext <<_ACEOF
82339 /* end confdefs.h. */
82340 #include <sys/uio.h>
82342 main ()
82344 struct iovec iov[2];
82345 writev(0, iov, 0);
82347 return 0;
82349 _ACEOF
82350 rm -f conftest.$ac_objext conftest$ac_exeext
82351 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82352 (eval $ac_link) 2>conftest.er1
82353 ac_status=$?
82354 grep -v '^ *+' conftest.er1 >conftest.err
82355 rm -f conftest.er1
82356 cat conftest.err >&5
82357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82358 (exit $ac_status); } &&
82359 { ac_try='test -z "$ac_c_werror_flag"
82360 || test ! -s conftest.err'
82361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82362 (eval $ac_try) 2>&5
82363 ac_status=$?
82364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82365 (exit $ac_status); }; } &&
82366 { ac_try='test -s conftest$ac_exeext'
82367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82368 (eval $ac_try) 2>&5
82369 ac_status=$?
82370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82371 (exit $ac_status); }; }; then
82372 glibcxx_cv_WRITEV=yes
82373 else
82374 echo "$as_me: failed program was:" >&5
82375 sed 's/^/| /' conftest.$ac_ext >&5
82377 glibcxx_cv_WRITEV=no
82379 rm -f conftest.err conftest.$ac_objext \
82380 conftest$ac_exeext conftest.$ac_ext
82384 if test $glibcxx_cv_WRITEV = yes; then
82385 cat >>confdefs.h <<\_ACEOF
82386 #define HAVE_WRITEV 1
82387 _ACEOF
82392 cat >>confdefs.h <<\_ACEOF
82393 #define HAVE_ACOSF 1
82394 _ACEOF
82396 cat >>confdefs.h <<\_ACEOF
82397 #define HAVE_ASINF 1
82398 _ACEOF
82400 cat >>confdefs.h <<\_ACEOF
82401 #define HAVE_ATANF 1
82402 _ACEOF
82404 cat >>confdefs.h <<\_ACEOF
82405 #define HAVE_ATAN2F 1
82406 _ACEOF
82408 cat >>confdefs.h <<\_ACEOF
82409 #define HAVE_CEILF 1
82410 _ACEOF
82412 cat >>confdefs.h <<\_ACEOF
82413 #define HAVE_COPYSIGN 1
82414 _ACEOF
82416 cat >>confdefs.h <<\_ACEOF
82417 #define HAVE_COPYSIGNF 1
82418 _ACEOF
82420 cat >>confdefs.h <<\_ACEOF
82421 #define HAVE_COSF 1
82422 _ACEOF
82424 cat >>confdefs.h <<\_ACEOF
82425 #define HAVE_COSHF 1
82426 _ACEOF
82428 cat >>confdefs.h <<\_ACEOF
82429 #define HAVE_EXPF 1
82430 _ACEOF
82432 cat >>confdefs.h <<\_ACEOF
82433 #define HAVE_FABSF 1
82434 _ACEOF
82436 cat >>confdefs.h <<\_ACEOF
82437 #define HAVE_FINITE 1
82438 _ACEOF
82440 cat >>confdefs.h <<\_ACEOF
82441 #define HAVE_FINITEF 1
82442 _ACEOF
82444 cat >>confdefs.h <<\_ACEOF
82445 #define HAVE_FLOORF 1
82446 _ACEOF
82448 cat >>confdefs.h <<\_ACEOF
82449 #define HAVE_FMODF 1
82450 _ACEOF
82452 cat >>confdefs.h <<\_ACEOF
82453 #define HAVE_FREXPF 1
82454 _ACEOF
82456 cat >>confdefs.h <<\_ACEOF
82457 #define HAVE_HYPOT 1
82458 _ACEOF
82460 cat >>confdefs.h <<\_ACEOF
82461 #define HAVE_HYPOTF 1
82462 _ACEOF
82464 cat >>confdefs.h <<\_ACEOF
82465 #define HAVE_ISINF 1
82466 _ACEOF
82468 cat >>confdefs.h <<\_ACEOF
82469 #define HAVE_ISINFF 1
82470 _ACEOF
82472 cat >>confdefs.h <<\_ACEOF
82473 #define HAVE_ISNAN 1
82474 _ACEOF
82476 cat >>confdefs.h <<\_ACEOF
82477 #define HAVE_ISNANF 1
82478 _ACEOF
82480 cat >>confdefs.h <<\_ACEOF
82481 #define HAVE_LOGF 1
82482 _ACEOF
82484 cat >>confdefs.h <<\_ACEOF
82485 #define HAVE_LOG10F 1
82486 _ACEOF
82488 cat >>confdefs.h <<\_ACEOF
82489 #define HAVE_MODFF 1
82490 _ACEOF
82492 cat >>confdefs.h <<\_ACEOF
82493 #define HAVE_SINF 1
82494 _ACEOF
82496 cat >>confdefs.h <<\_ACEOF
82497 #define HAVE_SINHF 1
82498 _ACEOF
82500 cat >>confdefs.h <<\_ACEOF
82501 #define HAVE_SINCOS 1
82502 _ACEOF
82504 cat >>confdefs.h <<\_ACEOF
82505 #define HAVE_SINCOSF 1
82506 _ACEOF
82508 cat >>confdefs.h <<\_ACEOF
82509 #define HAVE_SQRTF 1
82510 _ACEOF
82512 cat >>confdefs.h <<\_ACEOF
82513 #define HAVE_TANF 1
82514 _ACEOF
82516 cat >>confdefs.h <<\_ACEOF
82517 #define HAVE_TANHF 1
82518 _ACEOF
82520 if test x"long_double_math_on_this_cpu" = x"yes"; then
82521 cat >>confdefs.h <<\_ACEOF
82522 #define HAVE_ACOSL 1
82523 _ACEOF
82525 cat >>confdefs.h <<\_ACEOF
82526 #define HAVE_ASINL 1
82527 _ACEOF
82529 cat >>confdefs.h <<\_ACEOF
82530 #define HAVE_ATANL 1
82531 _ACEOF
82533 cat >>confdefs.h <<\_ACEOF
82534 #define HAVE_ATAN2L 1
82535 _ACEOF
82537 cat >>confdefs.h <<\_ACEOF
82538 #define HAVE_CEILL 1
82539 _ACEOF
82541 cat >>confdefs.h <<\_ACEOF
82542 #define HAVE_COPYSIGNL 1
82543 _ACEOF
82545 cat >>confdefs.h <<\_ACEOF
82546 #define HAVE_COSL 1
82547 _ACEOF
82549 cat >>confdefs.h <<\_ACEOF
82550 #define HAVE_COSHL 1
82551 _ACEOF
82553 cat >>confdefs.h <<\_ACEOF
82554 #define HAVE_EXPL 1
82555 _ACEOF
82557 cat >>confdefs.h <<\_ACEOF
82558 #define HAVE_FABSL 1
82559 _ACEOF
82561 cat >>confdefs.h <<\_ACEOF
82562 #define HAVE_FINITEL 1
82563 _ACEOF
82565 cat >>confdefs.h <<\_ACEOF
82566 #define HAVE_FLOORL 1
82567 _ACEOF
82569 cat >>confdefs.h <<\_ACEOF
82570 #define HAVE_FMODL 1
82571 _ACEOF
82573 cat >>confdefs.h <<\_ACEOF
82574 #define HAVE_FREXPL 1
82575 _ACEOF
82577 cat >>confdefs.h <<\_ACEOF
82578 #define HAVE_HYPOTL 1
82579 _ACEOF
82581 cat >>confdefs.h <<\_ACEOF
82582 #define HAVE_ISINFL 1
82583 _ACEOF
82585 cat >>confdefs.h <<\_ACEOF
82586 #define HAVE_ISNANL 1
82587 _ACEOF
82589 cat >>confdefs.h <<\_ACEOF
82590 #define HAVE_LOGL 1
82591 _ACEOF
82593 cat >>confdefs.h <<\_ACEOF
82594 #define HAVE_LOG10L 1
82595 _ACEOF
82597 cat >>confdefs.h <<\_ACEOF
82598 #define HAVE_MODFL 1
82599 _ACEOF
82601 cat >>confdefs.h <<\_ACEOF
82602 #define HAVE_POWL 1
82603 _ACEOF
82605 cat >>confdefs.h <<\_ACEOF
82606 #define HAVE_SINL 1
82607 _ACEOF
82609 cat >>confdefs.h <<\_ACEOF
82610 #define HAVE_SINHL 1
82611 _ACEOF
82613 cat >>confdefs.h <<\_ACEOF
82614 #define HAVE_SINCOSL 1
82615 _ACEOF
82617 cat >>confdefs.h <<\_ACEOF
82618 #define HAVE_SQRTL 1
82619 _ACEOF
82621 cat >>confdefs.h <<\_ACEOF
82622 #define HAVE_TANL 1
82623 _ACEOF
82625 cat >>confdefs.h <<\_ACEOF
82626 #define HAVE_TANHL 1
82627 _ACEOF
82631 *-mingw32*)
82635 for ac_header in sys/types.h locale.h float.h
82637 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
82638 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82639 echo "$as_me:$LINENO: checking for $ac_header" >&5
82640 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82641 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82642 echo $ECHO_N "(cached) $ECHO_C" >&6
82644 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82645 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82646 else
82647 # Is the header compilable?
82648 echo "$as_me:$LINENO: checking $ac_header usability" >&5
82649 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
82650 cat >conftest.$ac_ext <<_ACEOF
82651 /* confdefs.h. */
82652 _ACEOF
82653 cat confdefs.h >>conftest.$ac_ext
82654 cat >>conftest.$ac_ext <<_ACEOF
82655 /* end confdefs.h. */
82656 $ac_includes_default
82657 #include <$ac_header>
82658 _ACEOF
82659 rm -f conftest.$ac_objext
82660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82661 (eval $ac_compile) 2>conftest.er1
82662 ac_status=$?
82663 grep -v '^ *+' conftest.er1 >conftest.err
82664 rm -f conftest.er1
82665 cat conftest.err >&5
82666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82667 (exit $ac_status); } &&
82668 { ac_try='test -z "$ac_c_werror_flag"
82669 || test ! -s conftest.err'
82670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82671 (eval $ac_try) 2>&5
82672 ac_status=$?
82673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82674 (exit $ac_status); }; } &&
82675 { ac_try='test -s conftest.$ac_objext'
82676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82677 (eval $ac_try) 2>&5
82678 ac_status=$?
82679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82680 (exit $ac_status); }; }; then
82681 ac_header_compiler=yes
82682 else
82683 echo "$as_me: failed program was:" >&5
82684 sed 's/^/| /' conftest.$ac_ext >&5
82686 ac_header_compiler=no
82688 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82689 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
82690 echo "${ECHO_T}$ac_header_compiler" >&6
82692 # Is the header present?
82693 echo "$as_me:$LINENO: checking $ac_header presence" >&5
82694 echo $ECHO_N "checking $ac_header presence... $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 #include <$ac_header>
82702 _ACEOF
82703 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
82704 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
82705 ac_status=$?
82706 grep -v '^ *+' conftest.er1 >conftest.err
82707 rm -f conftest.er1
82708 cat conftest.err >&5
82709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82710 (exit $ac_status); } >/dev/null; then
82711 if test -s conftest.err; then
82712 ac_cpp_err=$ac_c_preproc_warn_flag
82713 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
82714 else
82715 ac_cpp_err=
82717 else
82718 ac_cpp_err=yes
82720 if test -z "$ac_cpp_err"; then
82721 ac_header_preproc=yes
82722 else
82723 echo "$as_me: failed program was:" >&5
82724 sed 's/^/| /' conftest.$ac_ext >&5
82726 ac_header_preproc=no
82728 rm -f conftest.err conftest.$ac_ext
82729 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
82730 echo "${ECHO_T}$ac_header_preproc" >&6
82732 # So? What about this header?
82733 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
82734 yes:no: )
82735 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
82736 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
82737 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
82738 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
82739 ac_header_preproc=yes
82741 no:yes:* )
82742 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
82743 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
82744 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
82745 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
82746 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
82747 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
82748 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
82749 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
82750 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
82751 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
82752 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
82753 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
82755 cat <<\_ASBOX
82756 ## ----------------------------------------- ##
82757 ## Report this to the package-unused lists. ##
82758 ## ----------------------------------------- ##
82759 _ASBOX
82761 sed "s/^/$as_me: WARNING: /" >&2
82763 esac
82764 echo "$as_me:$LINENO: checking for $ac_header" >&5
82765 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
82766 if eval "test \"\${$as_ac_Header+set}\" = set"; then
82767 echo $ECHO_N "(cached) $ECHO_C" >&6
82768 else
82769 eval "$as_ac_Header=\$ac_header_preproc"
82771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
82772 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
82775 if test `eval echo '${'$as_ac_Header'}'` = yes; then
82776 cat >>confdefs.h <<_ACEOF
82777 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
82778 _ACEOF
82782 done
82785 # If we're not using GNU ld, then there's no point in even trying these
82786 # tests. Check for that first. We should have already tested for gld
82787 # by now (in libtool), but require it now just to be safe...
82788 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
82789 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
82793 # The name set by libtool depends on the version of libtool. Shame on us
82794 # for depending on an impl detail, but c'est la vie. Older versions used
82795 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
82796 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
82797 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
82798 # set (hence we're using an older libtool), then set it.
82799 if test x${with_gnu_ld+set} != xset; then
82800 if test x${ac_cv_prog_gnu_ld+set} != xset; then
82801 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
82802 with_gnu_ld=no
82803 else
82804 with_gnu_ld=$ac_cv_prog_gnu_ld
82808 # Start by getting the version number. I think the libtool test already
82809 # does some of this, but throws away the result.
82811 ldver=`$LD --version 2>/dev/null | head -1 | \
82812 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
82814 glibcxx_gnu_ld_version=`echo $ldver | \
82815 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
82817 # Set --gc-sections.
82818 if test "$with_gnu_ld" = "notbroken"; then
82819 # GNU ld it is! Joy and bunny rabbits!
82821 # All these tests are for C++; save the language and the compiler flags.
82822 # Need to do this so that g++ won't try to link in libstdc++
82823 ac_test_CFLAGS="${CFLAGS+set}"
82824 ac_save_CFLAGS="$CFLAGS"
82825 CFLAGS='-x c++ -Wl,--gc-sections'
82827 # Check for -Wl,--gc-sections
82828 # XXX This test is broken at the moment, as symbols required for linking
82829 # are now in libsupc++ (not built yet). In addition, this test has
82830 # cored on solaris in the past. In addition, --gc-sections doesn't
82831 # really work at the moment (keeps on discarding used sections, first
82832 # .eh_frame and now some of the glibc sections for iconv).
82833 # Bzzzzt. Thanks for playing, maybe next time.
82834 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
82835 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
82836 if test "$cross_compiling" = yes; then
82837 ac_sectionLDflags=yes
82838 else
82839 cat >conftest.$ac_ext <<_ACEOF
82840 /* confdefs.h. */
82841 _ACEOF
82842 cat confdefs.h >>conftest.$ac_ext
82843 cat >>conftest.$ac_ext <<_ACEOF
82844 /* end confdefs.h. */
82846 int main(void)
82848 try { throw 1; }
82849 catch (...) { };
82850 return 0;
82853 _ACEOF
82854 rm -f conftest$ac_exeext
82855 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82856 (eval $ac_link) 2>&5
82857 ac_status=$?
82858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82859 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
82860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82861 (eval $ac_try) 2>&5
82862 ac_status=$?
82863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82864 (exit $ac_status); }; }; then
82865 ac_sectionLDflags=yes
82866 else
82867 echo "$as_me: program exited with status $ac_status" >&5
82868 echo "$as_me: failed program was:" >&5
82869 sed 's/^/| /' conftest.$ac_ext >&5
82871 ( exit $ac_status )
82872 ac_sectionLDflags=no
82874 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
82876 if test "$ac_test_CFLAGS" = set; then
82877 CFLAGS="$ac_save_CFLAGS"
82878 else
82879 # this is the suspicious part
82880 CFLAGS=''
82882 if test "$ac_sectionLDflags" = "yes"; then
82883 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
82885 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
82886 echo "${ECHO_T}$ac_sectionLDflags" >&6
82889 # Set linker optimization flags.
82890 if test x"$with_gnu_ld" = x"yes"; then
82891 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
82899 echo "$as_me:$LINENO: checking for main in -lm" >&5
82900 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
82901 if test "${ac_cv_lib_m_main+set}" = set; then
82902 echo $ECHO_N "(cached) $ECHO_C" >&6
82903 else
82904 ac_check_lib_save_LIBS=$LIBS
82905 LIBS="-lm $LIBS"
82906 if test x$gcc_no_link = xyes; then
82907 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82908 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82909 { (exit 1); exit 1; }; }
82911 cat >conftest.$ac_ext <<_ACEOF
82912 /* confdefs.h. */
82913 _ACEOF
82914 cat confdefs.h >>conftest.$ac_ext
82915 cat >>conftest.$ac_ext <<_ACEOF
82916 /* end confdefs.h. */
82920 main ()
82922 main ();
82924 return 0;
82926 _ACEOF
82927 rm -f conftest.$ac_objext conftest$ac_exeext
82928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82929 (eval $ac_link) 2>conftest.er1
82930 ac_status=$?
82931 grep -v '^ *+' conftest.er1 >conftest.err
82932 rm -f conftest.er1
82933 cat conftest.err >&5
82934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82935 (exit $ac_status); } &&
82936 { ac_try='test -z "$ac_c_werror_flag"
82937 || test ! -s conftest.err'
82938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82939 (eval $ac_try) 2>&5
82940 ac_status=$?
82941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82942 (exit $ac_status); }; } &&
82943 { ac_try='test -s conftest$ac_exeext'
82944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82945 (eval $ac_try) 2>&5
82946 ac_status=$?
82947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82948 (exit $ac_status); }; }; then
82949 ac_cv_lib_m_main=yes
82950 else
82951 echo "$as_me: failed program was:" >&5
82952 sed 's/^/| /' conftest.$ac_ext >&5
82954 ac_cv_lib_m_main=no
82956 rm -f conftest.err conftest.$ac_objext \
82957 conftest$ac_exeext conftest.$ac_ext
82958 LIBS=$ac_check_lib_save_LIBS
82960 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
82961 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
82962 if test $ac_cv_lib_m_main = yes; then
82963 cat >>confdefs.h <<_ACEOF
82964 #define HAVE_LIBM 1
82965 _ACEOF
82967 LIBS="-lm $LIBS"
82972 for ac_func in copysignf
82974 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82975 echo "$as_me:$LINENO: checking for $ac_func" >&5
82976 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82977 if eval "test \"\${$as_ac_var+set}\" = set"; then
82978 echo $ECHO_N "(cached) $ECHO_C" >&6
82979 else
82980 if test x$gcc_no_link = xyes; then
82981 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82982 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82983 { (exit 1); exit 1; }; }
82985 cat >conftest.$ac_ext <<_ACEOF
82986 /* confdefs.h. */
82987 _ACEOF
82988 cat confdefs.h >>conftest.$ac_ext
82989 cat >>conftest.$ac_ext <<_ACEOF
82990 /* end confdefs.h. */
82991 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82992 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82993 #define $ac_func innocuous_$ac_func
82995 /* System header to define __stub macros and hopefully few prototypes,
82996 which can conflict with char $ac_func (); below.
82997 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82998 <limits.h> exists even on freestanding compilers. */
83000 #ifdef __STDC__
83001 # include <limits.h>
83002 #else
83003 # include <assert.h>
83004 #endif
83006 #undef $ac_func
83008 /* Override any gcc2 internal prototype to avoid an error. */
83009 #ifdef __cplusplus
83010 extern "C"
83012 #endif
83013 /* We use char because int might match the return type of a gcc2
83014 builtin and then its argument prototype would still apply. */
83015 char $ac_func ();
83016 /* The GNU C library defines this for functions which it implements
83017 to always fail with ENOSYS. Some functions are actually named
83018 something starting with __ and the normal name is an alias. */
83019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83020 choke me
83021 #else
83022 char (*f) () = $ac_func;
83023 #endif
83024 #ifdef __cplusplus
83026 #endif
83029 main ()
83031 return f != $ac_func;
83033 return 0;
83035 _ACEOF
83036 rm -f conftest.$ac_objext conftest$ac_exeext
83037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83038 (eval $ac_link) 2>conftest.er1
83039 ac_status=$?
83040 grep -v '^ *+' conftest.er1 >conftest.err
83041 rm -f conftest.er1
83042 cat conftest.err >&5
83043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83044 (exit $ac_status); } &&
83045 { ac_try='test -z "$ac_c_werror_flag"
83046 || test ! -s conftest.err'
83047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83048 (eval $ac_try) 2>&5
83049 ac_status=$?
83050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83051 (exit $ac_status); }; } &&
83052 { ac_try='test -s conftest$ac_exeext'
83053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83054 (eval $ac_try) 2>&5
83055 ac_status=$?
83056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83057 (exit $ac_status); }; }; then
83058 eval "$as_ac_var=yes"
83059 else
83060 echo "$as_me: failed program was:" >&5
83061 sed 's/^/| /' conftest.$ac_ext >&5
83063 eval "$as_ac_var=no"
83065 rm -f conftest.err conftest.$ac_objext \
83066 conftest$ac_exeext conftest.$ac_ext
83068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83069 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83070 if test `eval echo '${'$as_ac_var'}'` = yes; then
83071 cat >>confdefs.h <<_ACEOF
83072 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83073 _ACEOF
83075 else
83076 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
83078 done
83082 for ac_func in __signbit
83084 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83085 echo "$as_me:$LINENO: checking for $ac_func" >&5
83086 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83087 if eval "test \"\${$as_ac_var+set}\" = set"; then
83088 echo $ECHO_N "(cached) $ECHO_C" >&6
83089 else
83090 if test x$gcc_no_link = xyes; then
83091 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83093 { (exit 1); exit 1; }; }
83095 cat >conftest.$ac_ext <<_ACEOF
83096 /* confdefs.h. */
83097 _ACEOF
83098 cat confdefs.h >>conftest.$ac_ext
83099 cat >>conftest.$ac_ext <<_ACEOF
83100 /* end confdefs.h. */
83101 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83102 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83103 #define $ac_func innocuous_$ac_func
83105 /* System header to define __stub macros and hopefully few prototypes,
83106 which can conflict with char $ac_func (); below.
83107 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83108 <limits.h> exists even on freestanding compilers. */
83110 #ifdef __STDC__
83111 # include <limits.h>
83112 #else
83113 # include <assert.h>
83114 #endif
83116 #undef $ac_func
83118 /* Override any gcc2 internal prototype to avoid an error. */
83119 #ifdef __cplusplus
83120 extern "C"
83122 #endif
83123 /* We use char because int might match the return type of a gcc2
83124 builtin and then its argument prototype would still apply. */
83125 char $ac_func ();
83126 /* The GNU C library defines this for functions which it implements
83127 to always fail with ENOSYS. Some functions are actually named
83128 something starting with __ and the normal name is an alias. */
83129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83130 choke me
83131 #else
83132 char (*f) () = $ac_func;
83133 #endif
83134 #ifdef __cplusplus
83136 #endif
83139 main ()
83141 return f != $ac_func;
83143 return 0;
83145 _ACEOF
83146 rm -f conftest.$ac_objext conftest$ac_exeext
83147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83148 (eval $ac_link) 2>conftest.er1
83149 ac_status=$?
83150 grep -v '^ *+' conftest.er1 >conftest.err
83151 rm -f conftest.er1
83152 cat conftest.err >&5
83153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83154 (exit $ac_status); } &&
83155 { ac_try='test -z "$ac_c_werror_flag"
83156 || test ! -s conftest.err'
83157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83158 (eval $ac_try) 2>&5
83159 ac_status=$?
83160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83161 (exit $ac_status); }; } &&
83162 { ac_try='test -s conftest$ac_exeext'
83163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83164 (eval $ac_try) 2>&5
83165 ac_status=$?
83166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83167 (exit $ac_status); }; }; then
83168 eval "$as_ac_var=yes"
83169 else
83170 echo "$as_me: failed program was:" >&5
83171 sed 's/^/| /' conftest.$ac_ext >&5
83173 eval "$as_ac_var=no"
83175 rm -f conftest.err conftest.$ac_objext \
83176 conftest$ac_exeext conftest.$ac_ext
83178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83179 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83180 if test `eval echo '${'$as_ac_var'}'` = yes; then
83181 cat >>confdefs.h <<_ACEOF
83182 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83183 _ACEOF
83185 else
83186 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
83188 done
83192 for ac_func in __signbitf
83194 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83195 echo "$as_me:$LINENO: checking for $ac_func" >&5
83196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83197 if eval "test \"\${$as_ac_var+set}\" = set"; then
83198 echo $ECHO_N "(cached) $ECHO_C" >&6
83199 else
83200 if test x$gcc_no_link = xyes; then
83201 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83202 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83203 { (exit 1); exit 1; }; }
83205 cat >conftest.$ac_ext <<_ACEOF
83206 /* confdefs.h. */
83207 _ACEOF
83208 cat confdefs.h >>conftest.$ac_ext
83209 cat >>conftest.$ac_ext <<_ACEOF
83210 /* end confdefs.h. */
83211 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83212 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83213 #define $ac_func innocuous_$ac_func
83215 /* System header to define __stub macros and hopefully few prototypes,
83216 which can conflict with char $ac_func (); below.
83217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83218 <limits.h> exists even on freestanding compilers. */
83220 #ifdef __STDC__
83221 # include <limits.h>
83222 #else
83223 # include <assert.h>
83224 #endif
83226 #undef $ac_func
83228 /* Override any gcc2 internal prototype to avoid an error. */
83229 #ifdef __cplusplus
83230 extern "C"
83232 #endif
83233 /* We use char because int might match the return type of a gcc2
83234 builtin and then its argument prototype would still apply. */
83235 char $ac_func ();
83236 /* The GNU C library defines this for functions which it implements
83237 to always fail with ENOSYS. Some functions are actually named
83238 something starting with __ and the normal name is an alias. */
83239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83240 choke me
83241 #else
83242 char (*f) () = $ac_func;
83243 #endif
83244 #ifdef __cplusplus
83246 #endif
83249 main ()
83251 return f != $ac_func;
83253 return 0;
83255 _ACEOF
83256 rm -f conftest.$ac_objext conftest$ac_exeext
83257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83258 (eval $ac_link) 2>conftest.er1
83259 ac_status=$?
83260 grep -v '^ *+' conftest.er1 >conftest.err
83261 rm -f conftest.er1
83262 cat conftest.err >&5
83263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83264 (exit $ac_status); } &&
83265 { ac_try='test -z "$ac_c_werror_flag"
83266 || test ! -s conftest.err'
83267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83268 (eval $ac_try) 2>&5
83269 ac_status=$?
83270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83271 (exit $ac_status); }; } &&
83272 { ac_try='test -s conftest$ac_exeext'
83273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83274 (eval $ac_try) 2>&5
83275 ac_status=$?
83276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83277 (exit $ac_status); }; }; then
83278 eval "$as_ac_var=yes"
83279 else
83280 echo "$as_me: failed program was:" >&5
83281 sed 's/^/| /' conftest.$ac_ext >&5
83283 eval "$as_ac_var=no"
83285 rm -f conftest.err conftest.$ac_objext \
83286 conftest$ac_exeext conftest.$ac_ext
83288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83289 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83290 if test `eval echo '${'$as_ac_var'}'` = yes; then
83291 cat >>confdefs.h <<_ACEOF
83292 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83293 _ACEOF
83295 else
83296 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
83298 done
83301 if test x$ac_cv_func_copysignl = x"yes"; then
83303 for ac_func in __signbitl
83305 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83306 echo "$as_me:$LINENO: checking for $ac_func" >&5
83307 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83308 if eval "test \"\${$as_ac_var+set}\" = set"; then
83309 echo $ECHO_N "(cached) $ECHO_C" >&6
83310 else
83311 if test x$gcc_no_link = xyes; then
83312 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83313 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83314 { (exit 1); exit 1; }; }
83316 cat >conftest.$ac_ext <<_ACEOF
83317 /* confdefs.h. */
83318 _ACEOF
83319 cat confdefs.h >>conftest.$ac_ext
83320 cat >>conftest.$ac_ext <<_ACEOF
83321 /* end confdefs.h. */
83322 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83323 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83324 #define $ac_func innocuous_$ac_func
83326 /* System header to define __stub macros and hopefully few prototypes,
83327 which can conflict with char $ac_func (); below.
83328 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83329 <limits.h> exists even on freestanding compilers. */
83331 #ifdef __STDC__
83332 # include <limits.h>
83333 #else
83334 # include <assert.h>
83335 #endif
83337 #undef $ac_func
83339 /* Override any gcc2 internal prototype to avoid an error. */
83340 #ifdef __cplusplus
83341 extern "C"
83343 #endif
83344 /* We use char because int might match the return type of a gcc2
83345 builtin and then its argument prototype would still apply. */
83346 char $ac_func ();
83347 /* The GNU C library defines this for functions which it implements
83348 to always fail with ENOSYS. Some functions are actually named
83349 something starting with __ and the normal name is an alias. */
83350 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83351 choke me
83352 #else
83353 char (*f) () = $ac_func;
83354 #endif
83355 #ifdef __cplusplus
83357 #endif
83360 main ()
83362 return f != $ac_func;
83364 return 0;
83366 _ACEOF
83367 rm -f conftest.$ac_objext conftest$ac_exeext
83368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83369 (eval $ac_link) 2>conftest.er1
83370 ac_status=$?
83371 grep -v '^ *+' conftest.er1 >conftest.err
83372 rm -f conftest.er1
83373 cat conftest.err >&5
83374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83375 (exit $ac_status); } &&
83376 { ac_try='test -z "$ac_c_werror_flag"
83377 || test ! -s conftest.err'
83378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83379 (eval $ac_try) 2>&5
83380 ac_status=$?
83381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83382 (exit $ac_status); }; } &&
83383 { ac_try='test -s conftest$ac_exeext'
83384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83385 (eval $ac_try) 2>&5
83386 ac_status=$?
83387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83388 (exit $ac_status); }; }; then
83389 eval "$as_ac_var=yes"
83390 else
83391 echo "$as_me: failed program was:" >&5
83392 sed 's/^/| /' conftest.$ac_ext >&5
83394 eval "$as_ac_var=no"
83396 rm -f conftest.err conftest.$ac_objext \
83397 conftest$ac_exeext conftest.$ac_ext
83399 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83400 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83401 if test `eval echo '${'$as_ac_var'}'` = yes; then
83402 cat >>confdefs.h <<_ACEOF
83403 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83404 _ACEOF
83406 else
83407 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
83409 done
83413 # Used in libmath/Makefile.am.
83414 if test -n "$LIBMATHOBJS"; then
83415 need_libmath=yes
83420 # Test wchar.h for mbstate_t, which is needed for char_traits and
83421 # others even if wchar_t support is not on.
83422 echo "$as_me:$LINENO: checking for mbstate_t" >&5
83423 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
83424 cat >conftest.$ac_ext <<_ACEOF
83425 /* confdefs.h. */
83426 _ACEOF
83427 cat confdefs.h >>conftest.$ac_ext
83428 cat >>conftest.$ac_ext <<_ACEOF
83429 /* end confdefs.h. */
83430 #include <wchar.h>
83432 main ()
83434 mbstate_t teststate;
83436 return 0;
83438 _ACEOF
83439 rm -f conftest.$ac_objext
83440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83441 (eval $ac_compile) 2>conftest.er1
83442 ac_status=$?
83443 grep -v '^ *+' conftest.er1 >conftest.err
83444 rm -f conftest.er1
83445 cat conftest.err >&5
83446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83447 (exit $ac_status); } &&
83448 { ac_try='test -z "$ac_c_werror_flag"
83449 || test ! -s conftest.err'
83450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83451 (eval $ac_try) 2>&5
83452 ac_status=$?
83453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83454 (exit $ac_status); }; } &&
83455 { ac_try='test -s conftest.$ac_objext'
83456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83457 (eval $ac_try) 2>&5
83458 ac_status=$?
83459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83460 (exit $ac_status); }; }; then
83461 have_mbstate_t=yes
83462 else
83463 echo "$as_me: failed program was:" >&5
83464 sed 's/^/| /' conftest.$ac_ext >&5
83466 have_mbstate_t=no
83468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83469 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
83470 echo "${ECHO_T}$have_mbstate_t" >&6
83471 if test x"$have_mbstate_t" = xyes; then
83472 cat >>confdefs.h <<\_ACEOF
83473 #define HAVE_MBSTATE_T 1
83474 _ACEOF
83478 # Sanity check for existence of ISO C99 headers for extended encoding.
83480 for ac_header in wchar.h
83482 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
83483 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83484 echo "$as_me:$LINENO: checking for $ac_header" >&5
83485 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83486 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83487 echo $ECHO_N "(cached) $ECHO_C" >&6
83489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83490 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83491 else
83492 # Is the header compilable?
83493 echo "$as_me:$LINENO: checking $ac_header usability" >&5
83494 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
83495 cat >conftest.$ac_ext <<_ACEOF
83496 /* confdefs.h. */
83497 _ACEOF
83498 cat confdefs.h >>conftest.$ac_ext
83499 cat >>conftest.$ac_ext <<_ACEOF
83500 /* end confdefs.h. */
83501 $ac_includes_default
83502 #include <$ac_header>
83503 _ACEOF
83504 rm -f conftest.$ac_objext
83505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83506 (eval $ac_compile) 2>conftest.er1
83507 ac_status=$?
83508 grep -v '^ *+' conftest.er1 >conftest.err
83509 rm -f conftest.er1
83510 cat conftest.err >&5
83511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83512 (exit $ac_status); } &&
83513 { ac_try='test -z "$ac_c_werror_flag"
83514 || test ! -s conftest.err'
83515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83516 (eval $ac_try) 2>&5
83517 ac_status=$?
83518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83519 (exit $ac_status); }; } &&
83520 { ac_try='test -s conftest.$ac_objext'
83521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83522 (eval $ac_try) 2>&5
83523 ac_status=$?
83524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83525 (exit $ac_status); }; }; then
83526 ac_header_compiler=yes
83527 else
83528 echo "$as_me: failed program was:" >&5
83529 sed 's/^/| /' conftest.$ac_ext >&5
83531 ac_header_compiler=no
83533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83534 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83535 echo "${ECHO_T}$ac_header_compiler" >&6
83537 # Is the header present?
83538 echo "$as_me:$LINENO: checking $ac_header presence" >&5
83539 echo $ECHO_N "checking $ac_header presence... $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 #include <$ac_header>
83547 _ACEOF
83548 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83549 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83550 ac_status=$?
83551 grep -v '^ *+' conftest.er1 >conftest.err
83552 rm -f conftest.er1
83553 cat conftest.err >&5
83554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83555 (exit $ac_status); } >/dev/null; then
83556 if test -s conftest.err; then
83557 ac_cpp_err=$ac_c_preproc_warn_flag
83558 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83559 else
83560 ac_cpp_err=
83562 else
83563 ac_cpp_err=yes
83565 if test -z "$ac_cpp_err"; then
83566 ac_header_preproc=yes
83567 else
83568 echo "$as_me: failed program was:" >&5
83569 sed 's/^/| /' conftest.$ac_ext >&5
83571 ac_header_preproc=no
83573 rm -f conftest.err conftest.$ac_ext
83574 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83575 echo "${ECHO_T}$ac_header_preproc" >&6
83577 # So? What about this header?
83578 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83579 yes:no: )
83580 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
83581 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
83582 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
83583 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
83584 ac_header_preproc=yes
83586 no:yes:* )
83587 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
83588 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
83589 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
83590 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
83591 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
83592 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
83593 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
83594 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
83595 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
83596 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
83597 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
83598 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
83600 cat <<\_ASBOX
83601 ## ----------------------------------------- ##
83602 ## Report this to the package-unused lists. ##
83603 ## ----------------------------------------- ##
83604 _ASBOX
83606 sed "s/^/$as_me: WARNING: /" >&2
83608 esac
83609 echo "$as_me:$LINENO: checking for $ac_header" >&5
83610 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83611 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83612 echo $ECHO_N "(cached) $ECHO_C" >&6
83613 else
83614 eval "$as_ac_Header=\$ac_header_preproc"
83616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83617 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83620 if test `eval echo '${'$as_ac_Header'}'` = yes; then
83621 cat >>confdefs.h <<_ACEOF
83622 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
83623 _ACEOF
83624 ac_has_wchar_h=yes
83625 else
83626 ac_has_wchar_h=no
83629 done
83632 for ac_header in wctype.h
83634 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
83635 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83636 echo "$as_me:$LINENO: checking for $ac_header" >&5
83637 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83638 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83639 echo $ECHO_N "(cached) $ECHO_C" >&6
83641 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83642 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83643 else
83644 # Is the header compilable?
83645 echo "$as_me:$LINENO: checking $ac_header usability" >&5
83646 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
83647 cat >conftest.$ac_ext <<_ACEOF
83648 /* confdefs.h. */
83649 _ACEOF
83650 cat confdefs.h >>conftest.$ac_ext
83651 cat >>conftest.$ac_ext <<_ACEOF
83652 /* end confdefs.h. */
83653 $ac_includes_default
83654 #include <$ac_header>
83655 _ACEOF
83656 rm -f conftest.$ac_objext
83657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83658 (eval $ac_compile) 2>conftest.er1
83659 ac_status=$?
83660 grep -v '^ *+' conftest.er1 >conftest.err
83661 rm -f conftest.er1
83662 cat conftest.err >&5
83663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83664 (exit $ac_status); } &&
83665 { ac_try='test -z "$ac_c_werror_flag"
83666 || test ! -s conftest.err'
83667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83668 (eval $ac_try) 2>&5
83669 ac_status=$?
83670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83671 (exit $ac_status); }; } &&
83672 { ac_try='test -s conftest.$ac_objext'
83673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83674 (eval $ac_try) 2>&5
83675 ac_status=$?
83676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83677 (exit $ac_status); }; }; then
83678 ac_header_compiler=yes
83679 else
83680 echo "$as_me: failed program was:" >&5
83681 sed 's/^/| /' conftest.$ac_ext >&5
83683 ac_header_compiler=no
83685 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83686 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
83687 echo "${ECHO_T}$ac_header_compiler" >&6
83689 # Is the header present?
83690 echo "$as_me:$LINENO: checking $ac_header presence" >&5
83691 echo $ECHO_N "checking $ac_header presence... $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 #include <$ac_header>
83699 _ACEOF
83700 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
83701 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
83702 ac_status=$?
83703 grep -v '^ *+' conftest.er1 >conftest.err
83704 rm -f conftest.er1
83705 cat conftest.err >&5
83706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83707 (exit $ac_status); } >/dev/null; then
83708 if test -s conftest.err; then
83709 ac_cpp_err=$ac_c_preproc_warn_flag
83710 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
83711 else
83712 ac_cpp_err=
83714 else
83715 ac_cpp_err=yes
83717 if test -z "$ac_cpp_err"; then
83718 ac_header_preproc=yes
83719 else
83720 echo "$as_me: failed program was:" >&5
83721 sed 's/^/| /' conftest.$ac_ext >&5
83723 ac_header_preproc=no
83725 rm -f conftest.err conftest.$ac_ext
83726 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
83727 echo "${ECHO_T}$ac_header_preproc" >&6
83729 # So? What about this header?
83730 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
83731 yes:no: )
83732 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
83733 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
83734 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
83735 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
83736 ac_header_preproc=yes
83738 no:yes:* )
83739 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
83740 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
83741 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
83742 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
83743 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
83744 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
83745 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
83746 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
83747 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
83748 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
83749 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
83750 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
83752 cat <<\_ASBOX
83753 ## ----------------------------------------- ##
83754 ## Report this to the package-unused lists. ##
83755 ## ----------------------------------------- ##
83756 _ASBOX
83758 sed "s/^/$as_me: WARNING: /" >&2
83760 esac
83761 echo "$as_me:$LINENO: checking for $ac_header" >&5
83762 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
83763 if eval "test \"\${$as_ac_Header+set}\" = set"; then
83764 echo $ECHO_N "(cached) $ECHO_C" >&6
83765 else
83766 eval "$as_ac_Header=\$ac_header_preproc"
83768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
83769 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
83772 if test `eval echo '${'$as_ac_Header'}'` = yes; then
83773 cat >>confdefs.h <<_ACEOF
83774 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
83775 _ACEOF
83776 ac_has_wctype_h=yes
83777 else
83778 ac_has_wctype_h=no
83781 done
83784 # Only continue checking if the ISO C99 headers exist and support is on.
83785 if test x"$ac_has_wchar_h" = xyes &&
83786 test x"$ac_has_wctype_h" = xyes &&
83787 test x"$enable_c_mbchar" != xno; then
83789 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
83790 # numeric_limits can instantiate type_traits<wchar_t>
83791 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
83792 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
83793 cat >conftest.$ac_ext <<_ACEOF
83794 /* confdefs.h. */
83795 _ACEOF
83796 cat confdefs.h >>conftest.$ac_ext
83797 cat >>conftest.$ac_ext <<_ACEOF
83798 /* end confdefs.h. */
83799 #include <wchar.h>
83801 main ()
83803 int i = WCHAR_MIN; int j = WCHAR_MAX;
83805 return 0;
83807 _ACEOF
83808 rm -f conftest.$ac_objext
83809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83810 (eval $ac_compile) 2>conftest.er1
83811 ac_status=$?
83812 grep -v '^ *+' conftest.er1 >conftest.err
83813 rm -f conftest.er1
83814 cat conftest.err >&5
83815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83816 (exit $ac_status); } &&
83817 { ac_try='test -z "$ac_c_werror_flag"
83818 || test ! -s conftest.err'
83819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83820 (eval $ac_try) 2>&5
83821 ac_status=$?
83822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83823 (exit $ac_status); }; } &&
83824 { ac_try='test -s conftest.$ac_objext'
83825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83826 (eval $ac_try) 2>&5
83827 ac_status=$?
83828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83829 (exit $ac_status); }; }; then
83830 has_wchar_minmax=yes
83831 else
83832 echo "$as_me: failed program was:" >&5
83833 sed 's/^/| /' conftest.$ac_ext >&5
83835 has_wchar_minmax=no
83837 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83838 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
83839 echo "${ECHO_T}$has_wchar_minmax" >&6
83841 # Test wchar.h for WEOF, which is what we use to determine whether
83842 # to specialize for char_traits<wchar_t> or not.
83843 echo "$as_me:$LINENO: checking for WEOF" >&5
83844 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
83845 cat >conftest.$ac_ext <<_ACEOF
83846 /* confdefs.h. */
83847 _ACEOF
83848 cat confdefs.h >>conftest.$ac_ext
83849 cat >>conftest.$ac_ext <<_ACEOF
83850 /* end confdefs.h. */
83852 #include <wchar.h>
83853 #include <stddef.h>
83855 main ()
83857 wint_t i = WEOF;
83859 return 0;
83861 _ACEOF
83862 rm -f conftest.$ac_objext
83863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83864 (eval $ac_compile) 2>conftest.er1
83865 ac_status=$?
83866 grep -v '^ *+' conftest.er1 >conftest.err
83867 rm -f conftest.er1
83868 cat conftest.err >&5
83869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83870 (exit $ac_status); } &&
83871 { ac_try='test -z "$ac_c_werror_flag"
83872 || test ! -s conftest.err'
83873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83874 (eval $ac_try) 2>&5
83875 ac_status=$?
83876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83877 (exit $ac_status); }; } &&
83878 { ac_try='test -s conftest.$ac_objext'
83879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83880 (eval $ac_try) 2>&5
83881 ac_status=$?
83882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83883 (exit $ac_status); }; }; then
83884 has_weof=yes
83885 else
83886 echo "$as_me: failed program was:" >&5
83887 sed 's/^/| /' conftest.$ac_ext >&5
83889 has_weof=no
83891 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83892 echo "$as_me:$LINENO: result: $has_weof" >&5
83893 echo "${ECHO_T}$has_weof" >&6
83895 # Tests for wide character functions used in char_traits<wchar_t>.
83896 ac_wfuncs=yes
83903 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
83905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83906 echo "$as_me:$LINENO: checking for $ac_func" >&5
83907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83908 if eval "test \"\${$as_ac_var+set}\" = set"; then
83909 echo $ECHO_N "(cached) $ECHO_C" >&6
83910 else
83911 if test x$gcc_no_link = xyes; then
83912 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83913 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83914 { (exit 1); exit 1; }; }
83916 cat >conftest.$ac_ext <<_ACEOF
83917 /* confdefs.h. */
83918 _ACEOF
83919 cat confdefs.h >>conftest.$ac_ext
83920 cat >>conftest.$ac_ext <<_ACEOF
83921 /* end confdefs.h. */
83922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83924 #define $ac_func innocuous_$ac_func
83926 /* System header to define __stub macros and hopefully few prototypes,
83927 which can conflict with char $ac_func (); below.
83928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83929 <limits.h> exists even on freestanding compilers. */
83931 #ifdef __STDC__
83932 # include <limits.h>
83933 #else
83934 # include <assert.h>
83935 #endif
83937 #undef $ac_func
83939 /* Override any gcc2 internal prototype to avoid an error. */
83940 #ifdef __cplusplus
83941 extern "C"
83943 #endif
83944 /* We use char because int might match the return type of a gcc2
83945 builtin and then its argument prototype would still apply. */
83946 char $ac_func ();
83947 /* The GNU C library defines this for functions which it implements
83948 to always fail with ENOSYS. Some functions are actually named
83949 something starting with __ and the normal name is an alias. */
83950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83951 choke me
83952 #else
83953 char (*f) () = $ac_func;
83954 #endif
83955 #ifdef __cplusplus
83957 #endif
83960 main ()
83962 return f != $ac_func;
83964 return 0;
83966 _ACEOF
83967 rm -f conftest.$ac_objext conftest$ac_exeext
83968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83969 (eval $ac_link) 2>conftest.er1
83970 ac_status=$?
83971 grep -v '^ *+' conftest.er1 >conftest.err
83972 rm -f conftest.er1
83973 cat conftest.err >&5
83974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83975 (exit $ac_status); } &&
83976 { ac_try='test -z "$ac_c_werror_flag"
83977 || test ! -s conftest.err'
83978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83979 (eval $ac_try) 2>&5
83980 ac_status=$?
83981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83982 (exit $ac_status); }; } &&
83983 { ac_try='test -s conftest$ac_exeext'
83984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83985 (eval $ac_try) 2>&5
83986 ac_status=$?
83987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83988 (exit $ac_status); }; }; then
83989 eval "$as_ac_var=yes"
83990 else
83991 echo "$as_me: failed program was:" >&5
83992 sed 's/^/| /' conftest.$ac_ext >&5
83994 eval "$as_ac_var=no"
83996 rm -f conftest.err conftest.$ac_objext \
83997 conftest$ac_exeext conftest.$ac_ext
83999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84001 if test `eval echo '${'$as_ac_var'}'` = yes; then
84002 cat >>confdefs.h <<_ACEOF
84003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84004 _ACEOF
84006 else
84007 ac_wfuncs=no
84009 done
84012 # Checks for names injected into std:: by the c_std headers.
84059 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
84060 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
84061 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
84062 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
84063 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
84064 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
84066 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84067 echo "$as_me:$LINENO: checking for $ac_func" >&5
84068 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84069 if eval "test \"\${$as_ac_var+set}\" = set"; then
84070 echo $ECHO_N "(cached) $ECHO_C" >&6
84071 else
84072 if test x$gcc_no_link = xyes; then
84073 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84074 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84075 { (exit 1); exit 1; }; }
84077 cat >conftest.$ac_ext <<_ACEOF
84078 /* confdefs.h. */
84079 _ACEOF
84080 cat confdefs.h >>conftest.$ac_ext
84081 cat >>conftest.$ac_ext <<_ACEOF
84082 /* end confdefs.h. */
84083 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84084 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84085 #define $ac_func innocuous_$ac_func
84087 /* System header to define __stub macros and hopefully few prototypes,
84088 which can conflict with char $ac_func (); below.
84089 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84090 <limits.h> exists even on freestanding compilers. */
84092 #ifdef __STDC__
84093 # include <limits.h>
84094 #else
84095 # include <assert.h>
84096 #endif
84098 #undef $ac_func
84100 /* Override any gcc2 internal prototype to avoid an error. */
84101 #ifdef __cplusplus
84102 extern "C"
84104 #endif
84105 /* We use char because int might match the return type of a gcc2
84106 builtin and then its argument prototype would still apply. */
84107 char $ac_func ();
84108 /* The GNU C library defines this for functions which it implements
84109 to always fail with ENOSYS. Some functions are actually named
84110 something starting with __ and the normal name is an alias. */
84111 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84112 choke me
84113 #else
84114 char (*f) () = $ac_func;
84115 #endif
84116 #ifdef __cplusplus
84118 #endif
84121 main ()
84123 return f != $ac_func;
84125 return 0;
84127 _ACEOF
84128 rm -f conftest.$ac_objext conftest$ac_exeext
84129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84130 (eval $ac_link) 2>conftest.er1
84131 ac_status=$?
84132 grep -v '^ *+' conftest.er1 >conftest.err
84133 rm -f conftest.er1
84134 cat conftest.err >&5
84135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84136 (exit $ac_status); } &&
84137 { ac_try='test -z "$ac_c_werror_flag"
84138 || test ! -s conftest.err'
84139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84140 (eval $ac_try) 2>&5
84141 ac_status=$?
84142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84143 (exit $ac_status); }; } &&
84144 { ac_try='test -s conftest$ac_exeext'
84145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84146 (eval $ac_try) 2>&5
84147 ac_status=$?
84148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84149 (exit $ac_status); }; }; then
84150 eval "$as_ac_var=yes"
84151 else
84152 echo "$as_me: failed program was:" >&5
84153 sed 's/^/| /' conftest.$ac_ext >&5
84155 eval "$as_ac_var=no"
84157 rm -f conftest.err conftest.$ac_objext \
84158 conftest$ac_exeext conftest.$ac_ext
84160 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84161 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84162 if test `eval echo '${'$as_ac_var'}'` = yes; then
84163 cat >>confdefs.h <<_ACEOF
84164 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84165 _ACEOF
84167 else
84168 ac_wfuncs=no
84170 done
84173 # Checks for wide character functions that are not required
84174 # for basic wchar_t support. Don't disable support if they are missing.
84175 # Injection of these is wrapped with guard macros.
84181 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
84183 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84184 echo "$as_me:$LINENO: checking for $ac_func" >&5
84185 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84186 if eval "test \"\${$as_ac_var+set}\" = set"; then
84187 echo $ECHO_N "(cached) $ECHO_C" >&6
84188 else
84189 if test x$gcc_no_link = xyes; then
84190 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84191 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84192 { (exit 1); exit 1; }; }
84194 cat >conftest.$ac_ext <<_ACEOF
84195 /* confdefs.h. */
84196 _ACEOF
84197 cat confdefs.h >>conftest.$ac_ext
84198 cat >>conftest.$ac_ext <<_ACEOF
84199 /* end confdefs.h. */
84200 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84201 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84202 #define $ac_func innocuous_$ac_func
84204 /* System header to define __stub macros and hopefully few prototypes,
84205 which can conflict with char $ac_func (); below.
84206 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84207 <limits.h> exists even on freestanding compilers. */
84209 #ifdef __STDC__
84210 # include <limits.h>
84211 #else
84212 # include <assert.h>
84213 #endif
84215 #undef $ac_func
84217 /* Override any gcc2 internal prototype to avoid an error. */
84218 #ifdef __cplusplus
84219 extern "C"
84221 #endif
84222 /* We use char because int might match the return type of a gcc2
84223 builtin and then its argument prototype would still apply. */
84224 char $ac_func ();
84225 /* The GNU C library defines this for functions which it implements
84226 to always fail with ENOSYS. Some functions are actually named
84227 something starting with __ and the normal name is an alias. */
84228 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84229 choke me
84230 #else
84231 char (*f) () = $ac_func;
84232 #endif
84233 #ifdef __cplusplus
84235 #endif
84238 main ()
84240 return f != $ac_func;
84242 return 0;
84244 _ACEOF
84245 rm -f conftest.$ac_objext conftest$ac_exeext
84246 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84247 (eval $ac_link) 2>conftest.er1
84248 ac_status=$?
84249 grep -v '^ *+' conftest.er1 >conftest.err
84250 rm -f conftest.er1
84251 cat conftest.err >&5
84252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84253 (exit $ac_status); } &&
84254 { ac_try='test -z "$ac_c_werror_flag"
84255 || test ! -s conftest.err'
84256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84257 (eval $ac_try) 2>&5
84258 ac_status=$?
84259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84260 (exit $ac_status); }; } &&
84261 { ac_try='test -s conftest$ac_exeext'
84262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84263 (eval $ac_try) 2>&5
84264 ac_status=$?
84265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84266 (exit $ac_status); }; }; then
84267 eval "$as_ac_var=yes"
84268 else
84269 echo "$as_me: failed program was:" >&5
84270 sed 's/^/| /' conftest.$ac_ext >&5
84272 eval "$as_ac_var=no"
84274 rm -f conftest.err conftest.$ac_objext \
84275 conftest$ac_exeext conftest.$ac_ext
84277 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84278 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84279 if test `eval echo '${'$as_ac_var'}'` = yes; then
84280 cat >>confdefs.h <<_ACEOF
84281 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84282 _ACEOF
84285 done
84288 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
84289 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
84290 if test x"$has_weof" = xyes &&
84291 test x"$has_wchar_minmax" = xyes &&
84292 test x"$ac_wfuncs" = xyes;
84293 then
84294 ac_isoC99_wchar_t=yes
84295 else
84296 ac_isoC99_wchar_t=no
84298 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
84299 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
84301 # Use iconv for wchar_t to char conversions. As such, check for
84302 # X/Open Portability Guide, version 2 features (XPG2).
84303 if test "${ac_cv_header_iconv_h+set}" = set; then
84304 echo "$as_me:$LINENO: checking for iconv.h" >&5
84305 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84306 if test "${ac_cv_header_iconv_h+set}" = set; then
84307 echo $ECHO_N "(cached) $ECHO_C" >&6
84309 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84310 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84311 else
84312 # Is the header compilable?
84313 echo "$as_me:$LINENO: checking iconv.h usability" >&5
84314 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
84315 cat >conftest.$ac_ext <<_ACEOF
84316 /* confdefs.h. */
84317 _ACEOF
84318 cat confdefs.h >>conftest.$ac_ext
84319 cat >>conftest.$ac_ext <<_ACEOF
84320 /* end confdefs.h. */
84321 $ac_includes_default
84322 #include <iconv.h>
84323 _ACEOF
84324 rm -f conftest.$ac_objext
84325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84326 (eval $ac_compile) 2>conftest.er1
84327 ac_status=$?
84328 grep -v '^ *+' conftest.er1 >conftest.err
84329 rm -f conftest.er1
84330 cat conftest.err >&5
84331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84332 (exit $ac_status); } &&
84333 { ac_try='test -z "$ac_c_werror_flag"
84334 || test ! -s conftest.err'
84335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84336 (eval $ac_try) 2>&5
84337 ac_status=$?
84338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84339 (exit $ac_status); }; } &&
84340 { ac_try='test -s conftest.$ac_objext'
84341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84342 (eval $ac_try) 2>&5
84343 ac_status=$?
84344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84345 (exit $ac_status); }; }; then
84346 ac_header_compiler=yes
84347 else
84348 echo "$as_me: failed program was:" >&5
84349 sed 's/^/| /' conftest.$ac_ext >&5
84351 ac_header_compiler=no
84353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84354 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84355 echo "${ECHO_T}$ac_header_compiler" >&6
84357 # Is the header present?
84358 echo "$as_me:$LINENO: checking iconv.h presence" >&5
84359 echo $ECHO_N "checking iconv.h presence... $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 #include <iconv.h>
84367 _ACEOF
84368 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84369 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84370 ac_status=$?
84371 grep -v '^ *+' conftest.er1 >conftest.err
84372 rm -f conftest.er1
84373 cat conftest.err >&5
84374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84375 (exit $ac_status); } >/dev/null; then
84376 if test -s conftest.err; then
84377 ac_cpp_err=$ac_c_preproc_warn_flag
84378 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84379 else
84380 ac_cpp_err=
84382 else
84383 ac_cpp_err=yes
84385 if test -z "$ac_cpp_err"; then
84386 ac_header_preproc=yes
84387 else
84388 echo "$as_me: failed program was:" >&5
84389 sed 's/^/| /' conftest.$ac_ext >&5
84391 ac_header_preproc=no
84393 rm -f conftest.err conftest.$ac_ext
84394 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84395 echo "${ECHO_T}$ac_header_preproc" >&6
84397 # So? What about this header?
84398 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84399 yes:no: )
84400 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
84401 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84402 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
84403 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
84404 ac_header_preproc=yes
84406 no:yes:* )
84407 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
84408 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
84409 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
84410 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
84411 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
84412 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
84413 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
84414 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
84415 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
84416 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
84417 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
84418 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
84420 cat <<\_ASBOX
84421 ## ----------------------------------------- ##
84422 ## Report this to the package-unused lists. ##
84423 ## ----------------------------------------- ##
84424 _ASBOX
84426 sed "s/^/$as_me: WARNING: /" >&2
84428 esac
84429 echo "$as_me:$LINENO: checking for iconv.h" >&5
84430 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
84431 if test "${ac_cv_header_iconv_h+set}" = set; then
84432 echo $ECHO_N "(cached) $ECHO_C" >&6
84433 else
84434 ac_cv_header_iconv_h=$ac_header_preproc
84436 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
84437 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
84440 if test $ac_cv_header_iconv_h = yes; then
84441 ac_has_iconv_h=yes
84442 else
84443 ac_has_iconv_h=no
84447 if test "${ac_cv_header_langinfo_h+set}" = set; then
84448 echo "$as_me:$LINENO: checking for langinfo.h" >&5
84449 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
84450 if test "${ac_cv_header_langinfo_h+set}" = set; then
84451 echo $ECHO_N "(cached) $ECHO_C" >&6
84453 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
84454 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
84455 else
84456 # Is the header compilable?
84457 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
84458 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
84459 cat >conftest.$ac_ext <<_ACEOF
84460 /* confdefs.h. */
84461 _ACEOF
84462 cat confdefs.h >>conftest.$ac_ext
84463 cat >>conftest.$ac_ext <<_ACEOF
84464 /* end confdefs.h. */
84465 $ac_includes_default
84466 #include <langinfo.h>
84467 _ACEOF
84468 rm -f conftest.$ac_objext
84469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84470 (eval $ac_compile) 2>conftest.er1
84471 ac_status=$?
84472 grep -v '^ *+' conftest.er1 >conftest.err
84473 rm -f conftest.er1
84474 cat conftest.err >&5
84475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84476 (exit $ac_status); } &&
84477 { ac_try='test -z "$ac_c_werror_flag"
84478 || test ! -s conftest.err'
84479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84480 (eval $ac_try) 2>&5
84481 ac_status=$?
84482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84483 (exit $ac_status); }; } &&
84484 { ac_try='test -s conftest.$ac_objext'
84485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84486 (eval $ac_try) 2>&5
84487 ac_status=$?
84488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84489 (exit $ac_status); }; }; then
84490 ac_header_compiler=yes
84491 else
84492 echo "$as_me: failed program was:" >&5
84493 sed 's/^/| /' conftest.$ac_ext >&5
84495 ac_header_compiler=no
84497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84498 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84499 echo "${ECHO_T}$ac_header_compiler" >&6
84501 # Is the header present?
84502 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
84503 echo $ECHO_N "checking langinfo.h presence... $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 #include <langinfo.h>
84511 _ACEOF
84512 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84513 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84514 ac_status=$?
84515 grep -v '^ *+' conftest.er1 >conftest.err
84516 rm -f conftest.er1
84517 cat conftest.err >&5
84518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84519 (exit $ac_status); } >/dev/null; then
84520 if test -s conftest.err; then
84521 ac_cpp_err=$ac_c_preproc_warn_flag
84522 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84523 else
84524 ac_cpp_err=
84526 else
84527 ac_cpp_err=yes
84529 if test -z "$ac_cpp_err"; then
84530 ac_header_preproc=yes
84531 else
84532 echo "$as_me: failed program was:" >&5
84533 sed 's/^/| /' conftest.$ac_ext >&5
84535 ac_header_preproc=no
84537 rm -f conftest.err conftest.$ac_ext
84538 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84539 echo "${ECHO_T}$ac_header_preproc" >&6
84541 # So? What about this header?
84542 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84543 yes:no: )
84544 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
84545 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
84546 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
84547 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
84548 ac_header_preproc=yes
84550 no:yes:* )
84551 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
84552 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
84553 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
84554 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
84555 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
84556 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
84557 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
84558 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
84559 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
84560 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
84561 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
84562 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
84564 cat <<\_ASBOX
84565 ## ----------------------------------------- ##
84566 ## Report this to the package-unused lists. ##
84567 ## ----------------------------------------- ##
84568 _ASBOX
84570 sed "s/^/$as_me: WARNING: /" >&2
84572 esac
84573 echo "$as_me:$LINENO: checking for langinfo.h" >&5
84574 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
84575 if test "${ac_cv_header_langinfo_h+set}" = set; then
84576 echo $ECHO_N "(cached) $ECHO_C" >&6
84577 else
84578 ac_cv_header_langinfo_h=$ac_header_preproc
84580 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
84581 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
84584 if test $ac_cv_header_langinfo_h = yes; then
84585 ac_has_langinfo_h=yes
84586 else
84587 ac_has_langinfo_h=no
84592 # Check for existence of libiconv.a providing XPG2 wchar_t support.
84593 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
84594 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
84595 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
84596 echo $ECHO_N "(cached) $ECHO_C" >&6
84597 else
84598 ac_check_lib_save_LIBS=$LIBS
84599 LIBS="-liconv $LIBS"
84600 if test x$gcc_no_link = xyes; then
84601 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84602 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84603 { (exit 1); exit 1; }; }
84605 cat >conftest.$ac_ext <<_ACEOF
84606 /* confdefs.h. */
84607 _ACEOF
84608 cat confdefs.h >>conftest.$ac_ext
84609 cat >>conftest.$ac_ext <<_ACEOF
84610 /* end confdefs.h. */
84612 /* Override any gcc2 internal prototype to avoid an error. */
84613 #ifdef __cplusplus
84614 extern "C"
84615 #endif
84616 /* We use char because int might match the return type of a gcc2
84617 builtin and then its argument prototype would still apply. */
84618 char iconv ();
84620 main ()
84622 iconv ();
84624 return 0;
84626 _ACEOF
84627 rm -f conftest.$ac_objext conftest$ac_exeext
84628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84629 (eval $ac_link) 2>conftest.er1
84630 ac_status=$?
84631 grep -v '^ *+' conftest.er1 >conftest.err
84632 rm -f conftest.er1
84633 cat conftest.err >&5
84634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84635 (exit $ac_status); } &&
84636 { ac_try='test -z "$ac_c_werror_flag"
84637 || test ! -s conftest.err'
84638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84639 (eval $ac_try) 2>&5
84640 ac_status=$?
84641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84642 (exit $ac_status); }; } &&
84643 { ac_try='test -s conftest$ac_exeext'
84644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84645 (eval $ac_try) 2>&5
84646 ac_status=$?
84647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84648 (exit $ac_status); }; }; then
84649 ac_cv_lib_iconv_iconv=yes
84650 else
84651 echo "$as_me: failed program was:" >&5
84652 sed 's/^/| /' conftest.$ac_ext >&5
84654 ac_cv_lib_iconv_iconv=no
84656 rm -f conftest.err conftest.$ac_objext \
84657 conftest$ac_exeext conftest.$ac_ext
84658 LIBS=$ac_check_lib_save_LIBS
84660 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
84661 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
84662 if test $ac_cv_lib_iconv_iconv = yes; then
84663 LIBICONV="-liconv"
84666 ac_save_LIBS="$LIBS"
84667 LIBS="$LIBS $LIBICONV"
84674 for ac_func in iconv_open iconv_close iconv nl_langinfo
84676 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84677 echo "$as_me:$LINENO: checking for $ac_func" >&5
84678 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84679 if eval "test \"\${$as_ac_var+set}\" = set"; then
84680 echo $ECHO_N "(cached) $ECHO_C" >&6
84681 else
84682 if test x$gcc_no_link = xyes; then
84683 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84684 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84685 { (exit 1); exit 1; }; }
84687 cat >conftest.$ac_ext <<_ACEOF
84688 /* confdefs.h. */
84689 _ACEOF
84690 cat confdefs.h >>conftest.$ac_ext
84691 cat >>conftest.$ac_ext <<_ACEOF
84692 /* end confdefs.h. */
84693 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84694 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84695 #define $ac_func innocuous_$ac_func
84697 /* System header to define __stub macros and hopefully few prototypes,
84698 which can conflict with char $ac_func (); below.
84699 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84700 <limits.h> exists even on freestanding compilers. */
84702 #ifdef __STDC__
84703 # include <limits.h>
84704 #else
84705 # include <assert.h>
84706 #endif
84708 #undef $ac_func
84710 /* Override any gcc2 internal prototype to avoid an error. */
84711 #ifdef __cplusplus
84712 extern "C"
84714 #endif
84715 /* We use char because int might match the return type of a gcc2
84716 builtin and then its argument prototype would still apply. */
84717 char $ac_func ();
84718 /* The GNU C library defines this for functions which it implements
84719 to always fail with ENOSYS. Some functions are actually named
84720 something starting with __ and the normal name is an alias. */
84721 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84722 choke me
84723 #else
84724 char (*f) () = $ac_func;
84725 #endif
84726 #ifdef __cplusplus
84728 #endif
84731 main ()
84733 return f != $ac_func;
84735 return 0;
84737 _ACEOF
84738 rm -f conftest.$ac_objext conftest$ac_exeext
84739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84740 (eval $ac_link) 2>conftest.er1
84741 ac_status=$?
84742 grep -v '^ *+' conftest.er1 >conftest.err
84743 rm -f conftest.er1
84744 cat conftest.err >&5
84745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84746 (exit $ac_status); } &&
84747 { ac_try='test -z "$ac_c_werror_flag"
84748 || test ! -s conftest.err'
84749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84750 (eval $ac_try) 2>&5
84751 ac_status=$?
84752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84753 (exit $ac_status); }; } &&
84754 { ac_try='test -s conftest$ac_exeext'
84755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84756 (eval $ac_try) 2>&5
84757 ac_status=$?
84758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84759 (exit $ac_status); }; }; then
84760 eval "$as_ac_var=yes"
84761 else
84762 echo "$as_me: failed program was:" >&5
84763 sed 's/^/| /' conftest.$ac_ext >&5
84765 eval "$as_ac_var=no"
84767 rm -f conftest.err conftest.$ac_objext \
84768 conftest$ac_exeext conftest.$ac_ext
84770 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84771 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84772 if test `eval echo '${'$as_ac_var'}'` = yes; then
84773 cat >>confdefs.h <<_ACEOF
84774 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84775 _ACEOF
84776 ac_XPG2funcs=yes
84777 else
84778 ac_XPG2funcs=no
84780 done
84783 LIBS="$ac_save_LIBS"
84785 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
84786 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
84787 if test x"$ac_has_iconv_h" = xyes &&
84788 test x"$ac_has_langinfo_h" = xyes &&
84789 test x"$ac_XPG2funcs" = xyes;
84790 then
84791 ac_XPG2_wchar_t=yes
84792 else
84793 ac_XPG2_wchar_t=no
84795 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
84796 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
84798 # At the moment, only enable wchar_t specializations if all the
84799 # above support is present.
84800 if test x"$ac_isoC99_wchar_t" = xyes &&
84801 test x"$ac_XPG2_wchar_t" = xyes;
84802 then
84803 cat >>confdefs.h <<\_ACEOF
84804 #define _GLIBCXX_USE_WCHAR_T 1
84805 _ACEOF
84807 enable_wchar_t=yes
84810 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
84811 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
84812 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
84813 echo "${ECHO_T}$enable_wchar_t" >&6
84816 *-netbsd*)
84829 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
84830 machine/endian.h machine/param.h sys/machine.h sys/types.h \
84831 fp.h locale.h float.h inttypes.h
84833 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
84834 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84835 echo "$as_me:$LINENO: checking for $ac_header" >&5
84836 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84837 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84838 echo $ECHO_N "(cached) $ECHO_C" >&6
84840 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84841 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84842 else
84843 # Is the header compilable?
84844 echo "$as_me:$LINENO: checking $ac_header usability" >&5
84845 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
84846 cat >conftest.$ac_ext <<_ACEOF
84847 /* confdefs.h. */
84848 _ACEOF
84849 cat confdefs.h >>conftest.$ac_ext
84850 cat >>conftest.$ac_ext <<_ACEOF
84851 /* end confdefs.h. */
84852 $ac_includes_default
84853 #include <$ac_header>
84854 _ACEOF
84855 rm -f conftest.$ac_objext
84856 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84857 (eval $ac_compile) 2>conftest.er1
84858 ac_status=$?
84859 grep -v '^ *+' conftest.er1 >conftest.err
84860 rm -f conftest.er1
84861 cat conftest.err >&5
84862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84863 (exit $ac_status); } &&
84864 { ac_try='test -z "$ac_c_werror_flag"
84865 || test ! -s conftest.err'
84866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84867 (eval $ac_try) 2>&5
84868 ac_status=$?
84869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84870 (exit $ac_status); }; } &&
84871 { ac_try='test -s conftest.$ac_objext'
84872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84873 (eval $ac_try) 2>&5
84874 ac_status=$?
84875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84876 (exit $ac_status); }; }; then
84877 ac_header_compiler=yes
84878 else
84879 echo "$as_me: failed program was:" >&5
84880 sed 's/^/| /' conftest.$ac_ext >&5
84882 ac_header_compiler=no
84884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84885 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
84886 echo "${ECHO_T}$ac_header_compiler" >&6
84888 # Is the header present?
84889 echo "$as_me:$LINENO: checking $ac_header presence" >&5
84890 echo $ECHO_N "checking $ac_header presence... $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 #include <$ac_header>
84898 _ACEOF
84899 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
84900 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
84901 ac_status=$?
84902 grep -v '^ *+' conftest.er1 >conftest.err
84903 rm -f conftest.er1
84904 cat conftest.err >&5
84905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84906 (exit $ac_status); } >/dev/null; then
84907 if test -s conftest.err; then
84908 ac_cpp_err=$ac_c_preproc_warn_flag
84909 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
84910 else
84911 ac_cpp_err=
84913 else
84914 ac_cpp_err=yes
84916 if test -z "$ac_cpp_err"; then
84917 ac_header_preproc=yes
84918 else
84919 echo "$as_me: failed program was:" >&5
84920 sed 's/^/| /' conftest.$ac_ext >&5
84922 ac_header_preproc=no
84924 rm -f conftest.err conftest.$ac_ext
84925 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
84926 echo "${ECHO_T}$ac_header_preproc" >&6
84928 # So? What about this header?
84929 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
84930 yes:no: )
84931 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
84932 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
84933 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
84934 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
84935 ac_header_preproc=yes
84937 no:yes:* )
84938 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
84939 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
84940 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
84941 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
84942 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
84943 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
84944 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
84945 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
84946 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
84947 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
84948 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
84949 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
84951 cat <<\_ASBOX
84952 ## ----------------------------------------- ##
84953 ## Report this to the package-unused lists. ##
84954 ## ----------------------------------------- ##
84955 _ASBOX
84957 sed "s/^/$as_me: WARNING: /" >&2
84959 esac
84960 echo "$as_me:$LINENO: checking for $ac_header" >&5
84961 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
84962 if eval "test \"\${$as_ac_Header+set}\" = set"; then
84963 echo $ECHO_N "(cached) $ECHO_C" >&6
84964 else
84965 eval "$as_ac_Header=\$ac_header_preproc"
84967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
84968 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
84971 if test `eval echo '${'$as_ac_Header'}'` = yes; then
84972 cat >>confdefs.h <<_ACEOF
84973 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
84974 _ACEOF
84978 done
84980 SECTION_FLAGS='-ffunction-sections -fdata-sections'
84983 # If we're not using GNU ld, then there's no point in even trying these
84984 # tests. Check for that first. We should have already tested for gld
84985 # by now (in libtool), but require it now just to be safe...
84986 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
84987 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
84991 # The name set by libtool depends on the version of libtool. Shame on us
84992 # for depending on an impl detail, but c'est la vie. Older versions used
84993 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
84994 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
84995 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
84996 # set (hence we're using an older libtool), then set it.
84997 if test x${with_gnu_ld+set} != xset; then
84998 if test x${ac_cv_prog_gnu_ld+set} != xset; then
84999 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
85000 with_gnu_ld=no
85001 else
85002 with_gnu_ld=$ac_cv_prog_gnu_ld
85006 # Start by getting the version number. I think the libtool test already
85007 # does some of this, but throws away the result.
85009 ldver=`$LD --version 2>/dev/null | head -1 | \
85010 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
85012 glibcxx_gnu_ld_version=`echo $ldver | \
85013 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
85015 # Set --gc-sections.
85016 if test "$with_gnu_ld" = "notbroken"; then
85017 # GNU ld it is! Joy and bunny rabbits!
85019 # All these tests are for C++; save the language and the compiler flags.
85020 # Need to do this so that g++ won't try to link in libstdc++
85021 ac_test_CFLAGS="${CFLAGS+set}"
85022 ac_save_CFLAGS="$CFLAGS"
85023 CFLAGS='-x c++ -Wl,--gc-sections'
85025 # Check for -Wl,--gc-sections
85026 # XXX This test is broken at the moment, as symbols required for linking
85027 # are now in libsupc++ (not built yet). In addition, this test has
85028 # cored on solaris in the past. In addition, --gc-sections doesn't
85029 # really work at the moment (keeps on discarding used sections, first
85030 # .eh_frame and now some of the glibc sections for iconv).
85031 # Bzzzzt. Thanks for playing, maybe next time.
85032 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
85033 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
85034 if test "$cross_compiling" = yes; then
85035 ac_sectionLDflags=yes
85036 else
85037 cat >conftest.$ac_ext <<_ACEOF
85038 /* confdefs.h. */
85039 _ACEOF
85040 cat confdefs.h >>conftest.$ac_ext
85041 cat >>conftest.$ac_ext <<_ACEOF
85042 /* end confdefs.h. */
85044 int main(void)
85046 try { throw 1; }
85047 catch (...) { };
85048 return 0;
85051 _ACEOF
85052 rm -f conftest$ac_exeext
85053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85054 (eval $ac_link) 2>&5
85055 ac_status=$?
85056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85057 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
85058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85059 (eval $ac_try) 2>&5
85060 ac_status=$?
85061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85062 (exit $ac_status); }; }; then
85063 ac_sectionLDflags=yes
85064 else
85065 echo "$as_me: program exited with status $ac_status" >&5
85066 echo "$as_me: failed program was:" >&5
85067 sed 's/^/| /' conftest.$ac_ext >&5
85069 ( exit $ac_status )
85070 ac_sectionLDflags=no
85072 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
85074 if test "$ac_test_CFLAGS" = set; then
85075 CFLAGS="$ac_save_CFLAGS"
85076 else
85077 # this is the suspicious part
85078 CFLAGS=''
85080 if test "$ac_sectionLDflags" = "yes"; then
85081 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
85083 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
85084 echo "${ECHO_T}$ac_sectionLDflags" >&6
85087 # Set linker optimization flags.
85088 if test x"$with_gnu_ld" = x"yes"; then
85089 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
85097 echo "$as_me:$LINENO: checking for main in -lm" >&5
85098 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
85099 if test "${ac_cv_lib_m_main+set}" = set; then
85100 echo $ECHO_N "(cached) $ECHO_C" >&6
85101 else
85102 ac_check_lib_save_LIBS=$LIBS
85103 LIBS="-lm $LIBS"
85104 if test x$gcc_no_link = xyes; then
85105 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85106 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85107 { (exit 1); exit 1; }; }
85109 cat >conftest.$ac_ext <<_ACEOF
85110 /* confdefs.h. */
85111 _ACEOF
85112 cat confdefs.h >>conftest.$ac_ext
85113 cat >>conftest.$ac_ext <<_ACEOF
85114 /* end confdefs.h. */
85118 main ()
85120 main ();
85122 return 0;
85124 _ACEOF
85125 rm -f conftest.$ac_objext conftest$ac_exeext
85126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85127 (eval $ac_link) 2>conftest.er1
85128 ac_status=$?
85129 grep -v '^ *+' conftest.er1 >conftest.err
85130 rm -f conftest.er1
85131 cat conftest.err >&5
85132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85133 (exit $ac_status); } &&
85134 { ac_try='test -z "$ac_c_werror_flag"
85135 || test ! -s conftest.err'
85136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85137 (eval $ac_try) 2>&5
85138 ac_status=$?
85139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85140 (exit $ac_status); }; } &&
85141 { ac_try='test -s conftest$ac_exeext'
85142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85143 (eval $ac_try) 2>&5
85144 ac_status=$?
85145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85146 (exit $ac_status); }; }; then
85147 ac_cv_lib_m_main=yes
85148 else
85149 echo "$as_me: failed program was:" >&5
85150 sed 's/^/| /' conftest.$ac_ext >&5
85152 ac_cv_lib_m_main=no
85154 rm -f conftest.err conftest.$ac_objext \
85155 conftest$ac_exeext conftest.$ac_ext
85156 LIBS=$ac_check_lib_save_LIBS
85158 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
85159 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
85160 if test $ac_cv_lib_m_main = yes; then
85161 cat >>confdefs.h <<_ACEOF
85162 #define HAVE_LIBM 1
85163 _ACEOF
85165 LIBS="-lm $LIBS"
85170 for ac_func in copysignf
85172 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85173 echo "$as_me:$LINENO: checking for $ac_func" >&5
85174 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85175 if eval "test \"\${$as_ac_var+set}\" = set"; then
85176 echo $ECHO_N "(cached) $ECHO_C" >&6
85177 else
85178 if test x$gcc_no_link = xyes; then
85179 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85180 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85181 { (exit 1); exit 1; }; }
85183 cat >conftest.$ac_ext <<_ACEOF
85184 /* confdefs.h. */
85185 _ACEOF
85186 cat confdefs.h >>conftest.$ac_ext
85187 cat >>conftest.$ac_ext <<_ACEOF
85188 /* end confdefs.h. */
85189 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85190 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85191 #define $ac_func innocuous_$ac_func
85193 /* System header to define __stub macros and hopefully few prototypes,
85194 which can conflict with char $ac_func (); below.
85195 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85196 <limits.h> exists even on freestanding compilers. */
85198 #ifdef __STDC__
85199 # include <limits.h>
85200 #else
85201 # include <assert.h>
85202 #endif
85204 #undef $ac_func
85206 /* Override any gcc2 internal prototype to avoid an error. */
85207 #ifdef __cplusplus
85208 extern "C"
85210 #endif
85211 /* We use char because int might match the return type of a gcc2
85212 builtin and then its argument prototype would still apply. */
85213 char $ac_func ();
85214 /* The GNU C library defines this for functions which it implements
85215 to always fail with ENOSYS. Some functions are actually named
85216 something starting with __ and the normal name is an alias. */
85217 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85218 choke me
85219 #else
85220 char (*f) () = $ac_func;
85221 #endif
85222 #ifdef __cplusplus
85224 #endif
85227 main ()
85229 return f != $ac_func;
85231 return 0;
85233 _ACEOF
85234 rm -f conftest.$ac_objext conftest$ac_exeext
85235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85236 (eval $ac_link) 2>conftest.er1
85237 ac_status=$?
85238 grep -v '^ *+' conftest.er1 >conftest.err
85239 rm -f conftest.er1
85240 cat conftest.err >&5
85241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85242 (exit $ac_status); } &&
85243 { ac_try='test -z "$ac_c_werror_flag"
85244 || test ! -s conftest.err'
85245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85246 (eval $ac_try) 2>&5
85247 ac_status=$?
85248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85249 (exit $ac_status); }; } &&
85250 { ac_try='test -s conftest$ac_exeext'
85251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85252 (eval $ac_try) 2>&5
85253 ac_status=$?
85254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85255 (exit $ac_status); }; }; then
85256 eval "$as_ac_var=yes"
85257 else
85258 echo "$as_me: failed program was:" >&5
85259 sed 's/^/| /' conftest.$ac_ext >&5
85261 eval "$as_ac_var=no"
85263 rm -f conftest.err conftest.$ac_objext \
85264 conftest$ac_exeext conftest.$ac_ext
85266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85267 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85268 if test `eval echo '${'$as_ac_var'}'` = yes; then
85269 cat >>confdefs.h <<_ACEOF
85270 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85271 _ACEOF
85273 else
85274 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
85276 done
85280 for ac_func in __signbit
85282 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85283 echo "$as_me:$LINENO: checking for $ac_func" >&5
85284 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85285 if eval "test \"\${$as_ac_var+set}\" = set"; then
85286 echo $ECHO_N "(cached) $ECHO_C" >&6
85287 else
85288 if test x$gcc_no_link = xyes; then
85289 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85290 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85291 { (exit 1); exit 1; }; }
85293 cat >conftest.$ac_ext <<_ACEOF
85294 /* confdefs.h. */
85295 _ACEOF
85296 cat confdefs.h >>conftest.$ac_ext
85297 cat >>conftest.$ac_ext <<_ACEOF
85298 /* end confdefs.h. */
85299 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85300 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85301 #define $ac_func innocuous_$ac_func
85303 /* System header to define __stub macros and hopefully few prototypes,
85304 which can conflict with char $ac_func (); below.
85305 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85306 <limits.h> exists even on freestanding compilers. */
85308 #ifdef __STDC__
85309 # include <limits.h>
85310 #else
85311 # include <assert.h>
85312 #endif
85314 #undef $ac_func
85316 /* Override any gcc2 internal prototype to avoid an error. */
85317 #ifdef __cplusplus
85318 extern "C"
85320 #endif
85321 /* We use char because int might match the return type of a gcc2
85322 builtin and then its argument prototype would still apply. */
85323 char $ac_func ();
85324 /* The GNU C library defines this for functions which it implements
85325 to always fail with ENOSYS. Some functions are actually named
85326 something starting with __ and the normal name is an alias. */
85327 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85328 choke me
85329 #else
85330 char (*f) () = $ac_func;
85331 #endif
85332 #ifdef __cplusplus
85334 #endif
85337 main ()
85339 return f != $ac_func;
85341 return 0;
85343 _ACEOF
85344 rm -f conftest.$ac_objext conftest$ac_exeext
85345 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85346 (eval $ac_link) 2>conftest.er1
85347 ac_status=$?
85348 grep -v '^ *+' conftest.er1 >conftest.err
85349 rm -f conftest.er1
85350 cat conftest.err >&5
85351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85352 (exit $ac_status); } &&
85353 { ac_try='test -z "$ac_c_werror_flag"
85354 || test ! -s conftest.err'
85355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85356 (eval $ac_try) 2>&5
85357 ac_status=$?
85358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85359 (exit $ac_status); }; } &&
85360 { ac_try='test -s conftest$ac_exeext'
85361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85362 (eval $ac_try) 2>&5
85363 ac_status=$?
85364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85365 (exit $ac_status); }; }; then
85366 eval "$as_ac_var=yes"
85367 else
85368 echo "$as_me: failed program was:" >&5
85369 sed 's/^/| /' conftest.$ac_ext >&5
85371 eval "$as_ac_var=no"
85373 rm -f conftest.err conftest.$ac_objext \
85374 conftest$ac_exeext conftest.$ac_ext
85376 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85377 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85378 if test `eval echo '${'$as_ac_var'}'` = yes; then
85379 cat >>confdefs.h <<_ACEOF
85380 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85381 _ACEOF
85383 else
85384 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
85386 done
85390 for ac_func in __signbitf
85392 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85393 echo "$as_me:$LINENO: checking for $ac_func" >&5
85394 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85395 if eval "test \"\${$as_ac_var+set}\" = set"; then
85396 echo $ECHO_N "(cached) $ECHO_C" >&6
85397 else
85398 if test x$gcc_no_link = xyes; then
85399 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85400 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85401 { (exit 1); exit 1; }; }
85403 cat >conftest.$ac_ext <<_ACEOF
85404 /* confdefs.h. */
85405 _ACEOF
85406 cat confdefs.h >>conftest.$ac_ext
85407 cat >>conftest.$ac_ext <<_ACEOF
85408 /* end confdefs.h. */
85409 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85410 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85411 #define $ac_func innocuous_$ac_func
85413 /* System header to define __stub macros and hopefully few prototypes,
85414 which can conflict with char $ac_func (); below.
85415 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85416 <limits.h> exists even on freestanding compilers. */
85418 #ifdef __STDC__
85419 # include <limits.h>
85420 #else
85421 # include <assert.h>
85422 #endif
85424 #undef $ac_func
85426 /* Override any gcc2 internal prototype to avoid an error. */
85427 #ifdef __cplusplus
85428 extern "C"
85430 #endif
85431 /* We use char because int might match the return type of a gcc2
85432 builtin and then its argument prototype would still apply. */
85433 char $ac_func ();
85434 /* The GNU C library defines this for functions which it implements
85435 to always fail with ENOSYS. Some functions are actually named
85436 something starting with __ and the normal name is an alias. */
85437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85438 choke me
85439 #else
85440 char (*f) () = $ac_func;
85441 #endif
85442 #ifdef __cplusplus
85444 #endif
85447 main ()
85449 return f != $ac_func;
85451 return 0;
85453 _ACEOF
85454 rm -f conftest.$ac_objext conftest$ac_exeext
85455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85456 (eval $ac_link) 2>conftest.er1
85457 ac_status=$?
85458 grep -v '^ *+' conftest.er1 >conftest.err
85459 rm -f conftest.er1
85460 cat conftest.err >&5
85461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85462 (exit $ac_status); } &&
85463 { ac_try='test -z "$ac_c_werror_flag"
85464 || test ! -s conftest.err'
85465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85466 (eval $ac_try) 2>&5
85467 ac_status=$?
85468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85469 (exit $ac_status); }; } &&
85470 { ac_try='test -s conftest$ac_exeext'
85471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85472 (eval $ac_try) 2>&5
85473 ac_status=$?
85474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85475 (exit $ac_status); }; }; then
85476 eval "$as_ac_var=yes"
85477 else
85478 echo "$as_me: failed program was:" >&5
85479 sed 's/^/| /' conftest.$ac_ext >&5
85481 eval "$as_ac_var=no"
85483 rm -f conftest.err conftest.$ac_objext \
85484 conftest$ac_exeext conftest.$ac_ext
85486 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85487 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85488 if test `eval echo '${'$as_ac_var'}'` = yes; then
85489 cat >>confdefs.h <<_ACEOF
85490 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85491 _ACEOF
85493 else
85494 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
85496 done
85499 if test x$ac_cv_func_copysignl = x"yes"; then
85501 for ac_func in __signbitl
85503 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85504 echo "$as_me:$LINENO: checking for $ac_func" >&5
85505 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85506 if eval "test \"\${$as_ac_var+set}\" = set"; then
85507 echo $ECHO_N "(cached) $ECHO_C" >&6
85508 else
85509 if test x$gcc_no_link = xyes; then
85510 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85511 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85512 { (exit 1); exit 1; }; }
85514 cat >conftest.$ac_ext <<_ACEOF
85515 /* confdefs.h. */
85516 _ACEOF
85517 cat confdefs.h >>conftest.$ac_ext
85518 cat >>conftest.$ac_ext <<_ACEOF
85519 /* end confdefs.h. */
85520 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85521 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85522 #define $ac_func innocuous_$ac_func
85524 /* System header to define __stub macros and hopefully few prototypes,
85525 which can conflict with char $ac_func (); below.
85526 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85527 <limits.h> exists even on freestanding compilers. */
85529 #ifdef __STDC__
85530 # include <limits.h>
85531 #else
85532 # include <assert.h>
85533 #endif
85535 #undef $ac_func
85537 /* Override any gcc2 internal prototype to avoid an error. */
85538 #ifdef __cplusplus
85539 extern "C"
85541 #endif
85542 /* We use char because int might match the return type of a gcc2
85543 builtin and then its argument prototype would still apply. */
85544 char $ac_func ();
85545 /* The GNU C library defines this for functions which it implements
85546 to always fail with ENOSYS. Some functions are actually named
85547 something starting with __ and the normal name is an alias. */
85548 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85549 choke me
85550 #else
85551 char (*f) () = $ac_func;
85552 #endif
85553 #ifdef __cplusplus
85555 #endif
85558 main ()
85560 return f != $ac_func;
85562 return 0;
85564 _ACEOF
85565 rm -f conftest.$ac_objext conftest$ac_exeext
85566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85567 (eval $ac_link) 2>conftest.er1
85568 ac_status=$?
85569 grep -v '^ *+' conftest.er1 >conftest.err
85570 rm -f conftest.er1
85571 cat conftest.err >&5
85572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85573 (exit $ac_status); } &&
85574 { ac_try='test -z "$ac_c_werror_flag"
85575 || test ! -s conftest.err'
85576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85577 (eval $ac_try) 2>&5
85578 ac_status=$?
85579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85580 (exit $ac_status); }; } &&
85581 { ac_try='test -s conftest$ac_exeext'
85582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85583 (eval $ac_try) 2>&5
85584 ac_status=$?
85585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85586 (exit $ac_status); }; }; then
85587 eval "$as_ac_var=yes"
85588 else
85589 echo "$as_me: failed program was:" >&5
85590 sed 's/^/| /' conftest.$ac_ext >&5
85592 eval "$as_ac_var=no"
85594 rm -f conftest.err conftest.$ac_objext \
85595 conftest$ac_exeext conftest.$ac_ext
85597 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85598 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85599 if test `eval echo '${'$as_ac_var'}'` = yes; then
85600 cat >>confdefs.h <<_ACEOF
85601 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85602 _ACEOF
85604 else
85605 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
85607 done
85611 # Used in libmath/Makefile.am.
85612 if test -n "$LIBMATHOBJS"; then
85613 need_libmath=yes
85618 # Test wchar.h for mbstate_t, which is needed for char_traits and
85619 # others even if wchar_t support is not on.
85620 echo "$as_me:$LINENO: checking for mbstate_t" >&5
85621 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
85622 cat >conftest.$ac_ext <<_ACEOF
85623 /* confdefs.h. */
85624 _ACEOF
85625 cat confdefs.h >>conftest.$ac_ext
85626 cat >>conftest.$ac_ext <<_ACEOF
85627 /* end confdefs.h. */
85628 #include <wchar.h>
85630 main ()
85632 mbstate_t teststate;
85634 return 0;
85636 _ACEOF
85637 rm -f conftest.$ac_objext
85638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85639 (eval $ac_compile) 2>conftest.er1
85640 ac_status=$?
85641 grep -v '^ *+' conftest.er1 >conftest.err
85642 rm -f conftest.er1
85643 cat conftest.err >&5
85644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85645 (exit $ac_status); } &&
85646 { ac_try='test -z "$ac_c_werror_flag"
85647 || test ! -s conftest.err'
85648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85649 (eval $ac_try) 2>&5
85650 ac_status=$?
85651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85652 (exit $ac_status); }; } &&
85653 { ac_try='test -s conftest.$ac_objext'
85654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85655 (eval $ac_try) 2>&5
85656 ac_status=$?
85657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85658 (exit $ac_status); }; }; then
85659 have_mbstate_t=yes
85660 else
85661 echo "$as_me: failed program was:" >&5
85662 sed 's/^/| /' conftest.$ac_ext >&5
85664 have_mbstate_t=no
85666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85667 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
85668 echo "${ECHO_T}$have_mbstate_t" >&6
85669 if test x"$have_mbstate_t" = xyes; then
85670 cat >>confdefs.h <<\_ACEOF
85671 #define HAVE_MBSTATE_T 1
85672 _ACEOF
85676 # Sanity check for existence of ISO C99 headers for extended encoding.
85678 for ac_header in wchar.h
85680 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85681 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85682 echo "$as_me:$LINENO: checking for $ac_header" >&5
85683 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85684 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85685 echo $ECHO_N "(cached) $ECHO_C" >&6
85687 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85688 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85689 else
85690 # Is the header compilable?
85691 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85692 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85693 cat >conftest.$ac_ext <<_ACEOF
85694 /* confdefs.h. */
85695 _ACEOF
85696 cat confdefs.h >>conftest.$ac_ext
85697 cat >>conftest.$ac_ext <<_ACEOF
85698 /* end confdefs.h. */
85699 $ac_includes_default
85700 #include <$ac_header>
85701 _ACEOF
85702 rm -f conftest.$ac_objext
85703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85704 (eval $ac_compile) 2>conftest.er1
85705 ac_status=$?
85706 grep -v '^ *+' conftest.er1 >conftest.err
85707 rm -f conftest.er1
85708 cat conftest.err >&5
85709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85710 (exit $ac_status); } &&
85711 { ac_try='test -z "$ac_c_werror_flag"
85712 || test ! -s conftest.err'
85713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85714 (eval $ac_try) 2>&5
85715 ac_status=$?
85716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85717 (exit $ac_status); }; } &&
85718 { ac_try='test -s conftest.$ac_objext'
85719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85720 (eval $ac_try) 2>&5
85721 ac_status=$?
85722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85723 (exit $ac_status); }; }; then
85724 ac_header_compiler=yes
85725 else
85726 echo "$as_me: failed program was:" >&5
85727 sed 's/^/| /' conftest.$ac_ext >&5
85729 ac_header_compiler=no
85731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85732 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85733 echo "${ECHO_T}$ac_header_compiler" >&6
85735 # Is the header present?
85736 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85737 echo $ECHO_N "checking $ac_header presence... $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 #include <$ac_header>
85745 _ACEOF
85746 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85747 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85748 ac_status=$?
85749 grep -v '^ *+' conftest.er1 >conftest.err
85750 rm -f conftest.er1
85751 cat conftest.err >&5
85752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85753 (exit $ac_status); } >/dev/null; then
85754 if test -s conftest.err; then
85755 ac_cpp_err=$ac_c_preproc_warn_flag
85756 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85757 else
85758 ac_cpp_err=
85760 else
85761 ac_cpp_err=yes
85763 if test -z "$ac_cpp_err"; then
85764 ac_header_preproc=yes
85765 else
85766 echo "$as_me: failed program was:" >&5
85767 sed 's/^/| /' conftest.$ac_ext >&5
85769 ac_header_preproc=no
85771 rm -f conftest.err conftest.$ac_ext
85772 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85773 echo "${ECHO_T}$ac_header_preproc" >&6
85775 # So? What about this header?
85776 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85777 yes:no: )
85778 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85779 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85780 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85781 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85782 ac_header_preproc=yes
85784 no:yes:* )
85785 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85786 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85787 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
85788 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
85789 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85790 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85791 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
85792 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
85793 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85794 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85795 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85796 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85798 cat <<\_ASBOX
85799 ## ----------------------------------------- ##
85800 ## Report this to the package-unused lists. ##
85801 ## ----------------------------------------- ##
85802 _ASBOX
85804 sed "s/^/$as_me: WARNING: /" >&2
85806 esac
85807 echo "$as_me:$LINENO: checking for $ac_header" >&5
85808 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85809 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85810 echo $ECHO_N "(cached) $ECHO_C" >&6
85811 else
85812 eval "$as_ac_Header=\$ac_header_preproc"
85814 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85815 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85818 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85819 cat >>confdefs.h <<_ACEOF
85820 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85821 _ACEOF
85822 ac_has_wchar_h=yes
85823 else
85824 ac_has_wchar_h=no
85827 done
85830 for ac_header in wctype.h
85832 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85833 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85834 echo "$as_me:$LINENO: checking for $ac_header" >&5
85835 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85836 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85837 echo $ECHO_N "(cached) $ECHO_C" >&6
85839 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85840 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85841 else
85842 # Is the header compilable?
85843 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85844 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85845 cat >conftest.$ac_ext <<_ACEOF
85846 /* confdefs.h. */
85847 _ACEOF
85848 cat confdefs.h >>conftest.$ac_ext
85849 cat >>conftest.$ac_ext <<_ACEOF
85850 /* end confdefs.h. */
85851 $ac_includes_default
85852 #include <$ac_header>
85853 _ACEOF
85854 rm -f conftest.$ac_objext
85855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85856 (eval $ac_compile) 2>conftest.er1
85857 ac_status=$?
85858 grep -v '^ *+' conftest.er1 >conftest.err
85859 rm -f conftest.er1
85860 cat conftest.err >&5
85861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85862 (exit $ac_status); } &&
85863 { ac_try='test -z "$ac_c_werror_flag"
85864 || test ! -s conftest.err'
85865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85866 (eval $ac_try) 2>&5
85867 ac_status=$?
85868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85869 (exit $ac_status); }; } &&
85870 { ac_try='test -s conftest.$ac_objext'
85871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85872 (eval $ac_try) 2>&5
85873 ac_status=$?
85874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85875 (exit $ac_status); }; }; then
85876 ac_header_compiler=yes
85877 else
85878 echo "$as_me: failed program was:" >&5
85879 sed 's/^/| /' conftest.$ac_ext >&5
85881 ac_header_compiler=no
85883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85884 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85885 echo "${ECHO_T}$ac_header_compiler" >&6
85887 # Is the header present?
85888 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85889 echo $ECHO_N "checking $ac_header presence... $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 #include <$ac_header>
85897 _ACEOF
85898 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85899 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85900 ac_status=$?
85901 grep -v '^ *+' conftest.er1 >conftest.err
85902 rm -f conftest.er1
85903 cat conftest.err >&5
85904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85905 (exit $ac_status); } >/dev/null; then
85906 if test -s conftest.err; then
85907 ac_cpp_err=$ac_c_preproc_warn_flag
85908 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85909 else
85910 ac_cpp_err=
85912 else
85913 ac_cpp_err=yes
85915 if test -z "$ac_cpp_err"; then
85916 ac_header_preproc=yes
85917 else
85918 echo "$as_me: failed program was:" >&5
85919 sed 's/^/| /' conftest.$ac_ext >&5
85921 ac_header_preproc=no
85923 rm -f conftest.err conftest.$ac_ext
85924 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85925 echo "${ECHO_T}$ac_header_preproc" >&6
85927 # So? What about this header?
85928 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85929 yes:no: )
85930 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85931 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85932 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85933 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85934 ac_header_preproc=yes
85936 no:yes:* )
85937 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85938 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85939 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
85940 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
85941 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85942 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85943 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
85944 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
85945 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85946 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85947 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85948 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85950 cat <<\_ASBOX
85951 ## ----------------------------------------- ##
85952 ## Report this to the package-unused lists. ##
85953 ## ----------------------------------------- ##
85954 _ASBOX
85956 sed "s/^/$as_me: WARNING: /" >&2
85958 esac
85959 echo "$as_me:$LINENO: checking for $ac_header" >&5
85960 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85961 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85962 echo $ECHO_N "(cached) $ECHO_C" >&6
85963 else
85964 eval "$as_ac_Header=\$ac_header_preproc"
85966 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85967 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85970 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85971 cat >>confdefs.h <<_ACEOF
85972 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85973 _ACEOF
85974 ac_has_wctype_h=yes
85975 else
85976 ac_has_wctype_h=no
85979 done
85982 # Only continue checking if the ISO C99 headers exist and support is on.
85983 if test x"$ac_has_wchar_h" = xyes &&
85984 test x"$ac_has_wctype_h" = xyes &&
85985 test x"$enable_c_mbchar" != xno; then
85987 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
85988 # numeric_limits can instantiate type_traits<wchar_t>
85989 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
85990 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
85991 cat >conftest.$ac_ext <<_ACEOF
85992 /* confdefs.h. */
85993 _ACEOF
85994 cat confdefs.h >>conftest.$ac_ext
85995 cat >>conftest.$ac_ext <<_ACEOF
85996 /* end confdefs.h. */
85997 #include <wchar.h>
85999 main ()
86001 int i = WCHAR_MIN; int j = WCHAR_MAX;
86003 return 0;
86005 _ACEOF
86006 rm -f conftest.$ac_objext
86007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86008 (eval $ac_compile) 2>conftest.er1
86009 ac_status=$?
86010 grep -v '^ *+' conftest.er1 >conftest.err
86011 rm -f conftest.er1
86012 cat conftest.err >&5
86013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86014 (exit $ac_status); } &&
86015 { ac_try='test -z "$ac_c_werror_flag"
86016 || test ! -s conftest.err'
86017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86018 (eval $ac_try) 2>&5
86019 ac_status=$?
86020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86021 (exit $ac_status); }; } &&
86022 { ac_try='test -s conftest.$ac_objext'
86023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86024 (eval $ac_try) 2>&5
86025 ac_status=$?
86026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86027 (exit $ac_status); }; }; then
86028 has_wchar_minmax=yes
86029 else
86030 echo "$as_me: failed program was:" >&5
86031 sed 's/^/| /' conftest.$ac_ext >&5
86033 has_wchar_minmax=no
86035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86036 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
86037 echo "${ECHO_T}$has_wchar_minmax" >&6
86039 # Test wchar.h for WEOF, which is what we use to determine whether
86040 # to specialize for char_traits<wchar_t> or not.
86041 echo "$as_me:$LINENO: checking for WEOF" >&5
86042 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
86043 cat >conftest.$ac_ext <<_ACEOF
86044 /* confdefs.h. */
86045 _ACEOF
86046 cat confdefs.h >>conftest.$ac_ext
86047 cat >>conftest.$ac_ext <<_ACEOF
86048 /* end confdefs.h. */
86050 #include <wchar.h>
86051 #include <stddef.h>
86053 main ()
86055 wint_t i = WEOF;
86057 return 0;
86059 _ACEOF
86060 rm -f conftest.$ac_objext
86061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86062 (eval $ac_compile) 2>conftest.er1
86063 ac_status=$?
86064 grep -v '^ *+' conftest.er1 >conftest.err
86065 rm -f conftest.er1
86066 cat conftest.err >&5
86067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86068 (exit $ac_status); } &&
86069 { ac_try='test -z "$ac_c_werror_flag"
86070 || test ! -s conftest.err'
86071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86072 (eval $ac_try) 2>&5
86073 ac_status=$?
86074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86075 (exit $ac_status); }; } &&
86076 { ac_try='test -s conftest.$ac_objext'
86077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86078 (eval $ac_try) 2>&5
86079 ac_status=$?
86080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86081 (exit $ac_status); }; }; then
86082 has_weof=yes
86083 else
86084 echo "$as_me: failed program was:" >&5
86085 sed 's/^/| /' conftest.$ac_ext >&5
86087 has_weof=no
86089 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86090 echo "$as_me:$LINENO: result: $has_weof" >&5
86091 echo "${ECHO_T}$has_weof" >&6
86093 # Tests for wide character functions used in char_traits<wchar_t>.
86094 ac_wfuncs=yes
86101 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
86103 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86104 echo "$as_me:$LINENO: checking for $ac_func" >&5
86105 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86106 if eval "test \"\${$as_ac_var+set}\" = set"; then
86107 echo $ECHO_N "(cached) $ECHO_C" >&6
86108 else
86109 if test x$gcc_no_link = xyes; then
86110 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86111 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86112 { (exit 1); exit 1; }; }
86114 cat >conftest.$ac_ext <<_ACEOF
86115 /* confdefs.h. */
86116 _ACEOF
86117 cat confdefs.h >>conftest.$ac_ext
86118 cat >>conftest.$ac_ext <<_ACEOF
86119 /* end confdefs.h. */
86120 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86121 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86122 #define $ac_func innocuous_$ac_func
86124 /* System header to define __stub macros and hopefully few prototypes,
86125 which can conflict with char $ac_func (); below.
86126 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86127 <limits.h> exists even on freestanding compilers. */
86129 #ifdef __STDC__
86130 # include <limits.h>
86131 #else
86132 # include <assert.h>
86133 #endif
86135 #undef $ac_func
86137 /* Override any gcc2 internal prototype to avoid an error. */
86138 #ifdef __cplusplus
86139 extern "C"
86141 #endif
86142 /* We use char because int might match the return type of a gcc2
86143 builtin and then its argument prototype would still apply. */
86144 char $ac_func ();
86145 /* The GNU C library defines this for functions which it implements
86146 to always fail with ENOSYS. Some functions are actually named
86147 something starting with __ and the normal name is an alias. */
86148 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86149 choke me
86150 #else
86151 char (*f) () = $ac_func;
86152 #endif
86153 #ifdef __cplusplus
86155 #endif
86158 main ()
86160 return f != $ac_func;
86162 return 0;
86164 _ACEOF
86165 rm -f conftest.$ac_objext conftest$ac_exeext
86166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86167 (eval $ac_link) 2>conftest.er1
86168 ac_status=$?
86169 grep -v '^ *+' conftest.er1 >conftest.err
86170 rm -f conftest.er1
86171 cat conftest.err >&5
86172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86173 (exit $ac_status); } &&
86174 { ac_try='test -z "$ac_c_werror_flag"
86175 || test ! -s conftest.err'
86176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86177 (eval $ac_try) 2>&5
86178 ac_status=$?
86179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86180 (exit $ac_status); }; } &&
86181 { ac_try='test -s conftest$ac_exeext'
86182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86183 (eval $ac_try) 2>&5
86184 ac_status=$?
86185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86186 (exit $ac_status); }; }; then
86187 eval "$as_ac_var=yes"
86188 else
86189 echo "$as_me: failed program was:" >&5
86190 sed 's/^/| /' conftest.$ac_ext >&5
86192 eval "$as_ac_var=no"
86194 rm -f conftest.err conftest.$ac_objext \
86195 conftest$ac_exeext conftest.$ac_ext
86197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86198 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86199 if test `eval echo '${'$as_ac_var'}'` = yes; then
86200 cat >>confdefs.h <<_ACEOF
86201 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86202 _ACEOF
86204 else
86205 ac_wfuncs=no
86207 done
86210 # Checks for names injected into std:: by the c_std headers.
86257 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
86258 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
86259 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
86260 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
86261 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
86262 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
86264 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86265 echo "$as_me:$LINENO: checking for $ac_func" >&5
86266 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86267 if eval "test \"\${$as_ac_var+set}\" = set"; then
86268 echo $ECHO_N "(cached) $ECHO_C" >&6
86269 else
86270 if test x$gcc_no_link = xyes; then
86271 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86272 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86273 { (exit 1); exit 1; }; }
86275 cat >conftest.$ac_ext <<_ACEOF
86276 /* confdefs.h. */
86277 _ACEOF
86278 cat confdefs.h >>conftest.$ac_ext
86279 cat >>conftest.$ac_ext <<_ACEOF
86280 /* end confdefs.h. */
86281 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86282 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86283 #define $ac_func innocuous_$ac_func
86285 /* System header to define __stub macros and hopefully few prototypes,
86286 which can conflict with char $ac_func (); below.
86287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86288 <limits.h> exists even on freestanding compilers. */
86290 #ifdef __STDC__
86291 # include <limits.h>
86292 #else
86293 # include <assert.h>
86294 #endif
86296 #undef $ac_func
86298 /* Override any gcc2 internal prototype to avoid an error. */
86299 #ifdef __cplusplus
86300 extern "C"
86302 #endif
86303 /* We use char because int might match the return type of a gcc2
86304 builtin and then its argument prototype would still apply. */
86305 char $ac_func ();
86306 /* The GNU C library defines this for functions which it implements
86307 to always fail with ENOSYS. Some functions are actually named
86308 something starting with __ and the normal name is an alias. */
86309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86310 choke me
86311 #else
86312 char (*f) () = $ac_func;
86313 #endif
86314 #ifdef __cplusplus
86316 #endif
86319 main ()
86321 return f != $ac_func;
86323 return 0;
86325 _ACEOF
86326 rm -f conftest.$ac_objext conftest$ac_exeext
86327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86328 (eval $ac_link) 2>conftest.er1
86329 ac_status=$?
86330 grep -v '^ *+' conftest.er1 >conftest.err
86331 rm -f conftest.er1
86332 cat conftest.err >&5
86333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86334 (exit $ac_status); } &&
86335 { ac_try='test -z "$ac_c_werror_flag"
86336 || test ! -s conftest.err'
86337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86338 (eval $ac_try) 2>&5
86339 ac_status=$?
86340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86341 (exit $ac_status); }; } &&
86342 { ac_try='test -s conftest$ac_exeext'
86343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86344 (eval $ac_try) 2>&5
86345 ac_status=$?
86346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86347 (exit $ac_status); }; }; then
86348 eval "$as_ac_var=yes"
86349 else
86350 echo "$as_me: failed program was:" >&5
86351 sed 's/^/| /' conftest.$ac_ext >&5
86353 eval "$as_ac_var=no"
86355 rm -f conftest.err conftest.$ac_objext \
86356 conftest$ac_exeext conftest.$ac_ext
86358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86359 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86360 if test `eval echo '${'$as_ac_var'}'` = yes; then
86361 cat >>confdefs.h <<_ACEOF
86362 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86363 _ACEOF
86365 else
86366 ac_wfuncs=no
86368 done
86371 # Checks for wide character functions that are not required
86372 # for basic wchar_t support. Don't disable support if they are missing.
86373 # Injection of these is wrapped with guard macros.
86379 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
86381 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86382 echo "$as_me:$LINENO: checking for $ac_func" >&5
86383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86384 if eval "test \"\${$as_ac_var+set}\" = set"; then
86385 echo $ECHO_N "(cached) $ECHO_C" >&6
86386 else
86387 if test x$gcc_no_link = xyes; then
86388 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86389 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86390 { (exit 1); exit 1; }; }
86392 cat >conftest.$ac_ext <<_ACEOF
86393 /* confdefs.h. */
86394 _ACEOF
86395 cat confdefs.h >>conftest.$ac_ext
86396 cat >>conftest.$ac_ext <<_ACEOF
86397 /* end confdefs.h. */
86398 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86399 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86400 #define $ac_func innocuous_$ac_func
86402 /* System header to define __stub macros and hopefully few prototypes,
86403 which can conflict with char $ac_func (); below.
86404 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86405 <limits.h> exists even on freestanding compilers. */
86407 #ifdef __STDC__
86408 # include <limits.h>
86409 #else
86410 # include <assert.h>
86411 #endif
86413 #undef $ac_func
86415 /* Override any gcc2 internal prototype to avoid an error. */
86416 #ifdef __cplusplus
86417 extern "C"
86419 #endif
86420 /* We use char because int might match the return type of a gcc2
86421 builtin and then its argument prototype would still apply. */
86422 char $ac_func ();
86423 /* The GNU C library defines this for functions which it implements
86424 to always fail with ENOSYS. Some functions are actually named
86425 something starting with __ and the normal name is an alias. */
86426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86427 choke me
86428 #else
86429 char (*f) () = $ac_func;
86430 #endif
86431 #ifdef __cplusplus
86433 #endif
86436 main ()
86438 return f != $ac_func;
86440 return 0;
86442 _ACEOF
86443 rm -f conftest.$ac_objext conftest$ac_exeext
86444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86445 (eval $ac_link) 2>conftest.er1
86446 ac_status=$?
86447 grep -v '^ *+' conftest.er1 >conftest.err
86448 rm -f conftest.er1
86449 cat conftest.err >&5
86450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86451 (exit $ac_status); } &&
86452 { ac_try='test -z "$ac_c_werror_flag"
86453 || test ! -s conftest.err'
86454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86455 (eval $ac_try) 2>&5
86456 ac_status=$?
86457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86458 (exit $ac_status); }; } &&
86459 { ac_try='test -s conftest$ac_exeext'
86460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86461 (eval $ac_try) 2>&5
86462 ac_status=$?
86463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86464 (exit $ac_status); }; }; then
86465 eval "$as_ac_var=yes"
86466 else
86467 echo "$as_me: failed program was:" >&5
86468 sed 's/^/| /' conftest.$ac_ext >&5
86470 eval "$as_ac_var=no"
86472 rm -f conftest.err conftest.$ac_objext \
86473 conftest$ac_exeext conftest.$ac_ext
86475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86476 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86477 if test `eval echo '${'$as_ac_var'}'` = yes; then
86478 cat >>confdefs.h <<_ACEOF
86479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86480 _ACEOF
86483 done
86486 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
86487 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
86488 if test x"$has_weof" = xyes &&
86489 test x"$has_wchar_minmax" = xyes &&
86490 test x"$ac_wfuncs" = xyes;
86491 then
86492 ac_isoC99_wchar_t=yes
86493 else
86494 ac_isoC99_wchar_t=no
86496 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
86497 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
86499 # Use iconv for wchar_t to char conversions. As such, check for
86500 # X/Open Portability Guide, version 2 features (XPG2).
86501 if test "${ac_cv_header_iconv_h+set}" = set; then
86502 echo "$as_me:$LINENO: checking for iconv.h" >&5
86503 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
86504 if test "${ac_cv_header_iconv_h+set}" = set; then
86505 echo $ECHO_N "(cached) $ECHO_C" >&6
86507 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
86508 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
86509 else
86510 # Is the header compilable?
86511 echo "$as_me:$LINENO: checking iconv.h usability" >&5
86512 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
86513 cat >conftest.$ac_ext <<_ACEOF
86514 /* confdefs.h. */
86515 _ACEOF
86516 cat confdefs.h >>conftest.$ac_ext
86517 cat >>conftest.$ac_ext <<_ACEOF
86518 /* end confdefs.h. */
86519 $ac_includes_default
86520 #include <iconv.h>
86521 _ACEOF
86522 rm -f conftest.$ac_objext
86523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86524 (eval $ac_compile) 2>conftest.er1
86525 ac_status=$?
86526 grep -v '^ *+' conftest.er1 >conftest.err
86527 rm -f conftest.er1
86528 cat conftest.err >&5
86529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86530 (exit $ac_status); } &&
86531 { ac_try='test -z "$ac_c_werror_flag"
86532 || test ! -s conftest.err'
86533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86534 (eval $ac_try) 2>&5
86535 ac_status=$?
86536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86537 (exit $ac_status); }; } &&
86538 { ac_try='test -s conftest.$ac_objext'
86539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86540 (eval $ac_try) 2>&5
86541 ac_status=$?
86542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86543 (exit $ac_status); }; }; then
86544 ac_header_compiler=yes
86545 else
86546 echo "$as_me: failed program was:" >&5
86547 sed 's/^/| /' conftest.$ac_ext >&5
86549 ac_header_compiler=no
86551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86552 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86553 echo "${ECHO_T}$ac_header_compiler" >&6
86555 # Is the header present?
86556 echo "$as_me:$LINENO: checking iconv.h presence" >&5
86557 echo $ECHO_N "checking iconv.h presence... $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 #include <iconv.h>
86565 _ACEOF
86566 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86567 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86568 ac_status=$?
86569 grep -v '^ *+' conftest.er1 >conftest.err
86570 rm -f conftest.er1
86571 cat conftest.err >&5
86572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86573 (exit $ac_status); } >/dev/null; then
86574 if test -s conftest.err; then
86575 ac_cpp_err=$ac_c_preproc_warn_flag
86576 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86577 else
86578 ac_cpp_err=
86580 else
86581 ac_cpp_err=yes
86583 if test -z "$ac_cpp_err"; then
86584 ac_header_preproc=yes
86585 else
86586 echo "$as_me: failed program was:" >&5
86587 sed 's/^/| /' conftest.$ac_ext >&5
86589 ac_header_preproc=no
86591 rm -f conftest.err conftest.$ac_ext
86592 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86593 echo "${ECHO_T}$ac_header_preproc" >&6
86595 # So? What about this header?
86596 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86597 yes:no: )
86598 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
86599 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
86600 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
86601 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
86602 ac_header_preproc=yes
86604 no:yes:* )
86605 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
86606 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
86607 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
86608 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
86609 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
86610 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
86611 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
86612 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
86613 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
86614 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
86615 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
86616 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
86618 cat <<\_ASBOX
86619 ## ----------------------------------------- ##
86620 ## Report this to the package-unused lists. ##
86621 ## ----------------------------------------- ##
86622 _ASBOX
86624 sed "s/^/$as_me: WARNING: /" >&2
86626 esac
86627 echo "$as_me:$LINENO: checking for iconv.h" >&5
86628 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
86629 if test "${ac_cv_header_iconv_h+set}" = set; then
86630 echo $ECHO_N "(cached) $ECHO_C" >&6
86631 else
86632 ac_cv_header_iconv_h=$ac_header_preproc
86634 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
86635 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
86638 if test $ac_cv_header_iconv_h = yes; then
86639 ac_has_iconv_h=yes
86640 else
86641 ac_has_iconv_h=no
86645 if test "${ac_cv_header_langinfo_h+set}" = set; then
86646 echo "$as_me:$LINENO: checking for langinfo.h" >&5
86647 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
86648 if test "${ac_cv_header_langinfo_h+set}" = set; then
86649 echo $ECHO_N "(cached) $ECHO_C" >&6
86651 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
86652 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
86653 else
86654 # Is the header compilable?
86655 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
86656 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
86657 cat >conftest.$ac_ext <<_ACEOF
86658 /* confdefs.h. */
86659 _ACEOF
86660 cat confdefs.h >>conftest.$ac_ext
86661 cat >>conftest.$ac_ext <<_ACEOF
86662 /* end confdefs.h. */
86663 $ac_includes_default
86664 #include <langinfo.h>
86665 _ACEOF
86666 rm -f conftest.$ac_objext
86667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86668 (eval $ac_compile) 2>conftest.er1
86669 ac_status=$?
86670 grep -v '^ *+' conftest.er1 >conftest.err
86671 rm -f conftest.er1
86672 cat conftest.err >&5
86673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86674 (exit $ac_status); } &&
86675 { ac_try='test -z "$ac_c_werror_flag"
86676 || test ! -s conftest.err'
86677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86678 (eval $ac_try) 2>&5
86679 ac_status=$?
86680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86681 (exit $ac_status); }; } &&
86682 { ac_try='test -s conftest.$ac_objext'
86683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86684 (eval $ac_try) 2>&5
86685 ac_status=$?
86686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86687 (exit $ac_status); }; }; then
86688 ac_header_compiler=yes
86689 else
86690 echo "$as_me: failed program was:" >&5
86691 sed 's/^/| /' conftest.$ac_ext >&5
86693 ac_header_compiler=no
86695 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86696 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86697 echo "${ECHO_T}$ac_header_compiler" >&6
86699 # Is the header present?
86700 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
86701 echo $ECHO_N "checking langinfo.h presence... $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 #include <langinfo.h>
86709 _ACEOF
86710 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86711 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86712 ac_status=$?
86713 grep -v '^ *+' conftest.er1 >conftest.err
86714 rm -f conftest.er1
86715 cat conftest.err >&5
86716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86717 (exit $ac_status); } >/dev/null; then
86718 if test -s conftest.err; then
86719 ac_cpp_err=$ac_c_preproc_warn_flag
86720 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86721 else
86722 ac_cpp_err=
86724 else
86725 ac_cpp_err=yes
86727 if test -z "$ac_cpp_err"; then
86728 ac_header_preproc=yes
86729 else
86730 echo "$as_me: failed program was:" >&5
86731 sed 's/^/| /' conftest.$ac_ext >&5
86733 ac_header_preproc=no
86735 rm -f conftest.err conftest.$ac_ext
86736 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86737 echo "${ECHO_T}$ac_header_preproc" >&6
86739 # So? What about this header?
86740 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86741 yes:no: )
86742 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
86743 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
86744 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
86745 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
86746 ac_header_preproc=yes
86748 no:yes:* )
86749 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
86750 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
86751 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
86752 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
86753 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
86754 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
86755 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
86756 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
86757 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
86758 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
86759 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
86760 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
86762 cat <<\_ASBOX
86763 ## ----------------------------------------- ##
86764 ## Report this to the package-unused lists. ##
86765 ## ----------------------------------------- ##
86766 _ASBOX
86768 sed "s/^/$as_me: WARNING: /" >&2
86770 esac
86771 echo "$as_me:$LINENO: checking for langinfo.h" >&5
86772 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
86773 if test "${ac_cv_header_langinfo_h+set}" = set; then
86774 echo $ECHO_N "(cached) $ECHO_C" >&6
86775 else
86776 ac_cv_header_langinfo_h=$ac_header_preproc
86778 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
86779 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
86782 if test $ac_cv_header_langinfo_h = yes; then
86783 ac_has_langinfo_h=yes
86784 else
86785 ac_has_langinfo_h=no
86790 # Check for existence of libiconv.a providing XPG2 wchar_t support.
86791 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
86792 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
86793 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
86794 echo $ECHO_N "(cached) $ECHO_C" >&6
86795 else
86796 ac_check_lib_save_LIBS=$LIBS
86797 LIBS="-liconv $LIBS"
86798 if test x$gcc_no_link = xyes; then
86799 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86800 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86801 { (exit 1); exit 1; }; }
86803 cat >conftest.$ac_ext <<_ACEOF
86804 /* confdefs.h. */
86805 _ACEOF
86806 cat confdefs.h >>conftest.$ac_ext
86807 cat >>conftest.$ac_ext <<_ACEOF
86808 /* end confdefs.h. */
86810 /* Override any gcc2 internal prototype to avoid an error. */
86811 #ifdef __cplusplus
86812 extern "C"
86813 #endif
86814 /* We use char because int might match the return type of a gcc2
86815 builtin and then its argument prototype would still apply. */
86816 char iconv ();
86818 main ()
86820 iconv ();
86822 return 0;
86824 _ACEOF
86825 rm -f conftest.$ac_objext conftest$ac_exeext
86826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86827 (eval $ac_link) 2>conftest.er1
86828 ac_status=$?
86829 grep -v '^ *+' conftest.er1 >conftest.err
86830 rm -f conftest.er1
86831 cat conftest.err >&5
86832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86833 (exit $ac_status); } &&
86834 { ac_try='test -z "$ac_c_werror_flag"
86835 || test ! -s conftest.err'
86836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86837 (eval $ac_try) 2>&5
86838 ac_status=$?
86839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86840 (exit $ac_status); }; } &&
86841 { ac_try='test -s conftest$ac_exeext'
86842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86843 (eval $ac_try) 2>&5
86844 ac_status=$?
86845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86846 (exit $ac_status); }; }; then
86847 ac_cv_lib_iconv_iconv=yes
86848 else
86849 echo "$as_me: failed program was:" >&5
86850 sed 's/^/| /' conftest.$ac_ext >&5
86852 ac_cv_lib_iconv_iconv=no
86854 rm -f conftest.err conftest.$ac_objext \
86855 conftest$ac_exeext conftest.$ac_ext
86856 LIBS=$ac_check_lib_save_LIBS
86858 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
86859 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
86860 if test $ac_cv_lib_iconv_iconv = yes; then
86861 LIBICONV="-liconv"
86864 ac_save_LIBS="$LIBS"
86865 LIBS="$LIBS $LIBICONV"
86872 for ac_func in iconv_open iconv_close iconv nl_langinfo
86874 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86875 echo "$as_me:$LINENO: checking for $ac_func" >&5
86876 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86877 if eval "test \"\${$as_ac_var+set}\" = set"; then
86878 echo $ECHO_N "(cached) $ECHO_C" >&6
86879 else
86880 if test x$gcc_no_link = xyes; then
86881 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86882 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86883 { (exit 1); exit 1; }; }
86885 cat >conftest.$ac_ext <<_ACEOF
86886 /* confdefs.h. */
86887 _ACEOF
86888 cat confdefs.h >>conftest.$ac_ext
86889 cat >>conftest.$ac_ext <<_ACEOF
86890 /* end confdefs.h. */
86891 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86892 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86893 #define $ac_func innocuous_$ac_func
86895 /* System header to define __stub macros and hopefully few prototypes,
86896 which can conflict with char $ac_func (); below.
86897 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86898 <limits.h> exists even on freestanding compilers. */
86900 #ifdef __STDC__
86901 # include <limits.h>
86902 #else
86903 # include <assert.h>
86904 #endif
86906 #undef $ac_func
86908 /* Override any gcc2 internal prototype to avoid an error. */
86909 #ifdef __cplusplus
86910 extern "C"
86912 #endif
86913 /* We use char because int might match the return type of a gcc2
86914 builtin and then its argument prototype would still apply. */
86915 char $ac_func ();
86916 /* The GNU C library defines this for functions which it implements
86917 to always fail with ENOSYS. Some functions are actually named
86918 something starting with __ and the normal name is an alias. */
86919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86920 choke me
86921 #else
86922 char (*f) () = $ac_func;
86923 #endif
86924 #ifdef __cplusplus
86926 #endif
86929 main ()
86931 return f != $ac_func;
86933 return 0;
86935 _ACEOF
86936 rm -f conftest.$ac_objext conftest$ac_exeext
86937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86938 (eval $ac_link) 2>conftest.er1
86939 ac_status=$?
86940 grep -v '^ *+' conftest.er1 >conftest.err
86941 rm -f conftest.er1
86942 cat conftest.err >&5
86943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86944 (exit $ac_status); } &&
86945 { ac_try='test -z "$ac_c_werror_flag"
86946 || test ! -s conftest.err'
86947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86948 (eval $ac_try) 2>&5
86949 ac_status=$?
86950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86951 (exit $ac_status); }; } &&
86952 { ac_try='test -s conftest$ac_exeext'
86953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86954 (eval $ac_try) 2>&5
86955 ac_status=$?
86956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86957 (exit $ac_status); }; }; then
86958 eval "$as_ac_var=yes"
86959 else
86960 echo "$as_me: failed program was:" >&5
86961 sed 's/^/| /' conftest.$ac_ext >&5
86963 eval "$as_ac_var=no"
86965 rm -f conftest.err conftest.$ac_objext \
86966 conftest$ac_exeext conftest.$ac_ext
86968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86969 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86970 if test `eval echo '${'$as_ac_var'}'` = yes; then
86971 cat >>confdefs.h <<_ACEOF
86972 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86973 _ACEOF
86974 ac_XPG2funcs=yes
86975 else
86976 ac_XPG2funcs=no
86978 done
86981 LIBS="$ac_save_LIBS"
86983 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
86984 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
86985 if test x"$ac_has_iconv_h" = xyes &&
86986 test x"$ac_has_langinfo_h" = xyes &&
86987 test x"$ac_XPG2funcs" = xyes;
86988 then
86989 ac_XPG2_wchar_t=yes
86990 else
86991 ac_XPG2_wchar_t=no
86993 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
86994 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
86996 # At the moment, only enable wchar_t specializations if all the
86997 # above support is present.
86998 if test x"$ac_isoC99_wchar_t" = xyes &&
86999 test x"$ac_XPG2_wchar_t" = xyes;
87000 then
87001 cat >>confdefs.h <<\_ACEOF
87002 #define _GLIBCXX_USE_WCHAR_T 1
87003 _ACEOF
87005 enable_wchar_t=yes
87008 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
87009 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
87010 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
87011 echo "${ECHO_T}$enable_wchar_t" >&6
87013 cat >>confdefs.h <<\_ACEOF
87014 #define HAVE_COPYSIGN 1
87015 _ACEOF
87017 cat >>confdefs.h <<\_ACEOF
87018 #define HAVE_COPYSIGNF 1
87019 _ACEOF
87021 cat >>confdefs.h <<\_ACEOF
87022 #define HAVE_FINITEF 1
87023 _ACEOF
87025 cat >>confdefs.h <<\_ACEOF
87026 #define HAVE_FINITE 1
87027 _ACEOF
87029 cat >>confdefs.h <<\_ACEOF
87030 #define HAVE_FREXPF 1
87031 _ACEOF
87033 cat >>confdefs.h <<\_ACEOF
87034 #define HAVE_HYPOTF 1
87035 _ACEOF
87037 cat >>confdefs.h <<\_ACEOF
87038 #define HAVE_ISINF 1
87039 _ACEOF
87041 cat >>confdefs.h <<\_ACEOF
87042 #define HAVE_ISINFF 1
87043 _ACEOF
87045 cat >>confdefs.h <<\_ACEOF
87046 #define HAVE_ISNAN 1
87047 _ACEOF
87049 cat >>confdefs.h <<\_ACEOF
87050 #define HAVE_ISNANF 1
87051 _ACEOF
87053 if test x"long_double_math_on_this_cpu" = x"yes"; then
87054 cat >>confdefs.h <<\_ACEOF
87055 #define HAVE_FINITEL 1
87056 _ACEOF
87058 cat >>confdefs.h <<\_ACEOF
87059 #define HAVE_ISINFL 1
87060 _ACEOF
87062 cat >>confdefs.h <<\_ACEOF
87063 #define HAVE_ISNANL 1
87064 _ACEOF
87068 *-qnx6.1* | *-qnx6.2*)
87069 SECTION_FLAGS='-ffunction-sections -fdata-sections'
87072 # If we're not using GNU ld, then there's no point in even trying these
87073 # tests. Check for that first. We should have already tested for gld
87074 # by now (in libtool), but require it now just to be safe...
87075 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
87076 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
87080 # The name set by libtool depends on the version of libtool. Shame on us
87081 # for depending on an impl detail, but c'est la vie. Older versions used
87082 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
87083 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
87084 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
87085 # set (hence we're using an older libtool), then set it.
87086 if test x${with_gnu_ld+set} != xset; then
87087 if test x${ac_cv_prog_gnu_ld+set} != xset; then
87088 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
87089 with_gnu_ld=no
87090 else
87091 with_gnu_ld=$ac_cv_prog_gnu_ld
87095 # Start by getting the version number. I think the libtool test already
87096 # does some of this, but throws away the result.
87098 ldver=`$LD --version 2>/dev/null | head -1 | \
87099 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
87101 glibcxx_gnu_ld_version=`echo $ldver | \
87102 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
87104 # Set --gc-sections.
87105 if test "$with_gnu_ld" = "notbroken"; then
87106 # GNU ld it is! Joy and bunny rabbits!
87108 # All these tests are for C++; save the language and the compiler flags.
87109 # Need to do this so that g++ won't try to link in libstdc++
87110 ac_test_CFLAGS="${CFLAGS+set}"
87111 ac_save_CFLAGS="$CFLAGS"
87112 CFLAGS='-x c++ -Wl,--gc-sections'
87114 # Check for -Wl,--gc-sections
87115 # XXX This test is broken at the moment, as symbols required for linking
87116 # are now in libsupc++ (not built yet). In addition, this test has
87117 # cored on solaris in the past. In addition, --gc-sections doesn't
87118 # really work at the moment (keeps on discarding used sections, first
87119 # .eh_frame and now some of the glibc sections for iconv).
87120 # Bzzzzt. Thanks for playing, maybe next time.
87121 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
87122 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
87123 if test "$cross_compiling" = yes; then
87124 ac_sectionLDflags=yes
87125 else
87126 cat >conftest.$ac_ext <<_ACEOF
87127 /* confdefs.h. */
87128 _ACEOF
87129 cat confdefs.h >>conftest.$ac_ext
87130 cat >>conftest.$ac_ext <<_ACEOF
87131 /* end confdefs.h. */
87133 int main(void)
87135 try { throw 1; }
87136 catch (...) { };
87137 return 0;
87140 _ACEOF
87141 rm -f conftest$ac_exeext
87142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87143 (eval $ac_link) 2>&5
87144 ac_status=$?
87145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87146 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
87147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87148 (eval $ac_try) 2>&5
87149 ac_status=$?
87150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87151 (exit $ac_status); }; }; then
87152 ac_sectionLDflags=yes
87153 else
87154 echo "$as_me: program exited with status $ac_status" >&5
87155 echo "$as_me: failed program was:" >&5
87156 sed 's/^/| /' conftest.$ac_ext >&5
87158 ( exit $ac_status )
87159 ac_sectionLDflags=no
87161 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
87163 if test "$ac_test_CFLAGS" = set; then
87164 CFLAGS="$ac_save_CFLAGS"
87165 else
87166 # this is the suspicious part
87167 CFLAGS=''
87169 if test "$ac_sectionLDflags" = "yes"; then
87170 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
87172 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
87173 echo "${ECHO_T}$ac_sectionLDflags" >&6
87176 # Set linker optimization flags.
87177 if test x"$with_gnu_ld" = x"yes"; then
87178 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
87186 echo "$as_me:$LINENO: checking for main in -lm" >&5
87187 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
87188 if test "${ac_cv_lib_m_main+set}" = set; then
87189 echo $ECHO_N "(cached) $ECHO_C" >&6
87190 else
87191 ac_check_lib_save_LIBS=$LIBS
87192 LIBS="-lm $LIBS"
87193 if test x$gcc_no_link = xyes; then
87194 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87195 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87196 { (exit 1); exit 1; }; }
87198 cat >conftest.$ac_ext <<_ACEOF
87199 /* confdefs.h. */
87200 _ACEOF
87201 cat confdefs.h >>conftest.$ac_ext
87202 cat >>conftest.$ac_ext <<_ACEOF
87203 /* end confdefs.h. */
87207 main ()
87209 main ();
87211 return 0;
87213 _ACEOF
87214 rm -f conftest.$ac_objext conftest$ac_exeext
87215 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87216 (eval $ac_link) 2>conftest.er1
87217 ac_status=$?
87218 grep -v '^ *+' conftest.er1 >conftest.err
87219 rm -f conftest.er1
87220 cat conftest.err >&5
87221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87222 (exit $ac_status); } &&
87223 { ac_try='test -z "$ac_c_werror_flag"
87224 || test ! -s conftest.err'
87225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87226 (eval $ac_try) 2>&5
87227 ac_status=$?
87228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87229 (exit $ac_status); }; } &&
87230 { ac_try='test -s conftest$ac_exeext'
87231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87232 (eval $ac_try) 2>&5
87233 ac_status=$?
87234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87235 (exit $ac_status); }; }; then
87236 ac_cv_lib_m_main=yes
87237 else
87238 echo "$as_me: failed program was:" >&5
87239 sed 's/^/| /' conftest.$ac_ext >&5
87241 ac_cv_lib_m_main=no
87243 rm -f conftest.err conftest.$ac_objext \
87244 conftest$ac_exeext conftest.$ac_ext
87245 LIBS=$ac_check_lib_save_LIBS
87247 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
87248 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
87249 if test $ac_cv_lib_m_main = yes; then
87250 cat >>confdefs.h <<_ACEOF
87251 #define HAVE_LIBM 1
87252 _ACEOF
87254 LIBS="-lm $LIBS"
87259 for ac_func in copysignf
87261 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87262 echo "$as_me:$LINENO: checking for $ac_func" >&5
87263 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87264 if eval "test \"\${$as_ac_var+set}\" = set"; then
87265 echo $ECHO_N "(cached) $ECHO_C" >&6
87266 else
87267 if test x$gcc_no_link = xyes; then
87268 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87269 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87270 { (exit 1); exit 1; }; }
87272 cat >conftest.$ac_ext <<_ACEOF
87273 /* confdefs.h. */
87274 _ACEOF
87275 cat confdefs.h >>conftest.$ac_ext
87276 cat >>conftest.$ac_ext <<_ACEOF
87277 /* end confdefs.h. */
87278 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87279 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87280 #define $ac_func innocuous_$ac_func
87282 /* System header to define __stub macros and hopefully few prototypes,
87283 which can conflict with char $ac_func (); below.
87284 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87285 <limits.h> exists even on freestanding compilers. */
87287 #ifdef __STDC__
87288 # include <limits.h>
87289 #else
87290 # include <assert.h>
87291 #endif
87293 #undef $ac_func
87295 /* Override any gcc2 internal prototype to avoid an error. */
87296 #ifdef __cplusplus
87297 extern "C"
87299 #endif
87300 /* We use char because int might match the return type of a gcc2
87301 builtin and then its argument prototype would still apply. */
87302 char $ac_func ();
87303 /* The GNU C library defines this for functions which it implements
87304 to always fail with ENOSYS. Some functions are actually named
87305 something starting with __ and the normal name is an alias. */
87306 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87307 choke me
87308 #else
87309 char (*f) () = $ac_func;
87310 #endif
87311 #ifdef __cplusplus
87313 #endif
87316 main ()
87318 return f != $ac_func;
87320 return 0;
87322 _ACEOF
87323 rm -f conftest.$ac_objext conftest$ac_exeext
87324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87325 (eval $ac_link) 2>conftest.er1
87326 ac_status=$?
87327 grep -v '^ *+' conftest.er1 >conftest.err
87328 rm -f conftest.er1
87329 cat conftest.err >&5
87330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87331 (exit $ac_status); } &&
87332 { ac_try='test -z "$ac_c_werror_flag"
87333 || test ! -s conftest.err'
87334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87335 (eval $ac_try) 2>&5
87336 ac_status=$?
87337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87338 (exit $ac_status); }; } &&
87339 { ac_try='test -s conftest$ac_exeext'
87340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87341 (eval $ac_try) 2>&5
87342 ac_status=$?
87343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87344 (exit $ac_status); }; }; then
87345 eval "$as_ac_var=yes"
87346 else
87347 echo "$as_me: failed program was:" >&5
87348 sed 's/^/| /' conftest.$ac_ext >&5
87350 eval "$as_ac_var=no"
87352 rm -f conftest.err conftest.$ac_objext \
87353 conftest$ac_exeext conftest.$ac_ext
87355 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87356 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87357 if test `eval echo '${'$as_ac_var'}'` = yes; then
87358 cat >>confdefs.h <<_ACEOF
87359 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87360 _ACEOF
87362 else
87363 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
87365 done
87369 for ac_func in __signbit
87371 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87372 echo "$as_me:$LINENO: checking for $ac_func" >&5
87373 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87374 if eval "test \"\${$as_ac_var+set}\" = set"; then
87375 echo $ECHO_N "(cached) $ECHO_C" >&6
87376 else
87377 if test x$gcc_no_link = xyes; then
87378 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87379 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87380 { (exit 1); exit 1; }; }
87382 cat >conftest.$ac_ext <<_ACEOF
87383 /* confdefs.h. */
87384 _ACEOF
87385 cat confdefs.h >>conftest.$ac_ext
87386 cat >>conftest.$ac_ext <<_ACEOF
87387 /* end confdefs.h. */
87388 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87389 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87390 #define $ac_func innocuous_$ac_func
87392 /* System header to define __stub macros and hopefully few prototypes,
87393 which can conflict with char $ac_func (); below.
87394 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87395 <limits.h> exists even on freestanding compilers. */
87397 #ifdef __STDC__
87398 # include <limits.h>
87399 #else
87400 # include <assert.h>
87401 #endif
87403 #undef $ac_func
87405 /* Override any gcc2 internal prototype to avoid an error. */
87406 #ifdef __cplusplus
87407 extern "C"
87409 #endif
87410 /* We use char because int might match the return type of a gcc2
87411 builtin and then its argument prototype would still apply. */
87412 char $ac_func ();
87413 /* The GNU C library defines this for functions which it implements
87414 to always fail with ENOSYS. Some functions are actually named
87415 something starting with __ and the normal name is an alias. */
87416 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87417 choke me
87418 #else
87419 char (*f) () = $ac_func;
87420 #endif
87421 #ifdef __cplusplus
87423 #endif
87426 main ()
87428 return f != $ac_func;
87430 return 0;
87432 _ACEOF
87433 rm -f conftest.$ac_objext conftest$ac_exeext
87434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87435 (eval $ac_link) 2>conftest.er1
87436 ac_status=$?
87437 grep -v '^ *+' conftest.er1 >conftest.err
87438 rm -f conftest.er1
87439 cat conftest.err >&5
87440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87441 (exit $ac_status); } &&
87442 { ac_try='test -z "$ac_c_werror_flag"
87443 || test ! -s conftest.err'
87444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87445 (eval $ac_try) 2>&5
87446 ac_status=$?
87447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87448 (exit $ac_status); }; } &&
87449 { ac_try='test -s conftest$ac_exeext'
87450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87451 (eval $ac_try) 2>&5
87452 ac_status=$?
87453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87454 (exit $ac_status); }; }; then
87455 eval "$as_ac_var=yes"
87456 else
87457 echo "$as_me: failed program was:" >&5
87458 sed 's/^/| /' conftest.$ac_ext >&5
87460 eval "$as_ac_var=no"
87462 rm -f conftest.err conftest.$ac_objext \
87463 conftest$ac_exeext conftest.$ac_ext
87465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87466 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87467 if test `eval echo '${'$as_ac_var'}'` = yes; then
87468 cat >>confdefs.h <<_ACEOF
87469 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87470 _ACEOF
87472 else
87473 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
87475 done
87479 for ac_func in __signbitf
87481 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87482 echo "$as_me:$LINENO: checking for $ac_func" >&5
87483 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87484 if eval "test \"\${$as_ac_var+set}\" = set"; then
87485 echo $ECHO_N "(cached) $ECHO_C" >&6
87486 else
87487 if test x$gcc_no_link = xyes; then
87488 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87489 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87490 { (exit 1); exit 1; }; }
87492 cat >conftest.$ac_ext <<_ACEOF
87493 /* confdefs.h. */
87494 _ACEOF
87495 cat confdefs.h >>conftest.$ac_ext
87496 cat >>conftest.$ac_ext <<_ACEOF
87497 /* end confdefs.h. */
87498 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87499 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87500 #define $ac_func innocuous_$ac_func
87502 /* System header to define __stub macros and hopefully few prototypes,
87503 which can conflict with char $ac_func (); below.
87504 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87505 <limits.h> exists even on freestanding compilers. */
87507 #ifdef __STDC__
87508 # include <limits.h>
87509 #else
87510 # include <assert.h>
87511 #endif
87513 #undef $ac_func
87515 /* Override any gcc2 internal prototype to avoid an error. */
87516 #ifdef __cplusplus
87517 extern "C"
87519 #endif
87520 /* We use char because int might match the return type of a gcc2
87521 builtin and then its argument prototype would still apply. */
87522 char $ac_func ();
87523 /* The GNU C library defines this for functions which it implements
87524 to always fail with ENOSYS. Some functions are actually named
87525 something starting with __ and the normal name is an alias. */
87526 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87527 choke me
87528 #else
87529 char (*f) () = $ac_func;
87530 #endif
87531 #ifdef __cplusplus
87533 #endif
87536 main ()
87538 return f != $ac_func;
87540 return 0;
87542 _ACEOF
87543 rm -f conftest.$ac_objext conftest$ac_exeext
87544 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87545 (eval $ac_link) 2>conftest.er1
87546 ac_status=$?
87547 grep -v '^ *+' conftest.er1 >conftest.err
87548 rm -f conftest.er1
87549 cat conftest.err >&5
87550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87551 (exit $ac_status); } &&
87552 { ac_try='test -z "$ac_c_werror_flag"
87553 || test ! -s conftest.err'
87554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87555 (eval $ac_try) 2>&5
87556 ac_status=$?
87557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87558 (exit $ac_status); }; } &&
87559 { ac_try='test -s conftest$ac_exeext'
87560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87561 (eval $ac_try) 2>&5
87562 ac_status=$?
87563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87564 (exit $ac_status); }; }; then
87565 eval "$as_ac_var=yes"
87566 else
87567 echo "$as_me: failed program was:" >&5
87568 sed 's/^/| /' conftest.$ac_ext >&5
87570 eval "$as_ac_var=no"
87572 rm -f conftest.err conftest.$ac_objext \
87573 conftest$ac_exeext conftest.$ac_ext
87575 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87576 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87577 if test `eval echo '${'$as_ac_var'}'` = yes; then
87578 cat >>confdefs.h <<_ACEOF
87579 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87580 _ACEOF
87582 else
87583 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
87585 done
87588 if test x$ac_cv_func_copysignl = x"yes"; then
87590 for ac_func in __signbitl
87592 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87593 echo "$as_me:$LINENO: checking for $ac_func" >&5
87594 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87595 if eval "test \"\${$as_ac_var+set}\" = set"; then
87596 echo $ECHO_N "(cached) $ECHO_C" >&6
87597 else
87598 if test x$gcc_no_link = xyes; then
87599 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87600 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87601 { (exit 1); exit 1; }; }
87603 cat >conftest.$ac_ext <<_ACEOF
87604 /* confdefs.h. */
87605 _ACEOF
87606 cat confdefs.h >>conftest.$ac_ext
87607 cat >>conftest.$ac_ext <<_ACEOF
87608 /* end confdefs.h. */
87609 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87610 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87611 #define $ac_func innocuous_$ac_func
87613 /* System header to define __stub macros and hopefully few prototypes,
87614 which can conflict with char $ac_func (); below.
87615 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87616 <limits.h> exists even on freestanding compilers. */
87618 #ifdef __STDC__
87619 # include <limits.h>
87620 #else
87621 # include <assert.h>
87622 #endif
87624 #undef $ac_func
87626 /* Override any gcc2 internal prototype to avoid an error. */
87627 #ifdef __cplusplus
87628 extern "C"
87630 #endif
87631 /* We use char because int might match the return type of a gcc2
87632 builtin and then its argument prototype would still apply. */
87633 char $ac_func ();
87634 /* The GNU C library defines this for functions which it implements
87635 to always fail with ENOSYS. Some functions are actually named
87636 something starting with __ and the normal name is an alias. */
87637 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87638 choke me
87639 #else
87640 char (*f) () = $ac_func;
87641 #endif
87642 #ifdef __cplusplus
87644 #endif
87647 main ()
87649 return f != $ac_func;
87651 return 0;
87653 _ACEOF
87654 rm -f conftest.$ac_objext conftest$ac_exeext
87655 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87656 (eval $ac_link) 2>conftest.er1
87657 ac_status=$?
87658 grep -v '^ *+' conftest.er1 >conftest.err
87659 rm -f conftest.er1
87660 cat conftest.err >&5
87661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87662 (exit $ac_status); } &&
87663 { ac_try='test -z "$ac_c_werror_flag"
87664 || test ! -s conftest.err'
87665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87666 (eval $ac_try) 2>&5
87667 ac_status=$?
87668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87669 (exit $ac_status); }; } &&
87670 { ac_try='test -s conftest$ac_exeext'
87671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87672 (eval $ac_try) 2>&5
87673 ac_status=$?
87674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87675 (exit $ac_status); }; }; then
87676 eval "$as_ac_var=yes"
87677 else
87678 echo "$as_me: failed program was:" >&5
87679 sed 's/^/| /' conftest.$ac_ext >&5
87681 eval "$as_ac_var=no"
87683 rm -f conftest.err conftest.$ac_objext \
87684 conftest$ac_exeext conftest.$ac_ext
87686 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87687 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87688 if test `eval echo '${'$as_ac_var'}'` = yes; then
87689 cat >>confdefs.h <<_ACEOF
87690 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87691 _ACEOF
87693 else
87694 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
87696 done
87700 # Used in libmath/Makefile.am.
87701 if test -n "$LIBMATHOBJS"; then
87702 need_libmath=yes
87707 # Test wchar.h for mbstate_t, which is needed for char_traits and
87708 # others even if wchar_t support is not on.
87709 echo "$as_me:$LINENO: checking for mbstate_t" >&5
87710 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
87711 cat >conftest.$ac_ext <<_ACEOF
87712 /* confdefs.h. */
87713 _ACEOF
87714 cat confdefs.h >>conftest.$ac_ext
87715 cat >>conftest.$ac_ext <<_ACEOF
87716 /* end confdefs.h. */
87717 #include <wchar.h>
87719 main ()
87721 mbstate_t teststate;
87723 return 0;
87725 _ACEOF
87726 rm -f conftest.$ac_objext
87727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87728 (eval $ac_compile) 2>conftest.er1
87729 ac_status=$?
87730 grep -v '^ *+' conftest.er1 >conftest.err
87731 rm -f conftest.er1
87732 cat conftest.err >&5
87733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87734 (exit $ac_status); } &&
87735 { ac_try='test -z "$ac_c_werror_flag"
87736 || test ! -s conftest.err'
87737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87738 (eval $ac_try) 2>&5
87739 ac_status=$?
87740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87741 (exit $ac_status); }; } &&
87742 { ac_try='test -s conftest.$ac_objext'
87743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87744 (eval $ac_try) 2>&5
87745 ac_status=$?
87746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87747 (exit $ac_status); }; }; then
87748 have_mbstate_t=yes
87749 else
87750 echo "$as_me: failed program was:" >&5
87751 sed 's/^/| /' conftest.$ac_ext >&5
87753 have_mbstate_t=no
87755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87756 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
87757 echo "${ECHO_T}$have_mbstate_t" >&6
87758 if test x"$have_mbstate_t" = xyes; then
87759 cat >>confdefs.h <<\_ACEOF
87760 #define HAVE_MBSTATE_T 1
87761 _ACEOF
87765 # Sanity check for existence of ISO C99 headers for extended encoding.
87767 for ac_header in wchar.h
87769 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
87770 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87771 echo "$as_me:$LINENO: checking for $ac_header" >&5
87772 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87773 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87774 echo $ECHO_N "(cached) $ECHO_C" >&6
87776 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87777 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87778 else
87779 # Is the header compilable?
87780 echo "$as_me:$LINENO: checking $ac_header usability" >&5
87781 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
87782 cat >conftest.$ac_ext <<_ACEOF
87783 /* confdefs.h. */
87784 _ACEOF
87785 cat confdefs.h >>conftest.$ac_ext
87786 cat >>conftest.$ac_ext <<_ACEOF
87787 /* end confdefs.h. */
87788 $ac_includes_default
87789 #include <$ac_header>
87790 _ACEOF
87791 rm -f conftest.$ac_objext
87792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87793 (eval $ac_compile) 2>conftest.er1
87794 ac_status=$?
87795 grep -v '^ *+' conftest.er1 >conftest.err
87796 rm -f conftest.er1
87797 cat conftest.err >&5
87798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87799 (exit $ac_status); } &&
87800 { ac_try='test -z "$ac_c_werror_flag"
87801 || test ! -s conftest.err'
87802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87803 (eval $ac_try) 2>&5
87804 ac_status=$?
87805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87806 (exit $ac_status); }; } &&
87807 { ac_try='test -s conftest.$ac_objext'
87808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87809 (eval $ac_try) 2>&5
87810 ac_status=$?
87811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87812 (exit $ac_status); }; }; then
87813 ac_header_compiler=yes
87814 else
87815 echo "$as_me: failed program was:" >&5
87816 sed 's/^/| /' conftest.$ac_ext >&5
87818 ac_header_compiler=no
87820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87821 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
87822 echo "${ECHO_T}$ac_header_compiler" >&6
87824 # Is the header present?
87825 echo "$as_me:$LINENO: checking $ac_header presence" >&5
87826 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
87827 cat >conftest.$ac_ext <<_ACEOF
87828 /* confdefs.h. */
87829 _ACEOF
87830 cat confdefs.h >>conftest.$ac_ext
87831 cat >>conftest.$ac_ext <<_ACEOF
87832 /* end confdefs.h. */
87833 #include <$ac_header>
87834 _ACEOF
87835 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
87836 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
87837 ac_status=$?
87838 grep -v '^ *+' conftest.er1 >conftest.err
87839 rm -f conftest.er1
87840 cat conftest.err >&5
87841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87842 (exit $ac_status); } >/dev/null; then
87843 if test -s conftest.err; then
87844 ac_cpp_err=$ac_c_preproc_warn_flag
87845 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
87846 else
87847 ac_cpp_err=
87849 else
87850 ac_cpp_err=yes
87852 if test -z "$ac_cpp_err"; then
87853 ac_header_preproc=yes
87854 else
87855 echo "$as_me: failed program was:" >&5
87856 sed 's/^/| /' conftest.$ac_ext >&5
87858 ac_header_preproc=no
87860 rm -f conftest.err conftest.$ac_ext
87861 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
87862 echo "${ECHO_T}$ac_header_preproc" >&6
87864 # So? What about this header?
87865 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
87866 yes:no: )
87867 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
87868 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
87869 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
87870 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
87871 ac_header_preproc=yes
87873 no:yes:* )
87874 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
87875 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
87876 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
87877 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
87878 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
87879 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
87880 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
87881 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
87882 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
87883 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
87884 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
87885 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
87887 cat <<\_ASBOX
87888 ## ----------------------------------------- ##
87889 ## Report this to the package-unused lists. ##
87890 ## ----------------------------------------- ##
87891 _ASBOX
87893 sed "s/^/$as_me: WARNING: /" >&2
87895 esac
87896 echo "$as_me:$LINENO: checking for $ac_header" >&5
87897 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87898 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87899 echo $ECHO_N "(cached) $ECHO_C" >&6
87900 else
87901 eval "$as_ac_Header=\$ac_header_preproc"
87903 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87904 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87907 if test `eval echo '${'$as_ac_Header'}'` = yes; then
87908 cat >>confdefs.h <<_ACEOF
87909 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
87910 _ACEOF
87911 ac_has_wchar_h=yes
87912 else
87913 ac_has_wchar_h=no
87916 done
87919 for ac_header in wctype.h
87921 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
87922 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87923 echo "$as_me:$LINENO: checking for $ac_header" >&5
87924 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87925 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87926 echo $ECHO_N "(cached) $ECHO_C" >&6
87928 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87929 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87930 else
87931 # Is the header compilable?
87932 echo "$as_me:$LINENO: checking $ac_header usability" >&5
87933 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
87934 cat >conftest.$ac_ext <<_ACEOF
87935 /* confdefs.h. */
87936 _ACEOF
87937 cat confdefs.h >>conftest.$ac_ext
87938 cat >>conftest.$ac_ext <<_ACEOF
87939 /* end confdefs.h. */
87940 $ac_includes_default
87941 #include <$ac_header>
87942 _ACEOF
87943 rm -f conftest.$ac_objext
87944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87945 (eval $ac_compile) 2>conftest.er1
87946 ac_status=$?
87947 grep -v '^ *+' conftest.er1 >conftest.err
87948 rm -f conftest.er1
87949 cat conftest.err >&5
87950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87951 (exit $ac_status); } &&
87952 { ac_try='test -z "$ac_c_werror_flag"
87953 || test ! -s conftest.err'
87954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87955 (eval $ac_try) 2>&5
87956 ac_status=$?
87957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87958 (exit $ac_status); }; } &&
87959 { ac_try='test -s conftest.$ac_objext'
87960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87961 (eval $ac_try) 2>&5
87962 ac_status=$?
87963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87964 (exit $ac_status); }; }; then
87965 ac_header_compiler=yes
87966 else
87967 echo "$as_me: failed program was:" >&5
87968 sed 's/^/| /' conftest.$ac_ext >&5
87970 ac_header_compiler=no
87972 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87973 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
87974 echo "${ECHO_T}$ac_header_compiler" >&6
87976 # Is the header present?
87977 echo "$as_me:$LINENO: checking $ac_header presence" >&5
87978 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
87979 cat >conftest.$ac_ext <<_ACEOF
87980 /* confdefs.h. */
87981 _ACEOF
87982 cat confdefs.h >>conftest.$ac_ext
87983 cat >>conftest.$ac_ext <<_ACEOF
87984 /* end confdefs.h. */
87985 #include <$ac_header>
87986 _ACEOF
87987 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
87988 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
87989 ac_status=$?
87990 grep -v '^ *+' conftest.er1 >conftest.err
87991 rm -f conftest.er1
87992 cat conftest.err >&5
87993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87994 (exit $ac_status); } >/dev/null; then
87995 if test -s conftest.err; then
87996 ac_cpp_err=$ac_c_preproc_warn_flag
87997 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
87998 else
87999 ac_cpp_err=
88001 else
88002 ac_cpp_err=yes
88004 if test -z "$ac_cpp_err"; then
88005 ac_header_preproc=yes
88006 else
88007 echo "$as_me: failed program was:" >&5
88008 sed 's/^/| /' conftest.$ac_ext >&5
88010 ac_header_preproc=no
88012 rm -f conftest.err conftest.$ac_ext
88013 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
88014 echo "${ECHO_T}$ac_header_preproc" >&6
88016 # So? What about this header?
88017 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
88018 yes:no: )
88019 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
88020 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
88021 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
88022 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
88023 ac_header_preproc=yes
88025 no:yes:* )
88026 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
88027 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
88028 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
88029 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
88030 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
88031 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
88032 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
88033 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
88034 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
88035 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
88036 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
88037 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
88039 cat <<\_ASBOX
88040 ## ----------------------------------------- ##
88041 ## Report this to the package-unused lists. ##
88042 ## ----------------------------------------- ##
88043 _ASBOX
88045 sed "s/^/$as_me: WARNING: /" >&2
88047 esac
88048 echo "$as_me:$LINENO: checking for $ac_header" >&5
88049 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
88050 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88051 echo $ECHO_N "(cached) $ECHO_C" >&6
88052 else
88053 eval "$as_ac_Header=\$ac_header_preproc"
88055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
88056 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
88059 if test `eval echo '${'$as_ac_Header'}'` = yes; then
88060 cat >>confdefs.h <<_ACEOF
88061 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
88062 _ACEOF
88063 ac_has_wctype_h=yes
88064 else
88065 ac_has_wctype_h=no
88068 done
88071 # Only continue checking if the ISO C99 headers exist and support is on.
88072 if test x"$ac_has_wchar_h" = xyes &&
88073 test x"$ac_has_wctype_h" = xyes &&
88074 test x"$enable_c_mbchar" != xno; then
88076 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
88077 # numeric_limits can instantiate type_traits<wchar_t>
88078 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
88079 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
88080 cat >conftest.$ac_ext <<_ACEOF
88081 /* confdefs.h. */
88082 _ACEOF
88083 cat confdefs.h >>conftest.$ac_ext
88084 cat >>conftest.$ac_ext <<_ACEOF
88085 /* end confdefs.h. */
88086 #include <wchar.h>
88088 main ()
88090 int i = WCHAR_MIN; int j = WCHAR_MAX;
88092 return 0;
88094 _ACEOF
88095 rm -f conftest.$ac_objext
88096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88097 (eval $ac_compile) 2>conftest.er1
88098 ac_status=$?
88099 grep -v '^ *+' conftest.er1 >conftest.err
88100 rm -f conftest.er1
88101 cat conftest.err >&5
88102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88103 (exit $ac_status); } &&
88104 { ac_try='test -z "$ac_c_werror_flag"
88105 || test ! -s conftest.err'
88106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88107 (eval $ac_try) 2>&5
88108 ac_status=$?
88109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88110 (exit $ac_status); }; } &&
88111 { ac_try='test -s conftest.$ac_objext'
88112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88113 (eval $ac_try) 2>&5
88114 ac_status=$?
88115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88116 (exit $ac_status); }; }; then
88117 has_wchar_minmax=yes
88118 else
88119 echo "$as_me: failed program was:" >&5
88120 sed 's/^/| /' conftest.$ac_ext >&5
88122 has_wchar_minmax=no
88124 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88125 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
88126 echo "${ECHO_T}$has_wchar_minmax" >&6
88128 # Test wchar.h for WEOF, which is what we use to determine whether
88129 # to specialize for char_traits<wchar_t> or not.
88130 echo "$as_me:$LINENO: checking for WEOF" >&5
88131 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
88132 cat >conftest.$ac_ext <<_ACEOF
88133 /* confdefs.h. */
88134 _ACEOF
88135 cat confdefs.h >>conftest.$ac_ext
88136 cat >>conftest.$ac_ext <<_ACEOF
88137 /* end confdefs.h. */
88139 #include <wchar.h>
88140 #include <stddef.h>
88142 main ()
88144 wint_t i = WEOF;
88146 return 0;
88148 _ACEOF
88149 rm -f conftest.$ac_objext
88150 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88151 (eval $ac_compile) 2>conftest.er1
88152 ac_status=$?
88153 grep -v '^ *+' conftest.er1 >conftest.err
88154 rm -f conftest.er1
88155 cat conftest.err >&5
88156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88157 (exit $ac_status); } &&
88158 { ac_try='test -z "$ac_c_werror_flag"
88159 || test ! -s conftest.err'
88160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88161 (eval $ac_try) 2>&5
88162 ac_status=$?
88163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88164 (exit $ac_status); }; } &&
88165 { ac_try='test -s conftest.$ac_objext'
88166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88167 (eval $ac_try) 2>&5
88168 ac_status=$?
88169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88170 (exit $ac_status); }; }; then
88171 has_weof=yes
88172 else
88173 echo "$as_me: failed program was:" >&5
88174 sed 's/^/| /' conftest.$ac_ext >&5
88176 has_weof=no
88178 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88179 echo "$as_me:$LINENO: result: $has_weof" >&5
88180 echo "${ECHO_T}$has_weof" >&6
88182 # Tests for wide character functions used in char_traits<wchar_t>.
88183 ac_wfuncs=yes
88190 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
88192 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88193 echo "$as_me:$LINENO: checking for $ac_func" >&5
88194 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88195 if eval "test \"\${$as_ac_var+set}\" = set"; then
88196 echo $ECHO_N "(cached) $ECHO_C" >&6
88197 else
88198 if test x$gcc_no_link = xyes; then
88199 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88200 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88201 { (exit 1); exit 1; }; }
88203 cat >conftest.$ac_ext <<_ACEOF
88204 /* confdefs.h. */
88205 _ACEOF
88206 cat confdefs.h >>conftest.$ac_ext
88207 cat >>conftest.$ac_ext <<_ACEOF
88208 /* end confdefs.h. */
88209 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88210 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88211 #define $ac_func innocuous_$ac_func
88213 /* System header to define __stub macros and hopefully few prototypes,
88214 which can conflict with char $ac_func (); below.
88215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88216 <limits.h> exists even on freestanding compilers. */
88218 #ifdef __STDC__
88219 # include <limits.h>
88220 #else
88221 # include <assert.h>
88222 #endif
88224 #undef $ac_func
88226 /* Override any gcc2 internal prototype to avoid an error. */
88227 #ifdef __cplusplus
88228 extern "C"
88230 #endif
88231 /* We use char because int might match the return type of a gcc2
88232 builtin and then its argument prototype would still apply. */
88233 char $ac_func ();
88234 /* The GNU C library defines this for functions which it implements
88235 to always fail with ENOSYS. Some functions are actually named
88236 something starting with __ and the normal name is an alias. */
88237 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88238 choke me
88239 #else
88240 char (*f) () = $ac_func;
88241 #endif
88242 #ifdef __cplusplus
88244 #endif
88247 main ()
88249 return f != $ac_func;
88251 return 0;
88253 _ACEOF
88254 rm -f conftest.$ac_objext conftest$ac_exeext
88255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88256 (eval $ac_link) 2>conftest.er1
88257 ac_status=$?
88258 grep -v '^ *+' conftest.er1 >conftest.err
88259 rm -f conftest.er1
88260 cat conftest.err >&5
88261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88262 (exit $ac_status); } &&
88263 { ac_try='test -z "$ac_c_werror_flag"
88264 || test ! -s conftest.err'
88265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88266 (eval $ac_try) 2>&5
88267 ac_status=$?
88268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88269 (exit $ac_status); }; } &&
88270 { ac_try='test -s conftest$ac_exeext'
88271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88272 (eval $ac_try) 2>&5
88273 ac_status=$?
88274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88275 (exit $ac_status); }; }; then
88276 eval "$as_ac_var=yes"
88277 else
88278 echo "$as_me: failed program was:" >&5
88279 sed 's/^/| /' conftest.$ac_ext >&5
88281 eval "$as_ac_var=no"
88283 rm -f conftest.err conftest.$ac_objext \
88284 conftest$ac_exeext conftest.$ac_ext
88286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88287 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88288 if test `eval echo '${'$as_ac_var'}'` = yes; then
88289 cat >>confdefs.h <<_ACEOF
88290 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88291 _ACEOF
88293 else
88294 ac_wfuncs=no
88296 done
88299 # Checks for names injected into std:: by the c_std headers.
88346 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
88347 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
88348 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
88349 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
88350 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
88351 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
88353 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88354 echo "$as_me:$LINENO: checking for $ac_func" >&5
88355 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88356 if eval "test \"\${$as_ac_var+set}\" = set"; then
88357 echo $ECHO_N "(cached) $ECHO_C" >&6
88358 else
88359 if test x$gcc_no_link = xyes; then
88360 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88361 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88362 { (exit 1); exit 1; }; }
88364 cat >conftest.$ac_ext <<_ACEOF
88365 /* confdefs.h. */
88366 _ACEOF
88367 cat confdefs.h >>conftest.$ac_ext
88368 cat >>conftest.$ac_ext <<_ACEOF
88369 /* end confdefs.h. */
88370 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88371 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88372 #define $ac_func innocuous_$ac_func
88374 /* System header to define __stub macros and hopefully few prototypes,
88375 which can conflict with char $ac_func (); below.
88376 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88377 <limits.h> exists even on freestanding compilers. */
88379 #ifdef __STDC__
88380 # include <limits.h>
88381 #else
88382 # include <assert.h>
88383 #endif
88385 #undef $ac_func
88387 /* Override any gcc2 internal prototype to avoid an error. */
88388 #ifdef __cplusplus
88389 extern "C"
88391 #endif
88392 /* We use char because int might match the return type of a gcc2
88393 builtin and then its argument prototype would still apply. */
88394 char $ac_func ();
88395 /* The GNU C library defines this for functions which it implements
88396 to always fail with ENOSYS. Some functions are actually named
88397 something starting with __ and the normal name is an alias. */
88398 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88399 choke me
88400 #else
88401 char (*f) () = $ac_func;
88402 #endif
88403 #ifdef __cplusplus
88405 #endif
88408 main ()
88410 return f != $ac_func;
88412 return 0;
88414 _ACEOF
88415 rm -f conftest.$ac_objext conftest$ac_exeext
88416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88417 (eval $ac_link) 2>conftest.er1
88418 ac_status=$?
88419 grep -v '^ *+' conftest.er1 >conftest.err
88420 rm -f conftest.er1
88421 cat conftest.err >&5
88422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88423 (exit $ac_status); } &&
88424 { ac_try='test -z "$ac_c_werror_flag"
88425 || test ! -s conftest.err'
88426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88427 (eval $ac_try) 2>&5
88428 ac_status=$?
88429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88430 (exit $ac_status); }; } &&
88431 { ac_try='test -s conftest$ac_exeext'
88432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88433 (eval $ac_try) 2>&5
88434 ac_status=$?
88435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88436 (exit $ac_status); }; }; then
88437 eval "$as_ac_var=yes"
88438 else
88439 echo "$as_me: failed program was:" >&5
88440 sed 's/^/| /' conftest.$ac_ext >&5
88442 eval "$as_ac_var=no"
88444 rm -f conftest.err conftest.$ac_objext \
88445 conftest$ac_exeext conftest.$ac_ext
88447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88448 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88449 if test `eval echo '${'$as_ac_var'}'` = yes; then
88450 cat >>confdefs.h <<_ACEOF
88451 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88452 _ACEOF
88454 else
88455 ac_wfuncs=no
88457 done
88460 # Checks for wide character functions that are not required
88461 # for basic wchar_t support. Don't disable support if they are missing.
88462 # Injection of these is wrapped with guard macros.
88468 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
88470 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88471 echo "$as_me:$LINENO: checking for $ac_func" >&5
88472 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88473 if eval "test \"\${$as_ac_var+set}\" = set"; then
88474 echo $ECHO_N "(cached) $ECHO_C" >&6
88475 else
88476 if test x$gcc_no_link = xyes; then
88477 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88478 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88479 { (exit 1); exit 1; }; }
88481 cat >conftest.$ac_ext <<_ACEOF
88482 /* confdefs.h. */
88483 _ACEOF
88484 cat confdefs.h >>conftest.$ac_ext
88485 cat >>conftest.$ac_ext <<_ACEOF
88486 /* end confdefs.h. */
88487 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88488 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88489 #define $ac_func innocuous_$ac_func
88491 /* System header to define __stub macros and hopefully few prototypes,
88492 which can conflict with char $ac_func (); below.
88493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88494 <limits.h> exists even on freestanding compilers. */
88496 #ifdef __STDC__
88497 # include <limits.h>
88498 #else
88499 # include <assert.h>
88500 #endif
88502 #undef $ac_func
88504 /* Override any gcc2 internal prototype to avoid an error. */
88505 #ifdef __cplusplus
88506 extern "C"
88508 #endif
88509 /* We use char because int might match the return type of a gcc2
88510 builtin and then its argument prototype would still apply. */
88511 char $ac_func ();
88512 /* The GNU C library defines this for functions which it implements
88513 to always fail with ENOSYS. Some functions are actually named
88514 something starting with __ and the normal name is an alias. */
88515 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88516 choke me
88517 #else
88518 char (*f) () = $ac_func;
88519 #endif
88520 #ifdef __cplusplus
88522 #endif
88525 main ()
88527 return f != $ac_func;
88529 return 0;
88531 _ACEOF
88532 rm -f conftest.$ac_objext conftest$ac_exeext
88533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88534 (eval $ac_link) 2>conftest.er1
88535 ac_status=$?
88536 grep -v '^ *+' conftest.er1 >conftest.err
88537 rm -f conftest.er1
88538 cat conftest.err >&5
88539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88540 (exit $ac_status); } &&
88541 { ac_try='test -z "$ac_c_werror_flag"
88542 || test ! -s conftest.err'
88543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88544 (eval $ac_try) 2>&5
88545 ac_status=$?
88546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88547 (exit $ac_status); }; } &&
88548 { ac_try='test -s conftest$ac_exeext'
88549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88550 (eval $ac_try) 2>&5
88551 ac_status=$?
88552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88553 (exit $ac_status); }; }; then
88554 eval "$as_ac_var=yes"
88555 else
88556 echo "$as_me: failed program was:" >&5
88557 sed 's/^/| /' conftest.$ac_ext >&5
88559 eval "$as_ac_var=no"
88561 rm -f conftest.err conftest.$ac_objext \
88562 conftest$ac_exeext conftest.$ac_ext
88564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88565 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88566 if test `eval echo '${'$as_ac_var'}'` = yes; then
88567 cat >>confdefs.h <<_ACEOF
88568 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88569 _ACEOF
88572 done
88575 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
88576 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
88577 if test x"$has_weof" = xyes &&
88578 test x"$has_wchar_minmax" = xyes &&
88579 test x"$ac_wfuncs" = xyes;
88580 then
88581 ac_isoC99_wchar_t=yes
88582 else
88583 ac_isoC99_wchar_t=no
88585 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
88586 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
88588 # Use iconv for wchar_t to char conversions. As such, check for
88589 # X/Open Portability Guide, version 2 features (XPG2).
88590 if test "${ac_cv_header_iconv_h+set}" = set; then
88591 echo "$as_me:$LINENO: checking for iconv.h" >&5
88592 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
88593 if test "${ac_cv_header_iconv_h+set}" = set; then
88594 echo $ECHO_N "(cached) $ECHO_C" >&6
88596 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
88597 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
88598 else
88599 # Is the header compilable?
88600 echo "$as_me:$LINENO: checking iconv.h usability" >&5
88601 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
88602 cat >conftest.$ac_ext <<_ACEOF
88603 /* confdefs.h. */
88604 _ACEOF
88605 cat confdefs.h >>conftest.$ac_ext
88606 cat >>conftest.$ac_ext <<_ACEOF
88607 /* end confdefs.h. */
88608 $ac_includes_default
88609 #include <iconv.h>
88610 _ACEOF
88611 rm -f conftest.$ac_objext
88612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88613 (eval $ac_compile) 2>conftest.er1
88614 ac_status=$?
88615 grep -v '^ *+' conftest.er1 >conftest.err
88616 rm -f conftest.er1
88617 cat conftest.err >&5
88618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88619 (exit $ac_status); } &&
88620 { ac_try='test -z "$ac_c_werror_flag"
88621 || test ! -s conftest.err'
88622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88623 (eval $ac_try) 2>&5
88624 ac_status=$?
88625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88626 (exit $ac_status); }; } &&
88627 { ac_try='test -s conftest.$ac_objext'
88628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88629 (eval $ac_try) 2>&5
88630 ac_status=$?
88631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88632 (exit $ac_status); }; }; then
88633 ac_header_compiler=yes
88634 else
88635 echo "$as_me: failed program was:" >&5
88636 sed 's/^/| /' conftest.$ac_ext >&5
88638 ac_header_compiler=no
88640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88641 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
88642 echo "${ECHO_T}$ac_header_compiler" >&6
88644 # Is the header present?
88645 echo "$as_me:$LINENO: checking iconv.h presence" >&5
88646 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
88647 cat >conftest.$ac_ext <<_ACEOF
88648 /* confdefs.h. */
88649 _ACEOF
88650 cat confdefs.h >>conftest.$ac_ext
88651 cat >>conftest.$ac_ext <<_ACEOF
88652 /* end confdefs.h. */
88653 #include <iconv.h>
88654 _ACEOF
88655 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
88656 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
88657 ac_status=$?
88658 grep -v '^ *+' conftest.er1 >conftest.err
88659 rm -f conftest.er1
88660 cat conftest.err >&5
88661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88662 (exit $ac_status); } >/dev/null; then
88663 if test -s conftest.err; then
88664 ac_cpp_err=$ac_c_preproc_warn_flag
88665 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
88666 else
88667 ac_cpp_err=
88669 else
88670 ac_cpp_err=yes
88672 if test -z "$ac_cpp_err"; then
88673 ac_header_preproc=yes
88674 else
88675 echo "$as_me: failed program was:" >&5
88676 sed 's/^/| /' conftest.$ac_ext >&5
88678 ac_header_preproc=no
88680 rm -f conftest.err conftest.$ac_ext
88681 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
88682 echo "${ECHO_T}$ac_header_preproc" >&6
88684 # So? What about this header?
88685 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
88686 yes:no: )
88687 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
88688 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
88689 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
88690 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
88691 ac_header_preproc=yes
88693 no:yes:* )
88694 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
88695 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
88696 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
88697 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
88698 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
88699 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
88700 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
88701 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
88702 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
88703 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
88704 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
88705 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
88707 cat <<\_ASBOX
88708 ## ----------------------------------------- ##
88709 ## Report this to the package-unused lists. ##
88710 ## ----------------------------------------- ##
88711 _ASBOX
88713 sed "s/^/$as_me: WARNING: /" >&2
88715 esac
88716 echo "$as_me:$LINENO: checking for iconv.h" >&5
88717 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
88718 if test "${ac_cv_header_iconv_h+set}" = set; then
88719 echo $ECHO_N "(cached) $ECHO_C" >&6
88720 else
88721 ac_cv_header_iconv_h=$ac_header_preproc
88723 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
88724 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
88727 if test $ac_cv_header_iconv_h = yes; then
88728 ac_has_iconv_h=yes
88729 else
88730 ac_has_iconv_h=no
88734 if test "${ac_cv_header_langinfo_h+set}" = set; then
88735 echo "$as_me:$LINENO: checking for langinfo.h" >&5
88736 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
88737 if test "${ac_cv_header_langinfo_h+set}" = set; then
88738 echo $ECHO_N "(cached) $ECHO_C" >&6
88740 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
88741 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
88742 else
88743 # Is the header compilable?
88744 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
88745 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
88746 cat >conftest.$ac_ext <<_ACEOF
88747 /* confdefs.h. */
88748 _ACEOF
88749 cat confdefs.h >>conftest.$ac_ext
88750 cat >>conftest.$ac_ext <<_ACEOF
88751 /* end confdefs.h. */
88752 $ac_includes_default
88753 #include <langinfo.h>
88754 _ACEOF
88755 rm -f conftest.$ac_objext
88756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88757 (eval $ac_compile) 2>conftest.er1
88758 ac_status=$?
88759 grep -v '^ *+' conftest.er1 >conftest.err
88760 rm -f conftest.er1
88761 cat conftest.err >&5
88762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88763 (exit $ac_status); } &&
88764 { ac_try='test -z "$ac_c_werror_flag"
88765 || test ! -s conftest.err'
88766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88767 (eval $ac_try) 2>&5
88768 ac_status=$?
88769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88770 (exit $ac_status); }; } &&
88771 { ac_try='test -s conftest.$ac_objext'
88772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88773 (eval $ac_try) 2>&5
88774 ac_status=$?
88775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88776 (exit $ac_status); }; }; then
88777 ac_header_compiler=yes
88778 else
88779 echo "$as_me: failed program was:" >&5
88780 sed 's/^/| /' conftest.$ac_ext >&5
88782 ac_header_compiler=no
88784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88785 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
88786 echo "${ECHO_T}$ac_header_compiler" >&6
88788 # Is the header present?
88789 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
88790 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
88791 cat >conftest.$ac_ext <<_ACEOF
88792 /* confdefs.h. */
88793 _ACEOF
88794 cat confdefs.h >>conftest.$ac_ext
88795 cat >>conftest.$ac_ext <<_ACEOF
88796 /* end confdefs.h. */
88797 #include <langinfo.h>
88798 _ACEOF
88799 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
88800 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
88801 ac_status=$?
88802 grep -v '^ *+' conftest.er1 >conftest.err
88803 rm -f conftest.er1
88804 cat conftest.err >&5
88805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88806 (exit $ac_status); } >/dev/null; then
88807 if test -s conftest.err; then
88808 ac_cpp_err=$ac_c_preproc_warn_flag
88809 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
88810 else
88811 ac_cpp_err=
88813 else
88814 ac_cpp_err=yes
88816 if test -z "$ac_cpp_err"; then
88817 ac_header_preproc=yes
88818 else
88819 echo "$as_me: failed program was:" >&5
88820 sed 's/^/| /' conftest.$ac_ext >&5
88822 ac_header_preproc=no
88824 rm -f conftest.err conftest.$ac_ext
88825 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
88826 echo "${ECHO_T}$ac_header_preproc" >&6
88828 # So? What about this header?
88829 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
88830 yes:no: )
88831 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
88832 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
88833 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
88834 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
88835 ac_header_preproc=yes
88837 no:yes:* )
88838 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
88839 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
88840 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
88841 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
88842 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
88843 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
88844 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
88845 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
88846 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
88847 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
88848 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
88849 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
88851 cat <<\_ASBOX
88852 ## ----------------------------------------- ##
88853 ## Report this to the package-unused lists. ##
88854 ## ----------------------------------------- ##
88855 _ASBOX
88857 sed "s/^/$as_me: WARNING: /" >&2
88859 esac
88860 echo "$as_me:$LINENO: checking for langinfo.h" >&5
88861 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
88862 if test "${ac_cv_header_langinfo_h+set}" = set; then
88863 echo $ECHO_N "(cached) $ECHO_C" >&6
88864 else
88865 ac_cv_header_langinfo_h=$ac_header_preproc
88867 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
88868 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
88871 if test $ac_cv_header_langinfo_h = yes; then
88872 ac_has_langinfo_h=yes
88873 else
88874 ac_has_langinfo_h=no
88879 # Check for existence of libiconv.a providing XPG2 wchar_t support.
88880 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
88881 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
88882 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
88883 echo $ECHO_N "(cached) $ECHO_C" >&6
88884 else
88885 ac_check_lib_save_LIBS=$LIBS
88886 LIBS="-liconv $LIBS"
88887 if test x$gcc_no_link = xyes; then
88888 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88889 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88890 { (exit 1); exit 1; }; }
88892 cat >conftest.$ac_ext <<_ACEOF
88893 /* confdefs.h. */
88894 _ACEOF
88895 cat confdefs.h >>conftest.$ac_ext
88896 cat >>conftest.$ac_ext <<_ACEOF
88897 /* end confdefs.h. */
88899 /* Override any gcc2 internal prototype to avoid an error. */
88900 #ifdef __cplusplus
88901 extern "C"
88902 #endif
88903 /* We use char because int might match the return type of a gcc2
88904 builtin and then its argument prototype would still apply. */
88905 char iconv ();
88907 main ()
88909 iconv ();
88911 return 0;
88913 _ACEOF
88914 rm -f conftest.$ac_objext conftest$ac_exeext
88915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88916 (eval $ac_link) 2>conftest.er1
88917 ac_status=$?
88918 grep -v '^ *+' conftest.er1 >conftest.err
88919 rm -f conftest.er1
88920 cat conftest.err >&5
88921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88922 (exit $ac_status); } &&
88923 { ac_try='test -z "$ac_c_werror_flag"
88924 || test ! -s conftest.err'
88925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88926 (eval $ac_try) 2>&5
88927 ac_status=$?
88928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88929 (exit $ac_status); }; } &&
88930 { ac_try='test -s conftest$ac_exeext'
88931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88932 (eval $ac_try) 2>&5
88933 ac_status=$?
88934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88935 (exit $ac_status); }; }; then
88936 ac_cv_lib_iconv_iconv=yes
88937 else
88938 echo "$as_me: failed program was:" >&5
88939 sed 's/^/| /' conftest.$ac_ext >&5
88941 ac_cv_lib_iconv_iconv=no
88943 rm -f conftest.err conftest.$ac_objext \
88944 conftest$ac_exeext conftest.$ac_ext
88945 LIBS=$ac_check_lib_save_LIBS
88947 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
88948 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
88949 if test $ac_cv_lib_iconv_iconv = yes; then
88950 LIBICONV="-liconv"
88953 ac_save_LIBS="$LIBS"
88954 LIBS="$LIBS $LIBICONV"
88961 for ac_func in iconv_open iconv_close iconv nl_langinfo
88963 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88964 echo "$as_me:$LINENO: checking for $ac_func" >&5
88965 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88966 if eval "test \"\${$as_ac_var+set}\" = set"; then
88967 echo $ECHO_N "(cached) $ECHO_C" >&6
88968 else
88969 if test x$gcc_no_link = xyes; then
88970 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88971 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88972 { (exit 1); exit 1; }; }
88974 cat >conftest.$ac_ext <<_ACEOF
88975 /* confdefs.h. */
88976 _ACEOF
88977 cat confdefs.h >>conftest.$ac_ext
88978 cat >>conftest.$ac_ext <<_ACEOF
88979 /* end confdefs.h. */
88980 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88981 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88982 #define $ac_func innocuous_$ac_func
88984 /* System header to define __stub macros and hopefully few prototypes,
88985 which can conflict with char $ac_func (); below.
88986 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88987 <limits.h> exists even on freestanding compilers. */
88989 #ifdef __STDC__
88990 # include <limits.h>
88991 #else
88992 # include <assert.h>
88993 #endif
88995 #undef $ac_func
88997 /* Override any gcc2 internal prototype to avoid an error. */
88998 #ifdef __cplusplus
88999 extern "C"
89001 #endif
89002 /* We use char because int might match the return type of a gcc2
89003 builtin and then its argument prototype would still apply. */
89004 char $ac_func ();
89005 /* The GNU C library defines this for functions which it implements
89006 to always fail with ENOSYS. Some functions are actually named
89007 something starting with __ and the normal name is an alias. */
89008 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89009 choke me
89010 #else
89011 char (*f) () = $ac_func;
89012 #endif
89013 #ifdef __cplusplus
89015 #endif
89018 main ()
89020 return f != $ac_func;
89022 return 0;
89024 _ACEOF
89025 rm -f conftest.$ac_objext conftest$ac_exeext
89026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89027 (eval $ac_link) 2>conftest.er1
89028 ac_status=$?
89029 grep -v '^ *+' conftest.er1 >conftest.err
89030 rm -f conftest.er1
89031 cat conftest.err >&5
89032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89033 (exit $ac_status); } &&
89034 { ac_try='test -z "$ac_c_werror_flag"
89035 || test ! -s conftest.err'
89036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89037 (eval $ac_try) 2>&5
89038 ac_status=$?
89039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89040 (exit $ac_status); }; } &&
89041 { ac_try='test -s conftest$ac_exeext'
89042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89043 (eval $ac_try) 2>&5
89044 ac_status=$?
89045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89046 (exit $ac_status); }; }; then
89047 eval "$as_ac_var=yes"
89048 else
89049 echo "$as_me: failed program was:" >&5
89050 sed 's/^/| /' conftest.$ac_ext >&5
89052 eval "$as_ac_var=no"
89054 rm -f conftest.err conftest.$ac_objext \
89055 conftest$ac_exeext conftest.$ac_ext
89057 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89058 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89059 if test `eval echo '${'$as_ac_var'}'` = yes; then
89060 cat >>confdefs.h <<_ACEOF
89061 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89062 _ACEOF
89063 ac_XPG2funcs=yes
89064 else
89065 ac_XPG2funcs=no
89067 done
89070 LIBS="$ac_save_LIBS"
89072 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
89073 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
89074 if test x"$ac_has_iconv_h" = xyes &&
89075 test x"$ac_has_langinfo_h" = xyes &&
89076 test x"$ac_XPG2funcs" = xyes;
89077 then
89078 ac_XPG2_wchar_t=yes
89079 else
89080 ac_XPG2_wchar_t=no
89082 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
89083 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
89085 # At the moment, only enable wchar_t specializations if all the
89086 # above support is present.
89087 if test x"$ac_isoC99_wchar_t" = xyes &&
89088 test x"$ac_XPG2_wchar_t" = xyes;
89089 then
89090 cat >>confdefs.h <<\_ACEOF
89091 #define _GLIBCXX_USE_WCHAR_T 1
89092 _ACEOF
89094 enable_wchar_t=yes
89097 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
89098 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
89099 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
89100 echo "${ECHO_T}$enable_wchar_t" >&6
89102 cat >>confdefs.h <<\_ACEOF
89103 #define HAVE_COSF 1
89104 _ACEOF
89106 cat >>confdefs.h <<\_ACEOF
89107 #define HAVE_COSL 1
89108 _ACEOF
89110 cat >>confdefs.h <<\_ACEOF
89111 #define HAVE_COSHF 1
89112 _ACEOF
89114 cat >>confdefs.h <<\_ACEOF
89115 #define HAVE_COSHL 1
89116 _ACEOF
89118 cat >>confdefs.h <<\_ACEOF
89119 #define HAVE_LOGF 1
89120 _ACEOF
89122 cat >>confdefs.h <<\_ACEOF
89123 #define HAVE_LOGL 1
89124 _ACEOF
89126 cat >>confdefs.h <<\_ACEOF
89127 #define HAVE_LOG10F 1
89128 _ACEOF
89130 cat >>confdefs.h <<\_ACEOF
89131 #define HAVE_LOG10L 1
89132 _ACEOF
89134 cat >>confdefs.h <<\_ACEOF
89135 #define HAVE_SINF 1
89136 _ACEOF
89138 cat >>confdefs.h <<\_ACEOF
89139 #define HAVE_SINL 1
89140 _ACEOF
89142 cat >>confdefs.h <<\_ACEOF
89143 #define HAVE_SINHF 1
89144 _ACEOF
89146 cat >>confdefs.h <<\_ACEOF
89147 #define HAVE_SINHL 1
89148 _ACEOF
89151 *-solaris*)
89152 case "$target" in
89153 # *-solaris2.5)
89154 # os_include_dir="os/solaris/solaris2.5"
89155 # ;;
89156 # *-solaris2.6)
89157 # os_include_dir="os/solaris/solaris2.6"
89158 # ;;
89159 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
89160 cat >>confdefs.h <<\_ACEOF
89161 #define HAVE_GETPAGESIZE 1
89162 _ACEOF
89164 cat >>confdefs.h <<\_ACEOF
89165 #define HAVE_SIGSETJMP 1
89166 _ACEOF
89168 cat >>confdefs.h <<\_ACEOF
89169 #define HAVE_MBSTATE_T 1
89170 _ACEOF
89172 cat >>confdefs.h <<\_ACEOF
89173 #define HAVE_POLL 1
89174 _ACEOF
89176 cat >>confdefs.h <<\_ACEOF
89177 #define HAVE_S_ISREG 1
89178 _ACEOF
89180 cat >>confdefs.h <<\_ACEOF
89181 #define HAVE_LC_MESSAGES 1
89182 _ACEOF
89184 cat >>confdefs.h <<\_ACEOF
89185 #define HAVE_BTOWC 1
89186 _ACEOF
89188 cat >>confdefs.h <<\_ACEOF
89189 #define HAVE_FGETWC 1
89190 _ACEOF
89192 cat >>confdefs.h <<\_ACEOF
89193 #define HAVE_FGETWS 1
89194 _ACEOF
89196 cat >>confdefs.h <<\_ACEOF
89197 #define HAVE_FINITE 1
89198 _ACEOF
89200 cat >>confdefs.h <<\_ACEOF
89201 #define HAVE_FPCLASS 1
89202 _ACEOF
89204 cat >>confdefs.h <<\_ACEOF
89205 #define HAVE_FPUTWC 1
89206 _ACEOF
89208 cat >>confdefs.h <<\_ACEOF
89209 #define HAVE_FPUTWS 1
89210 _ACEOF
89212 cat >>confdefs.h <<\_ACEOF
89213 #define HAVE_FWIDE 1
89214 _ACEOF
89216 cat >>confdefs.h <<\_ACEOF
89217 #define HAVE_FWPRINTF 1
89218 _ACEOF
89220 cat >>confdefs.h <<\_ACEOF
89221 #define HAVE_FWSCANF 1
89222 _ACEOF
89224 cat >>confdefs.h <<\_ACEOF
89225 #define HAVE_GETPAGESIZE 1
89226 _ACEOF
89228 cat >>confdefs.h <<\_ACEOF
89229 #define HAVE_GETWC 1
89230 _ACEOF
89232 cat >>confdefs.h <<\_ACEOF
89233 #define HAVE_GETWCHAR 1
89234 _ACEOF
89236 cat >>confdefs.h <<\_ACEOF
89237 #define HAVE_MBRLEN 1
89238 _ACEOF
89240 cat >>confdefs.h <<\_ACEOF
89241 #define HAVE_MBRTOWC 1
89242 _ACEOF
89244 cat >>confdefs.h <<\_ACEOF
89245 #define HAVE_MBSINIT 1
89246 _ACEOF
89248 cat >>confdefs.h <<\_ACEOF
89249 #define HAVE_MBSRTOWCS 1
89250 _ACEOF
89252 cat >>confdefs.h <<\_ACEOF
89253 #define HAVE_NL_LANGINFO 1
89254 _ACEOF
89256 cat >>confdefs.h <<\_ACEOF
89257 #define HAVE_PUTWC 1
89258 _ACEOF
89260 cat >>confdefs.h <<\_ACEOF
89261 #define HAVE_PUTWCHAR 1
89262 _ACEOF
89264 cat >>confdefs.h <<\_ACEOF
89265 #define HAVE_SWPRINTF 1
89266 _ACEOF
89268 cat >>confdefs.h <<\_ACEOF
89269 #define HAVE_SWSCANF 1
89270 _ACEOF
89272 cat >>confdefs.h <<\_ACEOF
89273 #define HAVE_UNGETWC 1
89274 _ACEOF
89276 cat >>confdefs.h <<\_ACEOF
89277 #define HAVE_VFWPRINTF 1
89278 _ACEOF
89280 cat >>confdefs.h <<\_ACEOF
89281 #define HAVE_VSWPRINTF 1
89282 _ACEOF
89284 cat >>confdefs.h <<\_ACEOF
89285 #define HAVE_VWPRINTF 1
89286 _ACEOF
89288 cat >>confdefs.h <<\_ACEOF
89289 #define HAVE_WCRTOMB 1
89290 _ACEOF
89292 cat >>confdefs.h <<\_ACEOF
89293 #define HAVE_WCSCAT 1
89294 _ACEOF
89296 cat >>confdefs.h <<\_ACEOF
89297 #define HAVE_WCSCHR 1
89298 _ACEOF
89300 cat >>confdefs.h <<\_ACEOF
89301 #define HAVE_WCSCMP 1
89302 _ACEOF
89304 cat >>confdefs.h <<\_ACEOF
89305 #define HAVE_WCSCOLL 1
89306 _ACEOF
89308 cat >>confdefs.h <<\_ACEOF
89309 #define HAVE_WCSCPY 1
89310 _ACEOF
89312 cat >>confdefs.h <<\_ACEOF
89313 #define HAVE_WCSCSPN 1
89314 _ACEOF
89316 cat >>confdefs.h <<\_ACEOF
89317 #define HAVE_WCSFTIME 1
89318 _ACEOF
89320 cat >>confdefs.h <<\_ACEOF
89321 #define HAVE_WCSLEN 1
89322 _ACEOF
89324 cat >>confdefs.h <<\_ACEOF
89325 #define HAVE_WCSNCAT 1
89326 _ACEOF
89328 cat >>confdefs.h <<\_ACEOF
89329 #define HAVE_WCSNCMP 1
89330 _ACEOF
89332 cat >>confdefs.h <<\_ACEOF
89333 #define HAVE_WCSNCPY 1
89334 _ACEOF
89336 cat >>confdefs.h <<\_ACEOF
89337 #define HAVE_WCSPBRK 1
89338 _ACEOF
89340 cat >>confdefs.h <<\_ACEOF
89341 #define HAVE_WCSRCHR 1
89342 _ACEOF
89344 cat >>confdefs.h <<\_ACEOF
89345 #define HAVE_WCSRTOMBS 1
89346 _ACEOF
89348 cat >>confdefs.h <<\_ACEOF
89349 #define HAVE_WCSSPN 1
89350 _ACEOF
89352 cat >>confdefs.h <<\_ACEOF
89353 #define HAVE_WCSSTR 1
89354 _ACEOF
89356 cat >>confdefs.h <<\_ACEOF
89357 #define HAVE_WCSTOD 1
89358 _ACEOF
89360 cat >>confdefs.h <<\_ACEOF
89361 #define HAVE_WCSTOK 1
89362 _ACEOF
89364 cat >>confdefs.h <<\_ACEOF
89365 #define HAVE_WCSTOL 1
89366 _ACEOF
89368 cat >>confdefs.h <<\_ACEOF
89369 #define HAVE_WCSTOUL 1
89370 _ACEOF
89372 cat >>confdefs.h <<\_ACEOF
89373 #define HAVE_WCSXFRM 1
89374 _ACEOF
89376 cat >>confdefs.h <<\_ACEOF
89377 #define HAVE_WCTOB 1
89378 _ACEOF
89380 cat >>confdefs.h <<\_ACEOF
89381 #define HAVE_WMEMCHR 1
89382 _ACEOF
89384 cat >>confdefs.h <<\_ACEOF
89385 #define HAVE_WMEMCMP 1
89386 _ACEOF
89388 cat >>confdefs.h <<\_ACEOF
89389 #define HAVE_WMEMCPY 1
89390 _ACEOF
89392 cat >>confdefs.h <<\_ACEOF
89393 #define HAVE_WMEMMOVE 1
89394 _ACEOF
89396 cat >>confdefs.h <<\_ACEOF
89397 #define HAVE_WMEMSET 1
89398 _ACEOF
89400 cat >>confdefs.h <<\_ACEOF
89401 #define HAVE_WPRINTF 1
89402 _ACEOF
89404 cat >>confdefs.h <<\_ACEOF
89405 #define HAVE_WSCANF 1
89406 _ACEOF
89408 cat >>confdefs.h <<\_ACEOF
89409 #define HAVE_ICONV 1
89410 _ACEOF
89412 cat >>confdefs.h <<\_ACEOF
89413 #define HAVE_ICONV_CLOSE 1
89414 _ACEOF
89416 cat >>confdefs.h <<\_ACEOF
89417 #define HAVE_ICONV_OPEN 1
89418 _ACEOF
89420 # Look for the pieces required for wchar_t support in order to
89421 # get all the right HAVE_* macros defined.
89423 # Test wchar.h for mbstate_t, which is needed for char_traits and
89424 # others even if wchar_t support is not on.
89425 echo "$as_me:$LINENO: checking for mbstate_t" >&5
89426 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
89427 cat >conftest.$ac_ext <<_ACEOF
89428 /* confdefs.h. */
89429 _ACEOF
89430 cat confdefs.h >>conftest.$ac_ext
89431 cat >>conftest.$ac_ext <<_ACEOF
89432 /* end confdefs.h. */
89433 #include <wchar.h>
89435 main ()
89437 mbstate_t teststate;
89439 return 0;
89441 _ACEOF
89442 rm -f conftest.$ac_objext
89443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89444 (eval $ac_compile) 2>conftest.er1
89445 ac_status=$?
89446 grep -v '^ *+' conftest.er1 >conftest.err
89447 rm -f conftest.er1
89448 cat conftest.err >&5
89449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89450 (exit $ac_status); } &&
89451 { ac_try='test -z "$ac_c_werror_flag"
89452 || test ! -s conftest.err'
89453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89454 (eval $ac_try) 2>&5
89455 ac_status=$?
89456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89457 (exit $ac_status); }; } &&
89458 { ac_try='test -s conftest.$ac_objext'
89459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89460 (eval $ac_try) 2>&5
89461 ac_status=$?
89462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89463 (exit $ac_status); }; }; then
89464 have_mbstate_t=yes
89465 else
89466 echo "$as_me: failed program was:" >&5
89467 sed 's/^/| /' conftest.$ac_ext >&5
89469 have_mbstate_t=no
89471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89472 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
89473 echo "${ECHO_T}$have_mbstate_t" >&6
89474 if test x"$have_mbstate_t" = xyes; then
89475 cat >>confdefs.h <<\_ACEOF
89476 #define HAVE_MBSTATE_T 1
89477 _ACEOF
89481 # Sanity check for existence of ISO C99 headers for extended encoding.
89483 for ac_header in wchar.h
89485 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
89486 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89487 echo "$as_me:$LINENO: checking for $ac_header" >&5
89488 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89489 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89490 echo $ECHO_N "(cached) $ECHO_C" >&6
89492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89493 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89494 else
89495 # Is the header compilable?
89496 echo "$as_me:$LINENO: checking $ac_header usability" >&5
89497 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
89498 cat >conftest.$ac_ext <<_ACEOF
89499 /* confdefs.h. */
89500 _ACEOF
89501 cat confdefs.h >>conftest.$ac_ext
89502 cat >>conftest.$ac_ext <<_ACEOF
89503 /* end confdefs.h. */
89504 $ac_includes_default
89505 #include <$ac_header>
89506 _ACEOF
89507 rm -f conftest.$ac_objext
89508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89509 (eval $ac_compile) 2>conftest.er1
89510 ac_status=$?
89511 grep -v '^ *+' conftest.er1 >conftest.err
89512 rm -f conftest.er1
89513 cat conftest.err >&5
89514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89515 (exit $ac_status); } &&
89516 { ac_try='test -z "$ac_c_werror_flag"
89517 || test ! -s conftest.err'
89518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89519 (eval $ac_try) 2>&5
89520 ac_status=$?
89521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89522 (exit $ac_status); }; } &&
89523 { ac_try='test -s conftest.$ac_objext'
89524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89525 (eval $ac_try) 2>&5
89526 ac_status=$?
89527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89528 (exit $ac_status); }; }; then
89529 ac_header_compiler=yes
89530 else
89531 echo "$as_me: failed program was:" >&5
89532 sed 's/^/| /' conftest.$ac_ext >&5
89534 ac_header_compiler=no
89536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89537 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
89538 echo "${ECHO_T}$ac_header_compiler" >&6
89540 # Is the header present?
89541 echo "$as_me:$LINENO: checking $ac_header presence" >&5
89542 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
89543 cat >conftest.$ac_ext <<_ACEOF
89544 /* confdefs.h. */
89545 _ACEOF
89546 cat confdefs.h >>conftest.$ac_ext
89547 cat >>conftest.$ac_ext <<_ACEOF
89548 /* end confdefs.h. */
89549 #include <$ac_header>
89550 _ACEOF
89551 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
89552 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
89553 ac_status=$?
89554 grep -v '^ *+' conftest.er1 >conftest.err
89555 rm -f conftest.er1
89556 cat conftest.err >&5
89557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89558 (exit $ac_status); } >/dev/null; then
89559 if test -s conftest.err; then
89560 ac_cpp_err=$ac_c_preproc_warn_flag
89561 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
89562 else
89563 ac_cpp_err=
89565 else
89566 ac_cpp_err=yes
89568 if test -z "$ac_cpp_err"; then
89569 ac_header_preproc=yes
89570 else
89571 echo "$as_me: failed program was:" >&5
89572 sed 's/^/| /' conftest.$ac_ext >&5
89574 ac_header_preproc=no
89576 rm -f conftest.err conftest.$ac_ext
89577 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
89578 echo "${ECHO_T}$ac_header_preproc" >&6
89580 # So? What about this header?
89581 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
89582 yes:no: )
89583 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
89584 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
89585 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
89586 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
89587 ac_header_preproc=yes
89589 no:yes:* )
89590 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
89591 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
89592 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
89593 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
89594 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
89595 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
89596 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
89597 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
89598 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
89599 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
89600 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
89601 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
89603 cat <<\_ASBOX
89604 ## ----------------------------------------- ##
89605 ## Report this to the package-unused lists. ##
89606 ## ----------------------------------------- ##
89607 _ASBOX
89609 sed "s/^/$as_me: WARNING: /" >&2
89611 esac
89612 echo "$as_me:$LINENO: checking for $ac_header" >&5
89613 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89614 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89615 echo $ECHO_N "(cached) $ECHO_C" >&6
89616 else
89617 eval "$as_ac_Header=\$ac_header_preproc"
89619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89620 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89623 if test `eval echo '${'$as_ac_Header'}'` = yes; then
89624 cat >>confdefs.h <<_ACEOF
89625 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
89626 _ACEOF
89627 ac_has_wchar_h=yes
89628 else
89629 ac_has_wchar_h=no
89632 done
89635 for ac_header in wctype.h
89637 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
89638 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89639 echo "$as_me:$LINENO: checking for $ac_header" >&5
89640 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89641 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89642 echo $ECHO_N "(cached) $ECHO_C" >&6
89644 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89645 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89646 else
89647 # Is the header compilable?
89648 echo "$as_me:$LINENO: checking $ac_header usability" >&5
89649 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
89650 cat >conftest.$ac_ext <<_ACEOF
89651 /* confdefs.h. */
89652 _ACEOF
89653 cat confdefs.h >>conftest.$ac_ext
89654 cat >>conftest.$ac_ext <<_ACEOF
89655 /* end confdefs.h. */
89656 $ac_includes_default
89657 #include <$ac_header>
89658 _ACEOF
89659 rm -f conftest.$ac_objext
89660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89661 (eval $ac_compile) 2>conftest.er1
89662 ac_status=$?
89663 grep -v '^ *+' conftest.er1 >conftest.err
89664 rm -f conftest.er1
89665 cat conftest.err >&5
89666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89667 (exit $ac_status); } &&
89668 { ac_try='test -z "$ac_c_werror_flag"
89669 || test ! -s conftest.err'
89670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89671 (eval $ac_try) 2>&5
89672 ac_status=$?
89673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89674 (exit $ac_status); }; } &&
89675 { ac_try='test -s conftest.$ac_objext'
89676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89677 (eval $ac_try) 2>&5
89678 ac_status=$?
89679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89680 (exit $ac_status); }; }; then
89681 ac_header_compiler=yes
89682 else
89683 echo "$as_me: failed program was:" >&5
89684 sed 's/^/| /' conftest.$ac_ext >&5
89686 ac_header_compiler=no
89688 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89689 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
89690 echo "${ECHO_T}$ac_header_compiler" >&6
89692 # Is the header present?
89693 echo "$as_me:$LINENO: checking $ac_header presence" >&5
89694 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
89695 cat >conftest.$ac_ext <<_ACEOF
89696 /* confdefs.h. */
89697 _ACEOF
89698 cat confdefs.h >>conftest.$ac_ext
89699 cat >>conftest.$ac_ext <<_ACEOF
89700 /* end confdefs.h. */
89701 #include <$ac_header>
89702 _ACEOF
89703 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
89704 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
89705 ac_status=$?
89706 grep -v '^ *+' conftest.er1 >conftest.err
89707 rm -f conftest.er1
89708 cat conftest.err >&5
89709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89710 (exit $ac_status); } >/dev/null; then
89711 if test -s conftest.err; then
89712 ac_cpp_err=$ac_c_preproc_warn_flag
89713 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
89714 else
89715 ac_cpp_err=
89717 else
89718 ac_cpp_err=yes
89720 if test -z "$ac_cpp_err"; then
89721 ac_header_preproc=yes
89722 else
89723 echo "$as_me: failed program was:" >&5
89724 sed 's/^/| /' conftest.$ac_ext >&5
89726 ac_header_preproc=no
89728 rm -f conftest.err conftest.$ac_ext
89729 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
89730 echo "${ECHO_T}$ac_header_preproc" >&6
89732 # So? What about this header?
89733 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
89734 yes:no: )
89735 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
89736 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
89737 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
89738 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
89739 ac_header_preproc=yes
89741 no:yes:* )
89742 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
89743 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
89744 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
89745 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
89746 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
89747 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
89748 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
89749 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
89750 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
89751 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
89752 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
89753 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
89755 cat <<\_ASBOX
89756 ## ----------------------------------------- ##
89757 ## Report this to the package-unused lists. ##
89758 ## ----------------------------------------- ##
89759 _ASBOX
89761 sed "s/^/$as_me: WARNING: /" >&2
89763 esac
89764 echo "$as_me:$LINENO: checking for $ac_header" >&5
89765 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
89766 if eval "test \"\${$as_ac_Header+set}\" = set"; then
89767 echo $ECHO_N "(cached) $ECHO_C" >&6
89768 else
89769 eval "$as_ac_Header=\$ac_header_preproc"
89771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
89772 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
89775 if test `eval echo '${'$as_ac_Header'}'` = yes; then
89776 cat >>confdefs.h <<_ACEOF
89777 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
89778 _ACEOF
89779 ac_has_wctype_h=yes
89780 else
89781 ac_has_wctype_h=no
89784 done
89787 # Only continue checking if the ISO C99 headers exist and support is on.
89788 if test x"$ac_has_wchar_h" = xyes &&
89789 test x"$ac_has_wctype_h" = xyes &&
89790 test x"$enable_c_mbchar" != xno; then
89792 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
89793 # numeric_limits can instantiate type_traits<wchar_t>
89794 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
89795 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
89796 cat >conftest.$ac_ext <<_ACEOF
89797 /* confdefs.h. */
89798 _ACEOF
89799 cat confdefs.h >>conftest.$ac_ext
89800 cat >>conftest.$ac_ext <<_ACEOF
89801 /* end confdefs.h. */
89802 #include <wchar.h>
89804 main ()
89806 int i = WCHAR_MIN; int j = WCHAR_MAX;
89808 return 0;
89810 _ACEOF
89811 rm -f conftest.$ac_objext
89812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89813 (eval $ac_compile) 2>conftest.er1
89814 ac_status=$?
89815 grep -v '^ *+' conftest.er1 >conftest.err
89816 rm -f conftest.er1
89817 cat conftest.err >&5
89818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89819 (exit $ac_status); } &&
89820 { ac_try='test -z "$ac_c_werror_flag"
89821 || test ! -s conftest.err'
89822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89823 (eval $ac_try) 2>&5
89824 ac_status=$?
89825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89826 (exit $ac_status); }; } &&
89827 { ac_try='test -s conftest.$ac_objext'
89828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89829 (eval $ac_try) 2>&5
89830 ac_status=$?
89831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89832 (exit $ac_status); }; }; then
89833 has_wchar_minmax=yes
89834 else
89835 echo "$as_me: failed program was:" >&5
89836 sed 's/^/| /' conftest.$ac_ext >&5
89838 has_wchar_minmax=no
89840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89841 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
89842 echo "${ECHO_T}$has_wchar_minmax" >&6
89844 # Test wchar.h for WEOF, which is what we use to determine whether
89845 # to specialize for char_traits<wchar_t> or not.
89846 echo "$as_me:$LINENO: checking for WEOF" >&5
89847 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
89848 cat >conftest.$ac_ext <<_ACEOF
89849 /* confdefs.h. */
89850 _ACEOF
89851 cat confdefs.h >>conftest.$ac_ext
89852 cat >>conftest.$ac_ext <<_ACEOF
89853 /* end confdefs.h. */
89855 #include <wchar.h>
89856 #include <stddef.h>
89858 main ()
89860 wint_t i = WEOF;
89862 return 0;
89864 _ACEOF
89865 rm -f conftest.$ac_objext
89866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89867 (eval $ac_compile) 2>conftest.er1
89868 ac_status=$?
89869 grep -v '^ *+' conftest.er1 >conftest.err
89870 rm -f conftest.er1
89871 cat conftest.err >&5
89872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89873 (exit $ac_status); } &&
89874 { ac_try='test -z "$ac_c_werror_flag"
89875 || test ! -s conftest.err'
89876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89877 (eval $ac_try) 2>&5
89878 ac_status=$?
89879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89880 (exit $ac_status); }; } &&
89881 { ac_try='test -s conftest.$ac_objext'
89882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89883 (eval $ac_try) 2>&5
89884 ac_status=$?
89885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89886 (exit $ac_status); }; }; then
89887 has_weof=yes
89888 else
89889 echo "$as_me: failed program was:" >&5
89890 sed 's/^/| /' conftest.$ac_ext >&5
89892 has_weof=no
89894 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89895 echo "$as_me:$LINENO: result: $has_weof" >&5
89896 echo "${ECHO_T}$has_weof" >&6
89898 # Tests for wide character functions used in char_traits<wchar_t>.
89899 ac_wfuncs=yes
89906 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
89908 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89909 echo "$as_me:$LINENO: checking for $ac_func" >&5
89910 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89911 if eval "test \"\${$as_ac_var+set}\" = set"; then
89912 echo $ECHO_N "(cached) $ECHO_C" >&6
89913 else
89914 if test x$gcc_no_link = xyes; then
89915 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89916 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89917 { (exit 1); exit 1; }; }
89919 cat >conftest.$ac_ext <<_ACEOF
89920 /* confdefs.h. */
89921 _ACEOF
89922 cat confdefs.h >>conftest.$ac_ext
89923 cat >>conftest.$ac_ext <<_ACEOF
89924 /* end confdefs.h. */
89925 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89926 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89927 #define $ac_func innocuous_$ac_func
89929 /* System header to define __stub macros and hopefully few prototypes,
89930 which can conflict with char $ac_func (); below.
89931 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89932 <limits.h> exists even on freestanding compilers. */
89934 #ifdef __STDC__
89935 # include <limits.h>
89936 #else
89937 # include <assert.h>
89938 #endif
89940 #undef $ac_func
89942 /* Override any gcc2 internal prototype to avoid an error. */
89943 #ifdef __cplusplus
89944 extern "C"
89946 #endif
89947 /* We use char because int might match the return type of a gcc2
89948 builtin and then its argument prototype would still apply. */
89949 char $ac_func ();
89950 /* The GNU C library defines this for functions which it implements
89951 to always fail with ENOSYS. Some functions are actually named
89952 something starting with __ and the normal name is an alias. */
89953 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89954 choke me
89955 #else
89956 char (*f) () = $ac_func;
89957 #endif
89958 #ifdef __cplusplus
89960 #endif
89963 main ()
89965 return f != $ac_func;
89967 return 0;
89969 _ACEOF
89970 rm -f conftest.$ac_objext conftest$ac_exeext
89971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89972 (eval $ac_link) 2>conftest.er1
89973 ac_status=$?
89974 grep -v '^ *+' conftest.er1 >conftest.err
89975 rm -f conftest.er1
89976 cat conftest.err >&5
89977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89978 (exit $ac_status); } &&
89979 { ac_try='test -z "$ac_c_werror_flag"
89980 || test ! -s conftest.err'
89981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89982 (eval $ac_try) 2>&5
89983 ac_status=$?
89984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89985 (exit $ac_status); }; } &&
89986 { ac_try='test -s conftest$ac_exeext'
89987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89988 (eval $ac_try) 2>&5
89989 ac_status=$?
89990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89991 (exit $ac_status); }; }; then
89992 eval "$as_ac_var=yes"
89993 else
89994 echo "$as_me: failed program was:" >&5
89995 sed 's/^/| /' conftest.$ac_ext >&5
89997 eval "$as_ac_var=no"
89999 rm -f conftest.err conftest.$ac_objext \
90000 conftest$ac_exeext conftest.$ac_ext
90002 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90003 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90004 if test `eval echo '${'$as_ac_var'}'` = yes; then
90005 cat >>confdefs.h <<_ACEOF
90006 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90007 _ACEOF
90009 else
90010 ac_wfuncs=no
90012 done
90015 # Checks for names injected into std:: by the c_std headers.
90062 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
90063 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
90064 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
90065 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
90066 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
90067 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
90069 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90070 echo "$as_me:$LINENO: checking for $ac_func" >&5
90071 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90072 if eval "test \"\${$as_ac_var+set}\" = set"; then
90073 echo $ECHO_N "(cached) $ECHO_C" >&6
90074 else
90075 if test x$gcc_no_link = xyes; then
90076 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90077 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90078 { (exit 1); exit 1; }; }
90080 cat >conftest.$ac_ext <<_ACEOF
90081 /* confdefs.h. */
90082 _ACEOF
90083 cat confdefs.h >>conftest.$ac_ext
90084 cat >>conftest.$ac_ext <<_ACEOF
90085 /* end confdefs.h. */
90086 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90087 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90088 #define $ac_func innocuous_$ac_func
90090 /* System header to define __stub macros and hopefully few prototypes,
90091 which can conflict with char $ac_func (); below.
90092 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90093 <limits.h> exists even on freestanding compilers. */
90095 #ifdef __STDC__
90096 # include <limits.h>
90097 #else
90098 # include <assert.h>
90099 #endif
90101 #undef $ac_func
90103 /* Override any gcc2 internal prototype to avoid an error. */
90104 #ifdef __cplusplus
90105 extern "C"
90107 #endif
90108 /* We use char because int might match the return type of a gcc2
90109 builtin and then its argument prototype would still apply. */
90110 char $ac_func ();
90111 /* The GNU C library defines this for functions which it implements
90112 to always fail with ENOSYS. Some functions are actually named
90113 something starting with __ and the normal name is an alias. */
90114 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90115 choke me
90116 #else
90117 char (*f) () = $ac_func;
90118 #endif
90119 #ifdef __cplusplus
90121 #endif
90124 main ()
90126 return f != $ac_func;
90128 return 0;
90130 _ACEOF
90131 rm -f conftest.$ac_objext conftest$ac_exeext
90132 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90133 (eval $ac_link) 2>conftest.er1
90134 ac_status=$?
90135 grep -v '^ *+' conftest.er1 >conftest.err
90136 rm -f conftest.er1
90137 cat conftest.err >&5
90138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90139 (exit $ac_status); } &&
90140 { ac_try='test -z "$ac_c_werror_flag"
90141 || test ! -s conftest.err'
90142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90143 (eval $ac_try) 2>&5
90144 ac_status=$?
90145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90146 (exit $ac_status); }; } &&
90147 { ac_try='test -s conftest$ac_exeext'
90148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90149 (eval $ac_try) 2>&5
90150 ac_status=$?
90151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90152 (exit $ac_status); }; }; then
90153 eval "$as_ac_var=yes"
90154 else
90155 echo "$as_me: failed program was:" >&5
90156 sed 's/^/| /' conftest.$ac_ext >&5
90158 eval "$as_ac_var=no"
90160 rm -f conftest.err conftest.$ac_objext \
90161 conftest$ac_exeext conftest.$ac_ext
90163 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90164 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90165 if test `eval echo '${'$as_ac_var'}'` = yes; then
90166 cat >>confdefs.h <<_ACEOF
90167 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90168 _ACEOF
90170 else
90171 ac_wfuncs=no
90173 done
90176 # Checks for wide character functions that are not required
90177 # for basic wchar_t support. Don't disable support if they are missing.
90178 # Injection of these is wrapped with guard macros.
90184 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
90186 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90187 echo "$as_me:$LINENO: checking for $ac_func" >&5
90188 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90189 if eval "test \"\${$as_ac_var+set}\" = set"; then
90190 echo $ECHO_N "(cached) $ECHO_C" >&6
90191 else
90192 if test x$gcc_no_link = xyes; then
90193 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90194 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90195 { (exit 1); exit 1; }; }
90197 cat >conftest.$ac_ext <<_ACEOF
90198 /* confdefs.h. */
90199 _ACEOF
90200 cat confdefs.h >>conftest.$ac_ext
90201 cat >>conftest.$ac_ext <<_ACEOF
90202 /* end confdefs.h. */
90203 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90204 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90205 #define $ac_func innocuous_$ac_func
90207 /* System header to define __stub macros and hopefully few prototypes,
90208 which can conflict with char $ac_func (); below.
90209 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90210 <limits.h> exists even on freestanding compilers. */
90212 #ifdef __STDC__
90213 # include <limits.h>
90214 #else
90215 # include <assert.h>
90216 #endif
90218 #undef $ac_func
90220 /* Override any gcc2 internal prototype to avoid an error. */
90221 #ifdef __cplusplus
90222 extern "C"
90224 #endif
90225 /* We use char because int might match the return type of a gcc2
90226 builtin and then its argument prototype would still apply. */
90227 char $ac_func ();
90228 /* The GNU C library defines this for functions which it implements
90229 to always fail with ENOSYS. Some functions are actually named
90230 something starting with __ and the normal name is an alias. */
90231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90232 choke me
90233 #else
90234 char (*f) () = $ac_func;
90235 #endif
90236 #ifdef __cplusplus
90238 #endif
90241 main ()
90243 return f != $ac_func;
90245 return 0;
90247 _ACEOF
90248 rm -f conftest.$ac_objext conftest$ac_exeext
90249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90250 (eval $ac_link) 2>conftest.er1
90251 ac_status=$?
90252 grep -v '^ *+' conftest.er1 >conftest.err
90253 rm -f conftest.er1
90254 cat conftest.err >&5
90255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90256 (exit $ac_status); } &&
90257 { ac_try='test -z "$ac_c_werror_flag"
90258 || test ! -s conftest.err'
90259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90260 (eval $ac_try) 2>&5
90261 ac_status=$?
90262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90263 (exit $ac_status); }; } &&
90264 { ac_try='test -s conftest$ac_exeext'
90265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90266 (eval $ac_try) 2>&5
90267 ac_status=$?
90268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90269 (exit $ac_status); }; }; then
90270 eval "$as_ac_var=yes"
90271 else
90272 echo "$as_me: failed program was:" >&5
90273 sed 's/^/| /' conftest.$ac_ext >&5
90275 eval "$as_ac_var=no"
90277 rm -f conftest.err conftest.$ac_objext \
90278 conftest$ac_exeext conftest.$ac_ext
90280 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90281 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90282 if test `eval echo '${'$as_ac_var'}'` = yes; then
90283 cat >>confdefs.h <<_ACEOF
90284 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90285 _ACEOF
90288 done
90291 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
90292 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
90293 if test x"$has_weof" = xyes &&
90294 test x"$has_wchar_minmax" = xyes &&
90295 test x"$ac_wfuncs" = xyes;
90296 then
90297 ac_isoC99_wchar_t=yes
90298 else
90299 ac_isoC99_wchar_t=no
90301 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
90302 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
90304 # Use iconv for wchar_t to char conversions. As such, check for
90305 # X/Open Portability Guide, version 2 features (XPG2).
90306 if test "${ac_cv_header_iconv_h+set}" = set; then
90307 echo "$as_me:$LINENO: checking for iconv.h" >&5
90308 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
90309 if test "${ac_cv_header_iconv_h+set}" = set; then
90310 echo $ECHO_N "(cached) $ECHO_C" >&6
90312 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
90313 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
90314 else
90315 # Is the header compilable?
90316 echo "$as_me:$LINENO: checking iconv.h usability" >&5
90317 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
90318 cat >conftest.$ac_ext <<_ACEOF
90319 /* confdefs.h. */
90320 _ACEOF
90321 cat confdefs.h >>conftest.$ac_ext
90322 cat >>conftest.$ac_ext <<_ACEOF
90323 /* end confdefs.h. */
90324 $ac_includes_default
90325 #include <iconv.h>
90326 _ACEOF
90327 rm -f conftest.$ac_objext
90328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90329 (eval $ac_compile) 2>conftest.er1
90330 ac_status=$?
90331 grep -v '^ *+' conftest.er1 >conftest.err
90332 rm -f conftest.er1
90333 cat conftest.err >&5
90334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90335 (exit $ac_status); } &&
90336 { ac_try='test -z "$ac_c_werror_flag"
90337 || test ! -s conftest.err'
90338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90339 (eval $ac_try) 2>&5
90340 ac_status=$?
90341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90342 (exit $ac_status); }; } &&
90343 { ac_try='test -s conftest.$ac_objext'
90344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90345 (eval $ac_try) 2>&5
90346 ac_status=$?
90347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90348 (exit $ac_status); }; }; then
90349 ac_header_compiler=yes
90350 else
90351 echo "$as_me: failed program was:" >&5
90352 sed 's/^/| /' conftest.$ac_ext >&5
90354 ac_header_compiler=no
90356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90357 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
90358 echo "${ECHO_T}$ac_header_compiler" >&6
90360 # Is the header present?
90361 echo "$as_me:$LINENO: checking iconv.h presence" >&5
90362 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
90363 cat >conftest.$ac_ext <<_ACEOF
90364 /* confdefs.h. */
90365 _ACEOF
90366 cat confdefs.h >>conftest.$ac_ext
90367 cat >>conftest.$ac_ext <<_ACEOF
90368 /* end confdefs.h. */
90369 #include <iconv.h>
90370 _ACEOF
90371 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
90372 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
90373 ac_status=$?
90374 grep -v '^ *+' conftest.er1 >conftest.err
90375 rm -f conftest.er1
90376 cat conftest.err >&5
90377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90378 (exit $ac_status); } >/dev/null; then
90379 if test -s conftest.err; then
90380 ac_cpp_err=$ac_c_preproc_warn_flag
90381 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
90382 else
90383 ac_cpp_err=
90385 else
90386 ac_cpp_err=yes
90388 if test -z "$ac_cpp_err"; then
90389 ac_header_preproc=yes
90390 else
90391 echo "$as_me: failed program was:" >&5
90392 sed 's/^/| /' conftest.$ac_ext >&5
90394 ac_header_preproc=no
90396 rm -f conftest.err conftest.$ac_ext
90397 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
90398 echo "${ECHO_T}$ac_header_preproc" >&6
90400 # So? What about this header?
90401 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
90402 yes:no: )
90403 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
90404 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
90405 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
90406 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
90407 ac_header_preproc=yes
90409 no:yes:* )
90410 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
90411 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
90412 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
90413 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
90414 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
90415 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
90416 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
90417 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
90418 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
90419 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
90420 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
90421 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
90423 cat <<\_ASBOX
90424 ## ----------------------------------------- ##
90425 ## Report this to the package-unused lists. ##
90426 ## ----------------------------------------- ##
90427 _ASBOX
90429 sed "s/^/$as_me: WARNING: /" >&2
90431 esac
90432 echo "$as_me:$LINENO: checking for iconv.h" >&5
90433 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
90434 if test "${ac_cv_header_iconv_h+set}" = set; then
90435 echo $ECHO_N "(cached) $ECHO_C" >&6
90436 else
90437 ac_cv_header_iconv_h=$ac_header_preproc
90439 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
90440 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
90443 if test $ac_cv_header_iconv_h = yes; then
90444 ac_has_iconv_h=yes
90445 else
90446 ac_has_iconv_h=no
90450 if test "${ac_cv_header_langinfo_h+set}" = set; then
90451 echo "$as_me:$LINENO: checking for langinfo.h" >&5
90452 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
90453 if test "${ac_cv_header_langinfo_h+set}" = set; then
90454 echo $ECHO_N "(cached) $ECHO_C" >&6
90456 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
90457 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
90458 else
90459 # Is the header compilable?
90460 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
90461 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
90462 cat >conftest.$ac_ext <<_ACEOF
90463 /* confdefs.h. */
90464 _ACEOF
90465 cat confdefs.h >>conftest.$ac_ext
90466 cat >>conftest.$ac_ext <<_ACEOF
90467 /* end confdefs.h. */
90468 $ac_includes_default
90469 #include <langinfo.h>
90470 _ACEOF
90471 rm -f conftest.$ac_objext
90472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90473 (eval $ac_compile) 2>conftest.er1
90474 ac_status=$?
90475 grep -v '^ *+' conftest.er1 >conftest.err
90476 rm -f conftest.er1
90477 cat conftest.err >&5
90478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90479 (exit $ac_status); } &&
90480 { ac_try='test -z "$ac_c_werror_flag"
90481 || test ! -s conftest.err'
90482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90483 (eval $ac_try) 2>&5
90484 ac_status=$?
90485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90486 (exit $ac_status); }; } &&
90487 { ac_try='test -s conftest.$ac_objext'
90488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90489 (eval $ac_try) 2>&5
90490 ac_status=$?
90491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90492 (exit $ac_status); }; }; then
90493 ac_header_compiler=yes
90494 else
90495 echo "$as_me: failed program was:" >&5
90496 sed 's/^/| /' conftest.$ac_ext >&5
90498 ac_header_compiler=no
90500 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90501 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
90502 echo "${ECHO_T}$ac_header_compiler" >&6
90504 # Is the header present?
90505 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
90506 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
90507 cat >conftest.$ac_ext <<_ACEOF
90508 /* confdefs.h. */
90509 _ACEOF
90510 cat confdefs.h >>conftest.$ac_ext
90511 cat >>conftest.$ac_ext <<_ACEOF
90512 /* end confdefs.h. */
90513 #include <langinfo.h>
90514 _ACEOF
90515 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
90516 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
90517 ac_status=$?
90518 grep -v '^ *+' conftest.er1 >conftest.err
90519 rm -f conftest.er1
90520 cat conftest.err >&5
90521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90522 (exit $ac_status); } >/dev/null; then
90523 if test -s conftest.err; then
90524 ac_cpp_err=$ac_c_preproc_warn_flag
90525 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
90526 else
90527 ac_cpp_err=
90529 else
90530 ac_cpp_err=yes
90532 if test -z "$ac_cpp_err"; then
90533 ac_header_preproc=yes
90534 else
90535 echo "$as_me: failed program was:" >&5
90536 sed 's/^/| /' conftest.$ac_ext >&5
90538 ac_header_preproc=no
90540 rm -f conftest.err conftest.$ac_ext
90541 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
90542 echo "${ECHO_T}$ac_header_preproc" >&6
90544 # So? What about this header?
90545 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
90546 yes:no: )
90547 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
90548 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
90549 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
90550 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
90551 ac_header_preproc=yes
90553 no:yes:* )
90554 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
90555 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
90556 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
90557 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
90558 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
90559 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
90560 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
90561 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
90562 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
90563 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
90564 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
90565 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
90567 cat <<\_ASBOX
90568 ## ----------------------------------------- ##
90569 ## Report this to the package-unused lists. ##
90570 ## ----------------------------------------- ##
90571 _ASBOX
90573 sed "s/^/$as_me: WARNING: /" >&2
90575 esac
90576 echo "$as_me:$LINENO: checking for langinfo.h" >&5
90577 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
90578 if test "${ac_cv_header_langinfo_h+set}" = set; then
90579 echo $ECHO_N "(cached) $ECHO_C" >&6
90580 else
90581 ac_cv_header_langinfo_h=$ac_header_preproc
90583 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
90584 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
90587 if test $ac_cv_header_langinfo_h = yes; then
90588 ac_has_langinfo_h=yes
90589 else
90590 ac_has_langinfo_h=no
90595 # Check for existence of libiconv.a providing XPG2 wchar_t support.
90596 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
90597 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
90598 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
90599 echo $ECHO_N "(cached) $ECHO_C" >&6
90600 else
90601 ac_check_lib_save_LIBS=$LIBS
90602 LIBS="-liconv $LIBS"
90603 if test x$gcc_no_link = xyes; then
90604 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90605 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90606 { (exit 1); exit 1; }; }
90608 cat >conftest.$ac_ext <<_ACEOF
90609 /* confdefs.h. */
90610 _ACEOF
90611 cat confdefs.h >>conftest.$ac_ext
90612 cat >>conftest.$ac_ext <<_ACEOF
90613 /* end confdefs.h. */
90615 /* Override any gcc2 internal prototype to avoid an error. */
90616 #ifdef __cplusplus
90617 extern "C"
90618 #endif
90619 /* We use char because int might match the return type of a gcc2
90620 builtin and then its argument prototype would still apply. */
90621 char iconv ();
90623 main ()
90625 iconv ();
90627 return 0;
90629 _ACEOF
90630 rm -f conftest.$ac_objext conftest$ac_exeext
90631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90632 (eval $ac_link) 2>conftest.er1
90633 ac_status=$?
90634 grep -v '^ *+' conftest.er1 >conftest.err
90635 rm -f conftest.er1
90636 cat conftest.err >&5
90637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90638 (exit $ac_status); } &&
90639 { ac_try='test -z "$ac_c_werror_flag"
90640 || test ! -s conftest.err'
90641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90642 (eval $ac_try) 2>&5
90643 ac_status=$?
90644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90645 (exit $ac_status); }; } &&
90646 { ac_try='test -s conftest$ac_exeext'
90647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90648 (eval $ac_try) 2>&5
90649 ac_status=$?
90650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90651 (exit $ac_status); }; }; then
90652 ac_cv_lib_iconv_iconv=yes
90653 else
90654 echo "$as_me: failed program was:" >&5
90655 sed 's/^/| /' conftest.$ac_ext >&5
90657 ac_cv_lib_iconv_iconv=no
90659 rm -f conftest.err conftest.$ac_objext \
90660 conftest$ac_exeext conftest.$ac_ext
90661 LIBS=$ac_check_lib_save_LIBS
90663 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
90664 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
90665 if test $ac_cv_lib_iconv_iconv = yes; then
90666 LIBICONV="-liconv"
90669 ac_save_LIBS="$LIBS"
90670 LIBS="$LIBS $LIBICONV"
90677 for ac_func in iconv_open iconv_close iconv nl_langinfo
90679 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90680 echo "$as_me:$LINENO: checking for $ac_func" >&5
90681 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90682 if eval "test \"\${$as_ac_var+set}\" = set"; then
90683 echo $ECHO_N "(cached) $ECHO_C" >&6
90684 else
90685 if test x$gcc_no_link = xyes; then
90686 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90687 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90688 { (exit 1); exit 1; }; }
90690 cat >conftest.$ac_ext <<_ACEOF
90691 /* confdefs.h. */
90692 _ACEOF
90693 cat confdefs.h >>conftest.$ac_ext
90694 cat >>conftest.$ac_ext <<_ACEOF
90695 /* end confdefs.h. */
90696 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90697 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90698 #define $ac_func innocuous_$ac_func
90700 /* System header to define __stub macros and hopefully few prototypes,
90701 which can conflict with char $ac_func (); below.
90702 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90703 <limits.h> exists even on freestanding compilers. */
90705 #ifdef __STDC__
90706 # include <limits.h>
90707 #else
90708 # include <assert.h>
90709 #endif
90711 #undef $ac_func
90713 /* Override any gcc2 internal prototype to avoid an error. */
90714 #ifdef __cplusplus
90715 extern "C"
90717 #endif
90718 /* We use char because int might match the return type of a gcc2
90719 builtin and then its argument prototype would still apply. */
90720 char $ac_func ();
90721 /* The GNU C library defines this for functions which it implements
90722 to always fail with ENOSYS. Some functions are actually named
90723 something starting with __ and the normal name is an alias. */
90724 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90725 choke me
90726 #else
90727 char (*f) () = $ac_func;
90728 #endif
90729 #ifdef __cplusplus
90731 #endif
90734 main ()
90736 return f != $ac_func;
90738 return 0;
90740 _ACEOF
90741 rm -f conftest.$ac_objext conftest$ac_exeext
90742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90743 (eval $ac_link) 2>conftest.er1
90744 ac_status=$?
90745 grep -v '^ *+' conftest.er1 >conftest.err
90746 rm -f conftest.er1
90747 cat conftest.err >&5
90748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90749 (exit $ac_status); } &&
90750 { ac_try='test -z "$ac_c_werror_flag"
90751 || test ! -s conftest.err'
90752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90753 (eval $ac_try) 2>&5
90754 ac_status=$?
90755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90756 (exit $ac_status); }; } &&
90757 { ac_try='test -s conftest$ac_exeext'
90758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90759 (eval $ac_try) 2>&5
90760 ac_status=$?
90761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90762 (exit $ac_status); }; }; then
90763 eval "$as_ac_var=yes"
90764 else
90765 echo "$as_me: failed program was:" >&5
90766 sed 's/^/| /' conftest.$ac_ext >&5
90768 eval "$as_ac_var=no"
90770 rm -f conftest.err conftest.$ac_objext \
90771 conftest$ac_exeext conftest.$ac_ext
90773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90774 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90775 if test `eval echo '${'$as_ac_var'}'` = yes; then
90776 cat >>confdefs.h <<_ACEOF
90777 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90778 _ACEOF
90779 ac_XPG2funcs=yes
90780 else
90781 ac_XPG2funcs=no
90783 done
90786 LIBS="$ac_save_LIBS"
90788 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
90789 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
90790 if test x"$ac_has_iconv_h" = xyes &&
90791 test x"$ac_has_langinfo_h" = xyes &&
90792 test x"$ac_XPG2funcs" = xyes;
90793 then
90794 ac_XPG2_wchar_t=yes
90795 else
90796 ac_XPG2_wchar_t=no
90798 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
90799 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
90801 # At the moment, only enable wchar_t specializations if all the
90802 # above support is present.
90803 if test x"$ac_isoC99_wchar_t" = xyes &&
90804 test x"$ac_XPG2_wchar_t" = xyes;
90805 then
90806 cat >>confdefs.h <<\_ACEOF
90807 #define _GLIBCXX_USE_WCHAR_T 1
90808 _ACEOF
90810 enable_wchar_t=yes
90813 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
90814 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
90815 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
90816 echo "${ECHO_T}$enable_wchar_t" >&6
90818 # All of the dependencies for wide character support are here, so
90819 # turn it on. This requires some syncronization with the
90820 # GLIBCXX_CHECK_WCHAR_T_SUPPORT in acinclude.m4
90821 cat >>confdefs.h <<\_ACEOF
90822 #define _GLIBCXX_USE_WCHAR_T 1
90823 _ACEOF
90825 # Are these tested for even when cross?
90826 cat >>confdefs.h <<\_ACEOF
90827 #define HAVE_FLOAT_H 1
90828 _ACEOF
90830 cat >>confdefs.h <<\_ACEOF
90831 #define HAVE_IEEEFP_H 1
90832 _ACEOF
90834 cat >>confdefs.h <<\_ACEOF
90835 #define HAVE_INTTYPES_H 1
90836 _ACEOF
90838 cat >>confdefs.h <<\_ACEOF
90839 #define HAVE_LOCALE_H 1
90840 _ACEOF
90842 cat >>confdefs.h <<\_ACEOF
90843 #define HAVE_NAN_H 1
90844 _ACEOF
90846 cat >>confdefs.h <<\_ACEOF
90847 #define HAVE_SYS_FILIO_H 1
90848 _ACEOF
90850 cat >>confdefs.h <<\_ACEOF
90851 #define HAVE_SYS_IOCTL_H 1
90852 _ACEOF
90854 cat >>confdefs.h <<\_ACEOF
90855 #define HAVE_SYS_ISA_DEFS_H 1
90856 _ACEOF
90858 cat >>confdefs.h <<\_ACEOF
90859 #define HAVE_SYS_RESOURCE_H 1
90860 _ACEOF
90862 cat >>confdefs.h <<\_ACEOF
90863 #define HAVE_SYS_TIME_H 1
90864 _ACEOF
90866 cat >>confdefs.h <<\_ACEOF
90867 #define HAVE_SYS_TYPES_H 1
90868 _ACEOF
90870 cat >>confdefs.h <<\_ACEOF
90871 #define HAVE_UNISTD_H 1
90872 _ACEOF
90874 cat >>confdefs.h <<\_ACEOF
90875 #define HAVE_WCHAR_H 1
90876 _ACEOF
90878 cat >>confdefs.h <<\_ACEOF
90879 #define HAVE_WCTYPE_H 1
90880 _ACEOF
90882 cat >>confdefs.h <<\_ACEOF
90883 #define HAVE_LIBM 1
90884 _ACEOF
90887 esac
90888 case "$target" in
90889 sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
90890 # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
90891 cat >>confdefs.h <<\_ACEOF
90892 #define HAVE___BUILTIN_ABS 1
90893 _ACEOF
90895 cat >>confdefs.h <<\_ACEOF
90896 #define HAVE___BUILTIN_LABS 1
90897 _ACEOF
90899 cat >>confdefs.h <<\_ACEOF
90900 #define HAVE___BUILTIN_FABS 1
90901 _ACEOF
90903 cat >>confdefs.h <<\_ACEOF
90904 #define HAVE___BUILTIN_FABSF 1
90905 _ACEOF
90907 cat >>confdefs.h <<\_ACEOF
90908 #define HAVE___BUILTIN_FABSL 1
90909 _ACEOF
90911 cat >>confdefs.h <<\_ACEOF
90912 #define HAVE___BUILTIN_COS 1
90913 _ACEOF
90915 cat >>confdefs.h <<\_ACEOF
90916 #define HAVE___BUILTIN_COSF 1
90917 _ACEOF
90919 cat >>confdefs.h <<\_ACEOF
90920 #define HAVE___BUILTIN_SIN 1
90921 _ACEOF
90923 cat >>confdefs.h <<\_ACEOF
90924 #define HAVE___BUILTIN_SINF 1
90925 _ACEOF
90928 esac
90929 cat >>confdefs.h <<\_ACEOF
90930 #define HAVE_STRTOF 1
90931 _ACEOF
90933 cat >>confdefs.h <<\_ACEOF
90934 #define HAVE_STRTOLD 1
90935 _ACEOF
90937 cat >>confdefs.h <<\_ACEOF
90938 #define HAVE_MMAP 1
90939 _ACEOF
90941 cat >>confdefs.h <<\_ACEOF
90942 #define HAVE_COPYSIGN 1
90943 _ACEOF
90945 cat >>confdefs.h <<\_ACEOF
90946 #define HAVE_ISNAN 1
90947 _ACEOF
90949 cat >>confdefs.h <<\_ACEOF
90950 #define HAVE_ISNANF 1
90951 _ACEOF
90953 cat >>confdefs.h <<\_ACEOF
90954 #define HAVE_MODFF 1
90955 _ACEOF
90957 cat >>confdefs.h <<\_ACEOF
90958 #define HAVE_HYPOT 1
90959 _ACEOF
90962 *-tpf)
90971 for ac_header in nan.h endian.h machine/endian.h \
90972 sys/param.h sys/types.h locale.h float.h inttypes.h
90974 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
90975 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90976 echo "$as_me:$LINENO: checking for $ac_header" >&5
90977 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
90978 if eval "test \"\${$as_ac_Header+set}\" = set"; then
90979 echo $ECHO_N "(cached) $ECHO_C" >&6
90981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
90982 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
90983 else
90984 # Is the header compilable?
90985 echo "$as_me:$LINENO: checking $ac_header usability" >&5
90986 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
90987 cat >conftest.$ac_ext <<_ACEOF
90988 /* confdefs.h. */
90989 _ACEOF
90990 cat confdefs.h >>conftest.$ac_ext
90991 cat >>conftest.$ac_ext <<_ACEOF
90992 /* end confdefs.h. */
90993 $ac_includes_default
90994 #include <$ac_header>
90995 _ACEOF
90996 rm -f conftest.$ac_objext
90997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90998 (eval $ac_compile) 2>conftest.er1
90999 ac_status=$?
91000 grep -v '^ *+' conftest.er1 >conftest.err
91001 rm -f conftest.er1
91002 cat conftest.err >&5
91003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91004 (exit $ac_status); } &&
91005 { ac_try='test -z "$ac_c_werror_flag"
91006 || test ! -s conftest.err'
91007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91008 (eval $ac_try) 2>&5
91009 ac_status=$?
91010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91011 (exit $ac_status); }; } &&
91012 { ac_try='test -s conftest.$ac_objext'
91013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91014 (eval $ac_try) 2>&5
91015 ac_status=$?
91016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91017 (exit $ac_status); }; }; then
91018 ac_header_compiler=yes
91019 else
91020 echo "$as_me: failed program was:" >&5
91021 sed 's/^/| /' conftest.$ac_ext >&5
91023 ac_header_compiler=no
91025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91026 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
91027 echo "${ECHO_T}$ac_header_compiler" >&6
91029 # Is the header present?
91030 echo "$as_me:$LINENO: checking $ac_header presence" >&5
91031 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
91032 cat >conftest.$ac_ext <<_ACEOF
91033 /* confdefs.h. */
91034 _ACEOF
91035 cat confdefs.h >>conftest.$ac_ext
91036 cat >>conftest.$ac_ext <<_ACEOF
91037 /* end confdefs.h. */
91038 #include <$ac_header>
91039 _ACEOF
91040 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
91041 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
91042 ac_status=$?
91043 grep -v '^ *+' conftest.er1 >conftest.err
91044 rm -f conftest.er1
91045 cat conftest.err >&5
91046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91047 (exit $ac_status); } >/dev/null; then
91048 if test -s conftest.err; then
91049 ac_cpp_err=$ac_c_preproc_warn_flag
91050 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
91051 else
91052 ac_cpp_err=
91054 else
91055 ac_cpp_err=yes
91057 if test -z "$ac_cpp_err"; then
91058 ac_header_preproc=yes
91059 else
91060 echo "$as_me: failed program was:" >&5
91061 sed 's/^/| /' conftest.$ac_ext >&5
91063 ac_header_preproc=no
91065 rm -f conftest.err conftest.$ac_ext
91066 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
91067 echo "${ECHO_T}$ac_header_preproc" >&6
91069 # So? What about this header?
91070 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
91071 yes:no: )
91072 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
91073 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
91074 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
91075 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
91076 ac_header_preproc=yes
91078 no:yes:* )
91079 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
91080 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
91081 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
91082 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
91083 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
91084 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
91085 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
91086 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
91087 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
91088 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
91089 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
91090 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
91092 cat <<\_ASBOX
91093 ## ----------------------------------------- ##
91094 ## Report this to the package-unused lists. ##
91095 ## ----------------------------------------- ##
91096 _ASBOX
91098 sed "s/^/$as_me: WARNING: /" >&2
91100 esac
91101 echo "$as_me:$LINENO: checking for $ac_header" >&5
91102 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
91103 if eval "test \"\${$as_ac_Header+set}\" = set"; then
91104 echo $ECHO_N "(cached) $ECHO_C" >&6
91105 else
91106 eval "$as_ac_Header=\$ac_header_preproc"
91108 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
91109 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
91112 if test `eval echo '${'$as_ac_Header'}'` = yes; then
91113 cat >>confdefs.h <<_ACEOF
91114 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
91115 _ACEOF
91119 done
91121 SECTION_FLAGS='-ffunction-sections -fdata-sections'
91124 # If we're not using GNU ld, then there's no point in even trying these
91125 # tests. Check for that first. We should have already tested for gld
91126 # by now (in libtool), but require it now just to be safe...
91127 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
91128 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
91132 # The name set by libtool depends on the version of libtool. Shame on us
91133 # for depending on an impl detail, but c'est la vie. Older versions used
91134 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
91135 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
91136 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
91137 # set (hence we're using an older libtool), then set it.
91138 if test x${with_gnu_ld+set} != xset; then
91139 if test x${ac_cv_prog_gnu_ld+set} != xset; then
91140 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
91141 with_gnu_ld=no
91142 else
91143 with_gnu_ld=$ac_cv_prog_gnu_ld
91147 # Start by getting the version number. I think the libtool test already
91148 # does some of this, but throws away the result.
91150 ldver=`$LD --version 2>/dev/null | head -1 | \
91151 sed -e 's/GNU ld version \([0-9.][0-9.]*\).*/\1/'`
91153 glibcxx_gnu_ld_version=`echo $ldver | \
91154 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
91156 # Set --gc-sections.
91157 if test "$with_gnu_ld" = "notbroken"; then
91158 # GNU ld it is! Joy and bunny rabbits!
91160 # All these tests are for C++; save the language and the compiler flags.
91161 # Need to do this so that g++ won't try to link in libstdc++
91162 ac_test_CFLAGS="${CFLAGS+set}"
91163 ac_save_CFLAGS="$CFLAGS"
91164 CFLAGS='-x c++ -Wl,--gc-sections'
91166 # Check for -Wl,--gc-sections
91167 # XXX This test is broken at the moment, as symbols required for linking
91168 # are now in libsupc++ (not built yet). In addition, this test has
91169 # cored on solaris in the past. In addition, --gc-sections doesn't
91170 # really work at the moment (keeps on discarding used sections, first
91171 # .eh_frame and now some of the glibc sections for iconv).
91172 # Bzzzzt. Thanks for playing, maybe next time.
91173 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
91174 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
91175 if test "$cross_compiling" = yes; then
91176 ac_sectionLDflags=yes
91177 else
91178 cat >conftest.$ac_ext <<_ACEOF
91179 /* confdefs.h. */
91180 _ACEOF
91181 cat confdefs.h >>conftest.$ac_ext
91182 cat >>conftest.$ac_ext <<_ACEOF
91183 /* end confdefs.h. */
91185 int main(void)
91187 try { throw 1; }
91188 catch (...) { };
91189 return 0;
91192 _ACEOF
91193 rm -f conftest$ac_exeext
91194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91195 (eval $ac_link) 2>&5
91196 ac_status=$?
91197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91198 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
91199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91200 (eval $ac_try) 2>&5
91201 ac_status=$?
91202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91203 (exit $ac_status); }; }; then
91204 ac_sectionLDflags=yes
91205 else
91206 echo "$as_me: program exited with status $ac_status" >&5
91207 echo "$as_me: failed program was:" >&5
91208 sed 's/^/| /' conftest.$ac_ext >&5
91210 ( exit $ac_status )
91211 ac_sectionLDflags=no
91213 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
91215 if test "$ac_test_CFLAGS" = set; then
91216 CFLAGS="$ac_save_CFLAGS"
91217 else
91218 # this is the suspicious part
91219 CFLAGS=''
91221 if test "$ac_sectionLDflags" = "yes"; then
91222 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
91224 echo "$as_me:$LINENO: result: $ac_sectionLDflags" >&5
91225 echo "${ECHO_T}$ac_sectionLDflags" >&6
91228 # Set linker optimization flags.
91229 if test x"$with_gnu_ld" = x"yes"; then
91230 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
91238 echo "$as_me:$LINENO: checking for main in -lm" >&5
91239 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
91240 if test "${ac_cv_lib_m_main+set}" = set; then
91241 echo $ECHO_N "(cached) $ECHO_C" >&6
91242 else
91243 ac_check_lib_save_LIBS=$LIBS
91244 LIBS="-lm $LIBS"
91245 if test x$gcc_no_link = xyes; then
91246 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91247 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91248 { (exit 1); exit 1; }; }
91250 cat >conftest.$ac_ext <<_ACEOF
91251 /* confdefs.h. */
91252 _ACEOF
91253 cat confdefs.h >>conftest.$ac_ext
91254 cat >>conftest.$ac_ext <<_ACEOF
91255 /* end confdefs.h. */
91259 main ()
91261 main ();
91263 return 0;
91265 _ACEOF
91266 rm -f conftest.$ac_objext conftest$ac_exeext
91267 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91268 (eval $ac_link) 2>conftest.er1
91269 ac_status=$?
91270 grep -v '^ *+' conftest.er1 >conftest.err
91271 rm -f conftest.er1
91272 cat conftest.err >&5
91273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91274 (exit $ac_status); } &&
91275 { ac_try='test -z "$ac_c_werror_flag"
91276 || test ! -s conftest.err'
91277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91278 (eval $ac_try) 2>&5
91279 ac_status=$?
91280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91281 (exit $ac_status); }; } &&
91282 { ac_try='test -s conftest$ac_exeext'
91283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91284 (eval $ac_try) 2>&5
91285 ac_status=$?
91286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91287 (exit $ac_status); }; }; then
91288 ac_cv_lib_m_main=yes
91289 else
91290 echo "$as_me: failed program was:" >&5
91291 sed 's/^/| /' conftest.$ac_ext >&5
91293 ac_cv_lib_m_main=no
91295 rm -f conftest.err conftest.$ac_objext \
91296 conftest$ac_exeext conftest.$ac_ext
91297 LIBS=$ac_check_lib_save_LIBS
91299 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
91300 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
91301 if test $ac_cv_lib_m_main = yes; then
91302 cat >>confdefs.h <<_ACEOF
91303 #define HAVE_LIBM 1
91304 _ACEOF
91306 LIBS="-lm $LIBS"
91311 for ac_func in copysignf
91313 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91314 echo "$as_me:$LINENO: checking for $ac_func" >&5
91315 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91316 if eval "test \"\${$as_ac_var+set}\" = set"; then
91317 echo $ECHO_N "(cached) $ECHO_C" >&6
91318 else
91319 if test x$gcc_no_link = xyes; then
91320 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91321 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91322 { (exit 1); exit 1; }; }
91324 cat >conftest.$ac_ext <<_ACEOF
91325 /* confdefs.h. */
91326 _ACEOF
91327 cat confdefs.h >>conftest.$ac_ext
91328 cat >>conftest.$ac_ext <<_ACEOF
91329 /* end confdefs.h. */
91330 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91331 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91332 #define $ac_func innocuous_$ac_func
91334 /* System header to define __stub macros and hopefully few prototypes,
91335 which can conflict with char $ac_func (); below.
91336 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91337 <limits.h> exists even on freestanding compilers. */
91339 #ifdef __STDC__
91340 # include <limits.h>
91341 #else
91342 # include <assert.h>
91343 #endif
91345 #undef $ac_func
91347 /* Override any gcc2 internal prototype to avoid an error. */
91348 #ifdef __cplusplus
91349 extern "C"
91351 #endif
91352 /* We use char because int might match the return type of a gcc2
91353 builtin and then its argument prototype would still apply. */
91354 char $ac_func ();
91355 /* The GNU C library defines this for functions which it implements
91356 to always fail with ENOSYS. Some functions are actually named
91357 something starting with __ and the normal name is an alias. */
91358 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91359 choke me
91360 #else
91361 char (*f) () = $ac_func;
91362 #endif
91363 #ifdef __cplusplus
91365 #endif
91368 main ()
91370 return f != $ac_func;
91372 return 0;
91374 _ACEOF
91375 rm -f conftest.$ac_objext conftest$ac_exeext
91376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91377 (eval $ac_link) 2>conftest.er1
91378 ac_status=$?
91379 grep -v '^ *+' conftest.er1 >conftest.err
91380 rm -f conftest.er1
91381 cat conftest.err >&5
91382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91383 (exit $ac_status); } &&
91384 { ac_try='test -z "$ac_c_werror_flag"
91385 || test ! -s conftest.err'
91386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91387 (eval $ac_try) 2>&5
91388 ac_status=$?
91389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91390 (exit $ac_status); }; } &&
91391 { ac_try='test -s conftest$ac_exeext'
91392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91393 (eval $ac_try) 2>&5
91394 ac_status=$?
91395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91396 (exit $ac_status); }; }; then
91397 eval "$as_ac_var=yes"
91398 else
91399 echo "$as_me: failed program was:" >&5
91400 sed 's/^/| /' conftest.$ac_ext >&5
91402 eval "$as_ac_var=no"
91404 rm -f conftest.err conftest.$ac_objext \
91405 conftest$ac_exeext conftest.$ac_ext
91407 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91408 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91409 if test `eval echo '${'$as_ac_var'}'` = yes; then
91410 cat >>confdefs.h <<_ACEOF
91411 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91412 _ACEOF
91414 else
91415 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
91417 done
91421 for ac_func in __signbit
91423 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91424 echo "$as_me:$LINENO: checking for $ac_func" >&5
91425 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91426 if eval "test \"\${$as_ac_var+set}\" = set"; then
91427 echo $ECHO_N "(cached) $ECHO_C" >&6
91428 else
91429 if test x$gcc_no_link = xyes; then
91430 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91431 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91432 { (exit 1); exit 1; }; }
91434 cat >conftest.$ac_ext <<_ACEOF
91435 /* confdefs.h. */
91436 _ACEOF
91437 cat confdefs.h >>conftest.$ac_ext
91438 cat >>conftest.$ac_ext <<_ACEOF
91439 /* end confdefs.h. */
91440 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91441 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91442 #define $ac_func innocuous_$ac_func
91444 /* System header to define __stub macros and hopefully few prototypes,
91445 which can conflict with char $ac_func (); below.
91446 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91447 <limits.h> exists even on freestanding compilers. */
91449 #ifdef __STDC__
91450 # include <limits.h>
91451 #else
91452 # include <assert.h>
91453 #endif
91455 #undef $ac_func
91457 /* Override any gcc2 internal prototype to avoid an error. */
91458 #ifdef __cplusplus
91459 extern "C"
91461 #endif
91462 /* We use char because int might match the return type of a gcc2
91463 builtin and then its argument prototype would still apply. */
91464 char $ac_func ();
91465 /* The GNU C library defines this for functions which it implements
91466 to always fail with ENOSYS. Some functions are actually named
91467 something starting with __ and the normal name is an alias. */
91468 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91469 choke me
91470 #else
91471 char (*f) () = $ac_func;
91472 #endif
91473 #ifdef __cplusplus
91475 #endif
91478 main ()
91480 return f != $ac_func;
91482 return 0;
91484 _ACEOF
91485 rm -f conftest.$ac_objext conftest$ac_exeext
91486 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91487 (eval $ac_link) 2>conftest.er1
91488 ac_status=$?
91489 grep -v '^ *+' conftest.er1 >conftest.err
91490 rm -f conftest.er1
91491 cat conftest.err >&5
91492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91493 (exit $ac_status); } &&
91494 { ac_try='test -z "$ac_c_werror_flag"
91495 || test ! -s conftest.err'
91496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91497 (eval $ac_try) 2>&5
91498 ac_status=$?
91499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91500 (exit $ac_status); }; } &&
91501 { ac_try='test -s conftest$ac_exeext'
91502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91503 (eval $ac_try) 2>&5
91504 ac_status=$?
91505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91506 (exit $ac_status); }; }; then
91507 eval "$as_ac_var=yes"
91508 else
91509 echo "$as_me: failed program was:" >&5
91510 sed 's/^/| /' conftest.$ac_ext >&5
91512 eval "$as_ac_var=no"
91514 rm -f conftest.err conftest.$ac_objext \
91515 conftest$ac_exeext conftest.$ac_ext
91517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91518 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91519 if test `eval echo '${'$as_ac_var'}'` = yes; then
91520 cat >>confdefs.h <<_ACEOF
91521 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91522 _ACEOF
91524 else
91525 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
91527 done
91531 for ac_func in __signbitf
91533 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91534 echo "$as_me:$LINENO: checking for $ac_func" >&5
91535 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91536 if eval "test \"\${$as_ac_var+set}\" = set"; then
91537 echo $ECHO_N "(cached) $ECHO_C" >&6
91538 else
91539 if test x$gcc_no_link = xyes; then
91540 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91541 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91542 { (exit 1); exit 1; }; }
91544 cat >conftest.$ac_ext <<_ACEOF
91545 /* confdefs.h. */
91546 _ACEOF
91547 cat confdefs.h >>conftest.$ac_ext
91548 cat >>conftest.$ac_ext <<_ACEOF
91549 /* end confdefs.h. */
91550 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91551 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91552 #define $ac_func innocuous_$ac_func
91554 /* System header to define __stub macros and hopefully few prototypes,
91555 which can conflict with char $ac_func (); below.
91556 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91557 <limits.h> exists even on freestanding compilers. */
91559 #ifdef __STDC__
91560 # include <limits.h>
91561 #else
91562 # include <assert.h>
91563 #endif
91565 #undef $ac_func
91567 /* Override any gcc2 internal prototype to avoid an error. */
91568 #ifdef __cplusplus
91569 extern "C"
91571 #endif
91572 /* We use char because int might match the return type of a gcc2
91573 builtin and then its argument prototype would still apply. */
91574 char $ac_func ();
91575 /* The GNU C library defines this for functions which it implements
91576 to always fail with ENOSYS. Some functions are actually named
91577 something starting with __ and the normal name is an alias. */
91578 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91579 choke me
91580 #else
91581 char (*f) () = $ac_func;
91582 #endif
91583 #ifdef __cplusplus
91585 #endif
91588 main ()
91590 return f != $ac_func;
91592 return 0;
91594 _ACEOF
91595 rm -f conftest.$ac_objext conftest$ac_exeext
91596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91597 (eval $ac_link) 2>conftest.er1
91598 ac_status=$?
91599 grep -v '^ *+' conftest.er1 >conftest.err
91600 rm -f conftest.er1
91601 cat conftest.err >&5
91602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91603 (exit $ac_status); } &&
91604 { ac_try='test -z "$ac_c_werror_flag"
91605 || test ! -s conftest.err'
91606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91607 (eval $ac_try) 2>&5
91608 ac_status=$?
91609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91610 (exit $ac_status); }; } &&
91611 { ac_try='test -s conftest$ac_exeext'
91612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91613 (eval $ac_try) 2>&5
91614 ac_status=$?
91615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91616 (exit $ac_status); }; }; then
91617 eval "$as_ac_var=yes"
91618 else
91619 echo "$as_me: failed program was:" >&5
91620 sed 's/^/| /' conftest.$ac_ext >&5
91622 eval "$as_ac_var=no"
91624 rm -f conftest.err conftest.$ac_objext \
91625 conftest$ac_exeext conftest.$ac_ext
91627 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91628 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91629 if test `eval echo '${'$as_ac_var'}'` = yes; then
91630 cat >>confdefs.h <<_ACEOF
91631 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91632 _ACEOF
91634 else
91635 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
91637 done
91640 if test x$ac_cv_func_copysignl = x"yes"; then
91642 for ac_func in __signbitl
91644 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91645 echo "$as_me:$LINENO: checking for $ac_func" >&5
91646 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91647 if eval "test \"\${$as_ac_var+set}\" = set"; then
91648 echo $ECHO_N "(cached) $ECHO_C" >&6
91649 else
91650 if test x$gcc_no_link = xyes; then
91651 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91652 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91653 { (exit 1); exit 1; }; }
91655 cat >conftest.$ac_ext <<_ACEOF
91656 /* confdefs.h. */
91657 _ACEOF
91658 cat confdefs.h >>conftest.$ac_ext
91659 cat >>conftest.$ac_ext <<_ACEOF
91660 /* end confdefs.h. */
91661 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91662 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91663 #define $ac_func innocuous_$ac_func
91665 /* System header to define __stub macros and hopefully few prototypes,
91666 which can conflict with char $ac_func (); below.
91667 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91668 <limits.h> exists even on freestanding compilers. */
91670 #ifdef __STDC__
91671 # include <limits.h>
91672 #else
91673 # include <assert.h>
91674 #endif
91676 #undef $ac_func
91678 /* Override any gcc2 internal prototype to avoid an error. */
91679 #ifdef __cplusplus
91680 extern "C"
91682 #endif
91683 /* We use char because int might match the return type of a gcc2
91684 builtin and then its argument prototype would still apply. */
91685 char $ac_func ();
91686 /* The GNU C library defines this for functions which it implements
91687 to always fail with ENOSYS. Some functions are actually named
91688 something starting with __ and the normal name is an alias. */
91689 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91690 choke me
91691 #else
91692 char (*f) () = $ac_func;
91693 #endif
91694 #ifdef __cplusplus
91696 #endif
91699 main ()
91701 return f != $ac_func;
91703 return 0;
91705 _ACEOF
91706 rm -f conftest.$ac_objext conftest$ac_exeext
91707 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91708 (eval $ac_link) 2>conftest.er1
91709 ac_status=$?
91710 grep -v '^ *+' conftest.er1 >conftest.err
91711 rm -f conftest.er1
91712 cat conftest.err >&5
91713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91714 (exit $ac_status); } &&
91715 { ac_try='test -z "$ac_c_werror_flag"
91716 || test ! -s conftest.err'
91717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91718 (eval $ac_try) 2>&5
91719 ac_status=$?
91720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91721 (exit $ac_status); }; } &&
91722 { ac_try='test -s conftest$ac_exeext'
91723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91724 (eval $ac_try) 2>&5
91725 ac_status=$?
91726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91727 (exit $ac_status); }; }; then
91728 eval "$as_ac_var=yes"
91729 else
91730 echo "$as_me: failed program was:" >&5
91731 sed 's/^/| /' conftest.$ac_ext >&5
91733 eval "$as_ac_var=no"
91735 rm -f conftest.err conftest.$ac_objext \
91736 conftest$ac_exeext conftest.$ac_ext
91738 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91739 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91740 if test `eval echo '${'$as_ac_var'}'` = yes; then
91741 cat >>confdefs.h <<_ACEOF
91742 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91743 _ACEOF
91745 else
91746 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
91748 done
91752 # Used in libmath/Makefile.am.
91753 if test -n "$LIBMATHOBJS"; then
91754 need_libmath=yes
91759 # Test wchar.h for mbstate_t, which is needed for char_traits and
91760 # others even if wchar_t support is not on.
91761 echo "$as_me:$LINENO: checking for mbstate_t" >&5
91762 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
91763 cat >conftest.$ac_ext <<_ACEOF
91764 /* confdefs.h. */
91765 _ACEOF
91766 cat confdefs.h >>conftest.$ac_ext
91767 cat >>conftest.$ac_ext <<_ACEOF
91768 /* end confdefs.h. */
91769 #include <wchar.h>
91771 main ()
91773 mbstate_t teststate;
91775 return 0;
91777 _ACEOF
91778 rm -f conftest.$ac_objext
91779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91780 (eval $ac_compile) 2>conftest.er1
91781 ac_status=$?
91782 grep -v '^ *+' conftest.er1 >conftest.err
91783 rm -f conftest.er1
91784 cat conftest.err >&5
91785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91786 (exit $ac_status); } &&
91787 { ac_try='test -z "$ac_c_werror_flag"
91788 || test ! -s conftest.err'
91789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91790 (eval $ac_try) 2>&5
91791 ac_status=$?
91792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91793 (exit $ac_status); }; } &&
91794 { ac_try='test -s conftest.$ac_objext'
91795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91796 (eval $ac_try) 2>&5
91797 ac_status=$?
91798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91799 (exit $ac_status); }; }; then
91800 have_mbstate_t=yes
91801 else
91802 echo "$as_me: failed program was:" >&5
91803 sed 's/^/| /' conftest.$ac_ext >&5
91805 have_mbstate_t=no
91807 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91808 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
91809 echo "${ECHO_T}$have_mbstate_t" >&6
91810 if test x"$have_mbstate_t" = xyes; then
91811 cat >>confdefs.h <<\_ACEOF
91812 #define HAVE_MBSTATE_T 1
91813 _ACEOF
91817 # Sanity check for existence of ISO C99 headers for extended encoding.
91819 for ac_header in wchar.h
91821 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
91822 if eval "test \"\${$as_ac_Header+set}\" = set"; then
91823 echo "$as_me:$LINENO: checking for $ac_header" >&5
91824 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
91825 if eval "test \"\${$as_ac_Header+set}\" = set"; then
91826 echo $ECHO_N "(cached) $ECHO_C" >&6
91828 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
91829 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
91830 else
91831 # Is the header compilable?
91832 echo "$as_me:$LINENO: checking $ac_header usability" >&5
91833 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
91834 cat >conftest.$ac_ext <<_ACEOF
91835 /* confdefs.h. */
91836 _ACEOF
91837 cat confdefs.h >>conftest.$ac_ext
91838 cat >>conftest.$ac_ext <<_ACEOF
91839 /* end confdefs.h. */
91840 $ac_includes_default
91841 #include <$ac_header>
91842 _ACEOF
91843 rm -f conftest.$ac_objext
91844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91845 (eval $ac_compile) 2>conftest.er1
91846 ac_status=$?
91847 grep -v '^ *+' conftest.er1 >conftest.err
91848 rm -f conftest.er1
91849 cat conftest.err >&5
91850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91851 (exit $ac_status); } &&
91852 { ac_try='test -z "$ac_c_werror_flag"
91853 || test ! -s conftest.err'
91854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91855 (eval $ac_try) 2>&5
91856 ac_status=$?
91857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91858 (exit $ac_status); }; } &&
91859 { ac_try='test -s conftest.$ac_objext'
91860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91861 (eval $ac_try) 2>&5
91862 ac_status=$?
91863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91864 (exit $ac_status); }; }; then
91865 ac_header_compiler=yes
91866 else
91867 echo "$as_me: failed program was:" >&5
91868 sed 's/^/| /' conftest.$ac_ext >&5
91870 ac_header_compiler=no
91872 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91873 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
91874 echo "${ECHO_T}$ac_header_compiler" >&6
91876 # Is the header present?
91877 echo "$as_me:$LINENO: checking $ac_header presence" >&5
91878 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
91879 cat >conftest.$ac_ext <<_ACEOF
91880 /* confdefs.h. */
91881 _ACEOF
91882 cat confdefs.h >>conftest.$ac_ext
91883 cat >>conftest.$ac_ext <<_ACEOF
91884 /* end confdefs.h. */
91885 #include <$ac_header>
91886 _ACEOF
91887 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
91888 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
91889 ac_status=$?
91890 grep -v '^ *+' conftest.er1 >conftest.err
91891 rm -f conftest.er1
91892 cat conftest.err >&5
91893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91894 (exit $ac_status); } >/dev/null; then
91895 if test -s conftest.err; then
91896 ac_cpp_err=$ac_c_preproc_warn_flag
91897 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
91898 else
91899 ac_cpp_err=
91901 else
91902 ac_cpp_err=yes
91904 if test -z "$ac_cpp_err"; then
91905 ac_header_preproc=yes
91906 else
91907 echo "$as_me: failed program was:" >&5
91908 sed 's/^/| /' conftest.$ac_ext >&5
91910 ac_header_preproc=no
91912 rm -f conftest.err conftest.$ac_ext
91913 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
91914 echo "${ECHO_T}$ac_header_preproc" >&6
91916 # So? What about this header?
91917 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
91918 yes:no: )
91919 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
91920 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
91921 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
91922 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
91923 ac_header_preproc=yes
91925 no:yes:* )
91926 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
91927 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
91928 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
91929 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
91930 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
91931 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
91932 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
91933 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
91934 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
91935 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
91936 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
91937 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
91939 cat <<\_ASBOX
91940 ## ----------------------------------------- ##
91941 ## Report this to the package-unused lists. ##
91942 ## ----------------------------------------- ##
91943 _ASBOX
91945 sed "s/^/$as_me: WARNING: /" >&2
91947 esac
91948 echo "$as_me:$LINENO: checking for $ac_header" >&5
91949 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
91950 if eval "test \"\${$as_ac_Header+set}\" = set"; then
91951 echo $ECHO_N "(cached) $ECHO_C" >&6
91952 else
91953 eval "$as_ac_Header=\$ac_header_preproc"
91955 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
91956 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
91959 if test `eval echo '${'$as_ac_Header'}'` = yes; then
91960 cat >>confdefs.h <<_ACEOF
91961 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
91962 _ACEOF
91963 ac_has_wchar_h=yes
91964 else
91965 ac_has_wchar_h=no
91968 done
91971 for ac_header in wctype.h
91973 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
91974 if eval "test \"\${$as_ac_Header+set}\" = set"; then
91975 echo "$as_me:$LINENO: checking for $ac_header" >&5
91976 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
91977 if eval "test \"\${$as_ac_Header+set}\" = set"; then
91978 echo $ECHO_N "(cached) $ECHO_C" >&6
91980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
91981 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
91982 else
91983 # Is the header compilable?
91984 echo "$as_me:$LINENO: checking $ac_header usability" >&5
91985 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
91986 cat >conftest.$ac_ext <<_ACEOF
91987 /* confdefs.h. */
91988 _ACEOF
91989 cat confdefs.h >>conftest.$ac_ext
91990 cat >>conftest.$ac_ext <<_ACEOF
91991 /* end confdefs.h. */
91992 $ac_includes_default
91993 #include <$ac_header>
91994 _ACEOF
91995 rm -f conftest.$ac_objext
91996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91997 (eval $ac_compile) 2>conftest.er1
91998 ac_status=$?
91999 grep -v '^ *+' conftest.er1 >conftest.err
92000 rm -f conftest.er1
92001 cat conftest.err >&5
92002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92003 (exit $ac_status); } &&
92004 { ac_try='test -z "$ac_c_werror_flag"
92005 || test ! -s conftest.err'
92006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92007 (eval $ac_try) 2>&5
92008 ac_status=$?
92009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92010 (exit $ac_status); }; } &&
92011 { ac_try='test -s conftest.$ac_objext'
92012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92013 (eval $ac_try) 2>&5
92014 ac_status=$?
92015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92016 (exit $ac_status); }; }; then
92017 ac_header_compiler=yes
92018 else
92019 echo "$as_me: failed program was:" >&5
92020 sed 's/^/| /' conftest.$ac_ext >&5
92022 ac_header_compiler=no
92024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92025 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
92026 echo "${ECHO_T}$ac_header_compiler" >&6
92028 # Is the header present?
92029 echo "$as_me:$LINENO: checking $ac_header presence" >&5
92030 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
92031 cat >conftest.$ac_ext <<_ACEOF
92032 /* confdefs.h. */
92033 _ACEOF
92034 cat confdefs.h >>conftest.$ac_ext
92035 cat >>conftest.$ac_ext <<_ACEOF
92036 /* end confdefs.h. */
92037 #include <$ac_header>
92038 _ACEOF
92039 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
92040 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
92041 ac_status=$?
92042 grep -v '^ *+' conftest.er1 >conftest.err
92043 rm -f conftest.er1
92044 cat conftest.err >&5
92045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92046 (exit $ac_status); } >/dev/null; then
92047 if test -s conftest.err; then
92048 ac_cpp_err=$ac_c_preproc_warn_flag
92049 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
92050 else
92051 ac_cpp_err=
92053 else
92054 ac_cpp_err=yes
92056 if test -z "$ac_cpp_err"; then
92057 ac_header_preproc=yes
92058 else
92059 echo "$as_me: failed program was:" >&5
92060 sed 's/^/| /' conftest.$ac_ext >&5
92062 ac_header_preproc=no
92064 rm -f conftest.err conftest.$ac_ext
92065 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
92066 echo "${ECHO_T}$ac_header_preproc" >&6
92068 # So? What about this header?
92069 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
92070 yes:no: )
92071 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
92072 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
92073 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
92074 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
92075 ac_header_preproc=yes
92077 no:yes:* )
92078 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
92079 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
92080 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
92081 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
92082 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
92083 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
92084 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
92085 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
92086 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
92087 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
92088 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
92089 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
92091 cat <<\_ASBOX
92092 ## ----------------------------------------- ##
92093 ## Report this to the package-unused lists. ##
92094 ## ----------------------------------------- ##
92095 _ASBOX
92097 sed "s/^/$as_me: WARNING: /" >&2
92099 esac
92100 echo "$as_me:$LINENO: checking for $ac_header" >&5
92101 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
92102 if eval "test \"\${$as_ac_Header+set}\" = set"; then
92103 echo $ECHO_N "(cached) $ECHO_C" >&6
92104 else
92105 eval "$as_ac_Header=\$ac_header_preproc"
92107 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
92108 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
92111 if test `eval echo '${'$as_ac_Header'}'` = yes; then
92112 cat >>confdefs.h <<_ACEOF
92113 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
92114 _ACEOF
92115 ac_has_wctype_h=yes
92116 else
92117 ac_has_wctype_h=no
92120 done
92123 # Only continue checking if the ISO C99 headers exist and support is on.
92124 if test x"$ac_has_wchar_h" = xyes &&
92125 test x"$ac_has_wctype_h" = xyes &&
92126 test x"$enable_c_mbchar" != xno; then
92128 # Test wchar.h for WCHAR_MIN, WCHAR_MAX, which is needed before
92129 # numeric_limits can instantiate type_traits<wchar_t>
92130 echo "$as_me:$LINENO: checking for WCHAR_MIN and WCHAR_MAX" >&5
92131 echo $ECHO_N "checking for WCHAR_MIN and WCHAR_MAX... $ECHO_C" >&6
92132 cat >conftest.$ac_ext <<_ACEOF
92133 /* confdefs.h. */
92134 _ACEOF
92135 cat confdefs.h >>conftest.$ac_ext
92136 cat >>conftest.$ac_ext <<_ACEOF
92137 /* end confdefs.h. */
92138 #include <wchar.h>
92140 main ()
92142 int i = WCHAR_MIN; int j = WCHAR_MAX;
92144 return 0;
92146 _ACEOF
92147 rm -f conftest.$ac_objext
92148 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92149 (eval $ac_compile) 2>conftest.er1
92150 ac_status=$?
92151 grep -v '^ *+' conftest.er1 >conftest.err
92152 rm -f conftest.er1
92153 cat conftest.err >&5
92154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92155 (exit $ac_status); } &&
92156 { ac_try='test -z "$ac_c_werror_flag"
92157 || test ! -s conftest.err'
92158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92159 (eval $ac_try) 2>&5
92160 ac_status=$?
92161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92162 (exit $ac_status); }; } &&
92163 { ac_try='test -s conftest.$ac_objext'
92164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92165 (eval $ac_try) 2>&5
92166 ac_status=$?
92167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92168 (exit $ac_status); }; }; then
92169 has_wchar_minmax=yes
92170 else
92171 echo "$as_me: failed program was:" >&5
92172 sed 's/^/| /' conftest.$ac_ext >&5
92174 has_wchar_minmax=no
92176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92177 echo "$as_me:$LINENO: result: $has_wchar_minmax" >&5
92178 echo "${ECHO_T}$has_wchar_minmax" >&6
92180 # Test wchar.h for WEOF, which is what we use to determine whether
92181 # to specialize for char_traits<wchar_t> or not.
92182 echo "$as_me:$LINENO: checking for WEOF" >&5
92183 echo $ECHO_N "checking for WEOF... $ECHO_C" >&6
92184 cat >conftest.$ac_ext <<_ACEOF
92185 /* confdefs.h. */
92186 _ACEOF
92187 cat confdefs.h >>conftest.$ac_ext
92188 cat >>conftest.$ac_ext <<_ACEOF
92189 /* end confdefs.h. */
92191 #include <wchar.h>
92192 #include <stddef.h>
92194 main ()
92196 wint_t i = WEOF;
92198 return 0;
92200 _ACEOF
92201 rm -f conftest.$ac_objext
92202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92203 (eval $ac_compile) 2>conftest.er1
92204 ac_status=$?
92205 grep -v '^ *+' conftest.er1 >conftest.err
92206 rm -f conftest.er1
92207 cat conftest.err >&5
92208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92209 (exit $ac_status); } &&
92210 { ac_try='test -z "$ac_c_werror_flag"
92211 || test ! -s conftest.err'
92212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92213 (eval $ac_try) 2>&5
92214 ac_status=$?
92215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92216 (exit $ac_status); }; } &&
92217 { ac_try='test -s conftest.$ac_objext'
92218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92219 (eval $ac_try) 2>&5
92220 ac_status=$?
92221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92222 (exit $ac_status); }; }; then
92223 has_weof=yes
92224 else
92225 echo "$as_me: failed program was:" >&5
92226 sed 's/^/| /' conftest.$ac_ext >&5
92228 has_weof=no
92230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92231 echo "$as_me:$LINENO: result: $has_weof" >&5
92232 echo "${ECHO_T}$has_weof" >&6
92234 # Tests for wide character functions used in char_traits<wchar_t>.
92235 ac_wfuncs=yes
92242 for ac_func in wcslen wmemchr wmemcmp wmemcpy wmemmove wmemset
92244 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92245 echo "$as_me:$LINENO: checking for $ac_func" >&5
92246 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92247 if eval "test \"\${$as_ac_var+set}\" = set"; then
92248 echo $ECHO_N "(cached) $ECHO_C" >&6
92249 else
92250 if test x$gcc_no_link = xyes; then
92251 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92252 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92253 { (exit 1); exit 1; }; }
92255 cat >conftest.$ac_ext <<_ACEOF
92256 /* confdefs.h. */
92257 _ACEOF
92258 cat confdefs.h >>conftest.$ac_ext
92259 cat >>conftest.$ac_ext <<_ACEOF
92260 /* end confdefs.h. */
92261 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92262 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92263 #define $ac_func innocuous_$ac_func
92265 /* System header to define __stub macros and hopefully few prototypes,
92266 which can conflict with char $ac_func (); below.
92267 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92268 <limits.h> exists even on freestanding compilers. */
92270 #ifdef __STDC__
92271 # include <limits.h>
92272 #else
92273 # include <assert.h>
92274 #endif
92276 #undef $ac_func
92278 /* Override any gcc2 internal prototype to avoid an error. */
92279 #ifdef __cplusplus
92280 extern "C"
92282 #endif
92283 /* We use char because int might match the return type of a gcc2
92284 builtin and then its argument prototype would still apply. */
92285 char $ac_func ();
92286 /* The GNU C library defines this for functions which it implements
92287 to always fail with ENOSYS. Some functions are actually named
92288 something starting with __ and the normal name is an alias. */
92289 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92290 choke me
92291 #else
92292 char (*f) () = $ac_func;
92293 #endif
92294 #ifdef __cplusplus
92296 #endif
92299 main ()
92301 return f != $ac_func;
92303 return 0;
92305 _ACEOF
92306 rm -f conftest.$ac_objext conftest$ac_exeext
92307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92308 (eval $ac_link) 2>conftest.er1
92309 ac_status=$?
92310 grep -v '^ *+' conftest.er1 >conftest.err
92311 rm -f conftest.er1
92312 cat conftest.err >&5
92313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92314 (exit $ac_status); } &&
92315 { ac_try='test -z "$ac_c_werror_flag"
92316 || test ! -s conftest.err'
92317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92318 (eval $ac_try) 2>&5
92319 ac_status=$?
92320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92321 (exit $ac_status); }; } &&
92322 { ac_try='test -s conftest$ac_exeext'
92323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92324 (eval $ac_try) 2>&5
92325 ac_status=$?
92326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92327 (exit $ac_status); }; }; then
92328 eval "$as_ac_var=yes"
92329 else
92330 echo "$as_me: failed program was:" >&5
92331 sed 's/^/| /' conftest.$ac_ext >&5
92333 eval "$as_ac_var=no"
92335 rm -f conftest.err conftest.$ac_objext \
92336 conftest$ac_exeext conftest.$ac_ext
92338 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92339 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92340 if test `eval echo '${'$as_ac_var'}'` = yes; then
92341 cat >>confdefs.h <<_ACEOF
92342 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92343 _ACEOF
92345 else
92346 ac_wfuncs=no
92348 done
92351 # Checks for names injected into std:: by the c_std headers.
92398 for ac_func in btowc wctob fgetwc fgetws fputwc fputws fwide \
92399 fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
92400 vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
92401 mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
92402 wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
92403 wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr
92405 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92406 echo "$as_me:$LINENO: checking for $ac_func" >&5
92407 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92408 if eval "test \"\${$as_ac_var+set}\" = set"; then
92409 echo $ECHO_N "(cached) $ECHO_C" >&6
92410 else
92411 if test x$gcc_no_link = xyes; then
92412 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92413 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92414 { (exit 1); exit 1; }; }
92416 cat >conftest.$ac_ext <<_ACEOF
92417 /* confdefs.h. */
92418 _ACEOF
92419 cat confdefs.h >>conftest.$ac_ext
92420 cat >>conftest.$ac_ext <<_ACEOF
92421 /* end confdefs.h. */
92422 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92423 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92424 #define $ac_func innocuous_$ac_func
92426 /* System header to define __stub macros and hopefully few prototypes,
92427 which can conflict with char $ac_func (); below.
92428 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92429 <limits.h> exists even on freestanding compilers. */
92431 #ifdef __STDC__
92432 # include <limits.h>
92433 #else
92434 # include <assert.h>
92435 #endif
92437 #undef $ac_func
92439 /* Override any gcc2 internal prototype to avoid an error. */
92440 #ifdef __cplusplus
92441 extern "C"
92443 #endif
92444 /* We use char because int might match the return type of a gcc2
92445 builtin and then its argument prototype would still apply. */
92446 char $ac_func ();
92447 /* The GNU C library defines this for functions which it implements
92448 to always fail with ENOSYS. Some functions are actually named
92449 something starting with __ and the normal name is an alias. */
92450 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92451 choke me
92452 #else
92453 char (*f) () = $ac_func;
92454 #endif
92455 #ifdef __cplusplus
92457 #endif
92460 main ()
92462 return f != $ac_func;
92464 return 0;
92466 _ACEOF
92467 rm -f conftest.$ac_objext conftest$ac_exeext
92468 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92469 (eval $ac_link) 2>conftest.er1
92470 ac_status=$?
92471 grep -v '^ *+' conftest.er1 >conftest.err
92472 rm -f conftest.er1
92473 cat conftest.err >&5
92474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92475 (exit $ac_status); } &&
92476 { ac_try='test -z "$ac_c_werror_flag"
92477 || test ! -s conftest.err'
92478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92479 (eval $ac_try) 2>&5
92480 ac_status=$?
92481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92482 (exit $ac_status); }; } &&
92483 { ac_try='test -s conftest$ac_exeext'
92484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92485 (eval $ac_try) 2>&5
92486 ac_status=$?
92487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92488 (exit $ac_status); }; }; then
92489 eval "$as_ac_var=yes"
92490 else
92491 echo "$as_me: failed program was:" >&5
92492 sed 's/^/| /' conftest.$ac_ext >&5
92494 eval "$as_ac_var=no"
92496 rm -f conftest.err conftest.$ac_objext \
92497 conftest$ac_exeext conftest.$ac_ext
92499 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92500 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92501 if test `eval echo '${'$as_ac_var'}'` = yes; then
92502 cat >>confdefs.h <<_ACEOF
92503 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92504 _ACEOF
92506 else
92507 ac_wfuncs=no
92509 done
92512 # Checks for wide character functions that are not required
92513 # for basic wchar_t support. Don't disable support if they are missing.
92514 # Injection of these is wrapped with guard macros.
92520 for ac_func in vfwscanf vswscanf vwscanf wcstof iswblank
92522 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92523 echo "$as_me:$LINENO: checking for $ac_func" >&5
92524 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92525 if eval "test \"\${$as_ac_var+set}\" = set"; then
92526 echo $ECHO_N "(cached) $ECHO_C" >&6
92527 else
92528 if test x$gcc_no_link = xyes; then
92529 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92530 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92531 { (exit 1); exit 1; }; }
92533 cat >conftest.$ac_ext <<_ACEOF
92534 /* confdefs.h. */
92535 _ACEOF
92536 cat confdefs.h >>conftest.$ac_ext
92537 cat >>conftest.$ac_ext <<_ACEOF
92538 /* end confdefs.h. */
92539 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92540 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92541 #define $ac_func innocuous_$ac_func
92543 /* System header to define __stub macros and hopefully few prototypes,
92544 which can conflict with char $ac_func (); below.
92545 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92546 <limits.h> exists even on freestanding compilers. */
92548 #ifdef __STDC__
92549 # include <limits.h>
92550 #else
92551 # include <assert.h>
92552 #endif
92554 #undef $ac_func
92556 /* Override any gcc2 internal prototype to avoid an error. */
92557 #ifdef __cplusplus
92558 extern "C"
92560 #endif
92561 /* We use char because int might match the return type of a gcc2
92562 builtin and then its argument prototype would still apply. */
92563 char $ac_func ();
92564 /* The GNU C library defines this for functions which it implements
92565 to always fail with ENOSYS. Some functions are actually named
92566 something starting with __ and the normal name is an alias. */
92567 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92568 choke me
92569 #else
92570 char (*f) () = $ac_func;
92571 #endif
92572 #ifdef __cplusplus
92574 #endif
92577 main ()
92579 return f != $ac_func;
92581 return 0;
92583 _ACEOF
92584 rm -f conftest.$ac_objext conftest$ac_exeext
92585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92586 (eval $ac_link) 2>conftest.er1
92587 ac_status=$?
92588 grep -v '^ *+' conftest.er1 >conftest.err
92589 rm -f conftest.er1
92590 cat conftest.err >&5
92591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92592 (exit $ac_status); } &&
92593 { ac_try='test -z "$ac_c_werror_flag"
92594 || test ! -s conftest.err'
92595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92596 (eval $ac_try) 2>&5
92597 ac_status=$?
92598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92599 (exit $ac_status); }; } &&
92600 { ac_try='test -s conftest$ac_exeext'
92601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92602 (eval $ac_try) 2>&5
92603 ac_status=$?
92604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92605 (exit $ac_status); }; }; then
92606 eval "$as_ac_var=yes"
92607 else
92608 echo "$as_me: failed program was:" >&5
92609 sed 's/^/| /' conftest.$ac_ext >&5
92611 eval "$as_ac_var=no"
92613 rm -f conftest.err conftest.$ac_objext \
92614 conftest$ac_exeext conftest.$ac_ext
92616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92617 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92618 if test `eval echo '${'$as_ac_var'}'` = yes; then
92619 cat >>confdefs.h <<_ACEOF
92620 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92621 _ACEOF
92624 done
92627 echo "$as_me:$LINENO: checking for ISO C99 wchar_t support" >&5
92628 echo $ECHO_N "checking for ISO C99 wchar_t support... $ECHO_C" >&6
92629 if test x"$has_weof" = xyes &&
92630 test x"$has_wchar_minmax" = xyes &&
92631 test x"$ac_wfuncs" = xyes;
92632 then
92633 ac_isoC99_wchar_t=yes
92634 else
92635 ac_isoC99_wchar_t=no
92637 echo "$as_me:$LINENO: result: $ac_isoC99_wchar_t" >&5
92638 echo "${ECHO_T}$ac_isoC99_wchar_t" >&6
92640 # Use iconv for wchar_t to char conversions. As such, check for
92641 # X/Open Portability Guide, version 2 features (XPG2).
92642 if test "${ac_cv_header_iconv_h+set}" = set; then
92643 echo "$as_me:$LINENO: checking for iconv.h" >&5
92644 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
92645 if test "${ac_cv_header_iconv_h+set}" = set; then
92646 echo $ECHO_N "(cached) $ECHO_C" >&6
92648 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
92649 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
92650 else
92651 # Is the header compilable?
92652 echo "$as_me:$LINENO: checking iconv.h usability" >&5
92653 echo $ECHO_N "checking iconv.h usability... $ECHO_C" >&6
92654 cat >conftest.$ac_ext <<_ACEOF
92655 /* confdefs.h. */
92656 _ACEOF
92657 cat confdefs.h >>conftest.$ac_ext
92658 cat >>conftest.$ac_ext <<_ACEOF
92659 /* end confdefs.h. */
92660 $ac_includes_default
92661 #include <iconv.h>
92662 _ACEOF
92663 rm -f conftest.$ac_objext
92664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92665 (eval $ac_compile) 2>conftest.er1
92666 ac_status=$?
92667 grep -v '^ *+' conftest.er1 >conftest.err
92668 rm -f conftest.er1
92669 cat conftest.err >&5
92670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92671 (exit $ac_status); } &&
92672 { ac_try='test -z "$ac_c_werror_flag"
92673 || test ! -s conftest.err'
92674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92675 (eval $ac_try) 2>&5
92676 ac_status=$?
92677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92678 (exit $ac_status); }; } &&
92679 { ac_try='test -s conftest.$ac_objext'
92680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92681 (eval $ac_try) 2>&5
92682 ac_status=$?
92683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92684 (exit $ac_status); }; }; then
92685 ac_header_compiler=yes
92686 else
92687 echo "$as_me: failed program was:" >&5
92688 sed 's/^/| /' conftest.$ac_ext >&5
92690 ac_header_compiler=no
92692 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92693 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
92694 echo "${ECHO_T}$ac_header_compiler" >&6
92696 # Is the header present?
92697 echo "$as_me:$LINENO: checking iconv.h presence" >&5
92698 echo $ECHO_N "checking iconv.h presence... $ECHO_C" >&6
92699 cat >conftest.$ac_ext <<_ACEOF
92700 /* confdefs.h. */
92701 _ACEOF
92702 cat confdefs.h >>conftest.$ac_ext
92703 cat >>conftest.$ac_ext <<_ACEOF
92704 /* end confdefs.h. */
92705 #include <iconv.h>
92706 _ACEOF
92707 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
92708 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
92709 ac_status=$?
92710 grep -v '^ *+' conftest.er1 >conftest.err
92711 rm -f conftest.er1
92712 cat conftest.err >&5
92713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92714 (exit $ac_status); } >/dev/null; then
92715 if test -s conftest.err; then
92716 ac_cpp_err=$ac_c_preproc_warn_flag
92717 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
92718 else
92719 ac_cpp_err=
92721 else
92722 ac_cpp_err=yes
92724 if test -z "$ac_cpp_err"; then
92725 ac_header_preproc=yes
92726 else
92727 echo "$as_me: failed program was:" >&5
92728 sed 's/^/| /' conftest.$ac_ext >&5
92730 ac_header_preproc=no
92732 rm -f conftest.err conftest.$ac_ext
92733 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
92734 echo "${ECHO_T}$ac_header_preproc" >&6
92736 # So? What about this header?
92737 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
92738 yes:no: )
92739 { echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
92740 echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
92741 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
92742 echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
92743 ac_header_preproc=yes
92745 no:yes:* )
92746 { echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
92747 echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
92748 { echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
92749 echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
92750 { echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
92751 echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
92752 { echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
92753 echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
92754 { echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
92755 echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
92756 { echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
92757 echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
92759 cat <<\_ASBOX
92760 ## ----------------------------------------- ##
92761 ## Report this to the package-unused lists. ##
92762 ## ----------------------------------------- ##
92763 _ASBOX
92765 sed "s/^/$as_me: WARNING: /" >&2
92767 esac
92768 echo "$as_me:$LINENO: checking for iconv.h" >&5
92769 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
92770 if test "${ac_cv_header_iconv_h+set}" = set; then
92771 echo $ECHO_N "(cached) $ECHO_C" >&6
92772 else
92773 ac_cv_header_iconv_h=$ac_header_preproc
92775 echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
92776 echo "${ECHO_T}$ac_cv_header_iconv_h" >&6
92779 if test $ac_cv_header_iconv_h = yes; then
92780 ac_has_iconv_h=yes
92781 else
92782 ac_has_iconv_h=no
92786 if test "${ac_cv_header_langinfo_h+set}" = set; then
92787 echo "$as_me:$LINENO: checking for langinfo.h" >&5
92788 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
92789 if test "${ac_cv_header_langinfo_h+set}" = set; then
92790 echo $ECHO_N "(cached) $ECHO_C" >&6
92792 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
92793 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
92794 else
92795 # Is the header compilable?
92796 echo "$as_me:$LINENO: checking langinfo.h usability" >&5
92797 echo $ECHO_N "checking langinfo.h usability... $ECHO_C" >&6
92798 cat >conftest.$ac_ext <<_ACEOF
92799 /* confdefs.h. */
92800 _ACEOF
92801 cat confdefs.h >>conftest.$ac_ext
92802 cat >>conftest.$ac_ext <<_ACEOF
92803 /* end confdefs.h. */
92804 $ac_includes_default
92805 #include <langinfo.h>
92806 _ACEOF
92807 rm -f conftest.$ac_objext
92808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92809 (eval $ac_compile) 2>conftest.er1
92810 ac_status=$?
92811 grep -v '^ *+' conftest.er1 >conftest.err
92812 rm -f conftest.er1
92813 cat conftest.err >&5
92814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92815 (exit $ac_status); } &&
92816 { ac_try='test -z "$ac_c_werror_flag"
92817 || test ! -s conftest.err'
92818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92819 (eval $ac_try) 2>&5
92820 ac_status=$?
92821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92822 (exit $ac_status); }; } &&
92823 { ac_try='test -s conftest.$ac_objext'
92824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92825 (eval $ac_try) 2>&5
92826 ac_status=$?
92827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92828 (exit $ac_status); }; }; then
92829 ac_header_compiler=yes
92830 else
92831 echo "$as_me: failed program was:" >&5
92832 sed 's/^/| /' conftest.$ac_ext >&5
92834 ac_header_compiler=no
92836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92837 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
92838 echo "${ECHO_T}$ac_header_compiler" >&6
92840 # Is the header present?
92841 echo "$as_me:$LINENO: checking langinfo.h presence" >&5
92842 echo $ECHO_N "checking langinfo.h presence... $ECHO_C" >&6
92843 cat >conftest.$ac_ext <<_ACEOF
92844 /* confdefs.h. */
92845 _ACEOF
92846 cat confdefs.h >>conftest.$ac_ext
92847 cat >>conftest.$ac_ext <<_ACEOF
92848 /* end confdefs.h. */
92849 #include <langinfo.h>
92850 _ACEOF
92851 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
92852 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
92853 ac_status=$?
92854 grep -v '^ *+' conftest.er1 >conftest.err
92855 rm -f conftest.er1
92856 cat conftest.err >&5
92857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92858 (exit $ac_status); } >/dev/null; then
92859 if test -s conftest.err; then
92860 ac_cpp_err=$ac_c_preproc_warn_flag
92861 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
92862 else
92863 ac_cpp_err=
92865 else
92866 ac_cpp_err=yes
92868 if test -z "$ac_cpp_err"; then
92869 ac_header_preproc=yes
92870 else
92871 echo "$as_me: failed program was:" >&5
92872 sed 's/^/| /' conftest.$ac_ext >&5
92874 ac_header_preproc=no
92876 rm -f conftest.err conftest.$ac_ext
92877 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
92878 echo "${ECHO_T}$ac_header_preproc" >&6
92880 # So? What about this header?
92881 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
92882 yes:no: )
92883 { echo "$as_me:$LINENO: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&5
92884 echo "$as_me: WARNING: langinfo.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
92885 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the compiler's result" >&5
92886 echo "$as_me: WARNING: langinfo.h: proceeding with the compiler's result" >&2;}
92887 ac_header_preproc=yes
92889 no:yes:* )
92890 { echo "$as_me:$LINENO: WARNING: langinfo.h: present but cannot be compiled" >&5
92891 echo "$as_me: WARNING: langinfo.h: present but cannot be compiled" >&2;}
92892 { echo "$as_me:$LINENO: WARNING: langinfo.h: check for missing prerequisite headers?" >&5
92893 echo "$as_me: WARNING: langinfo.h: check for missing prerequisite headers?" >&2;}
92894 { echo "$as_me:$LINENO: WARNING: langinfo.h: see the Autoconf documentation" >&5
92895 echo "$as_me: WARNING: langinfo.h: see the Autoconf documentation" >&2;}
92896 { echo "$as_me:$LINENO: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&5
92897 echo "$as_me: WARNING: langinfo.h: section \"Present But Cannot Be Compiled\"" >&2;}
92898 { echo "$as_me:$LINENO: WARNING: langinfo.h: proceeding with the preprocessor's result" >&5
92899 echo "$as_me: WARNING: langinfo.h: proceeding with the preprocessor's result" >&2;}
92900 { echo "$as_me:$LINENO: WARNING: langinfo.h: in the future, the compiler will take precedence" >&5
92901 echo "$as_me: WARNING: langinfo.h: in the future, the compiler will take precedence" >&2;}
92903 cat <<\_ASBOX
92904 ## ----------------------------------------- ##
92905 ## Report this to the package-unused lists. ##
92906 ## ----------------------------------------- ##
92907 _ASBOX
92909 sed "s/^/$as_me: WARNING: /" >&2
92911 esac
92912 echo "$as_me:$LINENO: checking for langinfo.h" >&5
92913 echo $ECHO_N "checking for langinfo.h... $ECHO_C" >&6
92914 if test "${ac_cv_header_langinfo_h+set}" = set; then
92915 echo $ECHO_N "(cached) $ECHO_C" >&6
92916 else
92917 ac_cv_header_langinfo_h=$ac_header_preproc
92919 echo "$as_me:$LINENO: result: $ac_cv_header_langinfo_h" >&5
92920 echo "${ECHO_T}$ac_cv_header_langinfo_h" >&6
92923 if test $ac_cv_header_langinfo_h = yes; then
92924 ac_has_langinfo_h=yes
92925 else
92926 ac_has_langinfo_h=no
92931 # Check for existence of libiconv.a providing XPG2 wchar_t support.
92932 echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
92933 echo $ECHO_N "checking for iconv in -liconv... $ECHO_C" >&6
92934 if test "${ac_cv_lib_iconv_iconv+set}" = set; then
92935 echo $ECHO_N "(cached) $ECHO_C" >&6
92936 else
92937 ac_check_lib_save_LIBS=$LIBS
92938 LIBS="-liconv $LIBS"
92939 if test x$gcc_no_link = xyes; then
92940 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92941 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92942 { (exit 1); exit 1; }; }
92944 cat >conftest.$ac_ext <<_ACEOF
92945 /* confdefs.h. */
92946 _ACEOF
92947 cat confdefs.h >>conftest.$ac_ext
92948 cat >>conftest.$ac_ext <<_ACEOF
92949 /* end confdefs.h. */
92951 /* Override any gcc2 internal prototype to avoid an error. */
92952 #ifdef __cplusplus
92953 extern "C"
92954 #endif
92955 /* We use char because int might match the return type of a gcc2
92956 builtin and then its argument prototype would still apply. */
92957 char iconv ();
92959 main ()
92961 iconv ();
92963 return 0;
92965 _ACEOF
92966 rm -f conftest.$ac_objext conftest$ac_exeext
92967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92968 (eval $ac_link) 2>conftest.er1
92969 ac_status=$?
92970 grep -v '^ *+' conftest.er1 >conftest.err
92971 rm -f conftest.er1
92972 cat conftest.err >&5
92973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92974 (exit $ac_status); } &&
92975 { ac_try='test -z "$ac_c_werror_flag"
92976 || test ! -s conftest.err'
92977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92978 (eval $ac_try) 2>&5
92979 ac_status=$?
92980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92981 (exit $ac_status); }; } &&
92982 { ac_try='test -s conftest$ac_exeext'
92983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92984 (eval $ac_try) 2>&5
92985 ac_status=$?
92986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92987 (exit $ac_status); }; }; then
92988 ac_cv_lib_iconv_iconv=yes
92989 else
92990 echo "$as_me: failed program was:" >&5
92991 sed 's/^/| /' conftest.$ac_ext >&5
92993 ac_cv_lib_iconv_iconv=no
92995 rm -f conftest.err conftest.$ac_objext \
92996 conftest$ac_exeext conftest.$ac_ext
92997 LIBS=$ac_check_lib_save_LIBS
92999 echo "$as_me:$LINENO: result: $ac_cv_lib_iconv_iconv" >&5
93000 echo "${ECHO_T}$ac_cv_lib_iconv_iconv" >&6
93001 if test $ac_cv_lib_iconv_iconv = yes; then
93002 LIBICONV="-liconv"
93005 ac_save_LIBS="$LIBS"
93006 LIBS="$LIBS $LIBICONV"
93013 for ac_func in iconv_open iconv_close iconv nl_langinfo
93015 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93016 echo "$as_me:$LINENO: checking for $ac_func" >&5
93017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93018 if eval "test \"\${$as_ac_var+set}\" = set"; then
93019 echo $ECHO_N "(cached) $ECHO_C" >&6
93020 else
93021 if test x$gcc_no_link = xyes; then
93022 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93023 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93024 { (exit 1); exit 1; }; }
93026 cat >conftest.$ac_ext <<_ACEOF
93027 /* confdefs.h. */
93028 _ACEOF
93029 cat confdefs.h >>conftest.$ac_ext
93030 cat >>conftest.$ac_ext <<_ACEOF
93031 /* end confdefs.h. */
93032 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93033 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93034 #define $ac_func innocuous_$ac_func
93036 /* System header to define __stub macros and hopefully few prototypes,
93037 which can conflict with char $ac_func (); below.
93038 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93039 <limits.h> exists even on freestanding compilers. */
93041 #ifdef __STDC__
93042 # include <limits.h>
93043 #else
93044 # include <assert.h>
93045 #endif
93047 #undef $ac_func
93049 /* Override any gcc2 internal prototype to avoid an error. */
93050 #ifdef __cplusplus
93051 extern "C"
93053 #endif
93054 /* We use char because int might match the return type of a gcc2
93055 builtin and then its argument prototype would still apply. */
93056 char $ac_func ();
93057 /* The GNU C library defines this for functions which it implements
93058 to always fail with ENOSYS. Some functions are actually named
93059 something starting with __ and the normal name is an alias. */
93060 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93061 choke me
93062 #else
93063 char (*f) () = $ac_func;
93064 #endif
93065 #ifdef __cplusplus
93067 #endif
93070 main ()
93072 return f != $ac_func;
93074 return 0;
93076 _ACEOF
93077 rm -f conftest.$ac_objext conftest$ac_exeext
93078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93079 (eval $ac_link) 2>conftest.er1
93080 ac_status=$?
93081 grep -v '^ *+' conftest.er1 >conftest.err
93082 rm -f conftest.er1
93083 cat conftest.err >&5
93084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93085 (exit $ac_status); } &&
93086 { ac_try='test -z "$ac_c_werror_flag"
93087 || test ! -s conftest.err'
93088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93089 (eval $ac_try) 2>&5
93090 ac_status=$?
93091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93092 (exit $ac_status); }; } &&
93093 { ac_try='test -s conftest$ac_exeext'
93094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93095 (eval $ac_try) 2>&5
93096 ac_status=$?
93097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93098 (exit $ac_status); }; }; then
93099 eval "$as_ac_var=yes"
93100 else
93101 echo "$as_me: failed program was:" >&5
93102 sed 's/^/| /' conftest.$ac_ext >&5
93104 eval "$as_ac_var=no"
93106 rm -f conftest.err conftest.$ac_objext \
93107 conftest$ac_exeext conftest.$ac_ext
93109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93110 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93111 if test `eval echo '${'$as_ac_var'}'` = yes; then
93112 cat >>confdefs.h <<_ACEOF
93113 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93114 _ACEOF
93115 ac_XPG2funcs=yes
93116 else
93117 ac_XPG2funcs=no
93119 done
93122 LIBS="$ac_save_LIBS"
93124 echo "$as_me:$LINENO: checking for XPG2 wchar_t support" >&5
93125 echo $ECHO_N "checking for XPG2 wchar_t support... $ECHO_C" >&6
93126 if test x"$ac_has_iconv_h" = xyes &&
93127 test x"$ac_has_langinfo_h" = xyes &&
93128 test x"$ac_XPG2funcs" = xyes;
93129 then
93130 ac_XPG2_wchar_t=yes
93131 else
93132 ac_XPG2_wchar_t=no
93134 echo "$as_me:$LINENO: result: $ac_XPG2_wchar_t" >&5
93135 echo "${ECHO_T}$ac_XPG2_wchar_t" >&6
93137 # At the moment, only enable wchar_t specializations if all the
93138 # above support is present.
93139 if test x"$ac_isoC99_wchar_t" = xyes &&
93140 test x"$ac_XPG2_wchar_t" = xyes;
93141 then
93142 cat >>confdefs.h <<\_ACEOF
93143 #define _GLIBCXX_USE_WCHAR_T 1
93144 _ACEOF
93146 enable_wchar_t=yes
93149 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
93150 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
93151 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
93152 echo "${ECHO_T}$enable_wchar_t" >&6
93154 cat >>confdefs.h <<\_ACEOF
93155 #define HAVE_COPYSIGN 1
93156 _ACEOF
93158 cat >>confdefs.h <<\_ACEOF
93159 #define HAVE_COPYSIGNF 1
93160 _ACEOF
93162 cat >>confdefs.h <<\_ACEOF
93163 #define HAVE_FINITE 1
93164 _ACEOF
93166 cat >>confdefs.h <<\_ACEOF
93167 #define HAVE_FINITEF 1
93168 _ACEOF
93170 cat >>confdefs.h <<\_ACEOF
93171 #define HAVE_FREXPF 1
93172 _ACEOF
93174 cat >>confdefs.h <<\_ACEOF
93175 #define HAVE_HYPOTF 1
93176 _ACEOF
93178 cat >>confdefs.h <<\_ACEOF
93179 #define HAVE_ISINF 1
93180 _ACEOF
93182 cat >>confdefs.h <<\_ACEOF
93183 #define HAVE_ISINFF 1
93184 _ACEOF
93186 cat >>confdefs.h <<\_ACEOF
93187 #define HAVE_ISNAN 1
93188 _ACEOF
93190 cat >>confdefs.h <<\_ACEOF
93191 #define HAVE_ISNANF 1
93192 _ACEOF
93194 cat >>confdefs.h <<\_ACEOF
93195 #define HAVE_SINCOS 1
93196 _ACEOF
93198 cat >>confdefs.h <<\_ACEOF
93199 #define HAVE_SINCOSF 1
93200 _ACEOF
93202 if test x"long_double_math_on_this_cpu" = x"yes"; then
93203 cat >>confdefs.h <<\_ACEOF
93204 #define HAVE_FINITEL 1
93205 _ACEOF
93207 cat >>confdefs.h <<\_ACEOF
93208 #define HAVE_HYPOTL 1
93209 _ACEOF
93211 cat >>confdefs.h <<\_ACEOF
93212 #define HAVE_ISINFL 1
93213 _ACEOF
93215 cat >>confdefs.h <<\_ACEOF
93216 #define HAVE_ISNANL 1
93217 _ACEOF
93221 *-vxworks)
93222 cat >>confdefs.h <<\_ACEOF
93223 #define HAVE_MMAP 1
93224 _ACEOF
93226 cat >>confdefs.h <<\_ACEOF
93227 #define HAVE_ACOSF 1
93228 _ACEOF
93230 cat >>confdefs.h <<\_ACEOF
93231 #define HAVE_ASINF 1
93232 _ACEOF
93234 cat >>confdefs.h <<\_ACEOF
93235 #define HAVE_ATAN2F 1
93236 _ACEOF
93238 cat >>confdefs.h <<\_ACEOF
93239 #define HAVE_ATANF 1
93240 _ACEOF
93242 cat >>confdefs.h <<\_ACEOF
93243 #define HAVE_CEILF 1
93244 _ACEOF
93246 cat >>confdefs.h <<\_ACEOF
93247 #define HAVE_COSF 1
93248 _ACEOF
93250 cat >>confdefs.h <<\_ACEOF
93251 #define HAVE_COSHF 1
93252 _ACEOF
93254 cat >>confdefs.h <<\_ACEOF
93255 #define HAVE_EXPF 1
93256 _ACEOF
93258 cat >>confdefs.h <<\_ACEOF
93259 #define HAVE_FABSF 1
93260 _ACEOF
93262 cat >>confdefs.h <<\_ACEOF
93263 #define HAVE_FLOORF 1
93264 _ACEOF
93266 cat >>confdefs.h <<\_ACEOF
93267 #define HAVE_FMODF 1
93268 _ACEOF
93270 cat >>confdefs.h <<\_ACEOF
93271 #define HAVE_HYPOT 1
93272 _ACEOF
93274 cat >>confdefs.h <<\_ACEOF
93275 #define HAVE_LOG10F 1
93276 _ACEOF
93278 cat >>confdefs.h <<\_ACEOF
93279 #define HAVE_LOGF 1
93280 _ACEOF
93282 cat >>confdefs.h <<\_ACEOF
93283 #define HAVE_POWF 1
93284 _ACEOF
93286 cat >>confdefs.h <<\_ACEOF
93287 #define HAVE_SINF 1
93288 _ACEOF
93290 cat >>confdefs.h <<\_ACEOF
93291 #define HAVE_SINHF 1
93292 _ACEOF
93294 cat >>confdefs.h <<\_ACEOF
93295 #define HAVE_SQRTF 1
93296 _ACEOF
93298 cat >>confdefs.h <<\_ACEOF
93299 #define HAVE_TANF 1
93300 _ACEOF
93302 cat >>confdefs.h <<\_ACEOF
93303 #define HAVE_TANHF 1
93304 _ACEOF
93307 *-windiss*)
93308 cat >>confdefs.h <<\_ACEOF
93309 #define HAVE_ACOSF 1
93310 _ACEOF
93312 cat >>confdefs.h <<\_ACEOF
93313 #define HAVE_ACOSL 1
93314 _ACEOF
93316 cat >>confdefs.h <<\_ACEOF
93317 #define HAVE_ASINF 1
93318 _ACEOF
93320 cat >>confdefs.h <<\_ACEOF
93321 #define HAVE_ASINL 1
93322 _ACEOF
93324 cat >>confdefs.h <<\_ACEOF
93325 #define HAVE_ATAN2F 1
93326 _ACEOF
93328 cat >>confdefs.h <<\_ACEOF
93329 #define HAVE_ATAN2L 1
93330 _ACEOF
93332 cat >>confdefs.h <<\_ACEOF
93333 #define HAVE_ATANF 1
93334 _ACEOF
93336 cat >>confdefs.h <<\_ACEOF
93337 #define HAVE_ATANL 1
93338 _ACEOF
93340 cat >>confdefs.h <<\_ACEOF
93341 #define HAVE_CEILF 1
93342 _ACEOF
93344 cat >>confdefs.h <<\_ACEOF
93345 #define HAVE_CEILL 1
93346 _ACEOF
93348 cat >>confdefs.h <<\_ACEOF
93349 #define HAVE_COPYSIGN 1
93350 _ACEOF
93352 cat >>confdefs.h <<\_ACEOF
93353 #define HAVE_COPYSIGNF 1
93354 _ACEOF
93356 cat >>confdefs.h <<\_ACEOF
93357 #define HAVE_COSF 1
93358 _ACEOF
93360 cat >>confdefs.h <<\_ACEOF
93361 #define HAVE_COSL 1
93362 _ACEOF
93364 cat >>confdefs.h <<\_ACEOF
93365 #define HAVE_COSHF 1
93366 _ACEOF
93368 cat >>confdefs.h <<\_ACEOF
93369 #define HAVE_COSHL 1
93370 _ACEOF
93372 cat >>confdefs.h <<\_ACEOF
93373 #define HAVE_EXPF 1
93374 _ACEOF
93376 cat >>confdefs.h <<\_ACEOF
93377 #define HAVE_EXPL 1
93378 _ACEOF
93380 cat >>confdefs.h <<\_ACEOF
93381 #define HAVE_FABSF 1
93382 _ACEOF
93384 cat >>confdefs.h <<\_ACEOF
93385 #define HAVE_FABSL 1
93386 _ACEOF
93388 cat >>confdefs.h <<\_ACEOF
93389 #define HAVE_FLOORF 1
93390 _ACEOF
93392 cat >>confdefs.h <<\_ACEOF
93393 #define HAVE_FLOORL 1
93394 _ACEOF
93396 cat >>confdefs.h <<\_ACEOF
93397 #define HAVE_FMODF 1
93398 _ACEOF
93400 cat >>confdefs.h <<\_ACEOF
93401 #define HAVE_FMODL 1
93402 _ACEOF
93404 cat >>confdefs.h <<\_ACEOF
93405 #define HAVE_FREXPF 1
93406 _ACEOF
93408 cat >>confdefs.h <<\_ACEOF
93409 #define HAVE_FREXPL 1
93410 _ACEOF
93412 cat >>confdefs.h <<\_ACEOF
93413 #define HAVE_LDEXPF 1
93414 _ACEOF
93416 cat >>confdefs.h <<\_ACEOF
93417 #define HAVE_LDEXPL 1
93418 _ACEOF
93420 cat >>confdefs.h <<\_ACEOF
93421 #define HAVE_LOG10F 1
93422 _ACEOF
93424 cat >>confdefs.h <<\_ACEOF
93425 #define HAVE_LOG10L 1
93426 _ACEOF
93428 cat >>confdefs.h <<\_ACEOF
93429 #define HAVE_LOGF 1
93430 _ACEOF
93432 cat >>confdefs.h <<\_ACEOF
93433 #define HAVE_MODFF 1
93434 _ACEOF
93436 cat >>confdefs.h <<\_ACEOF
93437 #define HAVE_MODFL 1
93438 _ACEOF
93440 cat >>confdefs.h <<\_ACEOF
93441 #define HAVE_POWF 1
93442 _ACEOF
93444 cat >>confdefs.h <<\_ACEOF
93445 #define HAVE_POWL 1
93446 _ACEOF
93448 cat >>confdefs.h <<\_ACEOF
93449 #define HAVE_SINF 1
93450 _ACEOF
93452 cat >>confdefs.h <<\_ACEOF
93453 #define HAVE_SINL 1
93454 _ACEOF
93456 cat >>confdefs.h <<\_ACEOF
93457 #define HAVE_SINHF 1
93458 _ACEOF
93460 cat >>confdefs.h <<\_ACEOF
93461 #define HAVE_SINHL 1
93462 _ACEOF
93464 cat >>confdefs.h <<\_ACEOF
93465 #define HAVE_SQRTF 1
93466 _ACEOF
93468 cat >>confdefs.h <<\_ACEOF
93469 #define HAVE_SQRTL 1
93470 _ACEOF
93472 cat >>confdefs.h <<\_ACEOF
93473 #define HAVE_TANF 1
93474 _ACEOF
93476 cat >>confdefs.h <<\_ACEOF
93477 #define HAVE_TANL 1
93478 _ACEOF
93480 cat >>confdefs.h <<\_ACEOF
93481 #define HAVE_TANHF 1
93482 _ACEOF
93484 cat >>confdefs.h <<\_ACEOF
93485 #define HAVE_TANHL 1
93486 _ACEOF
93490 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
93491 echo "$as_me: error: No support for this host/target combination." >&2;}
93492 { (exit 1); exit 1; }; }
93494 esac
93499 # At some point, we should differentiate between architectures
93500 # like x86, which have long double versions, and alpha/powerpc/etc.,
93501 # which don't. For the time being, punt.
93502 if test x"long_double_math_on_this_cpu" = x"yes"; then
93503 cat >>confdefs.h <<\_ACEOF
93504 #define HAVE_ACOSL 1
93505 _ACEOF
93507 cat >>confdefs.h <<\_ACEOF
93508 #define HAVE_ASINL 1
93509 _ACEOF
93511 cat >>confdefs.h <<\_ACEOF
93512 #define HAVE_ATAN2L 1
93513 _ACEOF
93515 cat >>confdefs.h <<\_ACEOF
93516 #define HAVE_ATANL 1
93517 _ACEOF
93519 cat >>confdefs.h <<\_ACEOF
93520 #define HAVE_CEILL 1
93521 _ACEOF
93523 cat >>confdefs.h <<\_ACEOF
93524 #define HAVE_COPYSIGNL 1
93525 _ACEOF
93527 cat >>confdefs.h <<\_ACEOF
93528 #define HAVE_COSL 1
93529 _ACEOF
93531 cat >>confdefs.h <<\_ACEOF
93532 #define HAVE_COSHL 1
93533 _ACEOF
93535 cat >>confdefs.h <<\_ACEOF
93536 #define HAVE_EXPL 1
93537 _ACEOF
93539 cat >>confdefs.h <<\_ACEOF
93540 #define HAVE_FABSL 1
93541 _ACEOF
93543 cat >>confdefs.h <<\_ACEOF
93544 #define HAVE_FLOORL 1
93545 _ACEOF
93547 cat >>confdefs.h <<\_ACEOF
93548 #define HAVE_FMODL 1
93549 _ACEOF
93551 cat >>confdefs.h <<\_ACEOF
93552 #define HAVE_FREXPL 1
93553 _ACEOF
93555 cat >>confdefs.h <<\_ACEOF
93556 #define HAVE_LDEXPL 1
93557 _ACEOF
93559 cat >>confdefs.h <<\_ACEOF
93560 #define HAVE_LOG10L 1
93561 _ACEOF
93563 cat >>confdefs.h <<\_ACEOF
93564 #define HAVE_LOGL 1
93565 _ACEOF
93567 cat >>confdefs.h <<\_ACEOF
93568 #define HAVE_MODFL 1
93569 _ACEOF
93571 cat >>confdefs.h <<\_ACEOF
93572 #define HAVE_POWL 1
93573 _ACEOF
93575 cat >>confdefs.h <<\_ACEOF
93576 #define HAVE_SINCOSL 1
93577 _ACEOF
93579 cat >>confdefs.h <<\_ACEOF
93580 #define HAVE_SINL 1
93581 _ACEOF
93583 cat >>confdefs.h <<\_ACEOF
93584 #define HAVE_SINHL 1
93585 _ACEOF
93587 cat >>confdefs.h <<\_ACEOF
93588 #define HAVE_SQRTL 1
93589 _ACEOF
93591 cat >>confdefs.h <<\_ACEOF
93592 #define HAVE_TANL 1
93593 _ACEOF
93595 cat >>confdefs.h <<\_ACEOF
93596 #define HAVE_TANHL 1
93597 _ACEOF
93603 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
93606 # Check whether --enable-symvers or --disable-symvers was given.
93607 if test "${enable_symvers+set}" = set; then
93608 enableval="$enable_symvers"
93610 case "$enableval" in
93611 yes|no|gnu) ;;
93612 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
93613 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
93614 { (exit 1); exit 1; }; } ;;
93615 esac
93617 else
93618 enable_symvers=yes
93622 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
93623 # don't know enough about $LD to do tricks...
93625 # FIXME The following test is too strict, in theory.
93626 if test $enable_shared = no ||
93627 test "x$LD" = x ||
93628 test x$glibcxx_gnu_ld_version = x; then
93629 enable_symvers=no
93632 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
93633 if test $enable_symvers != no; then
93634 echo "$as_me:$LINENO: checking for shared libgcc" >&5
93635 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
93636 ac_save_CFLAGS="$CFLAGS"
93637 CFLAGS=' -lgcc_s'
93638 if test x$gcc_no_link = xyes; then
93639 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93640 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93641 { (exit 1); exit 1; }; }
93643 cat >conftest.$ac_ext <<_ACEOF
93644 /* confdefs.h. */
93645 _ACEOF
93646 cat confdefs.h >>conftest.$ac_ext
93647 cat >>conftest.$ac_ext <<_ACEOF
93648 /* end confdefs.h. */
93651 main ()
93653 return 0;
93655 return 0;
93657 _ACEOF
93658 rm -f conftest.$ac_objext conftest$ac_exeext
93659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93660 (eval $ac_link) 2>conftest.er1
93661 ac_status=$?
93662 grep -v '^ *+' conftest.er1 >conftest.err
93663 rm -f conftest.er1
93664 cat conftest.err >&5
93665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93666 (exit $ac_status); } &&
93667 { ac_try='test -z "$ac_c_werror_flag"
93668 || test ! -s conftest.err'
93669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93670 (eval $ac_try) 2>&5
93671 ac_status=$?
93672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93673 (exit $ac_status); }; } &&
93674 { ac_try='test -s conftest$ac_exeext'
93675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93676 (eval $ac_try) 2>&5
93677 ac_status=$?
93678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93679 (exit $ac_status); }; }; then
93680 glibcxx_shared_libgcc=yes
93681 else
93682 echo "$as_me: failed program was:" >&5
93683 sed 's/^/| /' conftest.$ac_ext >&5
93685 glibcxx_shared_libgcc=no
93687 rm -f conftest.err conftest.$ac_objext \
93688 conftest$ac_exeext conftest.$ac_ext
93689 CFLAGS="$ac_save_CFLAGS"
93690 if test $glibcxx_shared_libgcc = no; then
93691 cat > conftest.c <<EOF
93692 int main (void) { return 0; }
93694 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
93695 -shared -shared-libgcc -o conftest.so \
93696 conftest.c -v 2>&1 >/dev/null \
93697 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
93698 rm -f conftest.c conftest.so
93699 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
93700 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
93701 if test x$gcc_no_link = xyes; then
93702 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93703 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93704 { (exit 1); exit 1; }; }
93706 cat >conftest.$ac_ext <<_ACEOF
93707 /* confdefs.h. */
93708 _ACEOF
93709 cat confdefs.h >>conftest.$ac_ext
93710 cat >>conftest.$ac_ext <<_ACEOF
93711 /* end confdefs.h. */
93714 main ()
93716 return 0;
93718 return 0;
93720 _ACEOF
93721 rm -f conftest.$ac_objext conftest$ac_exeext
93722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93723 (eval $ac_link) 2>conftest.er1
93724 ac_status=$?
93725 grep -v '^ *+' conftest.er1 >conftest.err
93726 rm -f conftest.er1
93727 cat conftest.err >&5
93728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93729 (exit $ac_status); } &&
93730 { ac_try='test -z "$ac_c_werror_flag"
93731 || test ! -s conftest.err'
93732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93733 (eval $ac_try) 2>&5
93734 ac_status=$?
93735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93736 (exit $ac_status); }; } &&
93737 { ac_try='test -s conftest$ac_exeext'
93738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93739 (eval $ac_try) 2>&5
93740 ac_status=$?
93741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93742 (exit $ac_status); }; }; then
93743 glibcxx_shared_libgcc=yes
93744 else
93745 echo "$as_me: failed program was:" >&5
93746 sed 's/^/| /' conftest.$ac_ext >&5
93749 rm -f conftest.err conftest.$ac_objext \
93750 conftest$ac_exeext conftest.$ac_ext
93751 CFLAGS="$ac_save_CFLAGS"
93754 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
93755 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
93758 # For GNU ld, we need at least this version. The format is described in
93759 # GLIBCXX_CHECK_LINKER_FEATURES above.
93760 glibcxx_min_gnu_ld_version=21400
93761 # XXXXXXXXXXX glibcxx_gnu_ld_version=21390
93763 # Check to see if unspecified "yes" value can win, given results above.
93764 # Change "yes" into either "no" or a style name.
93765 if test $enable_symvers = yes; then
93766 if test $with_gnu_ld = yes &&
93767 test $glibcxx_shared_libgcc = yes;
93768 then
93769 if test $glibcxx_gnu_ld_version -ge $glibcxx_min_gnu_ld_version ; then
93770 enable_symvers=gnu
93771 else
93772 # The right tools, the right setup, but too old. Fallbacks?
93773 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
93774 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
93775 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
93776 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
93777 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
93778 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
93779 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
93780 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
93781 if test $glibcxx_gnu_ld_version -ge 21200 ; then
93782 # Globbing fix is present, proper block support is not.
93783 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
93784 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
93785 enable_symvers=no
93786 else
93787 # 2.11 or older.
93788 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
93789 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
93790 enable_symvers=no
93793 else
93794 # just fail for now
93795 { echo "$as_me:$LINENO: WARNING: === You have requested some kind of symbol versioning, but" >&5
93796 echo "$as_me: WARNING: === You have requested some kind of symbol versioning, but" >&2;}
93797 { echo "$as_me:$LINENO: WARNING: === either you are not using a supported linker, or you are" >&5
93798 echo "$as_me: WARNING: === either you are not using a supported linker, or you are" >&2;}
93799 { echo "$as_me:$LINENO: WARNING: === not building a shared libgcc_s (which is required)." >&5
93800 echo "$as_me: WARNING: === not building a shared libgcc_s (which is required)." >&2;}
93801 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
93802 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
93803 enable_symvers=no
93807 # Everything parsed; figure out what file to use.
93808 case $enable_symvers in
93810 SYMVER_MAP=config/linker-map.dummy
93812 gnu)
93813 SYMVER_MAP=config/linker-map.gnu
93814 cat >>confdefs.h <<\_ACEOF
93815 #define _GLIBCXX_SYMVER 1
93816 _ACEOF
93819 esac
93824 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
93825 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
93828 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
93830 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes; then
93831 # Do checks for resource limit functions.
93833 setrlimit_have_headers=yes
93837 for ac_header in unistd.h sys/time.h sys/resource.h
93839 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
93840 if eval "test \"\${$as_ac_Header+set}\" = set"; then
93841 echo "$as_me:$LINENO: checking for $ac_header" >&5
93842 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
93843 if eval "test \"\${$as_ac_Header+set}\" = set"; then
93844 echo $ECHO_N "(cached) $ECHO_C" >&6
93846 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
93847 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
93848 else
93849 # Is the header compilable?
93850 echo "$as_me:$LINENO: checking $ac_header usability" >&5
93851 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
93852 cat >conftest.$ac_ext <<_ACEOF
93853 /* confdefs.h. */
93854 _ACEOF
93855 cat confdefs.h >>conftest.$ac_ext
93856 cat >>conftest.$ac_ext <<_ACEOF
93857 /* end confdefs.h. */
93858 $ac_includes_default
93859 #include <$ac_header>
93860 _ACEOF
93861 rm -f conftest.$ac_objext
93862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93863 (eval $ac_compile) 2>conftest.er1
93864 ac_status=$?
93865 grep -v '^ *+' conftest.er1 >conftest.err
93866 rm -f conftest.er1
93867 cat conftest.err >&5
93868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93869 (exit $ac_status); } &&
93870 { ac_try='test -z "$ac_c_werror_flag"
93871 || test ! -s conftest.err'
93872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93873 (eval $ac_try) 2>&5
93874 ac_status=$?
93875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93876 (exit $ac_status); }; } &&
93877 { ac_try='test -s conftest.$ac_objext'
93878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93879 (eval $ac_try) 2>&5
93880 ac_status=$?
93881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93882 (exit $ac_status); }; }; then
93883 ac_header_compiler=yes
93884 else
93885 echo "$as_me: failed program was:" >&5
93886 sed 's/^/| /' conftest.$ac_ext >&5
93888 ac_header_compiler=no
93890 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93891 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
93892 echo "${ECHO_T}$ac_header_compiler" >&6
93894 # Is the header present?
93895 echo "$as_me:$LINENO: checking $ac_header presence" >&5
93896 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
93897 cat >conftest.$ac_ext <<_ACEOF
93898 /* confdefs.h. */
93899 _ACEOF
93900 cat confdefs.h >>conftest.$ac_ext
93901 cat >>conftest.$ac_ext <<_ACEOF
93902 /* end confdefs.h. */
93903 #include <$ac_header>
93904 _ACEOF
93905 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
93906 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
93907 ac_status=$?
93908 grep -v '^ *+' conftest.er1 >conftest.err
93909 rm -f conftest.er1
93910 cat conftest.err >&5
93911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93912 (exit $ac_status); } >/dev/null; then
93913 if test -s conftest.err; then
93914 ac_cpp_err=$ac_c_preproc_warn_flag
93915 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
93916 else
93917 ac_cpp_err=
93919 else
93920 ac_cpp_err=yes
93922 if test -z "$ac_cpp_err"; then
93923 ac_header_preproc=yes
93924 else
93925 echo "$as_me: failed program was:" >&5
93926 sed 's/^/| /' conftest.$ac_ext >&5
93928 ac_header_preproc=no
93930 rm -f conftest.err conftest.$ac_ext
93931 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
93932 echo "${ECHO_T}$ac_header_preproc" >&6
93934 # So? What about this header?
93935 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
93936 yes:no: )
93937 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
93938 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
93939 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
93940 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
93941 ac_header_preproc=yes
93943 no:yes:* )
93944 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
93945 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
93946 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
93947 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
93948 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
93949 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
93950 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
93951 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
93952 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
93953 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
93954 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
93955 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
93957 cat <<\_ASBOX
93958 ## ----------------------------------------- ##
93959 ## Report this to the package-unused lists. ##
93960 ## ----------------------------------------- ##
93961 _ASBOX
93963 sed "s/^/$as_me: WARNING: /" >&2
93965 esac
93966 echo "$as_me:$LINENO: checking for $ac_header" >&5
93967 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
93968 if eval "test \"\${$as_ac_Header+set}\" = set"; then
93969 echo $ECHO_N "(cached) $ECHO_C" >&6
93970 else
93971 eval "$as_ac_Header=\$ac_header_preproc"
93973 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
93974 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
93977 if test `eval echo '${'$as_ac_Header'}'` = yes; then
93978 cat >>confdefs.h <<_ACEOF
93979 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
93980 _ACEOF
93982 else
93983 setrlimit_have_headers=no
93986 done
93988 # If don't have the headers, then we can't run the tests now, and we
93989 # won't be seeing any of these during testsuite compilation.
93990 if test $setrlimit_have_headers = yes; then
93991 # Can't do these in a loop, else the resulting syntax is wrong.
93993 cat >conftest.$ac_ext <<_ACEOF
93994 /* confdefs.h. */
93995 _ACEOF
93996 cat confdefs.h >>conftest.$ac_ext
93997 cat >>conftest.$ac_ext <<_ACEOF
93998 /* end confdefs.h. */
93999 #include <unistd.h>
94000 #include <sys/time.h>
94001 #include <sys/resource.h>
94004 main ()
94006 int f = RLIMIT_DATA ;
94008 return 0;
94010 _ACEOF
94011 rm -f conftest.$ac_objext
94012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94013 (eval $ac_compile) 2>conftest.er1
94014 ac_status=$?
94015 grep -v '^ *+' conftest.er1 >conftest.err
94016 rm -f conftest.er1
94017 cat conftest.err >&5
94018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94019 (exit $ac_status); } &&
94020 { ac_try='test -z "$ac_c_werror_flag"
94021 || test ! -s conftest.err'
94022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94023 (eval $ac_try) 2>&5
94024 ac_status=$?
94025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94026 (exit $ac_status); }; } &&
94027 { ac_try='test -s conftest.$ac_objext'
94028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94029 (eval $ac_try) 2>&5
94030 ac_status=$?
94031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94032 (exit $ac_status); }; }; then
94033 glibcxx_mresult=1
94034 else
94035 echo "$as_me: failed program was:" >&5
94036 sed 's/^/| /' conftest.$ac_ext >&5
94038 glibcxx_mresult=0
94040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94042 cat >>confdefs.h <<_ACEOF
94043 #define HAVE_LIMIT_DATA $glibcxx_mresult
94044 _ACEOF
94048 cat >conftest.$ac_ext <<_ACEOF
94049 /* confdefs.h. */
94050 _ACEOF
94051 cat confdefs.h >>conftest.$ac_ext
94052 cat >>conftest.$ac_ext <<_ACEOF
94053 /* end confdefs.h. */
94054 #include <unistd.h>
94055 #include <sys/time.h>
94056 #include <sys/resource.h>
94059 main ()
94061 int f = RLIMIT_RSS ;
94063 return 0;
94065 _ACEOF
94066 rm -f conftest.$ac_objext
94067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94068 (eval $ac_compile) 2>conftest.er1
94069 ac_status=$?
94070 grep -v '^ *+' conftest.er1 >conftest.err
94071 rm -f conftest.er1
94072 cat conftest.err >&5
94073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94074 (exit $ac_status); } &&
94075 { ac_try='test -z "$ac_c_werror_flag"
94076 || test ! -s conftest.err'
94077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94078 (eval $ac_try) 2>&5
94079 ac_status=$?
94080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94081 (exit $ac_status); }; } &&
94082 { ac_try='test -s conftest.$ac_objext'
94083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94084 (eval $ac_try) 2>&5
94085 ac_status=$?
94086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94087 (exit $ac_status); }; }; then
94088 glibcxx_mresult=1
94089 else
94090 echo "$as_me: failed program was:" >&5
94091 sed 's/^/| /' conftest.$ac_ext >&5
94093 glibcxx_mresult=0
94095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94097 cat >>confdefs.h <<_ACEOF
94098 #define HAVE_LIMIT_RSS $glibcxx_mresult
94099 _ACEOF
94103 cat >conftest.$ac_ext <<_ACEOF
94104 /* confdefs.h. */
94105 _ACEOF
94106 cat confdefs.h >>conftest.$ac_ext
94107 cat >>conftest.$ac_ext <<_ACEOF
94108 /* end confdefs.h. */
94109 #include <unistd.h>
94110 #include <sys/time.h>
94111 #include <sys/resource.h>
94114 main ()
94116 int f = RLIMIT_VMEM ;
94118 return 0;
94120 _ACEOF
94121 rm -f conftest.$ac_objext
94122 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94123 (eval $ac_compile) 2>conftest.er1
94124 ac_status=$?
94125 grep -v '^ *+' conftest.er1 >conftest.err
94126 rm -f conftest.er1
94127 cat conftest.err >&5
94128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94129 (exit $ac_status); } &&
94130 { ac_try='test -z "$ac_c_werror_flag"
94131 || test ! -s conftest.err'
94132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94133 (eval $ac_try) 2>&5
94134 ac_status=$?
94135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94136 (exit $ac_status); }; } &&
94137 { ac_try='test -s conftest.$ac_objext'
94138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94139 (eval $ac_try) 2>&5
94140 ac_status=$?
94141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94142 (exit $ac_status); }; }; then
94143 glibcxx_mresult=1
94144 else
94145 echo "$as_me: failed program was:" >&5
94146 sed 's/^/| /' conftest.$ac_ext >&5
94148 glibcxx_mresult=0
94150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94152 cat >>confdefs.h <<_ACEOF
94153 #define HAVE_LIMIT_VMEM $glibcxx_mresult
94154 _ACEOF
94158 cat >conftest.$ac_ext <<_ACEOF
94159 /* confdefs.h. */
94160 _ACEOF
94161 cat confdefs.h >>conftest.$ac_ext
94162 cat >>conftest.$ac_ext <<_ACEOF
94163 /* end confdefs.h. */
94164 #include <unistd.h>
94165 #include <sys/time.h>
94166 #include <sys/resource.h>
94169 main ()
94171 int f = RLIMIT_AS ;
94173 return 0;
94175 _ACEOF
94176 rm -f conftest.$ac_objext
94177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94178 (eval $ac_compile) 2>conftest.er1
94179 ac_status=$?
94180 grep -v '^ *+' conftest.er1 >conftest.err
94181 rm -f conftest.er1
94182 cat conftest.err >&5
94183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94184 (exit $ac_status); } &&
94185 { ac_try='test -z "$ac_c_werror_flag"
94186 || test ! -s conftest.err'
94187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94188 (eval $ac_try) 2>&5
94189 ac_status=$?
94190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94191 (exit $ac_status); }; } &&
94192 { ac_try='test -s conftest.$ac_objext'
94193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94194 (eval $ac_try) 2>&5
94195 ac_status=$?
94196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94197 (exit $ac_status); }; }; then
94198 glibcxx_mresult=1
94199 else
94200 echo "$as_me: failed program was:" >&5
94201 sed 's/^/| /' conftest.$ac_ext >&5
94203 glibcxx_mresult=0
94205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94207 cat >>confdefs.h <<_ACEOF
94208 #define HAVE_LIMIT_AS $glibcxx_mresult
94209 _ACEOF
94213 cat >conftest.$ac_ext <<_ACEOF
94214 /* confdefs.h. */
94215 _ACEOF
94216 cat confdefs.h >>conftest.$ac_ext
94217 cat >>conftest.$ac_ext <<_ACEOF
94218 /* end confdefs.h. */
94219 #include <unistd.h>
94220 #include <sys/time.h>
94221 #include <sys/resource.h>
94224 main ()
94226 int f = RLIMIT_FSIZE ;
94228 return 0;
94230 _ACEOF
94231 rm -f conftest.$ac_objext
94232 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94233 (eval $ac_compile) 2>conftest.er1
94234 ac_status=$?
94235 grep -v '^ *+' conftest.er1 >conftest.err
94236 rm -f conftest.er1
94237 cat conftest.err >&5
94238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94239 (exit $ac_status); } &&
94240 { ac_try='test -z "$ac_c_werror_flag"
94241 || test ! -s conftest.err'
94242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94243 (eval $ac_try) 2>&5
94244 ac_status=$?
94245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94246 (exit $ac_status); }; } &&
94247 { ac_try='test -s conftest.$ac_objext'
94248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94249 (eval $ac_try) 2>&5
94250 ac_status=$?
94251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94252 (exit $ac_status); }; }; then
94253 glibcxx_mresult=1
94254 else
94255 echo "$as_me: failed program was:" >&5
94256 sed 's/^/| /' conftest.$ac_ext >&5
94258 glibcxx_mresult=0
94260 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94262 cat >>confdefs.h <<_ACEOF
94263 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
94264 _ACEOF
94268 # Check for rlimit, setrlimit.
94269 if test "${ac_setrlimit+set}" = set; then
94270 echo $ECHO_N "(cached) $ECHO_C" >&6
94271 else
94273 cat >conftest.$ac_ext <<_ACEOF
94274 /* confdefs.h. */
94275 _ACEOF
94276 cat confdefs.h >>conftest.$ac_ext
94277 cat >>conftest.$ac_ext <<_ACEOF
94278 /* end confdefs.h. */
94279 #include <unistd.h>
94280 #include <sys/time.h>
94281 #include <sys/resource.h>
94284 main ()
94286 struct rlimit r;
94287 setrlimit(0, &r);
94289 return 0;
94291 _ACEOF
94292 rm -f conftest.$ac_objext
94293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94294 (eval $ac_compile) 2>conftest.er1
94295 ac_status=$?
94296 grep -v '^ *+' conftest.er1 >conftest.err
94297 rm -f conftest.er1
94298 cat conftest.err >&5
94299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94300 (exit $ac_status); } &&
94301 { ac_try='test -z "$ac_c_werror_flag"
94302 || test ! -s conftest.err'
94303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94304 (eval $ac_try) 2>&5
94305 ac_status=$?
94306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94307 (exit $ac_status); }; } &&
94308 { ac_try='test -s conftest.$ac_objext'
94309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94310 (eval $ac_try) 2>&5
94311 ac_status=$?
94312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94313 (exit $ac_status); }; }; then
94314 ac_setrlimit=yes
94315 else
94316 echo "$as_me: failed program was:" >&5
94317 sed 's/^/| /' conftest.$ac_ext >&5
94319 ac_setrlimit=no
94321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94327 echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
94328 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
94329 if test $setrlimit_have_headers = yes && test $ac_setrlimit = yes; then
94330 ac_res_limits=yes
94331 cat >>confdefs.h <<\_ACEOF
94332 #define _GLIBCXX_RES_LIMITS 1
94333 _ACEOF
94335 else
94336 ac_res_limits=no
94338 echo "$as_me:$LINENO: result: $ac_res_limits" >&5
94339 echo "${ECHO_T}$ac_res_limits" >&6
94342 # Look for setenv, so that extended locale tests can be performed.
94344 echo "$as_me:$LINENO: checking for setenv declaration" >&5
94345 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
94346 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
94347 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
94348 echo $ECHO_N "(cached) $ECHO_C" >&6
94349 else
94353 ac_ext=cc
94354 ac_cpp='$CXXCPP $CPPFLAGS'
94355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94359 cat >conftest.$ac_ext <<_ACEOF
94360 /* confdefs.h. */
94361 _ACEOF
94362 cat confdefs.h >>conftest.$ac_ext
94363 cat >>conftest.$ac_ext <<_ACEOF
94364 /* end confdefs.h. */
94365 #include <stdlib.h>
94367 main ()
94369 setenv(0, 0, 0);
94371 return 0;
94373 _ACEOF
94374 rm -f conftest.$ac_objext
94375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94376 (eval $ac_compile) 2>conftest.er1
94377 ac_status=$?
94378 grep -v '^ *+' conftest.er1 >conftest.err
94379 rm -f conftest.er1
94380 cat conftest.err >&5
94381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94382 (exit $ac_status); } &&
94383 { ac_try='test -z "$ac_cxx_werror_flag"
94384 || test ! -s conftest.err'
94385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94386 (eval $ac_try) 2>&5
94387 ac_status=$?
94388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94389 (exit $ac_status); }; } &&
94390 { ac_try='test -s conftest.$ac_objext'
94391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94392 (eval $ac_try) 2>&5
94393 ac_status=$?
94394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94395 (exit $ac_status); }; }; then
94396 glibcxx_cv_func_setenv_use=yes
94397 else
94398 echo "$as_me: failed program was:" >&5
94399 sed 's/^/| /' conftest.$ac_ext >&5
94401 glibcxx_cv_func_setenv_use=no
94403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94404 ac_ext=c
94405 ac_cpp='$CPP $CPPFLAGS'
94406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94414 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
94415 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
94416 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
94418 for ac_func in setenv
94420 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94421 echo "$as_me:$LINENO: checking for $ac_func" >&5
94422 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94423 if eval "test \"\${$as_ac_var+set}\" = set"; then
94424 echo $ECHO_N "(cached) $ECHO_C" >&6
94425 else
94426 if test x$gcc_no_link = xyes; then
94427 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94428 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94429 { (exit 1); exit 1; }; }
94431 cat >conftest.$ac_ext <<_ACEOF
94432 /* confdefs.h. */
94433 _ACEOF
94434 cat confdefs.h >>conftest.$ac_ext
94435 cat >>conftest.$ac_ext <<_ACEOF
94436 /* end confdefs.h. */
94437 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94438 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94439 #define $ac_func innocuous_$ac_func
94441 /* System header to define __stub macros and hopefully few prototypes,
94442 which can conflict with char $ac_func (); below.
94443 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94444 <limits.h> exists even on freestanding compilers. */
94446 #ifdef __STDC__
94447 # include <limits.h>
94448 #else
94449 # include <assert.h>
94450 #endif
94452 #undef $ac_func
94454 /* Override any gcc2 internal prototype to avoid an error. */
94455 #ifdef __cplusplus
94456 extern "C"
94458 #endif
94459 /* We use char because int might match the return type of a gcc2
94460 builtin and then its argument prototype would still apply. */
94461 char $ac_func ();
94462 /* The GNU C library defines this for functions which it implements
94463 to always fail with ENOSYS. Some functions are actually named
94464 something starting with __ and the normal name is an alias. */
94465 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94466 choke me
94467 #else
94468 char (*f) () = $ac_func;
94469 #endif
94470 #ifdef __cplusplus
94472 #endif
94475 main ()
94477 return f != $ac_func;
94479 return 0;
94481 _ACEOF
94482 rm -f conftest.$ac_objext conftest$ac_exeext
94483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94484 (eval $ac_link) 2>conftest.er1
94485 ac_status=$?
94486 grep -v '^ *+' conftest.er1 >conftest.err
94487 rm -f conftest.er1
94488 cat conftest.err >&5
94489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94490 (exit $ac_status); } &&
94491 { ac_try='test -z "$ac_c_werror_flag"
94492 || test ! -s conftest.err'
94493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94494 (eval $ac_try) 2>&5
94495 ac_status=$?
94496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94497 (exit $ac_status); }; } &&
94498 { ac_try='test -s conftest$ac_exeext'
94499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94500 (eval $ac_try) 2>&5
94501 ac_status=$?
94502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94503 (exit $ac_status); }; }; then
94504 eval "$as_ac_var=yes"
94505 else
94506 echo "$as_me: failed program was:" >&5
94507 sed 's/^/| /' conftest.$ac_ext >&5
94509 eval "$as_ac_var=no"
94511 rm -f conftest.err conftest.$ac_objext \
94512 conftest$ac_exeext conftest.$ac_ext
94514 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94515 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94516 if test `eval echo '${'$as_ac_var'}'` = yes; then
94517 cat >>confdefs.h <<_ACEOF
94518 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94519 _ACEOF
94522 done
94527 if test $enable_symvers = no; then
94528 enable_abi_check=no
94529 else
94530 case "$host" in
94531 *-*-cygwin*)
94532 enable_abi_check=no ;;
94534 enable_abi_check=yes ;;
94535 esac
94537 else
94538 # Only build this as native, since automake does not understand
94539 # CXX_FOR_BUILD.
94540 enable_abi_check=no
94543 # Export file names for ABI checking.
94544 baseline_dir="$glibcxx_srcdir/config/abi/${abi_baseline_pair}\$(MULTISUBDIR)"
94551 # Propagate the target-specific source directories through the build chain.
94552 ATOMICITY_SRCDIR=config/${atomicity_dir}
94553 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
94554 OS_INC_SRCDIR=config/${os_include_dir}
94555 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
94561 # Determine cross-compile flags and AM_CONDITIONALs.
94562 #AC_SUBST(GLIBCXX_IS_NATIVE)
94563 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
94564 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
94565 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH, test $need_libmath = yes)
94568 if test $is_hosted = yes; then
94569 GLIBCXX_HOSTED_TRUE=
94570 GLIBCXX_HOSTED_FALSE='#'
94571 else
94572 GLIBCXX_HOSTED_TRUE='#'
94573 GLIBCXX_HOSTED_FALSE=
94579 if test $enable_libstdcxx_pch = yes; then
94580 GLIBCXX_BUILD_PCH_TRUE=
94581 GLIBCXX_BUILD_PCH_FALSE='#'
94582 else
94583 GLIBCXX_BUILD_PCH_TRUE='#'
94584 GLIBCXX_BUILD_PCH_FALSE=
94590 if test $enable_cheaders = c; then
94591 GLIBCXX_C_HEADERS_C_TRUE=
94592 GLIBCXX_C_HEADERS_C_FALSE='#'
94593 else
94594 GLIBCXX_C_HEADERS_C_TRUE='#'
94595 GLIBCXX_C_HEADERS_C_FALSE=
94601 if test $enable_cheaders = c_std; then
94602 GLIBCXX_C_HEADERS_C_STD_TRUE=
94603 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
94604 else
94605 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
94606 GLIBCXX_C_HEADERS_C_STD_FALSE=
94612 if test $c_compatibility = yes; then
94613 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
94614 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
94615 else
94616 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
94617 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
94623 if test $enable_libstdcxx_debug = yes; then
94624 GLIBCXX_BUILD_DEBUG_TRUE=
94625 GLIBCXX_BUILD_DEBUG_FALSE='#'
94626 else
94627 GLIBCXX_BUILD_DEBUG_TRUE='#'
94628 GLIBCXX_BUILD_DEBUG_FALSE=
94634 if test $enable_symvers != no; then
94635 GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE=
94636 GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE='#'
94637 else
94638 GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE='#'
94639 GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE=
94645 if test $enable_wchar_t = yes; then
94646 GLIBCXX_TEST_WCHAR_T_TRUE=
94647 GLIBCXX_TEST_WCHAR_T_FALSE='#'
94648 else
94649 GLIBCXX_TEST_WCHAR_T_TRUE='#'
94650 GLIBCXX_TEST_WCHAR_T_FALSE=
94656 if test $enable_abi_check = yes; then
94657 GLIBCXX_TEST_ABI_TRUE=
94658 GLIBCXX_TEST_ABI_FALSE='#'
94659 else
94660 GLIBCXX_TEST_ABI_TRUE='#'
94661 GLIBCXX_TEST_ABI_FALSE=
94667 cat >confcache <<\_ACEOF
94668 # This file is a shell script that caches the results of configure
94669 # tests run on this system so they can be shared between configure
94670 # scripts and configure runs, see configure's option --config-cache.
94671 # It is not useful on other systems. If it contains results you don't
94672 # want to keep, you may remove or edit it.
94674 # config.status only pays attention to the cache file if you give it
94675 # the --recheck option to rerun configure.
94677 # `ac_cv_env_foo' variables (set or unset) will be overridden when
94678 # loading this file, other *unset* `ac_cv_foo' will be assigned the
94679 # following values.
94681 _ACEOF
94683 # The following way of writing the cache mishandles newlines in values,
94684 # but we know of no workaround that is simple, portable, and efficient.
94685 # So, don't put newlines in cache variables' values.
94686 # Ultrix sh set writes to stderr and can't be redirected directly,
94687 # and sets the high bit in the cache file unless we assign to the vars.
94689 (set) 2>&1 |
94690 case `(ac_space=' '; set | grep ac_space) 2>&1` in
94691 *ac_space=\ *)
94692 # `set' does not quote correctly, so add quotes (double-quote
94693 # substitution turns \\\\ into \\, and sed turns \\ into \).
94694 sed -n \
94695 "s/'/'\\\\''/g;
94696 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
94699 # `set' quotes correctly as required by POSIX, so do not add quotes.
94700 sed -n \
94701 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
94703 esac;
94705 sed '
94706 t clear
94707 : clear
94708 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
94709 t end
94710 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
94711 : end' >>confcache
94712 if diff $cache_file confcache >/dev/null 2>&1; then :; else
94713 if test -w $cache_file; then
94714 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
94715 cat confcache >$cache_file
94716 else
94717 echo "not updating unwritable cache $cache_file"
94720 rm -f confcache
94722 if test ${multilib} = yes; then
94723 multilib_arg="--enable-multilib"
94724 else
94725 multilib_arg=
94728 # Export all the install information.
94730 glibcxx_toolexecdir=no
94731 glibcxx_toolexeclibdir=no
94732 glibcxx_prefixdir=$prefix
94734 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
94735 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
94737 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
94738 if test "${with_gxx_include_dir+set}" = set; then
94739 withval="$with_gxx_include_dir"
94740 case "$withval" in
94741 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
94742 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
94743 { (exit 1); exit 1; }; } ;;
94744 no) gxx_include_dir=no ;;
94745 *) gxx_include_dir=$withval ;;
94746 esac
94747 else
94748 gxx_include_dir=no
94750 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
94751 echo "${ECHO_T}$gxx_include_dir" >&6
94753 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
94754 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
94755 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
94756 if test "${enable_version_specific_runtime_libs+set}" = set; then
94757 enableval="$enable_version_specific_runtime_libs"
94758 case "$enableval" in
94759 yes) version_specific_libs=yes ;;
94760 no) version_specific_libs=no ;;
94761 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
94762 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
94763 { (exit 1); exit 1; }; };;
94764 esac
94765 else
94766 version_specific_libs=no
94768 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
94769 echo "${ECHO_T}$version_specific_libs" >&6
94771 # Default case for install directory for include files.
94772 if test $version_specific_libs = no && test $gxx_include_dir = no; then
94773 gxx_include_dir='${prefix}'/include/c++/${gcc_version}
94776 # Version-specific runtime libs processing.
94777 if test $version_specific_libs = yes; then
94778 # Need the gcc compiler version to know where to install libraries
94779 # and header files if --enable-version-specific-runtime-libs option
94780 # is selected. FIXME: these variables are misnamed, there are
94781 # no executables installed in _toolexecdir or _toolexeclibdir.
94782 if test x"$gxx_include_dir" = x"no"; then
94783 gxx_include_dir='${libdir}/gcc/${host_alias}/'$gcc_version/include/c++
94785 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
94786 glibcxx_toolexeclibdir='${toolexecdir}/'$gcc_version'$(MULTISUBDIR)'
94789 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
94790 # Install a library built with a cross compiler in tooldir, not libdir.
94791 if test x"$glibcxx_toolexecdir" = x"no"; then
94792 if test -n "$with_cross_host" &&
94793 test x"$with_cross_host" != x"no"; then
94794 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
94795 glibcxx_toolexeclibdir='${toolexecdir}/lib'
94796 else
94797 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
94798 glibcxx_toolexeclibdir='${libdir}'
94800 multi_os_directory=`$CXX -print-multi-os-directory`
94801 case $multi_os_directory in
94802 .) ;; # Avoid trailing /.
94803 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
94804 esac
94807 echo "$as_me:$LINENO: checking for install location" >&5
94808 echo $ECHO_N "checking for install location... $ECHO_C" >&6
94809 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
94810 echo "${ECHO_T}$gxx_include_dir" >&6
94818 # Export all the include and flag information to Makefiles.
94820 # Used for every C++ compile we perform.
94821 GLIBCXX_INCLUDES="\
94822 -I$glibcxx_builddir/include/$host_alias \
94823 -I$glibcxx_builddir/include \
94824 -I$glibcxx_srcdir/libsupc++"
94826 # For Canadian crosses, pick this up too.
94827 if test $CANADIAN = yes; then
94828 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
94831 # Stuff in the actual top level. Currently only used by libsupc++ to
94832 # get unwind* headers from the gcc dir.
94833 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
94834 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
94836 # Now, export this to all the little Makefiles....
94841 # Optimization flags that are probably a good idea for thrill-seekers. Just
94842 # uncomment the lines below and make, everything else is ready to go...
94843 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
94844 OPTIMIZE_CXXFLAGS=
94847 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
94851 if ${CONFIG_SHELL-/bin/sh} ./libtool --tag CXX --features |
94852 grep "enable shared" > /dev/null;
94853 then
94854 LIBSUPCXX_PICFLAGS=-prefer-pic
94855 else
94856 LIBSUPCXX_PICFLAGS=
94860 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile po/Makefile testsuite/Makefile"
94862 ac_config_files="$ac_config_files scripts/check_survey"
94864 ac_config_files="$ac_config_files scripts/testsuite_flags"
94867 ac_config_commands="$ac_config_commands default"
94870 cat >confcache <<\_ACEOF
94871 # This file is a shell script that caches the results of configure
94872 # tests run on this system so they can be shared between configure
94873 # scripts and configure runs, see configure's option --config-cache.
94874 # It is not useful on other systems. If it contains results you don't
94875 # want to keep, you may remove or edit it.
94877 # config.status only pays attention to the cache file if you give it
94878 # the --recheck option to rerun configure.
94880 # `ac_cv_env_foo' variables (set or unset) will be overridden when
94881 # loading this file, other *unset* `ac_cv_foo' will be assigned the
94882 # following values.
94884 _ACEOF
94886 # The following way of writing the cache mishandles newlines in values,
94887 # but we know of no workaround that is simple, portable, and efficient.
94888 # So, don't put newlines in cache variables' values.
94889 # Ultrix sh set writes to stderr and can't be redirected directly,
94890 # and sets the high bit in the cache file unless we assign to the vars.
94892 (set) 2>&1 |
94893 case `(ac_space=' '; set | grep ac_space) 2>&1` in
94894 *ac_space=\ *)
94895 # `set' does not quote correctly, so add quotes (double-quote
94896 # substitution turns \\\\ into \\, and sed turns \\ into \).
94897 sed -n \
94898 "s/'/'\\\\''/g;
94899 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
94902 # `set' quotes correctly as required by POSIX, so do not add quotes.
94903 sed -n \
94904 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
94906 esac;
94908 sed '
94909 t clear
94910 : clear
94911 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
94912 t end
94913 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
94914 : end' >>confcache
94915 if diff $cache_file confcache >/dev/null 2>&1; then :; else
94916 if test -w $cache_file; then
94917 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
94918 cat confcache >$cache_file
94919 else
94920 echo "not updating unwritable cache $cache_file"
94923 rm -f confcache
94925 test "x$prefix" = xNONE && prefix=$ac_default_prefix
94926 # Let make expand exec_prefix.
94927 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
94929 # VPATH may cause trouble with some makes, so we remove $(srcdir),
94930 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
94931 # trailing colons and then remove the whole line if VPATH becomes empty
94932 # (actually we leave an empty line to preserve line numbers).
94933 if test "x$srcdir" = x.; then
94934 ac_vpsub='/^[ ]*VPATH[ ]*=/{
94935 s/:*\$(srcdir):*/:/;
94936 s/:*\${srcdir}:*/:/;
94937 s/:*@srcdir@:*/:/;
94938 s/^\([^=]*=[ ]*\):*/\1/;
94939 s/:*$//;
94940 s/^[^=]*=[ ]*$//;
94944 DEFS=-DHAVE_CONFIG_H
94946 ac_libobjs=
94947 ac_ltlibobjs=
94948 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
94949 # 1. Remove the extension, and $U if already installed.
94950 ac_i=`echo "$ac_i" |
94951 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
94952 # 2. Add them.
94953 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
94954 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
94955 done
94956 LIBOBJS=$ac_libobjs
94958 LTLIBOBJS=$ac_ltlibobjs
94961 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
94962 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
94963 Usually this means the macro was only invoked conditionally." >&5
94964 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
94965 Usually this means the macro was only invoked conditionally." >&2;}
94966 { (exit 1); exit 1; }; }
94968 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
94969 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
94970 Usually this means the macro was only invoked conditionally." >&5
94971 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
94972 Usually this means the macro was only invoked conditionally." >&2;}
94973 { (exit 1); exit 1; }; }
94975 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
94976 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
94977 Usually this means the macro was only invoked conditionally." >&5
94978 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
94979 Usually this means the macro was only invoked conditionally." >&2;}
94980 { (exit 1); exit 1; }; }
94982 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
94983 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
94984 Usually this means the macro was only invoked conditionally." >&5
94985 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
94986 Usually this means the macro was only invoked conditionally." >&2;}
94987 { (exit 1); exit 1; }; }
94989 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
94990 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
94991 Usually this means the macro was only invoked conditionally." >&5
94992 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
94993 Usually this means the macro was only invoked conditionally." >&2;}
94994 { (exit 1); exit 1; }; }
94996 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
94997 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
94998 Usually this means the macro was only invoked conditionally." >&5
94999 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
95000 Usually this means the macro was only invoked conditionally." >&2;}
95001 { (exit 1); exit 1; }; }
95003 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
95004 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
95005 Usually this means the macro was only invoked conditionally." >&5
95006 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
95007 Usually this means the macro was only invoked conditionally." >&2;}
95008 { (exit 1); exit 1; }; }
95010 if test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE}" && test -z "${GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE}"; then
95011 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
95012 Usually this means the macro was only invoked conditionally." >&5
95013 echo "$as_me: error: conditional \"GLIBCXX_BUILD_VERSIONED_SHLIB\" was never defined.
95014 Usually this means the macro was only invoked conditionally." >&2;}
95015 { (exit 1); exit 1; }; }
95017 if test -z "${GLIBCXX_TEST_WCHAR_T_TRUE}" && test -z "${GLIBCXX_TEST_WCHAR_T_FALSE}"; then
95018 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
95019 Usually this means the macro was only invoked conditionally." >&5
95020 echo "$as_me: error: conditional \"GLIBCXX_TEST_WCHAR_T\" was never defined.
95021 Usually this means the macro was only invoked conditionally." >&2;}
95022 { (exit 1); exit 1; }; }
95024 if test -z "${GLIBCXX_TEST_ABI_TRUE}" && test -z "${GLIBCXX_TEST_ABI_FALSE}"; then
95025 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
95026 Usually this means the macro was only invoked conditionally." >&5
95027 echo "$as_me: error: conditional \"GLIBCXX_TEST_ABI\" was never defined.
95028 Usually this means the macro was only invoked conditionally." >&2;}
95029 { (exit 1); exit 1; }; }
95032 : ${CONFIG_STATUS=./config.status}
95033 ac_clean_files_save=$ac_clean_files
95034 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
95035 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
95036 echo "$as_me: creating $CONFIG_STATUS" >&6;}
95037 cat >$CONFIG_STATUS <<_ACEOF
95038 #! $SHELL
95039 # Generated by $as_me.
95040 # Run this file to recreate the current configuration.
95041 # Compiler output produced by configure, useful for debugging
95042 # configure, is in config.log if it exists.
95044 debug=false
95045 ac_cs_recheck=false
95046 ac_cs_silent=false
95047 SHELL=\${CONFIG_SHELL-$SHELL}
95048 _ACEOF
95050 cat >>$CONFIG_STATUS <<\_ACEOF
95051 ## --------------------- ##
95052 ## M4sh Initialization. ##
95053 ## --------------------- ##
95055 # Be Bourne compatible
95056 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
95057 emulate sh
95058 NULLCMD=:
95059 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
95060 # is contrary to our usage. Disable this feature.
95061 alias -g '${1+"$@"}'='"$@"'
95062 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
95063 set -o posix
95065 DUALCASE=1; export DUALCASE # for MKS sh
95067 # Support unset when possible.
95068 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
95069 as_unset=unset
95070 else
95071 as_unset=false
95075 # Work around bugs in pre-3.0 UWIN ksh.
95076 $as_unset ENV MAIL MAILPATH
95077 PS1='$ '
95078 PS2='> '
95079 PS4='+ '
95081 # NLS nuisances.
95082 for as_var in \
95083 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
95084 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
95085 LC_TELEPHONE LC_TIME
95087 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
95088 eval $as_var=C; export $as_var
95089 else
95090 $as_unset $as_var
95092 done
95094 # Required to use basename.
95095 if expr a : '\(a\)' >/dev/null 2>&1; then
95096 as_expr=expr
95097 else
95098 as_expr=false
95101 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
95102 as_basename=basename
95103 else
95104 as_basename=false
95108 # Name of the executable.
95109 as_me=`$as_basename "$0" ||
95110 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
95111 X"$0" : 'X\(//\)$' \| \
95112 X"$0" : 'X\(/\)$' \| \
95113 . : '\(.\)' 2>/dev/null ||
95114 echo X/"$0" |
95115 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
95116 /^X\/\(\/\/\)$/{ s//\1/; q; }
95117 /^X\/\(\/\).*/{ s//\1/; q; }
95118 s/.*/./; q'`
95121 # PATH needs CR, and LINENO needs CR and PATH.
95122 # Avoid depending upon Character Ranges.
95123 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
95124 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
95125 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
95126 as_cr_digits='0123456789'
95127 as_cr_alnum=$as_cr_Letters$as_cr_digits
95129 # The user is always right.
95130 if test "${PATH_SEPARATOR+set}" != set; then
95131 echo "#! /bin/sh" >conf$$.sh
95132 echo "exit 0" >>conf$$.sh
95133 chmod +x conf$$.sh
95134 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
95135 PATH_SEPARATOR=';'
95136 else
95137 PATH_SEPARATOR=:
95139 rm -f conf$$.sh
95143 as_lineno_1=$LINENO
95144 as_lineno_2=$LINENO
95145 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
95146 test "x$as_lineno_1" != "x$as_lineno_2" &&
95147 test "x$as_lineno_3" = "x$as_lineno_2" || {
95148 # Find who we are. Look in the path if we contain no path at all
95149 # relative or not.
95150 case $0 in
95151 *[\\/]* ) as_myself=$0 ;;
95152 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95153 for as_dir in $PATH
95155 IFS=$as_save_IFS
95156 test -z "$as_dir" && as_dir=.
95157 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
95158 done
95161 esac
95162 # We did not find ourselves, most probably we were run as `sh COMMAND'
95163 # in which case we are not to be found in the path.
95164 if test "x$as_myself" = x; then
95165 as_myself=$0
95167 if test ! -f "$as_myself"; then
95168 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
95169 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
95170 { (exit 1); exit 1; }; }
95172 case $CONFIG_SHELL in
95174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95175 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
95177 IFS=$as_save_IFS
95178 test -z "$as_dir" && as_dir=.
95179 for as_base in sh bash ksh sh5; do
95180 case $as_dir in
95182 if ("$as_dir/$as_base" -c '
95183 as_lineno_1=$LINENO
95184 as_lineno_2=$LINENO
95185 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
95186 test "x$as_lineno_1" != "x$as_lineno_2" &&
95187 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
95188 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
95189 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
95190 CONFIG_SHELL=$as_dir/$as_base
95191 export CONFIG_SHELL
95192 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
95193 fi;;
95194 esac
95195 done
95196 done
95198 esac
95200 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
95201 # uniformly replaced by the line number. The first 'sed' inserts a
95202 # line-number line before each line; the second 'sed' does the real
95203 # work. The second script uses 'N' to pair each line-number line
95204 # with the numbered line, and appends trailing '-' during
95205 # substitution so that $LINENO is not a special case at line end.
95206 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
95207 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
95208 sed '=' <$as_myself |
95209 sed '
95211 s,$,-,
95212 : loop
95213 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
95214 t loop
95215 s,-$,,
95216 s,^['$as_cr_digits']*\n,,
95217 ' >$as_me.lineno &&
95218 chmod +x $as_me.lineno ||
95219 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
95220 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
95221 { (exit 1); exit 1; }; }
95223 # Don't try to exec as it changes $[0], causing all sort of problems
95224 # (the dirname of $[0] is not the place where we might find the
95225 # original and so on. Autoconf is especially sensible to this).
95226 . ./$as_me.lineno
95227 # Exit status is that of the last command.
95228 exit
95232 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
95233 *c*,-n*) ECHO_N= ECHO_C='
95234 ' ECHO_T=' ' ;;
95235 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
95236 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
95237 esac
95239 if expr a : '\(a\)' >/dev/null 2>&1; then
95240 as_expr=expr
95241 else
95242 as_expr=false
95245 rm -f conf$$ conf$$.exe conf$$.file
95246 echo >conf$$.file
95247 if ln -s conf$$.file conf$$ 2>/dev/null; then
95248 # We could just check for DJGPP; but this test a) works b) is more generic
95249 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
95250 if test -f conf$$.exe; then
95251 # Don't use ln at all; we don't have any links
95252 as_ln_s='cp -p'
95253 else
95254 as_ln_s='ln -s'
95256 elif ln conf$$.file conf$$ 2>/dev/null; then
95257 as_ln_s=ln
95258 else
95259 as_ln_s='cp -p'
95261 rm -f conf$$ conf$$.exe conf$$.file
95263 if mkdir -p . 2>/dev/null; then
95264 as_mkdir_p=:
95265 else
95266 test -d ./-p && rmdir ./-p
95267 as_mkdir_p=false
95270 as_executable_p="test -f"
95272 # Sed expression to map a string onto a valid CPP name.
95273 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
95275 # Sed expression to map a string onto a valid variable name.
95276 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
95279 # IFS
95280 # We need space, tab and new line, in precisely that order.
95281 as_nl='
95283 IFS=" $as_nl"
95285 # CDPATH.
95286 $as_unset CDPATH
95288 exec 6>&1
95290 # Open the log real soon, to keep \$[0] and so on meaningful, and to
95291 # report actual input values of CONFIG_FILES etc. instead of their
95292 # values after options handling. Logging --version etc. is OK.
95293 exec 5>>config.log
95295 echo
95296 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
95297 ## Running $as_me. ##
95298 _ASBOX
95299 } >&5
95300 cat >&5 <<_CSEOF
95302 This file was extended by package-unused $as_me version-unused, which was
95303 generated by GNU Autoconf 2.59. Invocation command line was
95305 CONFIG_FILES = $CONFIG_FILES
95306 CONFIG_HEADERS = $CONFIG_HEADERS
95307 CONFIG_LINKS = $CONFIG_LINKS
95308 CONFIG_COMMANDS = $CONFIG_COMMANDS
95309 $ $0 $@
95311 _CSEOF
95312 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
95313 echo >&5
95314 _ACEOF
95316 # Files that config.status was made for.
95317 if test -n "$ac_config_files"; then
95318 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
95321 if test -n "$ac_config_headers"; then
95322 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
95325 if test -n "$ac_config_links"; then
95326 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
95329 if test -n "$ac_config_commands"; then
95330 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
95333 cat >>$CONFIG_STATUS <<\_ACEOF
95335 ac_cs_usage="\
95336 \`$as_me' instantiates files from templates according to the
95337 current configuration.
95339 Usage: $0 [OPTIONS] [FILE]...
95341 -h, --help print this help, then exit
95342 -V, --version print version number, then exit
95343 -q, --quiet do not print progress messages
95344 -d, --debug don't remove temporary files
95345 --recheck update $as_me by reconfiguring in the same conditions
95346 --file=FILE[:TEMPLATE]
95347 instantiate the configuration file FILE
95348 --header=FILE[:TEMPLATE]
95349 instantiate the configuration header FILE
95351 Configuration files:
95352 $config_files
95354 Configuration headers:
95355 $config_headers
95357 Configuration commands:
95358 $config_commands
95360 Report bugs to <bug-autoconf@gnu.org>."
95361 _ACEOF
95363 cat >>$CONFIG_STATUS <<_ACEOF
95364 ac_cs_version="\\
95365 package-unused config.status version-unused
95366 configured by $0, generated by GNU Autoconf 2.59,
95367 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
95369 Copyright (C) 2003 Free Software Foundation, Inc.
95370 This config.status script is free software; the Free Software Foundation
95371 gives unlimited permission to copy, distribute and modify it."
95372 srcdir=$srcdir
95373 INSTALL="$INSTALL"
95374 _ACEOF
95376 cat >>$CONFIG_STATUS <<\_ACEOF
95377 # If no file are specified by the user, then we need to provide default
95378 # value. By we need to know if files were specified by the user.
95379 ac_need_defaults=:
95380 while test $# != 0
95382 case $1 in
95383 --*=*)
95384 ac_option=`expr "x$1" : 'x\([^=]*\)='`
95385 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
95386 ac_shift=:
95389 ac_option=$1
95390 ac_optarg=$2
95391 ac_shift=shift
95393 *) # This is not an option, so the user has probably given explicit
95394 # arguments.
95395 ac_option=$1
95396 ac_need_defaults=false;;
95397 esac
95399 case $ac_option in
95400 # Handling of the options.
95401 _ACEOF
95402 cat >>$CONFIG_STATUS <<\_ACEOF
95403 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
95404 ac_cs_recheck=: ;;
95405 --version | --vers* | -V )
95406 echo "$ac_cs_version"; exit 0 ;;
95407 --he | --h)
95408 # Conflict between --help and --header
95409 { { echo "$as_me:$LINENO: error: ambiguous option: $1
95410 Try \`$0 --help' for more information." >&5
95411 echo "$as_me: error: ambiguous option: $1
95412 Try \`$0 --help' for more information." >&2;}
95413 { (exit 1); exit 1; }; };;
95414 --help | --hel | -h )
95415 echo "$ac_cs_usage"; exit 0 ;;
95416 --debug | --d* | -d )
95417 debug=: ;;
95418 --file | --fil | --fi | --f )
95419 $ac_shift
95420 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
95421 ac_need_defaults=false;;
95422 --header | --heade | --head | --hea )
95423 $ac_shift
95424 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
95425 ac_need_defaults=false;;
95426 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
95427 | -silent | --silent | --silen | --sile | --sil | --si | --s)
95428 ac_cs_silent=: ;;
95430 # This is an error.
95431 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
95432 Try \`$0 --help' for more information." >&5
95433 echo "$as_me: error: unrecognized option: $1
95434 Try \`$0 --help' for more information." >&2;}
95435 { (exit 1); exit 1; }; } ;;
95437 *) ac_config_targets="$ac_config_targets $1" ;;
95439 esac
95440 shift
95441 done
95443 ac_configure_extra_args=
95445 if $ac_cs_silent; then
95446 exec 6>/dev/null
95447 ac_configure_extra_args="$ac_configure_extra_args --silent"
95450 _ACEOF
95451 cat >>$CONFIG_STATUS <<_ACEOF
95452 if \$ac_cs_recheck; then
95453 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
95454 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
95457 _ACEOF
95459 cat >>$CONFIG_STATUS <<_ACEOF
95461 # INIT-COMMANDS section.
95465 srcdir="$srcdir"
95466 host="$host"
95467 target="$target"
95468 with_multisubdir="$with_multisubdir"
95469 with_multisrctop="$with_multisrctop"
95470 with_target_subdir="$with_target_subdir"
95471 ac_configure_args="${multilib_arg} ${ac_configure_args}"
95472 multi_basedir="$multi_basedir"
95473 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
95474 CC="$CC"
95476 # Variables needed in config.status (file generation) which aren't already
95477 # passed by autoconf.
95478 SUBDIRS="$SUBDIRS"
95481 _ACEOF
95485 cat >>$CONFIG_STATUS <<\_ACEOF
95486 for ac_config_target in $ac_config_targets
95488 case "$ac_config_target" in
95489 # Handling of arguments.
95490 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
95491 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
95492 "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
95493 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
95494 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
95495 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
95496 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
95497 "scripts/check_survey" ) CONFIG_FILES="$CONFIG_FILES scripts/check_survey" ;;
95498 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
95499 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
95500 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
95501 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
95502 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
95503 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
95504 { (exit 1); exit 1; }; };;
95505 esac
95506 done
95508 # If the user did not use the arguments to specify the items to instantiate,
95509 # then the envvar interface is used. Set only those that are not.
95510 # We use the long form for the default assignment because of an extremely
95511 # bizarre bug on SunOS 4.1.3.
95512 if $ac_need_defaults; then
95513 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
95514 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
95515 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
95518 # Have a temporary directory for convenience. Make it in the build tree
95519 # simply because there is no reason to put it here, and in addition,
95520 # creating and moving files from /tmp can sometimes cause problems.
95521 # Create a temporary directory, and hook for its removal unless debugging.
95522 $debug ||
95524 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
95525 trap '{ (exit 1); exit 1; }' 1 2 13 15
95528 # Create a (secure) tmp directory for tmp files.
95531 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
95532 test -n "$tmp" && test -d "$tmp"
95533 } ||
95535 tmp=./confstat$$-$RANDOM
95536 (umask 077 && mkdir $tmp)
95537 } ||
95539 echo "$me: cannot create a temporary directory in ." >&2
95540 { (exit 1); exit 1; }
95543 _ACEOF
95545 cat >>$CONFIG_STATUS <<_ACEOF
95548 # CONFIG_FILES section.
95551 # No need to generate the scripts if there are no CONFIG_FILES.
95552 # This happens for instance when ./config.status config.h
95553 if test -n "\$CONFIG_FILES"; then
95554 # Protect against being on the right side of a sed subst in config.status.
95555 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
95556 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
95557 s,@SHELL@,$SHELL,;t t
95558 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
95559 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
95560 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
95561 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
95562 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
95563 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
95564 s,@exec_prefix@,$exec_prefix,;t t
95565 s,@prefix@,$prefix,;t t
95566 s,@program_transform_name@,$program_transform_name,;t t
95567 s,@bindir@,$bindir,;t t
95568 s,@sbindir@,$sbindir,;t t
95569 s,@libexecdir@,$libexecdir,;t t
95570 s,@datadir@,$datadir,;t t
95571 s,@sysconfdir@,$sysconfdir,;t t
95572 s,@sharedstatedir@,$sharedstatedir,;t t
95573 s,@localstatedir@,$localstatedir,;t t
95574 s,@libdir@,$libdir,;t t
95575 s,@includedir@,$includedir,;t t
95576 s,@oldincludedir@,$oldincludedir,;t t
95577 s,@infodir@,$infodir,;t t
95578 s,@mandir@,$mandir,;t t
95579 s,@build_alias@,$build_alias,;t t
95580 s,@host_alias@,$host_alias,;t t
95581 s,@target_alias@,$target_alias,;t t
95582 s,@DEFS@,$DEFS,;t t
95583 s,@ECHO_C@,$ECHO_C,;t t
95584 s,@ECHO_N@,$ECHO_N,;t t
95585 s,@ECHO_T@,$ECHO_T,;t t
95586 s,@LIBS@,$LIBS,;t t
95587 s,@libtool_VERSION@,$libtool_VERSION,;t t
95588 s,@multi_basedir@,$multi_basedir,;t t
95589 s,@build@,$build,;t t
95590 s,@build_cpu@,$build_cpu,;t t
95591 s,@build_vendor@,$build_vendor,;t t
95592 s,@build_os@,$build_os,;t t
95593 s,@host@,$host,;t t
95594 s,@host_cpu@,$host_cpu,;t t
95595 s,@host_vendor@,$host_vendor,;t t
95596 s,@host_os@,$host_os,;t t
95597 s,@target@,$target,;t t
95598 s,@target_cpu@,$target_cpu,;t t
95599 s,@target_vendor@,$target_vendor,;t t
95600 s,@target_os@,$target_os,;t t
95601 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
95602 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
95603 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
95604 s,@CYGPATH_W@,$CYGPATH_W,;t t
95605 s,@PACKAGE@,$PACKAGE,;t t
95606 s,@VERSION@,$VERSION,;t t
95607 s,@ACLOCAL@,$ACLOCAL,;t t
95608 s,@AUTOCONF@,$AUTOCONF,;t t
95609 s,@AUTOMAKE@,$AUTOMAKE,;t t
95610 s,@AUTOHEADER@,$AUTOHEADER,;t t
95611 s,@MAKEINFO@,$MAKEINFO,;t t
95612 s,@AMTAR@,$AMTAR,;t t
95613 s,@install_sh@,$install_sh,;t t
95614 s,@STRIP@,$STRIP,;t t
95615 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
95616 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
95617 s,@mkdir_p@,$mkdir_p,;t t
95618 s,@AWK@,$AWK,;t t
95619 s,@SET_MAKE@,$SET_MAKE,;t t
95620 s,@am__leading_dot@,$am__leading_dot,;t t
95621 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
95622 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
95623 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
95624 s,@CC@,$CC,;t t
95625 s,@ac_ct_CC@,$ac_ct_CC,;t t
95626 s,@EXEEXT@,$EXEEXT,;t t
95627 s,@OBJEXT@,$OBJEXT,;t t
95628 s,@CXX@,$CXX,;t t
95629 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
95630 s,@CFLAGS@,$CFLAGS,;t t
95631 s,@CXXFLAGS@,$CXXFLAGS,;t t
95632 s,@LN_S@,$LN_S,;t t
95633 s,@AS@,$AS,;t t
95634 s,@ac_ct_AS@,$ac_ct_AS,;t t
95635 s,@AR@,$AR,;t t
95636 s,@ac_ct_AR@,$ac_ct_AR,;t t
95637 s,@RANLIB@,$RANLIB,;t t
95638 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
95639 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
95640 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
95641 s,@MAINT@,$MAINT,;t t
95642 s,@LIBTOOL@,$LIBTOOL,;t t
95643 s,@CXXCPP@,$CXXCPP,;t t
95644 s,@CPPFLAGS@,$CPPFLAGS,;t t
95645 s,@enable_shared@,$enable_shared,;t t
95646 s,@enable_static@,$enable_static,;t t
95647 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
95648 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
95649 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
95650 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
95651 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
95652 s,@CSTDIO_H@,$CSTDIO_H,;t t
95653 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
95654 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
95655 s,@CPP@,$CPP,;t t
95656 s,@EGREP@,$EGREP,;t t
95657 s,@check_msgfmt@,$check_msgfmt,;t t
95658 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
95659 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
95660 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
95661 s,@USE_NLS@,$USE_NLS,;t t
95662 s,@CLOCALE_H@,$CLOCALE_H,;t t
95663 s,@CCODECVT_H@,$CCODECVT_H,;t t
95664 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
95665 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
95666 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
95667 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
95668 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
95669 s,@CMONEY_CC@,$CMONEY_CC,;t t
95670 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
95671 s,@CTIME_H@,$CTIME_H,;t t
95672 s,@CTIME_CC@,$CTIME_CC,;t t
95673 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
95674 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
95675 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
95676 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
95677 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
95678 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
95679 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
95680 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
95681 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
95682 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
95683 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
95684 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
95685 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
95686 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
95687 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
95688 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
95689 s,@WERROR@,$WERROR,;t t
95690 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
95691 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
95692 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
95693 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
95694 s,@LIBICONV@,$LIBICONV,;t t
95695 s,@SYMVER_MAP@,$SYMVER_MAP,;t t
95696 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
95697 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_TRUE,;t t
95698 s,@GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE@,$GLIBCXX_BUILD_VERSIONED_SHLIB_FALSE,;t t
95699 s,@baseline_dir@,$baseline_dir,;t t
95700 s,@GLIBCXX_TEST_WCHAR_T_TRUE@,$GLIBCXX_TEST_WCHAR_T_TRUE,;t t
95701 s,@GLIBCXX_TEST_WCHAR_T_FALSE@,$GLIBCXX_TEST_WCHAR_T_FALSE,;t t
95702 s,@GLIBCXX_TEST_ABI_TRUE@,$GLIBCXX_TEST_ABI_TRUE,;t t
95703 s,@GLIBCXX_TEST_ABI_FALSE@,$GLIBCXX_TEST_ABI_FALSE,;t t
95704 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
95705 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
95706 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
95707 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
95708 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
95709 s,@gxx_include_dir@,$gxx_include_dir,;t t
95710 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
95711 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
95712 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
95713 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
95714 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
95715 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
95716 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
95717 s,@LIBOBJS@,$LIBOBJS,;t t
95718 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
95719 CEOF
95721 _ACEOF
95723 cat >>$CONFIG_STATUS <<\_ACEOF
95724 # Split the substitutions into bite-sized pieces for seds with
95725 # small command number limits, like on Digital OSF/1 and HP-UX.
95726 ac_max_sed_lines=48
95727 ac_sed_frag=1 # Number of current file.
95728 ac_beg=1 # First line for current file.
95729 ac_end=$ac_max_sed_lines # Line after last line for current file.
95730 ac_more_lines=:
95731 ac_sed_cmds=
95732 while $ac_more_lines; do
95733 if test $ac_beg -gt 1; then
95734 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
95735 else
95736 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
95738 if test ! -s $tmp/subs.frag; then
95739 ac_more_lines=false
95740 else
95741 # The purpose of the label and of the branching condition is to
95742 # speed up the sed processing (if there are no `@' at all, there
95743 # is no need to browse any of the substitutions).
95744 # These are the two extra sed commands mentioned above.
95745 (echo ':t
95746 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
95747 if test -z "$ac_sed_cmds"; then
95748 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
95749 else
95750 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
95752 ac_sed_frag=`expr $ac_sed_frag + 1`
95753 ac_beg=$ac_end
95754 ac_end=`expr $ac_end + $ac_max_sed_lines`
95756 done
95757 if test -z "$ac_sed_cmds"; then
95758 ac_sed_cmds=cat
95760 fi # test -n "$CONFIG_FILES"
95762 _ACEOF
95763 cat >>$CONFIG_STATUS <<\_ACEOF
95764 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
95765 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
95766 case $ac_file in
95767 - | *:- | *:-:* ) # input from stdin
95768 cat >$tmp/stdin
95769 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
95770 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
95771 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
95772 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
95773 * ) ac_file_in=$ac_file.in ;;
95774 esac
95776 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
95777 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
95778 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
95779 X"$ac_file" : 'X\(//\)[^/]' \| \
95780 X"$ac_file" : 'X\(//\)$' \| \
95781 X"$ac_file" : 'X\(/\)' \| \
95782 . : '\(.\)' 2>/dev/null ||
95783 echo X"$ac_file" |
95784 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
95785 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
95786 /^X\(\/\/\)$/{ s//\1/; q; }
95787 /^X\(\/\).*/{ s//\1/; q; }
95788 s/.*/./; q'`
95789 { if $as_mkdir_p; then
95790 mkdir -p "$ac_dir"
95791 else
95792 as_dir="$ac_dir"
95793 as_dirs=
95794 while test ! -d "$as_dir"; do
95795 as_dirs="$as_dir $as_dirs"
95796 as_dir=`(dirname "$as_dir") 2>/dev/null ||
95797 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
95798 X"$as_dir" : 'X\(//\)[^/]' \| \
95799 X"$as_dir" : 'X\(//\)$' \| \
95800 X"$as_dir" : 'X\(/\)' \| \
95801 . : '\(.\)' 2>/dev/null ||
95802 echo X"$as_dir" |
95803 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
95804 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
95805 /^X\(\/\/\)$/{ s//\1/; q; }
95806 /^X\(\/\).*/{ s//\1/; q; }
95807 s/.*/./; q'`
95808 done
95809 test ! -n "$as_dirs" || mkdir $as_dirs
95810 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
95811 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
95812 { (exit 1); exit 1; }; }; }
95814 ac_builddir=.
95816 if test "$ac_dir" != .; then
95817 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
95818 # A "../" for each directory in $ac_dir_suffix.
95819 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
95820 else
95821 ac_dir_suffix= ac_top_builddir=
95824 case $srcdir in
95825 .) # No --srcdir option. We are building in place.
95826 ac_srcdir=.
95827 if test -z "$ac_top_builddir"; then
95828 ac_top_srcdir=.
95829 else
95830 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
95831 fi ;;
95832 [\\/]* | ?:[\\/]* ) # Absolute path.
95833 ac_srcdir=$srcdir$ac_dir_suffix;
95834 ac_top_srcdir=$srcdir ;;
95835 *) # Relative path.
95836 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
95837 ac_top_srcdir=$ac_top_builddir$srcdir ;;
95838 esac
95840 # Do not use `cd foo && pwd` to compute absolute paths, because
95841 # the directories may not exist.
95842 case `pwd` in
95843 .) ac_abs_builddir="$ac_dir";;
95845 case "$ac_dir" in
95846 .) ac_abs_builddir=`pwd`;;
95847 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
95848 *) ac_abs_builddir=`pwd`/"$ac_dir";;
95849 esac;;
95850 esac
95851 case $ac_abs_builddir in
95852 .) ac_abs_top_builddir=${ac_top_builddir}.;;
95854 case ${ac_top_builddir}. in
95855 .) ac_abs_top_builddir=$ac_abs_builddir;;
95856 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
95857 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
95858 esac;;
95859 esac
95860 case $ac_abs_builddir in
95861 .) ac_abs_srcdir=$ac_srcdir;;
95863 case $ac_srcdir in
95864 .) ac_abs_srcdir=$ac_abs_builddir;;
95865 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
95866 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
95867 esac;;
95868 esac
95869 case $ac_abs_builddir in
95870 .) ac_abs_top_srcdir=$ac_top_srcdir;;
95872 case $ac_top_srcdir in
95873 .) ac_abs_top_srcdir=$ac_abs_builddir;;
95874 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
95875 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
95876 esac;;
95877 esac
95880 case $INSTALL in
95881 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
95882 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
95883 esac
95885 if test x"$ac_file" != x-; then
95886 { echo "$as_me:$LINENO: creating $ac_file" >&5
95887 echo "$as_me: creating $ac_file" >&6;}
95888 rm -f "$ac_file"
95890 # Let's still pretend it is `configure' which instantiates (i.e., don't
95891 # use $as_me), people would be surprised to read:
95892 # /* config.h. Generated by config.status. */
95893 if test x"$ac_file" = x-; then
95894 configure_input=
95895 else
95896 configure_input="$ac_file. "
95898 configure_input=$configure_input"Generated from `echo $ac_file_in |
95899 sed 's,.*/,,'` by configure."
95901 # First look for the input files in the build tree, otherwise in the
95902 # src tree.
95903 ac_file_inputs=`IFS=:
95904 for f in $ac_file_in; do
95905 case $f in
95906 -) echo $tmp/stdin ;;
95907 [\\/$]*)
95908 # Absolute (can't be DOS-style, as IFS=:)
95909 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
95910 echo "$as_me: error: cannot find input file: $f" >&2;}
95911 { (exit 1); exit 1; }; }
95912 echo "$f";;
95913 *) # Relative
95914 if test -f "$f"; then
95915 # Build tree
95916 echo "$f"
95917 elif test -f "$srcdir/$f"; then
95918 # Source tree
95919 echo "$srcdir/$f"
95920 else
95921 # /dev/null tree
95922 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
95923 echo "$as_me: error: cannot find input file: $f" >&2;}
95924 { (exit 1); exit 1; }; }
95925 fi;;
95926 esac
95927 done` || { (exit 1); exit 1; }
95928 _ACEOF
95929 cat >>$CONFIG_STATUS <<_ACEOF
95930 sed "$ac_vpsub
95931 $extrasub
95932 _ACEOF
95933 cat >>$CONFIG_STATUS <<\_ACEOF
95935 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
95936 s,@configure_input@,$configure_input,;t t
95937 s,@srcdir@,$ac_srcdir,;t t
95938 s,@abs_srcdir@,$ac_abs_srcdir,;t t
95939 s,@top_srcdir@,$ac_top_srcdir,;t t
95940 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
95941 s,@builddir@,$ac_builddir,;t t
95942 s,@abs_builddir@,$ac_abs_builddir,;t t
95943 s,@top_builddir@,$ac_top_builddir,;t t
95944 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
95945 s,@INSTALL@,$ac_INSTALL,;t t
95946 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
95947 rm -f $tmp/stdin
95948 if test x"$ac_file" != x-; then
95949 mv $tmp/out $ac_file
95950 else
95951 cat $tmp/out
95952 rm -f $tmp/out
95955 # Run the commands associated with the file.
95956 case $ac_file in
95957 scripts/check_survey ) chmod +x scripts/check_survey ;;
95958 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
95959 esac
95960 done
95961 _ACEOF
95962 cat >>$CONFIG_STATUS <<\_ACEOF
95965 # CONFIG_HEADER section.
95968 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
95969 # NAME is the cpp macro being defined and VALUE is the value it is being given.
95971 # ac_d sets the value in "#define NAME VALUE" lines.
95972 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
95973 ac_dB='[ ].*$,\1#\2'
95974 ac_dC=' '
95975 ac_dD=',;t'
95976 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
95977 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
95978 ac_uB='$,\1#\2define\3'
95979 ac_uC=' '
95980 ac_uD=',;t'
95982 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
95983 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
95984 case $ac_file in
95985 - | *:- | *:-:* ) # input from stdin
95986 cat >$tmp/stdin
95987 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
95988 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
95989 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
95990 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
95991 * ) ac_file_in=$ac_file.in ;;
95992 esac
95994 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
95995 echo "$as_me: creating $ac_file" >&6;}
95997 # First look for the input files in the build tree, otherwise in the
95998 # src tree.
95999 ac_file_inputs=`IFS=:
96000 for f in $ac_file_in; do
96001 case $f in
96002 -) echo $tmp/stdin ;;
96003 [\\/$]*)
96004 # Absolute (can't be DOS-style, as IFS=:)
96005 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
96006 echo "$as_me: error: cannot find input file: $f" >&2;}
96007 { (exit 1); exit 1; }; }
96008 # Do quote $f, to prevent DOS paths from being IFS'd.
96009 echo "$f";;
96010 *) # Relative
96011 if test -f "$f"; then
96012 # Build tree
96013 echo "$f"
96014 elif test -f "$srcdir/$f"; then
96015 # Source tree
96016 echo "$srcdir/$f"
96017 else
96018 # /dev/null tree
96019 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
96020 echo "$as_me: error: cannot find input file: $f" >&2;}
96021 { (exit 1); exit 1; }; }
96022 fi;;
96023 esac
96024 done` || { (exit 1); exit 1; }
96025 # Remove the trailing spaces.
96026 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
96028 _ACEOF
96030 # Transform confdefs.h into two sed scripts, `conftest.defines' and
96031 # `conftest.undefs', that substitutes the proper values into
96032 # config.h.in to produce config.h. The first handles `#define'
96033 # templates, and the second `#undef' templates.
96034 # And first: Protect against being on the right side of a sed subst in
96035 # config.status. Protect against being in an unquoted here document
96036 # in config.status.
96037 rm -f conftest.defines conftest.undefs
96038 # Using a here document instead of a string reduces the quoting nightmare.
96039 # Putting comments in sed scripts is not portable.
96041 # `end' is used to avoid that the second main sed command (meant for
96042 # 0-ary CPP macros) applies to n-ary macro definitions.
96043 # See the Autoconf documentation for `clear'.
96044 cat >confdef2sed.sed <<\_ACEOF
96045 s/[\\&,]/\\&/g
96046 s,[\\$`],\\&,g
96047 t clear
96048 : clear
96049 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
96050 t end
96051 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
96052 : end
96053 _ACEOF
96054 # If some macros were called several times there might be several times
96055 # the same #defines, which is useless. Nevertheless, we may not want to
96056 # sort them, since we want the *last* AC-DEFINE to be honored.
96057 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
96058 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
96059 rm -f confdef2sed.sed
96061 # This sed command replaces #undef with comments. This is necessary, for
96062 # example, in the case of _POSIX_SOURCE, which is predefined and required
96063 # on some systems where configure will not decide to define it.
96064 cat >>conftest.undefs <<\_ACEOF
96065 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
96066 _ACEOF
96068 # Break up conftest.defines because some shells have a limit on the size
96069 # of here documents, and old seds have small limits too (100 cmds).
96070 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
96071 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
96072 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
96073 echo ' :' >>$CONFIG_STATUS
96074 rm -f conftest.tail
96075 while grep . conftest.defines >/dev/null
96077 # Write a limited-size here document to $tmp/defines.sed.
96078 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
96079 # Speed up: don't consider the non `#define' lines.
96080 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
96081 # Work around the forget-to-reset-the-flag bug.
96082 echo 't clr' >>$CONFIG_STATUS
96083 echo ': clr' >>$CONFIG_STATUS
96084 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
96085 echo 'CEOF
96086 sed -f $tmp/defines.sed $tmp/in >$tmp/out
96087 rm -f $tmp/in
96088 mv $tmp/out $tmp/in
96089 ' >>$CONFIG_STATUS
96090 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
96091 rm -f conftest.defines
96092 mv conftest.tail conftest.defines
96093 done
96094 rm -f conftest.defines
96095 echo ' fi # grep' >>$CONFIG_STATUS
96096 echo >>$CONFIG_STATUS
96098 # Break up conftest.undefs because some shells have a limit on the size
96099 # of here documents, and old seds have small limits too (100 cmds).
96100 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
96101 rm -f conftest.tail
96102 while grep . conftest.undefs >/dev/null
96104 # Write a limited-size here document to $tmp/undefs.sed.
96105 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
96106 # Speed up: don't consider the non `#undef'
96107 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
96108 # Work around the forget-to-reset-the-flag bug.
96109 echo 't clr' >>$CONFIG_STATUS
96110 echo ': clr' >>$CONFIG_STATUS
96111 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
96112 echo 'CEOF
96113 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
96114 rm -f $tmp/in
96115 mv $tmp/out $tmp/in
96116 ' >>$CONFIG_STATUS
96117 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
96118 rm -f conftest.undefs
96119 mv conftest.tail conftest.undefs
96120 done
96121 rm -f conftest.undefs
96123 cat >>$CONFIG_STATUS <<\_ACEOF
96124 # Let's still pretend it is `configure' which instantiates (i.e., don't
96125 # use $as_me), people would be surprised to read:
96126 # /* config.h. Generated by config.status. */
96127 if test x"$ac_file" = x-; then
96128 echo "/* Generated by configure. */" >$tmp/config.h
96129 else
96130 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
96132 cat $tmp/in >>$tmp/config.h
96133 rm -f $tmp/in
96134 if test x"$ac_file" != x-; then
96135 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
96136 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
96137 echo "$as_me: $ac_file is unchanged" >&6;}
96138 else
96139 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
96140 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
96141 X"$ac_file" : 'X\(//\)[^/]' \| \
96142 X"$ac_file" : 'X\(//\)$' \| \
96143 X"$ac_file" : 'X\(/\)' \| \
96144 . : '\(.\)' 2>/dev/null ||
96145 echo X"$ac_file" |
96146 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
96147 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
96148 /^X\(\/\/\)$/{ s//\1/; q; }
96149 /^X\(\/\).*/{ s//\1/; q; }
96150 s/.*/./; q'`
96151 { if $as_mkdir_p; then
96152 mkdir -p "$ac_dir"
96153 else
96154 as_dir="$ac_dir"
96155 as_dirs=
96156 while test ! -d "$as_dir"; do
96157 as_dirs="$as_dir $as_dirs"
96158 as_dir=`(dirname "$as_dir") 2>/dev/null ||
96159 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
96160 X"$as_dir" : 'X\(//\)[^/]' \| \
96161 X"$as_dir" : 'X\(//\)$' \| \
96162 X"$as_dir" : 'X\(/\)' \| \
96163 . : '\(.\)' 2>/dev/null ||
96164 echo X"$as_dir" |
96165 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
96166 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
96167 /^X\(\/\/\)$/{ s//\1/; q; }
96168 /^X\(\/\).*/{ s//\1/; q; }
96169 s/.*/./; q'`
96170 done
96171 test ! -n "$as_dirs" || mkdir $as_dirs
96172 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
96173 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
96174 { (exit 1); exit 1; }; }; }
96176 rm -f $ac_file
96177 mv $tmp/config.h $ac_file
96179 else
96180 cat $tmp/config.h
96181 rm -f $tmp/config.h
96183 # Compute $ac_file's index in $config_headers.
96184 _am_stamp_count=1
96185 for _am_header in $config_headers :; do
96186 case $_am_header in
96187 $ac_file | $ac_file:* )
96188 break ;;
96190 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
96191 esac
96192 done
96193 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
96194 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
96195 X$ac_file : 'X\(//\)[^/]' \| \
96196 X$ac_file : 'X\(//\)$' \| \
96197 X$ac_file : 'X\(/\)' \| \
96198 . : '\(.\)' 2>/dev/null ||
96199 echo X$ac_file |
96200 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
96201 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
96202 /^X\(\/\/\)$/{ s//\1/; q; }
96203 /^X\(\/\).*/{ s//\1/; q; }
96204 s/.*/./; q'`/stamp-h$_am_stamp_count
96205 done
96206 _ACEOF
96207 cat >>$CONFIG_STATUS <<\_ACEOF
96210 # CONFIG_COMMANDS section.
96212 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
96213 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
96214 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
96215 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
96216 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
96217 X"$ac_dest" : 'X\(//\)[^/]' \| \
96218 X"$ac_dest" : 'X\(//\)$' \| \
96219 X"$ac_dest" : 'X\(/\)' \| \
96220 . : '\(.\)' 2>/dev/null ||
96221 echo X"$ac_dest" |
96222 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
96223 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
96224 /^X\(\/\/\)$/{ s//\1/; q; }
96225 /^X\(\/\).*/{ s//\1/; q; }
96226 s/.*/./; q'`
96227 { if $as_mkdir_p; then
96228 mkdir -p "$ac_dir"
96229 else
96230 as_dir="$ac_dir"
96231 as_dirs=
96232 while test ! -d "$as_dir"; do
96233 as_dirs="$as_dir $as_dirs"
96234 as_dir=`(dirname "$as_dir") 2>/dev/null ||
96235 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
96236 X"$as_dir" : 'X\(//\)[^/]' \| \
96237 X"$as_dir" : 'X\(//\)$' \| \
96238 X"$as_dir" : 'X\(/\)' \| \
96239 . : '\(.\)' 2>/dev/null ||
96240 echo X"$as_dir" |
96241 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
96242 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
96243 /^X\(\/\/\)$/{ s//\1/; q; }
96244 /^X\(\/\).*/{ s//\1/; q; }
96245 s/.*/./; q'`
96246 done
96247 test ! -n "$as_dirs" || mkdir $as_dirs
96248 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
96249 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
96250 { (exit 1); exit 1; }; }; }
96252 ac_builddir=.
96254 if test "$ac_dir" != .; then
96255 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
96256 # A "../" for each directory in $ac_dir_suffix.
96257 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
96258 else
96259 ac_dir_suffix= ac_top_builddir=
96262 case $srcdir in
96263 .) # No --srcdir option. We are building in place.
96264 ac_srcdir=.
96265 if test -z "$ac_top_builddir"; then
96266 ac_top_srcdir=.
96267 else
96268 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
96269 fi ;;
96270 [\\/]* | ?:[\\/]* ) # Absolute path.
96271 ac_srcdir=$srcdir$ac_dir_suffix;
96272 ac_top_srcdir=$srcdir ;;
96273 *) # Relative path.
96274 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
96275 ac_top_srcdir=$ac_top_builddir$srcdir ;;
96276 esac
96278 # Do not use `cd foo && pwd` to compute absolute paths, because
96279 # the directories may not exist.
96280 case `pwd` in
96281 .) ac_abs_builddir="$ac_dir";;
96283 case "$ac_dir" in
96284 .) ac_abs_builddir=`pwd`;;
96285 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
96286 *) ac_abs_builddir=`pwd`/"$ac_dir";;
96287 esac;;
96288 esac
96289 case $ac_abs_builddir in
96290 .) ac_abs_top_builddir=${ac_top_builddir}.;;
96292 case ${ac_top_builddir}. in
96293 .) ac_abs_top_builddir=$ac_abs_builddir;;
96294 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
96295 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
96296 esac;;
96297 esac
96298 case $ac_abs_builddir in
96299 .) ac_abs_srcdir=$ac_srcdir;;
96301 case $ac_srcdir in
96302 .) ac_abs_srcdir=$ac_abs_builddir;;
96303 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
96304 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
96305 esac;;
96306 esac
96307 case $ac_abs_builddir in
96308 .) ac_abs_top_srcdir=$ac_top_srcdir;;
96310 case $ac_top_srcdir in
96311 .) ac_abs_top_srcdir=$ac_abs_builddir;;
96312 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
96313 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
96314 esac;;
96315 esac
96318 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
96319 echo "$as_me: executing $ac_dest commands" >&6;}
96320 case $ac_dest in
96321 default-1 )
96322 # Only add multilib support code if we just rebuilt the top-level
96323 # Makefile.
96324 case " $CONFIG_FILES " in
96325 *" Makefile "*)
96326 ac_file=Makefile . ${multi_basedir}/config-ml.in
96328 esac ;;
96329 default ) if test -n "$CONFIG_FILES"; then
96330 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
96331 # that multilib installs will end up installed in the correct place.
96332 # The testsuite needs it for multilib-aware ABI baseline files.
96333 # To work around this not being passed down from config-ml.in ->
96334 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
96335 # append it here. Only modify Makefiles that have just been created.
96337 # Also, get rid of this simulated-VPATH thing that automake does.
96338 cat > vpsed << \_EOF
96339 s!`test -f '$<' || echo '$(srcdir)/'`!!
96340 _EOF
96341 for i in $SUBDIRS; do
96342 case $CONFIG_FILES in
96343 *${i}/Makefile*)
96344 #echo "Adding MULTISUBDIR to $i/Makefile"
96345 sed -f vpsed $i/Makefile > tmp
96346 grep '^MULTISUBDIR =' Makefile >> tmp
96347 mv tmp $i/Makefile
96349 esac
96350 done
96351 rm vpsed
96353 (cd include && ${MAKE-make})
96355 esac
96356 done
96357 _ACEOF
96359 cat >>$CONFIG_STATUS <<\_ACEOF
96361 { (exit 0); exit 0; }
96362 _ACEOF
96363 chmod +x $CONFIG_STATUS
96364 ac_clean_files=$ac_clean_files_save
96367 # configure is writing to config.log, and then calls config.status.
96368 # config.status does its own redirection, appending to config.log.
96369 # Unfortunately, on DOS this fails, as config.log is still kept open
96370 # by configure, so config.status won't be able to write to it; its
96371 # output is simply discarded. So we exec the FD to /dev/null,
96372 # effectively closing config.log, so it can be properly (re)opened and
96373 # appended to by config.status. When coming back to configure, we
96374 # need to make the FD available again.
96375 if test "$no_create" != yes; then
96376 ac_cs_success=:
96377 ac_config_status_args=
96378 test "$silent" = yes &&
96379 ac_config_status_args="$ac_config_status_args --quiet"
96380 exec 5>/dev/null
96381 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
96382 exec 5>>config.log
96383 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
96384 # would make configure fail if this is the last instruction.
96385 $ac_cs_success || { (exit 1); exit 1; }